public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/24439] [3.4/4.0/4.1 Regression] ICE with invert conditional containing throw Date: Wed, 19 Oct 2005 20:40:00 -0000 [thread overview] Message-ID: <20051019204038.18565.qmail@sourceware.org> (raw) In-Reply-To: <bug-24439-4066@http.gcc.gnu.org/bugzilla/> ------- Comment #6 from rguenth at gcc dot gnu dot org 2005-10-19 20:40 ------- Unfortunately we call into the middle-ends invert_truthvalue right in cp/typeck.c:build_unary_op as we build the TRUTH_NOT_EXPR, so at the time we reach the gimplifier we already crashed. So the other solution is to not use the middle-ends invert_truthvalue here, but unconditionally build a TRUTH_NOT_EXPR. And then fix it at gimplification time. But the solution with (T*)0 or *(T*)0 sounds nice ;) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24439
next prev parent reply other threads:[~2005-10-19 20:40 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-10-18 23:01 [Bug c++/24439] New: " dannysmith at users dot sourceforge dot net 2005-10-18 23:07 ` [Bug c++/24439] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org 2005-10-19 9:45 ` rguenth at gcc dot gnu dot org 2005-10-19 9:53 ` rguenth at gcc dot gnu dot org 2005-10-19 10:06 ` rguenth at gcc dot gnu dot org 2005-10-19 20:11 ` mmitchel at gcc dot gnu dot org 2005-10-19 20:40 ` rguenth at gcc dot gnu dot org [this message] 2005-10-19 20:50 ` mark at codesourcery dot com 2005-10-19 20:55 ` Andrew Pinski 2005-10-19 20:55 ` pinskia at physics dot uc dot edu 2005-10-19 20:58 ` mark at codesourcery dot com 2005-10-19 21:51 ` rguenth at gcc dot gnu dot org 2005-10-19 22:14 ` mark at codesourcery dot com 2005-10-20 15:19 ` cvs-commit at gcc dot gnu dot org 2005-10-20 15:45 ` [Bug c++/24439] [3.4/4.0 " rguenth at gcc dot gnu dot org 2005-11-17 11:24 ` [Bug c++/24439] " reichelt at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20051019204038.18565.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).