Commit Graph

128815 Commits

Author SHA1 Message Date
Bill Schmidt
fabdcf97a5 extract-vsx.c: Replace "vector long" with "vector long long" throughout.
2014-03-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* gcc.dg/vmx/extract-vsx.c: Replace "vector long" with "vector
	long long" throughout.
	* gcc.dg/vmx/extract-vsx-be-order.c: Likewise.
	* gcc.dg/vmx/insert-vsx.c: Likewise.
	* gcc.dg/vmx/insert-vsx-be-order.c: Likewise.
	* gcc.dg/vmx/ld-vsx.c: Likewise.
	* gcc.dg/vmx/ld-vsx-be-order.c: Likewise.
	* gcc.dg/vmx/ldl-vsx.c: Likewise.
	* gcc.dg/vmx/ldl-vsx-be-order.c: Likewise.
	* gcc.dg/vmx/merge-vsx.c: Likewise.
	* gcc.dg/vmx/merge-vsx-be-order.c: Likewise.
	* gcc.dg/vmx/st-vsx.c: Likewise.
	* gcc.dg/vmx/st-vsx-be-order.c: Likewise.
	* gcc.dg/vmx/stl-vsx.c: Likewise.
	* gcc.dg/vmx/stl-vsx-be-order.c: Likewise.

From-SVN: r208321
2014-03-04 17:00:21 +00:00
Jonathan Wakely
c01a854829 * MAINTAINERS: Update my email address.
From-SVN: r208316
2014-03-04 12:56:10 +00:00
Richard Biener
3c24e842c1 lto-section-in.c (lto_get_section_data): Fix const cast.
2014-03-04  Richard Biener  <rguenther@suse.de>

	* lto-section-in.c (lto_get_section_data): Fix const cast.

From-SVN: r208315
2014-03-04 12:52:13 +00:00
Paulo Matos
3740bda665 tree-streamer.c (record_common_node): Assert we don't record nodes with type double.
2014-03-04  Paulo Matos  <paulo@matos-sorge.com>

        * tree-streamer.c (record_common_node): Assert we don't record
        nodes with type double.
        (preload_common_node): Skip type double, complex double and
        double pointer since it is now frontend dependent due to
        fshort-double option.

2014-03-04  Paulo Matos  <paulo@matos-sorge.com>

        * gcc.dg/lto/pr55113_0.c: New testcase.

From-SVN: r208312
2014-03-04 12:45:06 +01:00
Richard Biener
9185673501 re PR lto/60405 (ICE in lto1 on x86_64-linux-gnu)
2014-03-04  Richard Biener  <rguenther@suse.de>

	PR lto/60405
	* lto-streamer-in.c (lto_read_body): Remove LTO bytecode version
	check.
	(lto_input_toplevel_asms): Likewise.
	* lto-section-in.c (lto_get_section_data): Instead do it here
	for every section.

From-SVN: r208311
2014-03-04 11:25:50 +00:00
Paolo Carlini
064fd5a8d0 re PR c++/60376 ([c++1y] ICE on invalid with using declaration in template function)
/gcc/cp
2014-03-04  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/60376
	* parser.c (cp_parser_using_declaration): Early return when
	cp_parser_nested_name_specifier errors out.

/gcc/testsuite
2014-03-04  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/60376
	* g++.dg/cpp1y/pr60376.C: New.

/libstdc++-v3
2014-03-04  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/60376
	* testsuite/29_atomics/headers/atomic/types_std_c++0x_neg.cc:
	Adjust dg-error directives.

From-SVN: r208309
2014-03-04 10:52:18 +00:00
Rainer Orth
79bc1d65f1 Fix g++.dg/abi/anon2.C with -std=c++98
* g++.dg/abi/anon2.C: Don't scan assembler for c++98.

From-SVN: r208307
2014-03-04 10:02:17 +00:00
Richard Biener
b75f28e1ae re PR tree-optimization/60382 (ICE on valid code at -O3 on x86_64-linux-gnu (in vect_create_epilog_for_reduction, at tree-vect-loop.c:4352))
2014-03-04  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/60382
	* tree-vect-loop.c (vect_is_simple_reduction_1): Do not consider
	dead PHIs a reduction.

	* gcc.dg/vect/pr60382.c: New testcase.

From-SVN: r208305
2014-03-04 08:47:55 +00:00
Jerry DeLisle
03aac9ce62 re PR fortran/60148 (strings in NAMELIST do not honor DELIM= in open statement)
2014-03-03  Jerry DeLisle  <jvdelisle@gcc.gnu>

	PR libfortran/60148
	* gfortran.dg/namelist_84.f90: New test.

From-SVN: r208303
2014-03-04 05:46:06 +00:00
Jerry DeLisle
75b2dba9ae re PR fortran/60148 (strings in NAMELIST do not honor DELIM= in open statement)
2014-03-03  Jerry DeLisle  <jvdelisle@gcc.gnu>

	PR libfortran/60148
	* io/inquire.c (inquire_via_unit): In the case of
	DELIM_UNSPECIFIED set inquire return string to "NONE".
	* io/list_read.c (read_character): In the case of DELIM_NONE and
	namelists, complete the character read using the namelist
	variable length.
	* io/open.c (new_unit): Don't set delim status to none if not
	specified so that DELIM_UNSPECIFIED can be used later.
	* io/transfer.c (data_transfer_init): For namelist I/O, if the
	unit delim status is unspecified set the current status to quote.
	Otherwise, set current status to the unit status.
	* io/unit.c (get_internel_unit, init_unit): Remember to set
	flags_delim initially to DELIM_UNSPECIFIED so defaults come out
	correctly.
	* io/write.c (write_character): Add a new function argument
	"mode" to signify that raw output is to be used vs output with
	delimiters. If the mode is set to DELIM (1) proceed with
	delimiters. (list_formatted_write_scalar): Write the separator
	only if a delimiter was previously specified. Update the call to
	write_character with the mode argument given.
	(namelist_write_newline): Use the mode argument. (nml_write_obj):
	Use the mode argument. Remove use of tmp_delim. Write the
	semi-colon or comma correctly only when needed with using
	delimiters. Cleanup whitespace.
	(namelist_write): If delim is not specified in namelist I/O,
	default	to using quotes. Get rid of the tmp_delim variable and
	use the new mode argument in write_character.

From-SVN: r208302
2014-03-04 04:33:40 +00:00
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