Skip to content
Snippets Groups Projects
  1. Oct 16, 2003
    • Kazu Hirata's avatar
      20031003-1.c: Enable only when INT_MAX == 2147483647. · 82917bf9
      Kazu Hirata authored
      	* gcc.c-torture/execute/20031003-1.c: Enable only when INT_MAX
      	== 2147483647.
      
      From-SVN: r72549
      82917bf9
    • Roger Sayle's avatar
      builtins.c (fold_builtin_memcpy, [...]): New functions. · 5bb650ec
      Roger Sayle authored
      	* builtins.c (fold_builtin_memcpy, fold_builtin_mempcpy,
      	fold_builtin_memmove, fold_builtin_strcpy, fold_builtin_strncpy,
      	fold_builtin_memcmp, fold_builtin_strcmp, fold_builtin_strncmp):
      	New functions.
      	(expand_builtin_memcpy): Use integer_zerop instead of testing
      	host_integerp and tree_low_cst directly.  Move misapplied hunk
      	for optimization wher SRC and DEST point to the same location.
      	(expand_builtin_mempcpy): From here.
      	(expand_builtin_memmove): Use integer_zerop instead of testing
      	host_integerp and tree_low_cst_directly.
      	(expand_builtin_memset): Likewise.
      	(expand_builtin_memcmp): Likewise (and for integer_onep).
      	(expand_builtin_strncmp): Likewise.
      	(fold_builtin): Call the appropriate fold_builtin_foo functions
      	to optimize memcpy, mempcpy, memmove, strcpy, strncpy, memcmp,
      	strcmp and strncmp.
      
      From-SVN: r72547
      5bb650ec
    • Kazu Hirata's avatar
      960416-1.x: Remove. · 8725a9b4
      Kazu Hirata authored
      	* gcc.c-torture/execute/960416-1.x: Remove.
      	* gcc.c-torture/execute/divconst-3.x: Likewise.
      
      From-SVN: r72545
      8725a9b4
    • Geoffrey Keating's avatar
      darwin-protos.h (machopic_non_lazy_ptr_name): Delete prototype. · 6f94a68e
      Geoffrey Keating authored
      	* config/darwin-protos.h (machopic_non_lazy_ptr_name): Delete
      	prototype.  Clean up some whitespace.
      	* config/darwin.c: Use gen_rtx_FOO (...) rather than
      	gen_rtx (FOO, ...).
      	(machopic_non_lazy_ptr_name): Make static.
      	(name_needs_quotes): Allow '.' and '$' unquoted.
      	(machopic_legitimize_pic_address): Improve codegen in dynamic-no-pic
      	case.
      
      From-SVN: r72544
      6f94a68e
    • R. Kelley Cook's avatar
      Fix CRLF problem with 20031012-1.c · 42f3a0a0
      R. Kelley Cook authored
      From-SVN: r72543
      42f3a0a0
    • GCC Administrator's avatar
      Daily bump. · 4d67c199
      GCC Administrator authored
      From-SVN: r72541
      4d67c199
  2. Oct 15, 2003
  3. Oct 14, 2003
    • Ulrich Weigand's avatar
      s390-protos.h (s390_alc_comparison): Add prototype. · e69166de
      Ulrich Weigand authored
      	* config/s390/s390-protos.h (s390_alc_comparison): Add prototype.
      	(s390_slb_comparison): Likewise.
      	* config/s390/s390.c (s390_alc_comparison, s390_slb_comparison):
      	New functions.
      	* config/s390/s390.h (PREDICATE_CODES): Add s390_alc_comparison
      	and s390_slb_comparison.
      	* config/s390/s390.md ("*adddi3_31", "*subdi3_31"): Do not use on
      	zSeries machines.
      	("*adddi3_31z", "*subdi3_31z"): New insns.
      	("*adddi3_alc_cc", "*adddi3_alc", "*subdi3_slb_cc", "*subdi3_slb",
      	"*addsi3_alc_cc", "*addsi3_alc", "*subsi3_slb_cc", "*subsi3_slb"):
      	New insns.
      
      From-SVN: r72505
      e69166de
    • Nathanael Nerode's avatar
      configure.in: Clean up some feedback echoes. · 7903cebc
      Nathanael Nerode authored
      	* configure.in: Clean up some feedback echoes.
      	* configure: Regenerate.
      
      From-SVN: r72503
      7903cebc
    • Nathanael Nerode's avatar
      * gettext.m4: Properly quote arguments to AC_DEFUN. · 87690a2f
      Nathanael Nerode authored
      From-SVN: r72501
      87690a2f
    • Nathanael Nerode's avatar
      * aclocal.m4: Properly quote names of macros being defined. · f6db393e
      Nathanael Nerode authored
      From-SVN: r72499
      f6db393e
    • Nathanael Nerode's avatar
      * configure: Regenerate. · 296da001
      Nathanael Nerode authored
      From-SVN: r72497
      296da001
    • Jason Merrill's avatar
      re PR c++/11878 (ICE in cp_expr_size) · 52cdd56c
      Jason Merrill authored
              PR c++/11878
              * tree.c (build_target_expr_with_type): Call force_rvalue for
              classes with non-trivial copy ctors.
      
      From-SVN: r72496
      52cdd56c
    • Jason Merrill's avatar
      re PR c++/11063 (ICE on parsing initialization list of const array member) · 5455db23
      Jason Merrill authored
              PR c++/11063
              * typeck.c (build_modify_expr): Call convert rather than abort.
      
      From-SVN: r72495
      5455db23
    • Jason Merrill's avatar
      re PR c++/11878 (ICE in cp_expr_size) · 182609b5
      Jason Merrill authored
              PR c++/11878
              * tree.c (build_target_expr_with_type): Call force_rvalue for
              classes with non-trivial copy ctors.
      
              PR c++/11063
              * typeck.c (build_modify_expr): Call convert rather than abort.
      
      From-SVN: r72494
      182609b5
    • Gabriel Dos Reis's avatar
      Breack out decl.c (3/n) · a5e6b29b
      Gabriel Dos Reis authored
      	Breack out decl.c (3/n)
      	* name-lookup.c: Include flags.h
      	(lookup_name_current_level): Make static.
      	(add_decl_to_level): Likewise.
      	(push_local_binding): Likewise.
      	(push_overloaded_decl): Likewise.
      	(lookup_using_namespace): Likewise.
      	(qualified_lookup_using_namespace): Likewise.
      	(lookup_type_current_level): Likewise.
      	(unqualified_namespace_lookup): Likewise.
      	(namespace_ancestor): Likewise.
      	(push_using_directive): Likewise.
      	* decl.c (pushdecl): Move to name-lookup.c.
      	(pushdecl_top_level_1): Likewise.
      	(pushdecl_top_level): Likewise.
      	(pushdecl_top_level_and_finish): Likewise.
      	(maybe_push_decl): Likewise.
      	(push_using_decl): Likewise.
      	(push_overloaded_decl): Likewise.
      	(make_anon_name): Likewise.
      	(anon_cnt): Likewise.
      	(clear_anon_tags): Likewise.
      	(maybe_inject_for_scope_var): Likewise.
      	(check_for_out_of_scope_variable): Likewise.
      	* Make-lang.in (cp/name-lookup.o): Depend on flags.h.
      	* decl.c (warn_extern_redeclared_static): Export.
      	* cp-tree.h (warn_extern_redeclared_static): Declare.
      
      From-SVN: r72492
      a5e6b29b
Loading