https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96108
Richard Biener changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96108
--- Comment #8 from Jakub Jelinek ---
Bisection says this changed with
r10-2587-gcc19f80ceb27cc3d31d259ebecaad12005acfd7e
The change was in forwprop1, instead of what we used to do:
_5 = a_4(D);
... = _5->b;
...
_5->b = ...;
we now propag
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96108
--- Comment #7 from Andrew Pinski ---
My question was rather do you an original code where we are now missing an
optimization and you reduced the code down to this and what happens if you
correct the issue of using an uninit pointer (because unle
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96108
--- Comment #6 from Jolyon <499537630 at qq dot com> ---
I agree that we really can't do this in the test. GCC's inconsistencies with
this behavior are beyond the developers' consideration(the behavior of DSE
pass). I tried to initialize the struc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96108
--- Comment #5 from Richard Biener ---
The testcase is of course invoking undefined behavior since it dereferences an
uninitialized pointer. I'm not sure there was intentional changes to DSE here
but eliding the store looks reasonable to me (tho
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96108
--- Comment #4 from Marc Glisse ---
During optimization, we often have branches with dead code that would exhibit
UB if it was ever executed. Cleaning up those branches as much as possible
helps reduce code size, show that some variables (in the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96108
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96108
--- Comment #2 from Jolyon <499537630 at qq dot com> ---
(In reply to Andrew Pinski from comment #1)
> Did it only change when a is uninitialized or was this a reduction of a
> bigger code and you reduced it too far?
Or you could fix the tauth.c?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96108
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Keywords|