This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cc1 of nonexistent file still segfaults


Daniel-Berlins-Computer:~/gcc/build/gcc dberlin$ ./cc1 -O1 nonexistent.c
cc1: nonexistent.c: No such file or directory
cc1: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Daniel-Berlins-Computer:~/gcc/build/gcc dberlin$


This happens on both tree-ssa and mainline.
backtrace is
Program received signal EXC_BAD_ACCESS, Could not access memory.
0x001fa508 in init_emit () at ../../gcc/emit-rtl.c:5143
5143 REG_POINTER (stack_pointer_rtx) = 1;
(gdb) info stack
#0 0x001fa508 in init_emit () at ../../gcc/emit-rtl.c:5143
#1 0x0019a970 in prepare_function_start (fndecl=0x0) at ../../gcc/function.c:6196
#2 0x0019aa38 in init_dummy_function_start () at ../../gcc/function.c:6228
#3 0x00121e6c in lang_dependent_init (name=0x0) at ../../gcc/toplev.c:2535
#4 0x001220cc in do_compile () at ../../gcc/toplev.c:2622
#5 0x00122174 in toplev_main (argc=3, argv=0xbffffb7c) at ../../gcc/toplev.c:2655
#6 0x000c1680 in main (argc=3, argv=0xbffffb7c) at ../../gcc/main.c:35
(gdb)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]