From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9484 invoked by alias); 10 Apr 2009 11:37:56 -0000 Received: (qmail 9442 invoked by uid 48); 10 Apr 2009 11:37:40 -0000 Date: Fri, 10 Apr 2009 11:37:00 -0000 Subject: [Bug tree-optimization/39713] New: [4.4/4.5 Regression] ICE in get_expr_value_id X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jakub at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-04/txt/msg00907.txt.bz2 Since r141534 (PR37542), the following testcase segfaults during fre at -O1 and higher: template static inline To bitwise_cast (From from) { union { From f; To t; } u; u.f = from; return u.t; } extern void foo (unsigned char *); double bar () { unsigned char b[sizeof (unsigned long long)]; foo (b); return bitwise_cast (*(unsigned long long *) b); } -- Summary: [4.4/4.5 Regression] ICE in get_expr_value_id Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jakub at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39713