https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104531
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|middle-end |c Keywords|ice-on-valid-code |ice-on-invalid-code --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think this might be invalid code. The C++ front-end does: <source>: In function 'void f(__complex__ int, int)': <source>:3:11: error: invalid operands of types 'int' and '__complex__ int' to binary '<unknown>' 3 | #pragma omp atomic compare update seq_cst | ^~~ <source>:3:11: note: in evaluation of '<unknown>(int, __complex__ int)' Without -fopenmp we get: <source>: In function 'f': <source>:4:9: error: invalid operands to binary > (have 'int' and 'complex int') 4 | x = x > y ? y : x; | ^