[Bug fortran/66089] [6 Regression] elemental dependency mishandling when derived types are involved

2016-02-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66089 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment

[Bug fortran/66089] [6 Regression] elemental dependency mishandling when derived types are involved

2016-02-06 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66089 --- Comment #14 from Mikael Morin --- Created attachment 37613 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37613=edit Fix for comment #10 This is sufficient to fix comment #10. It removes the optional attribute on c(1) if c is

[Bug fortran/66089] [6 Regression] elemental dependency mishandling when derived types are involved

2016-02-05 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66089 Mikael Morin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug fortran/66089] [6 Regression] elemental dependency mishandling when derived types are involved

2016-02-05 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66089 --- Comment #13 from Mikael Morin --- Author: mikael Date: Fri Feb 5 21:41:15 2016 New Revision: 233188 URL: https://gcc.gnu.org/viewcvs?rev=233188=gcc=rev Log: Fix fortran scalar elemental dependency mishandling PR fortran/66089

[Bug fortran/66089] [6 Regression] elemental dependency mishandling when derived types are involved

2016-01-29 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66089 --- Comment #10 from Mikael Morin --- Here is a variant that fails similarly (even with the patch) with optional arguments. type :: t integer :: c end type t type(t), dimension(5) :: a, b, c a = t(1) b = t(7) c = t(13) call

[Bug fortran/66089] [6 Regression] elemental dependency mishandling when derived types are involved

2016-01-29 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66089 --- Comment #11 from Mikael Morin --- (In reply to vehre from comment #9) > I am still wondering whether there isn't a counterexample where this is not > working, i.e., we have lhs-rhs-dependency that is polymorphic. But because > assignment to

[Bug fortran/66089] [6 Regression] elemental dependency mishandling when derived types are involved

2015-10-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66089 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug fortran/66089] [6 Regression] elemental dependency mishandling when derived types are involved

2015-10-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66089 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.0

[Bug fortran/66089] [6 Regression] elemental dependency mishandling when derived types are involved

2015-05-22 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66089 --- Comment #9 from vehre at gcc dot gnu.org --- That was a rhetorical question. In the patch you submitted in comment #2 could you put a comment (in the source) at: Index: trans-array.c

[Bug fortran/66089] [6 Regression] elemental dependency mishandling when derived types are involved

2015-05-21 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66089 --- Comment #7 from vehre at gcc dot gnu.org --- Ah, ok, which opens the question why that isn't done?

[Bug fortran/66089] [6 Regression] elemental dependency mishandling when derived types are involved

2015-05-21 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66089 --- Comment #6 from Mikael Morin mikael at gcc dot gnu.org --- (In reply to vehre from comment #5) For the interpretation of (intrinsic) assignment, you have to look at 7.2.1.3: The execution of the assignment shall have the same effect as if

[Bug fortran/66089] [6 Regression] elemental dependency mishandling when derived types are involved

2015-05-21 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66089 --- Comment #5 from vehre at gcc dot gnu.org --- Let's have a look at the standard (F2008, 12.8.2, last sentence): In the array case, the values of the elements, if any, of the result are the same as would have been obtained if the scalar

[Bug fortran/66089] [6 Regression] elemental dependency mishandling when derived types are involved

2015-05-21 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66089 --- Comment #8 from Mikael Morin mikael at gcc dot gnu.org --- (In reply to vehre from comment #7) Ah, ok, which opens the question why that isn't done? Performance, for (very) big arrays.

[Bug fortran/66089] [6 Regression] elemental dependency mishandling when derived types are involved

2015-05-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66089 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug fortran/66089] [6 Regression] elemental dependency mishandling when derived types are involved

2015-05-12 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66089 --- Comment #4 from Mikael Morin mikael at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #3) The code in comment 0 does not abort at run time up to revision r222352 (2015-04-23), but does so at r222398 (2015-04-24), likely