1. 19 Jun, 2004 16 commits
    • Tidied up/fixed compilation of exception.c · 5520b936
      From-SVN: r83399
      Alexander Malmberg committed
    • c-common.c, c-common.h (lang_gimplify_stmt): Remove. · 7c34ced1
              * c-common.c, c-common.h (lang_gimplify_stmt): Remove.
              * c-gimplify.c: Remove unnecessary prototypes.
              (c_gimplify_stmt): Merge into ...
              (c_gimplify_expr): ... here.  Don't play with prep_stmt.
              * c-semantics.c (prep_stmt): Remove.
              * gimplify.c (annotate_one_with_locus): Break out from ...
              (annotate_all_with_locus): ... here.
              (gimplify_expr): Add locus to expressions even if pre/post queues
              are not present.
      cp/
              * cp-gimplify.c: Remove unnecessary prototypes.
              (cp_gimplify_stmt): Merge into ...
              (cp_gimplify_expr): ... here.  Move to end of file.  Handle
              stmts_are_full_exprs_p frobbing.
              * cp-tree.h (cp_gimplify_stmt): Remove.
              * pt.c (tsubst_expr): Merge prep_stmt and unify.
              * tree.c (init_tree): Don't set lang_gimplify_stmt.
      
      From-SVN: r83397
      Richard Henderson committed
    • re PR target/15941 (new fails gcc.dg/compat/struct-by-value-11 and gcc.dg/compat/struct-by-value-1) · ebca59c3
      	PR target/15941
      	* function.c (assign_parms): If not padding upward or intentionally
      	forcing upward padding, take offset_rtx into account when determining
      	the alignment for stack_parm.
      
      From-SVN: r83396
      Richard Henderson committed
    • re PR target/15550 ([i386] ICE in extract_insn, at recog.c:2083) · 8426c25e
              PR target/15550
              * ifcvt.c (noce_try_move): Recognize all generated instructions.
      
      From-SVN: r83395
      Richard Henderson committed
    • function.c (free_after_compilation): Do not free computed_goto_common*. · eb4e1c01
      
      
      	* function.c (free_after_compilation): Do not free computed_goto_common*.
      	* function.h (struct function): Kill computed_goto_common*.
      	* stmt.c (expand_computed_goto): Do not commonize the computed gotos.
      	* tree-cfg.c (disband_implicit_edges): Do not forward across the
      	commonized computed goto.
      
      From-SVN: r83393
      Jan Hubicka committed
    • invoke.texi: Remove obsolete comment regarding PA 2.0 support in binutils. · bc443e6d
      	* doc/invoke.texi: Remove obsolete comment regarding PA 2.0 support
      	in binutils.
      
      From-SVN: r83391
      John David Anglin committed
    • re PR libfortran/16080 (segmentation fault when reading empty string) · bb9db7b1
      2004-06-19  Bud Davis  <bdavis9659@comcast.net>
      
              PR gfortran/16080
              * io/list_read.c(set_value): fixed spelling.
      
      From-SVN: r83389
      Bud Davis committed
    • re PR libfortran/16080 (segmentation fault when reading empty string) · 04b0faec
      
      2004-06-19  Bud Davis  <bdavis9659@comcast.net>
      
            PR gfortran/16080
            * gfortran.fortran-torture/execute/read_null_string.f90: New file.
            * io/list_read.c(set_value): don't copy if the string is null.
      
      From-SVN: r83388
      Bud Davis committed
    • crash3.C: Use __SIZE_TYPE__ instead of setting the type of size_t by hand. · bb60c95f
      2004-06-19  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * g++.dg/lookup/crash3.C: Use __SIZE_TYPE__
              instead of setting the type of size_t by
              hand.
      
      From-SVN: r83387
      Andrew Pinski committed
    • re PR c++/15721 (template instantation omits static data members) · f44703b5
      2004-06-19  Andrew Pinski  <apinski@apple.com>
      
              PR c++/15721
              * toplev.c (wrapup_global_declarations): Do not check
              TREE_SYMBOL_REFERENCED of the DECL_ASSEMBLER_NAME but check
              cgraph_varpool_node's needed field.
      
      From-SVN: r83386
      Andrew Pinski committed
    • CFG transparent RTL expansion: · 242229bb
      	* Makefile.in (cfgexpand.o): New object file.
      	(builtins.o): Add dependency on basic-block.h
      	* builtins.c: Include basic-block.h
      	(entry_of_function): New function.
      	(expand_builtin_apply_args, expand_builtin_saveargs): Use it.
      	* cfgexpand.c: New file.
      	* expr.c (execute_expand, pass_expand): Kill.
      	* pass.c (rest_of_compilation): Do not build CFG unless called from
      	coverage code.
      	* tree-cfg.c (delete_tree_cfg): Rename to..
      	(delete_tree_cfg_annotations): ... this one; Do not remove the CFG itself.
      	* tree-flow.h (delete_tree_cfg_annotations): Declare.
      	(dleete_tree_cfg): Kill.
      	* tree-optimize.c (execute_rebuild_bind, pass_rebuild_bind): Kill.
      	(execute_del_cfg): Rename to...
      	(execute_free_datastructures): This one...
      	(pass_del_cfg): Rename to...
      	(pass_free_datastructures): ... this one; Do not kill PROP_cfg.
      	(init_tree_optimization_passes): Make cfg build and profiling to happen
      	unconditionally.
      
      	* tree-mudflap.c (mf_decl_cache_locals): Skip labels before
      	inserting the cache variables.
      
      	* tree-mudflap.c: Include headers to make basic_block available.
      	Move functions around such that related functions are near each
      	other.  Add prototypes for all static functions.  Add comments
      	briefly explaining what IR the mudflap1 and mudflap2 work on and
      	what they do.
      	(mudflap_function_decls): Rename to execute_mudflap_function_decls.
      	(mudflap_function_ops): Rename to execute_mudflap_function_ops.
      	(pass_mudflap_1, pass_mudflap_2): Update.
      	(mf_decl_cache_locals): Make it work on the CFG instead of the saved
      	function tree.
      	(mf_build_check_statement_for): Make it work on the CFG.
      	(mf_xform_derefs_1): Likewise.  Cleanup code style.
      	(mf_xform_derefs): Likewise.
      
      	* tree-cfg.c (label_to_block): Invent the label destination for
      	undefined labels.
      	(cleanup_dead_labels): Update table in the case label_to_block added
      	new label.
      
      From-SVN: r83385
      Jan Hubicka committed
    • re PR c++/16036 (Spurious "may be used uninitialized in this function" warning) · ff98621c
              PR c++/16036
              * gimple-low.c (lower_function_body): Generate return statement for
              fall off the end of the function here ...
              * tree-cfg.c (make_edges): ... instead of here.
              * gimplify.c (gimplify_return_expr): Mark return temp TREE_NO_WARNING.
      
      From-SVN: r83382
      Richard Henderson committed
    • tree-ssa.c (raise_value): Removed. · 048d9936
      	* tree-ssa.c (raise_value): Removed.
      	(get_eq_name, check_phi_redundancy): New functions.
      	(kill_redundant_phi_nodes): Use standard ssa minimalization algorithm.
      
      From-SVN: r83380
      Zdenek Dvorak committed
    • fold-const.c (fold): Add constant folding for unordered comparison tree nodes. · ee8db92b
      
      	* fold-const.c (fold) <UNORDERED_EXPR, ORDERED_EXPR, UNLT_EXPR,
      	UNLE_EXPR, UNGT_EXPR, UNGE_EXPR, UNEQ_EXPR, LTGT_EXPR>: Add
      	constant folding for unordered comparison tree nodes.  If both
      	operands are real constants, call fold_relational_const.  If either
      	operand is a NaN, evaluate the other for side-effects and return a
      	constant.  Optimize (double)float1 CMP (double)float2 into the
      	equivalent float1 CMP float2.
      	(nondestructive_fold_binary_to_constant) <UNORDERED_EXPR,
      	ORDERED_EXPR, UNLT_EXPR, UNLE_EXPR, UNGT_EXPR, UNGE_EXPR, UNEQ_EXPR,
      	LTGT_EXPR>: Call fold_relational_const for constant operands.
      	(fold_relational_const): Add support for unordered comparison tree
      	nodes.  Don't constant fold "ordered" floating point comparisons
      	against NaN if when flag_trapping_math is set.
      
      	* gcc.dg/unordered-2.c: New test case.
      	* gcc.dg/unordered-3.c: New test case.
      
      From-SVN: r83379
      Roger Sayle committed
    • Daily bump. · 1c37e0b6
      [[Split portion of a mixed commit.]]
      
      From-SVN: r83377.2
      GCC Administrator committed
    • Daily bump. · f4334c06
      [[Split portion of a mixed commit.]]
      
      From-SVN: r83376.2
      GCC Administrator committed
  2. 18 Jun, 2004 24 commits