re PR c/35436 (ICE with attribute "format")
authorVolker Reichelt <reichelt@gcc.gnu.org>
Tue, 1 Apr 2008 20:33:37 +0000 (20:33 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Tue, 1 Apr 2008 20:33:37 +0000 (20:33 +0000)
commitdc197ab91c79219326ebc83e7353ac4f925e78e5
tree132c9feffc06431a45597cb1317e19073a9c2b8d
parent9e9b53411e671de84ff27b5ff6062bf80d0bea56
re PR c/35436 (ICE with attribute "format")

PR c/35436
* c-format.c (init_dynamic_gfc_info): Ignore invalid locus type.

* gcc.dg/format/gcc_gfc-2.c: New test.

From-SVN: r133800
gcc/ChangeLog
gcc/c-format.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/format/gcc_gfc-2.c [new file with mode: 0644]