]> gcc.gnu.org Git - gcc.git/commit - gcc/c-family/ChangeLog
re PR middle-end/56524 (Compiler ICE when compiling with -mips16)
authorRichard Sandiford <rdsandiford@googlemail.com>
Sat, 9 Mar 2013 07:54:02 +0000 (07:54 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sat, 9 Mar 2013 07:54:02 +0000 (07:54 +0000)
commit4b1baac81ff353bf0e3cea5c972a864db361355c
tree6f0f3cdaa7c97b4ffb3074c195483271e15c9cc5
parentcc107acf8d31160a54c0ba669fc3db0aec6548aa
re PR middle-end/56524 (Compiler ICE when compiling with -mips16)

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.

From-SVN: r196570
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/function.c
gcc/function.h
gcc/optabs.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/pr56524.c [new file with mode: 0644]
gcc/tree.h
This page took 0.061827 seconds and 5 git commands to generate.