public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/50846] New: internal compiler error in finish_function
@ 2011-10-24  8:02 egilb at ife dot no
  2011-10-24  8:15 ` [Bug c++/50846] " rguenth at gcc dot gnu.org
  2024-03-23 23:39 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: egilb at ife dot no @ 2011-10-24  8:02 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50846
           Summary: internal compiler error in finish_function
    Classification: Unclassified
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: egilb@ife.no


Created attachment 25587
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25587
Output from 'c++ -save-temps -c gcc_ice.cpp'

A definition of the funtion __static_initialization_and_destruction_0 in the
translation unit triggers internal compilere error in all versions of gcc.


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

* [Bug c++/50846] internal compiler error in finish_function
  2011-10-24  8:02 [Bug c++/50846] New: internal compiler error in finish_function egilb at ife dot no
@ 2011-10-24  8:15 ` rguenth at gcc dot gnu.org
  2024-03-23 23:39 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-24  8:15 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-10-24
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-24 08:14:56 UTC ---
The __ prefix is reserved for implementation purposes.  Do not use it.

Well.  Confirmed.  We could be "nicer" here and reject the source.


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

* [Bug c++/50846] internal compiler error in finish_function
  2011-10-24  8:02 [Bug c++/50846] New: internal compiler error in finish_function egilb at ife dot no
  2011-10-24  8:15 ` [Bug c++/50846] " rguenth at gcc dot gnu.org
@ 2024-03-23 23:39 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-23 23:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50846

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|13.1.0                      |

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
New testcase for GCC 13+:
```

struct A
{
  A();
} global;

void __static_initialization_and_destruction_0(  ) { }
```

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

end of thread, other threads:[~2024-03-23 23:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-24  8:02 [Bug c++/50846] New: internal compiler error in finish_function egilb at ife dot no
2011-10-24  8:15 ` [Bug c++/50846] " rguenth at gcc dot gnu.org
2024-03-23 23:39 ` pinskia at gcc dot gnu.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).