This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/41807] [4.5/4.4 Regression] data statement with nested type constructors



------- Comment #15 from jvdelisle at gcc dot gnu dot org  2009-11-17 04:29 -------
I have confirmed on trunk that removing that snippet clears the regression.

Looking at gfc_is_constant_expr we see a call to array.c (gfc_constant_ac)
which does indeed modify the expr.  So we have a bad side effect going on here.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41807


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]