Commit Graph

127629 Commits

Author SHA1 Message Date
Jakub Jelinek
b59e0455e1 re PR rtl-optimization/59724 (ICE : in rtl_verify_bb_layout, at cfgrtl.c)
PR rtl-optimization/59724
	* ifcvt.c (cond_exec_process_if_block): Don't call
	flow_find_head_matching_sequence with 0 longest_match.
	* cfgcleanup.c (flow_find_head_matching_sequence): Count even
	non-active insns if !stop_after.
	(try_head_merge_bb): Revert 2014-01-07 changes.

From-SVN: r206456
2014-01-09 08:21:21 +01:00
Jeff Law
650c4c8531 ree.c (get_sub_rtx): New function, extracted from...
* ree.c (get_sub_rtx): New function, extracted from...
        (merge_def_and_ext): Here.
        (combine_reaching_defs): Use get_sub_rtx.

From-SVN: r206454
2014-01-08 21:42:38 -07:00
GCC Administrator
cfb28d297f Daily bump.
From-SVN: r206452
2014-01-09 00:17:01 +00:00
Eric Botcazou
ff36fcbe09 * cgraph.h (varpool_variable_node): Do not choke on null node.
From-SVN: r206449
2014-01-08 22:39:07 +00:00
Jakub Jelinek
03694c4310 re PR middle-end/59471 (ICE using vector extensions (non-top-level BIT_FIELD_REF, IMAGPART_EXPR or REALPART_EXPR))
PR middle-end/59471
	* gcc.dg/pr59471.c (foo): Avoid vector type arguments or return
	type, use pointers to vector type instead.

From-SVN: r206448
2014-01-08 23:33:12 +01:00
Catherine Moore
9f9d82aa23 umips-branch-3.c: New test.
2014-01-08  Catherine Moore  <clm@codesourcery.com>

	gcc/testsuite/
	* gcc.target/mips/umips-branch-3.c: New test.
	* gcc.target/mips/umips-branch-4.c: New test.

	gcc/
	* config/mips/mips.md (simple_return): Attempt to use JRC for microMIPS.
	* config/mips/mips.h (MIPS_CALL): Attempt to use JALS for microMIPS.

From-SVN: r206447
2014-01-08 17:26:05 -05:00
Richard Sandiford
3e17f4298d reassoc-32.c, [...]: Extend -mbranch-cost handling to MIPS.
gcc/testsuite/
	* gcc.dg/tree-ssa/reassoc-32.c, gcc.dg/tree-ssa/reassoc-33.c,
	gcc.dg/tree-ssa/reassoc-34.c, gcc.dg/tree-ssa/reassoc-35.c,
	gcc.dg/tree-ssa/reassoc-36.c: Extend -mbranch-cost handling to MIPS.
	* gcc.dg/tree-ssa/ssa-ifcombine-ccmp-1.c,
	gcc.dg/tree-ssa/ssa-ifcombine-ccmp-4.c,
	gcc.dg/tree-ssa/ssa-ifcombine-ccmp-5.c,
	gcc.dg/tree-ssa/ssa-ifcombine-ccmp-6.c,
	gcc.dg/tree-ssa/vrp87.c, gcc.dg/tree-ssa/forwprop-28.c: Skip for MIPS.

From-SVN: r206446
2014-01-08 22:17:23 +00:00
Richard Sandiford
df6c88082d re PR rtl-optimization/59137 (Miscompilation at -O1 on mips/mipsel)
gcc/
	PR rtl-optimization/59137
	* reorg.c (steal_delay_list_from_target): Call update_block for
	elided insns.
	(steal_delay_list_from_fallthrough, relax_delay_slots): Likewise.

gcc/testsuite/
	PR rtl-optimization/59137
	* gcc.target/mips/pr59137.c: New test.

From-SVN: r206445
2014-01-08 22:16:49 +00:00
François Dumont
ace295afeb stl_vector.h (std::vector<>::_M_move_assign): Pass *this allocator instance when building temporary vector instance so that...
2014-01-08  François Dumont  <fdumont@gcc.gnu.org>

	* include/bits/stl_vector.h (std::vector<>::_M_move_assign): Pass
	*this allocator instance when building temporary vector instance
	so that *this allocator does not get moved.
	* include/debug/safe_base.h
	(_Safe_sequence_base(_Safe_sequence_base&&)): New.
	* include/debug/vector (__gnu_debug::vector<>(vector&&)): Use new
	move constructor from _Safe_sequence_base.
	(__gnu_debug::vector<>(vector&&, const allocator_type&)): Swap
	safe iterators if the instance is moved.
	(__gnu_debug::vector<>::operator=(vector&&)): Likewise.
	* testsuite/23_containers/vector/allocator/move.cc (test01): Add
	check on a vector iterator.
	* testsuite/23_containers/vector/allocator/move_assign.cc
	(test02): Likewise.
	(test03): New, test with a non-propagating allocator.
	* testsuite/23_containers/vector/debug/move_assign_neg.cc: New.

From-SVN: r206444
2014-01-08 20:57:57 +00:00
Bill Schmidt
6170ceff5a rs6000-c.c (altivec_overloaded_builtins): Remove two duplicate entries.
2014-01-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Remove
	two duplicate entries.

From-SVN: r206443
2014-01-08 20:15:48 +00:00
Uros Bizjak
61072b6126 asm-1.c (dg-options): Remove -m32.
* gcc.target/i386/asm-1.c (dg-options): Remove -m32.
	* gcc.target/i386/incoming-5.c (dg-options): Ditto.
	* gcc.target/i386/pr55433.c (dg-options): Ditto.
	* gcc.target/i386/pr57848.c (dg-options): Ditto.
	* gcc.target/i386/pr59099.c (dg-options): Ditto.
	Require fpic effective target.
	* gcc.target/i386/pr56246.c (dg-do): Compile for fpic target only.

From-SVN: r206441
2014-01-08 20:45:54 +01:00
Richard Sandiford
3f140f3291 revert: mips.c (mips_truncated_op_cost): New function.
gcc/
	Revert:
	2012-10-07  Richard Sandiford  <rdsandiford@googlemail.com>

	* config/mips/mips.c (mips_truncated_op_cost): New function.
	(mips_rtx_costs): Adjust test for BADDU.
	* config/mips/mips.md (*baddu_di<mode>): Push truncates to operands.

	2012-10-02  Richard Sandiford  <rdsandiford@googlemail.com>

	* config/mips/mips.md (*baddu_si_eb, *baddu_si_el): Merge into...
	(*baddu_si): ...this new pattern.

From-SVN: r206440
2014-01-08 19:32:56 +00:00
Jason Merrill
f585f02f97 re PR c++/59614 (Explostion in compile time of heavily templated code)
PR c++/59614
	* class.c (abi_tag_data): Add tags field.
	(check_abi_tags): Initialize it.
	(find_abi_tags_r): Support collecting missing tags.
	(mark_type_abi_tags): Don't look at template args.
	(inherit_targ_abi_tags): New.
	(check_bases_and_members): Use it.
	* cp-tree.h (ABI_TAG_IMPLICIT): New.
	* mangle.c (write_abi_tags): Check it.

From-SVN: r206439
2014-01-08 13:48:31 -05:00
Jakub Jelinek
c6de666598 re PR ipa/59722 (Bootstrap comparison failure on i686-linux)
PR ipa/59722
	* ipa-prop.c (ipa_analyze_params_uses): Ignore uses in debug stmts.

	* gcc.dg/pr59722.c: New test.

From-SVN: r206438
2014-01-08 19:41:22 +01:00
Bernd Edlinger
4c437f02c2 re PR middle-end/57748 (ICE when expanding assignment to unaligned zero-sized array)
2014-01-08  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR middle-end/57748
        * expr.h (expand_expr_real, expand_expr_real_1): Add new parameter
        inner_reference_p.
        (expand_expr, expand_normal): Adjust.
        * expr.c (expand_expr_real, expand_expr_real_1): Add new parameter
        inner_reference_p. Use inner_reference_p to expand inner references.
        (store_expr): Adjust.
        * cfgexpand.c (expand_call_stmt): Adjust.

testsuite:
2014-01-08  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR middle-end/57748
        * gcc.dg/torture/pr57748-3.c: New test.
        * gcc.dg/torture/pr57748-4.c: New test.

From-SVN: r206437
2014-01-08 17:25:38 +00:00
Rong Xu
40d6b7535c gcov-io.c (gcov_var): Move from gcov-io.h.
2014-01-08  Rong Xu  <xur@google.com> 

	* gcc/gcov-io.c (gcov_var): Move from gcov-io.h.
	(gcov_position): Ditto.
	(gcov_is_error): Ditto.
	(gcov_rewrite): Ditto.
	* gcc/gcov-io.h: Refactor. Move gcov_var to gcov-io.h, and libgcov
	only part to libgcc/libgcov.h.
	* libgcc/libgcov-driver.c: Use libgcov.h.
	(buffer_fn_data): Use xmalloc instead of malloc.
	(gcov_exit_merge_gcda): Ditto.
	* libgcc/libgcov-driver-system.c (allocate_filename_struct): Ditto.
	* libgcc/libgcov.h: New common header files for libgcov-*.h.
	* libgcc/libgcov-interface.c: Use libgcov.h
	* libgcc/libgcov-merge.c: Ditto.
	* libgcc/libgcov-profiler.c: Ditto.
	* libgcc/Makefile.in: Add dependence to libgcov.h

From-SVN: r206435
2014-01-08 16:37:08 +00:00
Marek Polacek
ab04b46efc re PR middle-end/59669 (ICE: SIGSEGV with #pragma omp declare simd linear)
PR middle-end/59669
	* omp-low.c (simd_clone_adjust): Don't crash if def is NULL.
testsuite/
	* gcc.dg/gomp/pr59669-1.c: New test.
	* gcc.dg/gomp/pr59669-2.c: New test.

From-SVN: r206431
2014-01-08 15:37:35 +00:00
Martin Jambor
2a537fa74e re PR ipa/59610 (ICE in parm_preserved_before_stmt_p)
2014-01-08  Martin Jambor  <mjambor@suse.cz>

	PR ipa/59610
testsuite/
	* gcc.dg/ipa/pr59610.c: New test.

From-SVN: r206430
2014-01-08 16:32:50 +01:00
Janus Weil
76d3d479f3 re PR fortran/58182 (ICE with global binding name used as a FUNCTION)
2014-01-08  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/58182
	* resolve.c (gfc_verify_binding_labels): Modify order of checks.


2014-01-08  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/58182
	* gfortran.dg/binding_label_tests_26a.f90: New.
	* gfortran.dg/binding_label_tests_26b.f90: New.

From-SVN: r206429
2014-01-08 16:25:22 +01:00
Marek Polacek
06636b3267 re PR sanitizer/59667 (ubsan: ICE ubsan_type_descriptor)
PR sanitizer/59667
	* ubsan.c (ubsan_type_descriptor): Call strip_array_types on type2.
testsuite/
	* c-c++-common/ubsan/pr59667.c: New test.

From-SVN: r206423
2014-01-08 10:06:09 +00:00
Jakub Jelinek
c15677b61c re PR rtl-optimization/59649 (BImode miscompiled)
PR rtl-optimization/59649
	* stor-layout.c (get_mode_bounds): For BImode return
	0 and STORE_FLAG_VALUE.

From-SVN: r206422
2014-01-08 11:01:29 +01:00
Richard Biener
5c944c6cb8 re PR middle-end/59630 (ICE converting the return type of a builtin function)
2014-01-08  Richard Biener  <rguenther@suse.de>

	PR middle-end/59630
	* gimple.h (is_gimple_builtin_call): Remove.
	(gimple_builtin_call_types_compatible_p): New.
	(gimple_call_builtin_p): New overload.
	* gimple.c (is_gimple_builtin_call): Remove.
	(validate_call): Rename to ...
	(gimple_builtin_call_types_compatible_p): ... this and export.  Also
	check return types.
	(validate_type): New static function.
	(gimple_call_builtin_p): New overload and adjust.
	* gimple-fold.c (gimple_fold_builtin): Fold the return value.
	(gimple_fold_call): Likewise.  Use gimple_call_builtin_p.
	(gimple_fold_stmt_to_constant_1): Likewise.
	* tsan.c (instrument_gimple): Use gimple_call_builtin_p.

	* gcc.dg/pr59630.c: New testcase.

From-SVN: r206421
2014-01-08 09:06:27 +00:00
Richard Biener
0bd34ae421 re PR middle-end/59471 (ICE using vector extensions (non-top-level BIT_FIELD_REF, IMAGPART_EXPR or REALPART_EXPR))
2014-01-08  Richard Biener  <rguenther@suse.de>

	PR middle-end/59471
	* gimplify.c (gimplify_expr): Gimplify register-register type
	VIEW_CONVERT_EXPRs to separate stmts.

	* gcc.dg/pr59471.c: New testcase.

From-SVN: r206420
2014-01-08 08:59:29 +00:00
Jeff Law
3c92da9027 re PR middle-end/53623 (sign extension is effectively split into two x86-64 instructions)
PR middle-end/53623
	* ree.c (combine_set_extension): Handle case where source
	and destination registers in an extension insn are different.
	(combine_reaching_defs): Allow source and destination
	registers in extension to be different under limited
	circumstances.
	(add_removable_extension): Remove restriction that the
	source and destination registers in the extension are the
	same.
	(find_and_remove_re): Emit a copy from the extension's
	destination to its source after the defining insn if
	the source and destination registers are different.

	PR middle-end/53623
	* gcc.target/i386/pr53623.c: New test.

From-SVN: r206418
2014-01-07 23:03:12 -07:00
Jeff Law
04af8ab664 re PR middle-end/59285 (gcc.dg/builtin-unreachable-6.c:17:1: internal compiler error: in rtl_verify_fallthru, at cfgrtl.c:2862)
PR middle-end/59285
        * ifcvt.c (merge_if_block): If we are merging a block with more than
        one successor with a block with no successors, remove any BARRIER
        after the second block.

From-SVN: r206417
2014-01-07 22:56:31 -07:00
Jeff Law
955b33ed1d hw-doloop.c (reorg_loops): Release the bitmap obstack.
2014-01-07  Dan Xio Qiang <ziyan01@163.com>

        * hw-doloop.c (reorg_loops): Release the bitmap obstack.

From-SVN: r206416
2014-01-07 22:51:49 -07:00
Adam Butcher
03057b9836 Fix paths in previous testsuite ChangeLog.
From-SVN: r206415
2014-01-08 02:41:29 +00:00
John David Anglin
55ada375ea re PR target/59652 (ICE: in reload_cse_simplify_operands, at postreload.c:411)
PR target/59652
	* config/pa/pa.c (pa_legitimate_address_p): Return false before reload
	for 14-bit register offsets when INT14_OK_STRICT is false.

From-SVN: r206413
2014-01-08 01:58:35 +00:00
Ian Lance Taylor
747639c28f re PR go/59430 (os/user FAILs on Solaris)
PR go/59430
os/user: Use POSIX functions on Solaris.

From-SVN: r206412
2014-01-08 01:08:29 +00:00
Ian Lance Taylor
2da4a7611b re PR go/59433 (Many 64-bit Go tests SEGV on Solaris)
PR go/59433
net: Don't use stack space for fd_sets when using select.

From-SVN: r206411
2014-01-08 00:42:45 +00:00
GCC Administrator
06f4627b30 Daily bump.
From-SVN: r206410
2014-01-08 00:17:21 +00:00
Jason Merrill
1b7ac92269 re PR c++/58856 (spurious 'wrong number of template arguments' error for template alias)
PR c++/58856
	* pt.c (num_innermost_template_parms): New.
	(get_underlying_template): Use it.

From-SVN: r206406
2014-01-07 16:28:33 -05:00
Jason Merrill
5a5e7deb5f re PR c++/58965 ([c++11] ICE with member initializer in static union)
PR c++/58965
	* mangle.c (write_guarded_var_name): Handle null DECL_NAME.

From-SVN: r206405
2014-01-07 16:24:37 -05:00
Adam Butcher
62dd455c2e Update gcc/testsuite/ChangeLog with r206403's cosmetic changes.
From-SVN: r206404
2014-01-07 20:44:03 +00:00
Adam Butcher
e0109b519c Fix paths in my previous cp/ChangeLog entries (r206368-r206371) and fix layout in cpp1y PR testcases as pointed out by Jakub.
From-SVN: r206403
2014-01-07 20:36:16 +00:00
Roland Stigge
877c72e737 PR 57386/target
2014-01-07  Roland Stigge  <stigge@antcom.de>
	    Michael Meissner  <meissner@linux.vnet.ibm.com>

	PR 57386/target
	* config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
	Only check TFmode for SPE constants.  Don't check TImode or
	TDmode.


Co-Authored-By: Michael Meissner <meissner@linux.vnet.ibm.com>

From-SVN: r206401
2014-01-07 19:57:11 +00:00
Tim Shen
f43cc2a68d regex_compiler.h (_AnyMatcher<>::_AnyMatcher(), [...]): Fix _AnyMatcher behavior of POSIX style and move _M_flags to template parameter...
2014-01-07  Tim Shen  <timshen91@gmail.com>

	* include/bits/regex_compiler.h (_AnyMatcher<>::_AnyMatcher(),
	_AnyMatcher<>::operator(), _AnyMatcher<>::_M_apply(),
	_CharMatcher<>::_CharMatcher(), _CharMatcher<>::_M_translate(),
	_BracketMatcher<>::_BracketMatcher(), _BracketMatcher<>::operator(),
	_BracketMatcher<>::_M_add_char(),
	_BracketMatcher<>::_M_add_collating_element(),
	_BracketMatcher<>::_M_add_equivalence_class(),
	_BracketMatcher<>::_M_add_character_class(),
	_BracketMatcher<>::_M_make_range(), _BracketMatcher<>::_M_ready(),
	_BracketMatcher<>::_M_apply(), _BracketMatcher<>::_M_make_cache()):
	Fix _AnyMatcher behavior of POSIX style and move _M_flags
	to template parameter; Add cache for _BracketMatcher. Adjust
	declarations from here...
	* include/bits/regex.h (basic_regex<>::imbue()): ...to here. Also,
	imbuing a regex will trigger a recompilation to rebuild the cache.
	* include/bits/regex_compiler.tcc (_Compiler<>::_M_atom(),
	_Compiler<>::_M_bracket_expression()): Adjust matchers' caller for
	different template bool parameters.
	* include/bits/regex_executor.h: Remove unnecessary declarations.
	* include/std/regex: Adjust including orders.
	* testsuite/28_regex/traits/char/user_defined.cc: New.
	* testsuite/28_regex/traits/wchar_t/user_defined.cc: New.

From-SVN: r206400
2014-01-07 19:17:50 +00:00
James Greenhalgh
8b2721dab0 [AArch64] big.LITTLE option rewriting bug
gcc/

	* config/aarch64/aarch64-elf.h (ASM_SPEC): Remove identity spec for
	-mcpu.

From-SVN: r206399
2014-01-07 17:21:13 +00:00
Yufeng Zhang
5d72b79faa arm.c (arm_expand_neon_args): Call expand_expr with EXPAND_MEMORY for NEON_ARG_MEMORY...
gcc/

	* config/arm/arm.c (arm_expand_neon_args): Call expand_expr
	with EXPAND_MEMORY for NEON_ARG_MEMORY; check if the returned
	rtx is const0_rtx or not.

gcc/testsuite/

	* gcc.target/arm/neon/vst1Q_laneu64-1.c: New test.

From-SVN: r206395
2014-01-07 16:18:04 +00:00
Richard Sandiford
48d534390f re PR target/58115 (testcase gcc.target/i386/intrinsics_4.c failure)
gcc/
	PR target/58115
	* target-globals.c (save_target_globals): Remove this_fn_optab
	handling.
	* toplev.c: Include optabs.h.
	(target_reinit): Temporarily restore the global options if another
	set of options are in force.

gcc/testsuite/
	* gcc.target/i386/intrinsics_4.c (bar): New function.

From-SVN: r206394
2014-01-07 15:26:41 +00:00
Rainer Orth
14c12d0de0 Update Solaris baselines
* config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
	* config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
	* config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
	* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
	* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.

From-SVN: r206389
2014-01-07 12:46:53 +00:00
Paolo Carlini
1f872df762 semantics.c (trait_expr_value, [...]): Implement the letter of 20.11.6 about Base and Derived naming the same class...
/cp
2014-01-07  Paolo Carlini  <paolo.carlini@oracle.com>

	* semantics.c (trait_expr_value, [CPTK_IS_BASE_OF]): Implement
	the letter of 20.11.6 about Base and Derived naming the same
	class type modulo cv-qualifiers.

/testsuite
2014-01-07  Paolo Carlini  <paolo.carlini@oracle.com>

	* g++.dg/ext/is_base_of_incomplete-2.C: New.

From-SVN: r206386
2014-01-07 09:40:28 +00:00
Jakub Jelinek
a0cbe71e87 re PR rtl-optimization/58668 (internal compiler error: in cond_exec_process_insns, at ifcvt.c:339)
PR rtl-optimization/58668
	* cfgcleanup.c (flow_find_cross_jump): Don't count
	any jumps if dir_p is NULL.  Remove p1 variable, use active_insn_p
	to determine what is counted.
	(flow_find_head_matching_sequence): Use active_insn_p to determine
	what is counted.
	(try_head_merge_bb): Adjust for the flow_find_head_matching_sequence
	counting change.
	* ifcvt.c (count_bb_insns): Use active_insn_p && !JUMP_P to
	determine what is counted.

	* gcc.dg/pr58668.c: New test.

From-SVN: r206385
2014-01-07 08:54:47 +01:00
Jakub Jelinek
41626746d0 re PR tree-optimization/59643 (Predictive commoning unnecessarily punts on scimark2 SOR)
PR tree-optimization/59643
	* tree-predcom.c (split_data_refs_to_components): If one dr is
	read and one write, determine_offset fails and the write isn't
	in the bad component, just put the read into the bad component.

	* gcc.dg/pr59643.c: New test.
	* gcc.c-torture/execute/pr59643.c: New test.

From-SVN: r206384
2014-01-07 08:49:10 +01:00
Mike Stump
cc349a3901 re PR pch/59436 (FAIL: 17_intro/headers/c++200x/stdc++.cc (test for excess errors))
PR pch/59436
	* tree-core.h (struct tree_optimization_option): Change optabs
	type from unsigned char * to void *.
	* optabs.c (init_tree_optimization_optabs): Adjust
	TREE_OPTIMIZATION_OPTABS initialization.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>

From-SVN: r206383
2014-01-07 08:47:57 +01:00
GCC Administrator
69be2671a7 Daily bump.
From-SVN: r206382
2014-01-07 00:16:59 +00:00
Janus Weil
c9d3fa768b re PR fortran/59589 ([OOP] Memory leak when deallocating polymorphic)
2014-01-06  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/59589
	* class.c (comp_is_finalizable): New function to dermine if a given
	component is finalizable.
	(finalize_component, generate_finalization_wrapper): Use it.


2014-01-06  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/59589
	* gfortran.dg/class_allocate_16.f90: New.

From-SVN: r206379
2014-01-07 00:21:39 +01:00
Jakub Jelinek
529a647128 re PR target/59644 (r206243 miscompiles Linux kernel)
PR target/59644
	* config/i386/i386.h (struct machine_function): Add
	no_drap_save_restore field.
	* config/i386/i386.c (ix86_save_reg): Use
	!cfun->machine->no_drap_save_restore instead of
	crtl->stack_realign_needed.
	(ix86_finalize_stack_realign_flags): Don't clear drap_reg unless
	this function clears frame_pointer_needed.  Set
	cfun->machine->no_drap_save_restore if clearing frame_pointer_needed
	and DRAP reg is needed.

	* gcc.target/i386/pr59644.c: New test.

From-SVN: r206375
2014-01-06 22:38:27 +01:00
Ian Lance Taylor
71d0d50aa3 go/build: Set GOARCH on arm64 systems.
I am reliably informed that the architecture name and letter for the
plan9/inferno compilers for 64-bit ARM systems will be "arm64" and "7"
respectively, so let's get that bit in nice and early.

From Michael Hudson-Doyle.
https://codereview.appspot.com/34830045/

From-SVN: r206374
2014-01-06 19:24:23 +00:00
Marek Polacek
96066ce19b re PR c/57773 (-Wpedantic incorrect warning for enum bit-field)
PR c/57773
	* doc/implement-c.texi: Mention that other integer types are
	permitted as bit-field types in strictly conforming mode.
c/
	* c-decl.c (check_bitfield_type_and_width): Warn for implementation
	defined bit-field types only in ISO C.
testsuite/
	* gcc.dg/pr57773.c: New test.

From-SVN: r206373
2014-01-06 18:53:01 +00:00