[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
 Resolution||DUPLICATE
  Known to fail||

--- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org 2012-01-28 
21:00:07 UTC ---
This is a dup of bug 27719.

*** This bug has been marked as a duplicate of bug 27719 ***


[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 debian-gcc at lists dot debian dot org


--- Comment #1 from debian-gcc at lists dot debian dot org  2009-12-29 
13:23 ---
Created an attachment (id=19414)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19414action=view)
preprocessed source


-- 


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



[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 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.
[...@gnu-26 rrs]$ 


-- 

hjl dot tools at gmail dot com changed:

   What|Removed |Added

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


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