This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36517] Type-spec in array constructor: Invalid error for -std=f2003/f2008
- From: "d at domob dot eu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jun 2008 17:53:41 -0000
- Subject: [Bug fortran/36517] Type-spec in array constructor: Invalid error for -std=f2003/f2008
- References: <bug-36517-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from d at domob dot eu 2008-06-13 17:53 -------
Created an attachment (id=15770)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15770&action=view)
Probably obvious fix.
Attached a simple fix by disabling this error if we are inside an
array-constructor with typespec; the two tests above are included in the patch
and work now.
Regression-testing is just running, but I don't expect any errors there. If it
succeeds, I'll submit the patch to gcc-patches.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36517