https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110173
--- Comment #4 from Andrew Pinski ---
So CCP2 now removes:
Removing dead stmt:iftmp.4_9 = PHI <1(5), 0(6)>
Which allows to remove all of this:
[local count: 1073441178]:
if (t_4(D) != 0)
goto ; [50.00%]
else
goto ; [50.00%]
[
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110173
--- Comment #3 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #2)
> Hmm
> static void i() { *h = j(); }
> static int *j(unsigned o) {
>
> I suspect this is just might be another one of these cases where a variable
> is uninitial
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110173
--- Comment #2 from Andrew Pinski ---
Hmm
static void i() { *h = j(); }
static int *j(unsigned o) {
I suspect this is just might be another one of these cases where a variable is
uninitialized gets a different value now.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110173
--- Comment #1 from Theodoros Theodoridis ---
*The first piece of ASM is generated by gcc 13.1, the second by gcc trunk