From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16682 invoked by alias); 24 Mar 2007 23:22:00 -0000 Received: (qmail 16665 invoked by uid 48); 24 Mar 2007 23:21:51 -0000 Date: Sat, 24 Mar 2007 23:22:00 -0000 Subject: [Bug middle-end/31339] New: [4.3 regression] ICE on invalid use of complex constant X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "reichelt 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: 2007-03/txt/msg02330.txt.bz2 The following invalid code snippet triggers an ICE on mainline: =========================== bool b = --0i == 0; =========================== bug.cc:1: error: lvalue required as decrement operand bug.cc:1: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in fold_comparison, at fold-const.c:8459 Please submit a full bug report, [etc.] -- Summary: [4.3 regression] ICE on invalid use of complex constant Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, monitored Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31339