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

            Bug ID: 79787
           Summary: ICE in remove_unreachable_nodes, at ipa.c:469
           Product: gcc
           Version: 7.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerhard.steinmetz.fort...@t-online.de
  Target Milestone: ---

With testfiles ./gcc.target/i386/bmi-1.c and ./gcc.target/i386/bmi-2.c
at -Os|1|2|3 :


$ gcc-7-20170226 -O2 -mmpx -fcheck-pointer-bounds -c bmi-1.c
In file included from
.../lib64/gcc/x86_64-pc-linux-gnu/7.0.1/include/immintrin.h:81:0,
                 from
.../lib64/gcc/x86_64-pc-linux-gnu/7.0.1/include/x86intrin.h:48,
                 from bmi-1.c:10:
bmi-1.c: In function 'func_tzcnt32_2.chkp':
.../lib64/gcc/x86_64-pc-linux-gnu/7.0.1/include/bmiintrin.h:104:1: error:
inlining failed in call to always_inline '_tzcnt_u32.chkp': target specific
option mismatch
 _tzcnt_u32 (unsigned int __X)
 ^~~~~~~~~~
bmi-1.c:77:10: note: called from here
   return _tzcnt_u32(X);
          ^~~~~~~~~~~~~
bmi-1.c: At top level:
bmi-1.c:78:1: internal compiler error: in remove_unreachable_nodes, at
ipa.c:469
 }
 ^
0xa29c05 symbol_table::remove_unreachable_nodes(_IO_FILE*)
        ../../gcc/ipa.c:469
0xb1aaf8 execute_todo
        ../../gcc/passes.c:2030

Reply via email to