diff options
author | Joseph Myers <joseph@codesourcery.com> | 2005-04-27 00:58:04 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2005-04-27 00:58:04 +0100 |
commit | 5e49f16b8090faaf53469c51bdadb8ca5c0e115e (patch) | |
tree | b6cc6b305db8b4514a4e4e05aef654458f32633d /gcc/c-decl.c | |
parent | 4b0ec99aaca0c0a3e90593ff166eb474947241c0 (diff) | |
download | gcc-5e49f16b8090faaf53469c51bdadb8ca5c0e115e.zip gcc-5e49f16b8090faaf53469c51bdadb8ca5c0e115e.tar.gz gcc-5e49f16b8090faaf53469c51bdadb8ca5c0e115e.tar.bz2 |
re PR c/20740 (cc1 segfaults)
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.
From-SVN: r98800
Diffstat (limited to 'gcc/c-decl.c')
0 files changed, 0 insertions, 0 deletions