[Bug lto/56706] [4.8/4.9 Regression] failure building CP2K at -flto -O2

Joost.VandeVondele at mat dot ethz.ch gcc-bugzilla@gcc.gnu.org
Fri Nov 22 11:05:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56706

--- Comment #10 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
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 <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [/tmp/ccEVGVIu.ltrans20.ltrans.o] Error 1



More information about the Gcc-bugs mailing list