Launchpad has imported 4 comments from the remote bug at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42538.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2009-12-29T13:22:27+00:00 Debian GCC maintainers wrote:

seen on 4.2, 4.3, 4.4, 4.5 (not checked earlier versions):

$ gzip -9v ~/main.i 
$ gcc-4.4 main.i 
/home/vladimir/Documents/Sondage/main.c:12: error: declaration of 'Saisie' as 
array of voids
/home/vladimir/Documents/Sondage/main.c:12: error: return type is an incomplete 
type
/home/vladimir/Documents/Sondage/main.c: In function 'Saisie':
/home/vladimir/Documents/Sondage/main.c:12: error: expected declaration 
specifiers before ')' token
/home/vladimir/Documents/Sondage/main.c:31: error: expected declaration 
specifiers before 'main'
/home/vladimir/Documents/Sondage/main.c:34: confused by earlier errors, bailing 
out
Preprocessed source stored into /tmp/ccOvpYVY.out file, please attach this to 
your bugreport.

$ /usr/lib/gcc-snapshot/bin/gcc main.i 
/home/vladimir/Documents/Sondage/main.c:12:6: error: declaration of 'Saisie' as 
array of voids
/home/vladimir/Documents/Sondage/main.c:12:1: internal compiler error: tree 
check: expected function_decl, have var_decl in start_function, at c-decl.c:7369
Please submit a full bug report,
with preprocessed source if appropriate.

Reply at: https://bugs.launchpad.net/gcc/+bug/477552/comments/3

------------------------------------------------------------------------
On 2009-12-29T13:23:56+00:00 Debian GCC maintainers wrote:

Created attachment 19414
preprocessed source

Reply at: https://bugs.launchpad.net/gcc/+bug/477552/comments/4

------------------------------------------------------------------------
On 2009-12-29T17:23:40+00:00 Hjl-tools wrote:

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]$ 

Reply at: https://bugs.launchpad.net/gcc/+bug/477552/comments/5

------------------------------------------------------------------------
On 2012-01-28T21:00:07+00:00 Pinskia wrote:

This is a dup of bug 27719.

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

Reply at: https://bugs.launchpad.net/gcc/+bug/477552/comments/6


** Changed in: gcc
       Status: Confirmed => Invalid

** Changed in: gcc
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/477552

Title:
  [PR42538] ICE on illegal-code: tree check: expected function_decl,
  have var_decl in start_function

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/477552/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to