This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/21374] [4.2/4.3/4.4 regression] ICE with nested function
- From: "laurent at guerby dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2009 12:38:38 -0000
- Subject: [Bug middle-end/21374] [4.2/4.3/4.4 regression] ICE with nested function
- References: <bug-21374-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from laurent at guerby dot net 2009-01-14 12:38 -------
I think return of variable sized objects are handled by the Ada front-end using
a secondary stack (and hidden pointers to boundary records) and so the back-end
doesn't see anything like the code above. The ACATS testsuite is very likely
checking that stuff extensively, so testing a patch disabling that GNU C
feature with Ada enabled will be enough to validate it.
--
laurent at guerby dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |laurent at guerby dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21374