public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/26209]  New: Specific code causes g++ 4.1.0 dominance ICE when compiled with -O3
@ 2006-02-10  9:52 walter dot zimmer at dlr dot de
  2006-02-10 10:01 ` [Bug tree-optimization/26209] " walter dot zimmer at dlr dot de
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: walter dot zimmer at dlr dot de @ 2006-02-10  9:52 UTC (permalink / raw)
  To: gcc-bugs

We have a problem that gcc 4.1-20060203 emits an internal compiler error
while compiling a certain code construct.

The following reduced test case code reproduces the bug:
------------------------------------------------------------------
#include <boost/multi_array.hpp>

using namespace std;

class Blubb {

public:
        typedef boost::multi_array<pair<float,uint>, 3> ourArray;

        void blah();
};

void Blubb::blah () {
        new ourArray(boost::extents[1][1][1]);
}
------------------------------------------------------------------

While compiling with gcc-4.1, it says:

testcase> g++ -O3 test.cpp
test.cpp: In member function 'void Blubb::blah()':
test.cpp:17: internal compiler error: in dominated_by_p, at dominance.c:827
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
testcase> 

It compiles fine with -O2. The stock RHEL4 compilers (4.0.1 20050727
and 3.4.4 20050721) also do well with -O3.

I didn't provide the boost include file (boost version 1.33.1, stock
RHEL4 1.32.0 doesn't make any difference), and test.ii as it is 1.3 MB
large. Just yell and I'll do!

gcc -v says:
Configured with: ../gcc-4.1-20060203/configure --prefix=/local/inst
--enable-languages=c,c++,fortran --disable-multilib
Thread model: posix
gcc version 4.1.0 20060203 (prerelease)


-- 
           Summary: Specific code causes g++ 4.1.0 dominance ICE when
                    compiled with -O3
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: walter dot zimmer at dlr dot de
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

end of thread, other threads:[~2006-02-16 15:25 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-10  9:52 [Bug tree-optimization/26209] New: Specific code causes g++ 4.1.0 dominance ICE when compiled with -O3 walter dot zimmer at dlr dot de
2006-02-10 10:01 ` [Bug tree-optimization/26209] " walter dot zimmer at dlr dot de
2006-02-10 10:03 ` reichelt at gcc dot gnu dot org
2006-02-10 10:08 ` walter dot zimmer at dlr dot de
2006-02-10 11:17 ` reichelt at gcc dot gnu dot org
2006-02-10 12:03 ` steven at gcc dot gnu dot org
2006-02-10 12:40 ` pinskia at gcc dot gnu dot org
2006-02-10 12:43 ` [Bug tree-optimization/26209] [4.1 Regression] " pinskia at gcc dot gnu dot org
2006-02-10 13:03 ` [Bug tree-optimization/26209] [4.1/4.2 " pinskia at gcc dot gnu dot org
2006-02-10 13:21 ` reichelt at gcc dot gnu dot org
2006-02-10 13:22 ` pinskia at gcc dot gnu dot org
2006-02-10 13:28 ` pinskia at gcc dot gnu dot org
2006-02-11 20:43 ` rakdver at gcc dot gnu dot org
2006-02-12 16:43 ` pinskia at gcc dot gnu dot org
2006-02-13  9:23 ` walter dot zimmer at dlr dot de
2006-02-14  9:12 ` mmitchel at gcc dot gnu dot org
2006-02-14 23:55 ` rakdver at gcc dot gnu dot org
2006-02-15  9:08 ` [Bug tree-optimization/26209] [4.1 " steven at gcc dot gnu dot org
2006-02-15 12:05 ` rguenth at gcc dot gnu dot org
2006-02-16 15:23 ` rakdver at gcc dot gnu dot org
2006-02-16 15:25 ` rakdver 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).