Commit Graph

122688 Commits

Author SHA1 Message Date
Kyrylo Tkachov
ddbdd8a73c arm.c (arm_expand_builtin): Change fcode type to unsigned int.
2013-04-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* config/arm/arm.c (arm_expand_builtin): Change fcode
	type to unsigned int.

From-SVN: r197517
2013-04-05 15:03:11 +00:00
David Edelsohn
b4c8d206b9 sd-vsx.c: Skip on AIX.
* gcc.target/powerpc/sd-vsx.c: Skip on AIX.
        * gcc.target/powerpc/sd-pwr6.c: Same.
        * gcc.dg/stack-usage-1.c: Define SIZE on AIX.
        * g++.dg/debug/pr56294.C: XFAIL on AIX.

From-SVN: r197516
2013-04-05 09:33:09 -04:00
Ed Smith-Rowland
45416e08c2 There can be only one ref qualifier at most.
gcc/cp:
2013-04-05  Ed Smith-Rowland  <3dw4rd@verizon.net>

	* g++.dg/cpp0x/ref-qual-multi-neg.C: New test.

gcc/testsuite:
2013-04-05  Ed Smith-Rowland  <3dw4rd@verizon.net>

	* parser.c (cp_parser_ref_qualifier_seq_opt): Move to
	cp_parser_ref_qualifier_opt.  Error if more than one ref-qual found.

From-SVN: r197514
2013-04-05 11:38:09 +00:00
Ramana Radhakrishnan
8456d78abf Document cortex-a53 in ARM options.
2013-04-05  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

       * doc/invoke.texi (ARM Options): Document cortex-a53 support.

From-SVN: r197513
2013-04-05 10:24:00 +00:00
Jonathan Wakely
7e20f4b022 re PR libstdc++/56841 (ld: Unsatisfied symbol "__atomic_exchange_8" in file /test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/src/.libs/libstdc++.a[eh_terminate.o])
PR libstdc++/56841
	* libsupc++/eh_ptr.cc (rethrow_exception): Use get_unexpected() and
	get_terminate() accessors.
	* libsupc++/eh_throw.cc (__cxa_throw): Likewise.
	* libsupc++/eh_terminate.cc: Use mutex when atomic builtins not
	available.
	* libsupc++/new_handler.cc: Likewise.

From-SVN: r197512
2013-04-05 11:03:04 +01:00
Ian Lance Taylor
526c230f1e standards.texi (Standards): The Go frontend supports the Go 1 language standard.
* doc/standards.texi (Standards): The Go frontend supports the Go
	1 language standard.

From-SVN: r197507
2013-04-05 04:12:41 +00:00
GCC Administrator
60422945d1 Daily bump.
From-SVN: r197501
2013-04-05 00:16:35 +00:00
Janus Weil
fbdeeaac53 re PR fortran/40881 ([F03] warn for obsolescent features)
2013-04-04  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/40881
	* match.c (gfc_match_return): Remove standard notification.
	* primary.c (gfc_match_actual_arglist): Add standard notification.


2013-04-04  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/40881
	* gfortran.dg/altreturn_1.f90: Add -std=gnu.
	* gfortran.dg/altreturn_4.f90: Ditto.
	* gfortran.dg/altreturn_3.f90: Replace -std=legacy by -std=gnu.
	* gfortran.dg/altreturn_5.f90: Ditto.
	* gfortran.dg/altreturn_6.f90: Ditto.
	* gfortran.dg/altreturn_7.f90: Ditto.

From-SVN: r197495
2013-04-04 21:21:01 +02:00
Meador Inge
3465257612 bpabi.S (aeabi_ldivmod): Add DWARF information for computing the location of the link register.
libgcc/

2013-04-04  Meador Inge  <meadori@codesourcery.com>

	* config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
	computing the location of the link register.
	(aeabi_uldivmod): Ditto.

From-SVN: r197493
2013-04-04 18:42:19 +00:00
Steven Bosscher
3cfbe04dfd re PR middle-end/56729 (ICE in df_insn_delete)
PR middle-end/56729
	* df-scan.c (df_insn_delete): Disable failing assert.

From-SVN: r197492
2013-04-04 16:40:16 +00:00
Kyrylo Tkachov
398f9f35d4 target-supports.exp (check_effective_target_arm_v8_neon_hw): New procedure.
2013-04-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* lib/target-supports.exp (check_effective_target_arm_v8_neon_hw):
	New procedure.
	(check_effective_target_arm_v8_neon_ok_nocache):
	Likewise.
	(check_effective_target_arm_v8_neon_ok): Change to use
	check_effective_target_arm_v8_neon_ok_nocache.
	(add_options_for_arm_v8_neon): Use et_arm_v8_neon_flags to set ARMv8
	NEON flags.
	(check_effective_target_vect_call_btruncf):
	Enable for arm and ARMv8 NEON.
	(check_effective_target_vect_call_ceilf): Likewise.
	(check_effective_target_vect_call_floorf): Likewise.
	(check_effective_target_vect_call_roundf): Likewise.
	(check_vect_support_and_set_flags): Handle ARMv8 NEON effective
	target.

From-SVN: r197491
2013-04-04 16:17:32 +00:00
Kyrylo Tkachov
dfa3f8d0bc arm-protos.h (arm_builtin_vectorized_function): New function prototype.
2013-04-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* config/arm/arm-protos.h (arm_builtin_vectorized_function):
	New function prototype.
	* config/arm/arm.c (TARGET_VECTORIZE_BUILTINS): Define.
	(TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): Likewise.
	(arm_builtin_vectorized_function): New function.

From-SVN: r197490
2013-04-04 16:14:50 +00:00
Kyrylo Tkachov
f783775863 arm_neon_builtins.def: New file.
2013-04-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* config/arm/arm_neon_builtins.def: New file.
	* config/arm/arm.c (neon_builtin_data): Move contents to
	arm_neon_builtins.def.
	(enum arm_builtins): Include neon builtin definitions.
	(ARM_BUILTIN_NEON_BASE): Move from enum to macro.
	* config/arm/t-arm (arm.o): Add dependency on
	arm_neon_builtins.def.

From-SVN: r197489
2013-04-04 15:54:50 +00:00
Marek Polacek
39c1b6dbf5 re PR tree-optimization/48186 (ICE: SIGFPE (division by zero) in maybe_hot_frequency_p at predict.c:129 with --param hot-bb-frequency-fraction=0 on basic code)
PR tree-optimization/48186
        * predict.c (maybe_hot_frequency_p): Return false if
        HOT_BB_FREQUENCY_FRACTION is 0.
        (cgraph_maybe_hot_edge_p): Likewise.

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

From-SVN: r197487
2013-04-04 15:48:25 +00:00
Richard Biener
314f64eb7d re PR tree-optimization/56826 (Run-fail after r197189.)
2013-04-04  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/56826
	* tree-vect-slp.c (vect_build_slp_tree): Compute ncopies
	more accurately.

	* gcc.dg/vect/pr56826.c: New testcase.
	* gcc.dg/vect/O3-pr36098.c: Adjust.

From-SVN: r197486
2013-04-04 15:06:44 +00:00
Tejas Belagod
48f3c26686 asm-adder-clobber-lr.c: Remove duplication.
2013-04-04  Tejas Belagod  <tejas.belagod@arm.com>

testsuite/
	* gcc.target/aarch64/inc/asm-adder-clobber-lr.c: Remove duplication.
	* gcc.target/aarch64/inc/asm-adder-no-clobber-lr.c: Likewise.
	* gcc.target/aarch64/test-framepointer-1.c: Likewise.
	* gcc.target/aarch64/test-framepointer-2.c: Likewise.
	* gcc.target/aarch64/test-framepointer-3.c: Likewise.
	* gcc.target/aarch64/test-framepointer-4.c: Likewise.
	* gcc.target/aarch64/test-framepointer-5.c: Likewise.
	* gcc.target/aarch64/test-framepointer-6.c: Likewise.
	* gcc.target/aarch64/test-framepointer-7.c: Likewise.
	* gcc.target/aarch64/test-framepointer-8.c: Likewise.

From-SVN: r197481
2013-04-04 13:28:21 +01:00
Richard Biener
51a905b2a0 re PR tree-optimization/56213 (strided load vectorization is unnecessarily restricted)
2013-04-04  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/56213
	* tree-vect-data-refs.c (vect_check_strided_load): Remove.
	(vect_analyze_data_refs): Allow all non-nested loads as
	strided loads.

	* gcc.dg/vect/vect-123.c: New testcase.

From-SVN: r197480
2013-04-04 12:19:30 +00:00
Tobias Burnus
71879a86ef re PR libfortran/56810 (record-repeat fails kind check on complex read)
2013-04-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/56810
        * io/list_read.c (check_type): Fix kind checking for COMPLEX.

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

        PR fortran/56810
        * gfortran.dg/read_repeat_2.f90: New.

From-SVN: r197479
2013-04-04 13:24:15 +02:00
Richard Biener
f1bf4f3afb re PR tree-optimization/56837 (-ftree-loop-distribute-patterns generates incorrect code)
2013-04-04  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/56837
	* tree-loop-distribution.c (classify_partition): For non-zero
	values require that the value has the same precision as its
	mode to be useful as memset value.

	* g++.dg/torture/pr56837.C: New testcase.

From-SVN: r197476
2013-04-04 10:55:25 +00:00
Jonathan Wakely
2d50082803 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.19 version.
From-SVN: r197472
2013-04-04 09:56:09 +01:00
Nick Clifton
0bca7deda2 oops - omitted this from previous delta:
* config/v850/v850e3v5.md (fmasf4): Use fmaf.s on E3V5
	architectures.
	(fmssf4): Use fmsf.s on E3V5 architectures.
	(fnmasf4): Use fnmaf.s on E3V5 architectures.
	(fnmssf4): Use fnmsf.s on E3V5 architectures.

From-SVN: r197469
2013-04-04 07:25:35 +00:00
Tobias Burnus
6082753edc re PR fortran/50269 (Wrongly rejects element of assumed-shape array in C_LOC)
2013-04-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/50269
        * gcc/fortran/check.c (is_c_interoperable,
        gfc_check_c_loc): Correct c_loc array checking
        for Fortran 2003 and Fortran 2008.

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

        PR fortran/50269
        * gfortran.dg/c_loc_test_21.f90: New.
        * gfortran.dg/c_loc_test_19.f90: Update dg-error.
        * gfortran.dg/c_loc_tests_10.f03: Update dg-error.
        * gfortran.dg/c_loc_tests_11.f03: Update dg-error.
        * gfortran.dg/c_loc_tests_4.f03: Update dg-error.
        * gfortran.dg/c_loc_tests_16.f90:  Update dg-error.

From-SVN: r197468
2013-04-04 09:22:24 +02:00
Jeff Law
b40192276f Makefile.in (lra-constraints.o): Depend on $(OPTABS_H).
* Makefile.in (lra-constraints.o): Depend on $(OPTABS_H).
        (lra-eliminations.o): Likewise.

From-SVN: r197467
2013-04-03 23:12:48 -06:00
Jason Merrill
7d27c734a3 cp-tree.h (FUNCTION_OR_METHOD_TYPE_CHECK): Remove.
* cp-tree.h (FUNCTION_OR_METHOD_TYPE_CHECK): Remove.
	(TYPE_RAISES_EXCEPTIONS): Use FUNC_OR_METHOD_CHECK instead.
	(FUNCTION_REF_QUALIFIED, FUNCTION_RVALUE_QUALIFIED): Likewise.

From-SVN: r197466
2013-04-03 23:13:51 -04:00
GCC Administrator
0baa873fa3 Daily bump.
From-SVN: r197464
2013-04-04 00:16:40 +00:00
Jason Merrill
0861bec80a cp-demangle.c (cplus_demangle_type): Fix function quals.
libiberty/
	* cp-demangle.c (cplus_demangle_type): Fix function quals.
	(d_pointer_to_member_type): Simplify.
gcc/cp/
	* mangle.c (write_type): When writing a function type with
	function-cv-quals, don't add the unqualified type as a
	substitution candidate.

From-SVN: r197460
2013-04-03 20:14:00 -04:00
Paolo Carlini
4e85679863 c-common.c (pointer_int_sum): Remove dead code.
2013-04-03  Paolo Carlini  <paolo.carlini@oracle.com>

	* c-common.c (pointer_int_sum): Remove dead code.

From-SVN: r197458
2013-04-03 21:08:44 +00:00
Teresa Johnson
f57ddb5b51 This patch enables the gcov-dump tool to optionally compute and dump the working set information from the counter histogram...
This patch enables the gcov-dump tool to optionally compute and dump
the working set information from the counter histogram, via a new -w option.
This is useful to help understand and tune how the compiler will use
the counter histogram, since it first computes the working set and selects
thresholds based on that.

This required moving the bulk of the compute_working_sets functionality
into gcov-io.c so that it was accessible by gcov-dump.c.

2013-04-03  Teresa Johnson  <tejohnson@google.com>

	* gcov-io.c (compute_working_sets): Moved most of body of old
        compute_working_sets here from profile.c.
	* gcov-io.h (NUM_GCOV_WORKING_SETS): Moved here from profile.c.
        (gcov_working_set_t): Moved typedef here from basic-block.h
        (compute_working_set): Declare.
	* profile.c (NUM_GCOV_WORKING_SETS): Moved to gcov-io.h.
	(get_working_sets): Renamed from compute_working_set,
        replace most of body with call to new compute_working_sets.
	(get_exec_counts): Replace call to compute_working_sets
        to get_working_sets.
	* profile.h (get_working_sets): Renamed from
        compute_working_set.
	* lto-cgraph.c (input_symtab): Replace call to compute_working_sets
        to get_working_sets.
	* basic-block.h (gcov_working_set_t): Moved to gcov-io.h.
	* gcov-dump.c (dump_working_sets): New function.

From-SVN: r197457
2013-04-03 20:51:28 +00:00
Kenneth Zadeck
5e0919f1ee hwint.c (sext_hwi, zext_hwi): New functions.
2013-04-03  Kenneth Zadeck <zadeck@naturalbridge.com>

	* hwint.c (sext_hwi, zext_hwi): New functions.
	* hwint.h (HOST_BITS_PER_HALF_WIDE_INT, HOST_HALF_WIDE_INT,
	HOST_HALF_WIDE_INT_PRINT, HOST_HALF_WIDE_INT_PRINT_C,
	HOST_HALF_WIDE_INT_PRINT_DEC, HOST_HALF_WIDE_INT_PRINT_DEC_C,
	HOST_HALF_WIDE_INT_PRINT_UNSIGNED, HOST_HALF_WIDE_INT_PRINT_HEX,
	HOST_HALF_WIDE_INT_PRINT_HEX_PURE): New symbols.
	(sext_hwi, zext_hwi): New functions.

From-SVN: r197456
2013-04-03 20:24:07 +00:00
Jeff Law
be672e08bb re PR tree-optimization/56799 (Runfail after r197060+r197082.)
PR tree-optimization/56799
        * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Bring
        back test for widening conversion erroneously dropped in prior
        change.

        PR tree-optimization/56799
        * gcc.c-torture/execute/pr56799.c: New test.

From-SVN: r197453
2013-04-03 13:18:09 -06:00
Jason Merrill
9eb85f2724 Demangle C++11 ref-qualifier.
include/
	* demangle.h (enum demangle_component_type): Add
	DEMANGLE_COMPONENT_REFERENCE_THIS,
	DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS.
libiberty/
	* cp-demangle.c (d_ref_qualifier): New.
	(d_nested_name, d_function_type): Use it.
	(d_parmlist): Don't get confused by a ref-qualifier.
	(cplus_demangle_type): Reorder ref-qualifier.
	(d_pointer_to_member_type): Likewise.
	(d_dump): Handle DEMANGLE_COMPONENT_REFERENCE_THIS and
	DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS.
	(d_make_comp, has_return_type, d_encoding): Likewise.
	(d_print_comp, d_print_mod_list, d_print_mod): Likewise.
	(d_print_function_type, is_ctor_or_dtor): Likewise.

From-SVN: r197436
2013-04-03 13:24:12 -04:00
Kyrylo Tkachov
9d821fa520 re PR target/56809 (Revision 197266 causes trunk ICE for arm-none-eabi targets)
2013-04-03  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	PR target/56809
	* config/aarch64/aarch64.c (is_jump_table): Use next_active_insn
	instead of next_real_insn.

From-SVN: r197434
2013-04-03 16:38:24 +00:00
Paolo Carlini
c42a832a95 re PR c++/56815 (void pointer arithmetic)
/cp
2013-04-03  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/56815
	* typeck.c (cp_build_unary_op): Change -Wpointer-arith permerror to
	pedwarn.

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

	PR c++/56815
	* g++.dg/warn/Wpointer-arith-1.C: New.
	* g++.dg/gomp/for-19.C: Adjust.

From-SVN: r197433
2013-04-03 16:20:51 +00:00
Marek Polacek
71c581e77d re PR sanitizer/55702 (ICE: in instrument_func_exit, at tsan.c:684 with -fsanitize=thread and __builtin_return())
PR sanitizer/55702
	* tsan.c (instrument_func_exit): Allow BUILT_IN_RETURN
	functions.

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

From-SVN: r197430
2013-04-03 16:01:38 +00:00
Kyrylo Tkachov
4a32ef809a re PR target/56809 (Revision 197266 causes trunk ICE for arm-none-eabi targets)
gcc/
2013-04-03  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	PR target/56809
	* config/arm/arm.c (is_jump_table): Use next_active_insn instead of
	next_real_insn.
	(thumb1_output_casesi): Likewise.
	(thumb2_output_casesi): Likewise.

gcc/testsuite
2013-04-03  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	PR target/56809
	* gcc.dg/pr56809.c: New testcase.

From-SVN: r197425
2013-04-03 15:37:31 +00:00
Jakub Jelinek
7349ed0585 re PR c++/56819 (ICE: SIGSEGV in int_cst_value (tree.h:4013) with -fcompare-debug)
PR debug/56819
	* tree.c (strip_typedefs): Copy NON_DEFAULT_TEMPLATE_ARGS_COUNT
	from args to new_args.
	(strip_typedefs_expr): Copy NON_DEFAULT_TEMPLATE_ARGS_COUNT from t to
	r instead of doing {S,G}ET_NON_DEFAULT_TEMPLATE_ARGS_COUNT.

	* g++.dg/debug/pr56819.C: New test.

From-SVN: r197420
2013-04-03 17:24:13 +02:00
Sebastian Huber
994a4cc03d re PR target/56771 (Integer Overflow? Building arm-rtems libgcc2)
2013-04-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>

	PR target/56771
	* configure.ac: Require 64-bit int for arm*-*-rtems*.
	* configure: Regenerate.

From-SVN: r197417
2013-04-03 15:11:54 +00:00
Paolo Carlini
169a7e85f0 re PR libstdc++/56834 (Errors in <array> with --enable-symvers=gnu-versioned-namespace and -D_GLIBCXX_DEBUG)
2013-04-03  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/56834
	* include/debug/array (tuple_size, tuple_element): Do not declare.
	* include/profile/array: Likewise.
	* testsuite/23_containers/array/tuple_interface/
	tuple_element_debug_neg.cc: Adjust dg-error line number.

From-SVN: r197415
2013-04-03 15:07:12 +00:00
Nick Clifton
4d85233e76 v850e3v5.md (fmasf4): Use fmaf.s on E3V5 architectures.
* config/v850/v850e3v5.md (fmasf4): Use fmaf.s on E3V5
	architectures.
	(fmssf4): Use fmsf.s on E3V5 architectures.
	(fnmasf4): Use fnmaf.s on E3V5 architectures.
	(fnmssf4): Use fnmsf.s on E3V5 architectures.

From-SVN: r197413
2013-04-03 14:06:38 +00:00
Richard Biener
1b2253d4f8 re PR tree-optimization/56817 (ICE in hide_evolution_in_other_loops_than_loop)
2013-04-03  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/56817
	* tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely):
	Split out ...
	(tree_unroll_loops_completely_1): ... new function to manually
	walk the loop tree, properly defering outer loops of unrolled
	loops to later iterations.

	* g++.dg/torture/pr56817.C: New testcase.

From-SVN: r197411
2013-04-03 13:41:13 +00:00
Marc Glisse
38000232d1 tree-vect-stmts.c (vectorizable_store): Accept BIT_FIELD_REF.
2013-04-03  Marc Glisse  <marc.glisse@inria.fr>

gcc/
	* tree-vect-stmts.c (vectorizable_store): Accept BIT_FIELD_REF.
	(vectorizable_load): Likewise.
	* tree-vect-slp.c (vect_build_slp_tree): Likewise.
	* tree-vect-data-refs.c (vect_create_data_ref_ptr): Handle VECTOR_TYPE.

gcc/testsuite/
	* gcc.dg/vect/bb-slp-31.c: New file.

From-SVN: r197410
2013-04-03 12:59:46 +00:00
Marc Glisse
3fa3529889 tree-flow-inline.h (get_addr_base_and_unit_offset_1): Handle BIT_FIELD_REF.
2013-04-03  Marc Glisse  <marc.glisse@inria.fr>

	* tree-flow-inline.h (get_addr_base_and_unit_offset_1): Handle
	BIT_FIELD_REF.

From-SVN: r197409
2013-04-03 12:54:50 +00:00
Jason Merrill
46e1f4bffb re PR c++/34949 (Dead code in empty destructors.)
PR c++/34949
	* g++.dg/tree-ssa/ehcleanup-1.C: Adjust unreachable count.

From-SVN: r197408
2013-04-03 08:53:39 -04:00
Richard Biener
23b56a01e0 slp-pr56812.cc: Use dg-additional-options.
2013-04-03  Richard Biener  <rguenther@suse.de>

	* g++.dg/vect/slp-pr56812.cc: Use dg-additional-options.

From-SVN: r197407
2013-04-03 12:31:26 +00:00
Ulrich Weigand
b3d45ff040 * config/spu/spu.c (emit_nop_for_insn): Handle JUMP_TABLE_DATA.
From-SVN: r197406
2013-04-03 12:14:03 +00:00
Richard Biener
a5cde06792 re PR tree-optimization/55964 (Segmentation fault with -O -ftree-loop-distribution -funswitch-loops)
2013-04-03  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/55964
	* gcc.dg/torture/pr55964-2.c: New testcase.

From-SVN: r197403
2013-04-03 10:36:49 +00:00
Richard Biener
47309fc03c re PR tree-optimization/56501 (gcc 4.6 ICE on noreturn function at -Os and above)
2013-04-03  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/56501
	* gcc.dg/torture/pr56501.c: New testcase.

From-SVN: r197401
2013-04-03 10:28:27 +00:00
Richard Biener
6b94a92dc9 re PR tree-optimization/56407 (Optimizations (-O2 -O3) make comparison of arrays of ints to fail)
2013-04-03  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/56407
	* gcc.dg/torture/pr56407.c: New testcase.

From-SVN: r197399
2013-04-03 10:25:23 +00:00
Bin Cheng
ec9202a887 * rtl.h (AUTO_INC_DEC): Fix typo of HAVE_POST_MODIFY_DISP.
From-SVN: r197398
2013-04-03 10:25:08 +00:00
Marc Glisse
6805bd3666 re PR tree-optimization/56790 (VEC_COND_EXPR not constant folded)
2013-04-03  Marc Glisse  <marc.glisse@inria.fr>

	PR tree-optimization/56790
gcc/
	* fold-const.c (fold_ternary_loc) <VEC_COND_EXPR>: Add constant folding.

gcc/testsuite/
	* g++.dg/ext/pr56790-1.C: New testcase.

From-SVN: r197395
2013-04-03 09:49:44 +00:00