[Bug rtl-optimization/42429] Miscompilation of 2fish on s390

2009-12-20 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2009-12-20 21:17 --- Created an attachment (id=19354) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19354&action=view) gcc44-pr42429.patch Patch I'm going to bootstrap/regtest. -- jakub at gcc dot gnu dot org changed:

[Bug rtl-optimization/42429] Miscompilation of 2fish on s390

2009-12-20 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2009-12-20 20:49 --- I believe the bug is in [7 %sfp+-140 S1 A8], IMHO it should have been S4, because otherwise the MEM attrs say it is 1 byte at %sfp+-140, which nonoverlapping_memrefs_p says can't overlap with [7 %sfp+-137 S1 A8]. Noth

[Bug rtl-optimization/42429] Miscompilation of 2fish on s390

2009-12-19 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-12-19 18:40 --- After sched1 we have: (insn 6094 6056 6069 83 u4.c:511 (set (reg:QI 5621) (mem/s/u/j:QI (plus:SI (reg/f:SI 5441) (reg:SI 5619)) [0 q1 S1 A8])) 73 {*movqi} (expr_list:REG_DEAD (reg:SI 5619)

[Bug rtl-optimization/42429] Miscompilation of 2fish on s390

2009-12-19 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-12-19 16:06 --- Created an attachment (id=19350) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19350&action=view) 2fish.c Updated testcase with lots of asm scheduling barriers inserted, still failing (and with no- added to opti

[Bug rtl-optimization/42429] Miscompilation of 2fish on s390

2009-12-18 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-12-18 23:17 --- Btw, we have similar issues with the SLES11 gcc 4.3 compiler and openssl. See https://bugzilla.novell.com/show_bug.cgi?id=457410 -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug rtl-optimization/42429] Miscompilation of 2fish on s390

2009-12-18 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2009-12-18 22:08 --- Created an attachment (id=19347) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19347&action=view) 2fish.c Simplified testcase from twofish's test. The optimize attribute is of course not needed to reproduce it,