OSDN Git Service

PR c/20740
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Apr 2005 23:58:04 +0000 (23:58 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Apr 2005 23:58:04 +0000 (23:58 +0000)
commit58db2592787518a0c3d3ac400ca4af602e7a03ca
treeb6cc6b305db8b4514a4e4e05aef654458f32633d
parent882e3bab8d13c1432a57c0955261606af76e8ede
PR c/20740
* c-format.c (init_dynamic_asm_fprintf_info): Give errors, not
assertion failures, if __gcc_host_wide_int__ is not properly
defined.
(init_dynamic_diag_info): Give errors, not assertion failures, if
location_t, tree or __gcc_host_wide_int__ are not properly
defined.

testsuite:
* gcc.dg/format/asm_fprintf-2.c, gcc.dg/format/asm_fprintf-3.c,
gcc.dg/format/asm_fprintf-4.c, gcc.dg/format/asm_fprintf-5.c,
gcc.dg/format/gcc_diag-2.c, gcc.dg/format/gcc_diag-3.c,
gcc.dg/format/gcc_diag-4.c, gcc.dg/format/gcc_diag-5.c,
gcc.dg/format/gcc_diag-6.c, gcc.dg/format/gcc_diag-7.c ,
gcc.dg/format/gcc_diag-8.c, gcc.dg/format/gcc_diag-9.c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98800 138bc75d-0d04-0410-961f-82ee72b054a4
15 files changed:
gcc/ChangeLog
gcc/c-format.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/format/asm_fprintf-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/format/asm_fprintf-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/format/asm_fprintf-4.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/format/asm_fprintf-5.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/format/gcc_diag-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/format/gcc_diag-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/format/gcc_diag-4.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/format/gcc_diag-5.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/format/gcc_diag-6.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/format/gcc_diag-7.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/format/gcc_diag-8.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/format/gcc_diag-9.c [new file with mode: 0644]