This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/27980] Wrong allocation for zero-sized function result
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jun 2006 21:57:38 -0000
- Subject: [Bug fortran/27980] Wrong allocation for zero-sized function result
- References: <bug-27980-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from tkoenig at gcc dot gnu dot org 2006-06-12 21:57 -------
Created an attachment (id=11657)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11657&action=view)
patch
Here's a patch (regression-tested).
I'm not 100% sure this is the most elegant method, though.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27980