diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2015-09-16 21:25:28 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2015-09-16 21:25:28 +0000 |
commit | 4ec39494ac756ee9525371d2225f55f18200d8e0 (patch) | |
tree | b82a31d5d53ebfe4aa79b8cf8362be98cba22d67 /gcc/tree-ssa-loop-niter.c | |
parent | ca2fe289df060b0564c52738e17f71e1d23366c0 (diff) | |
download | gcc-4ec39494ac756ee9525371d2225f55f18200d8e0.zip gcc-4ec39494ac756ee9525371d2225f55f18200d8e0.tar.gz gcc-4ec39494ac756ee9525371d2225f55f18200d8e0.tar.bz2 |
Move check_global_declaration from toplev.c to cgraphunit.c
Unfortunately, toplev.c is a kitchen sink of things that do not belong anywhere
in particular. For example, check_global_declarations is only used in
cgraphunit.c. Moving it there allows us to make it static and remove one call
to symtab_node::get.
gcc/ChangeLog:
2015-09-16 Manuel López-Ibáñez <manu@gcc.gnu.org>
* toplev.h (check_global_declaration): Remove declaration.
* toplev.c (check_global_declaration): Move to ...
* cgraphunit.c: ... here. Make it static and pass a symtab_node *.
(analyze_functions): Update call.
From-SVN: r227835
Diffstat (limited to 'gcc/tree-ssa-loop-niter.c')
0 files changed, 0 insertions, 0 deletions