[Bug c/12095] New: segfault when processing a .S file that contains a #include stmt
mkgnu at gmx dot net
gcc-bugzilla@gcc.gnu.org
Thu Aug 28 16:36:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12095
Summary: segfault when processing a .S file that contains a
#include stmt
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mkgnu at gmx dot net
CC: gcc-bugs at gcc dot gnu dot org
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.3/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib
--enable-nls --without-included-gettext --enable-__cxa_atexit
--enable-clocale=gnu --enable-debug --enable-java-gc=boehm
--enable-java-awt=xlib --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.3 (Debian)
gcc crashes when it tries to compile the following file:
[../kernel-source-2.4.20.mod/arch/i386/kernel]$ gcc -save-temps -D__ASSEMBLY__
-D__KERNEL__
-I/home/mkgnu/devel/cse593/src/kernel/kernel-source-2.4.20.mod/include
-traditional -c dynreplace_asm.S -o dynreplace_asm.o
cc1: 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.
I will attach the file. I noticed that when I remove the #include statement, I
no longer get a crash.
More information about the Gcc-bugs
mailing list