[Bug libstdc++/30280] SIGSEGV on operator==(valarraybool, bool)
--- Comment #7 from ebotcazou at gcc dot gnu dot org 2006-12-23 08:05 --- Here's the output of g++ -v if it helps: Thanks, but we still need the preprocessed sources... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30280
[Bug libstdc++/30280] SIGSEGV on operator==(valarraybool, bool)
--- Comment #8 from gdr at integrable-solutions dot net 2006-12-23 11:17 --- Subject: Re: SIGSEGV on operator==(valarraybool, bool) pinskia at gcc dot gnu dot org [EMAIL PROTECTED] writes: | What target is this one, all I get is: | t.cc:8: error: cannot convert 'std::_Exprstd::_UnClosstd::__logical_not, | std::_Expr, std::_UnClosstd::__logical_not, std::_Expr, | std::_BinClosstd::__equal_to, std::_ValArray, std::_Constant, bool, bool , | bool' to 'long int' for argument '1' to 'long int __builtin_expect(long int, | long int)' I don't remember I ever used this funky __builtin_expect. valarray is improving everyday :-( -- Gaby -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30280
Re: [Bug libstdc++/30280] SIGSEGV on operator==(valarraybool, bool)
On Sat, 2006-12-23 at 11:17 +, gdr at integrable-solutions dot net wrote: I don't remember I ever used this funky __builtin_expect. valarray is improving everyday :-( You most likely did not but assert did :). -- Pinski
[Bug libstdc++/30280] SIGSEGV on operator==(valarraybool, bool)
--- Comment #9 from pinskia at gmail dot com 2006-12-23 18:50 --- Subject: Re: SIGSEGV on operator==(valarraybool, bool) On Sat, 2006-12-23 at 11:17 +, gdr at integrable-solutions dot net wrote: I don't remember I ever used this funky __builtin_expect. valarray is improving everyday :-( You most likely did not but assert did :). -- Pinski -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30280
[Bug libstdc++/30280] SIGSEGV on operator==(valarraybool, bool)
--- Comment #10 from sebor at roguewave dot com 2006-12-23 20:46 --- Created an attachment (id=12840) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12840action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30280
[Bug libstdc++/30280] SIGSEGV on operator==(valarraybool, bool)
--- Comment #11 from pinskia at gcc dot gnu dot org 2006-12-24 04:56 --- So on solaris assert is defined as (void)((operand) || (__assert (),0) ); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30280
[Bug libstdc++/30280] SIGSEGV on operator==(valarraybool, bool)
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-12-22 19:52 --- What target is this one, all I get is: t.cc:8: error: cannot convert 'std::_Exprstd::_UnClosstd::__logical_not, std::_Expr, std::_UnClosstd::__logical_not, std::_Expr, std::_BinClosstd::__equal_to, std::_ValArray, std::_Constant, bool, bool , bool' to 'long int' for argument '1' to 'long int __builtin_expect(long int, long int)' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30280
[Bug libstdc++/30280] SIGSEGV on operator==(valarraybool, bool)
--- Comment #2 from sebor at roguewave dot com 2006-12-22 20:22 --- (In reply to comment #1) This was gcc 4.1.0 on sparc-sun-solaris2.9. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30280
[Bug libstdc++/30280] SIGSEGV on operator==(valarraybool, bool)
--- Comment #3 from pcarlini at suse dot de 2006-12-22 21:42 --- Hi. In fact, I'm getting the same as Andrew on x86-linux, x86_64-linux and powerpc-darwin. Seems a really weird target-dependent issue, I hope Eric can help, a minimum of debugging, a backtrace (thanks in advance, anyway) -- pcarlini at suse dot de changed: What|Removed |Added CC||ebotcazou at libertysurf dot ||fr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30280
[Bug libstdc++/30280] SIGSEGV on operator==(valarraybool, bool)
--- Comment #4 from ebotcazou at gcc dot gnu dot org 2006-12-22 22:17 --- No SIGSEGV for me with 4.1.1: gax% ./pr30280 Assertion failed: a == false, file pr30280.C, line 7 zsh: IOT instruction (core dumped) ./pr30280 Please provide the missing info as per http://gcc.gnu.org/bugs.html -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30280
[Bug libstdc++/30280] SIGSEGV on operator==(valarraybool, bool)
--- Comment #5 from sebor at roguewave dot com 2006-12-22 22:25 --- Regardless of whether the program aborts with SIGSEGV or SIGABRT, the point is that it should either not compile or it should run succesfully to completion. Here's the output of g++ -v if it helps: $ g++ -v Using built-in specs. Target: sparc-sun-solaris2.9 Configured with: /build/sebor/gcc-4.1.0/configure --enable-languages=c,c++ --prefix=/usr/local/gcc-4.1.0 : (reconfigured) /build/sebor/gcc-4.1.0/configure --enable-languages=c,c++ --prefix=/usr/local/gcc-4.1.0 : (reconfigured) /build/sebor/gcc-4.1.0/configure --enable-languages=c,c++ --prefix=/usr/local/gcc-4.1.0 --with-gnu-as --with-gnu-ld Thread model: posix gcc version 4.1.0 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30280
[Bug libstdc++/30280] SIGSEGV on operator==(valarraybool, bool)
--- Comment #6 from pcarlini at suse dot de 2006-12-22 23:01 --- Yes, the crazy thing is that apparently the snippet *compiles* only on sparc-solaris (and shouldn't, of course). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30280