public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "nashpaulr at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/27177]  New: ICE in build_simple_base_path, at cp/class.c:474
Date: Sun, 16 Apr 2006 09:30:00 -0000	[thread overview]
Message-ID: <bug-27177-12540@http.gcc.gnu.org/bugzilla/> (raw)

This is my first gcc bug, so please be kind...

I'm in the process of upgrading my company's toolchain from 3.4.4 to 4.1.0
(mostly because we want ARM EABI support...but that's not relevant, it turns
out this bug happens on both i686 and ARM targets).

I narrowed down a particular usage of Loki's Type Manipulation templates
combined with a common _C_ASSERT trick that was causing an ICE:

ice-cp-class_c_474.cpp: In instantiation of 'Loki::Conversion<const volatile
Event*, const volatile IBar*>':
ice-cp-class_c_474.cpp:62:   instantiated from 'Loki::Conversion<const volatile
IBar*, const volatile Event*>'
ice-cp-class_c_474.cpp:118:   instantiated from
'Loki::SuperSubclassStrict<IBar, Event>'
ice-cp-class_c_474.cpp:201:   instantiated from here
ice-cp-class_c_474.cpp:58: internal compiler error: in build_simple_base_path,
at cp/class.c:474
Please submit a full bug report,

I will attach my one-page self-contained .cpp file.

This is known to work on gcc-3.4.4.

My compiler is configured thusly:

/usr/local/i686/4.1.0-1a/bin/g++ -v ice-cp-class_c_474.cpp
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: .././gcc-4.1.0-pass2/configure
--prefix=/usr/local/i686/4.1.0-1a --libexecdir=/usr/local/i686/4.1.0-1a/lib
--with-local-prefix=/usr/local/i686/4.1.0-1a --enable-threads=posix
--enable-c99 --enable-clocale=gnu --enable-shared --enable-__cxa_atexit
--enable-languages=c,c++ --enable-long-long --disable-libstdcxx-pch
Thread model: posix
gcc version 4.1.0


-- 
           Summary: ICE in build_simple_base_path, at cp/class.c:474
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nashpaulr at gmail dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu, arm-non-linux-gnueabi


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


             reply	other threads:[~2006-04-16  9:30 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-16  9:30 nashpaulr at gmail dot com [this message]
2006-04-16  9:32 ` [Bug c++/27177] " nashpaulr at gmail dot com
2006-04-16  9:34 ` nashpaulr at gmail dot com
2006-04-16 23:13 ` [Bug c++/27177] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-06-02 22:39 ` reichelt at gcc dot gnu dot org
2006-06-04 18:27 ` mmitchel at gcc dot gnu dot org
2006-06-05 23:05 ` mmitchel at gcc dot gnu dot org
2006-06-06 21:39 ` mmitchel at gcc dot gnu dot org
2006-06-06 21:42 ` mmitchel at gcc dot gnu dot org
2006-06-06 21:55 ` [Bug c++/27177] [4.0 " mmitchel at gcc dot gnu dot org
2006-08-18 11:21 ` zak at transversal dot com
2006-09-09  3:17 ` [Bug c++/27177] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
2006-09-10 21:56 ` mmitchel at gcc dot gnu dot org
2006-09-10 22:04 ` mmitchel at gcc dot gnu dot org
2007-02-03 16:51 ` [Bug c++/27177] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
2007-02-03 20:29 ` pinskia at gcc dot gnu dot org
2007-02-14  9:07 ` mmitchel at gcc dot gnu dot org
2007-05-02  1:24 ` crowl at google dot com
2007-05-02 19:02 ` mark at codesourcery dot com
2007-12-16 23:21 ` steven at gcc dot gnu dot org
2007-12-18  5:38 ` mmitchel at gcc dot gnu dot org
2008-01-14 12:06 ` [Bug c++/27177] [4.1/4.2/4.3 " rguenth at gcc dot gnu dot org
2008-01-14 22:29 ` crowl at google dot com
2008-01-15 10:11 ` rguenth at gcc dot gnu dot org
2008-01-15 10:34 ` rguenth at gcc dot gnu dot org
2008-01-21  2:23 ` mmitchel at gcc dot gnu dot org
2008-01-21 20:55 ` crowl at google dot com
2008-01-25 16:41 ` rguenth at gcc dot gnu dot org
2008-01-26  1:32 ` jason at gcc dot gnu dot org
2008-01-26  9:42 ` [Bug c++/27177] [4.1/4.2 " jakub at gcc dot gnu dot org
2008-01-26 11:56 ` rguenth at gcc dot gnu dot org
2008-01-26 11:57 ` [Bug c++/27177] [4.1/4.2/4.3 " rguenth at gcc dot gnu dot org
2008-01-26 18:58 ` rguenth at gcc dot gnu dot org
2008-01-26 19:34 ` hjl dot tools at gmail dot com
2008-01-26 19:44 ` rguenth at gcc dot gnu dot org
2008-01-28  8:03 ` jason at gcc dot gnu dot org
2008-01-28  8:10 ` jason at gcc dot gnu dot org
2008-01-28 16:34 ` jason at gcc dot gnu dot org
2008-01-28 16:35 ` jason at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-27177-12540@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).