From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32031 invoked by alias); 15 May 2005 18:07:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 31747 invoked by uid 48); 15 May 2005 18:07:52 -0000 Date: Sun, 15 May 2005 18:07:00 -0000 Message-ID: <20050515180752.31744.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050515153957.21584.graham.stott@btinternet.com> References: <20050515153957.21584.graham.stott@btinternet.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug tree-optimization/21584] [4.1 Regression] ICE: verify_flow_sensitive_alias_info failed. X-Bugzilla-Reason: CC X-SW-Source: 2005-05/txt/msg02070.txt.bz2 List-Id: ------- 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