1. 17 Jul, 2008 5 commits
  2. 16 Jul, 2008 18 commits
  3. 15 Jul, 2008 17 commits
    • tree-ssa-sccvn.c (expressions_equal_p): Check type equality. · 2dfb6ce1
      2008-07-15  Daniel Berlin  <dberlin@dberlin.org>
      
      	* tree-ssa-sccvn.c (expressions_equal_p): Check type equality.
      	* tree-ssa-pre.c (pre_expr_eq): Ditto
      	(get_constant_for_value_id): Take a type as an argument.
      	(fully_constant_expression): Pass in type.
      	(find_or_generate_expression): Short circuit constant case.
      	(create_expression_by_pieces): Remove special casing of
      	pointer_plus.
      	(do_regular_insertion): Short circuit constant case.
      	(do_partial_partial_insertion): Ditto.
      
      From-SVN: r137859
      Daniel Berlin committed
    • chrono: New, as per N2661. · 15e38d0d
      2008-07-15  Chris Fairles  <chris.fairles@gmail.com>
      
              * include/std/chrono: New, as per N2661.
              * src/chrono.cc: New.
              * include/Makefile.am: Update.
              * src/Makefile.am: Likewise.
              * include/Makefile.in: Regenerate.
              * src/Makefile.in: Likewise.
              * acinclude.m4: Add tests for clock_gettime and gettimeofday that
      	define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY.
              * configure.ac: Use them.
              * configure: Regenerate.
              * config.h.in: Likewise.
              * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and
              system_clock::is_monotonic.
              * testsuite/20_util/duration/cons/1.cc: New.
              * testsuite/20_util/duration/cons/2.cc: Likewise.
              * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
              * testsuite/20_util/duration/requirements/explicit_instantiation/
              explicit_instantiation.cc: Likewise.
              * testsuite/20_util/duration/arithmetic/1.cc: Likewise.
              * testsuite/20_util/duration/arithmetic/2.cc: Likewise.
              * testsuite/20_util/duration/comparisons/1.cc: Likewise.
              * testsuite/20_util/time_point/requirements/explicit_instantiation/
              explicit_instantiation.cc: Likewise.
              * testsuite/20_util/time_point/1.cc: Likewise.
              * testsuite/20_util/time_point/2.cc: Likewise.
              * testsuite/20_util/time_point/3.cc: Likewise.
              * testsuite/20_util/clocks/1.cc: Likewise.
              * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add
              missing headers.
              * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
              * include/precompiled/stdc++.h: Likewise and remove <date_time>.
              * doc/doxygen/user.cfg.in: Likewise.
      
      From-SVN: r137858
      Chris Fairles committed
    • re PR target/36782 (SH: spill failure in class 'R0_REGS' with -fpic) · 141368f0
      	PR target/36782
      	* config/sh/sh.md (symGOT_load): Don't add REG_EQUAL note.
      
      From-SVN: r137853
      Kaz Kojima committed
    • acinclude.m4 (CLASSPATH_COND_IF): New macro. · a47ac974
      libjava/classpath/
      
      	* m4/acinclude.m4 (CLASSPATH_COND_IF): New macro.
      	* configure.ac: Use it.
      	* configure: Regenerate.
      	* tools/Makefile.am (!CREATE_WRAPPERS): Update comment.
      
      From-SVN: r137851
      Ralf Wildenhues committed
    • libgcc-xtensa.ver: New file. · 25ae96c7
      	* config/xtensa/libgcc-xtensa.ver: New file.
      	* config/xtensa/t-linux (SHLIB_MAPFILES): Append libgcc-xtensa.ver.
      
      From-SVN: r137850
      Bob Wilson committed
    • df-problems.c (df_set_note): Avoid C++ keywords. · 60564289
      	* df-problems.c (df_set_note): Avoid C++ keywords.
      	* df-scan.c (df_ref_change_reg_with_loc_1): Likewise.
      	* dse.c (record_store, remove_useless_values): Likewise.
      	* emit-rtl.c (gen_reg_rtx, update_reg_offset, gen_rtx_REG_offset,
      	gen_reg_rtx_offset, operand_subword, change_address_1,
      	change_address, adjust_address_1, offset_address,
      	widen_memory_access, emit_copy_of_insn_after): Likewise.
      	* explow.c (round_push, allocate_dynamic_stack_space): Likewise.
      	* fwprop.c (should_replace_address, propagate_rtx_1,
      	propagate_rtx, try_fwprop_subst, forward_propagate_and_simplify):
      	Likewise.
      	* gcse.c (cprop_jump, find_implicit_sets, bypass_block,
      	gcse_emit_move_after, update_ld_motion_stores): Likewise.
      	* lcm.c (compute_insert_delete, pre_edge_lcm,
      	compute_rev_insert_delete, pre_edge_rev_lcm): Likewise.
      	* lower-subreg.c (resolve_reg_notes): Likewise.
      	* mode-switching.c (optimize_mode_switching): Likewise.
      
      From-SVN: r137848
      Kaveh R. Ghazi committed
    • bt-load.c (add_btr_def, [...]): Avoid C++ keywords. · 32e9fa48
      	* bt-load.c (add_btr_def, migrate_btr_def,
      	branch_target_load_optimize): Avoid C++ keywords.
      	* caller-save.c (insert_restore, insert_save, insert_one_insn):
      	Likewise.
      	* combine.c (subst, simplify_set, make_extraction,
      	make_compound_operation, known_cond, simplify_shift_const_1):
      	Likewise.
      	* cse.c (make_regs_eqv, merge_equiv_classes, validate_canon_reg,
      	fold_rtx, equiv_constant, cse_insn, cse_process_notes_1):
      	Likewise.
      
      From-SVN: r137847
      Kaveh R. Ghazi committed
    • re PR middle-end/36369 (may_alias broken with previous uses of non attributed type in some cases) · ac7ee6ad
      2008-07-15  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/36369
      	* c-common.c (strict_aliasing_warning): Do not warn for
      	TYPE_REF_CAN_ALIAS_ALL pointers.
      	(c_common_get_alias_set): may_alias types are not special.
      	* tree.c (build_pointer_type_for_mode): Look up the may_alias
      	attribute and set can_ref_all accordingly.
      	(build_reference_type_for_mode): Likewise.
      	* doc/extend.texi (may_alias): Clarify.
      
      	* gcc.dg/Wstrict-aliasing-bogus-ref-all.c: New testcase.
      
      From-SVN: r137843
      Richard Guenther committed
    • re PR target/36780 (Wrong reload generated for subreg address on SH) · 96c72efe
      	PR target/36780
      	* config/sh/sh.h (GO_IF_LEGITIMATE_ADDRESS): Allow
      	(plus (plus (reg) (const_int)) (const_int)) when reload_in_progress.
      
      From-SVN: r137838
      Kaz Kojima committed
    • re PR target/31568 (ICE with invalid %y operand (inline-asm)) · cb8cc791
      2008-07-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR target/31568
              * config/rs6000/rs6000.c (print_operand <case 'y'>): Don't use
              gcc_assert, instead call output_operand_lossage.
      
      2008-07-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR target/31568
              * gcc.target/powerpc/asm-y.c: New testcase.
      
      From-SVN: r137837
      Andrew Pinski committed
    • re PR libstdc++/36832 (error compiling with crope) · 91efdb82
      2008-07-15  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/36832
      	* include/ext/rope (_Destroy_const): Add.
      	(rope<>::copy): Call it.
      	* testsuite/ext/rope/36832.cc: New.
      
      From-SVN: r137829
      Paolo Carlini committed
    • find_selectors.h: Correct name for include guard #ifndef. · cbcd1e45
      2008-07-15  Johannes Singler  <singler@ira.uka.de>
      
              * include/parallel/find_selectors.h:
              Correct name for include guard #ifndef.
              * include/parallel/balanced_quicksort.h: Likewise.
              * include/parallel/unique_copy.h: Likewise.
              * include/parallel/multiway_mergesort.h: Likewise.
              * include/parallel/checkers.h: Likewise.
              * include/parallel/[various files]:
              Add/correct comment for #endif of include guard (at end of file)
      
      From-SVN: r137827
      Johannes Singler committed
    • builtins.c (std_canonical_va_list): Treat structure based va_list types. · e65d1ec6
      2008-07-15  Kai Tietz  <kai.tietz@onevision.com>
      
      	* builtins.c (std_canonical_va_list): Treat structure based
      	va_list types.
      
      From-SVN: r137819
      Kai Tietz committed
    • re PR objc++/36723 (massive obj-c++ failures at rev.137407) · 7ce841d2
              PR objc++/36723
              * objc/objc-act.c (objc_build_constructor): Update C++ tweak.
              * cp/lex.c (init_reswords): Always set D_OBJC.
      
      From-SVN: r137813
      Jason Merrill committed
    • Daily bump. · 8b9c8843
      From-SVN: r137806
      GCC Administrator committed