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


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


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