This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/60404] [4.9 Regression] wrong code by LTO on x86_64-linux-gnu


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Mar  5 08:46:31 2014
New Revision: 208340

URL: http://gcc.gnu.org/viewcvs?rev=208340&root=gcc&view=rev
Log:
    PR lto/60404
    * cfgexpand.c (expand_used_vars): Do not assume all SSA_NAMEs
    of PARM/RESULT_DECLs must be coalesced with optimize && in_lto_p.
    * tree-ssa-coalesce.c (coalesce_ssa_name): Use MUST_COALESCE_COST - 1
    cost for in_lto_p.

    * gcc.dg/lto/pr60404_0.c: New test.
    * gcc.dg/lto/pr60404_1.c: New file.
    * gcc.dg/lto/pr60404_2.c: New file.

Added:
    trunk/gcc/testsuite/gcc.dg/lto/pr60404_0.c
    trunk/gcc/testsuite/gcc.dg/lto/pr60404_1.c
    trunk/gcc/testsuite/gcc.dg/lto/pr60404_2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgexpand.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-coalesce.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]