[Bug fortran/43179] ICE invalid if accessing array member of non-array

2013-01-15 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43179 Mikael Morin changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug fortran/43179] ICE invalid if accessing array member of non-array

2012-02-05 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43179 --- Comment #9 from Dominique d'Humieres 2012-02-05 17:37:33 UTC --- With trunk at revision 183904 or with 4.6.2, I get pr43179.f90:6.14: if (allocated(foo(1)%a)) call abort() 1 Error: 'array' argument of 'allocated' intrinsic at

[Bug fortran/43179] ICE invalid if accessing array member of non-array

2010-12-29 Thread dfranke at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43179 --- Comment #8 from Daniel Franke 2010-12-30 02:39:58 UTC --- (In reply to comment #5) > (In reply to comment #4) > > (In reply to comment #2) > > > > OK for trunk with the usual embellishments of ChangeLogs and testcase? > > > > > > Yes, if you

[Bug fortran/43179] ICE invalid if accessing array member of non-array

2010-07-18 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2010-07-18 07:09 --- (In reply to comment #2) > (In reply to comment #1) > > This fixes it and regtests. > > + if (array->expr_type != EXPR_VARIABLE && array->expr_type != > > EXPR_FUNCTION) > > The patch looks OK, but actually I fail

[Bug fortran/43179] ICE invalid if accessing array member of non-array

2010-07-15 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2010-07-15 21:57 --- Spin-off: PR44960 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43179

[Bug fortran/43179] ICE invalid if accessing array member of non-array

2010-06-24 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2010-06-24 15:42 --- (In reply to comment #4) > (In reply to comment #2) > > > OK for trunk with the usual embellishments of ChangeLogs and testcase? > > > > Yes, if you have an example for EXPR_FUNCTION - otherwise I would claim that > >

[Bug fortran/43179] ICE invalid if accessing array member of non-array

2010-05-18 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2010-05-18 22:44 --- (In reply to comment #2) > > OK for trunk with the usual embellishments of ChangeLogs and testcase? > > Yes, if you have an example for EXPR_FUNCTION - otherwise I would claim that > EXPR_VARIABLE is enough. Paul,

[Bug fortran/43179] ICE invalid if accessing array member of non-array

2010-02-26 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2010-02-26 10:26 --- > gfortran already bails out with: > Error: Allocate-object at (1) is not a nonprocedure pointer > or an allocatable variable If you are already patching, can you also improve the wording for this old error messa

[Bug fortran/43179] ICE invalid if accessing array member of non-array

2010-02-25 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-02-26 07:54 --- (In reply to comment #1) > This fixes it and regtests. > + if (array->expr_type != EXPR_VARIABLE && array->expr_type != > EXPR_FUNCTION) The patch looks OK, but actually I fail to see when an EXPR_FUNCTION is vali

[Bug fortran/43179] ICE invalid if accessing array member of non-array

2010-02-25 Thread pault at gcc dot gnu dot org
--- Comment #1 from pault at gcc dot gnu dot org 2010-02-26 07:35 --- This fixes it and regtests. Index: gcc/fortran/check.c === *** gcc/fortran/check.c (revision 157061) --- gcc/fortran/check.c (working copy) *