[Bug 477552] Re: [PR42538] ICE on illegal-code: tree check: expected function_decl, have var_decl in start_function
Bug Watch Updater
477552 at bugs.launchpad.net
Sun Jan 29 13:44:46 UTC 2012
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 at gnu-26 rrs]$ cat pr42538.i
void Saisie()[3]{
}
[hjl at 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 at 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
Foundations Bugs, which is subscribed to gcc-4.4 in Ubuntu.
https://bugs.launchpad.net/bugs/477552
Title:
[PR42538] ICE on illegal-code: tree check: expected function_decl,
have var_decl in start_function
Status in The GNU Compiler Collection:
Invalid
Status in “gcc-4.4” package in Ubuntu:
Triaged
Bug description:
Binary package hint: gcc-4.4
hello
ProblemType: Crash
Architecture: i386
CheckboxSubmission: 53cc181c3490659de29f0047ca19d944
CheckboxSystem: c541d13ea4f205f2fd751f76ed21105b
Date: Sat Nov 7 17:12:16 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/lib/gcc/i486-linux-gnu/4.4.1/cc1
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: cpp-4.4 4.4.1-4ubuntu8
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: gcc-4.4
Uname: Linux 2.6.31-14-generic i686
To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/477552/+subscriptions
More information about the foundations-bugs
mailing list