This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14448] [3.4/3.5 regression] Segfault in Boost indexed_set


------- Additional Comments From reichelt at igpm dot rwth-aachen dot de  2004-03-08 08:59 -------
Subject: Re:  [3.4/3.5 regression] Segfault in Boost indexed_set

On  8 Mar, giovannibajo at libero dot it wrote:

Hi Giovanni,

the testcase in your patch is hosed, the assignement of n should read
"n=1+1" instead of just "n=1". BTW, one can reduce it a litte more, so
here's an updated version:

=========================================
template <int> struct A {};

template<typename T> void foo(T)
{
    const int n=1+1;
    A<n+1> a;
}

void bar()
{
    foo(0);
}
=========================================

Regards,
Volker


> ------- Additional Comments From giovannibajo at libero dot it  2004-03-08 02:39 -------
> Patch posted, waiting for review:
> http://gcc.gnu.org/ml/gcc-patches/2004-03/msg00682.html




-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]