public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/26210]  New: Specific code causes g++ 4.1.0 dominance ICE when compiled with -O3
@ 2006-02-10  9:54 walter dot zimmer at dlr dot de
  2006-02-10 10:01 ` [Bug tree-optimization/26210] " walter dot zimmer at dlr dot de
  0 siblings, 1 reply; 2+ messages in thread
From: walter dot zimmer at dlr dot de @ 2006-02-10  9:54 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=26210


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

* [Bug tree-optimization/26210] Specific code causes g++ 4.1.0 dominance ICE when compiled with -O3
  2006-02-10  9:54 [Bug tree-optimization/26210] 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 ` walter dot zimmer at dlr dot de
  0 siblings, 0 replies; 2+ messages in thread
From: walter dot zimmer at dlr dot de @ 2006-02-10 10:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from walter dot zimmer at dlr dot de  2006-02-10 10:01 -------


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


-- 

walter dot zimmer at dlr dot de changed:

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


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


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

end of thread, other threads:[~2006-02-10 10:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-10  9:54 [Bug tree-optimization/26210] 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/26210] " walter dot zimmer at dlr dot de

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).