[Bug c++/12573] [3.4 Regression ] ICE (segfault) with Boost.Python

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 1 08:35:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-01 08:35 -------
Here is the testcase which fails:
#include <cstddef>
template <bool> struct S;

template <typename> struct Y {
    int x;
};

template <class T> struct Z {
    S< (bool)(offsetof(Y<T>,x)) == 0) >
    s;
};

Giovanni you want to look into this again or not?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |ASSIGNED


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



More information about the Gcc-bugs mailing list