https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108014
--- Comment #2 from Andrew Pinski ---
I don't know if this is a bug really.
The statement on line 9 (`e = b + 1;`) gets removed and therefor there was no
undefined behavior that happens at all.
Either DSE or CDDCE does the removal (depending o
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108014
--- Comment #1 from Andrew Pinski ---
Created attachment 54040
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54040&action=edit
testcase without line #