public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/36797] ICE mangling __is_empty [not found] <bug-36797-4@http.gcc.gnu.org/bugzilla/> @ 2012-01-12 17:41 ` jason at gcc dot gnu.org 2012-01-12 17:48 ` jason at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: jason at gcc dot gnu.org @ 2012-01-12 17:41 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36797 Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|SUSPENDED |ASSIGNED AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org | --- Comment #14 from Jason Merrill <jason at gcc dot gnu.org> 2012-01-12 17:41:00 UTC --- The clang folks seem to agree with me, so I'll just improve the diagnostic. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/36797] ICE mangling __is_empty [not found] <bug-36797-4@http.gcc.gnu.org/bugzilla/> 2012-01-12 17:41 ` [Bug c++/36797] ICE mangling __is_empty jason at gcc dot gnu.org @ 2012-01-12 17:48 ` jason at gcc dot gnu.org 2012-01-12 17:51 ` jason at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: jason at gcc dot gnu.org @ 2012-01-12 17:48 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36797 --- Comment #15 from Jason Merrill <jason at gcc dot gnu.org> 2012-01-12 17:48:03 UTC --- Created attachment 26308 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26308 Patch for 4.8 Here's a patch, but it'll have to wait until we're in stage 1 again. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/36797] ICE mangling __is_empty [not found] <bug-36797-4@http.gcc.gnu.org/bugzilla/> 2012-01-12 17:41 ` [Bug c++/36797] ICE mangling __is_empty jason at gcc dot gnu.org 2012-01-12 17:48 ` jason at gcc dot gnu.org @ 2012-01-12 17:51 ` jason at gcc dot gnu.org 2012-03-04 0:57 ` jason at gcc dot gnu.org 2012-07-09 14:55 ` jason at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: jason at gcc dot gnu.org @ 2012-01-12 17:51 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36797 Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ABI, patch Target Milestone|--- |4.8.0 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/36797] ICE mangling __is_empty [not found] <bug-36797-4@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2012-01-12 17:51 ` jason at gcc dot gnu.org @ 2012-03-04 0:57 ` jason at gcc dot gnu.org 2012-07-09 14:55 ` jason at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: jason at gcc dot gnu.org @ 2012-03-04 0:57 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36797 --- Comment #16 from Jason Merrill <jason at gcc dot gnu.org> 2012-03-04 00:55:35 UTC --- Author: jason Date: Sun Mar 4 00:55:31 2012 New Revision: 184874 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184874 Log: PR c++/36797 * mangle.c (write_expression): Improve diagnostic for TRAIT_EXPR. Added: trunk/gcc/testsuite/g++.dg/ext/is_empty2.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/mangle.c trunk/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/36797] ICE mangling __is_empty [not found] <bug-36797-4@http.gcc.gnu.org/bugzilla/> ` (3 preceding siblings ...) 2012-03-04 0:57 ` jason at gcc dot gnu.org @ 2012-07-09 14:55 ` jason at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: jason at gcc dot gnu.org @ 2012-07-09 14:55 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36797 Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #17 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-09 14:55:16 UTC --- Fixed for 4.8. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/36797] New: ICE on SFINAE and __is_empty @ 2008-07-10 21:27 sebor at roguewave dot com 2010-04-21 22:50 ` [Bug c++/36797] ICE mangling __is_empty jason at gcc dot gnu dot org 0 siblings, 1 reply; 6+ messages in thread From: sebor at roguewave dot com @ 2008-07-10 21:27 UTC (permalink / raw) To: gcc-bugs [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1009 bytes --] gcc 4.3.0 crashes compiling the program below: $ cat z.C && g++ z.C template <int> struct A { }; template <class, bool> struct B; template <class T> struct B<T, true> { typedef T X; }; template <class T> int foo (typename B<T, __is_empty (T)>::X* = 0) { return 0; } template <class T> int foo (typename B<T, !__is_empty (T)>::X* = 0) { return 1; } int main () { foo<A<0> >(); } z.C: In function int foo(typename B<T, __is_empty(T)>::X*) [with T = A<0>]: z.C:6: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- Summary: ICE on SFINAE and __is_empty Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sebor at roguewave dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36797 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/36797] ICE mangling __is_empty 2008-07-10 21:27 [Bug c++/36797] New: ICE on SFINAE and __is_empty sebor at roguewave dot com @ 2010-04-21 22:50 ` jason at gcc dot gnu dot org 0 siblings, 0 replies; 6+ messages in thread From: jason at gcc dot gnu dot org @ 2010-04-21 22:50 UTC (permalink / raw) To: gcc-bugs ------- Comment #13 from jason at gcc dot gnu dot org 2010-04-21 22:49 ------- Changing summary and suspending until C++0x is finalized. -- jason at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |SUSPENDED Summary|ICE on SFINAE and __is_empty|ICE mangling __is_empty http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36797 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-07-09 14:55 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-36797-4@http.gcc.gnu.org/bugzilla/> 2012-01-12 17:41 ` [Bug c++/36797] ICE mangling __is_empty jason at gcc dot gnu.org 2012-01-12 17:48 ` jason at gcc dot gnu.org 2012-01-12 17:51 ` jason at gcc dot gnu.org 2012-03-04 0:57 ` jason at gcc dot gnu.org 2012-07-09 14:55 ` jason at gcc dot gnu.org 2008-07-10 21:27 [Bug c++/36797] New: ICE on SFINAE and __is_empty sebor at roguewave dot com 2010-04-21 22:50 ` [Bug c++/36797] ICE mangling __is_empty jason at gcc dot gnu dot org
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).