summaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-07 15:29:12 +0000
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-07 15:29:12 +0000
commit11cd5422f846eb672dcc6e83df63dbfcff8be626 (patch)
tree7c5368db173ec15830b59c994b225fd6df014691 /gcc/testsuite
parenta426d5d916097853c47c5661625740aab05fbd2f (diff)
downloadgcc-11cd5422f846eb672dcc6e83df63dbfcff8be626.tar.gz
2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
* pretty-print.c (pp_base_format): Remove %J. * c-format.c (gcc_diag_char_table, gcc_tdiag_char_table, gcc_cxxdiag_char_table): Likewise. (init_dynamic_diag_info): Likewise. testsuite/ * gcc.dg/format/gcc_diag-1.c: Remove tests for %J. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149334 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/format/gcc_diag-1.c12
2 files changed, 4 insertions, 12 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index f533cf4367a..95b04063534 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
+ * gcc.dg/format/gcc_diag-1.c: Remove tests for %J.
+
+2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
+
* gcc.dg/format/gcc_diag-1.c: Remove tests for %H.
2009-07-07 Jakub Jelinek <jakub@redhat.com>
diff --git a/gcc/testsuite/gcc.dg/format/gcc_diag-1.c b/gcc/testsuite/gcc.dg/format/gcc_diag-1.c
index 24426047b49..46013c8699e 100644
--- a/gcc/testsuite/gcc.dg/format/gcc_diag-1.c
+++ b/gcc/testsuite/gcc.dg/format/gcc_diag-1.c
@@ -69,10 +69,6 @@ foo (int i, int i1, int i2, unsigned int u, double d, char *s, void *p,
tdiag ("%m");
cdiag ("%m");
cxxdiag ("%m");
- diag ("%J", t1);
- tdiag ("%J", t1);
- cdiag ("%J", t1);
- cxxdiag ("%J", t1);
tdiag ("%D%F%T", t1, t1, t1);
tdiag ("%+D%+F%+T", t1, t1, t1);
@@ -103,14 +99,6 @@ foo (int i, int i1, int i2, unsigned int u, double d, char *s, void *p,
tdiag ("%+m"); /* { dg-warning "format" "bogus modifier" } */
cdiag ("%+m"); /* { dg-warning "format" "bogus modifier" } */
cxxdiag ("%+m"); /* { dg-warning "format" "bogus modifier" } */
- diag ("%J"); /* { dg-warning "format" "missing arg" } */
- tdiag ("%J"); /* { dg-warning "format" "missing arg" } */
- cdiag ("%J"); /* { dg-warning "format" "missing arg" } */
- cxxdiag ("%J"); /* { dg-warning "format" "missing arg" } */
- diag ("%J", loc); /* { dg-warning "format" "wrong arg" } */
- tdiag ("%J", loc); /* { dg-warning "format" "wrong arg" } */
- cdiag ("%J", loc); /* { dg-warning "format" "wrong arg" } */
- cxxdiag ("%J", loc); /* { dg-warning "format" "wrong arg" } */
diag ("%D", t1); /* { dg-warning "format" "bogus tree" } */
tdiag ("%A", t1); /* { dg-warning "format" "bogus tree" } */
tdiag ("%E", t1);