public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15890] New: internal compiler error: in c_expand_expr, at c-common.c:4138
@ 2004-06-09 12:09 jkherciueh at gmx dot net
  2004-06-09 13:17 ` [Bug c++/15890] [3.3/3.4/3.5 regression] " bangerth at dealii dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: jkherciueh at gmx dot net @ 2004-06-09 12:09 UTC (permalink / raw)
  To: gcc-bugs

The compiler asked me to submit a bug report. This is the first time, I am doing
this, so please be patient. I am using gcc-3.4.0 (April 20) on Linux 2.4.24. The
following very small file triggers an internal error. I do not claim the code to
be valid. It does not include any other files.

// minimal trigger

template < typename T >
class SmartPtr {};

template < typename T >
void operator delete ( void* raw ) {
  delete raw;
}

class A { };

int main() {
   A* a = new A;
   delete a;
}

// end of file

Here is what the compiler prints before dying:

gcc-3.4.0-killer.cc: In function `int main()':
gcc-3.4.0-killer.cc:15: internal compiler error: in c_expand_expr, at c-common.c
:4138
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Here is the output from gcc -v:

Reading specs from
/mnt/target/lfs/my_dist/shaddow/pkg/gcc-3.4.0/usr/bin/../lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Configured with: ./configure
--prefix=/mnt/target/lfs/my_dist/shaddow/pkg/gcc-3.4.0/usr/ --enable-threads
Thread model: posix
gcc version 3.4.0

Here is the commandline:

news_group> /mnt/target/lfs/my_dist/shaddow/pkg/gcc-3.4.0/usr/bin/g++ -I
/usr/include -I /home/bux/bux/todo/towrite/c++ -Wall -pedantic gcc-3.4.0-killer.cc

-- 
           Summary: internal compiler error: in c_expand_expr, at c-
                    common.c:4138
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jkherciueh at gmx dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: ?
  GCC host triplet: ?
GCC target triplet: ?


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


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

end of thread, other threads:[~2004-08-19 20:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-09 12:09 [Bug c++/15890] New: internal compiler error: in c_expand_expr, at c-common.c:4138 jkherciueh at gmx dot net
2004-06-09 13:17 ` [Bug c++/15890] [3.3/3.4/3.5 regression] " bangerth at dealii dot org
2004-06-09 13:19 ` bangerth at dealii dot org
2004-06-09 13:35 ` jkherciueh at gmx dot net
2004-06-09 14:04 ` bangerth at dealii dot org
2004-06-09 14:25 ` jkherciueh at gmx dot net
2004-06-09 16:03 ` bangerth at dealii dot org
2004-08-10 21:41 ` pinskia at gcc dot gnu dot org
2004-08-19 20:16 ` cvs-commit at gcc dot gnu dot org
2004-08-19 20:18 ` cvs-commit at gcc dot gnu dot org
2004-08-19 20:20 ` mmitchel at gcc dot gnu dot org
2004-08-19 20:21 ` mmitchel 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).