Uros Bizjak
f58fc6a5d2
macro-fusion-1.c: Cleanup sched2 rtl dump.
...
* gcc.dg/macro-fusion-1.c: Cleanup sched2 rtl dump.
* gcc.dg/macro-fusion-2.c: Ditto.
* gcc.dg/vect/vect-simd-clone-10a.c: Cleanup vect tree dump.
* gcc.dg/vect/vect-simd-clone-12a.c: Ditto.
From-SVN: r205792
2013-12-08 22:45:08 +01:00
Tobias Burnus
019c0e5dc1
re PR fortran/58099 ([F03] over-zealous procedure-pointer error checking)
...
2013-12-08 Tobias Burnus <burnus@net-b.de>
Janus Weil <janus@gcc.gnu.org>
PR fortran/58099
PR fortran/58676
PR fortran/41724
* resolve.c (gfc_resolve_intrinsic): Set elemental/pure.
(resolve_fl_procedure): Reject pure dummy procedures/procedure
pointers.
(gfc_explicit_interface_required): Don't require a
match of ELEMENTAL for intrinsics.
2013-12-08 Tobias Burnus <burnus@net-b.de>
PR fortran/58099
PR fortran/58676
PR fortran/41724
* gfortran.dg/elemental_subroutine_8.f90: New.
* gfortran.dg/proc_decl_9.f90: Add ELEMENTAL to make valid.
* gfortran.dg/proc_ptr_11.f90: Ditto.
* gfortran.dg/proc_ptr_result_8.f90: Ditto.
* gfortran.dg/proc_ptr_32.f90: Update dg-error.
* gfortran.dg/proc_ptr_33.f90: Ditto.
* gfortran.dg/proc_ptr_result_1.f90: Add abstract interface
which is not elemental.
* gfortran.dg/proc_ptr_result_7.f90: Ditto.
Co-Authored-By: Janus Weil <janus@gcc.gnu.org>
From-SVN: r205791
2013-12-08 22:34:18 +01:00
Paolo Carlini
ae29d0253f
explicit_instantiation.cc: New.
...
2013-12-08 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/20_util/add_const/requirements/explicit_instantiation.cc:
New.
* testsuite/20_util/add_const/value.cc: Likewise.
* testsuite/20_util/add_cv/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/add_cv/value.cc: Likewise.
* testsuite/20_util/add_pointer/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/add_pointer/value.cc: Likewise.
* testsuite/20_util/add_volatile/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/add_volatile/value.cc: Likewise.
* testsuite/20_util/alignment_of/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/alignment_of/requirements/typedefs.cc: Likewise.
* testsuite/20_util/alignment_of/value.cc: Likewise.
* testsuite/20_util/extent/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/extent/requirements/typedefs.cc: Likewise.
* testsuite/20_util/extent/value.cc: Likewise.
* testsuite/20_util/has_virtual_destructor/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/has_virtual_destructor/requirements/
typedefs.cc: Likewise.
* testsuite/20_util/has_virtual_destructor/value.cc: Likewise.
* testsuite/20_util/is_abstract/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/is_abstract/requirements/typedefs.cc: Likewise.
* testsuite/20_util/is_abstract/value.cc: Likewise.
* testsuite/20_util/is_arithmetic/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/is_arithmetic/requirements/typedefs.cc: Likewise.
* testsuite/20_util/is_arithmetic/value.cc: Likewise.
* testsuite/20_util/is_array/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/is_array/requirements/typedefs.cc: Likewise.
* testsuite/20_util/is_array/value.cc: Likewise.
* testsuite/20_util/is_base_of/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/is_base_of/requirements/typedefs.cc: Likewise.
* testsuite/20_util/is_base_of/value.cc: Likewise.
* testsuite/20_util/is_class/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/is_class/requirements/typedefs.cc: Likewise.
* testsuite/20_util/is_class/value.cc: Likewise.
* testsuite/20_util/is_const/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/is_const/requirements/typedefs.cc: Likewise.
* testsuite/20_util/is_const/value.cc: Likewise.
* testsuite/20_util/is_empty/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/is_empty/requirements/typedefs.cc: Likewise.
* testsuite/20_util/is_empty/value.cc: Likewise.
* testsuite/20_util/is_enum/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/is_enum/requirements/typedefs.cc
* testsuite/20_util/is_enum/value.cc: Likewise.
* testsuite/20_util/is_pointer/requirements/explicit_instantiation.cc
* testsuite/20_util/is_pointer/value.cc: Likewise.
* testsuite/20_util/is_polymorphic/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/is_polymorphic/requirements/typedefs.cc: Likewise.
* testsuite/20_util/is_polymorphic/value.cc: Likewise.
* testsuite/20_util/is_same/requirements/explicit_instantiation.cc
* testsuite/20_util/is_same/requirements/typedefs.cc: Likewise.
* testsuite/20_util/is_same/value.cc: Likewise.
* testsuite/20_util/is_union/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/is_union/requirements/typedefs.cc: Likewise.
* testsuite/20_util/is_union/value.cc: Likewise.
* testsuite/20_util/is_void/requirements/explicit_instantiation.cc
* testsuite/20_util/is_void/requirements/typedefs.cc: Likewise.
* testsuite/20_util/is_void/value.cc: Likewise.
* testsuite/20_util/is_volatile/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/is_volatile/requirements/typedefs.cc: Likewise.
* testsuite/20_util/is_volatile/value.cc: Likewise.
* testsuite/20_util/rank/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/rank/requirements/typedefs.cc: Likewise.
* testsuite/20_util/rank/value.cc: Likewise.
* testsuite/20_util/remove_all_extents/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/remove_all_extents/value.cc: Likewise.
* testsuite/20_util/remove_const/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/remove_const/value.cc: Likewise.
* testsuite/20_util/remove_cv/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/20_util/remove_cv/value.cc: Likewise.
* testsuite/20_util/remove_extent/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/remove_extent/value.cc: Likewise.
* testsuite/20_util/remove_pointer/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/remove_pointer/value.cc: Likewise.
* testsuite/20_util/remove_volatile/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/remove_volatile/value.cc: Likewise.
From-SVN: r205789
2013-12-08 09:44:48 +00:00
GCC Administrator
7cf0b2a659
Daily bump.
...
From-SVN: r205788
2013-12-08 00:16:42 +00:00
Janus Weil
36ad06d23a
re PR fortran/59414 ([OOP] ICE in in gfc_conv_expr_descriptor on ALLOCATE inside SELECT TYPE)
...
2013-12-07 Janus Weil <janus@gcc.gnu.org>
PR fortran/59414
* resolve.c (resolve_specific_f0): Handle CLASS-valued functions.
2013-12-07 Janus Weil <janus@gcc.gnu.org>
PR fortran/59414
* gfortran.dg/class_result_2.f90: New.
From-SVN: r205785
2013-12-07 20:27:19 +01:00
Maxim Kuvyrkov
ef43c728f3
* config/linux.h: Fix typo in a comment.
...
From-SVN: r205782
2013-12-07 08:58:37 +00:00
Maxim Kuvyrkov
5fa747a7a5
Cleanup libc selection and Android support.
...
* config.gcc (*linux*): Split libc selection from Android support.
Add libc selection to all *linux* targets. Add Android support to
architectures that support it.
(arm*-*-linux-*, i[34567]86-*-linux*, x86_64-*-linux*,)
(mips*-*-linux*): Add Android support.
From-SVN: r205781
2013-12-07 08:47:33 +00:00
Maxim Kuvyrkov
3e9310f489
Cleanup definitions of libc-related target hooks.
...
* config/bfin/uclinux.h, config/c6x/uclinux-elf.h,
* config/lm32/uclinux-elf.h, config/m68k/uclinux.h,
* config/moxie/uclinux.h (TARGET_LIBC_HAS_FUNCTION): Move definitions
to linux.h.
* config/linux-android.h (TARGET_HAS_IFUNC_P): Move definition
to linux.h.
* config/linux.h (TARGET_LIBC_HAS_FUNCTION, TARGET_HAS_IFUNC_P):
Define appropriately for Linux and uClinux targets.
From-SVN: r205780
2013-12-07 08:47:21 +00:00
Maxim Kuvyrkov
cc0c3bf9a4
Robustify check for IFUNC support.
...
* config/linux.c (linux_has_ifunc_p): Use correct test.
From-SVN: r205779
2013-12-07 08:47:09 +00:00
Maxim Kuvyrkov
1e9da8f6cf
Rename functions relating to libc support on Linux targets.
...
* config/linux.c (linux_android_has_ifunc_p): Rename to
linux_has_ifunc_p.
(linux_android_libc_has_function): Rename to linux_libc_has_function.
* config/linux-protos.h (linux_android_has_ifunc_p,)
(linux_android_libc_has_function): Update declarations.
* config/linux.h, config/linux-android.h, config/alpha/linux.h,
* config/rs6000/linux.h, config/rs6000/linux64.h: Update.
From-SVN: r205778
2013-12-07 08:46:58 +00:00
Maxim Kuvyrkov
5c0b2c6e7f
Rename files for libc selection on Linux targets.
...
* linux-android.c: Rename to linux.c.
* t-linux-android: Rename to t-linux. Update references
to linux-android.c
* config.gcc: Update references to t-linux-android and linux-android.o.
From-SVN: r205777
2013-12-07 08:46:47 +00:00
Jakub Jelinek
b32f3fefd2
* ssp.c (fail): Avoid -Wformat-security warning.
...
From-SVN: r205775
2013-12-07 09:10:02 +01:00
Alan Modra
c869fd04dc
rs6000.md (bswapdi2_32bit): Remove ?? from r->r alternative.
...
* config/rs6000/rs6000.md (bswapdi2_32bit): Remove ?? from r->r
alternative.
From-SVN: r205773
2013-12-07 15:05:59 +10:30
Ralf Corsepius
c6adc8b3f7
config.gcc (microblaze*-*-rtems*): Add TARGET_BIG_ENDIAN_DEFAULT.
...
2013-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* config.gcc (microblaze*-*-rtems*): Add TARGET_BIG_ENDIAN_DEFAULT.
From-SVN: r205771
2013-12-07 04:23:38 +01:00
GCC Administrator
0b8b64393f
Daily bump.
...
From-SVN: r205770
2013-12-07 00:16:48 +00:00
Paolo Carlini
44916fe15f
testsuite_tr1.h (test_category, [...]): constexpr in c++11 mode.
...
2013-12-06 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/util/testsuite_tr1.h (test_category, test_property,
test_relationship): constexpr in c++11 mode.
* testsuite/20_util/add_lvalue_reference/value.cc: Use static_assert
and change to dg-do compile testcase.
* testsuite/20_util/add_rvalue_reference/value.cc: Likewise.
* testsuite/20_util/aligned_storage/value.cc: Likewise.
* testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
* testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
* testsuite/20_util/has_trivial_default_constructor/value.cc: Likewise.
* testsuite/20_util/is_compound/value.cc: Likewise.
* testsuite/20_util/is_constructible/value.cc: Likewise.
* testsuite/20_util/is_convertible/value.cc: Likewise.
* testsuite/20_util/is_copy_assignable/value.cc: Likewise.
* testsuite/20_util/is_copy_constructible/value.cc: Likewise.
* testsuite/20_util/is_floating_point/value.cc: Likewise.
* testsuite/20_util/is_function/value.cc: Likewise.
* testsuite/20_util/is_fundamental/value.cc: Likewise.
* testsuite/20_util/is_integral/value.cc: Likewise.
* testsuite/20_util/is_literal_type/value.cc: Likewise.
* testsuite/20_util/is_lvalue_reference/value.cc: Likewise.
* testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
* testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
* testsuite/20_util/is_member_pointer/value.cc: Likewise.
* testsuite/20_util/is_move_assignable/value.cc: Likewise.
* testsuite/20_util/is_move_constructible/value.cc: Likewise.
* testsuite/20_util/is_nothrow_assignable/value.cc: Likewise.
* testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
* testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
* testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
* testsuite/20_util/is_nothrow_default_constructible/value.cc: Likewise.
* testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
* testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
* testsuite/20_util/is_null_pointer/value.cc: Likewise.
* testsuite/20_util/is_object/value.cc: Likewise.
* testsuite/20_util/is_pod/value.cc: Likewise.
* testsuite/20_util/is_reference/value.cc: Likewise.
* testsuite/20_util/is_rvalue_reference/value.cc: Likewise.
* testsuite/20_util/is_scalar/value.cc: Likewise.
* testsuite/20_util/is_signed/value.cc: Likewise.
* testsuite/20_util/is_standard_layout/value.cc: Likewise.
* testsuite/20_util/is_trivial/value.cc: Likewise.
* testsuite/20_util/is_trivially_destructible/value.cc: Likewise.
* testsuite/20_util/is_unsigned/value.cc: Likewise.
* testsuite/20_util/make_signed/requirements/typedefs-2.cc: Likewise.
* testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Likewise.
* testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Likewise.
* testsuite/20_util/remove_reference/value.cc: Likewise.
From-SVN: r205766
2013-12-06 23:08:41 +00:00
Vladimir Makarov
07d50f394d
rs600.md (*bswapdi2_64bit): Remove ?? from the constraint.
...
2013-12-06 Vladimir Makarov <vmakarov@redhat.com>
* config/rs6000/rs600.md (*bswapdi2_64bit): Remove ?? from the
constraint.
From-SVN: r205765
2013-12-06 22:10:22 +00:00
Caroline Tice
31226750a1
Fix two small problems...
...
Fix two small problems: Make the libvtv function
decls globally visible, and update all uses of the
verified vtable poitner with the verification results,
rather than just hte first use.
From-SVN: r205764
2013-12-06 13:22:14 -08:00
Andrew Pinski
cd93c60e35
re PR target/59092 (__builtin_trap calls abort for aarch64-linux-gnu)
...
2013-12-06 Andrew Pinski <apinski@cavium.com>
PR target/59092
* config/aarch64/aarch64.md (trap): New pattern.
From-SVN: r205763
2013-12-06 13:08:33 -08:00
Jakub Jelinek
5f07cbdb0d
re PR tree-optimization/59388 (ICE on valid code at -O1 and above on x86_64-linux-gnu)
...
PR tree-optimization/59388
* tree-ssa-reassoc.c (update_range_test): If op == range->exp,
gimplify tem after stmt rather than before it.
* gcc.c-torture/execute/pr59388.c: New test.
From-SVN: r205761
2013-12-06 22:00:49 +01:00
Jakub Jelinek
a3698dfc4a
tree-data-ref.c (struct data_ref_loc_d): Replace pos field with ref.
...
* tree-data-ref.c (struct data_ref_loc_d): Replace pos field with ref.
(get_references_in_stmt): Don't record operand addresses, but
operands themselves.
(find_data_references_in_stmt, graphite_find_data_references_in_stmt):
Adjust for the pos -> ref change.
From-SVN: r205760
2013-12-06 21:38:15 +01:00
Dominique d'Humieres
bbafacb611
re PR testsuite/59043 (FAIL: (gcc|++).dg/pubtypes* scan-assembler long.*Length of Public Type Names Info)
...
2013-12-06 Dominique d'Humieres <dominiq@lps.ens.fr>
PR testsuite/59043
* g++.dg/pubtypes.C: Adjust the regular expression.
* gcc.dg/pubtypes-1.c: Likewise.
* gcc.dg/pubtypes-2.c: Likewise.
* gcc.dg/pubtypes-3.c: Likewise.
* gcc.dg/pubtypes-4.c: Likewise.
From-SVN: r205758
2013-12-06 19:26:26 +00:00
Oleg Endo
2220433cd2
MAINTAINERS: Add myself as sh maintainer.
...
* MAINTAINERS: Add myself as sh maintainer.
From-SVN: r205757
2013-12-06 19:23:34 +00:00
Ian Lance Taylor
dccd3a9b62
re PR go/59408 (Many Go tests FAIL with notesleep not on g0)
...
PR go/59408
runtime: Don't require g != m->g0 in sema notesleep.
From-SVN: r205756
2013-12-06 18:26:27 +00:00
Tejas Belagod
20e08dcdd7
Fix dg options to vect-nop-move.c.
...
2013-12-06 Tejas Belagod <tejas.belagod@arm.com>
testsuite/
* gcc.dg/vect/vect-nop-move.c: Fix dg options.
From-SVN: r205755
2013-12-06 17:48:12 +00:00
H.J. Lu
86bb84f178
Change -mtune=ia to -mtune=intel
...
* config.gcc: Change --with-cpu=ia to --with-cpu=intel.
* config/i386/i386.c (cpu_names): Replace "ia" with "intel".
(processor_alias_table): Likewise.
(ix86_option_override_internal): Likewise.
* config/i386/i386.h (target_cpu_default): Replace
TARGET_CPU_DEFAULT_ia with TARGET_CPU_DEFAULT_intel.
* doc/invoke.texi: Replace -mtune=ia with -mtune=intel.
From-SVN: r205754
2013-12-06 09:36:22 -08:00
Uros Bizjak
6b3d111345
re PR target/59405 (Incorrect FP<->MMX transition during call/ret)
...
PR target/59405
* config/i386/i386.c (type_natural_mode): Properly handle
size 8 for !TARGET_64BIT.
testsuite/ChangeLog:
PR target/59405
* gcc.target/i386/pr59405.c: New test.
From-SVN: r205753
2013-12-06 18:16:52 +01:00
Ralf Corsepius
3fa2ccb430
config.host (microblaze-*-rtems*): New.
...
2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* config.host (microblaze-*-rtems*): New.
From-SVN: r205751
2013-12-06 18:09:57 +01:00
Trevor Saunders
7b823b4f6b
remove an unneeded vec.release () to unbreak lto bootstrap
...
From-SVN: r205750
2013-12-06 16:56:59 +00:00
Ian Bolton
60ea4be6cf
[ARM] Add __builtin_trap support for A32
...
Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r205749
2013-12-06 15:51:49 +00:00
Jakub Jelinek
0284b52ec9
elf.c (ET_DYN): Undefine and define again.
...
* elf.c (ET_DYN): Undefine and define again.
(elf_add): Add exe argument, if true and ehdr.e_type is ET_DYN,
return early -1 without closing the descriptor.
(struct phdr_data): Add exe_descriptor.
(phdr_callback): If pd->exe_descriptor is not -1, for very first
call if dlpi_name is NULL just call elf_add with the exe_descriptor,
otherwise backtrace_close the exe_descriptor if not -1. Adjust
call to elf_add.
(backtrace_initialize): Adjust call to elf_add. If it returns
-1, set pd.exe_descriptor to descriptor, otherwise set it to -1.
From-SVN: r205748
2013-12-06 15:48:17 +01:00
Bernd Edlinger
26c096c3a3
expr.c (expand_assignment): Update bitregion_start and bitregion_end.
...
2013-12-06 Bernd Edlinger <bernd.edlinger@hotmail.de>
* expr.c (expand_assignment): Update bitregion_start and
bitregion_end.
From-SVN: r205745
2013-12-06 14:23:00 +00:00
H.J. Lu
079db27b09
Use int64 on time and clock for x32
...
* sanitizer_common/sanitizer_platform_limits_posix.h
(__sanitizer_shmid_ds): Use u64 on time fields for x32.
(__sanitizer_clock_t): Use long long for x32.
From-SVN: r205737
2013-12-06 03:48:24 -08:00
H.J. Lu
7efb96c077
Include <sys/stat.h> if __x86_64__ is defined
...
* sanitizer_common/sanitizer_platform_limits_linux.cc: Include
<sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
(struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
From-SVN: r205736
2013-12-06 03:44:55 -08:00
Eric Botcazou
fde66fde16
re PR target/59316 (gcc.dg/atomic/c11-atomic-exec-5.c FAILs on Solaris/SPARC)
...
PR target/59316
* config/sparc/sparc.h (SPARC_LOW_FE_EXCEPT_VALUES): Define.
* config/sparc/sol2.h (SPARC_LOW_FE_EXCEPT_VALUES): Redefine.
* config/sparc/sparc.c (TARGET_INIT_BUILTINS): Move around.
(TARGET_BUILTIN_DECL): Define.
(TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Likewise.
(sparc32_initialize_trampoline): Adjust call to gen_flush.
(enum sparc_builtins): New enumeral type.
(sparc_builtins): New static array.
(sparc_builtins_icode): Likewise.
(def_builtin): Accept a separate icode and save the result.
(def_builtin_const): Likewise.
(sparc_fpu_init_builtins): New function.
(sparc_vis_init_builtins): Pass the builtin code.
(sparc_init_builtins): Call it if TARGET_FPU.
(sparc_builtin_decl): New function.
(sparc_expand_builtin): Deal with SPARC_BUILTIN_{LD,ST}FSR.
(sparc_handle_vis_mul8x16): Use the builtin code.
(sparc_fold_builtin): Likewise. Deal with SPARC_BUILTIN_{LD,ST}FSR
and SPARC_BUILTIN_PDISTN.
(compound_expr): New helper function.
(sparc_atomic_assign_expand_fenv): New function.
* config/sparc/sparc.md (unspecv): Reorder values, add UNSPECV_LDFSR
and UNSPECV_STFSR.
(flush, flushdi): Merge into single pattern.
(ldfsr): New instruction.
(stfsr): Likewise.
From-SVN: r205735
2013-12-06 11:31:56 +00:00
Oleg Endo
2c8326a568
asan.c: Remove struct tags when referring to class varpool_node.
...
* asan.c: Remove struct tags when referring to class varpool_node.
* cgraph.h: Likewise.
* cgraphbuild.c: Likewise.
* cgraphunit.c: Likewise.
* dbxout.c: Likewise.
* dwarf2out.c: Likewise.
* gimple-fold.c: Likewise.
* ipa-devirt.c: Likewise.
* ipa-ref-inline.h: Likewise.
* ipa-ref.h: Likewise.
* ipa-reference.c: Likewise.
* ipa-utils.c: Likewise.
* ipa.c: Likewise.
* lto-cgraph.c: Likewise.
* lto-streamer-out.c: Likewise.
* lto-streamer.h: Likewise.
* passes.c: Likewise.
* toplev.c: Likewise.
* tree-eh.c: Likewise.
* tree-emutls.c: Likewise.
* tree-pass.h: Likewise.
* tree-ssa-structalias.c: Likewise.
* tree-vectorizer.c: Likewise.
* tree.c: Likewise.
* varasm.c: Likewise.
* varpool.c: Likewise.
* cp/decl2.c: Remove struct tags when referring to class varpool_node.
* lto/lto.c: Remove struct tags when referring to class varpool_node.
* lto/lto-partition.c: Likewise.
* lto/lto-symtab.c: Likewise.
From-SVN: r205733
2013-12-06 10:40:53 +00:00
Oleg Endo
6a5ac314de
cgraphunit.c: Remove struct tags when referring to class ipa_opt_pass_d or class opt_pass.
...
* cgraphunit.c: Remove struct tags when referring to class
ipa_opt_pass_d or class opt_pass.
* function.h: Likewise.
* lto-cgraph.c: Likewise.
* pass_manager.h: Likewise.
* passes.c: Likewise.
* tree-pass.h: Likewise.
From-SVN: r205732
2013-12-06 10:27:20 +00:00
Rainer Orth
041508a2ec
Provide _M_2_SQRTPI if missing.
...
* intrinsics/erfc_scaled.c (_M_2_SQRTPI): Define if missing.
From-SVN: r205731
2013-12-06 10:04:05 +00:00
Richard Biener
95b3eff34e
re PR tree-optimization/59058 (wrong code at -O3 on x86_64-linux-gnu (affecting gcc 4.6 to trunk))
...
2013-12-06 Richard Biener <rguenther@suse.de>
PR tree-optimization/59058
* tree-vectorizer.h (struct _loop_vec_info): Add num_itersm1
member.
(LOOP_VINFO_NITERSM1): New macro.
* tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): Express
the vector loop entry test in terms of scalar latch executions.
(vect_do_peeling_for_alignment): Update LOOP_VINFO_NITERSM1.
* tree-vect-loop.c (vect_get_loop_niters): Also return the
number of latch executions.
(new_loop_vec_info): Initialize LOOP_VINFO_NITERSM1.
(vect_analyze_loop_form): Likewise.
(vect_generate_tmps_on_preheader): Compute the number of
vectorized iterations differently.
* gcc.dg/torture/pr59058.c: New testcase.
From-SVN: r205730
2013-12-06 09:23:07 +00:00
Richard Biener
3fc92e702e
inclhack.def (suse_linux_vt_cxx): New fix for linux/vt.h being not compatible with C++.
...
2013-12-06 Richard Biener <rguenther@suse.de>
* inclhack.def (suse_linux_vt_cxx): New fix for linux/vt.h
being not compatible with C++.
* tests/base/linux/vt.h: New test.
From-SVN: r205729
2013-12-06 08:28:35 +00:00
Jan-Benedict Glaw
7376f39723
score.c (score_force_temporary): Delete function.
...
2013-12-05 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* config/score/score.c (score_force_temporary): Delete function.
(score_split_symbol): Ditto.
* config/score/score.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add extra
parentheses to silence ambiguity warning and reindent.
From-SVN: r205727
2013-12-06 04:34:34 +00:00
GCC Administrator
46ba9c210e
Daily bump.
...
From-SVN: r205726
2013-12-06 00:16:53 +00:00
Paolo Carlini
c48ff202fc
pr15774-1.C: Adjust expected message.
...
2013-12-05 Paolo Carlini <paolo.carlini@oracle.com>
* g++.dg/warn/pr15774-1.C: Adjust expected message.
From-SVN: r205722
2013-12-05 23:17:57 +00:00
Marek Polacek
5ba505e708
invoke.texi: Document -fsanitize=signed-integer-overflow.
...
2013-12-05 Marek Polacek <polacek@redhat.com>
* doc/invoke.texi: Document -fsanitize=signed-integer-overflow.
From-SVN: r205721
2013-12-05 22:51:11 +00:00
Jason Merrill
5cc2edcde4
re PR c++/59044 (Internal compiler error triggers when accessing a typedef in a specialized member class)
...
PR c++/59044
PR c++/59052
* pt.c (most_specialized_class): Use the partially instantiated
template for deduction. Drop the TMPL parameter.
From-SVN: r205720
2013-12-05 17:46:36 -05:00
H.J. Lu
a8f014d730
Add -march=ia to x86 backend
...
* config.gcc: Support --with-cpu=ia.
* config/i386/i386.c (cpu_names): Add "ia".
(processor_alias_table): Likewise.
(ix86_option_override_internal): Disallow -march=ia.
* config/i386/i386.h (target_cpu_default): Add
TARGET_CPU_DEFAULT_ia.
* doc/invoke.texi: Document -mtune=ia.
From-SVN: r205719
2013-12-05 12:47:13 -08:00
Vladimir Makarov
58532ca673
re PR rtl-optimization/59317 ([LRA,MIPS] ICE: in check_rtl, at lra.c (insn does not satisfy constraints))
...
2013-12-05 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/59317
* lra-constraints.c (in_class_p): Don't ignore insn with constant
as a source.
2013-12-05 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/59317
* testsuite/gcc.target/mips/pr59317.c: New.
From-SVN: r205718
2013-12-05 19:39:39 +00:00
Ian Lance Taylor
bfd74f227d
alloc.c (backtrace_vector_finish): Add error_callback and data parameters.
...
* alloc.c (backtrace_vector_finish): Add error_callback and data
parameters. Call backtrace_vector_release. Return address base.
* mmap.c (backtrace_vector_finish): Add error_callback and data
parameters. Return address base.
* dwarf.c (read_function_info): Get new address base from
backtrace_vector_finish.
* internal.h (backtrace_vector_finish): Update declaration.
From-SVN: r205716
2013-12-05 18:32:02 +00:00
Martin Jambor
e69dbe3721
re PR ipa/58253 (IPA-SRA creates calls with different arguments that the callee accepts)
...
2013-12-05 Martin Jambor <mjambor@suse.cz>
PR ipa/58253
* ipa-prop.c (ipa_modify_formal_parameters): Create decls of
non-BLKmode in their naturally aligned type.
From-SVN: r205715
2013-12-05 19:07:08 +01:00
Marek Polacek
1769415d4a
re PR sanitizer/59333 (ICE with long long and -m32 -fsanitize=undefined)
...
PR sanitizer/59333
PR sanitizer/59397
* ubsan.c: Include rtl.h and expr.h.
(ubsan_encode_value): Add new parameter. If expanding, assign
a stack slot for DECL_RTL of the temporary and call expand_assignment.
Handle BOOLEAN_TYPE and ENUMERAL_TYPE.
(ubsan_build_overflow_builtin): Adjust ubsan_encode_value call.
* ubsan.h (ubsan_encode_value): Adjust declaration.
* internal-fn.c (ubsan_expand_si_overflow_addsub_check): Move
ubsan_build_overflow_builtin above expand_normal call. Surround this call
with push_temp_slots and pop_temp_slots.
(ubsan_expand_si_overflow_neg_check): Likewise.
(ubsan_expand_si_overflow_mul_check): Likewise.
testsuite/
* c-c++-common/ubsan/pr59333.c: New test.
* c-c++-common/ubsan/pr59397.c: New test.
From-SVN: r205714
2013-12-05 18:03:44 +00:00