[Bug middle-end/59049] Two VOIDmode constant in comparison passed to cstoresi4

2014-04-11 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049 Jorn Wolfgang Rennecke changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/59049] Two VOIDmode constant in comparison passed to cstoresi4

2013-11-11 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049 --- Comment #9 from Jorn Wolfgang Rennecke --- Author: amylaar Date: Mon Nov 11 18:57:25 2013 New Revision: 204682 URL: http://gcc.gnu.org/viewcvs?rev=204682&root=gcc&view=rev Log: PR middle-end/59049 * expmed.c (emit_store_flag):

[Bug middle-end/59049] Two VOIDmode constant in comparison passed to cstoresi4

2013-11-11 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049 --- Comment #8 from Jorn Wolfgang Rennecke --- (In reply to Richard Biener from comment #7) > That is, sth like > > Index: gcc/tree-ssa-ter.c > === > --- gcc/tree-ssa-ter.c (revisio

[Bug middle-end/59049] Two VOIDmode constant in comparison passed to cstoresi4

2013-11-11 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049 --- Comment #7 from Richard Biener --- That is, sth like Index: gcc/tree-ssa-ter.c === --- gcc/tree-ssa-ter.c (revision 204664) +++ gcc/tree-ssa-ter.c (working copy) @@ -438,6 +439

[Bug middle-end/59049] Two VOIDmode constant in comparison passed to cstoresi4

2013-11-11 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049 --- Comment #6 from Richard Biener --- We have : # iftmp.2_1 = PHI <"foo"(2), "bar"(3)> _10 = 3; _34 = g.5_8 != 1; _35 = _10 != 3; in .optimized, as fold-all-builtins manages to produce that from : # iftmp.2_1 = PHI <"foo"(3), "ba

[Bug middle-end/59049] Two VOIDmode constant in comparison passed to cstoresi4

2013-11-11 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049 Jorn Wolfgang Rennecke changed: What|Removed |Added Keywords||patch --- Comment #5 from Jorn W

[Bug middle-end/59049] Two VOIDmode constant in comparison passed to cstoresi4

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049 --- Comment #4 from Andrew Pinski --- We do have a missed optimization due to fab being done so late.

[Bug middle-end/59049] Two VOIDmode constant in comparison passed to cstoresi4

2013-11-08 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049 --- Comment #3 from Jorn Wolfgang Rennecke --- Making emit_store_flag return 0 in the case of const-const comparison gives simpler rtl generation: (insn 14 13 15 (set (reg:QI 175) (const_int 1 [0x1])) .../strlen-2.c:29 -1 (nil)) (in

[Bug middle-end/59049] Two VOIDmode constant in comparison passed to cstoresi4

2013-11-08 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049 Jorn Wolfgang Rennecke changed: What|Removed |Added CC||pinskia at gcc dot gnu.org,

[Bug middle-end/59049] Two VOIDmode constant in comparison passed to cstoresi4

2013-11-08 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049 --- Comment #1 from Jorn Wolfgang Rennecke --- Frame 12 shows that at the tree level, one of the comparison operands is an initialized variable. (gdb) frame 12 #12 0x083bd9fa in expand_expr_real_1 (exp=, target=0x0, tmode=VOIDmode, modifier=