User account creation filtered due to spam.

Bug 80938 - [8 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2330
Summary: [8 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2330
Status: UNCONFIRMED
Alias: None
Product: gcc
Classification: Unclassified
Component: debug (show other bugs)
Version: 8.0
: P3 normal
Target Milestone: 8.0
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-invalid-code
Depends on:
Blocks:
 
Reported: 2017-06-01 04:20 UTC by Arseny Solokha
Modified: 2017-06-02 08:13 UTC (History)
0 users

See Also:
Host:
Target: powerpcspe-*-linux-gnu*
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arseny Solokha 2017-06-01 04:20:28 UTC
gcc-8.0.0-alpha20170528 snapshot ICEs when compiling the following snippet w/ -Os -g -fPIC:

void
xy (void);

void
j5 (f9)
{
  if (f9 != 0)
    xy ();
  j5 ();
}

% powerpc-e500v2-linux-gnuspe-gcc-8.0.0-alpha20170528 -Os -g -fPIC -w -c nghbxjig.c
nghbxjig.c: In function 'j5':
nghbxjig.c:10:1: internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2330
 }
 ^
0x7f1a8b maybe_record_trace_start
	/var/tmp/portage/cross-powerpc-e500v2-linux-gnuspe/gcc-8.0.0_alpha20170528/work/gcc-8-20170528/gcc/dwarf2cfi.c:2330
0x7f43e0 scan_trace
	/var/tmp/portage/cross-powerpc-e500v2-linux-gnuspe/gcc-8.0.0_alpha20170528/work/gcc-8-20170528/gcc/dwarf2cfi.c:2512
0x7f4c72 create_cfi_notes
	/var/tmp/portage/cross-powerpc-e500v2-linux-gnuspe/gcc-8.0.0_alpha20170528/work/gcc-8-20170528/gcc/dwarf2cfi.c:2666
0x7f4c72 execute_dwarf2_frame
	/var/tmp/portage/cross-powerpc-e500v2-linux-gnuspe/gcc-8.0.0_alpha20170528/work/gcc-8-20170528/gcc/dwarf2cfi.c:3024
0x7f4c72 execute
	/var/tmp/portage/cross-powerpc-e500v2-linux-gnuspe/gcc-8.0.0_alpha20170528/work/gcc-8-20170528/gcc/dwarf2cfi.c:3504