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

            Bug ID: 93573
           Summary: internal compiler error: in force_constant_size, at
                    gimplify.c:733
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: changochen1 at gmail dot com
  Target Milestone: ---

POC:
---
int f1 ( char * p ) ( ) { int x ;
 x = 4 ;
 if ( ! x != 10 ) return 1 ;
 if ( ( sum ( 1 , 2 ) / 2 ) != 1 ) return 1 ;
 if ( - ( 2 * sum ( 3 , 4 ) + sum ( ( union foo { int i , X [ 2 ] [ - (
100.000000 / 2 ) * 2 ] , k ;
 char * p ;
 float ( * f1 ( int a , int b ) ) ( int c , int b ) ;
 } ) p , 2 ) ) != 0 - 4 ) return 1 ;
 return 0 ;
 }
---

Gcc version:
---
Using built-in specs.
COLLECT_GCC=/mnt/raidhhd/gcc_instr_install/usr/local/bin/gcc
COLLECT_LTO_WRAPPER=/mnt/raidhhd/gcc_instr_install/usr/local/bin/../libexec/gcc/x86_64-pc-linux-gnu/10.0.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../configure
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.0.1 20200127 (experimental) (GCC)
---

CMD:
---
gcc -o tmp poc.c
---

Reply via email to