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/34402] Diagnose illegal initialization of derived type containing allocatable component



------- Comment #1 from burnus at gcc dot gnu dot org  2007-12-09 13:07 -------
NAG f95:
Error: adf.f90, line 10: Initialisation expression for BAD is not constant

ifort:
fortcom: Error: adf.f90, line 10: A data initialization-expr is not valid for
this object.   [BAD]
  type (bad_t) :: bad = bad_t ( (/ 1., 3., 5., 7., 9. /) )
------------------^


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |accepts-invalid
   Last reconfirmed|0000-00-00 00:00:00         |2007-12-09 13:07:58
               date|                            |


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


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