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 tree-optimization/42462] [4.5 Regression] wrong-code with computed-goto



------- Comment #6 from jamborm at gcc dot gnu dot org  2010-01-05 19:42 -------
Subject: Bug 42462

Author: jamborm
Date: Tue Jan  5 19:42:32 2010
New Revision: 155658

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155658
Log:
2010-01-05  Martin Jambor  <mjambor@suse.cz>

        PR tree-optimization/42462
        * ipa-inline.c (compute_inline_parameters): Pass node->decl instead of
        current_function_decl to helper functions and macros.

        * gcc/testsuite/g++.dg/torture/pr42462.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/torture/pr42462.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-inline.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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