https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78751
Segher Boessenkool changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78751
--- Comment #6 from Segher Boessenkool ---
Author: segher
Date: Sun Jan 15 17:03:55 2017
New Revision: 244476
URL: https://gcc.gnu.org/viewcvs?rev=244476&root=gcc&view=rev
Log:
ifcvt: Don't make invalid insns for a cond trap (PR78751)
As shown
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78751
Richard Biener changed:
What|Removed |Added
Priority|P3 |P1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78751
--- Comment #5 from Segher Boessenkool ---
Oh, the patch isn't ugly, just the resulting code is :-)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78751
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78751
--- Comment #3 from Segher Boessenkool ---
Created attachment 40383
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40383&action=edit
patch
I use this patch as workaround. It, well, sucks. But it does work.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78751
--- Comment #2 from Segher Boessenkool ---
In this testcase ifcvt happens upon a branch like:
(jump_insn 28 27 65 2 (set (pc)
(if_then_else (eq (reg:CCEQ 183)
(const_int 0 [0]))
(label_ref:SI 65)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78751
Aldy Hernandez changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78751
Richard Biener changed:
What|Removed |Added
Target Milestone|--- |7.0