https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68841
--- Comment #9 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Mon Jan 11 12:13:50 2016
New Revision: 232223
URL: https://gcc.gnu.org/viewcvs?rev=232223&root=gcc&view=rev
Log:
[RTL-ifcvt] PR rtl-optimization/68841: Make sure one basic
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68841
--- Comment #8 from ktkachov at gcc dot gnu.org ---
My proposed approach is to look into the else and then basic blocks and gather
whether they set or clobber the CC reg.
Then, emit them in such an order so that the use of the CC reg comes first,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68841
ktkachov at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68841
ktkachov at gcc dot gnu.org changed:
What|Removed |Added
Status|ASSIGNED|NEW
--- Comment #6 from ktk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68841
--- Comment #5 from ktkachov at gcc dot gnu.org ---
The testcase built with -fno-live-range-shrinkage works ok.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68841
--- Comment #4 from ktkachov at gcc dot gnu.org ---
I suspect that more aggressive if-conversion is exposing a bug in another RTL
pass. If-conversion creates:
(insn 22 21 73 7 (set (reg:CCGC 17 flags)
(compare:CCGC (reg/v:SI 88 [ i ])
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68841
ktkachov at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68841
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68841
--- Comment #1 from Zdenek Sojka ---
the statement:
else if (i == 3)
k = 12;
is not evaluated; in iteration 3, k == 8.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68841
Richard Biener changed:
What|Removed |Added
Target Milestone|--- |6.0
10 matches
Mail list logo