public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "smirolo at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/26186]  New: internal compiler error in template resolution
Date: Wed, 08 Feb 2006 23:23:00 -0000	[thread overview]
Message-ID: <bug-26186-11771@http.gcc.gnu.org/bugzilla/> (raw)

I've got a complex template expression which produces an internal error into
gcc. By chance I tried on the native Mac gcc-4.0.0 and it gaves me  correct
error messages as the templates are not qualified correctly. Nonetheless, I
think it is worth reporting for future regression tests.

Sebastien.

dhcp-8:~/build/rep smirolo$ g++ -v -save-temps -Iootbc/include
-I${HOME}/installed/local/include testLatency.cc            
Reading specs from
/Volumes/Home/Users/smirolo/installed/local/gcc-3.4.4/lib/gcc/powerpc-apple-darwin8.3.0/3.4.4/specs
Configured with: /Volumes/Home/Users/smirolo/reference/gcc-3.4.4/configure
--prefix=/Volumes/Home/Users/smirolo/installed/local/gcc-3.4.4
--enable-languages=c,c++
Thread model: posix
gcc version 3.4.4

/Volumes/Home/Users/smirolo/installed/local/gcc-3.4.4/libexec/gcc/powerpc-apple-darwin8.3.0/3.4.4/cc1plus
-E -quiet -v -Iootbc/include
-I/Volumes/Home/Users/smirolo/installed/local/include -D__DYNAMIC__
testLatency.cc -fPIC -o testLatency.ii
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory
"/Volumes/Home/Users/smirolo/installed/local/gcc-3.4.4/lib/gcc/powerpc-apple-darwin8.3.0/3.4.4/../../../../powerpc-apple-darwin8.3.0/include"
#include "..." search starts here:
#include <...> search starts here:
 ootbc/include
 /Volumes/Home/Users/smirolo/installed/local/include

/Volumes/Home/Users/smirolo/installed/local/gcc-3.4.4/lib/gcc/powerpc-apple-darwin8.3.0/3.4.4/../../../../include/c++/3.4.4

/Volumes/Home/Users/smirolo/installed/local/gcc-3.4.4/lib/gcc/powerpc-apple-darwin8.3.0/3.4.4/../../../../include/c++/3.4.4/powerpc-apple-darwin8.3.0

/Volumes/Home/Users/smirolo/installed/local/gcc-3.4.4/lib/gcc/powerpc-apple-darwin8.3.0/3.4.4/../../../../include/c++/3.4.4/backward
 /Volumes/Home/Users/smirolo/installed/local/gcc-3.4.4/include

/Volumes/Home/Users/smirolo/installed/local/gcc-3.4.4/lib/gcc/powerpc-apple-darwin8.3.0/3.4.4/include
 /usr/include
End of search list.

/Volumes/Home/Users/smirolo/installed/local/gcc-3.4.4/libexec/gcc/powerpc-apple-darwin8.3.0/3.4.4/cc1plus
-fpreprocessed testLatency.ii -fPIC -quiet -dumpbase testLatency.cc -auxbase
testLatency -version -o testLatency.s
GNU C++ version 3.4.4 (powerpc-apple-darwin8.3.0)
        compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5247).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
testLatency.cc: In function `latency latencyOf(size_t, widthTag, widthTag,
int)':
testLatency.cc:8: internal compiler error: in lookup_member, at
cp/search.c:1287
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
dhcp-8:~/build/rep smirolo$


-- 
           Summary: internal compiler error in template resolution
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: smirolo at hotmail dot com
  GCC host triplet: powerpc-apple-darwin8.3.0
GCC target triplet: powerpc-apple-darwin8.3.0


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


             reply	other threads:[~2006-02-08 23:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-08 23:23 smirolo at hotmail dot com [this message]
2006-02-08 23:26 ` [Bug c++/26186] " smirolo at hotmail dot com
2006-02-08 23:34 ` pinskia at gcc dot gnu dot org
2006-02-09  9:48 ` rguenth at gcc dot gnu dot org
2006-02-09 13:51 ` rguenth 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-26186-11771@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).