https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93574
Bug ID: 93574 Summary: internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_expr_sizeof_expr, at c/c-typeck.c:2925 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: --- struct s { struct { void y ; int z ; } x [ 3 + 4 ] ; double y ; } main ( ) { int x ; x = -- x != 1 > 0 ; x = ( ( 6 / ( ( 0 * sum ( 3 , 4 ) + ( 1 , 2 ) ) / 114 / 2 ) / 2 ) ) > 0 & ( x == sizeof ( ( int * ( * ( int f ( struct list ) ) ) [ * * main ] ) 1 ) ) ; return x - 1 ; } --- 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 ---