Bug 13568 - ICE
Summary: ICE
Status: RESOLVED DUPLICATE of bug 12573
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 3.4.0
: P2 critical
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-05 10:51 UTC by Dave Abrahams
Modified: 2004-01-05 14:12 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
preprocessed source (179.18 KB, application/x-zip-compressed)
2004-01-05 10:52 UTC, Dave Abrahams
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Abrahams 2004-01-05 10:51:36 UTC
Compile the enclosed preprocessed source with the 2003-12-31 snapshot of g++ 
3.4 for an ICE
Comment 1 Dave Abrahams 2004-01-05 10:52:51 UTC
Created attachment 5408 [details]
preprocessed source
Comment 2 Falk Hueffner 2004-01-05 13:35:44 UTC
Confirmed. Test case:

template <bool x> struct STATIC_ASSERTION_FAILURE;
template<int x> struct static_assert_test{
    template <class T> struct rvalue_from_python_storage {
        typedef static_assert_test< sizeof(STATIC_ASSERTION_FAILURE< (bool)(
(__offsetof__ (reinterpret_cast <int> (&reinterpret_cast <char &>
(static_cast<rvalue_from_python_storage<T> *> (0)->stage1)))) == 0 ) >)>
boost_static_assert_typedef_100;
    };
};
Comment 3 Andrew Pinski 2004-01-05 14:12:23 UTC
This is a dup of bug 12573.

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