public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/13370] New: 'constant String' with 'pragma Machine_Attribute' triggers ICE
@ 2003-12-09 16:24 berndtrog at yahoo dot com
  2003-12-10  8:00 ` [Bug ada/13370] " dhazeghi at yahoo dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: berndtrog at yahoo dot com @ 2003-12-09 16:24 UTC (permalink / raw)
  To: gcc-bugs

How-To-Repeat:

gcc -c gimme_bug_box.adb

+===========================GNAT BUG DETECTED==============================+
| 3.4 20031209 (experimental) (i686-pc-linux-gnu) Storage_Error stack overflow
(or erroneous memory access)|
| Error detected at system.ads:150:5                                       |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+



procedure Gimme_Bug_Box 
is
   procedure Null_Proc;

   Foo : constant String := "bite me";

   pragma Machine_Attribute (Entity         => Null_Proc,
                             Attribute_Name => Foo);

   procedure Null_Proc
   is
   begin
      null;
   end;
   
begin
   null;
end;



Configured with: ../gcc/configure --prefix=/build/gcc34-20031209
--enable-languages=ada,c --disable-nls

-- 
           Summary: 'constant String' with 'pragma Machine_Attribute'
                    triggers ICE
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: berndtrog at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug ada/13370] 'constant String' with 'pragma Machine_Attribute' triggers ICE
  2003-12-09 16:24 [Bug ada/13370] New: 'constant String' with 'pragma Machine_Attribute' triggers ICE berndtrog at yahoo dot com
@ 2003-12-10  8:00 ` dhazeghi at yahoo dot com
  2004-10-29 13:49 ` pinskia at gcc dot gnu dot org
  2005-02-25  6:18 ` bosch at gcc dot gnu dot org
  2 siblings, 0 replies; 6+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-12-10  8:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2003-12-10 08:00 -------
Confirmed on mainline (20031203)

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2003-12-10 08:00:37
               date|                            |


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug ada/13370] 'constant String' with 'pragma Machine_Attribute' triggers ICE
  2003-12-09 16:24 [Bug ada/13370] New: 'constant String' with 'pragma Machine_Attribute' triggers ICE berndtrog at yahoo dot com
  2003-12-10  8:00 ` [Bug ada/13370] " dhazeghi at yahoo dot com
@ 2004-10-29 13:49 ` pinskia at gcc dot gnu dot org
  2005-02-25  6:18 ` bosch at gcc dot gnu dot org
  2 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-29 13:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 13:49 -------
An attribute name is NULL.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-12-10 08:00:37         |2004-10-29 13:49:38
               date|                            |


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug ada/13370] 'constant String' with 'pragma Machine_Attribute' triggers ICE
  2003-12-09 16:24 [Bug ada/13370] New: 'constant String' with 'pragma Machine_Attribute' triggers ICE berndtrog at yahoo dot com
  2003-12-10  8:00 ` [Bug ada/13370] " dhazeghi at yahoo dot com
  2004-10-29 13:49 ` pinskia at gcc dot gnu dot org
@ 2005-02-25  6:18 ` bosch at gcc dot gnu dot org
  2 siblings, 0 replies; 6+ messages in thread
From: bosch at gcc dot gnu dot org @ 2005-02-25  6:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bosch at gcc dot gnu dot org  2005-02-24 22:42 -------
+===========================GNAT BUG 
DETECTED==============================+
| 4.0.0 20050221 (experimental) (powerpc-apple-darwin7.8.0) Bus error      |
| Error detected at gimme_bug_box.adb:3:4                                  |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==============================================================
============+


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2005-01-28 06:23:10         |2005-02-24 22:42:53
               date|                            |


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug ada/13370] 'constant String' with 'pragma Machine_Attribute' triggers ICE
       [not found] <bug-13370-283@http.gcc.gnu.org/bugzilla/>
  2006-03-19  5:41 ` pinskia at gcc dot gnu dot org
@ 2007-12-13 13:55 ` sam at gcc dot gnu dot org
  1 sibling, 0 replies; 6+ messages in thread
From: sam at gcc dot gnu dot org @ 2007-12-13 13:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from sam at gcc dot gnu dot org  2007-12-13 13:55 -------
+===========================GNAT BUG DETECTED==============================+
| 4.3.0 20071213 (experimental) (i686-pc-linux-gnu) Storage_Error stack
overflow (or erroneous memory access)|
| Error detected at system.ads:156:5                                       |


-- 

sam at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2006-03-19 05:41:39         |2007-12-13 13:55:11
               date|                            |


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug ada/13370] 'constant String' with 'pragma Machine_Attribute' triggers ICE
       [not found] <bug-13370-283@http.gcc.gnu.org/bugzilla/>
@ 2006-03-19  5:41 ` pinskia at gcc dot gnu dot org
  2007-12-13 13:55 ` sam at gcc dot gnu dot org
  1 sibling, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-19  5:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-03-19 05:41 -------
Backtrace:
#0  0x004056bc in is_attribute_with_length_p (attr=0xc66e94 "altivec",
attr_len=7, ident=0x0) at /Users/pinskia/src/gcc/local/gcc/gcc/tree.c:3369
#1  0x004059dc in is_attribute_p (attr=0xc66e94 "altivec", ident=0x0) at
/Users/pinskia/src/gcc/local/gcc/gcc/tree.c:3410
#2  0x00c3ebd0 in decl_attributes (node=0xbfffebc8, attributes=0x42e54168,
flags=8) at /Users/pinskia/src/gcc/local/gcc/gcc/attribs.c:163
#3  0x000444e0 in process_attributes (decl=0x42e55500, attr_list=0x42906d50) at
/Users/pinskia/src/gcc/local/gcc/gcc/ada/utils.c:1527
#4  0x000457fc in create_subprog_decl (subprog_name=0x42e539a0, asm_name=0x0,
subprog_type=0x42e56cc0, param_decl_list=0x0, inline_flag=0 '\0', public_flag=0
'\0', extern_flag=0 '\0', attr_list=0x42906d50, gnat_node=1652) at
/Users/pinskia/src/gcc/local/gcc/gcc/ada/utils.c:1690
#5  0x0001e308 in gnat_to_gnu_entity (gnat_entity=1652, gnu_expr=0x0,
definition=1) at /Users/pinskia/src/gcc/local/gcc/gcc/ada/decl.c:3811
#6  0x000822cc in gnat_to_gnu (gnat_node=1660) at
/Users/pinskia/src/gcc/local/gcc/gcc/ada/trans.c:3770
#7  0x00089864 in process_decls (gnat_decls=-99999990, gnat_decls2=0,
gnat_end_list=0, pass1p=1 '\001', pass2p=1 '\001') at
/Users/pinskia/src/gcc/local/gcc/gcc/ada/trans.c:5156


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2005-06-14 21:04:31         |2006-03-19 05:41:39
               date|                            |


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-12-13 13:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-09 16:24 [Bug ada/13370] New: 'constant String' with 'pragma Machine_Attribute' triggers ICE berndtrog at yahoo dot com
2003-12-10  8:00 ` [Bug ada/13370] " dhazeghi at yahoo dot com
2004-10-29 13:49 ` pinskia at gcc dot gnu dot org
2005-02-25  6:18 ` bosch at gcc dot gnu dot org
     [not found] <bug-13370-283@http.gcc.gnu.org/bugzilla/>
2006-03-19  5:41 ` pinskia at gcc dot gnu dot org
2007-12-13 13:55 ` sam at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).