[Bug fortran/60357] [F08] structure constructor with unspecified values for allocatable components

2015-01-26 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60357 vehre at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug fortran/60357] [F08] structure constructor with unspecified values for allocatable components

2015-01-17 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60357 --- Comment #13 from Paul Thomas pault at gcc dot gnu.org --- Author: pault Date: Sat Jan 17 18:08:38 2015 New Revision: 219801 URL: https://gcc.gnu.org/viewcvs?rev=219801root=gccview=rev Log: 2015-01-17 Andre Vehreschild ve...@gmx.de PR

[Bug fortran/60357] [F08] structure constructor with unspecified values for allocatable components

2014-12-29 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60357 --- Comment #7 from janus at gcc dot gnu.org --- Author: janus Date: Mon Dec 29 10:45:21 2014 New Revision: 219098 URL: https://gcc.gnu.org/viewcvs?rev=219098root=gccview=rev Log: 2014-12-29 Janus Weil ja...@gcc.gnu.org PR fortran/60357

[Bug fortran/60357] [F08] structure constructor with unspecified values for allocatable components

2014-12-29 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60357 --- Comment #8 from janus at gcc dot gnu.org --- The original problem in comment 0 is fixed with r219098. Thanks to Anthony for reporting this! TODO: The segfault reported by Dominique in comment 4 and 5.

[Bug fortran/60357] [F08] structure constructor with unspecified values for allocatable components

2014-12-29 Thread vehre at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60357 Andre Vehreschild vehre at gmx dot de changed: What|Removed |Added CC||vehre at gmx dot

[Bug fortran/60357] [F08] structure constructor with unspecified values for allocatable components

2014-12-29 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60357 --- Comment #10 from janus at gcc dot gnu.org --- (In reply to Andre Vehreschild from comment #9) I just need to figure, if allocating the component explicitly is valid in Fortran. For sure. I think both the examples in comment 4 and 5 are

[Bug fortran/60357] [F08] structure constructor with unspecified values for allocatable components

2014-12-29 Thread vehre at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60357 --- Comment #11 from Andre Vehreschild vehre at gmx dot de --- Hi Janus, before you invest too much time into that: My current patch level produces intermediate code as attached (for a slightly different program, also attached). I was solving

[Bug fortran/60357] [F08] structure constructor with unspecified values for allocatable components

2014-12-29 Thread vehre at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60357 --- Comment #12 from Andre Vehreschild vehre at gmx dot de --- Created attachment 34353 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34353action=edit test_pr60357.f08

[Bug fortran/60357] [F08] structure constructor with unspecified values for allocatable components

2014-12-23 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60357 --- Comment #6 from janus at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #4) program testerprog use testmod Type(A) :: Me allocate(Me%y) Me = A(X=1, y=2) print *, Me%y end program

[Bug fortran/60357] [F08] structure constructor with unspecified values for allocatable components

2014-12-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60357 --- Comment #5 from Dominique d'Humieres dominiq at lps dot ens.fr --- The patch in comment 2 needs to be update to --- ../_clean/gcc/fortran/primary.c2014-12-16 22:27:14.0 +0100 +++ gcc/fortran/primary.c2014-12-21

[Bug fortran/60357] [F08] structure constructor with unspecified values for allocatable components

2014-08-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60357 --- Comment #4 from Dominique d'Humieres dominiq at lps dot ens.fr --- Note that while program testerprog use testmod Type(A) :: Me Me%y=2 print *, Me%x, Me%y end program gives at run time 1 2

[Bug fortran/60357] [F08] structure constructor with unspecified values for allocatable components

2014-02-28 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60357 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/60357] [F08] structure constructor with unspecified values for allocatable components

2014-02-27 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60357 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||rejects-valid

[Bug fortran/60357] [F08] structure constructor with unspecified values for allocatable components

2014-02-27 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60357 --- Comment #2 from janus at gcc dot gnu.org --- Draft patch: Index: gcc/fortran/array.c === --- gcc/fortran/array.c(revision 208207) +++ gcc/fortran/array.c(working copy) @@