https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org URL| |https://gcc.gnu.org/piperma | |il/gcc-patches/2021-Novembe | |r/585352.html --- Comment #19 from Richard Biener <rguenth at gcc dot gnu.org> --- Posted RFC patch. The C++ frontend poses some more issues in GCC code for statically true evaluated conditions like if (! GATHER_STATISTICS) { fprintf (stderr, "No RTX statistics\n"); return; } where it elides the if (). It doesn't do that for if (0) though.