This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
cc1 of nonexistent file still segfaults
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: gcc mailing list <gcc at gcc dot gnu dot org>
- Cc: Per Bothner <per at bothner dot com>
- Date: Wed, 31 Mar 2004 18:53:16 -0500
- Subject: 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)