Skip to content
Snippets Groups Projects
  1. Jun 20, 2004
    • andreast's avatar
      2004-06-20 Andreas Tobler <a.tobler@schweiz.ch> · 9b38b3f6
      andreast authored
      	* Makefile.am: Add rule for .S files to fix bootstrap on
      	solaris and alpha.
      	* Makefile.in: Regenerate.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83406 138bc75d-0d04-0410-961f-82ee72b054a4
      9b38b3f6
    • zack's avatar
      * c-common.h (has_c_linkage): New interface. · 146c1b4f
      zack authored
      	* c-cppbuiltin.c: Include target.h.
      	(c_cpp_builtins): Define __PRAGMA_REDEFINE_EXTNAME and
      	__PRAGMA_EXTERN_PREFIX when appropriate.
      	* c-pragma.c: Include target.h.
      	Document clarified semantics of symbol-renaming #pragmas.
      	(handle_pragma_redefine_extname, handle_pragma_extern_prefix)
      	(maybe_apply_renaming_pragma): Rewrite according to clarified
      	semantics.  Always recognize, but do not necessarily execute.
      	(init_pragma): Unconditionally register symbol-renaming pragmas.
      	* system.h: Poison HANDLE_PRAGMA_REDEFINE_EXTNAME
      	and HANDLE_PRAGMA_EXTERN_PREFIX.
      	* target.h (struct gcc_target): Add handle_pragma_redefine_extname
      	and handle_pragma_extern_prefix flags.
      	* target-def.h: Add defaults for TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME
      	and TARGET_HANDLE_PRAGMA_EXTERN_PREFIX.
      	* Makefile.in (c-pragma.o, c-cppbuiltin.o): Update dependencies.
      	* config/sol2.h: Define TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME,
      	not HANDLE_PRAGMA_REDEFINE_EXTNAME.
      	(TARGET_OS_CPP_BUILTINS): No need to define __PRAGMA_REDEFINE_EXTNAME.
      	(TRANSFER_FROM_TRAMPOLINE): Prototype mprotect.
      	* config/alpha/osf.h: Define TARGET_HANDLE_PRAGMA_EXTERN_PREFIX,
      	not HANDLE_PRAGMA_EXTERN_PREFIX.
      	(TARGET_OS_CPP_BUILTINS): No need to define __PRAGMA_EXTERN_PREFIX.
      	* doc/extend.texi (Solaris Pragmas, Tru64 Pragmas): Combine
      	into one section "Symbol-Renaming Pragmas"; clarify; document
      	adjusted semantics.
      
      	* builtins.c (expand_builtin): Do not issue error for a builtin
      	with no special case code and no DECL_ASSEMBLER_NAME; just do the
      	library call.
      	* c-decl.c (builtin_function): Don't call make_decl_rtl.
      	* c-objc-common.c (has_c_linkage): Stub implementation.
      	* cgraphunit.c (cgraph_expand_function)
      	(cgraph_remove_unreachable_nodes): Don't clear DECL_ARGUMENTS.
      
      cp:
      	* cp-lang.c (has_c_linkage): Implement.
      
      	* cp-tree.h (set_mangled_name_for_decl): Don't prototype.
      	* decl.c (duplicate_decls): Use COPY_DECL_RTL.
      	(builtin_function_1): Don't call make_decl_rtl.
      	(build_cp_library_fn): Don't call set_mangled_name_for_decl.
      	(grokvardecl): Don't call mangle_decl.
      	* except.c (nothrow_libfn_p): Look at DECL_NAME, not
      	DECL_ASSEMBLER_NAME.
      	* method.c (set_mangled_name_for_decl): Delete.
      	* name-lookup.c (pushdecl): When a local extern shadows a
      	file-scope declaration of the same object, give both DECLs the
      	same DECL_UID.
      	* typeck.c (cxx_mark_addressable): Don't set TREE_ADDRESSABLE
      	on DECL_ASSEMBLER_NAME.
      
      testsuite:
      	* g++.dg/expr/enum1.C, g++.dg/opt/const3.C: Declare abort with
      	extern "C".
      	* g++.dg/other/pragma-re-1.C: Add comments.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83405 138bc75d-0d04-0410-961f-82ee72b054a4
      146c1b4f
    • sayle's avatar
      · 859f903a
      sayle authored
      	* builtins.c (fold_builtin_unordered_cmp): Take an EXP argument
      	instead of both an ARGLIST and a result TYPE.  Handle these C99
      	comparison functions as "polymorphic" builtins.  Also handle
      	lowering of BUILT_IN_ISUNORDERED to an UNORDERED_EXPR tree node.
      	(fold_builtin_1): Update calls to fold_builtin_unordered_cmp.
      	Move handling of BUILT_IN_ISUNORDERED from here to there.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83404 138bc75d-0d04-0410-961f-82ee72b054a4
      859f903a
    • gccadmin's avatar
      Daily bump. · 3d2110ae
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83402 138bc75d-0d04-0410-961f-82ee72b054a4
      3d2110ae
    • gccadmin's avatar
      Daily bump. · f3427fd3
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83401 138bc75d-0d04-0410-961f-82ee72b054a4
      f3427fd3
  2. Jun 19, 2004
    • nicola's avatar
      Tidied up/fixed compilation of exception.c · 98fde024
      nicola authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83399 138bc75d-0d04-0410-961f-82ee72b054a4
      98fde024
    • rth's avatar
      * c-common.c, c-common.h (lang_gimplify_stmt): Remove. · 8495c0ca
      rth authored
              * 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83397 138bc75d-0d04-0410-961f-82ee72b054a4
      8495c0ca
    • danglin's avatar
      PR target/15941 · 27664a4b
      danglin authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83396 138bc75d-0d04-0410-961f-82ee72b054a4
      27664a4b
    • rth's avatar
      PR target/15550 · 8308e745
      rth authored
              * ifcvt.c (noce_try_move): Recognize all generated instructions.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83395 138bc75d-0d04-0410-961f-82ee72b054a4
      8308e745
    • hubicka's avatar
      · 939d0e9e
      hubicka authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83393 138bc75d-0d04-0410-961f-82ee72b054a4
      939d0e9e
    • danglin's avatar
      * doc/invoke.texi: Remove obsolete comment regarding PA 2.0 support · 37fb5f6b
      danglin authored
      	in binutils.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83391 138bc75d-0d04-0410-961f-82ee72b054a4
      37fb5f6b
    • bdavis's avatar
      2004-06-19 Bud Davis <bdavis9659@comcast.net> · 97e1f412
      bdavis authored
              PR gfortran/16080
              * io/list_read.c(set_value): fixed spelling.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83389 138bc75d-0d04-0410-961f-82ee72b054a4
      97e1f412
    • bdavis's avatar
      · 9beaf540
      bdavis authored
      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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83388 138bc75d-0d04-0410-961f-82ee72b054a4
      9beaf540
    • pinskia's avatar
      2004-06-19 Andrew Pinski <pinskia@physics.uc.edu> · 9098be08
      pinskia authored
              * g++.dg/lookup/crash3.C: Use __SIZE_TYPE__
              instead of setting the type of size_t by
              hand.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83387 138bc75d-0d04-0410-961f-82ee72b054a4
      9098be08
    • pinskia's avatar
      2004-06-19 Andrew Pinski <apinski@apple.com> · 6c07af38
      pinskia authored
              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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83386 138bc75d-0d04-0410-961f-82ee72b054a4
      6c07af38
    • hubicka's avatar
      · 0ec80471
      hubicka authored
      	CFG transparent RTL expansion:
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83385 138bc75d-0d04-0410-961f-82ee72b054a4
      0ec80471
    • rth's avatar
      PR c++/16036 · 751ddc2b
      rth authored
              * 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83382 138bc75d-0d04-0410-961f-82ee72b054a4
      751ddc2b
    • rakdver's avatar
      * tree-ssa.c (raise_value): Removed. · b040cc05
      rakdver authored
      	(get_eq_name, check_phi_redundancy): New functions.
      	(kill_redundant_phi_nodes): Use standard ssa minimalization algorithm.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83380 138bc75d-0d04-0410-961f-82ee72b054a4
      b040cc05
    • sayle's avatar
      · 2f64c430
      sayle authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83379 138bc75d-0d04-0410-961f-82ee72b054a4
      2f64c430
    • gccadmin's avatar
      Daily bump. · 7b435787
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83377 138bc75d-0d04-0410-961f-82ee72b054a4
      7b435787
    • gccadmin's avatar
      Daily bump. · 68a8554c
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83376 138bc75d-0d04-0410-961f-82ee72b054a4
      68a8554c
  3. Jun 18, 2004
Loading