This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/30699] in expand_one_stack_var_at, at cfgexpand.c:517
- From: "charlet at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 May 2007 10:51:32 -0000
- Subject: [Bug ada/30699] in expand_one_stack_var_at, at cfgexpand.c:517
- References: <bug-30699-14047@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from charlet at gcc dot gnu dot org 2007-05-02 11:51 -------
The code is clearly wrong here:
type Label_Type is array (Positive) of Octet;
type Name_Type is array (Positive) of Octet;
You cannot expect declaring variables of these types.
trunk now generates proper error messages:
$ gcc -c communication.adb
communication.adb: In function 'Communication.Send_Request':
communication.adb:12: error: total size of local objects too large
communication.adb:17:07: warning: Storage_Error will be raised at run-time
--
charlet at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Summary|in expand_one_stack_var_at, |in expand_one_stack_var_at,
|at cfgexpand.c:517 |at cfgexpand.c:517
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30699