Hide Forgot
Description of problem: g77 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -ffast-math -march=pentiumpro -malign-double -Wno-globals -fno-globals -c reader/util_2.F -g -Iheader -Ibcs -DC_Linux=1 -DLinux_0=1 -DBUILDID=\"0210662_0101000_L0_d\" -DH3D -o _obj_Linux_d/util_2.o reader/util_2.F: In subroutine `squeez': reader/util_2.F:362: Internal compiler error in gen_subprogram_die, at dwarf2out.c:10352 Please submit a full bug report, Version-Release number of selected component (if applicable): gcc-g77-3.2.3-24 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: compiler crash Expected results: error message Additional info: It is combination of duplicate procedure name with this particular set of compiler options. simple g77 -g does not crash.
Created attachment 98862 [details] g77 source code
Reproduced also with gcc-g77-3.3.3-6.
-fno-globals seems to be really broken by design option. It allows creating assembly output which will not assemble (duplicate squeez_ routine).
http://gcc.gnu.org/PR15683