https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105461

            Bug ID: 105461
           Summary: ICE: Segmentation fault (in verify_use)
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: ice-checking, ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

Created attachment 52918
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52918&action=edit
Testcase

gcc 12.0.1 20220424 snapshot (g:6b7441a46c771aa6ecdc0c8ed96197417d036b9a) ICEs
when compiling the attached testcase w/ -O2 -fassociative-math -fsignaling-nans
-fvar-tracking:

% x86_64-unknown-linux-gnu-gcc-12.0.1 -O2 -fassociative-math -fsignaling-nans
-fvar-tracking -w -c iqhddjm7.c
during GIMPLE pass: dse
iqhddjm7.c: In function 'foo':
iqhddjm7.c:13:1: internal compiler error: Segmentation fault
   13 | //     
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/toplev.cc:322
      | ^
0xed365f crash_signal
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/toplev.cc:322
0x111c92d verify_use
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/tree-ssa.cc:881
0x1120828 verify_ssa(bool, bool)
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/tree-ssa.cc:1164
0xde0b6d execute_function_todo
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/passes.cc:2092
0xde0f9e execute_todo
       
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220424/work/gcc-12-20220424/gcc/passes.cc:2139

Reply via email to