https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97658
--- Comment #4 from Jonathan Wakely ---
Nonsense. Your code is buggy, the warning tells you about it.
If you don't want to know that your code has undefined behaviour, don't enable
warnings.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97658
--- Comment #3 from hubert.vansteenhuyse at freecode dot be ---
You are killing that marvelous gcc compiler by doing this, this is my point.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97658
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |INVALID
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97658
--- Comment #1 from Jonathan Wakely ---
The compiler is telling you your code has undefined behaviour.
If you write code that conforms to the rules of the C++ language, you won't get
that warning.
Don't change your makefiles, fix your code.
I