[Bug fortran/41212] [4.5 Regression] miscompilation at -O2

2009-09-28 Thread hjl at gcc dot gnu dot org
--- Comment #20 from hjl at gcc dot gnu dot org 2009-09-28 20:39 --- Subject: Bug 41212 Author: hjl Date: Mon Sep 28 20:38:53 2009 New Revision: 152250 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152250 Log: 2009-09-28 H.J. Lu Backport from mainline: 2009-

[Bug fortran/41212] [4.5 Regression] miscompilation at -O2

2009-09-16 Thread matz at gcc dot gnu dot org
--- Comment #19 from matz at gcc dot gnu dot org 2009-09-16 16:13 --- Fixed. -- matz at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/41212] [4.5 Regression] miscompilation at -O2

2009-09-16 Thread matz at gcc dot gnu dot org
--- Comment #18 from matz at gcc dot gnu dot org 2009-09-16 16:12 --- Subject: Bug 41212 Author: matz Date: Wed Sep 16 16:12:18 2009 New Revision: 151761 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151761 Log: PR fortran/41212 * tree.h (struct tree_decl_common

[Bug fortran/41212] [4.5 Regression] miscompilation at -O2

2009-09-15 Thread jv244 at cam dot ac dot uk
--- Comment #17 from jv244 at cam dot ac dot uk 2009-09-15 17:56 --- (In reply to comment #16) > Does this PR 41347? no, it doesn't. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41212

[Bug fortran/41212] [4.5 Regression] miscompilation at -O2

2009-09-15 Thread kargl at gcc dot gnu dot org
--- Comment #16 from kargl at gcc dot gnu dot org 2009-09-15 17:21 --- (In reply to comment #14) > http://gcc.gnu.org/ml/gcc-patches/2009-09/msg01001.html > I'm not in a position to test this patch at the moment. Does this PR 41347? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4

[Bug fortran/41212] [4.5 Regression] miscompilation at -O2

2009-09-15 Thread jv244 at cam dot ac dot uk
--- Comment #15 from jv244 at cam dot ac dot uk 2009-09-15 16:20 --- (In reply to comment #14) > http://gcc.gnu.org/ml/gcc-patches/2009-09/msg01001.html This also fixes PR41312 (that I will close as a duplicate). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41212

[Bug fortran/41212] [4.5 Regression] miscompilation at -O2

2009-09-15 Thread matz at gcc dot gnu dot org
--- Comment #14 from matz at gcc dot gnu dot org 2009-09-15 15:21 --- http://gcc.gnu.org/ml/gcc-patches/2009-09/msg01001.html -- matz at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/41212] [4.5 Regression] miscompilation at -O2

2009-09-14 Thread matz at gcc dot gnu dot org
--- Comment #13 from matz at gcc dot gnu dot org 2009-09-14 12:20 --- Nah, not the full patch. Maybe the part that gives separate alias sets to scalar variables. But there's plenty of time for reverting, let's try to cobble up some other fixes first. -- http://gcc.gnu.org/bugzilla

[Bug fortran/41212] [4.5 Regression] miscompilation at -O2

2009-09-12 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2009-09-12 11:46 --- We should instead revert 2009-08-18 Michael Matz * trans-expr.c (gfc_conv_substring): Don't evaluate casted decl early, change order of length calculation to (end - start) + 1. (gfc_get

[Bug fortran/41212] [4.5 Regression] miscompilation at -O2

2009-09-12 Thread jv244 at cam dot ac dot uk
--- Comment #11 from jv244 at cam dot ac dot uk 2009-09-12 08:29 --- (In reply to comment #9) > Indeed. For fixing fwprop this: [...] > or this: [...] > will both fix the issue at hand. The first will propagate to everywhere > (with the problem mentioned in the comment, so that would ne

[Bug fortran/41212] [4.5 Regression] miscompilation at -O2

2009-09-03 Thread rguenther at suse dot de
--- Comment #10 from rguenther at suse dot de 2009-09-03 17:23 --- Subject: Re: [4.5 Regression] miscompilation at -O2 On Thu, 3 Sep 2009, matz at gcc dot gnu dot org wrote: > --- Comment #9 from matz at gcc dot gnu dot org 2009-09-03 17:13 --- > Indeed. For fixing fwprop t

[Bug fortran/41212] [4.5 Regression] miscompilation at -O2

2009-09-03 Thread matz at gcc dot gnu dot org
--- Comment #9 from matz at gcc dot gnu dot org 2009-09-03 17:13 --- Indeed. For fixing fwprop this: --- tree-ssa-forwprop.c (Revision 151348) +++ tree-ssa-forwprop.c (Arbeitskopie) @@ -958,7 +958,7 @@ forward_propagate_addr_expr (tree name, /* If the use is in a deeper loop nest

[Bug fortran/41212] [4.5 Regression] miscompilation at -O2

2009-09-03 Thread rguenther at suse dot de
--- Comment #8 from rguenther at suse dot de 2009-09-03 16:50 --- Subject: Re: [4.5 Regression] miscompilation at -O2 On Thu, 3 Sep 2009, matz at gcc dot gnu dot org wrote: > --- Comment #7 from matz at gcc dot gnu dot org 2009-09-03 16:39 --- > Hmm, in a sense what forward

[Bug fortran/41212] [4.5 Regression] miscompilation at -O2

2009-09-03 Thread matz at gcc dot gnu dot org
--- Comment #7 from matz at gcc dot gnu dot org 2009-09-03 16:39 --- Hmm, in a sense what forward prop is doing is at least fishy. It forwards the casted ADDR_EXPR into some references of y_13, but not into all of them. As y_13 is a restrict pointer this is always going to be a problem,