From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5891 invoked by alias); 16 Sep 2008 13:29:51 -0000 Received: (qmail 5875 invoked by uid 22791); 16 Sep 2008 13:29:50 -0000 X-Spam-Check-By: sourceware.org Received: from qw-out-1920.google.com (HELO qw-out-1920.google.com) (74.125.92.144) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 16 Sep 2008 13:28:47 +0000 Received: by qw-out-1920.google.com with SMTP id 5so305139qwc.14 for ; Tue, 16 Sep 2008 06:28:45 -0700 (PDT) Received: by 10.214.44.13 with SMTP id r13mr769248qar.75.1221571725205; Tue, 16 Sep 2008 06:28:45 -0700 (PDT) Received: from ?10.88.3.183? ( [32.157.108.189]) by mx.google.com with ESMTPS id 4sm11343816qwe.3.2008.09.16.06.28.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Sep 2008 06:28:44 -0700 (PDT) References: <20080916132024.777.qmail@sourceware.org> Message-Id: From: Andrew Thomas Pinski To: "gcc-bugzilla@gcc.gnu.org" In-Reply-To: <20080916132024.777.qmail@sourceware.org> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (5F136) Mime-Version: 1.0 (iPhone Mail 5F136) Subject: Re: [Bug tree-optimization/37526] [4.4 Regression] ICE using --combine -O2 Date: Tue, 16 Sep 2008 13:29:00 -0000 Cc: "gcc-bugs@gcc.gnu.org" X-IsSubscribed: yes 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: 2008-09/txt/msg01890.txt.bz2 Sent from my iPhone On Sep 16, 2008, at 6:20 AM, "rguenth at gcc dot gnu dot org" wrote: > > > ------- Comment #7 from rguenth at gcc dot gnu dot org 2008-09-16 > 13:20 ------- > ./cc1 -quiet -O2 t1.i t2.i > t2.i: In function 'Node_print': > t2.i:2: error: non-trivial conversion at assignment > struct _IO_FILE * > struct _IO_FILE * > # LOADS: { stderr } > stderr.0_3 = stderr; > > t2.i:2: error: non-trivial conversion at assignment > struct _IO_FILE * > struct _IO_FILE * > # LOADS: { stderr } > stderr.0_4 = stderr; > No those two types should compatible. If they are not then there is a bug in the middle-end. I think this is why there was the Lang hook in the first place. > t2.i:2: internal compiler error: verify_stmts failed > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > > > So we have wrong GIMPLE here. GIGO. > > Value numbering stderr.0_3 stmt = stderr.0_3 = stderr; > Setting value number of stderr.0_3 to stderr.0_3 > ... > Value numbering stderr.0_4 stmt = stderr.0_4 = stderr; > Inserting name stderr.0_17 for expression (struct _IO_FILE *) stderr. > 0_3 > Setting value number of stderr.0_4 to stderr.0_17 > > > -- > > rguenth at gcc dot gnu dot org changed: > > What |Removed |Added > --- > --- > ---------------------------------------------------------------------- > CC| |rguenth at gcc dot > gnu dot > | |org > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37526 >