gcc.git
11 years agoFix up two ChangeLog entries.
Jakub Jelinek [Tue, 4 Dec 2012 13:18:54 +0000 (14:18 +0100)]
Fix up two ChangeLog entries.

From-SVN: r194132

11 years agoaarch64.c (aarch64_simd_vector_alignment, [...]): New.
Tejas Belagod [Tue, 4 Dec 2012 11:43:04 +0000 (11:43 +0000)]
aarch64.c (aarch64_simd_vector_alignment, [...]): New.

2012-12-04  Tejas Belagod  <tejas.belagod@arm.com>

        * config/aarch64/aarch64.c (aarch64_simd_vector_alignment,
        aarch64_simd_vector_alignment_reachable): New.
        (TARGET_VECTOR_ALIGNMENT, TARGET_VECTORIZE_VECTOR_ALIGNMENT_REACHABLE):
        Define.

From-SVN: r194126

11 years agore PR tree-optimization/55124 (ICE in find_or_generate_expression, at tree-ssa-pre...
Richard Biener [Tue, 4 Dec 2012 09:19:05 +0000 (09:19 +0000)]
re PR tree-optimization/55124 (ICE in find_or_generate_expression, at tree-ssa-pre.c:2803)

2012-12-04  Richard Biener  <rguenther@suse.de>

PR tree-optimization/55124
* tree-ssa-pre.c (find_or_generate_expression): Instead of
ICEing when we are not able to generate an expression defer it
by signalling failure.  Fix possible wrong-code issue by
not picking random REFERENCE expressions as fallback.
(create_component_ref_by_pieces_1): Adjust.  Add failure paths.
(create_expression_by_pieces): Likewise.
(insert_into_preds_of_block): When expression generation failed
for one edge make sure to not insert a PHI node.

* gcc.dg/torture/pr55124.c: New testcase.

From-SVN: r194125

11 years agocompiler: Give error for constant inverted slice range.
Ian Lance Taylor [Tue, 4 Dec 2012 09:09:56 +0000 (09:09 +0000)]
compiler: Give error for constant inverted slice range.

From-SVN: r194124

11 years agoia64.c (ia64_compute_frame_size): Allocate the scratch area if the function allocates...
Eric Botcazou [Tue, 4 Dec 2012 09:05:49 +0000 (09:05 +0000)]
ia64.c (ia64_compute_frame_size): Allocate the scratch area if the function allocates dynamic stack space.

* config/ia64/ia64.c (ia64_compute_frame_size): Allocate the scratch
area if the function allocates dynamic stack space.
(ia64_initial_elimination_offset): Adjust offsets to above change.

From-SVN: r194121

11 years ago[libsanitizer] Fix PR55521 by switching libsanitizer from mach_override to mac interp...
Kostya Serebryany [Tue, 4 Dec 2012 07:00:35 +0000 (07:00 +0000)]
[libsanitizer] Fix PR55521 by switching libsanitizer from mach_override to mac interpose functions on darwin

From-SVN: r194120

11 years agocompiler: Reject invalid nil == nil comparisons.
Ian Lance Taylor [Tue, 4 Dec 2012 06:44:19 +0000 (06:44 +0000)]
compiler: Reject invalid nil == nil comparisons.

From-SVN: r194119

11 years agomksysinfo: Fix TIOCNOTTY and TIOCSCTTY for ARM.
Ian Lance Taylor [Tue, 4 Dec 2012 06:23:37 +0000 (06:23 +0000)]
mksysinfo: Fix TIOCNOTTY and TIOCSCTTY for ARM.

From Matthias Klose.

From-SVN: r194118

11 years agoruntime: Fix build failures with -D_FORTIFY_SOURCE=2.
Ian Lance Taylor [Tue, 4 Dec 2012 06:18:07 +0000 (06:18 +0000)]
runtime: Fix build failures with -D_FORTIFY_SOURCE=2.

From-SVN: r194116

11 years agocompiler: Fix crash in go/defer of some builtin functions.
Ian Lance Taylor [Tue, 4 Dec 2012 05:17:54 +0000 (05:17 +0000)]
compiler: Fix crash in go/defer of some builtin functions.

From-SVN: r194114

11 years agocompiler: Don't permit go/defer argument to be parenthesized.
Ian Lance Taylor [Tue, 4 Dec 2012 00:28:30 +0000 (00:28 +0000)]
compiler: Don't permit go/defer argument to be parenthesized.

Fixes Go repository issue 4468.

From-SVN: r194112

11 years agoDaily bump.
GCC Administrator [Tue, 4 Dec 2012 00:18:53 +0000 (00:18 +0000)]
Daily bump.

From-SVN: r194111

11 years agogcse.c (struct reg_use): Remove unused struct.
Steven Bosscher [Mon, 3 Dec 2012 23:28:42 +0000 (23:28 +0000)]
gcse.c (struct reg_use): Remove unused struct.

* gcse.c (struct reg_use): Remove unused struct.
(gcse_emit_move_after): Do not create REG_EQUAL notes that reference
the SET_DEST of the instruction the note would be attached to.
* cse.c (cse_main): Add the DF_NOTE problem.

From-SVN: r194108

11 years agostandard_policies.hpp: Remove.
Benjamin Kosnik [Mon, 3 Dec 2012 23:23:52 +0000 (23:23 +0000)]
standard_policies.hpp: Remove.

2012-12-03  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/pb_ds/detail/cc_hash_table_map_/standard_policies.hpp:
Remove.
* include/ext/pb_ds/detail/gp_hash_table_map_/standard_policies.hpp:
Remove.
  * include/Makefile.am (pb_headers): Remove include files.
* include/Makefile.in: Regenerated.

From-SVN: r194107

11 years agore PR fortran/55548 (SYSTEM_CLOCK with integer(8) provides nanosecond resolution...
Janus Weil [Mon, 3 Dec 2012 22:06:41 +0000 (23:06 +0100)]
re PR fortran/55548 (SYSTEM_CLOCK with integer(8) provides nanosecond resolution, but only microsecond precision (without -lrt))

2012-12-03  Janus Weil  <janus@gcc.gnu.org>

PR fortran/55548
* intrinsics/system_clock.c (gf_gettime_mono): Add argument 'tck',
which returns the clock resolution.
(system_clock_4): Get resolution from gf_gettime_mono, but limit to
1000/s.
(system_clock_8): Get resolution from gf_gettime_mono.

2012-12-03  Janus Weil  <janus@gcc.gnu.org>

PR fortran/55548
* intrinsic.texi (SYSTEM_CLOCK): Update documentation of SYSTEM_CLOCK.

From-SVN: r194105

11 years agore PR fortran/37336 ([F03] Finish derived-type finalization)
Tobias Burnus [Mon, 3 Dec 2012 21:13:42 +0000 (22:13 +0100)]
re PR fortran/37336 ([F03] Finish derived-type finalization)

2012-12-03  Tobias Burnus  <burnus@net-b.de>
            Janus Weil  <janus@gcc.gnu.org>

        PR fortran/37336
        * class.c (gfc_is_finalizable): New function.
        * gfortran.h (gfc_is_finalizable): Its prototype.
        * module.c (mio_component): Read initializer for vtype's _final.
        * resolve.c (resolve_fl_derived0): Call gfc_is_finalizable.
        * trans-expr.c (gfc_vtable_final_get): New function.
        (conv_parent_component_references): Fix comment.
        (gfc_conv_variable): Fix for scalar coarray components.
        * trans-intrinsic.c (conv_intrinsic_move_alloc): For BT_CLASS,
        pass the BT_CLASS type and not the declared type to
        gfc_deallocate_scalar_with_status.
        * trans.h (gfc_vtable_final_get): New prototype.

Co-Authored-By: Janus Weil <janus@gcc.gnu.org>
From-SVN: r194104

11 years agosanitizer.def: Add Address Sanitizer builtins.
Jakub Jelinek [Mon, 3 Dec 2012 17:28:10 +0000 (18:28 +0100)]
sanitizer.def: Add Address Sanitizer builtins.

* sanitizer.def: Add Address Sanitizer builtins.
Rename BUILT_IN_TSAN_READ_* to BUILT_IN_TSAN_READ* and
BUILT_IN_TSAN_WRITE_* to BUILT_IN_TSAN_WRITE*.
* Makefile.in (asan.o): Depend on langhooks.h.
(tsan.o): Depend on asan.h.
* asan.h (initialize_sanitizer_builtins): New prototype.
* asan.c: Include langhooks.h.
(report_error_func): Use builtin_decl_implicit of corresponding
BUILT_IN_ASAN_REPORT_{LOAD,STORE}*.
(asan_init_func): Removed.
(initialize_sanitizer_builtins): New function.
(asan_finish_file): Call it.  Use builtin_decl_implicit
on BUILT_IN_ASAN_{INIT,{,UN}REGISTER_GLOBALS}.
(asan_instrument): Call initialize_sanitizer_builtins.
* builtins.def (DEF_SANITIZER_BUILTIN): Change condition to
(flag_asan || flag_tsan).
* tsan.c: Include asan.h and tsan.h.
(get_memory_access_decl): Rename BUILT_IN_TSAN_{READ,WRITE}_*
to BUILT_IN_TSAN_{READ,WRITE}*.
(tsan_pass): Call initialize_sanitizer_builtins.
(tsan_gate, tsan_gate_O0): Don't check if
builtin_decl_implicit_p (BUILT_IN_TSAN_INIT) is true.
(tsan_finish_file): Call initialize_sanitizer_builtins.
* builtin-types.def (BT_FN_VOID_PTR_PTRMODE): New fn type.

From-SVN: r194103

11 years agore PR bootstrap/55380 (All search_line_fast implementations read beyond buffer)
Jakub Jelinek [Mon, 3 Dec 2012 17:19:47 +0000 (18:19 +0100)]
re PR bootstrap/55380 (All search_line_fast implementations read beyond buffer)

PR bootstrap/55380
PR other/54691
* files.c (read_file_guts): Allocate extra 16 bytes instead of
1 byte at the end of buf.  Pass size + 16 instead of size
to _cpp_convert_input.
* charset.c (_cpp_convert_input): Reallocate if there aren't
at least 16 bytes beyond to.len in the buffer.  Clear 16 bytes
at to.text + to.len.

From-SVN: r194102

11 years agostrtod_l.c (___STRTOF_INTERNAL): Fix exponent reading.
Tobias Burnus [Mon, 3 Dec 2012 16:16:28 +0000 (17:16 +0100)]
strtod_l.c (___STRTOF_INTERNAL): Fix exponent reading.

2012-12-03  Tobias Burnus  <burnus@net-b.de>

        * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
        reading.

2012-12-03  Tobias Burnus  <burnus@net-b.de>

        * gfortran.dg/quad_3.f90: New.

From-SVN: r194100

11 years agore PR middle-end/55401 (uninstrumented path in TM clones are still instrumented)
Aldy Hernandez [Mon, 3 Dec 2012 16:11:21 +0000 (16:11 +0000)]
re PR middle-end/55401 (uninstrumented path in TM clones are still instrumented)

PR middle-end/55401
* trans-mem.c (get_tm_region_blocks): Exclude uninstrumented
blocks from vector if requested.
(collect_bb2reg): Pass new argument to
get_tm_region_blocks.
(get_bb_regions_instrumented): Add INCLUDE_UNINSTRUMENTED_P
argument, and pass it to expand_regions.
(execute_tm_mark): Pass new argument to
get_bb_regions_instrumented.
(execute_tm_edges): Same.

From-SVN: r194099

11 years agore PR c++/54170 (Call to lambda elided)
Paolo Carlini [Mon, 3 Dec 2012 16:01:32 +0000 (16:01 +0000)]
re PR c++/54170 (Call to lambda elided)

/cp
2012-12-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/54170
* cvt.c (cp_convert_to_pointer): Don't discard side-effects from
expressions of nullptr_t.
* typeck.c (build_ptrmemfunc): Likewise.

/testsuite
2012-12-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/54170
* g++.dg/cpp0x/lambda/lambda-nullptr.C: New.

From-SVN: r194098

11 years agore PR testsuite/55452 (gfortran.dg/reassoc_4.f -O scan-tree-dump-times reassoc1)
Jakub Jelinek [Mon, 3 Dec 2012 15:18:49 +0000 (16:18 +0100)]
re PR testsuite/55452 (gfortran.dg/reassoc_4.f  -O   scan-tree-dump-times reassoc1)

PR testsuite/55452
* gfortran.dg/reassoc_4.f: Use --param max-completely-peeled-insns=400
on all targets, not just s390*.

From-SVN: r194095

11 years agoasan.c (instrument_mem_region_access): Don't instrument if base doesn't have pointer...
Jakub Jelinek [Mon, 3 Dec 2012 15:04:57 +0000 (16:04 +0100)]
asan.c (instrument_mem_region_access): Don't instrument if base doesn't have pointer type or len integral type.

* asan.c (instrument_mem_region_access): Don't instrument
if base doesn't have pointer type or len integral type.
Add cast if len doesn't have size_t compatible type.
(instrument_builtin_call): Don't instrument BUILT_IN_ATOMIC_LOAD,
BUILT_IN_ATOMIC_TEST_AND_SET, BUILT_IN_ATOMIC_CLEAR,
BUILT_IN_ATOMIC_EXCHANGE, BUILT_IN_ATOMIC_COMPARE_EXCHANGE
and BUILT_IN_ATOMIC_STORE.

From-SVN: r194094

11 years agoFix stale use of old 'options' argument.
Diego Novillo [Mon, 3 Dec 2012 14:53:37 +0000 (09:53 -0500)]
Fix stale use of old 'options' argument.

An earlier patch had made the command line options a global variable
_OPTIONS, but it had not renamed all the uses of the old options argument.

* testsuite-management/validate_failures.py: Fix stale
use of 'options'.

From-SVN: r194092

11 years agoAdding missed in r194086 file.
Kirill Yukhin [Mon, 3 Dec 2012 13:59:38 +0000 (13:59 +0000)]
Adding missed in r194086 file.

From-SVN: r194088

11 years agoasan.c (instrument_assignment): Instrument lhs only for gimple_store_p and rhs1 only...
Jakub Jelinek [Mon, 3 Dec 2012 13:57:29 +0000 (14:57 +0100)]
asan.c (instrument_assignment): Instrument lhs only for gimple_store_p and rhs1 only for gimple_assign_load_p.

* asan.c (instrument_assignment): Instrument lhs only
for gimple_store_p and rhs1 only for gimple_assign_load_p.

From-SVN: r194087

11 years agoMakefile.in: Add target mddump, build/genmddump.o.
Michael Zolotukhin [Mon, 3 Dec 2012 13:54:07 +0000 (13:54 +0000)]
Makefile.in: Add target mddump, build/genmddump.o.

* Makefile.in: Add target mddump, build/genmddump.o.  Extend
genprogrtl with mddump.
* genmddump.c: New.

From-SVN: r194086

11 years agortl.h (print_insn_with_notes): Prototype.
Steven Bosscher [Mon, 3 Dec 2012 13:16:55 +0000 (13:16 +0000)]
rtl.h (print_insn_with_notes): Prototype.

* rtl.h (print_insn_with_notes): Prototype.
* sched-vis.c (print_insn_with_notes): Export it.

* gimple-pretty-print.h (gimple_dump_bb_for_graph): Prototype.
* gimple-pretty-print.c (print_gimple_expr): Flush the buffer.
(pp_gimple_stmt_1): Don't do it here.
(gimple_dump_bb_for_graph): New function.
* tree-pretty-print.c (print_generic_expr): Flush the buffer here.
(dump_generic_node): Don't flush the buffer here.

* graph.h (print_rtl_graph_with_bb): Rename to print_graph_cfg.
* graph.c: Include gimple.h, dumpfile.h, and gimple-pretty-print.h.
(draw_cfg_node): Handle GIMPLE basic blocks also.
(print_rtl_graph_with_bb): Rename to print_graph_cfg.
* passes.c (finish_optimization_passes): Don't finish graph dumps here.
(execute_function_dump): Use print_graph_cfg. Enable dumping the CFG
for GIMPLE also.
(pass_init_dump_file): Wrap in TV_DUMP.  Set up CFG graph dumps.
(pass_fini_dump_file): Wrap in TV_DUMP.  Finish graph dumps.
(execute_one_pass): Don't set up graph dumps here.

From-SVN: r194085

11 years agoFix PR c/55570.
Marek Polacek [Mon, 3 Dec 2012 13:02:04 +0000 (13:02 +0000)]
Fix PR c/55570.

From-SVN: r194083

11 years agotree-ssa.c (warn_uninitialized_var): Use OPT_Wmaybe_uninitialized tag in the non...
Eric Botcazou [Mon, 3 Dec 2012 12:08:35 +0000 (12:08 +0000)]
tree-ssa.c (warn_uninitialized_var): Use OPT_Wmaybe_uninitialized tag in the non-always executed case.

* tree-ssa.c (warn_uninitialized_var): Use OPT_Wmaybe_uninitialized tag
in the non-always executed case.

From-SVN: r194082

11 years agoasan-dg.exp (asan_get_gtest_test_list, [...]): New procedures.
Jakub Jelinek [Mon, 3 Dec 2012 11:49:41 +0000 (12:49 +0100)]
asan-dg.exp (asan_get_gtest_test_list, [...]): New procedures.

* lib/asan-dg.exp (asan_get_gtest_test_list,
asan_get_gtest_expect_death_list, asan-gtest): New procedures.
(proc ${tool}_load): Remember [asan_get_gtest_test_list "$output"]
and [asan_get_gtest_expect_death_list "$output"] in global vars.
(asan_symbolize): Sanitize [] characters from key.
* g++.dg/asan/asan_test_config.h: New file.
* g++.dg/asan/asan_globals_test.cc: New file.
* g++.dg/asan/asan_test_utils.h: New file.
* g++.dg/asan/dejagnu-gtest.h: New file.
* g++.dg/asan/asan_test.cc: New file.
* g++.dg/asan/asan_test.C: New test.

From-SVN: r194081

11 years ago[AARCH64] Refactor constant generation.
Sofiane Naci [Mon, 3 Dec 2012 11:13:41 +0000 (11:13 +0000)]
[AARCH64] Refactor constant generation.

2012-12-03  Sofiane Naci  <sofiane.naci@arm.com>

* config/aarch64/aarch64.c (aarch64_build_constant): Update prototype.
Call emit_move_insn instead of printing movi/movn/movz instructions.
Call gen_insv_immdi instead of printing movk instruction.
(aarch64_add_constant): Update prototype.
Generate RTL instead of printing add/sub instructions.
(aarch64_output_mi_thunk): Update calls to aarch64_build_constant
and aarch64_add_constant.

From-SVN: r194080

11 years agopr35634.c: Use signed char.
Richard Biener [Mon, 3 Dec 2012 10:45:16 +0000 (10:45 +0000)]
pr35634.c: Use signed char.

2012-12-03  Richard Biener  <rguenther@suse.de>

* gcc.dg/torture/pr35634.c: Use signed char.
* g++.dg/torture/pr35634.C: Likewise.

From-SVN: r194078

11 years agore PR fortran/55475 (heap-buffer-overflow in fortran/error.c)
Tobias Burnus [Mon, 3 Dec 2012 08:56:11 +0000 (09:56 +0100)]
re PR fortran/55475 (heap-buffer-overflow in fortran/error.c)

2012-12-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/55475
        * scanner.c (gfc_next_char_literal): Fix setting locus
        to free_line_length for the error message.
        * error.c (show_locus): Fix potential out-of-bounds
        read.

From-SVN: r194076

11 years agore PR fortran/37336 ([F03] Finish derived-type finalization)
Tobias Burnus [Mon, 3 Dec 2012 08:54:18 +0000 (09:54 +0100)]
re PR fortran/37336 ([F03] Finish derived-type finalization)

2012-11-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/37336
        * class.c (finalizer_insert_packed_call): New static function.
        (finalize_component, generate_finalization_wrapper):
        Fix coarray handling and packing.

From-SVN: r194075

11 years agocompiler: Fix field tracking for references in global initializers.
Ian Lance Taylor [Mon, 3 Dec 2012 07:21:16 +0000 (07:21 +0000)]
compiler: Fix field tracking for references in global initializers.

From-SVN: r194073

11 years agore PR bootstrap/53912 (bootstrap fails using default c++ mode in stage 2 and 3 for...
Kai Tietz [Mon, 3 Dec 2012 07:05:26 +0000 (08:05 +0100)]
re PR bootstrap/53912 (bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32)

PR target/53912
* ggc-common.c (POINTER_HASH): Cast from pointer via intptr_t.

From-SVN: r194072

11 years agore PR bootstrap/53912 (bootstrap fails using default c++ mode in stage 2 and 3 for...
Kai Tietz [Mon, 3 Dec 2012 07:02:17 +0000 (08:02 +0100)]
re PR bootstrap/53912 (bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32)

PR target/53912
* tree-dump.c (dump_pointer): Print pointer via HOST_WIDE_INT_PRINT.

From-SVN: r194070

11 years agocompiler: Don't encode non-ASCII characters in identifiers.
Ian Lance Taylor [Mon, 3 Dec 2012 06:57:04 +0000 (06:57 +0000)]
compiler: Don't encode non-ASCII characters in identifiers.

From-SVN: r194068

11 years agore PR bootstrap/53912 (bootstrap fails using default c++ mode in stage 2 and 3 for...
Kai Tietz [Mon, 3 Dec 2012 06:56:16 +0000 (07:56 +0100)]
re PR bootstrap/53912 (bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32)

PR target/53912
* pointer-set.c (hash1): Cast from pointer via uintptr_t.

From-SVN: r194067

11 years agocompiler: Fix nil func panics, constant type conversions.
Ian Lance Taylor [Mon, 3 Dec 2012 03:25:18 +0000 (03:25 +0000)]
compiler: Fix nil func panics, constant type conversions.

From-SVN: r194064

11 years agoDaily bump.
GCC Administrator [Mon, 3 Dec 2012 00:18:00 +0000 (00:18 +0000)]
Daily bump.

From-SVN: r194063

11 years agore PR middle-end/54838 (ICE: in merge_latch_edges, at cfgloop.c:678 with -ftracer)
Marek Polacek [Sun, 2 Dec 2012 20:16:09 +0000 (20:16 +0000)]
re PR middle-end/54838 (ICE: in merge_latch_edges, at cfgloop.c:678 with -ftracer)

PR54838

From-SVN: r194060

11 years agore PR gcov-profile/55551 (Revision 193999 breaks lto/profiledbootstrap)
Teresa Johnson [Sun, 2 Dec 2012 16:40:28 +0000 (16:40 +0000)]
re PR gcov-profile/55551 (Revision 193999 breaks lto/profiledbootstrap)

2012-12-02  Teresa Johnson  <tejohnson@google.com>

        PR gcov-profile/55551
* lto-cgraph.c (merge_profile_summaries): Handle scaled histogram
        entries that map to the same index.

From-SVN: r194055

11 years agooptabs.c (add_equal_note): Do not create self-referencing REG_EQUAL notes.
Steven Bosscher [Sun, 2 Dec 2012 15:46:26 +0000 (15:46 +0000)]
optabs.c (add_equal_note): Do not create self-referencing REG_EQUAL notes.

* optabs.c (add_equal_note): Do not create self-referencing REG_EQUAL
notes.
* fwprop.c (forward_propagate_and_simplify): Likewise.

From-SVN: r194054

11 years agofunction.h (struct rtl_data): Remove epilogue_delay_list.
Steven Bosscher [Sun, 2 Dec 2012 15:43:16 +0000 (15:43 +0000)]
function.h (struct rtl_data): Remove epilogue_delay_list.

* function.h (struct rtl_data): Remove epilogue_delay_list.
* reorg.c (find_end_label): Simplify always-true test.
(optimize_skip): Likewise.
* final.c (leaf_function_p): Don't loop over epilogue_delay_list.
(leaf_renumber_regs): Likewise.
* varasm.c (mark_constant_pool): Likewise.
* except.c (set_nothrow_function_flags): Likewise.
* cfgrtl.c (print_rtl_with_bb): Likewise.

From-SVN: r194053

11 years agoresolve.c (resolve_allocate_deallocate, [...]): Recover revisions 193568 and 193778...
Paul Thomas [Sun, 2 Dec 2012 15:23:30 +0000 (15:23 +0000)]
resolve.c (resolve_allocate_deallocate, [...]): Recover revisions 193568 and 193778...

2012-12-02  Paul Thomas  <pault@gcc.gnu.org>

* resolve.c (resolve_allocate_deallocate,
resolve_typebound_intrinsic_op): Recover revisions 193568 and
193778, which were accidentally reverted by the previous patch.

From-SVN: r194052

11 years agoRemove stray "gcc/" heading to previous^2 entry.
Hans-Peter Nilsson [Sun, 2 Dec 2012 11:34:55 +0000 (11:34 +0000)]
Remove stray "gcc/" heading to previous^2 entry.

From-SVN: r194051

11 years agommix.c (mmix_function_value): Set the mode of the returned PARALLEL to that of the...
Hans-Peter Nilsson [Sun, 2 Dec 2012 11:33:16 +0000 (11:33 +0000)]
mmix.c (mmix_function_value): Set the mode of the returned PARALLEL to that of the return-value, not VOIDmode.

* config/mmix/mmix.c (mmix_function_value): Set the mode of the
returned PARALLEL to that of the return-value, not VOIDmode.

From-SVN: r194050

11 years agoextend.texi: Various corrections to punctuation and grammar throughout the file.
Sandra Loosemore [Sun, 2 Dec 2012 04:26:39 +0000 (23:26 -0500)]
extend.texi: Various corrections to punctuation and grammar throughout the file.

2012-12-02  Sandra Loosemore  <sandra@codesourcery.com>

gcc/
* doc/extend.texi: Various corrections to punctuation and grammar
throughout the file.  Use consistent terminology and proper names.
Correct some minor markup issues.

From-SVN: r194049

11 years agomissing Changelog
Xinliang David Li [Sun, 2 Dec 2012 01:11:53 +0000 (01:11 +0000)]
missing Changelog

From-SVN: r194044

11 years agoDaily bump.
GCC Administrator [Sun, 2 Dec 2012 00:18:36 +0000 (00:18 +0000)]
Daily bump.

From-SVN: r194042

11 years agoreorg.c: Remove an obsolete comment.
Steven Bosscher [Sun, 2 Dec 2012 00:06:30 +0000 (00:06 +0000)]
reorg.c: Remove an obsolete comment.

* reorg.c: Remove an obsolete comment.
* config/pa/pa.md: Add back the HP-PA comment here, with details.

From-SVN: r194039

11 years agoEnable cltd for modern CPUs
Xinliang David Li [Sat, 1 Dec 2012 23:43:51 +0000 (23:43 +0000)]
Enable cltd for modern CPUs

From-SVN: r194038

11 years agore PR c++/55558 ([C++11] decltype on a static member variable in a template function...
Paolo Carlini [Sat, 1 Dec 2012 22:52:27 +0000 (22:52 +0000)]
re PR c++/55558 ([C++11] decltype on a static member variable in a template function results in an internal compiler error)

2012-12-01  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/55558
* g++.dg/cpp0x/decltype46.C: New.

From-SVN: r194036

11 years agoAdd newline.
John David Anglin [Sat, 1 Dec 2012 21:05:43 +0000 (21:05 +0000)]
Add newline.

From-SVN: r194028

11 years agore PR middle-end/52450 (FAIL: gcc.dg/torture/pr52402.c at -O1 and above)
John David Anglin [Sat, 1 Dec 2012 20:17:13 +0000 (20:17 +0000)]
re PR middle-end/52450 (FAIL: gcc.dg/torture/pr52402.c at -O1 and above)

PR middle-end/52450
* gcc.dg/torture/pr52402.c: Remove xfail for hppa*-*-hpux*.

From-SVN: r194026

11 years agore PR ada/52110 (s-osinte.ads:447:09: "clockid_t" conflicts with declaration at line...
John David Anglin [Sat, 1 Dec 2012 19:43:04 +0000 (19:43 +0000)]
re PR ada/52110 (s-osinte.ads:447:09: "clockid_t" conflicts with declaration at line 194)

PR ada/52110
* s-osinte-hpux-dce.ads: Declare pthread_rwlockattr_t and
pthread_rwlock_t subtypes.  Delete duplicate declaration of clockid_t.
* s-taspri-hpux-dce.ads: Change "pragma Atomic (Thread)" to comment.

From-SVN: r194024

11 years agore PR libstdc++/55503 (FAIL: 30_threads/condition_variable/members/53841.cc (test...
John David Anglin [Sat, 1 Dec 2012 18:25:11 +0000 (18:25 +0000)]
re PR libstdc++/55503 (FAIL: 30_threads/condition_variable/members/53841.cc (test for excess errors))

PR libstdc++/55503
* testsuite/30_threads/condition_variable/members/53841.cc: Add
hppa*-hp-hpux11* to -pthread dg-options.

From-SVN: r194021

11 years agoFix a typo in PR debug/53860 ChangeLog
H.J. Lu [Sat, 1 Dec 2012 16:10:30 +0000 (08:10 -0800)]
Fix a typo in PR debug/53860 ChangeLog

From-SVN: r194019

11 years agoAdd a testcase for PR debug/r53860
Zdenek Sojka [Sat, 1 Dec 2012 16:08:41 +0000 (08:08 -0800)]
Add a testcase for PR debug/r53860

PR debug/r53860
* g++.dg/debug/pr53860.C: New test.

From-SVN: r194018

11 years ago* MAINTAINERS: Remove self as RTL optimization maintainer.
Richard Sandiford [Sat, 1 Dec 2012 09:36:06 +0000 (09:36 +0000)]
* MAINTAINERS: Remove self as RTL optimization maintainer.

From-SVN: r194017

11 years agore PR fortran/46897 ([OOP] type-bound defined ASSIGNMENT(=) not used for derived...
Alessandro Fanfarillo [Sat, 1 Dec 2012 08:00:22 +0000 (08:00 +0000)]
re PR fortran/46897 ([OOP] type-bound defined ASSIGNMENT(=) not used for derived type component in intrinsic assign)

2012-12-01   Alessandro Fanfarillo <alessandro.fanfarillo@gmail.com>
             Paul Thomas  <pault@gcc.gnu.org>

PR fortran/46897
* gfortran.h : Add bit field 'defined_assign_comp' to
symbol_attribute structure.
Add primitive for gfc_add_full_array_ref.
* expr.c (gfc_add_full_array_ref): New function.
(gfc_lval_expr_from_sym): Call new function.
* resolve.c (add_comp_ref): New function.
(build_assignment): New function.
(get_temp_from_expr): New function
(add_code_to_chain): New function
(generate_component_assignments): New function that calls all
the above new functions.
(resolve_code): Call generate_component_assignments.
(check_defined_assignments): New function.
(resolve_fl_derived0): Call check_defined_assignments.
(gfc_resolve): Reset component_assignment_level in case it is
left in a bad state by errors.

* resolve.c (is_sym_host_assoc, resolve_procedure_interface,
resolve_contained_fntype, resolve_procedure_expression,
resolve_elemental_actual, resolve_global_procedure,
is_scalar_expr_ptr, gfc_iso_c_func_interface, resolve_function,
set_name_and_label, gfc_iso_c_sub_interface,
resolve_specific_s0, resolve_operator, compare_bound_mpz_t,
gfc_resolve_character_operator, resolve_typebound_function,
gfc_resolve_expr, forall_index, remove_last_array_ref,
conformable_arrays, resolve_allocate_expr,
resolve_allocate_deallocate, resolve_select_type,
resolve_transfer, resolve_where,
gfc_resolve_where_code_in_forall, gfc_resolve_forall_body,
gfc_count_forall_iterators, resolve_values,
resolve_bind_c_comms, resolve_bind_c_derived_types,
gfc_verify_binding_labels, apply_default_init,
build_default_init_expr, apply_default_init_local,
resolve_fl_var_and_proc, resolve_fl_procedure,
gfc_resolve_finalizers, check_generic_tbp_ambiguity,
resolve_typebound_intrinsic_op, resolve_typebound_procedure,
resolve_typebound_procedures, ensure_not_abstract,
resolve_fl_derived0, resolve_fl_parameter, resolve_symbol,
resolve_equivalence_derived): Remove trailing white space.
* gfortran.h : Remove trailing white space.

2012-12-01   Alessandro Fanfarillo <alessandro.fanfarillo@gmail.com>
             Paul Thomas  <pault@gcc.gnu.org>

PR fortran/46897
* gfortran.dg/defined_assignment_1.f90: New test.
* gfortran.dg/defined_assignment_2.f90: New test.
* gfortran.dg/defined_assignment_3.f90: New test.
* gfortran.dg/defined_assignment_4.f90: New test.
* gfortran.dg/defined_assignment_5.f90: New test.

Co-Authored-By: Paul Thomas <pault@gcc.gnu.org>
From-SVN: r194016

11 years agoDaily bump.
GCC Administrator [Sat, 1 Dec 2012 00:18:32 +0000 (00:18 +0000)]
Daily bump.

From-SVN: r194015

11 years agocompiler: Fix bug converting unnamed types with placeholders.
Ian Lance Taylor [Sat, 1 Dec 2012 00:15:16 +0000 (00:15 +0000)]
compiler: Fix bug converting unnamed types with placeholders.

From-SVN: r194011

11 years agore PR c++/55542 (g++ segmentation fault)
Jakub Jelinek [Fri, 30 Nov 2012 23:51:26 +0000 (00:51 +0100)]
re PR c++/55542 (g++ segmentation fault)

PR c++/55542
* pt.c (make_ith_pack_parameter_name): Return NULL if
name is NULL.
(tsubst_decl): Call make_ith_pack_parameter_name even if
DECL_NAME is NULL.

* g++.dg/cpp0x/vt-55542.C: New test.

From-SVN: r194010

11 years agostor-layout.c (bit_field_mode_iterator::bit_field_mode_iterator): Deal with degenerat...
Eric Botcazou [Fri, 30 Nov 2012 22:36:07 +0000 (22:36 +0000)]
stor-layout.c (bit_field_mode_iterator::bit_field_mode_iterator): Deal with degenerate cases where the bitsize isn't positive.

* stor-layout.c (bit_field_mode_iterator::bit_field_mode_iterator): Deal
with degenerate cases where the bitsize isn't positive.  Rework comment.

From-SVN: r194009

11 years agovalidate_failures.py: Add support for @include, @remove directives in manifest files.
Doug Evans [Fri, 30 Nov 2012 21:53:34 +0000 (21:53 +0000)]
validate_failures.py: Add support for @include, @remove directives in manifest files.

* testsuite-management/validate_failures.py: Add support for @include,
@remove directives in manifest files.

From-SVN: r194008

11 years agovalidate_failures.py: Add function GetManifestPath.
Doug Evans [Fri, 30 Nov 2012 20:06:27 +0000 (20:06 +0000)]
validate_failures.py: Add function GetManifestPath.

* testsuite-management/validate_failures.py: Add function
GetManifestPath.  New global _MANIFEST_SUBDIR.

From-SVN: r194007

11 years ago* config/rs6000/xcoff.h (ASM_OUTPUT_TLS_COMMON): Define.
David Edelsohn [Fri, 30 Nov 2012 19:02:53 +0000 (19:02 +0000)]
* config/rs6000/xcoff.h (ASM_OUTPUT_TLS_COMMON): Define.

From-SVN: r194004

11 years agoxcoffout.c (xcoff_tls_data_section_name): Define.
David Edelsohn [Fri, 30 Nov 2012 17:54:07 +0000 (17:54 +0000)]
xcoffout.c (xcoff_tls_data_section_name): Define.

        * xcoffout.c (xcoff_tls_data_section_name): Define.
        * xcoffout.h (xcoff_tls_data_section_name): Declare.
        * config/rs6000/rs6000.c (tls_data_section): Define.
        (TARGET_USE_BLOCKS_FOR_DECL_P): Define.
        (rs6000_legitimize_tls_address_aix): New function.
        (rs6000_legitimize_tls_address): Use new function for AIX.
        (rs6000_cannot_force_const_mem): No sum in TLS TOC symbols.
        Allow TLS symbol in constant pool other than ELF.
        (rs6000_legitimate_address_p): Allow TLS symbol other than ELF.
        (rs6000_assemble_visibility): Do not emit anything on AIX.
        (output_toc): Handle alias of TLS general-dynamic symbols.
        Emit TLS decorations on symbols.
        (rs6000_use_blocks_for_decl_p): New function.
        (rs6000_xcoff_output_tls_section_asm_op): New function.
        (rs6000_xcoff_asm_init_sections): Initialize tls_data_section.
        (rs6000_xcoff_select_section): Choose tls_data_section for
        thread-local storage.
        (rs6000_xcoff_file_start): Generate xcoff_tls_data_section_name.
        (rs6000_legitimate_constant_p): Allow TLS symbol other than ELF.
        * config/rs6000/rs6000.md (tls_tls_): Restrict to ELF.
        (tls_get_tpointer): New.
        (tle_get_tpointer_internal): New.
        (tls_get_addr<mode>): New.
        (tls_get_addr_internal<mode>): New.

From-SVN: r194003

11 years agoRevised patch to ensure that histograms from the profile summary are streamed...
Teresa Johnson [Fri, 30 Nov 2012 16:47:04 +0000 (16:47 +0000)]
Revised patch to ensure that histograms from the profile summary are streamed...

Revised patch to ensure that histograms from the profile summary are streamed
through the LTO files so that the working set can be computed for use in
downstream optimizations.

2012-11-30  Teresa Johnson  <tejohnson@google.com>

* lto-cgraph.c (output_profile_summary): Stream out sum_all
and histogram.
(input_profile_summary): Stream in sum_all and histogram.
(merge_profile_summaries): Merge sum_all and histogram, and
change to use RDIV.
(input_symtab): Call compute_working_sets after merging
summaries.
* gcov-io.c (gcov_histo_index): Make extern for compiler.
* gcov-io.h (gcov_histo_index): Ditto.
* profile.c (compute_working_sets): Remove static keyword.
* profile.h (compute_working_sets): Ditto.
* Makefile.in (lto-cgraph.o): Depend on profile.h.

From-SVN: r193999

11 years agore PR middle-end/52890 (Revision 185336 causes 10% degradation on cpu2000 benchmark...
Martin Jambor [Fri, 30 Nov 2012 16:11:33 +0000 (17:11 +0100)]
re PR middle-end/52890 (Revision 185336 causes 10% degradation on cpu2000 benchmark 252.eon)

2012-11-30  Martin Jambor  <mjambor@suse.cz>

PR middle-end/52890
PR tree-optimization/55415
PR tree-optimization/54386
PR target/55448
* ipa-prop.c (ipa_modify_call_arguments): Be optimistic when
get_pointer_alignment_1 returns false and the base was not a
dereference.
* tree-sra.c (access_precludes_ipa_sra_p): New parameter req_align,
added check for required alignment.  Update the user.

* testsuite/gcc.dg/ipa/ipa-sra-7.c: New test.
* testsuite/gcc.dg/ipa/ipa-sra-8.c: Likewise.
* testsuite/gcc.dg/ipa/ipa-sra-9.c: Likewise.
* testsuite/gcc.target/i386/pr55448.c: Likewise.

From-SVN: r193998

11 years agoMAINTAINERS (Write After Approval): Add myself.
Kyrylo Tkachov [Fri, 30 Nov 2012 15:55:36 +0000 (15:55 +0000)]
MAINTAINERS (Write After Approval): Add myself.

2012-11-30  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r193997

11 years agoFor attribute named "type", subdivide "alu" into "alu_reg" and "simple_alu_imm".
Ramana Radhakrishnan [Fri, 30 Nov 2012 15:17:48 +0000 (15:17 +0000)]
For attribute named "type", subdivide "alu" into "alu_reg" and "simple_alu_imm".

Set type attribute as appropriate in RTL patterns with immediate operands.
Update pipeline descriptions to use the new values of type attribute.

gcc/

2012-11-30  Ramana Radhakrishnan <Ramana.Radhakrishnan@arm.com>
            Greta Yorsh  <Greta.Yorsh@arm.com>

        * config/arm/arm.md (type): Subdivide "alu" into "alu_reg"
        and "simple_alu_imm".
        (core_cycles): Use new names.
        (arm_addsi3): Set type of patterns to use to alu_reg and simple_alu_imm.
        (addsi3_compare0, addsi3_compare0_scratch): Likewise.
        (addsi3_compare_op1, addsi3_compare_op2, compare_addsi2_op0): Likewise.
        (compare_addsi2_op1, arm_subsi3_insn, subsi3_compare0): Likewise.
        (subsi3_compare, arm_decscc,arm_andsi3_insn): Likewise.
        (thumb1_andsi3_insn, andsi3_compare0_scratch): Likewise.
        (zeroextractsi_compare0_scratch,iorsi3_insn,iorsi3_compare0): Likewise.
        (iorsi3_compare0_scratch, arm_xorsi3, thumb1_xorsi3_insn): Likewise.
        (xorsi3_compare0, xorsi3_compare0_scratch): Likewise.
        (thumb1_zero_extendhisi2,arm_zero_extendhisi2_v6): Likewise.
        (thumb1_zero_extendqisi2_v, arm_zero_extendqisi2_v6): Likewise.
(thumb1_extendhisi2, arm_extendqisi_v6): Likewise.
(thumb1_extendqisi2, arm_movsi_insn): Likewise.
        (movsi_compare0, movhi_insn_arch4, movhi_bytes): Likewise.
        (arm_movqi_insn, thumb1_movqi_insn, arm_cmpsi_insn): Likewise.
        (movsicc_insn, if_plus_move, if_move_plus): Likewise.
        * config/arm/neon.md (neon_mov<mode>/VDX): Likewise.
        (neon_mov<mode>/VQXMOV): Likewise.
        * config/arm/arm1020e.md (1020alu_op): Likewise.
        * config/arm/fmp626.md (mp626_alu_op): Likewise.
        * config/arm/fa726te.md (726te_alu_op): Likewise.
        * config/arm/fa626te.md (626te_alu_op): Likewise.
        * config/arm/fa606te.md (606te_alu_op): Likewise.
        * config/arm/fa526.md (526_alu_op): Likewise.
        * config/arm/cortex-r4.md (cortex_r4_alu, cortex_r4_mov): Likewise.
        * config/arm/cortex-m4.md (cortex_m4_alu): Likewise.
        * config/arm/cortex-a9.md (cprtex_a9_dp): Likewise.
        * config/arm/cortex-a8.md (cortex_a8_alu, cortex_a8_mov): Likewise.
        * config/arm/cortex-a5.md (cortex_a5_alu): Likewise.
        * config/arm/cortex-a15.md (cortex_a15_alu): Likewise.
        * config/arm/arm926ejs.md (9_alu_op): Likewise.
        * config/arm/arm1136jfs.md (11_alu_op): Likewise.
        * config/arm/arm1026ejs.md (alu_op): Likewise.

Co-Authored-By: Greta Yorsh <greta.yorsh@arm.com>
From-SVN: r193996

11 years agotree-ssa-pre.c (get_expr_value_id): Do not allocate value-ids here.
Richard Biener [Fri, 30 Nov 2012 12:46:00 +0000 (12:46 +0000)]
tree-ssa-pre.c (get_expr_value_id): Do not allocate value-ids here.

2012-11-30  Richard Biener  <rguenther@suse.de>

* tree-ssa-pre.c (get_expr_value_id): Do not allocate value-ids
here.

From-SVN: r193993

11 years agotree-ssa-sccvn.c (run_scc_vn): Remove iteration propagating value_ids.
Richard Biener [Fri, 30 Nov 2012 10:58:22 +0000 (10:58 +0000)]
tree-ssa-sccvn.c (run_scc_vn): Remove iteration propagating value_ids.

2012-11-30  Richard Biener  <rguenther@suse.de>

* tree-ssa-sccvn.c (run_scc_vn): Remove iteration propagating
value_ids.

From-SVN: r193992

11 years agotree-ssa-sccvn.c (run_scc_vn): Remove iteration propagating value_ids.
Richard Biener [Fri, 30 Nov 2012 10:58:05 +0000 (10:58 +0000)]
tree-ssa-sccvn.c (run_scc_vn): Remove iteration propagating value_ids.

2012-11-30  Richard Biener  <rguenther@suse.de>

* tree-ssa-sccvn.c (run_scc_vn): Remove iteration propagating
value_ids.

From-SVN: r193991

11 years agocoretypes.h (struct pretty_print_info): Make a coretype.
Steven Bosscher [Fri, 30 Nov 2012 09:46:02 +0000 (09:46 +0000)]
coretypes.h (struct pretty_print_info): Make a coretype.

* coretypes.h (struct pretty_print_info): Make a coretype.
(typedef pretty_printer): Likewise.
* pretty-print.h (typedef pretty_printer): Not needed here anymore.
* pretty-print.c (pp_write_text_as_dot_label_to_stream): New function.
* rtl.h (str_pattern_slim): New prototype.
(print_value, print_pattern, print_insn): Adjust prototypes to take
a pretty-printer rather than a char buffer.
* sched-vis.c (safe_concat): Remove.
(print_exp): Print into a pretty-printer.
(print_value): Likewise.
(print_pattern): Likewise.
(print_insn): Likewise.
(print_insn_with_notes): New static function.
(init_rtl_slim_pretty_print): New function.
(dump_value_slim): Simplify.  Print into and flush a pretty-printer.
(dump_insn_slim): Likewise.
(dump_rtl_slim): Likewise.
(str_pattern_slim): New function.
* haifa-sched.c (model_recompute): Use str_pattern_slim instead of
static buffers.
(model_record_pressures): Likewise.
(schedule_insn): Likewise.
* sel-sched-dump.c (dump_insn_rtx_1): Likewise.
(sel_prepare_string_for_dot_label): Refer to graph.c CFG dumper code.
* graph.c: Include pretty-print.h.
(init_graph_slim_pretty_print): New function.
(print_escaped_line): Removed here, and reincarnated as
pp_write_text_as_dot_label_to_stream.
(draw_cfg_node): Print into a pretty printer.
(draw_cfg_node_succ_edges): Likewise.
(print_rtl_graph_with_bb): Likewise.
* Makefile.in (graph.o): Fix dependencies.
(tree-optimize.o, toplev.o, sched-vis.o): Likewise.

From-SVN: r193990

11 years agotsan.c (is_load_of_const_p): Removed.
Jakub Jelinek [Fri, 30 Nov 2012 08:48:02 +0000 (09:48 +0100)]
tsan.c (is_load_of_const_p): Removed.

* tsan.c (is_load_of_const_p): Removed.
(instrument_expr): Use result of get_inner_reference
instead of get_base_address, avoid some unnecessary tests,
use !pt_solution_includes and !may_be_aliased tests to
check whether base might escape current function.

From-SVN: r193989

11 years agogensupport.c (maybe_eval_c_test): Remove not-null check for expr.
Michael Zolotukhin [Fri, 30 Nov 2012 08:43:07 +0000 (08:43 +0000)]
gensupport.c (maybe_eval_c_test): Remove not-null check for expr.

        * gensupport.c (maybe_eval_c_test): Remove not-null check for expr.
        * read-rtl.c (apply_iterators): Initialize condition with "" instead
        of NULL.

From-SVN: r193988

11 years agohost-mingw32.c (va_granularity): Make none-const.
Kai Tietz [Fri, 30 Nov 2012 08:10:34 +0000 (09:10 +0100)]
host-mingw32.c (va_granularity): Make none-const.

        * config/i386/host-mingw32.c (va_granularity): Make none-const.
        (mingw32_gt_pch_alloc_granularity): Return OS' allocation
        granularity.
        (mingw32_gt_pch_use_address): Retry mapping of used address
        as multiple instances might interfer.

From-SVN: r193987

11 years agomingw32.h (SHARED_LIBGCC_SPEC): Synchronize with cygwin-host.
Kai Tietz [Fri, 30 Nov 2012 08:09:02 +0000 (09:09 +0100)]
mingw32.h (SHARED_LIBGCC_SPEC): Synchronize with cygwin-host.

        * config/i386/mingw32.h (SHARED_LIBGCC_SPEC): Synchronize with
        cygwin-host.

From-SVN: r193986

11 years agocompiler: Fix fieldtrack info for unexported type.
Ian Lance Taylor [Fri, 30 Nov 2012 07:04:47 +0000 (07:04 +0000)]
compiler: Fix fieldtrack info for unexported type.

From-SVN: r193985

11 years agoDaily bump.
GCC Administrator [Fri, 30 Nov 2012 00:18:52 +0000 (00:18 +0000)]
Daily bump.

From-SVN: r193976

11 years agore PR middle-end/55321 (Ada bootstrap failure on armv5tel-linux-gnueabi)
Eric Botcazou [Thu, 29 Nov 2012 22:58:23 +0000 (22:58 +0000)]
re PR middle-end/55321 (Ada bootstrap failure on armv5tel-linux-gnueabi)

PR middle-end/55321
* calls.c (emit_library_call_value_1): Mark as no-nonlocal if no-throw.

From-SVN: r193973

11 years agovalidate_failures.py: Remove pass/fail indicator from result of GetBuildData.
Doug Evans [Thu, 29 Nov 2012 21:40:16 +0000 (21:40 +0000)]
validate_failures.py: Remove pass/fail indicator from result of GetBuildData.

* testsuite-management/validate_failures.py: Remove pass/fail
indicator from result of GetBuildData.

From-SVN: r193968

11 years agovalidate_failures.py: Store options in global variable _OPTIONS.
Doug Evans [Thu, 29 Nov 2012 21:35:07 +0000 (21:35 +0000)]
validate_failures.py: Store options in global variable _OPTIONS.

* testsuite-management/validate_failures.py: Store options in global
variable _OPTIONS.

From-SVN: r193967

11 years agovalidate_failures.py: Rename variable manifest_name to manifest_path everywhere.
Doug Evans [Thu, 29 Nov 2012 21:23:22 +0000 (21:23 +0000)]
validate_failures.py: Rename variable manifest_name to manifest_path everywhere.

* testsuite-management/validate_failures.py: Rename variable
manifest_name to manifest_path everywhere.

From-SVN: r193965

11 years agore PR c++/53137 (g++ segfault)
Jason Merrill [Thu, 29 Nov 2012 20:12:58 +0000 (15:12 -0500)]
re PR c++/53137 (g++ segfault)

PR c++/53137
* pt.c (tsubst_expr) [DECL_EXPR]: Set LAMBDA_EXPR_THIS_CAPTURE here.
(tsubst_copy_and_build) [LAMBDA_EXPR]: And clear it here.
(instantiate_class_template_1): Not here.

From-SVN: r193954

11 years agovalidate_failures.py (CompareBuilds): Pass options.results to GetSumFiles for clean...
Doug Evans [Thu, 29 Nov 2012 19:50:29 +0000 (19:50 +0000)]
validate_failures.py (CompareBuilds): Pass options.results to GetSumFiles for clean build.

* testsuite-management/validate_failures.py (CompareBuilds): Pass
options.results to GetSumFiles for clean build.

From-SVN: r193952

11 years agoDon't use -I for libstdc++-v3 header files
H.J. Lu [Thu, 29 Nov 2012 19:15:43 +0000 (19:15 +0000)]
Don't use -I for libstdc++-v3 header files

* Makefile.am (AM_MAKEFLAGS): Restore CC and CXX.
* configure.ac (ACX_NONCANONICAL_TARGET): Removed.
* asan/Makefile.am (AM_CXXFLAGS): Remove -I for libstdc++-v3 header
files.
(AM_MAKEFLAGS): Restore CC and CXX.
* interception/Makefile.am: Likewise.
* sanitizer_common/Makefile.am: Likewise.
* tsan/Makefile.am: Likewise.
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* asan/Makefile.in: Likewise.
* interception/Makefile.in: Likewise.
* sanitizer_common/Makefile.in: Likewise.
* tsan/Makefile.in: Likewise.

From-SVN: r193951

11 years agoRemove bootstrap=true from libsanitizer
H.J. Lu [Thu, 29 Nov 2012 19:13:08 +0000 (19:13 +0000)]
Remove bootstrap=true from libsanitizer

* Makefile.def (target_modules): Remove bootstrap=true and
raw_cxx=true from libsanitizer.
* configure.ac (bootstrap_target_libs): Remove libsanitizer.
* Makefile.in: Regenerated.
* configure: Likewise.

From-SVN: r193950

11 years agoUse explicit -I for libstdc++-v3 header files
H.J. Lu [Thu, 29 Nov 2012 19:01:17 +0000 (19:01 +0000)]
Use explicit -I for libstdc++-v3 header files

* Makefile.am (AM_MAKEFLAGS): Remove CC and CXX.
* configure.ac (ACX_NONCANONICAL_TARGET): New.
* asan/Makefile.am (AM_CXXFLAGS): Add -I for libstdc++-v3 header
files.
(AM_MAKEFLAGS): Remove CC and CXX.
* interception/Makefile.am: Likewise.
* sanitizer_common/Makefile.am: Likewise.
* tsan/Makefile.am: Likewise.
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* asan/Makefile.in: Likewise.
* interception/Makefile.in: Likewise.
* sanitizer_common/Makefile.in: Likewise.
* tsan/Makefile.in: Likewise.

From-SVN: r193949

11 years agore PR middle-end/55456 (454.calculix in SPEC CPU 2006 is miscompiled)
Vladimir Makarov [Thu, 29 Nov 2012 19:00:38 +0000 (19:00 +0000)]
re PR middle-end/55456 (454.calculix in SPEC CPU 2006 is miscompiled)

2012-11-29  Vladimir Makarov  <vmakarov@redhat.com>

PR middle-end/55456
* lra-int.h (lra_new_regno_start): New external.
* lra.c (lra_new_regno_start): New global.
(lra): Set up lra_new_regno_start.
* lra-constraints.c (match_reload): Sync values only for original
pseudos.

From-SVN: r193948

11 years agore PR bootstrap/53912 (bootstrap fails using default c++ mode in stage 2 and 3 for...
Kai Tietz [Thu, 29 Nov 2012 18:40:27 +0000 (19:40 +0100)]
re PR bootstrap/53912 (bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32)

PR target/53912
* prefix.c (lookup_key): Replace xmalloc/xrealloc
use by XNEWVEC/XRESIZEVEC.

From-SVN: r193946

11 years agocompiler, runtime: Track fields with tag go:"track".
Ian Lance Taylor [Thu, 29 Nov 2012 18:11:17 +0000 (18:11 +0000)]
compiler, runtime: Track fields with tag go:"track".

* go-gcc.cc: Include "output.h".
(global_variable): Add is_unique_section parameter.
(global_variable_set_init): Adjust unique section if necessary.
* Make-lang.in (go/go-gcc.o): Add dependency on output.h.

From-SVN: r193945

11 years agoUpdate Copyright years in gcc/config/epiphany .
Joern Rennecke [Thu, 29 Nov 2012 18:05:53 +0000 (18:05 +0000)]
Update Copyright years in gcc/config/epiphany .

From-SVN: r193944

11 years agore PR target/55073 (Wrong Neon code generation at -O2 caused by -fschedule-insns)
Richard Earnshaw [Thu, 29 Nov 2012 17:51:40 +0000 (17:51 +0000)]
re PR target/55073 (Wrong Neon code generation at -O2 caused by -fschedule-insns)

PR target/55073
* arm/neon.md (neon_vtrn<mode>_internal): Split into expand
and insn patterns.  Re-order insn arguments to tie inputs to
outputs.
(neon_vzip<mode>_internal): Likewise.
(neon_vuzp<mode>_internal): Likewise.

* gcc.target/arm/pr55073.C: New test.

From-SVN: r193943

11 years agoAdd the missing file
H.J. Lu [Thu, 29 Nov 2012 17:00:38 +0000 (09:00 -0800)]
Add the missing file

From-SVN: r193942