pault [Sun, 2 Dec 2012 15:23:30 +0000 (15:23 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194052
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 2 Dec 2012 11:34:55 +0000 (11:34 +0000)]
Remove stray "gcc/" heading to previous^2 entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194051
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 2 Dec 2012 11:33:16 +0000 (11:33 +0000)]
* config/mmix/mmix.c (mmix_function_value): Set the mode of the
returned PARALLEL to that of the return-value, not VOIDmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194050
138bc75d-0d04-0410-961f-
82ee72b054a4
sandra [Sun, 2 Dec 2012 04:26:39 +0000 (04:26 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194049
138bc75d-0d04-0410-961f-
82ee72b054a4
davidxl [Sun, 2 Dec 2012 01:11:53 +0000 (01:11 +0000)]
missing Changelog
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194044
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 2 Dec 2012 00:18:36 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194042
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Sun, 2 Dec 2012 00:06:30 +0000 (00:06 +0000)]
* reorg.c: Remove an obsolete comment.
* config/pa/pa.md: Add back the HP-PA comment here, with details.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194039
138bc75d-0d04-0410-961f-
82ee72b054a4
davidxl [Sat, 1 Dec 2012 23:43:51 +0000 (23:43 +0000)]
Enable cltd for modern CPUs
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194038
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 1 Dec 2012 22:52:27 +0000 (22:52 +0000)]
2012-12-01 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/55558
* g++.dg/cpp0x/decltype46.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194036
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 1 Dec 2012 21:05:43 +0000 (21:05 +0000)]
Add newline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194028
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 1 Dec 2012 20:17:13 +0000 (20:17 +0000)]
PR middle-end/52450
* gcc.dg/torture/pr52402.c: Remove xfail for hppa*-*-hpux*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194026
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 1 Dec 2012 19:43:04 +0000 (19:43 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194024
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 1 Dec 2012 18:25:11 +0000 (18:25 +0000)]
PR libstdc++/55503
* testsuite/30_threads/condition_variable/members/53841.cc: Add
hppa*-hp-hpux11* to -pthread dg-options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194021
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Sat, 1 Dec 2012 16:10:30 +0000 (16:10 +0000)]
Fix a typo in PR debug/53860 ChangeLog
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194019
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Sat, 1 Dec 2012 16:08:41 +0000 (16:08 +0000)]
Add a testcase for PR debug/r53860
PR debug/r53860
* g++.dg/debug/pr53860.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194018
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sat, 1 Dec 2012 09:36:06 +0000 (09:36 +0000)]
* MAINTAINERS: Remove self as RTL optimization maintainer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194017
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Sat, 1 Dec 2012 08:00:22 +0000 (08:00 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194016
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 1 Dec 2012 00:18:32 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194015
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sat, 1 Dec 2012 00:15:16 +0000 (00:15 +0000)]
compiler: Fix bug converting unnamed types with placeholders.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194011
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 30 Nov 2012 23:51:26 +0000 (23:51 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194010
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [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. Rework comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194009
138bc75d-0d04-0410-961f-
82ee72b054a4
devans [Fri, 30 Nov 2012 21:53:34 +0000 (21:53 +0000)]
* testsuite-management/validate_failures.py: Add support for @include,
@remove directives in manifest files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194008
138bc75d-0d04-0410-961f-
82ee72b054a4
devans [Fri, 30 Nov 2012 20:06:27 +0000 (20:06 +0000)]
* testsuite-management/validate_failures.py: Add function
GetManifestPath. New global _MANIFEST_SUBDIR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194007
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 30 Nov 2012 19:02:53 +0000 (19:02 +0000)]
* config/rs6000/xcoff.h (ASM_OUTPUT_TLS_COMMON): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194004
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 30 Nov 2012 17:54:07 +0000 (17:54 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194003
138bc75d-0d04-0410-961f-
82ee72b054a4
tejohnson [Fri, 30 Nov 2012 16:47:04 +0000 (16:47 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193999
138bc75d-0d04-0410-961f-
82ee72b054a4
jamborm [Fri, 30 Nov 2012 16:11:33 +0000 (16:11 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193998
138bc75d-0d04-0410-961f-
82ee72b054a4
ktkachov [Fri, 30 Nov 2012 15:55:36 +0000 (15:55 +0000)]
2012-11-30 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193997
138bc75d-0d04-0410-961f-
82ee72b054a4
gretay [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193996
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 30 Nov 2012 12:46:00 +0000 (12:46 +0000)]
2012-11-30 Richard Biener <rguenther@suse.de>
* tree-ssa-pre.c (get_expr_value_id): Do not allocate value-ids
here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193993
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 30 Nov 2012 10:58:22 +0000 (10:58 +0000)]
2012-11-30 Richard Biener <rguenther@suse.de>
* tree-ssa-sccvn.c (run_scc_vn): Remove iteration propagating
value_ids.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193992
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 30 Nov 2012 10:58:05 +0000 (10:58 +0000)]
2012-11-30 Richard Biener <rguenther@suse.de>
* tree-ssa-sccvn.c (run_scc_vn): Remove iteration propagating
value_ids.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193991
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Fri, 30 Nov 2012 09:46:02 +0000 (09:46 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193990
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 30 Nov 2012 08:48:02 +0000 (08:48 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193989
138bc75d-0d04-0410-961f-
82ee72b054a4
kyukhin [Fri, 30 Nov 2012 08:43:07 +0000 (08:43 +0000)]
* gensupport.c (maybe_eval_c_test): Remove not-null check for expr.
* read-rtl.c (apply_iterators): Initialize condition with "" instead
of NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193988
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Fri, 30 Nov 2012 08:10:34 +0000 (08:10 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193987
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Fri, 30 Nov 2012 08:09:02 +0000 (08:09 +0000)]
* config/i386/mingw32.h (SHARED_LIBGCC_SPEC): Synchronize with
cygwin-host.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193986
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 30 Nov 2012 07:04:47 +0000 (07:04 +0000)]
compiler: Fix fieldtrack info for unexported type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193985
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 30 Nov 2012 00:18:52 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193976
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 29 Nov 2012 22:58:23 +0000 (22:58 +0000)]
PR middle-end/55321
* calls.c (emit_library_call_value_1): Mark as no-nonlocal if no-throw.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193973
138bc75d-0d04-0410-961f-
82ee72b054a4
devans [Thu, 29 Nov 2012 21:40:16 +0000 (21:40 +0000)]
* testsuite-management/validate_failures.py: Remove pass/fail
indicator from result of GetBuildData.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193968
138bc75d-0d04-0410-961f-
82ee72b054a4
devans [Thu, 29 Nov 2012 21:35:07 +0000 (21:35 +0000)]
* testsuite-management/validate_failures.py: Store options in global
variable _OPTIONS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193967
138bc75d-0d04-0410-961f-
82ee72b054a4
devans [Thu, 29 Nov 2012 21:23:22 +0000 (21:23 +0000)]
* testsuite-management/validate_failures.py: Rename variable
manifest_name to manifest_path everywhere.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193965
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 29 Nov 2012 20:12:58 +0000 (20:12 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193954
138bc75d-0d04-0410-961f-
82ee72b054a4
devans [Thu, 29 Nov 2012 19:50:29 +0000 (19:50 +0000)]
* testsuite-management/validate_failures.py (CompareBuilds): Pass
options.results to GetSumFiles for clean build.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193952
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193951
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193950
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193949
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Thu, 29 Nov 2012 19:00:38 +0000 (19:00 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193948
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Thu, 29 Nov 2012 18:40:27 +0000 (18:40 +0000)]
PR target/53912
* prefix.c (lookup_key): Replace xmalloc/xrealloc
use by XNEWVEC/XRESIZEVEC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193946
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193945
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 29 Nov 2012 18:05:53 +0000 (18:05 +0000)]
Update Copyright years in gcc/config/epiphany .
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193944
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Thu, 29 Nov 2012 17:51:40 +0000 (17:51 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193943
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 29 Nov 2012 17:00:38 +0000 (17:00 +0000)]
Add the missing file
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193942
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 29 Nov 2012 16:33:35 +0000 (16:33 +0000)]
Add --with-build-config=bootstrap-asan support
* Makefile.def (target_modules): Add bootstrap=true and
raw_cxx=true to libsanitizer.
* configure.ac (bootstrap_target_libs): Add libsanitizer.
* Makefile.in: Regenerated.
* configure: Likewise.
config/
* bootstrap-asan.mk: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193940
138bc75d-0d04-0410-961f-
82ee72b054a4
glisse [Thu, 29 Nov 2012 15:40:16 +0000 (15:40 +0000)]
2012-11-29 Marc Glisse <marc.glisse@inria.fr>
PR c++/53094
gcc/
* fold-const.c (fold): Replace a CONSTRUCTOR with a VECTOR_CST.
gcc/cp/
* cvt.c (ocp_convert): Call convert_to_vector.
gcc/testsuite/
* g++.dg/ext/vector20.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193938
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Thu, 29 Nov 2012 15:26:29 +0000 (15:26 +0000)]
PR target/53912
* class.c (dump_class_hierarchy_r): Cast from pointer via uintptr_t.
(dump_vtable): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193934
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 29 Nov 2012 13:53:42 +0000 (13:53 +0000)]
2012-11-29 Richard Biener <rguenther@suse.de>
* tree-ssa-pre.c (get_expr_value_id): Do not add expr
to the set of value expressions here.
(add_to_exp_gen, make_values_for_phi): Fold into ...
(compute_avail): ... here, and avoid useless work. Dump
avail sets in processing order.
(do_pre): Do not dump avail sets here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193933
138bc75d-0d04-0410-961f-
82ee72b054a4
mgretton [Thu, 29 Nov 2012 10:02:16 +0000 (10:02 +0000)]
PR target/54974
* config/arm/arm.md (thumb2_pool_range, pool_range): Add comment on
Thumb pool ranges.
(thumb1_extendhisi2): Reduce Thumb pool range.
(arm_movdi): Likewise.
(thumb1_movdi_insn): Likewise.
(thumb1_movsi_insn): Likewise.
(pic_load_addr_unified): Likewise.
(pic_load_addr_32bit): Likewise.
(pic_load_addr_thumb1): Likewise.
(thumb1_movhf): Likewise.
(arm_movsf_soft_insn): Likewise.
(thumb1_movsf_soft_insn): Likewise.
(movdf_soft_insn): Likewise.
(thumb1_movdf_soft_insn): Likewise.
* config/arm/neon.md (*neon_mov<mode>): Likewise.
(*neon_mov<mode>): Likwise.
* config/arm/thumb2.md: (*thumb2_movsi_insn): Likewise.
(*thumb2_movhi_insn): Likewise.
(*thumb2_extendqisi_v6): Likewise.
(*thumb2_zero_extendqisi_v6): Likewise.
(*thumb2_zero_extendqisi2_v6): Likewise.
* config/arm/vfp.md: (*thumb2_movsi_vfp): Likewise.
(*movdi_vfp): Likewise.
(*movdi_vfp_cortexa8): Likewise.
(*thumb2_movsf_vfp): Likewise.
(*thumb2_movdf_vfp): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193930
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Thu, 29 Nov 2012 09:39:49 +0000 (09:39 +0000)]
PR target/55445
* libsupc++/eh_personaltity.cc (__SEH__): Additional check
for not being SjLj.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193929
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Thu, 29 Nov 2012 09:36:41 +0000 (09:36 +0000)]
PR target/55445
* unwind-c.c (__SEH__): Make sure SjLj isn't active.
* unwind-generic.h: Likewise.
* unwind-seh.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193928
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Thu, 29 Nov 2012 09:21:17 +0000 (09:21 +0000)]
PR target/55171
* i386.c (get_scratch_register_on_entry): Handle
thiscall-convention.
(split_stack_prologue_scratch_regno): Likewise.
(ix86_static_chain): Likewise.
(x86_output_mi_thunk): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193926
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Thu, 29 Nov 2012 08:43:48 +0000 (08:43 +0000)]
2012-11-28 Tobias Burnus <burnus@net-b.de>
PR fortran/52161
* trans-stmt.c (gfc_trans_sync): Fix bound checking
for -fcoarray=lib.
2012-11-28 Tobias Burnus <burnus@net-b.de>
PR fortran/52161
* coarray/sync_3.f90: Extend test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193924
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 29 Nov 2012 08:32:32 +0000 (08:32 +0000)]
PR rtl-optimization/55512
* gcc.target/i386/pr55512-2.c: Remove unnecessary define.
* gcc.target/i386/pr55512-4.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193923
138bc75d-0d04-0410-961f-
82ee72b054a4
mpolacek [Thu, 29 Nov 2012 07:40:44 +0000 (07:40 +0000)]
Improve debug message.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193922
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 29 Nov 2012 03:05:23 +0000 (03:05 +0000)]
* config/epiphany/epiphany.h (FIXED_REGISTERS, CALL_USED_REGISTERS):
Make r40..r43 call-used.
(REG_ALLOC_ORDER): Sort r40..r43 into the call-used registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193921
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 29 Nov 2012 02:43:19 +0000 (02:43 +0000)]
* config/epiphany/epiphany.c (epiphany_adjust_cost): Use
reg_overlap_mentioned_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193920
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 29 Nov 2012 02:39:20 +0000 (02:39 +0000)]
* config/epiphany/epiphany.md (isub_i+1): Work around generator bug.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193919
138bc75d-0d04-0410-961f-
82ee72b054a4
emsr [Thu, 29 Nov 2012 02:30:44 +0000 (02:30 +0000)]
gcc/c-family/
2012-11-29 Ed Smith-Rowland <3dw4rd@verizon.net>
PR c++/52654
* c-common.h (overflow_type): New enum.
(build_userdef_literal): Add overflow_type argument.
(tree_userdef_literal): Add overflow_type.
(USERDEF_LITERAL_OVERFLOW): New access macro.
* c-common.c (build_userdef_literal): Add overflow_type
argument.
* c-lex.c (c_lex_with_flags): Add overflow_type to
build_userdef_literal calls.
(interpret_integer, interpret_float): Add overflow_type argument.
gcc/cp/
2012-11-29 Ed Smith-Rowland <3dw4rd@verizon.net>
PR c++/52654
* parser.c (cp_parser_string_literal): Add overflow_type arg.
(cp_parser_userdef_numeric_literal): Warn on numeric overflow.
gcc/testsuite/
2012-11-29 Ed Smith-Rowland <3dw4rd@verizon.net>
PR c++/52654
* g++.dg/cpp0x/udlit-overflow.C: New.
* g++.dg/cpp0x/udlit-overflow-neg.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193918
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 29 Nov 2012 02:12:39 +0000 (02:12 +0000)]
* config/epiphany/epiphany.h (EPIPHANY_LIBRARY_EXTRA_SPEC): Define.
(EXTRA_SPECS, DRIVER_SELF_SPECS): Likewise.
* config/epiphany/t-epiphany (SPECS): Set.
(specs): New rule.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193917
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 29 Nov 2012 01:56:26 +0000 (01:56 +0000)]
Shift get_attr_sched_use_fpu declaration from last change from
config/epiphany/epiphany.h to config/epiphany/epiphany-protos.h .
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193916
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 29 Nov 2012 01:46:47 +0000 (01:46 +0000)]
* config/epiphany/predicates.md (addsub_operator): New predicate.
* config/epiphany/epiphany-sched.md (sched_use_fpu): New attribute.
* config/epiphany/epiphany.md (isub_i+1): New peephole2.
* config/epiphany/epiphany.h (get_attr_sched_use_fpu): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193915
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 29 Nov 2012 00:17:58 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193914
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 28 Nov 2012 23:01:03 +0000 (23:01 +0000)]
PR debug/36728
PR debug/55467
PR middle-end/55507
PR bootstrap/55511
* cselib.c (cselib_process_insn): If cselib_preserve_constants,
don't reset table and exit early on volatile insns and setjmp.
Reset table afterwards on setjmp.
* gcc.dg/guality/pr36728-1.c: Include "../nop.h", make sure the asm
are non-empty and add dependency between the first and second asm.
* gcc.dg/guality/pr36728-2.c: Likewise.
* gcc.dg/guality/pr36728-3.c: New test.
* gcc.dg/guality/pr36728-4.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193911
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Wed, 28 Nov 2012 22:11:29 +0000 (22:11 +0000)]
2012-11-28 Andrew Pinski <apinski@cavium.com>
PR bootstrap/54279
* configure.ac (CXX_FOR_TARGET): Change over to use xg++.
* configure: Regenerate.
* Makefile.tpl (POSTSTAGE1_CXX_EXPORT): Change over to use xg++.
* Makefile.in: Regenerate.
2012-11-28 Andrew Pinski <apinski@cavium.com>
PR bootstrap/54279
* Makefile.in (${QMTEST_DIR}/context): Use xg++ instead of g++.
2012-11-28 Andrew Pinski <apinski@cavium.com>
PR bootstrap/54279
* Make-lang.in (g++$(exeext)): Rename to
(xg++$(exeext)): This.
(g++-cross$(exeext)): Use xg++$(exeext) instead of g++$(exeext).
(c++.start.encap): Likewise.
(c++.install-common): Likewise.
2012-11-28 Andrew Pinski <apinski@cavium.com>
PR bootstrap/54279
* lib/g++.exp (g++_init): Search for xg++ instead of g++ in the build
directories.
* lib/obj-c++.exp (obj-c++_init): Likewise.
2012-11-28 Andrew Pinski <apinski@cavium.com>
PR bootstrap/54279
* scripts/testsuite_flags.in (--build-cxx): Use xg++ instead of g++.
* testsuite/lib/libstdc++.exp (libstdc++_init): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193910
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 28 Nov 2012 21:45:03 +0000 (21:45 +0000)]
gcc/
PR rtl-optimization/55052
* simplify-rtx.c (simplify_subreg): Restore SCALAR_INT_MODE_P check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193909
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Wed, 28 Nov 2012 21:42:17 +0000 (21:42 +0000)]
2012-11-28 Tobias Burnus <burnus@net-b.de>
PR fortran/52161
* trans-stmt.c (gfc_trans_sync): Fix bound checking.
2012-11-28 Tobias Burnus <burnus@net-b.de>
PR fortran/52161
* coarray/sync_3.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193908
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 28 Nov 2012 21:01:26 +0000 (21:01 +0000)]
PR libgcc/48076
* emutls.c (__emutls_get_address): Avoid race condition between
obj->loc.offset read and emutls_key initialization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193907
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Wed, 28 Nov 2012 20:22:58 +0000 (20:22 +0000)]
* target.def (use_blocks_for_decl_p): New hook.
* varasm.c (use_blocks_for_decl_p): Apply hook as final condition.
* doc/tm.texi.in (USE_BLOCKS_FOR_DECL_P): New description.
* doc/tm.texi: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193906
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 28 Nov 2012 20:13:22 +0000 (20:13 +0000)]
gcc/
PR middle-end/55438
* expmed.c (simple_mem_bitfield_p): New function, extracted from
store_bit_field_1 and extract_bit_field_1. Use GET_MODE_ALIGNMENT
rather than bitsize when checking the alignment.
(store_bit_field_1, extract_bit_field_1): Call it.
* stor-layout.c (bit_field_mode_iterator::bit_field_mode_iterator):
Don't limit ALIGN_. Assume that memory is mapped in chunks of at
least word size, regardless of BIGGEST_ALIGNMENT.
(bit_field_mode_iterator::get_mode): Use GET_MODE_ALIGNMENT rather
than unit when checking the alignment.
(get_best_mode): Use GET_MODE_ALIGNMENT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193905
138bc75d-0d04-0410-961f-
82ee72b054a4
devans [Wed, 28 Nov 2012 19:25:24 +0000 (19:25 +0000)]
* testsuite-management/validate_failures.py: Use <target_alias> instead
of <target>. Minor whitespace changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193904
138bc75d-0d04-0410-961f-
82ee72b054a4
devans [Wed, 28 Nov 2012 19:23:31 +0000 (19:23 +0000)]
* testsuite-management/validate_failures.py: Record ordinal with
TestResult.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193903
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Wed, 28 Nov 2012 18:06:34 +0000 (18:06 +0000)]
* gcc.target/i386/pr55458.c: Require ia32 target instead of ilp32.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193902
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Wed, 28 Nov 2012 17:42:39 +0000 (17:42 +0000)]
2012-11-28 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/55512
* lra-assigns.c (assign_by_spills): Assigned arbitrary hard regs
to failed reload pseudos instead of changing asm pattern.
* lra-constraints.c (MAX_CONSTRAINT_ITERATION_NUMBER): Increase
value.
2012-11-28 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/55512
* gcc.target/i386/pr55512-[1234].c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193901
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 28 Nov 2012 16:49:35 +0000 (16:49 +0000)]
PR other/55358
* dse.c (rest_of_handle_dse): Remove superfluous clearing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193900
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 28 Nov 2012 16:28:57 +0000 (16:28 +0000)]
PR testsuite/55505
* gcc.c-torture/execute/921202-1.c: Increase size of dx and dy
arrays.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193899
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 28 Nov 2012 16:28:06 +0000 (16:28 +0000)]
PR testsuite/55504
* gcc.c-torture/execute/
20071018-1.c (foo): Add noinline/noclone
attributes. Avoid clobbering memory before malloced chunk.
(main): Pass 1 instead of 0 as argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193898
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 28 Nov 2012 16:11:47 +0000 (16:11 +0000)]
* config/epiphany/epiphgany.md (maddsi_combine): Fix output pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193897
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 28 Nov 2012 16:10:18 +0000 (16:10 +0000)]
* config/epiphany/epiphany.opt (mfp-iarith): New option.
* config/epiphany/epiphgany.md (addsi3): Check for TARGET_FP_IARITH.
(subsi3, iadd, isub): Rename to ..
(subsi3_i, iadd_i, isub_i): .. This.
(subsi3, iadd, isub): New define_expands.
* config/epiphany/epiphgany.md (attribute type): Add v2fp.
(attribute fp_mode): Test for v2fp.
(<float_operation:insn_opname>v2sf3_i): Change type to v2fp.
* config/epiphany/epiphgany-sched.md (fp_arith_nearest, fp_arith_trunc):
Combine to ..
(fp_arith): .. this.
(v2fp_arith): New insn reservation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193896
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 28 Nov 2012 16:03:00 +0000 (16:03 +0000)]
Adjust last change to plus_constant change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193895
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 28 Nov 2012 15:36:13 +0000 (15:36 +0000)]
* config/epiphany/predicates.md (move_double_src_operand):
Check that misaligned addresses are offsettable.
(move_dest_operand): Likewise.
* config/epiphany/epiphany.c (REG_OK_FOR_BASE_P): Don't force a
misaligned stack address to reg+index.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193894
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 28 Nov 2012 13:56:28 +0000 (13:56 +0000)]
2012-11-28 Oleg Raikhman <oleg@adapteva.com>
* config/epiphany/epiphany.h (ASM_OUTPUT_ALIGN_WITH_NOP): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193892
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 28 Nov 2012 13:28:57 +0000 (13:28 +0000)]
* config/epiphany/epiphany.opt (-may-round-for-trunc): New option.
* config/epiphany/epiphany.md (*fix_truncsfsi2_i): Take it into account.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193891
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 28 Nov 2012 13:21:59 +0000 (13:21 +0000)]
* config/epiphany/epiphany.md (mov<mode>, *mov<mode>_insn): Check
for misaligned memory operands.
* config/epiphany/predicates.md (misaligned_operand): New predicate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193890
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 28 Nov 2012 13:18:25 +0000 (13:18 +0000)]
* config/epiphany/epiphany.h (HARD_REGNO_RENAME_OK): Define.
* config/epiphany/epiphany-protos.h (epiphany_regno_rename_ok): Declare.
* config/epiphany/epiphany.c (epiphany_regno_rename_ok): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193889
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 28 Nov 2012 12:18:39 +0000 (12:18 +0000)]
2012-11-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/54547
* tree-vrp.c (set_and_canonicalize_value_range): Handle
1-bit anti-ranges explicitely.
(extract_range_from_assert): Properly canonicalize all
built anti-ranges.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193888
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 28 Nov 2012 10:58:11 +0000 (10:58 +0000)]
Fix date and trailing space in previous commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193887
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 28 Nov 2012 10:51:19 +0000 (10:51 +0000)]
* stor-layout.c (layout_type) <ARRAY_TYPE>: Do not clear TREE_OVERFLOW
on overflowed zeroes, except in one specific case.
ada/
* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Use
valid_constant_size_p to detect too large objects.
<E_Subprogram_Type>: Likewise for too large return types.
(allocatable_size_p): Call valid_constant_size_p in the fixed case.
(annotate_value) <INTEGER_CST>: Simplify.
<BIT_AND_EXPR>: Deal with negative values here.
* gcc-interface/trans.c (gnat_to_gnu) <N_Assignment_Statement>: Use
valid_constant_size_p to detect too large objects on the LHS.
* gcc-interface/misc.c (default_pass_by_ref): Likewise for large types.
And use TYPE_SIZE_UNIT throughout.
(must_pass_by_ref): Likewise.
* gcc-interface/utils.c (max_size) <tcc_unary>: Split from common case.
<tcc_binary>: Likewise. Call size_binop instead of fold_build2.
<tcc_expression>: Simplify.
* gcc-interface/utils2.c (build_allocator): Use valid_constant_size_p
to detect too large allocations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193886
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 28 Nov 2012 10:49:39 +0000 (10:49 +0000)]
2012-11-28 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/55497
* g++.dg/init/pr55497.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193885
138bc75d-0d04-0410-961f-
82ee72b054a4
glisse [Wed, 28 Nov 2012 10:11:27 +0000 (10:11 +0000)]
2012-11-28 Marc Glisse <marc.glisse@inria.fr>
PR middle-end/55266
* fold-const.c (fold_ternary_loc) [BIT_FIELD_REF]: Handle
CONSTRUCTOR with vector elements.
* tree-ssa-propagate.c (valid_gimple_rhs_p): Handle CONSTRUCTOR
and BIT_FIELD_REF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193884
138bc75d-0d04-0410-961f-
82ee72b054a4