http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58580
Pat Haugen <pthaugen at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pthaugen at gcc dot gnu.org
--- Comment #11 from Pat Haugen <pthaugen at gcc dot gnu.org> ---
CPU2000 benchmark 253.perlbmk started failing to build for me starting with
revision 206957. Reduced down to following example.
[pthaugen@igoo 00000001]$ cat junk.c
# define HAS_FGETPOS
[pthaugen@igoo 00000001]$ /home/pthaugen/install/gcc/gcc_hunt/bin/gcc -c junk.c
-DHAS_FGETPOS
junk.c:1:0: warning: "HAS_FGETPOS" redefined [enabled by default]
# define HAS_FGETPOS
^
<command-line>:0:0: note: this is the location of the previous definition
junk.c:1:0: internal compiler error: Segmentation fault
# define HAS_FGETPOS
^
0x10667507 crash_signal
/home/pthaugen/src/gcc/gcc_hunt/gcc/gcc/toplev.c:337
0x10cab5b7 add_file_to_cache_tab
/home/pthaugen/src/gcc/gcc_hunt/gcc/gcc/input.c:296
0x10cab5b7 lookup_or_add_file_to_cache_tab
/home/pthaugen/src/gcc/gcc_hunt/gcc/gcc/input.c:330
0x10cab5b7 location_get_source_line(expanded_location, int*)
/home/pthaugen/src/gcc/gcc_hunt/gcc/gcc/input.c:704
0x10ca5167 diagnostic_show_locus(diagnostic_context*, diagnostic_info const*)
/home/pthaugen/src/gcc/gcc_hunt/gcc/gcc/diagnostic.c:304
0x10ca580b diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*)
/home/pthaugen/src/gcc/gcc_hunt/gcc/gcc/diagnostic.c:800
0x10156397 c_cpp_error(cpp_reader*, int, int, unsigned int, unsigned int, char
const*, char**)
/home/pthaugen/src/gcc/gcc_hunt/gcc/gcc/c-family/c-common.c:9638
0x10cb85af cpp_diagnostic_with_line
/home/pthaugen/src/gcc/gcc_hunt/gcc/libcpp/errors.c:145
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.