diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-03 01:12:56 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-03 01:12:56 +0000 |
commit | f517b36eec084c177098f54c4755ab7222fb7e2f (patch) | |
tree | 8220e38043cf20d1777f9ce1815232f73e5df606 /gcc/testsuite/gcc.dg/pr16194.c | |
parent | c07348604b30e10f5570aeed66a06884a7a24dc3 (diff) | |
download | gcc-f517b36eec084c177098f54c4755ab7222fb7e2f.tar.gz |
* gcc.dg/pr16194.c: We now output error on all three functions, not just
first one.
* cgraph.c: Include tree-flow.h
(cgraph_add_new-function): Handle IPA_SSA mode; execute
early_local_passes.
* cgraph.h (enum cgraph_state): Add CGRAPH_STATE_IPA_SSA.
* tree-pass.h (pass_all_early_optimizations): Declare.
* cgraphunit.c (cgraph_process_new_functions): Add IPA_SSA; execute
early_local_passes.
(cgraph_analyze_function): Do early_local_passes.
* tree-mudflap.c (mf_decl_cache_locals, mf_build_check_statement_for):
Do not add referenced vars.
* tree-optimize.c (gate_all_optimizations): Do not execute when not in
SSA form.
(gate_all_early_local_passes): New gate.
(pass_early_local_passes): Use new gate.
(execute_early_local_optimizations): New functions.
(gate_all_early_optimizations): New gate.
(pass_all_early_optimizations): New pass.
(execute_free_datastructures): Free SSA only when initialized.
(gate_init_datastructures): Init only when optimizing.
(tree_lowering_passes): Do early local passes when called late.
* tree-profile.c (do_tree_profiling): Don't profile functions added
late.
(do_early_tree_profiling, pass_early_tree_profile): Kill.
* tree-cfg.c (update_modified_stmts): Do not update when operands are
not active.
* passes.c (init_optimizations_passes): Reorder so we go into SSA
during early_local_passes.
* Makefile.in (cgraph.o): Add dependency on tree-flow.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120373 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr16194.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr16194.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/pr16194.c b/gcc/testsuite/gcc.dg/pr16194.c index 44f34a41008..313f0eaa30d 100644 --- a/gcc/testsuite/gcc.dg/pr16194.c +++ b/gcc/testsuite/gcc.dg/pr16194.c @@ -56,12 +56,12 @@ void bug (void) void bug2 (void) { register char* dst ASMDECL; - __asm__ ("": :"g"(*dst) CLOBBER_LIST); + __asm__ ("": :"g"(*dst) CLOBBER_LIST); /* { dg-error "conflict" } */ } void foo (void) { register struct C *dst ASMDECL; - __asm__ ("" : "=g"(dst->c.b[1].a) INP_CLOBBER_LIST); + __asm__ ("" : "=g"(dst->c.b[1].a) INP_CLOBBER_LIST); /* { dg-error "conflict" } */ } |