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 middle-end/56524] [4.8 Regression] Compiler ICE when compiling with -mips16


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

--- Comment #11 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2013-03-09 07:54:08 UTC ---
Author: rsandifo
Date: Sat Mar  9 07:54:02 2013
New Revision: 196570

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196570
Log:
gcc/
    PR middle-end/56524
    * tree.h (tree_optimization_option): Rename target_optabs to optabs.
    Add base_optabs.
    (TREE_OPTIMIZATION_OPTABS): Update after previous field change.
    (TREE_OPTIMIZATION_BASE_OPTABS): New macro.
    (save_optabs_if_changed): Replace with...
    (init_tree_optimization_optabs): ...this.
    * optabs.c (save_optabs_if_changed): Rename to...
    (init_tree_optimization_optabs): ...this.  Take the optimization node
    as argument.  Do nothing if the base optabs are already correct.
    Reuse the existing TREE_OPTIMIZATION_OPTABS memory if we need
    to recompute optabs.
    * function.h (function): Remove optabs field.
    * function.c (invoke_set_current_function_hook): Call
    init_tree_optimization_optabs.  Use the result to initialize
    this_fn_optabs.

gcc/c-family/
    PR middle-end/56524
    * c-common.c (handle_optimize_attribute): Don't call
    save_optabs_if_changed.

gcc/testsuite/
    PR middle-end/56524
    * gcc.target/mips/pr56524.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/mips/pr56524.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/function.c
    trunk/gcc/function.h
    trunk/gcc/optabs.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree.h


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