public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/21584] [4.1 Regression] ICE: verify_flow_sensitive_alias_info failed. Date: Sun, 15 May 2005 18:07:00 -0000 [thread overview] Message-ID: <20050515180752.31744.qmail@sourceware.org> (raw) In-Reply-To: <20050515153957.21584.graham.stott@btinternet.com> ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-15 18:07 ------- Here is as reduced as I could get it: extern char *strcpy (char *__restrict __dest, __const char *__restrict __src); extern char *foo (void); extern void *malloc(__SIZE_TYPE__) __attribute__((malloc)); char v[100]; void baz() { char *vec; char buf[512]; char *p = buf; while (v[(*p)]) p++; if (*p != '#' && (p = foo()) != 0) { strcpy ((char*)malloc(10), p); } } Note it works with the C front-end but that is only because of the difference in the trees which are produced (stupid C++ front-end produces more trees for the if statement). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21584
next prev parent reply other threads:[~2005-05-15 18:07 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-05-15 15:40 [Bug c++/21584] New: " graham dot stott at btinternet dot com 2005-05-15 15:42 ` [Bug c++/21584] " graham dot stott at btinternet dot com 2005-05-15 17:23 ` [Bug tree-optimization/21584] [4.1 Regression] " pinskia at gcc dot gnu dot org 2005-05-15 17:26 ` pinskia at gcc dot gnu dot org 2005-05-15 18:07 ` pinskia at gcc dot gnu dot org [this message] 2005-05-31 20:42 ` tobias at yoper dot com 2005-06-30 21:20 ` dnovillo at gcc dot gnu dot org 2005-07-01 3:55 ` cvs-commit at gcc dot gnu dot org 2005-07-01 4:02 ` dnovillo 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=20050515180752.31744.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).