This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]