123767 Commits

Author SHA1 Message Date
Kyrylo Tkachov
66071e103c arm-fixed.md (add<mode>3,usadd<mode>3,ssadd<mode>3, [...]): Adjust alternatives for arm_restrict_it.
2013-06-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* config/arm/arm-fixed.md (add<mode>3,usadd<mode>3,ssadd<mode>3,
	sub<mode>3, ussub<mode>3, sssub<mode>3, arm_ssatsihi_shift,
	arm_usatsihi): Adjust alternatives for arm_restrict_it.

From-SVN: r199739
2013-06-06 15:19:44 +00:00
Tobias Burnus
2297c8ce37 re PR fortran/57542 ([OOP] ICE on FINALization with specific options)
2013-06-06  Tobias Burnus  <burnus@net-b.de>

        PR fortran/57542
        * trans.c (gfc_build_final_call): Add se.pre to the block
        and modify the assert.

2013-06-06  Tobias Burnus  <burnus@net-b.de>

        PR fortran/57542
        * gfortran.dg/finalize_16.f90: New.

From-SVN: r199736
2013-06-06 16:36:41 +02:00
Kyrylo Tkachov
0e26bf3d4e arm-ldmstm.ml: Set "predicable_short_it" to "no" where appropriate.
2013-06-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* config/arm/arm-ldmstm.ml: Set "predicable_short_it" to "no"
	where appropriate.
	* config/arm/ldmstm.md: Regenerate.

From-SVN: r199734
2013-06-06 13:02:08 +00:00
Kyrylo Tkachov
12b4e7ef74 sync.md (atomic_loaddi_1): Disable predication for arm_restrict_it.
2013-06-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* config/arm/sync.md (atomic_loaddi_1):
	Disable predication for arm_restrict_it.
	(arm_load_exclusive<mode>): Likewise.
	(arm_load_exclusivesi): Likewise.
	(arm_load_exclusivedi): Likewise.
	(arm_load_acquire_exclusive<mode>): Likewise.
	(arm_load_acquire_exclusivesi): Likewise.
	(arm_load_acquire_exclusivedi): Likewise.
	(arm_store_exclusive<mode>): Likewise.
	(arm_store_exclusive<mode>): Likewise.
	(arm_store_release_exclusivedi): Likewise.
	(arm_store_release_exclusive<mode>): Likewise.

From-SVN: r199733
2013-06-06 12:59:04 +00:00
Richard Biener
15d16c8aeb lto-streamer.h (enum LTO_tags): Move LTO_tree_pickle_reference after LTO_null.
2013-06-06  Richard Biener  <rguenther@suse.de>

	* lto-streamer.h (enum LTO_tags): Move LTO_tree_pickle_reference
	after LTO_null.
	(lto_tag_is_tree_code_p): Adjust.
	(lto_tag_is_gimple_code_p): Likewise.
	(lto_gimple_code_to_tag): Likewise.
	(lto_tag_to_gimple_code): Likewise.
	(lto_tree_code_to_tag): Likewise.
	(lto_tag_to_tree_code): Likewise.
	* data-streamer.h (streamer_write_hwi_in_range): Use
	uhwi streaming to stream the normalized range.
	(streamer_read_hwi_in_range): Likewise.

From-SVN: r199732
2013-06-06 12:55:52 +00:00
Thomas Schwinge
48df3acb54 configure.tgt (XCFLAGS): Add -ftls-model=initial-exec for GNU/Hurd, as done for Linux-based systems.
libgomp/
	* configure.tgt (XCFLAGS): Add -ftls-model=initial-exec for
	GNU/Hurd, as done for Linux-based systems.

From-SVN: r199725
2013-06-06 12:04:49 +02:00
Thomas Schwinge
492992e223 ptrlock.h: Fix comment.
libgomp/
	* config/posix/ptrlock.h: Fix comment.

From-SVN: r199724
2013-06-06 12:04:34 +02:00
Marcus Shawcroft
fbb68970f7 Disable no-section-anchors-vect-68.C for aarch64 tiny memory model.
The vect/no-section-anchors-vect-68.C test case results in a binary that
is too large for the aarch64 tiny memory model.  This patch disables the
test case for that memory model.

From-SVN: r199720
2013-06-06 07:03:03 +00:00
GCC Administrator
e47e07dec1 Daily bump.
From-SVN: r199714
2013-06-06 00:16:42 +00:00
Balaji V. Iyer
6d6efbb3b3 +2013-06-04 Balaji V.
+2013-06-04  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       * c-typeck.c (convert_arguments): Moved checking of builtin cilkplus
+       reduction functions outside the for-loop.  Also, added a check if the
+       fundecl is non-NULL.
+

+2013-06-05  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       PR C/57457
+       * c-c++-common/cilk-plus/AN/pr57457.c: New test.
+       * c-c++-common/cilk-plus/AN/pr57457-2.c: Likewise.
+

From-SVN: r199709
2013-06-05 12:43:44 -07:00
Tom Tromey
0d471c50a3 * testsuite/libstdc++-prettyprinters/shared_ptr.cc: Use -O0.
From-SVN: r199708
2013-06-05 18:58:12 +00:00
Paolo Carlini
67f0183917 re PR c++/51908 ([C++11] ICE in cp_parser_abort_tentative_parse with decltype and variable template arguments)
/cp
2013-06-05  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/51908
	* parser.c (cp_parser_postfix_expression [RID_*CAST]): Set
	parser->in_type_id_in_expr_p before calling cp_parser_type_id.

/testsuite
2013-06-05  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/51908
	* g++.dg/cpp0x/decltype54.C: New.

From-SVN: r199707
2013-06-05 17:29:21 +00:00
Kyrylo Tkachov
17a7fc37d4 arm.md (enabled_for_depr_it): New attribute.
2013-06-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* config/arm/arm.md (enabled_for_depr_it): New attribute.
	(predicable_short_it): Likewise.
	(predicated): Likewise.
	(enabled): Handle above.
	(define_cond_exec): Set predicated attribute to yes.

From-SVN: r199705
2013-06-05 17:02:31 +00:00
Gerald Pfeifer
5124937746 re PR bootstrap/56714 (Bootstrap failure libitm/local_atomic:1580:3: error: always_inline function might not be inlinable)
PR bootstrap/56714
	* local_atomic (__always_inline): Always define our version.
	(__calculate_memory_order): Mark inline.
	(atomic_thread_fence): Ditto.
	(atomic_signal_fence): Ditto.
	(atomic_bool::atomic_flag_test_and_set_explicit): Ditto.
	(atomic_bool::atomic_flag_clear_explicit): Ditto.
	(atomic_bool::atomic_flag_test_and_set): Ditto.
	(atomic_bool::atomic_flag_clear): Ditto.

From-SVN: r199704
2013-06-05 16:48:14 +00:00
Mike Stump
b57ca59bbd * gdbinit.in (__FUNCTION__): Add.
From-SVN: r199702
2013-06-05 16:36:00 +00:00
Uros Bizjak
c1e183a9ea alpha.c (alpha_emit_conditional_move): Swap all GE, GT, GEU and GTU compares, modulo DImode compares with zero.
* config/alpha/alpha.c (alpha_emit_conditional_move): Swap all
	GE, GT, GEU and GTU compares, modulo DImode compares with zero.

From-SVN: r199701
2013-06-05 18:34:15 +02:00
Jan Hubicka
0378bddb9a varasm.c (mark_decl_referenced): Revert the removal until targets are fixed.
* varasm.c (mark_decl_referenced): Revert the removal until targets
	are fixed.

From-SVN: r199699
2013-06-05 15:29:12 +00:00
David Edelsohn
8f8a20576a rs6000.c (print_operand, 'z'): Use DECL_PRESERVE_P instead of mark_decl_referenced.
* config/rs6000/rs6000.c (print_operand, 'z'): Use DECL_PRESERVE_P
        instead of mark_decl_referenced.

From-SVN: r199698
2013-06-05 11:19:15 -04:00
Jan Hubicka
edb983b2cb class.c (emit_register_classes_in_jcr_section): Use DECL_PRESERVE_P instead of mark_decl_referenced.
* class.c (emit_register_classes_in_jcr_section): Use DECL_PRESERVE_P
	instead of mark_decl_referenced.

	* decl2.c (maybe_make_one_only): Use forced_by_abi instad of
	mark_decl_referenced.
	(mark_needed): Likewise.

	* cgraph.c (cgraph_remove_node): Clear forced_by_abi.
	(cgraph_node_cannot_be_local_p_1): Honnor symbol.forced_by_abi
	and symtab_used_from_object_file_p.
	(cgraph_make_node_local_1): Clear forced_by_abi.
	(cgraph_can_remove_if_no_direct_calls_and): Use forced_by_abi
	* cgraph.h (symtab_node_base): Add forced_by_abi.
	(decide_is_variable_needed): Remove.
	(varpool_can_remove_if_no_refs): Honnor symbol.forced_by_abi.
	* cgraphunit.c (cgraph_decide_is_function_needed): Rename to ..
	(decide_is_symbol_needed): ... this one; handle symbols in general;
	always analyze virtuals; honnor forced_by_abi.
	(cgraph_finalize_function): Update.
	(varpool_finalize_decl): Update.
	(symbol_defined_and_needed): Remove.
	(analyze_functions): Update.
	* lto-cgraph.c (lto_output_node, lto_output_varpool_node,
	output_refs, input_overwrite_node): Handle forced_by_abi.
	* ipa.c (cgraph_address_taken_from_non_vtable_p): Rename to ...
	(address_taken_from_non_vtable_p): ... this one.
	(comdat_can_be_unshared_p_1): New function.
	(cgraph_comdat_can_be_unshared_p): Rename to ...
	(comdat_can_be_unshared_p): ... this one; handle symbols in general.
	(varpool_externally_visible_p): Use comdat_can_be_unshared_p.
	(function_and_variable_visibility): Clear forced_by_abi as needed.
	* trans-mem.c (ipa_tm_mark_forced_by_abi_node): New functoin.
	(ipa_tm_create_version_alias, ipa_tm_create_version): Update.
	* varasm.c (mark_decl_referenced): Remove.
	* symtab.c (dump_symtab_base): Dump forced_by_abi.
	* varpool.c (decide_is_variable_needed): Remove.

From-SVN: r199695
2013-06-05 14:15:31 +00:00
Kyrylo Tkachov
9912dbe5c7 arm.c (MAX_INSN_PER_IT_BLOCK): New macro.
2013-06-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* config/arm/arm.c (MAX_INSN_PER_IT_BLOCK): New macro.
	(arm_option_override): Override arm_restrict_it where appropriate.
	(thumb2_final_prescan_insn): Use MAX_INSN_PER_IT_BLOCK.
	* config/arm/arm.opt (mrestrict-it): New command-line option.
	* doc/invoke.texi: Document -mrestrict-it.

From-SVN: r199694
2013-06-05 12:41:55 +00:00
James Greenhalgh
05fe45b882 fshort-wchar.c: add extra dg-options for arm*-*-*eabi* targets.
gcc/testsuite

	* gcc.dg/fshort-wchar.c: add extra dg-options for
	arm*-*-*eabi* targets.
	* gcc.dg/tree-ssa/pr42585.c: change dg-final to catch
	arm*-*-* targets.
	* gcc.dg/tree-ssa/pr43491.c: likewise.

From-SVN: r199692
2013-06-05 11:08:00 +00:00
David Malcolm
34c136b6b4 tsan.c (tsan_atomic_table): Make const.
* tsan.c (tsan_atomic_table): Make const.

From-SVN: r199690
2013-06-05 10:14:15 +00:00
Manfred Schwarb
41e887837a string_length_2.f90: Fix dg-do run.
2013-06-05  Manfred Schwarb  <manfred99@gmx.ch>
            Tobias Burnus  <burnus@net-b.de>

        * gfortran.dg/string_length_2.f90: Fix dg-do run.
        * gfortran.dg/io_real_boz_3.f90: Remove extra space in "dg-do
        * run".
        * gfortran.dg/io_real_boz_4.f90: Ditto.
        * gfortran.dg/io_real_boz_5.f90: Ditto.


Co-Authored-By: Tobias Burnus <burnus@net-b.de>

From-SVN: r199684
2013-06-05 10:28:01 +02:00
Richard Biener
a367df532e tree-streamer.c (streamer_tree_cache_insert_1): Update the index associated with the tree we are supposed to replace.
2013-06-05  Richard Biener  <rguenther@suse.de>

	* tree-streamer.c (streamer_tree_cache_insert_1): Update the
	index associated with the tree we are supposed to replace.
	* tree-streamer-out.c (pack_ts_base_value_fields): Output
	TREE_ASM_WRITTEN as zero for everything but SSA names.

	lto/
	* lto.c (num_merged_types): New global variable.
	(uniquify_nodes): Increase num_merged_types when merging a type.
	(print_lto_report_1): Output the number of merged types.

From-SVN: r199683
2013-06-05 08:21:02 +00:00
Andreas Schwab
c99299ff31 * gcc.dg/tree-ssa/attr-alias.c: Remove duplicated contents.
From-SVN: r199682
2013-06-05 08:15:49 +00:00
Nick Clifton
412e60dc05 Part of the patch to add support for the R100. Accidentally omitted from the checkin.
From-SVN: r199681
2013-06-05 07:31:38 +00:00
David Malcolm
70d51a19c7 tree-ssa-structalias.c (call_stmt_vars): Make static.
* tree-ssa-structalias.c (call_stmt_vars): Make static.

From-SVN: r199679
2013-06-05 00:52:32 +00:00
GCC Administrator
ef571f6ba7 Daily bump.
From-SVN: r199678
2013-06-05 00:16:46 +00:00
Jan Hubicka
b9bd2075e2 lto-cgraph.c (get_alias_symbol): Remove weakref sanity check.
* lto-cgraph.c (get_alias_symbol): Remove weakref sanity check.
	(input_node, input_varpool_node): Handle correctly external same
	body aliases.
	* ipa.c (symtab_remove_unreachable_nodes): Do not remove external
	nodes at ltrans stage.

From-SVN: r199675
2013-06-04 22:58:22 +00:00
Jan Hubicka
aaae719df3 attr-alias.c: New testcase.
* gcc.dg/tree-ssa/attr-alias.c: New testcase.

	* ipa-inline.c (update_caller_keys): Fix availability test.
	(update_callee_keys): Likewise.
	* symtab.c (symtab_alias_ultimate_target): Make availaiblity logic
	to follow ELF standard.

From-SVN: r199670
2013-06-04 19:44:51 +00:00
Jürgen Urban
107eea2ca4 gcc/
2013-06-03  Jürgen Urban  <JuergenUrban@gmx.de>

	* config.gcc (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
	(mips64r5900el-*-elf*): New configurations.
	* config/mips/mips-cpus.def (r5900): New processor.
	* config/mips/mips-tables.opt: Regenerate.
	* config/mips/mips.c (mips_rtx_cost_data): Add an R5900 entry.
	(mips_issue_rate): Handle PROCESSOR_R5900.
	(mips_reorg_process_insns): Force reorder mode for the R5900.
	* config/mips/mips.h (TARGET_MIPS5900): Define.
	(ISA_HAS_CONDMOVE, ISA_HAS_PREFETCH, ISA_HAS_HILO_INTERLOCKS): Include
	TARGET_MIPS5900.
	(ISA_HAS_LOAD_DELAY, ISA_HAS_XFER_DELAY, ISA_HAS_FCMP_DELAY): Exclude
	TARGET_MIPS5900.
	* config/mips/mips.md (processor): Add r5900.
	(MOVECC): Disallow CCmode conditions for TARGET_MIPS5900.

libgcc/
2013-06-03  Jürgen Urban  <JuergenUrban@gmx.de>

	* config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
	(mips64r5900el-*-elf*): New configurations.

From-SVN: r199666
2013-06-04 18:05:55 +00:00
Balaji V. Iyer
ce6a6ae175 Fix Cilk Plus tests for simulators.
2013-06-04  Balaji V. Iyer  <balaji.v.iyer@intel.com>

        * c-c++-common/cilk-plus/AN/array_test1.c (main): Replaced argc, argv
        parameters with void.
        (main2): Removed argc parameter.
        * c-c++-common/cilk-plus/AN/array_test2.c (main2): Likewise.
        (main): Replaced argc, argv parameters with void.
        * c-c++-common/cilk-plus/AN/array_test_ND.c (main): Likewise.
        (main2): Removed argc parameter.
        * c-c++-common/cilk-plus/AN/builtin_fn_custom.c (main): Replaced argc
        argv parameters with void.  Added __asm volatile to avoid optimization
        on argc, if necessary.
        * c-c++-common/cilk-plus/AN/builtin_fn_mutating (main): Likewise.
        * c-c++-common/cilk-plus/AN/builtin_func_double.c (main): Likewise.
        * c-c++-common/cilk-plus/AN/builtin_func_double2.c (main): Likewise.
        * c-c++-common/cilk-plus/AN/conditional.c (main): Likewise.
        * c-c++-common/cilk-plus/AN/exec-once.c (main): Likewise.
        * c-c++-common/cilk-plus/AN/exec-once2.c (main): Likewise.
        * c-c++-common/cilk-plus/AN/fn_ptr.c (main): Likewise.
        * c-c++-common/cilk-plus/AN/gather-scatter-errors.c (main): Likewise.
        * c-c++-common/cilk-plus/AN/gather_scatter.c (main): Likewise.
        * c-c++-common/cilk-plus/AN/misc.c (main): Likewise.
        * c-c++-common/cilk-plus/AN/parser_errors.c (main): Likewise.
        * c-c++-common/cilk-plus/AN/parser_errors2.c (main): Likewise.
        * c-c++-common/cilk-plus/AN/parser_errors3.c (main): Likewise.
        * c-c++-common/cilk-plus/AN/parser_errors4.c (main): Likewise.
        * c-c++-common/cilk-plus/AN/rank_mismatch2.c (main): Likewise.
        * c-c++-common/cilk-plus/AN/sec_implicit_ex.c (main): Likewise.
        * c-c++-common/cilk-plus/AN/sec_reduce_return.c (main): Likewise.
        * c-c++-common/cilk-plus/AN/test_builtin_return.c (main): Likewise.
        * c-c++-common/cilk-plus/AN/vla.c (main): Likewise.
        * c-c++-common/cilk-plus/AN/comma-exp.c (main): Replaced argc, argv
        parameters with void.
        (main2): Removed argc parameter.
        * c-c++-common/cilk-plus/AN/if_test.c (main2): Likewise.
        (main): Replaced argc, argv parameters with void.
        * c-c++-common/cilk-plus/AN/fp_triplet_values (main2): Replace argc,
        argv parameters with void.  Also renamed this function as main, and
        delete the existing main.
        * c-c++-common/cilk-plus/AN/sec_implicit.c (main2): Likewise.
        * c-c++-common/cilk-plus/AN/sec_implicit2.c (main2): Likewise.
        * c-c++-common/cilk-plus/AN/sec_reduce_max_min_ind.c (main2): Likewise.

From-SVN: r199661
2013-06-04 09:44:22 -07:00
Ian Bolton
b7342d25ed AArch64 - Improve MOVI handling (5/5)
From-SVN: r199658
2013-06-04 16:22:17 +00:00
Ian Bolton
81c2dfb933 AArch64 - Improve MOVI handling (4/5)
From-SVN: r199657
2013-06-04 16:19:17 +00:00
Ian Bolton
48063b9d41 AArch64 - Improve MOVI handling (3/5)
From-SVN: r199656
2013-06-04 16:16:58 +00:00
Ian Bolton
3ea63f60c0 AArch64 - Improve MOVI handling (2/5)
From-SVN: r199653
2013-06-04 15:35:24 +00:00
Ian Bolton
d8edd89988 AArch64 - Improve MOVI handling (1/5)
From-SVN: r199652
2013-06-04 15:32:22 +00:00
Alan Modra
5cc19c6246 ibm-ldouble.c: Enable for little-endian.
* config/rs6000/ibm-ldouble.c: Enable for little-endian.

From-SVN: r199650
2013-06-04 23:41:28 +09:30
Catherine Moore
44b20bb8ce mips.opt (meva): New.
2013-06-04  Catherine Moore  <clm@codesourcery.com>

        * config/mips/mips.opt (meva): New.
        * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS):
        Define __mips_eva.
        (ASM_SPEC): Handle -meva.
        * doc/invoke.texi (meva):  Document.

From-SVN: r199649
2013-06-04 09:11:18 -04:00
Alan Modra
52befbd84a rs6000.c (output_toc): Correct little-endian float constant output.
* config/rs6000/rs6000.c (output_toc): Correct little-endian float
	constant output.

From-SVN: r199646
2013-06-04 22:34:13 +09:30
Tobias Burnus
ef2925370e re PR fortran/37336 ([F03] Finish derived-type finalization)
2013-06-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/37336
        * trans.h (gfc_build_final_call): Remove prototype.
        (gfc_add_finalizer_call): Add prototype.
        * trans-array.c (gfc_trans_dealloc_allocated): Support
        * finalization.
        (structure_alloc_comps): Update caller.
        (gfc_trans_deferred_array): Call finalizer.
        * trans-array.h (gfc_trans_dealloc_allocated): Update prototype.
        * trans-decl.c (gfc_trans_deferred_vars): Don't
        * deallocate/finalize
        variables of the main program.
        * trans-expr.c (gfc_conv_procedure_call): Support finalization.
        * trans-openmp.c (gfc_omp_clause_dtor,
        gfc_trans_omp_array_reduction): Update calls.
        * trans-stmt.c (gfc_trans_deallocate): Avoid double deallocation
        of alloc components.
        * trans.c (gfc_add_finalizer_call): New function.
        (gfc_deallocate_with_status,
        gfc_deallocate_scalar_with_status): Call it
        (gfc_build_final_call): Fix handling of scalar coarrays,
        move up in the file and make static.

2013-06-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/37336
        * gfortran.dg/finalize_12.f90: New.
        * gfortran.dg/alloc_comp_basics_1.f90: Add BLOCK for
        end of scope finalization.
        * gfortran.dg/alloc_comp_constructor_1.f90: Ditto.
        * gfortran.dg/allocatable_scalar_9.f90: Ditto.
        * gfortran.dg/auto_dealloc_2.f90: Ditto.
        * gfortran.dg/class_19.f03: Ditto.
        * gfortran.dg/coarray_lib_alloc_1.f90: Ditto.
        * gfortran.dg/coarray_lib_alloc_2.f90: Ditto.
        * gfortran.dg/extends_14.f03: Ditto.
        * gfortran.dg/move_alloc_4.f90: Ditto.
        * gfortran.dg/typebound_proc_27.f03: Ditto.

From-SVN: r199643
2013-06-04 12:20:32 +02:00
Kyrylo Tkachov
aadaf24ef0 rtl.def: Add extra fourth optional field to define_cond_exec.
2013-06-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* rtl.def: Add extra fourth optional field to define_cond_exec.
	* gensupport.c (process_one_cond_exec): Process attributes from
	define_cond_exec.
	* doc/md.texi: Document fourth field in define_cond_exec.

From-SVN: r199640
2013-06-04 08:56:32 +00:00
Eric Botcazou
0cd9e9eeea expmed.c (extract_bit_field_1): In the larger-than-a-word case...
* expmed.c (extract_bit_field_1): In the larger-than-a-word case, factor
	out the processing order as in store_bit_field_1.

From-SVN: r199637
2013-06-04 07:41:18 +00:00
Manfred Schwarb
94b74637e0 bounds_check_7.f90: Remove "!
2013-06-03  Manfred Schwarb  <manfred99@gmx.ch>

        * gfortran.dg/bounds_check_7.f90: Remove "! {".
        * gfortran.dg/coarray_poly_3.f90: Remove inactive, broken dg-*.
        * gfortran.dg/default_initialization_5.f90: Update dg-do.
        * gfortran.dg/g77/f77-edit-s-out.f: Fix broken dg-output.
        * gfortran.dg/g77/f77-edit-t-out.f: Fix broken dg-output.
        * gfortran.dg/g77/f77-edit-x-out.f: Fix broken dg-output.
        * gfortran.dg/init_flag_11.f90: Fix broken dg-options.
        * gfortran.dg/io_real_boz_3.f90: Add comment regarding dg-do run.
        * gfortran.dg/io_real_boz_4.f90: Ditto.
        * gfortran.dg/io_real_boz_5.f90: Ditto.
        * gfortran.dg/namelist_print_1.f: Fix broken dg-output.
        * gfortran.dg/read_x_eor.f90: Fix broken dg-output.
        * gfortran.dg/repeat_1.f90: Improve dg-output pattern.
        * gfortran.dg/spread_bounds_1.f90: Fix broken dg-output.
        * gfortran.dg/transpose_2.f90: Fix dg-output.

From-SVN: r199636
2013-06-04 09:34:49 +02:00
Jan Hubicka
cb0f665d14 re PR middle-end/57500 (Segfault in ipa_record_reference)
2013-06-04  Jan Hubicka  <jh@suse.cz>

        PR middle-end/57500
        * cgraphunit.c (cgraph_process_same_body_aliases): Create
        non-VAR_DECL node if it does not exist yet.

From-SVN: r199634
2013-06-03 22:33:46 -04:00
GCC Administrator
3d5d3d4335 Daily bump.
From-SVN: r199633
2013-06-04 00:16:38 +00:00
Jason Merrill
3800c0108b correct changelog date
From-SVN: r199630
2013-06-03 19:17:06 -04:00
Jason Merrill
3aaaa103d7 class.c (mark_type_abi_tags): New.
* class.c (mark_type_abi_tags): New.
	(check_abi_tags): Use it.

From-SVN: r199629
2013-06-03 19:13:10 -04:00
Balaji V. Iyer
25c229379a Fixed a bug in expansion of array notations in if-statement conditions.
2013-06-03  Balaji V. Iyer  <balaji.v.iyer@intel.com>

       * c-typeck.c (c_finish_if_stmt): Added a check to see if the rank of the
       condition of the if-statement matches the rank of else-block and then-
       block when array notations are used.
       * c-parser.c (c_parser_declaration_or_fndef): Expanded array notation
       expression after the entire function body is parsed.
       (c_parser_expr_no_commas): Delayed creating array notation expressions
       to the end of function parsing.
       * c-array-notation.c (fix_conditional_array_notations_1): Expanded the
       whole if-statement instead of just the condition.
       (expand_array_notation_exprs): Added MODIFY_EXPR case.


2013-06-03  Balaji V. Iyer  <balaji.v.iyer@intel.com>

       * c-c++-common/cilk-plus/AN/if_test_errors.c (main): New testcase.
       * c-c++-common/cilk-plus/AN/rank_mismatch.c: Added a '-w' option to
       dg-option and an header comment.

From-SVN: r199628
2013-06-03 15:28:09 -07:00
Balaji V. Iyer
edd2564566 re PR c/57474 (FAIL: c-c++-common/cilk-plus/AN/sec_implicit2?.c -fcilkplus (internal compiler error) on x86_64-apple-darwin10)
2013-06-03  Balaji V. Iyer  <balaji.v.iyer@intel.com>

       PR c/57474
       * c-array-notation.c (build_array_notation_expr): Initialized rhs_length
       array to NULL_TREE if they are unused.  Also added a check for the
       field to be NULL before its fields are used in future.

From-SVN: r199627
2013-06-03 14:07:54 -07:00