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

2012-01-28 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42538 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

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

2009-12-29 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2009-12-29 17:23 --- A simple testcase: [...@gnu-26 rrs]$ cat pr42538.i void Saisie()[3]{ } [...@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