[Bug c/97381] New: ice error: invalid types in nop conversion

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Mon Oct 12 10:24:53 GMT 2020


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

            Bug ID: 97381
           Summary: ice error: invalid types in nop conversion
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 49352
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49352&action=edit
C source code

The attached C code seems to ice on flag -O2.

$ ../results/bin/gcc -c -w -O2 bug654.c
destDir/testFile.289.c: In function ‘func_10’:
destDir/testFile.289.c:11479:1: error: invalid types in nop conversion
unsigned char
<<< error >>>
c_7.5374_1690 = (unsigned char) _11366;
destDir/testFile.289.c:11479:1: error: invalid types in nop conversion
unsigned char
<<< error >>>
c_7.5389_1728 = (unsigned char) _11366;
during GIMPLE pass: evrp
destDir/testFile.289.c:11479:1: internal compiler error: verify_gimple failed
0xcf360f verify_gimple_in_cfg(function*, bool)
        ../../trunk.git/gcc/tree-cfg.c:5482

I'll have my usual go at reducing the code and finding a range
for the error.


More information about the Gcc-bugs mailing list