From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2115 invoked by alias); 22 Nov 2013 11:05:04 -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 2064 invoked by uid 48); 22 Nov 2013 11:05:01 -0000 From: "Joost.VandeVondele at mat dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/56706] [4.8/4.9 Regression] failure building CP2K at -flto -O2 Date: Fri, 22 Nov 2013 11:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.3 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: 2013-11/txt/msg02290.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56706 --- Comment #10 from Joost VandeVondele --- So, after the change from fat to slim lto, I've added the CP2K SVN repo to use gcc-ar (so that the instructions in comment #1 should still work). Now, the issue discussed here fails to reproduce because during the lto phase we run into: /data/vjoost/clean/cp2k/cp2k/makefiles/../src/thermostat_methods.F:102:0: internal compiler error: tree check: expected ssa_name, have integer_cst in simplify_conversion_from_bitmask, at tree-ssa-forwprop.c:1189 SUBROUTINE create_thermostats(thermostats, md_section, force_env, simpar, & ^ 0xb15de4 tree_check_failed(tree_node const*, char const*, int, char const*, ...) ../../gcc/gcc/tree.c:9189 0x9e52c0 tree_check ../../gcc/gcc/tree.h:2710 0x9e52c0 simplify_conversion_from_bitmask ../../gcc/gcc/tree-ssa-forwprop.c:1189 0x9ef3cd ssa_forward_propagate_and_combine ../../gcc/gcc/tree-ssa-forwprop.c:3552 0x9ef3cd execute ../../gcc/gcc/tree-ssa-forwprop.c:3661 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. make[2]: *** [/tmp/ccEVGVIu.ltrans20.ltrans.o] Error 1