public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13530] New: internal compiler error: Segmentation fault
@ 2003-12-31  9:36 rwgk at yahoo dot com
  2003-12-31  9:44 ` [Bug c++/13530] " rwgk at yahoo dot com
  2003-12-31 18:15 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: rwgk at yahoo dot com @ 2003-12-31  9:36 UTC (permalink / raw)
  To: gcc-bugs

gcc snapshot from 2003/12/30, ca. 7:40am PST
Configured with: ../gcc/configure --prefix=/usr/local_cci/gcc_cvs_2003_12_30 --
enable-languages=c,c++
Redhat Linux 8.0

g++ -fPIC -ftemplate-depth-120 -w -DNDEBUG -O3 -DBOOST_PYTHON_MAX_BASES=2 -
DBOOST_PYTHON_SOURCE -I/net/worm/scratch1/rwgk/hot/boost -
I/usr/include/python2.2 -
E /net/worm/scratch1/rwgk/hot/boost/libs/python/src/converter/builtin_converters
.cpp > builtin_converters_pp.cpp

g++ -fPIC -ftemplate-depth-120 -w -O3 builtin_converters_pp.cpp
In file included 
from /net/worm/scratch1/rwgk/hot/boost/libs/python/src/converter/builtin_convert
ers.cpp:16:
/net/worm/scratch1/rwgk/hot/boost/boost/python/converter/rvalue_from_python_data
.hpp:100: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

The same code works with many other compilers incl. earlier gcc's.
The error goes away if this line is commented out:

BOOST_STATIC_ASSERT(BOOST_PYTHON_OFFSETOF(rvalue_from_python_storage<T>,stage1) 
== 0);

I will attach the preprocessed source. It is also available here:

http://cci.lbl.gov/~rwgk/bugs/gcc340/builtin_converters_pp.cpp

The full source code (complete boost tree) is also available:

http://cci.lbl.gov/~rwgk/bugs/gcc340/boost_2003_12_30_2345.tar.gz

-- 
           Summary: internal compiler error: Segmentation fault
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rwgk at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: g++ (GCC) 3.4.0 20031230 (experimental)
  GCC host triplet: i686-gnu-linux
GCC target triplet: i686-gnu-linux


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


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

* [Bug c++/13530] internal compiler error: Segmentation fault
  2003-12-31  9:36 [Bug c++/13530] New: internal compiler error: Segmentation fault rwgk at yahoo dot com
@ 2003-12-31  9:44 ` rwgk at yahoo dot com
  2003-12-31 18:15 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: rwgk at yahoo dot com @ 2003-12-31  9:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rwgk at yahoo dot com  2003-12-31 07:57 -------
Created an attachment (id=5386)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5386&action=view)
Preprocessed source, gzipped


-- 


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


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

* [Bug c++/13530] internal compiler error: Segmentation fault
  2003-12-31  9:36 [Bug c++/13530] New: internal compiler error: Segmentation fault rwgk at yahoo dot com
  2003-12-31  9:44 ` [Bug c++/13530] " rwgk at yahoo dot com
@ 2003-12-31 18:15 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-31 18:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-31 18:11 -------
This is a dup of bug 12573 which has a simplified test case.

*** This bug has been marked as a duplicate of 12573 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2003-12-31 18:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-31  9:36 [Bug c++/13530] New: internal compiler error: Segmentation fault rwgk at yahoo dot com
2003-12-31  9:44 ` [Bug c++/13530] " rwgk at yahoo dot com
2003-12-31 18:15 ` 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).