From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14214 invoked by alias); 3 Jun 2009 11:31:55 -0000 Received: (qmail 13808 invoked by uid 48); 3 Jun 2009 11:31:40 -0000 Date: Wed, 03 Jun 2009 11:31:00 -0000 Message-ID: <20090603113140.13806.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/40328] internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1811 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth 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-06/txt/msg00119.txt.bz2 ------- Comment #4 from rguenth at gcc dot gnu dot org 2009-06-03 11:31 ------- I am testing the following: Index: gcc/fold-const.c =================================================================== --- gcc/fold-const.c (revision 148119) +++ gcc/fold-const.c (working copy) @@ -2643,9 +2643,10 @@ fold_convert (tree type, tree arg) case POINTER_TYPE: case REFERENCE_TYPE: case REAL_TYPE: case FIXED_POINT_TYPE: - return build2 (COMPLEX_EXPR, type, - fold_convert (TREE_TYPE (type), arg), - fold_convert (TREE_TYPE (type), integer_zero_node)); + return fold_build2 (COMPLEX_EXPR, type, + fold_convert (TREE_TYPE (type), arg), + fold_convert (TREE_TYPE (type), + integer_zero_node)); case COMPLEX_TYPE: { tree rpart, ipart; -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2009-06-03 08:52:01 |2009-06-03 11:31:39 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40328