This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bug in CPP with -include switch?
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Sean McNeil <sean at mcneil dot com>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Feb 2003 15:09:18 +0000
- Subject: Re: bug in CPP with -include switch?
- References: <1045872779.40463.3.camel@blue.mcneil.com>
Sean McNeil wrote:-
> Program received signal SIGSEGV, Segmentation fault.
> 0x283b566b in vfprintf () from /usr/lib/libc.so.4
> (gdb) bt
> #0 0x283b566b in vfprintf () from /usr/lib/libc.so.4
> #1 0x283b52c8 in fprintf () from /usr/lib/libc.so.4
> #2 0x82522d1 in mips_output_filename (stream=0x0, name=0x840a825
> "cpuHack.h")
> at /usr/home/sean/gnu/sources/gcc/config/mips/mips.c:6582
> #3 0x8220af3 in output_file_directive (asm_file=0x0,
> input_name=0x840a800
> "/usr/home/sean/gnu/windriver/include/cpuHack.h")
> at /usr/home/sean/gnu/sources/gcc/toplev.c:1826
> #4 0x8204ae8 in sdbout_start_source_file (line=5,
> filename=0x840a800 "/usr/home/sean/gnu/windriver/include/cpuHack.h")
> at /usr/home/sean/gnu/sources/gcc/sdbout.c:1712
The NULL pointer in #3 looks suspicious; you might try investigating why
that is happening.
Neil.