[Bug c/42538] ICE on illegal-code: tree check: expected function_decl, have var_decl in start_function, at c-decl.c:7369

hjl dot tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Dec 29 17:23:00 GMT 2009



------- Comment #2 from hjl dot tools at gmail dot com  2009-12-29 17:23 -------
A simple testcase:

[hjl@gnu-26 rrs]$ cat pr42538.i
void Saisie()[3]{
}
[hjl@gnu-26 rrs]$  ./143523/usr/bin/gcc -S pr42538.i
pr42538.i:1: error: declaration of ‘Saisie’ as array of voids
pr42538.i:1: internal compiler error: tree check: expected function_decl, have
var_decl in start_function, at c-decl.c:6113
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-26 rrs]$ 


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-12-29 17:23:40
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42538



More information about the Gcc-bugs mailing list