[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-19 Thread steven at gcc dot gnu dot org
--- Comment #26 from steven at gcc dot gnu dot org 2007-11-19 09:03 --- If there is a latent bug, it will show up somewhen and get its own nice bug report. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-14 Thread bonzini at gnu dot org
--- Comment #21 from bonzini at gnu dot org 2007-11-14 11:04 --- I am not following you. Why do both executions abort? We don't want to find two different wrong-code bugs, but to compare one correct and one wrong execution. Also, it would be okay to have no output as long as we can

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-14 Thread dominiq at lps dot ens dot fr
--- Comment #22 from dominiq at lps dot ens dot fr 2007-11-14 12:05 --- Does the bug show up if you do something like this? Yes, indeed! Otherwise I would not have noticed the bug (one pitfall of the testsuite is that you know that a test has failed, but you don't kseldom know why). I

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-14 Thread bonzini at gnu dot org
--- Comment #23 from bonzini at gnu dot org 2007-11-14 12:12 --- Created an attachment (id=14553) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14553action=view) patch to test I had this alternative patch to fix the addr-sel-1.c failure on i686-pc-linux-gnu. Could you check if it

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-14 Thread dominiq at lps dot ens dot fr
--- Comment #24 from dominiq at lps dot ens dot fr 2007-11-14 12:50 --- I had this alternative patch to fix the addr-sel-1.c failure on i686-pc-linux-gnu. Could you check if it fixes this bug too? Yes, it does. Thanks a lot for the quick fix. --

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-14 Thread paolo dot bonzini at lu dot unisi dot ch
--- Comment #25 from paolo dot bonzini at lu dot unisi dot ch 2007-11-14 13:24 --- Subject: Re: [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin Yes, it does. Thanks a lot for the quick fix. Note that even if the patch is

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-13 Thread dominiq at lps dot ens dot fr
--- Comment #7 from dominiq at lps dot ens dot fr 2007-11-13 08:01 --- Created an attachment (id=14539) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14539action=view) Good assembly code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34067

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-13 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2007-11-13 08:10 --- and the from the debugger which field of the array caused the abort and maybe even good and bad char_cshift_2.*.fwprop* dumps? Can you hit breakpoint on _gfortran_cshift1_4_char and _gfortran_cshift1_8_char

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-13 Thread dominiq at lps dot ens dot fr
--- Comment #8 from dominiq at lps dot ens dot fr 2007-11-13 08:02 --- Created an attachment (id=14540) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14540action=view) Bad assembly code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34067

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-13 Thread bonzini at gnu dot org
--- Comment #10 from bonzini at gnu dot org 2007-11-13 08:16 --- Anyway, it looks like a latent bug somewhere else. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-13 Thread bonzini at gnu dot org
--- Comment #11 from bonzini at gnu dot org 2007-11-13 08:21 --- Since you are at it, could you test on *exactly* the involved revisions, i.e. 130042 and 130043? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34067

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-13 Thread dominiq at lps dot ens dot fr
--- Comment #12 from dominiq at lps dot ens dot fr 2007-11-13 08:42 --- Subject: Re: [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin Since you are at it, could you test on *exactly* the involved revisions, i.e. 130042 and 130043?

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-13 Thread dominiq at lps dot ens dot fr
--- Comment #13 from dominiq at lps dot ens dot fr 2007-11-13 10:40 --- Created an attachment (id=14542) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14542action=view) Comparison between revisions 130042 and 130043 with -O2 -funroll-loops and with -O1+all the others bzip2 tar

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-13 Thread dominiq at lps dot ens dot fr
--- Comment #14 from dominiq at lps dot ens dot fr 2007-11-13 10:41 --- Could you try to compile the assembly code in r43_O2 and see if you get the abort? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34067

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-13 Thread paolo dot bonzini at lu dot unisi dot ch
--- Comment #15 from paolo dot bonzini at lu dot unisi dot ch 2007-11-13 11:43 --- Subject: Re: [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin bzip2 tar archive with four directories r42_O1, r42_O2, r43_O1, and r43_O2 containing

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-13 Thread dominiq at lps dot ens dot fr
--- Comment #16 from dominiq at lps dot ens dot fr 2007-11-13 13:18 --- Also, please check if the bug appears disappears with -O2 -fno-forward-propagate -funroll-loops It disappears with -fno-forward-propagate (rev 130043). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34067

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-13 Thread dominiq at lps dot ens dot fr
--- Comment #17 from dominiq at lps dot ens dot fr 2007-11-13 13:46 --- Created an attachment (id=14543) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14543action=view) outputs with -fdump-rtl-all outputs with -fdump-rtl-all with -O2 -funroll-loops for revisions 130042 and 130043.

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-13 Thread dominiq at lps dot ens dot fr
--- Comment #18 from dominiq at lps dot ens dot fr 2007-11-13 15:58 --- At revision 130137 the minimal flags are: [ibook-dhum] f90/bug% gfc -O1 -funroll-loops -fschedule-insns -fregmove -fexpensive-optimizations -fforward-propagate char_cshift_2_red_1.f90[ibook-dhum] f90/bug% a.out

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-13 Thread paolo dot bonzini at lu dot unisi dot ch
--- Comment #19 from paolo dot bonzini at lu dot unisi dot ch 2007-11-13 16:46 --- Subject: Re: [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin [ibook-dhum] f90/bug% gfc -O1 -funroll-loops -fschedule-insns -fregmove

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-13 Thread dominiq at lps dot ens dot fr
--- Comment #20 from dominiq at lps dot ens dot fr 2007-11-13 16:59 --- Created an attachment (id=14544) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14544action=view) outputs of -fdump-rtl-all for two set of options at -O1 The folder r137_O1_insns corresponds to

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-12 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-12 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-11-13 07:35 --- I certainly can't reproduce this on x86_64-linux (with neither -m32 nor -m64). Can you please attach the good and bad char_cshift_2.s, and the from the debugger which field of the array caused the abort and maybe even