https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86698
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |23872 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Eugene Rozenfeld from comment #2) > Currently (as of commit 5700973f4a30762b4fc21687bb5f7843e55da2e4) the dump > looks like this for this function: That is from the C++ front-end rather than the C front-end. (In reply to Richard Earnshaw from comment #0) > Firstly, the statement is printed twice, which seems to imply that the side > effects are performed twice. That part of the problem is recorded as PR 23872; I will be working on a patch for GCC 15. The semi-colon I have not looked into yet though. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23872 [Bug 23872] .original dump weirdness