aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg
AgeCommit message (Collapse)Author
2004-04-16This commit was manufactured by cvs2svn to create tagapple/gcc-1740no-author
'apple-gcc-1740'. git-svn-id: https://gcc.gnu.org/svn/gcc/tags/apple-gcc-1740@80775 138bc75d-0d04-0410-961f-82ee72b054a4
2004-03-18This commit was manufactured by cvs2svn to create branchno-author
'tree-ssa-20020619-branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@79648 138bc75d-0d04-0410-961f-82ee72b054a4
2004-03-17 PR optimization/14511Diego Novillo
* tree-ssa-alias.c (compute_flow_insensitive_aliasing): Do not ignore read-only variables. (may_alias_p): Fix pointer-to-var calculation when 'var' is an array. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@79599 138bc75d-0d04-0410-961f-82ee72b054a4
2004-03-05Mainline merge as of 2004-03-05.Diego Novillo
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78997 138bc75d-0d04-0410-961f-82ee72b054a4
2004-03-05This commit was manufactured by cvs2svn to create branchno-author
'tree-ssa-20020619-branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78996 138bc75d-0d04-0410-961f-82ee72b054a4
2004-03-04This commit was manufactured by cvs2svn to create branchno-author
'tree-ssa-20020619-branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78913 138bc75d-0d04-0410-961f-82ee72b054a4
2004-03-02Merge to tree-ssa-20020619-merge-20040227.Richard Henderson
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78772 138bc75d-0d04-0410-961f-82ee72b054a4
2004-03-02This commit was manufactured by cvs2svn to create branchno-author
'tree-ssa-20020619-branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78771 138bc75d-0d04-0410-961f-82ee72b054a4
2004-02-26New test.Richard Henderson
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78491 138bc75d-0d04-0410-961f-82ee72b054a4
2004-02-26This commit was manufactured by cvs2svn to create branchno-author
'tree-ssa-20020619-branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78490 138bc75d-0d04-0410-961f-82ee72b054a4
2004-02-13Mainline merge as of 2004-02-11.Diego Novillo
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@77756 138bc75d-0d04-0410-961f-82ee72b054a4
2004-02-12This commit was manufactured by cvs2svn to create branchno-author
'tree-ssa-20020619-branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@77725 138bc75d-0d04-0410-961f-82ee72b054a4
2004-02-05 * g++.dg/opt/bool1.C: Declare abort.Richard Henderson
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@77335 138bc75d-0d04-0410-961f-82ee72b054a4
2004-02-04 PR opt/13869Richard Henderson
* tree-cfg.c (cfg_remove_useless_stmts_bb): Correct handling of boolean variables in COND_EXPR_COND. * g++.dg/opt/bool1.C: New. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@77223 138bc75d-0d04-0410-961f-82ee72b054a4
2004-02-04 PR middle-end/13325Richard Henderson
* builtins.c (fold_builtin_1): Rename from fold_builtin. (fold_builtin): New. * c-simplify.c (gimplify_expr_stmt): Check TREE_NO_WARNING. * stmt.c (expand_expr_stmt_value): Likewise. * tree.h (struct tree_common): Add nowarning_flag. (TREE_NO_WARNING): New. (TREE_NO_UNUSED_WARNING): Remove. * c-typeck.c (build_unary_op): Use TREE_NO_WARNING instead. * stmt.c (warn_if_unused_value): Likewise. cp/ * call.c, cvt.c, init.c, typeck.c: Use TREE_NO_WARNING instead of TREE_NO_UNUSED_WARNING. * cvt.c (convert_to_void): Also use it for "has no effect" warning. testsuite/ * g++.dg/warn/noeffect5.C: New. * gcc.dg/20040202-1.c: New. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@77215 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-30Mainline merge as of 2004-01-26.Diego Novillo
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@76954 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-30This commit was manufactured by cvs2svn to create branchno-author
'tree-ssa-20020619-branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@76953 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-30New test.Richard Henderson
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@76911 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-28 PR middle-end/13898Richard Henderson
* gimplify.c (gimplify_init_constructor): Invoke lhd_set_decl_assembler_name on the now-static variable. * g++.dg/opt/static4.C: New. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@76806 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-22 PR opt/13681Richard Henderson
* tree-ssa-operands.c (get_expr_operands): Handle (&x + c). git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@76330 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-03Merge to tree-ssa-20020619-merge-20040102.Richard Henderson
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@75375 138bc75d-0d04-0410-961f-82ee72b054a4
2004-01-03This commit was manufactured by cvs2svn to create branchno-author
'tree-ssa-20020619-branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@75374 138bc75d-0d04-0410-961f-82ee72b054a4
2003-12-19 PR c++/12453Jason Merrill
* c-simplify.c (stmt_expr_last_stmt): Split out from... (gimplify_stmt_expr): Here. * c-common.h: Declare it. * cp/cp-simplify.c (cp_gimplify_init_expr): Look inside STMT_EXPRs and COMPOUND_EXPRs to find an AGGR_INIT_EXPR. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@74816 138bc75d-0d04-0410-961f-82ee72b054a4
2003-12-01This commit was manufactured by cvs2svn to create branchno-author
'tree-ssa-20020619-branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@74122 138bc75d-0d04-0410-961f-82ee72b054a4
2003-12-012003-11-30 Andrew Pinski <pinskia@physics.uc.edu>Andrew Pinski
PR optimization/13067 * g++.dg/opt/cfg4.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@74086 138bc75d-0d04-0410-961f-82ee72b054a4
2003-11-25Mainline merge as of 2003-11-23.Diego Novillo
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@73909 138bc75d-0d04-0410-961f-82ee72b054a4
2003-11-25This commit was manufactured by cvs2svn to create branchno-author
'tree-ssa-20020619-branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@73908 138bc75d-0d04-0410-961f-82ee72b054a4
2003-11-16 PR c++/12770Richard Henderson
* gimple-low.c (lower_stmt_body): Take a tree, not a tree*. (lower_stmt): Handle EH nodes. (lower_bind_expr): Remove fixme. (block_may_fallthru): Move from tree-eh.c. Handle COND_EXPR, BIND_EXPR, and TRY_FINALLY_EXPR. (lower_cond_expr): Use it. * tree-eh.c (collect_finally_tree): Ignore COND_EXPR and BIND_EXPR. (replace_goto_queue_cond_clause): New. (replace_goto_queue_1): Use it. Split out statement_list handling. (replace_goto_queue_stmt_list): New. (-block_may_fallthru): Move to gimple-low.c. (lower_eh_constructs_1): Ignore BIND_EXPR. * tree-flow.h (block_may_fallthru): Declare. * tree-dump.c (dump_files): Exchange .eh and .lower passes. * tree-optimize.c (tree_rest_of_compilation): Likewise. * tree.h (enum tree_dump_index): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@73655 138bc75d-0d04-0410-961f-82ee72b054a4
2003-11-14This commit was manufactured by cvs2svn to create branchno-author
'tree-ssa-20020619-branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@73583 138bc75d-0d04-0410-961f-82ee72b054a4
2003-11-13Mainline merge as of 2003-11-11.Diego Novillo
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@73535 138bc75d-0d04-0410-961f-82ee72b054a4
2003-11-12 * g++.dg/tree-ssa: New file.Jan Hubicka
* g++.dg/tree-ssa/tree-ssa.exp: New file based on gcc.dg/tree-ssa/tree-ssa.exp. * g++.dg/tree-ssa/nothrow-1.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@73506 138bc75d-0d04-0410-961f-82ee72b054a4
2003-11-11This commit was manufactured by cvs2svn to create branchno-author
'tree-ssa-20020619-branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@73470 138bc75d-0d04-0410-961f-82ee72b054a4
2003-10-31 * c-common.c (match_case_to_enum_1, match_case_to_enum): New.Richard Henderson
(c_do_switch_warnings): New. * c-common.h (c_do_switch_warnings): Declare. * c-typeck.c (c_finish_case): Call it. * stmt.c (all_cases_count, BITARRAY_TEST, BITARRAY_SET, mark_seen_cases, check_for_full_enumeration_handling): Remove. (expand_end_case_type): Don't do warn_switch handling. * expr.h, tree.h: Remove dead decls. cp/ * decl.c (pop_switch): Call c_do_switch_warnings. testsuite/ * g++.dg/warn/Wswitch-1.C: Move "case value not in enumerated type" warning to the proper line. * gcc.dg/Wswitch-enum.c: Likewise. * gcc.dg/Wswitch.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@73124 138bc75d-0d04-0410-961f-82ee72b054a4
2003-10-28Mainline merge as of 2003-10-26.Diego Novillo
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@73009 138bc75d-0d04-0410-961f-82ee72b054a4
2003-10-28This commit was manufactured by cvs2svn to create branchno-author
'tree-ssa-20020619-branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@73008 138bc75d-0d04-0410-961f-82ee72b054a4
2003-10-19Mainline merge as of 2003-10-17.Diego Novillo
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@72663 138bc75d-0d04-0410-961f-82ee72b054a4
2003-10-19This commit was manufactured by cvs2svn to create branchno-author
'tree-ssa-20020619-branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@72662 138bc75d-0d04-0410-961f-82ee72b054a4
2003-10-16 * g++.dg/ext/asm3.C: Update expected error text.Richard Henderson
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@72560 138bc75d-0d04-0410-961f-82ee72b054a4
2003-10-14This commit was manufactured by cvs2svn to create branchno-author
'tree-ssa-20020619-branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@72470 138bc75d-0d04-0410-961f-82ee72b054a4
2003-10-06Merge from mainline, tree-ssa-20020619-merge-20031005.Richard Henderson
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@72155 138bc75d-0d04-0410-961f-82ee72b054a4
2003-10-06This commit was manufactured by cvs2svn to create branchno-author
'tree-ssa-20020619-branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@72154 138bc75d-0d04-0410-961f-82ee72b054a4
2003-10-01 * g++.dg/parse/crash10.C: Adjust expected error lines.Richard Henderson
* g++.old-deja/g++.other/crash31.C: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@71992 138bc75d-0d04-0410-961f-82ee72b054a4
2003-09-30 * g++.dg/ext/stmtexpr1.C, g++.dg/parse/stack1.C: XFAIL.Richard Henderson
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@71937 138bc75d-0d04-0410-961f-82ee72b054a4
2003-09-29 * g++.dg/opt/nothrow1.C: Use locally declared function ratherRichard Henderson
than printf. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@71909 138bc75d-0d04-0410-961f-82ee72b054a4
2003-09-29 * g++.dg/init/array10.C: Add dg-options.Richard Henderson
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@71908 138bc75d-0d04-0410-961f-82ee72b054a4
2003-09-29 * g++.dg/ext/label3.C: Add dg-options.Richard Henderson
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@71905 138bc75d-0d04-0410-961f-82ee72b054a4
2003-09-28Merge from mainline.Richard Henderson
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@71875 138bc75d-0d04-0410-961f-82ee72b054a4
2003-09-28This commit was manufactured by cvs2svn to create branchno-author
'tree-ssa-20020619-branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@71874 138bc75d-0d04-0410-961f-82ee72b054a4
2003-09-11 Make EDGE_FALLTHRU meaningful for tree-cfg.Jason Merrill
* tree-cfg.c (make_edges): Set EDGE_FALLTHRU on fallthrough edge. (make_exit_edges): Likewise. (make_ctrl_stmt_edges): Don't set EDGE_FALLTHRU on edges into a control structure. (handle_switch_fallthru): Clear EDGE_FALLTHRU after inserting a goto. (find_insert_location): Only insert after a CALL_EXPR or MODIFY_EXPR. (bsi_insert_on_edge_immediate): Count outgoing abnormal edges. Insert before all control stmts. (bsi_link_after): Handle a block with nops after the last stmt. Rename some things to clarify difference between "control structures" (i.e. COND_EXPR) and "control statements" (also GOTO_EXPR). * basic-block.h (BB_CONTROL_STRUCTURE): Rename from BB_CONTROL_EXPR. * tree-cfg.c (REMOVE_NON_CONTROL_STRUCTS): Rename from REMOVE_NON_CONTROL_STMTS. (REMOVE_CONTROL_STRUCTS): Rename from REMOVE_CONTROL_STMTS. (make_ctrl_stmt_edges): Move GOTO_EXPR/RETURN_EXPR handling here... (make_exit_edges): ...from here. (is_ctrl_altering_stmt): Don't accept GOTO_EXPR/RETURN_EXPR. (is_ctrl_structure): Renamed from old is_ctrl_stmt. (is_ctrl_stmt): New fn. (bsi_move_to_bb_end): Use it. (stmt_starts_bb_p): Use is_ctrl_stmt and is_ctrl_altering_stmt. * tree-flow.h: Add prototype. * tree-ssa-ccp.c, tree-ssa-dom.c: Update for name changes. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@71306 138bc75d-0d04-0410-961f-82ee72b054a4
2003-09-10 * tree-cfg.c (make_call_expr_edges): Break out from...Jason Merrill
(make_exit_edges): ...here. Check TREE_NOTHROW. (is_ctrl_altering_stmt): Check TREE_NOTHROW. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@71281 138bc75d-0d04-0410-961f-82ee72b054a4