[Bug ada/30699] in expand_one_stack_var_at, at cfgexpand.c:517

2007-05-02 Thread charlet 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



[Bug ada/30699] in expand_one_stack_var_at, at cfgexpand.c:517

2007-02-04 Thread karlnick at student dot chalmers dot se


--- Comment #1 from karlnick at student dot chalmers dot se  2007-02-04 
10:44 ---
Created an attachment (id=13004)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13004action=view)
Source files


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30699



[Bug ada/30699] in expand_one_stack_var_at, at cfgexpand.c:517

2007-02-04 Thread schwab at suse dot de


--- Comment #2 from schwab at suse dot de  2007-02-04 15:47 ---
*** Bug 30698 has been marked as a duplicate of this bug. ***


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30699