This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33221] Cannot declare variables of TYPE without components
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Sep 2007 11:31:46 -0000
- Subject: [Bug fortran/33221] Cannot declare variables of TYPE without components
- References: <bug-33221-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-09-18 11:31 -------
(In reply to comment #2)
> One thing that comes to mind is the following patch. It allows derived types
> with zero components to be accepted, but I fear that it might make us accept
> invalid code with empty derived types outside the current scoping unit.
After thinking some more, I think that fear is not justified. There are a few
other places that need adjusting, but I'll submit a complete patch shortly.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |fxcoudert at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2007-09-18 07:32:37 |2007-09-18 11:31:46
date| |
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33221