public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/36278]  New: [4.2 4.3 regression] ICE with typedef void in namespace and using the defined type in another when compiling with "-g"
@ 2008-05-20 13:33 dev-zero at gentoo dot org
  2008-05-20 13:37 ` [Bug c++/36278] [4.2/4.3 " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: dev-zero at gentoo dot org @ 2008-05-20 13:33 UTC (permalink / raw)
  To: gcc-bugs

The code snippet goes as follows:

*snip*
namespace Bar
{
        typedef void MyVoid;
}
using Bar::MyVoid;
*snip*

Compiling with "g++-4.3.0 -save-temps -g -Wall -o simple simple.cc -c"
results in this:

simple.cc:6: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.

Could reproduce this bug on Gentoo 2008.0 with g++ 4.3.0 and 4.2.3 and on
Fedora Core 8.


-- 
           Summary: [4.2 4.3 regression] ICE with typedef void in namespace
                    and using the defined type in another when compiling
                    with "-g"
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dev-zero at gentoo dot org


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


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

end of thread, other threads:[~2009-04-29 15:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-20 13:33 [Bug c++/36278] New: [4.2 4.3 regression] ICE with typedef void in namespace and using the defined type in another when compiling with "-g" dev-zero at gentoo dot org
2008-05-20 13:37 ` [Bug c++/36278] [4.2/4.3 " pinskia at gcc dot gnu dot org
2008-05-20 13:45 ` [Bug c++/36278] [4.2/4.3/4.4 Regression] " rguenth at gcc dot gnu dot org
2008-05-28 22:11 ` [Bug middle-end/36278] " rguenth at gcc dot gnu dot org
2008-07-30 11:42 ` [Bug debug/36278] " jakub at gcc dot gnu dot org
2008-07-31  8:04 ` jakub at gcc dot gnu dot org
2008-07-31  8:51 ` jakub at gcc dot gnu dot org
2008-07-31  8:53 ` jakub at gcc dot gnu dot org
2009-04-29 15:14 ` pinskia 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).