https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119984
--- Comment #8 from saul.x.robinson at durham dot ac.uk ---
(In reply to Andrew Pinski from comment #7)
> (In reply to saul.x.robinson from comment #6)
> >
> > Oh.
> > Just encase it exist, is there a setting to make GCC assume overflows are
> >
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119984
--- Comment #6 from saul.x.robinson at durham dot ac.uk ---
(In reply to Andrew Pinski from comment #5)
> (In reply to saul.x.robinson from comment #4)
> > I know the integer overflows.
> > Does that sort of undefined behavior cause issues with t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119984
--- Comment #4 from saul.x.robinson at durham dot ac.uk ---
(In reply to saul.x.robinson from comment #0)
> I have confirmed is bug occurs on 15.1.0 and 12.2.0. Don't know how to find
> more recent versions.
> Those GCC versions were compiling fo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119984
Bug ID: 119984
Summary: Incorrect code with -O2 and above
Product: gcc
Version: 15.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimiz