From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13557 invoked by alias); 29 Nov 2014 21:15:34 -0000 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 Received: (qmail 13506 invoked by uid 48); 29 Nov 2014 21:15:30 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/64111] [5.0 regression] ICE: conversion of register to a different size Date: Sat, 29 Nov 2014 21:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-11/txt/msg03412.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64111 --- Comment #14 from H.J. Lu --- (In reply to H.J. Lu from comment #13) > (In reply to Thiago Macieira from comment #12) > > Created attachment 34143 [details] > > Testcase with preprocessed source and Makefiles > > > > Here you go. > > > > I've included two sets of preprocessed sources, as the libstdc++ headers are > > different in each GCC version. Another thing, GCC 4.9 may not be able to compile libstdc++ header files from GCC 5. You may need to use #include to include libstdc++ header files if it is the case. > > However, the error happens with GCC 5 on both sets of preprocessed sources. > > The GCC 5 preprocessed output is for reference only. > > This testcase isn't very useful since it includes pre-processed GCC > intrinsic headers which are specific to a particular commit. You have > to use the GCC built from the same commit to compile it. That is why you > needed 2 sets of header files and it means 2 inputs are DIFFERENT. > Please provide a testcase which can be compiled with both GCC 4.9 > and GCC 5. You have to modify your testcase in such a way that those GCC > intrinsic headers are included with > > #include > > instead of "g++ -E".