This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/25161] New: Internal compiler error (segfault) instead of error message
- From: "gccbug at zevv dot nl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Nov 2005 20:37:10 -0000
- Subject: [Bug c/25161] New: Internal compiler error (segfault) instead of error message
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
GCC version :
4.0.2
Complete C file :
int a;
char buf[(int)&a];
command line :
gcc-4.0 -c file.c
Error message :
t.c:3: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
This (Faulty) code gives normal errors with gcc-2.95 and gcc-3.2.3
--
Summary: Internal compiler error (segfault) instead of error
message
Product: gcc
Version: 4.0.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gccbug at zevv dot nl
GCC build triplet: i486-linux-gnu
GCC host triplet: i486-linux-gnu
GCC target triplet: i486-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25161