diff options
author | Martin Jambor <mjambor@suse.cz> | 2009-04-21 13:55:41 +0200 |
---|---|---|
committer | Martin Jambor <jamborm@gcc.gnu.org> | 2009-04-21 13:55:41 +0200 |
commit | 7156c8abaf8f39f797463f60ec353b86c5c95bf6 (patch) | |
tree | fd4ec847acca33df4423c4f1151b16fb17e28b01 /gcc/c-parser.c | |
parent | ed2807f4cd9f1beaa1b4f0deac28279e02718bb9 (diff) | |
download | gcc-7156c8abaf8f39f797463f60ec353b86c5c95bf6.zip gcc-7156c8abaf8f39f797463f60ec353b86c5c95bf6.tar.gz gcc-7156c8abaf8f39f797463f60ec353b86c5c95bf6.tar.bz2 |
tree-switch-conversion.c (build_constructors): Split a long line.
2009-04-21 Martin Jambor <mjambor@suse.cz>
* tree-switch-conversion.c (build_constructors): Split a long line.
(constructor_contains_same_values_p): New function.
(build_one_array): Create assigns of constants if possible, do not call
mark_sym_for_renaming, call update_stmt.
(build_arrays): Call make_ssa_name (create_tmp_var ()) instead of
make_rename_temp. Do not call mark_symbols_for_renaming, call
update_stmt.
(gen_def_assigns): Do not call mark_symbols_for_renaming or
find_new_referenced_vars, call update_stmt.
(gen_inbound_check): Use create_tmp_var and create ssa names manually
instead of calling make_rename_temp. Do not call
find_new_referenced_vars or mark_symbols_for_renaming, call
update_stmt.
* testsuite/gcc.dg/tree-ssa/cswtch-2.c: New test.
From-SVN: r146517
Diffstat (limited to 'gcc/c-parser.c')
0 files changed, 0 insertions, 0 deletions