Commit Graph

128705 Commits

Author SHA1 Message Date
Ian Lance Taylor
915182a087 go-gcc.cc (Gcc_backend::immutable_struct): If IS_COMMON, set DECL_WEAK.
* go-gcc.cc (Gcc_backend::immutable_struct): If IS_COMMON, set
	DECL_WEAK.
	(GCC_backend::immutable_struct_set_init): If IS_COMMON, clear
	DECL_WEAK.

From-SVN: r208301
2014-03-04 02:56:57 +00:00
GCC Administrator
9b1a9494e5 Daily bump.
From-SVN: r208299
2014-03-04 00:16:44 +00:00
Uros Bizjak
dd96e83ac7 xmmintrin.h (enum _mm_hint): Correct hint value.
* config/i386/xmmintrin.h (enum _mm_hint) <_MM_HINT_ET0>: Correct
	hint value.
	(_mm_prefetch): Move out of GCC target("sse") pragma.
	* config/i386/prfchwintrin.h (_m_prefetchw): Move out of
	GCC target("prfchw") pragma.
	* config/i386/i386.md (prefetch): Emit prefetchwt1 only
	for locality <= 2.
	* config/i386/i386.c (ix86_option_override_internal): Enable
	-mprfchw with -mprefetchwt1.

From-SVN: r208296
2014-03-04 00:24:12 +01:00
Joern Rennecke
220c1a5184 arc.md (casesi_load): Mark as varying.
* config/arc/arc.md (casesi_load) <length attribute alternative 0>:
        Mark as varying.

From-SVN: r208294
2014-03-03 22:09:02 +00:00
Joern Rennecke
7a3d0a39bf * config/arc/arc.opt (misize): Add PchIgnore property.
From-SVN: r208293
2014-03-03 22:01:57 +00:00
Joern Rennecke
212bfe71ed opts.h (CL_PCH_IGNORE): Define.
* opts.h (CL_PCH_IGNORE): Define.
        * targhooks.c (option_affects_pch_p):
        Return false for options that have CL_PCH_IGNORE set.
        * opt-functions.awk: Process PchIgnore.
        * doc/options.texi: Document PchIgnore.

From-SVN: r208292
2014-03-03 21:51:58 +00:00
Bill Schmidt
a42a7046eb configure.tgt: Unsupported for little endian PowerPC for now.
2014-03-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* configure.tgt: Unsupported for little endian PowerPC for now.

From-SVN: r208290
2014-03-03 20:36:56 +00:00
Bill Schmidt
b46ed885d9 rs6000.c (rs6000_preferred_reload_class): Disallow reload of PLUS rtx's outside of GENERAL_REGS or BASE_REGS...
2014-03-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* config/rs6000/rs6000.c (rs6000_preferred_reload_class): Disallow
	reload of PLUS rtx's outside of GENERAL_REGS or BASE_REGS; relax
	constraint on constants to permit them being loaded into
	GENERAL_REGS or BASE_REGS.

From-SVN: r208287
2014-03-03 20:16:52 +00:00
Ian Lance Taylor
a10d35a8ba libgo: Update to Go 1.2.1 release.
From-SVN: r208286
2014-03-03 20:14:52 +00:00
Joseph Myers
8c92028ea1 be.po, [...]: Update.
* be.po, ca.po, da.po, de.po, el.po, eo.po, es.po, fi.po, fr.po,
	id.po, ja.po, nl.po, pr_BR.po, ru.po, sr.po, sv.po, tr.po, uk.po,
	vi.po, zh_CN.po, zh_TW.po: Update.

From-SVN: r208285
2014-03-03 19:04:36 +00:00
Joseph Myers
edfc54cfa3 be.po, [...]: Update.
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, hr.po, id.po,
	ja.po, nl.po, ru.po, sr.po, sv.po, tr.po, vi.po, zh_CN.po,
	zh_TW.po: Update.

From-SVN: r208284
2014-03-03 19:03:00 +00:00
Nick Clifton
c6f709eccf rl78-real.md (cbranchsi4_real_signed): Add anti-cacnonical alternatives.
* config/rl78/rl78-real.md (cbranchsi4_real_signed): Add
	anti-cacnonical alternatives.
	(negandhi3_real): New pattern.
	* config/rl78/rl78-virt.md (negandhi3_virt): New pattern.

From-SVN: r208282
2014-03-03 17:17:49 +00:00
Senthil Kumar Selvaraj
5752f78f3b avr-mcus.def: Remove atxmega16x1.
* config/avr/avr-mcus.def: Remove atxmega16x1.
	* config/avr/avr-tables.opt: Regenerate.
	* config/avr/t-multilib: Regenerate.
	* doc/avr-mmcu.texi: Regenerate.

From-SVN: r208281
2014-03-03 20:04:47 +04:00
Kirill Yukhin
5833c9d773 avx512er-vexp2ps-2.c: Decrease exponent argument to avoid inf values.
gcc/testsuite/
	* gcc.target/i386/avx512er-vexp2ps-2.c: Decrease exponent
	argument to avoid inf values.
	* gcc.target/i386/avx512f-vdivps-2.c: Compare results with
	UNION_FP_CHECK machinery.

From-SVN: r208276
2014-03-03 12:45:59 +00:00
Renlin Li
0ad889dc5c validate_memory.h: Move f32in64 and i32in128 cases outside special big-endian processing block.
2014-03-03  Renlin Li  <Renlin.Li@arm.com>

	* gcc.target/aarch64/aapcs64/validate_memory.h: Move f32in64 and
	i32in128 cases outside special big-endian processing block.

From-SVN: r208275
2014-03-03 12:06:56 +00:00
Tobias Grosser
0afe73323d re PR tree-optimization/58028 (Several failures in libgomp.graphite after revision 200946)
2014-03-03  Tobias Grosser  <tobias@grosser.es>
	Mircea Namolaru  <mircea.namolaru@inria.fr>

	PR tree-optimization/58028
	* graphite-clast-to-gimple.c (set_cloog_options): Don't remove
	scalar dimensions.

Co-Authored-By: Mircea Namolaru <mircea.namolaru@inria.fr>

From-SVN: r208273
2014-03-03 11:39:22 +00:00
Jakub Jelinek
0f0d4bfeef re PR preprocessor/60400 (ICE with trigraphs)
PR preprocessor/60400
	* c-c++-common/cpp/pr60400.c: New test.
	* c-c++-common/cpp/pr60400-1.h: New file.
	* c-c++-common/cpp/pr60400-2.h: New file.

From-SVN: r208272
2014-03-03 12:12:22 +01:00
Jakub Jelinek
abffd8570b re PR objc++/60398 (FAIL: obj-c++.dg/invalid-method-2.mm -fgnu-runtime (test for errors, line 10))
PR objc++/60398
	* obj-c++.dg/invalid-method-2.mm: Adjust dg-error regexps.

From-SVN: r208270
2014-03-03 10:36:44 +01:00
Ramana Radhakrishnan
3416dd87b9 [ARM] Legitimize addresses for movmisalign<mode> for Neon.
2014-03-03  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	* config/arm/neon.md (*movmisalign<mode>): Legitimize addresses
	not handled by recognizers.

From-SVN: r208269
2014-03-03 08:09:14 +00:00
Jakub Jelinek
b3bdf019b7 c-pragma.c (c_pp_lookup_pragma): Handle PRAGMA_CILK_SIMD.
* c-pragma.c (c_pp_lookup_pragma): Handle PRAGMA_CILK_SIMD.
	(init_pragma): Call cpp_register_deferred_pragma for PRAGMA_CILK_SIMD
	even when flag_preprocess_only.

	* c-c++-common/cilk-plus/PS/vectorlength-2.c: New test.
	* c-c++-common/cilk-plus/PS/vectorlength-3.c: New test.

From-SVN: r208268
2014-03-03 08:27:46 +01:00
Jakub Jelinek
79c7fda6d5 re PR middle-end/60175 (ICE on gcc.dg/asan/nosanitize-and-inline.c)
PR middle-end/60175
	* function.c (expand_function_end): Don't emit
	clobber_return_register sequence if clobber_after is a BARRIER.
	* cfgexpand.c (construct_exit_block): Append instructions before
	return_label to prev_bb.

From-SVN: r208267
2014-03-03 08:25:50 +01:00
Bill Schmidt
715a5c85f7 constraints.md: Document reserved use of "wc".
2014-03-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* config/rs6000/constraints.md: Document reserved use of "wc".

From-SVN: r208266
2014-03-03 01:33:24 +00:00
GCC Administrator
dbdbf36aa9 Daily bump.
From-SVN: r208265
2014-03-03 00:16:41 +00:00
Jan Hubicka
9ffbf2714b re PR lto/60150 (ICE in function_and_variable_visibility, at ipa.c:1000)
PR ipa/60150
	* ipa.c (function_and_variable_visibility): When dissolving comdat
	group, also set all symbols to local.
	* g++.dg/lto/pr60150.H: New testcase.
	* g++.dg/lto/pr60150_0.C: New testcase.
	* g++.dg/lto/pr60150_1.C: New testcase.

From-SVN: r208262
2014-03-02 22:19:37 +00:00
Jan Hubicka
993df21e9a re PR ipa/60306 (Incorrect devirtualization "pure virtual method called")
PR ipa/60306

	Revert:
	2013-12-14   Jan Hubicka  <jh@suse.cz>
        PR middle-end/58477
        * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Skip clobbers.

	* testsuite/g++.dg/ipa/devirt-29.C: New testcase

From-SVN: r208261
2014-03-02 20:51:48 +00:00
Jon Beniston
9b0af790b7 re PR bootstrap/48230 (bootstrapping gcc-4.6.0-RC-20110321 fails for lm32-rtems*)
PR bootstrap/48230
	PR bootstrap/50927
	PR bootstrap/52466
	PR target/46898
	* config/lm32/lm32.c (lm32_legitimate_constant_p): Remove, as incorrect.
	  (TARGET_LEGITIMATE_CONSTANT_P): Undefine, as not needed.  
	* config/lm32/lm32.md (movsi_insn): Add 32-bit immediate support.
	(simple_return, *simple_return): New patterns     
	* config/lm32/predicates.md (movsi_rhs_operand): Remove as obsolete.
	* configure.ac (force_sjlj_exceptions): Force sjlj exceptions for lm32.

From-SVN: r208260
2014-03-02 19:58:24 +00:00
Bernd Edlinger
f1e443c838 re PR fortran/60236 (gfortran.dg/vect/pr32380.f fails on ARM)
2014-03-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR fortran/60236
        * gfortran.dg/vect/pr32380.f: Fix expected test results.

From-SVN: r208257
2014-03-02 18:06:49 +00:00
GCC Administrator
355a4de364 Daily bump.
From-SVN: r208254
2014-03-02 00:16:53 +00:00
Edward Smith-Rowland
2c5c8866a1 re PR c++/50025 ([DR 1288] C++0x initialization syntax doesn't work for class members of reference type)
2014-03-01  Edward Smith-Rowland  <3dw4rd@verizon.net>

	PR c++/50025
	* g++.dg/cpp0x/pr50025.C: New.

From-SVN: r208251
2014-03-01 22:51:25 +00:00
Adam Butcher
234b1504b1 re PR c++/60377 ([c++1y] ICE with invalid function parameter in conjunction with auto parameter)
Fix PR c++/60377.

	PR c++/60377
	* parser.c (cp_parser_parameter_declaration_clause): Unwind generic
	function scope on parse error in function parameter list.

	PR c++/60377
	* g++.dg/cpp1y/pr60377.C: New testcase.

From-SVN: r208250
2014-03-01 21:28:18 +00:00
Mikael Morin
2ce2989002 re PR fortran/60341 (ICE compiling Nonmem 6.2.0)
fortran/
        PR fortran/60341
        * frontend-passes.c (optimize_comparison): Guard two union
        accesses with the corresponding tag checks.

testsuite/
        PR fortran/60341
        * gfortran.dg/str_comp_optimize_1.f90: New test.

From-SVN: r208249
2014-03-01 21:14:54 +00:00
Paolo Carlini
c582aac943 method.c (implicitly_declare_fn): Remove redundant DECL_TEMPLATE_RESULT and STRIP_TEMPLATE uses.
/cp
2014-03-01  Paolo Carlini  <paolo.carlini@oracle.com>

	* method.c (implicitly_declare_fn): Remove redundant
	DECL_TEMPLATE_RESULT and STRIP_TEMPLATE uses.
	* semantics.c (is_instantiation_of_constexpr): Likewise.
	* error.c (dump_function_decl): Likewise.

2014-03-01  Paolo Carlini  <paolo.carlini@oracle.com>

	* dwarf2out.c (gen_subprogram_die): Tidy.

From-SVN: r208248
2014-03-01 21:14:00 +00:00
Jason Merrill
fe96264ffc re PR c++/60379 (pugixml build failure caused by r207001)
PR c++/60379
	* semantics.c (begin_maybe_infinite_loop): Use
	fold_non_dependent_expr_sfinae.

From-SVN: r208247
2014-03-01 14:40:33 -05:00
Jason Merrill
abb839ecac re PR c++/58845 (Operator || and && broken for vectors)
PR c++/58845
	* typeck.c (cp_build_binary_op): Sorry on vector&&vector.

From-SVN: r208243
2014-03-01 09:14:25 -05:00
Oleg Endo
19305875c2 re PR target/60071 ([SH] internal compiler error: in final_scan_insn, at final.c:2963)
PR target/60071
	* config/sh/sh.md (*mov_t_msb_neg): Split into ...
	(*mov_t_msb_neg_negc): ... this new insn.

	PR target/60071
	* gcc.c-torture/compile/pr60071.c: New.

From-SVN: r208242
2014-03-01 13:16:37 +00:00
Jason Merrill
570215f99d re PR c++/58678 (pykde4-4.11.2 link error (devirtualization too trigger happy))
PR c++/58678
	* ipa-devirt.c (ipa_devirt): Don't choose an implicitly-declared
	function.

From-SVN: r208241
2014-02-28 19:17:09 -05:00
GCC Administrator
e73cafdee1 Daily bump.
From-SVN: r208240
2014-03-01 00:17:05 +00:00
Joey Ye
dc11d79b74 re PR libgcc/60166 (ARM default NAN encoding violates EABI)
2014-02-28  Joey Ye  <joey.ye@arm.com>

        PR libgcc/60166
        * config/arm/sfp-machine.h (_FP_NANFRAC_H,
        _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
        Set to zero.

From-SVN: r208229
2014-02-28 21:53:40 +00:00
Janus Weil
3c3f892bf0 re PR fortran/60359 ([OOP] symbol `__io_MOD___copy_character_1' is already defined)
2014-02-28  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/60359
	* class.c (find_intrinsic_vtab): Prevent duplicate creation of copy
	procedure for characters.


2014-02-28  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/60359
	* gfortran.dg/unlimited_polymorphic_16.f90: New.

From-SVN: r208227
2014-02-28 22:30:04 +01:00
Paolo Carlini
f1ee5eaf07 re PR c++/58610 ([c++11] ICE with constexpr of class with template constructor)
/cp
2014-02-28  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/58610
	* cp-tree.h (DECL_DELETED_FN): Use LANG_DECL_FN_CHECK.
	* call.c (print_z_candidate): Remove STRIP_TEMPLATE use.
	* lambda.c (maybe_add_lambda_conv_op): Likewise.

/testsuite
2014-02-28  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/58610
	* g++.dg/cpp0x/constexpr-ice11.C: New.

From-SVN: r208226
2014-02-28 20:20:21 +00:00
Paolo Carlini
c5b001b5f0 re PR c++/60314 ([C++1y] ICE with decltype(auto) when generating debug information)
2014-02-25  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/60314
	* dwarf2out.c (is_cxx_auto): Handle decltype(auto).

/testsuite
2014-02-25  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/60314
	* g++.dg/cpp1y/auto-fn24.C: New.

From-SVN: r208225
2014-02-28 16:51:21 +00:00
Ian Bolton
5750e120d4 Define __ARM_NEON for aarch64 by default unless general_regs_only
From-SVN: r208224
2014-02-28 14:27:08 +00:00
Uros Bizjak
84d7e31285 * ChangeLog: Fix whitespace.
From-SVN: r208223
2014-02-28 14:55:32 +01:00
Richard Biener
fba7c56424 re PR tree-optimization/60280 (gcc.target/arm/ivopts.c and gcc.target/arm/ivopts-2.c failed caused by preserving loop structure.)
2014-02-28  Richard Biener  <rguenther@suse.de>

	PR target/60280
	* tree-cfgcleanup.c (tree_forwarder_block_p): Restrict
	previous fix and only allow to remove trivial pre-headers
	and latches.  Also honor LOOPS_MAY_HAVE_MULTIPLE_LATCHES.
	(remove_forwarder_block): Properly update the latch of
	a loop.

From-SVN: r208222
2014-02-28 13:14:23 +00:00
Alexandre Oliva
0618dee54e re PR debug/59992 (Compilation of insn-recog.c too slow due to var-tracking)
PR debug/59992
* cselib.c (cselib_hasher::equal): Special-case VALUE lookup.
(cselib_preserved_hash_table): New.
(preserve_constants_and_equivs): Move preserved vals to it.
(cselib_find_slot): Look it up first.
(cselib_init): Initialize it.
(cselib_finish): Release it.
(dump_cselib_table): Dump it.

From-SVN: r208221
2014-02-28 12:57:40 +00:00
Alexandre Oliva
22414f3ffc re PR debug/59992 (Compilation of insn-recog.c too slow due to var-tracking)
PR debug/59992
* cselib.c (remove_useless_values): Skip to avoid quadratic
behavior if the condition moved from...
(cselib_process_insn): ... here holds.

From-SVN: r208220
2014-02-28 12:57:06 +00:00
Alexandre Oliva
2e08491710 re PR debug/57232 (wcstol.c:213:1: internal compiler error)
PR debug/57232
* var-tracking.c (vt_initialize): Apply the same condition to
preserve the CFA base value.

From-SVN: r208219
2014-02-28 12:45:36 +00:00
Joey Ye
9910c53c49 PR target/PR60169
2014-02-28  Joey Ye  <joey.ye@arm.com>

        PR target/PR60169
	* config/arm/arm.c (thumb_far_jump_used_p): Don't change
	if reload in progress or completed.

testsuite:
	* gcc.target/arm/thumb1-far-jump-3.c: New case.

From-SVN: r208217
2014-02-28 12:02:13 +00:00
GCC Administrator
070f030948 Daily bump.
From-SVN: r208212
2014-02-28 00:16:34 +00:00
Tobias Burnus
ef271341a4 re PR middle-end/60147 (ICE with -fdump-tree-original and NAMELIST)
2014-02-28  Tobias Burnus  <burnus@net-b.de>

        PR middle-end/60147
        * tree-pretty-print.c (dump_generic_node, print_declaration):
        Handle NAMELIST_DECL.

From-SVN: r208209
2014-02-28 00:24:20 +01:00