https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104517
Bug ID: 104517 Summary: '-fcompare-debug' failure w/ -O1 -fopenmp -fno-tree-ter Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: compare-debug-failure, openmp Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Created attachment 52429 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52429&action=edit Testcase gcc 12.0.1 20220206 snapshot (g:8eb329e963593342855b6072e5692659107337b7) fails -fcompare-debug check when compiling the attached testcase, reduced from gcc/testsuite/c-c++-common/gomp/clauses-1.c, w/ -O1 -fopenmp -fno-tree-ter: % gcc-12.0.1 -O1 -fcompare-debug -fopenmp -fno-tree-ter -c isdtsldh.c -save-temps gcc-12.0.1: error: isdtsldh.c: '-fcompare-debug' failure