Bug 79120 - lm32 ICE in dwarf2out_frame_debug_expr, at dwarf2cfi.c:1747
Summary: lm32 ICE in dwarf2out_frame_debug_expr, at dwarf2cfi.c:1747
Status: WAITING
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 7.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: build, ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2017-01-17 19:00 UTC by Joel Sherrill
Modified: 2021-09-11 01:55 UTC (History)
0 users

See Also:
Host:
Target: lm32-elf, lm32-rtems
Build:
Known to work:
Known to fail:
Last reconfirmed: 2017-08-08 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Sherrill 2017-01-17 19:00:32 UTC
Target: lm32-rtems
GCC git master: acb9fddd8093a3f623837ac25f6d50f52d9a80eb
Newlib git master: e02866a1b43fae39d6842bd182de79e54d8e74cd

The ICE occurs when compiling libgfortran.

libtool: compile:  /home/joel/test-gcc/b-lm32-rtems4.12-gcc/./gcc/xgcc -B/home/joel/test-gcc/b-lm32-rtems4.12-gcc/./gcc/ -nostdinc -B/home/joel/test-gcc/b-lm32-rtems4.12-gcc/lm32-rtems4.12/newlib/ -isystem /home/joel/test-gcc/b-lm32-rtems4.12-gcc/lm32-rtems4.12/newlib/targ-include -isystem /home/joel/test-gcc/gcc/newlib/libc/include -B/home/joel/test-gcc/install-master/lm32-rtems4.12/bin/ -B/home/joel/test-gcc/install-master/lm32-rtems4.12/lib/ -isystem /home/joel/test-gcc/install-master/lm32-rtems4.12/include -isystem /home/joel/test-gcc/install-master/lm32-rtems4.12/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc/libgfortran -iquote../../../gcc/libgfortran/io -I../../../gcc/libgfortran/../gcc -I../../../gcc/libgfortran/../gcc/config -I../.././gcc -I../../../gcc/libgfortran/../libgcc -I../libgcc -I../../../gcc/libgfortran/../libbacktrace -I../libbacktrace -I../libbacktrace -std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla -fcx-fortran-rules -ffunction-sections -fdata-sections -ffast-math -ftree-vectorize -funroll-loops --param max-unroll-times=4 -g -O2 -MT matmul_i1.lo -MD -MP -MF .deps/matmul_i1.Tpo -c ../../../gcc/libgfortran/generated/matmul_i1.c -o matmul_i1.o
../../../gcc/libgfortran/generated/matmul_i1.c: In function 'matmul_i1':
../../../gcc/libgfortran/generated/matmul_i1.c:2835:1: internal compiler error: in dwarf2out_frame_debug_expr, at dwarf2cfi.c:1747
 }
 ^
0x62fc69 dwarf2out_frame_debug_expr
	../../gcc/gcc/dwarf2cfi.c:1745
0x630354 dwarf2out_frame_debug
	../../gcc/gcc/dwarf2cfi.c:2119
0x630354 scan_insn_after
	../../gcc/gcc/dwarf2cfi.c:2463
0x631f86 scan_trace
	../../gcc/gcc/dwarf2cfi.c:2620
0x632b46 create_cfi_notes
	../../gcc/gcc/dwarf2cfi.c:2659
0x632b46 execute_dwarf2_frame
	../../gcc/gcc/dwarf2cfi.c:3022
0x632b46 execute
	../../gcc/gcc/dwarf2cfi.c:3502
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.
Comment 1 Martin Liška 2017-08-08 19:57:36 UTC
Can you please provide pre-processed source file (adding -E option)?