This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/54730] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1066
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 27 Sep 2012 21:43:23 +0000
- Subject: [Bug fortran/54730] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1066
- Auto-submitted: auto-generated
- References: <bug-54730-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54730
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-09-27 21:43:23 UTC ---
The ICE occurs at
tree
gfc_typenode_for_spec (gfc_typespec * spec)
{
tree basetype;
switch (spec->type)
{
case BT_UNKNOWN:
gcc_unreachable ();
...
and disappears if "real(a = 1)" is replaced with "real(1)".