platform/upstream/linaro-gcc.git
10 years ago PR ada/60411
ebotcazou [Wed, 9 Apr 2014 07:57:48 +0000 (07:57 +0000)]
PR ada/60411
* s-osinte-android.ads: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209237 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
wschmidt [Wed, 9 Apr 2014 02:12:11 +0000 (02:12 +0000)]
2014-04-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000.c (rs6000_expand_vector_set): Use vnand
instead of vnor to exploit possible fusion opportunity in the
future.
(altivec_expand_vec_perm_const_le): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209235 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Wed, 9 Apr 2014 00:17:02 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209233 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago/cp
paolo [Wed, 9 Apr 2014 00:09:28 +0000 (00:09 +0000)]
/cp
2014-04-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/59115
* pt.c (process_template_parm): For an invalid non-type parameter
only set TREE_TYPE to error_mark_node.
(push_inline_template_parms_recursive, comp_template_parms,
redeclare_class_template, coerce_template_template_parm,
coerce_template_template_parms, unify): Use error_operand_p.

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

PR c++/59115
* g++.dg/template/crash119.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209230 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR ada/60411
ebotcazou [Tue, 8 Apr 2014 20:35:14 +0000 (20:35 +0000)]
PR ada/60411
* sigtramp.h: Add Android support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209227 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/rs6000/sync.md (AINT mode_iterator): Move definition.
pthaugen [Tue, 8 Apr 2014 18:31:06 +0000 (18:31 +0000)]
* config/rs6000/sync.md (AINT mode_iterator): Move definition.
(loadsync_<mode>): Change mode.
(load_quadpti, store_quadpti): New.
(atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
* config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.

* gcc.target/powerpc/atomic_load_store-p8.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209225 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * lib/gcc-dg.exp (dg-build-dso): Reset dg-do-what-default to
jason [Tue, 8 Apr 2014 17:58:46 +0000 (17:58 +0000)]
* lib/gcc-dg.exp (dg-build-dso): Reset dg-do-what-default to
compile.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209224 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agogcc/
rsandifo [Tue, 8 Apr 2014 17:50:45 +0000 (17:50 +0000)]
gcc/
PR target/60763
* config/rs6000/vsx.md (vsx_xscvdpspn_scalar): Change input to DImode.
* config/rs6000/rs6000.md (reload_vsx_from_gprsf): Update accordingly.
Use gen_rtx_REG rather than simplify_gen_subreg for op0_di.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209223 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR sanitizer/60745
mpolacek [Tue, 8 Apr 2014 17:23:26 +0000 (17:23 +0000)]
PR sanitizer/60745
* c-ubsan.c: Include asan.h.
(ubsan_instrument_return): Call initialize_sanitizer_builtins.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209222 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Tue, 8 Apr 2014 14:18:46 +0000 (14:18 +0000)]
2014-04-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

PR rtl-optimization/60776
* gcc.dg/builtin-bswap-6.c: Use -mbranch-cost=0 for s390.
* gcc.dg/builtin-bswap-7.c: Likewise.
* gcc.dg/builtin-bswap-6a.c: New testcase.
* gcc.dg/builtin-bswap-7a.c: New testcase.

Revert
2014-04-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gcc.dg/builtin-bswap-6.c: Adjust return value to disable GCC
optimization.
* gcc.dg/builtin-bswap-7.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209221 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-08 Richard Biener <rguenther@suse.de>
rguenth [Tue, 8 Apr 2014 12:57:07 +0000 (12:57 +0000)]
2014-04-08  Richard Biener  <rguenther@suse.de>

PR middle-end/60706
* tree-pretty-print.c (pp_double_int): For HWI32 hosts with
a 64bit widest int print double-int similar to on HWI64 hosts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209216 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-08 Richard Biener <rguenther@suse.de>
rguenth [Tue, 8 Apr 2014 10:59:40 +0000 (10:59 +0000)]
2014-04-08  Richard Biener  <rguenther@suse.de>

PR tree-optimization/60785
* graphite-sese-to-poly.c (rewrite_phi_out_of_ssa): Treat
default defs properly.

* gcc.dg/graphite/pr60785.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209214 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoXFAIL gcc.c-torture/compile/pr28865.c on Solaris 9/SPARC (PR target/60602)
ro [Tue, 8 Apr 2014 10:56:04 +0000 (10:56 +0000)]
XFAIL gcc.c-torture/compile/pr28865.c on Solaris 9/SPARC (PR target/60602)

PR target/60602
* gcc.c-torture/compile/pr28865.c: XFAIL on sparc*-*-solaris2.9*
with as at -O0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209213 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * doc/invoke (Wnon-virtual-dtor): Update to match implementation.
nathan [Tue, 8 Apr 2014 10:19:36 +0000 (10:19 +0000)]
* doc/invoke (Wnon-virtual-dtor): Update to match implementation.
(Weffc++): Likewise.

cp/
* class.c (check_bases_and_members): Warn about non-virtual dtors
in public bases only.  Check warn_ecpp before complaining about
non-polymorphic bases.

testsuite/
* g++.dg/warn/Wnvdtor-2.C: Add more cases.
* g++.dg/warn/Wnvdtor-3.C: Likewise.
* g++.dg/warn/Wnvdtor-4.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209212 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR ada/60411
ebotcazou [Tue, 8 Apr 2014 09:03:42 +0000 (09:03 +0000)]
PR ada/60411
* sigtramp-armdroid.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209211 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR ada/60411
ebotcazou [Tue, 8 Apr 2014 08:23:56 +0000 (08:23 +0000)]
PR ada/60411
* gcc-interface/Makefile.in (arm% linux-android): Switch to EHABI.
* s-linux-android.ads: New file.
* s-intman-android.adb: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209210 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * ipa-devirt.c (maybe_record_node): When node is not recorded,
hubicka [Tue, 8 Apr 2014 05:35:11 +0000 (05:35 +0000)]
* ipa-devirt.c (maybe_record_node): When node is not recorded,
set completep to false rather than true.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209209 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Tue, 8 Apr 2014 00:17:05 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209208 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR target/60504
ebotcazou [Mon, 7 Apr 2014 21:31:29 +0000 (21:31 +0000)]
PR target/60504
* config/arm/arm.h (ASM_PREFERRED_EH_DATA_FORMAT): Expose from
ARM_TARGET2_DWARF_FORMAT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209201 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFix testsuite bugs.
redi [Mon, 7 Apr 2014 18:40:18 +0000 (18:40 +0000)]
Fix testsuite bugs.

* testsuite/20_util/exchange/1.cc: Add missing return statements.
* testsuite/20_util/pair/40925.cc: Avoid most vexing parse.
* testsuite/22_locale/codecvt_byname/50714.cc: Add missing exception
specifications.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209196 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * gcc-interface/Makefile.in (alpha-vms): Add missing line.
ebotcazou [Mon, 7 Apr 2014 17:54:23 +0000 (17:54 +0000)]
* gcc-interface/Makefile.in (alpha-vms): Add missing line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209195 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-07 Charles Baylis <charles.baylis@linaro.org>
yroux [Mon, 7 Apr 2014 15:07:33 +0000 (15:07 +0000)]
2014-04-07  Charles Baylis  <charles.baylis@linaro.org>

        PR target/60609
        * config/arm/arm.h (ASM_OUTPUT_CASE_END): Remove.
        (LABEL_ALIGN_AFTER_BARRIER): Align barriers which occur after
        ADDR_DIFF_VEC.

2014-04-07  Charles Baylis  <charles.baylis@linaro.org>

        PR target/60609
        * g++.dg/torture/pr60609.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209191 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-07 Richard Biener <rguenther@suse.de>
rguenth [Mon, 7 Apr 2014 14:03:55 +0000 (14:03 +0000)]
2014-04-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/60766
* tree-ssa-loop-ivopts.c (cand_value_at): Compute in an
unsigned type.
(may_eliminate_iv): Convert cand_value_at result to desired
type.

* gcc.dg/torture/pr60766.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209190 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c++/60731
jason [Mon, 7 Apr 2014 13:27:45 +0000 (13:27 +0000)]
PR c++/60731
* lib/gcc-dg.exp (dg-build-dso): New.
(gcc-dg-test-1): Handle dg-do-what "dso".
* lib/target-supports.exp (add_options_for_dlopen): New.
(check_effective_target_dlopen): Use it.
* g++.dg/dso/dlclose1.C: New.
* g++.dg/dso/dlclose1-dso.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209187 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c++/60731
jason [Mon, 7 Apr 2014 13:27:39 +0000 (13:27 +0000)]
PR c++/60731
* common.opt (-fno-gnu-unique): Add.
* config/elfos.h (USE_GNU_UNIQUE_OBJECT): Check it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209186 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFix testcase for PR target/60657
ramana [Mon, 7 Apr 2014 13:17:11 +0000 (13:17 +0000)]
Fix testcase for PR target/60657

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209185 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * haifa-sched.c: Fix outdated function reference and minor
ktkachov [Mon, 7 Apr 2014 13:16:46 +0000 (13:16 +0000)]
* haifa-sched.c: Fix outdated function reference and minor
grammar errors in introductory comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209184 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-07 Richard Biener <rguenther@suse.de>
rguenth [Mon, 7 Apr 2014 08:38:23 +0000 (08:38 +0000)]
2014-04-07  Richard Biener  <rguenther@suse.de>

PR middle-end/60750
* tree-ssa-operands.c (maybe_add_call_vops): Also add VDEFs
for noreturn calls.
* tree-cfgcleanup.c (fixup_noreturn_call): Do not remove VDEFs.

* g++.dg/torture/pr60750.C: New testcase.
* gcc.dg/tree-ssa/20040517-1.c: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209179 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Mon, 7 Apr 2014 00:16:32 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209173 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * doc/invoke.texi: Add info for __AVR_ISA_RMW__ builtin macro
denisc [Sun, 6 Apr 2014 19:09:36 +0000 (19:09 +0000)]
* doc/invoke.texi: Add info for __AVR_ISA_RMW__ builtin macro

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209169 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago* gcc.c-torture/compile/pr60655-1.c: Use __SIZE_TYPE__ for size_t.
schwab [Sun, 6 Apr 2014 17:55:12 +0000 (17:55 +0000)]
* gcc.c-torture/compile/pr60655-1.c: Use __SIZE_TYPE__ for size_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209167 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR testsuite/60671
danglin [Sun, 6 Apr 2014 16:44:21 +0000 (16:44 +0000)]
PR testsuite/60671
g++.dg/pr49718.C: Adjust scan-assembler-times for hppa*-*-hpux*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209166 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR testsuite/60672
danglin [Sun, 6 Apr 2014 16:31:38 +0000 (16:31 +0000)]
PR testsuite/60672
* g++.dg/cpp1y/auto-fn25.C: Require lto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209165 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * gcc.dg/atomic/stdatomic-flag.c: xfail on hppa*-*-hpux*.
danglin [Sun, 6 Apr 2014 16:19:39 +0000 (16:19 +0000)]
* gcc.dg/atomic/stdatomic-flag.c: xfail on hppa*-*-hpux*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209164 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR debug/55794
danglin [Sun, 6 Apr 2014 15:17:41 +0000 (15:17 +0000)]
PR debug/55794
* config/pa/pa.c (pa_output_function_epilogue): Skip address and code
size accounting for thunks.
(pa_asm_output_mi_thunk): Use final_start_function() and
final_end_function() to output function start and end directives.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209163 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Sun, 6 Apr 2014 00:16:33 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209160 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-05 Dominique d'Humieres <dominiq@lps.ens.fr>
dominiq [Sat, 5 Apr 2014 11:25:36 +0000 (11:25 +0000)]
2014-04-05  Dominique d'Humieres <dominiq@lps.ens.fr>

* gfortran.dg/warn_conversion_4.f90: Adjust test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209151 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/avr/avr-arch.h (avr_mcu_t): Add dev_attribute field to have device
denisc [Sat, 5 Apr 2014 05:51:59 +0000 (05:51 +0000)]
* config/avr/avr-arch.h (avr_mcu_t): Add dev_attribute field to have device
specific ISA/ feature information. Remove short_sp and errata_skip ds.
Add avr_device_specific_features enum to have device specific info.
* config/avr/avr-c.c (avr_cpu_cpp_builtins): use dev_attribute to check
errata_skip. Add __AVR_ISA_RMW__ builtin macro if RMW ISA available.
* config/avr/avr-devices.c (avr_mcu_types): Update AVR_MCU macro for
updated device specific info.
* config/avr/avr-mcus.def: Merge device specific details to
dev_attribute field.
* config/avr/avr.c (avr_2word_insn_p): use dev_attribute field to check
errata_skip.
* config/avr/avr.h (AVR_HAVE_8BIT_SP): same for short sp info.
* config/avr/driver-avr.c (avr_device_to_as): Pass -mrmw option to
assembler if RMW isa supported by current device.
* config/avr/genmultilib.awk: Update as device info structure changed.
* doc/invoke.texi: Add info for __AVR_ISA_RMW__ builtin macro

* gcc.target/avr/dev-specific-rmw.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209141 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-04 Cong Hou <congh@google.com>
congh [Sat, 5 Apr 2014 01:27:21 +0000 (01:27 +0000)]
2014-04-04  Cong Hou  <congh@google.com>

    PR tree-optimization/60656
    * tree-vect-stmts.c (supportable_widening_operation):
      Fix a bug that elements in a vector with vect_used_by_reduction
      property are incorrectly reordered when the operation on it is not
      consistant with the one in reduction operation.

2014-04-04  Cong Hou  <congh@google.com>

    PR tree-optimization/60656
    * gcc.dg/vect/pr60656.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209138 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Sat, 5 Apr 2014 00:17:03 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209137 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR rtl-optimization/60155
danglin [Fri, 4 Apr 2014 22:25:51 +0000 (22:25 +0000)]
PR rtl-optimization/60155
* gcse.c (record_set_data): New function.
(single_set_gcse): New function.
(gcse_emit_move_after): Use single_set_gcse instead of single_set.
(hoist_code): Likewise.
(get_pressure_class_and_nregs): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209134 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-04 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 4 Apr 2014 22:16:16 +0000 (22:16 +0000)]
2014-04-04  Tobias Burnus  <burnus@net-b.de>

        * check.c (gfc_check_cmplx): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209133 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Fri, 4 Apr 2014 21:58:34 +0000 (21:58 +0000)]
2014-04-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gcc.dg/builtin-bswap-6.c: Adjust return value to disable GCC
optimization.
* gcc.dg/builtin-bswap-7.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209132 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-04 Fabien Chêne <fabien@gcc.gnu.org>
fabien [Fri, 4 Apr 2014 21:36:11 +0000 (21:36 +0000)]
2014-04-04  Fabien Chêne  <fabien@gcc.gnu.org>

* decl.c (duplicate_decls): Check for the return of warning_at
before emitting a note.
(warn_misplaced_attr_for_class_type): Likewise.
(check_tag_decl): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209131 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * explow.c (probe_stack_range): Emit a final optimization blockage.
ebotcazou [Fri, 4 Apr 2014 21:07:48 +0000 (21:07 +0000)]
* explow.c (probe_stack_range): Emit a final optimization blockage.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209130 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR bootstrap/60620
ebotcazou [Fri, 4 Apr 2014 20:53:48 +0000 (20:53 +0000)]
PR bootstrap/60620
* Makefile.def (dependencies): Make gnattools depend on libstdc++-v3.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209129 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago/cp
paolo [Fri, 4 Apr 2014 20:11:47 +0000 (20:11 +0000)]
/cp
2014-04-04  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58207
* semantics.c (sort_constexpr_mem_initializers): Robustify loop.

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

PR c++/58207
* g++.dg/cpp0x/constexpr-ice15.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209128 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFix typo in recent patch.
green [Fri, 4 Apr 2014 19:46:07 +0000 (19:46 +0000)]
Fix typo in recent patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209127 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c++/44613
jason [Fri, 4 Apr 2014 19:36:00 +0000 (19:36 +0000)]
PR c++/44613
* semantics.c (add_stmt): Set STATEMENT_LIST_HAS_LABEL.
* decl.c (cp_finish_decl): Create a new BIND_EXPR before
instantiating a variable-sized type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209125 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c++/21113
jason [Fri, 4 Apr 2014 19:35:54 +0000 (19:35 +0000)]
PR c++/21113
* decl.c (decl_jump_unsafe): Consider variably-modified decls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209124 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR ipa/59626
hubicka [Fri, 4 Apr 2014 18:02:31 +0000 (18:02 +0000)]
PR ipa/59626
* lto-cgraph.c (input_overwrite_node): Check that partitioning
flags are set only during streaming.
* ipa.c (process_references, walk_polymorphic_call_targets,
symtab_remove_unreachable_nodes): Drop bodies of always inline
after early inlining.
(symtab_remove_unreachable_nodes): Remove always_inline attribute.
* gcc.dg/lto/pr59626_0.c: New testcase.
* gcc.dg/lto/pr59626_1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209123 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFix PR debug/60655 - part 1
ramana [Fri, 4 Apr 2014 16:10:07 +0000 (16:10 +0000)]
Fix PR debug/60655 - part 1

This is a partial fix for PR60655 where dwarf2out.c rejects NOT of a
value in const_ok_for_output_1. There is still a problem with the
testcase on armhf where we get operations of the form, const (minus
(const_int) (symref)) without the -fdata-sections option which is just
weird. I'm not yet sure where this is produced from and will not have
the time to dig further today.

As Jakub said on IRC, const_ok_for_output_1 is called only with
partial rtx's and therefore disabling minus (const_int) (symref) might
not be the best thing to do especially if this were part of plus
(symref) (minus (const int) (symref)) and both symrefs were in the
same section.

Bootstrapped and regtested on armhf

Bootstrap and regression test running on x86_64.

Ok to commit ?

regards
Ramana

gcc/

<DATE>   Jakub Jelinek <jakub@redhat.com>
         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

* dwarf2out.c (const_ok_for_output_1): Reject expressions
containing a NOT.

gcc/testsuite

<DATE>  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

* gcc.c-torture/compile/pr60655-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209121 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago[ARM/AArch64] Reduce divider reservation duration in Cortex-A53 pipeline decription
ktkachov [Fri, 4 Apr 2014 15:47:45 +0000 (15:47 +0000)]
[ARM/AArch64] Reduce divider reservation duration in Cortex-A53 pipeline decription

PR bootstrap/60743
* config/arm/cortex-a53.md (cortex_a53_fdivs): Reduce reservation
duration.
(cortex_a53_fdivd): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209119 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-04 Fabien Chêne <fabien@gcc.gnu.org>
fabien [Fri, 4 Apr 2014 15:19:07 +0000 (15:19 +0000)]
2014-04-04  Fabien Chêne  <fabien@gcc.gnu.org>

* class.c (find_abi_tags_r): Check for the return of warning
before emitting a note.
(one_inherited_ctor): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209118 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-04 Martin Jambor <mjambor@suse.cz>
jamborm [Fri, 4 Apr 2014 14:11:06 +0000 (14:11 +0000)]
2014-04-04  Martin Jambor  <mjambor@suse.cz>

PR ipa/60640
        * cgraph.h (cgraph_clone_node): New parameter added to declaration.
        Adjust all callers.
* cgraph.c (clone_of_p): Also return true if thunks match.
(verify_edge_corresponds_to_fndecl): Removed extraneous call to
cgraph_function_or_thunk_node and an obsolete comment.
        * cgraphclones.c (build_function_type_skip_args): Moved upwards in the
        file.
        (build_function_decl_skip_args): Likewise.
(set_new_clone_decl_and_node_flags): New function.
        (duplicate_thunk_for_node): Likewise.
        (redirect_edge_duplicating_thunks): Likewise.
        (cgraph_clone_node): New parameter args_to_skip, pass it to
        redirect_edge_duplicating_thunks which is called instead of
        cgraph_redirect_edge_callee.
        (cgraph_create_virtual_clone): Pass args_to_skip to cgraph_clone_node,
moved setting of a lot of flags to set_new_clone_decl_and_node_flags.

testsuite/
        * g++.dg/ipa/pr60640-1.C: New test.
        * g++.dg/ipa/pr60640-2.C: Likewise.
        * g++.dg/ipa/pr60640-3.C: Likewise.
        * g++.dg/ipa/pr60640-4.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209097 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-04 Bernd Edlinger <bernd.edlinger@hotmail.de>
edlinger [Fri, 4 Apr 2014 13:54:16 +0000 (13:54 +0000)]
2014-04-04  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR fortran/60191
        * fortran/trans-types.c (gfc_get_function_type): In case of recursion
        build a variadic function type with empty argument list instead of a
        stdarg-like function type with incomplete argument list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209091 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR target/60657
law [Fri, 4 Apr 2014 13:13:20 +0000 (13:13 +0000)]
    PR target/60657
* config/arm/predicates.md (const_int_I_operand): New predicate.
(const_int_M_operand): Similarly.
* config/arm/arm.md (insv_zero): Use const_int_M_operand instead of
const_int_operand.
(insv_t2, extv_reg, extzv_t2): Likewise.
(load_multiple_with_writeback): Similarly for const_int_I_operand.
(pop_multiple_with_writeback_and_return): Likewise.
(vfp_pop_multiple_with_writeback): Likewise

PR target/60657
* gcc.target/arm/pr60657.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209085 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-04 Richard Biener <rguenther@suse.de>
rguenth [Fri, 4 Apr 2014 11:52:35 +0000 (11:52 +0000)]
2014-04-04  Richard Biener  <rguenther@suse.de>

PR ipa/60746
* tree-ssanames.c (make_ssa_name_fn): Fix assert.
* gimple.c (gimple_set_bb): Avoid ICEing for NULL cfun for
non-GIMPLE_LABELs.
* gimplify.h (gimple_add_tmp_var_fn): Declare.
* gimplify.c (gimple_add_tmp_var_fn): New function.
* gimple-expr.h (create_tmp_reg_fn): Declare.
* gimple-expr.c (create_tmp_reg_fn): New function.
* gimple-low.c (record_vars_into): Don't change cfun.
* cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Fix
code generation without cfun.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209079 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFix shell scripting.
tschwinge [Fri, 4 Apr 2014 08:09:23 +0000 (08:09 +0000)]
Fix shell scripting.

PR bootstrap/60719
* Makefile.in (install-driver): Fix shell scripting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209072 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-04 Fabien Chêne <fabien@gcc.gnu.org>
fabien [Fri, 4 Apr 2014 08:03:19 +0000 (08:03 +0000)]
2014-04-04  Fabien Chêne  <fabien@gcc.gnu.org>

* decl.c (duplicate_decls): Check for the return of permerror
before emitting a note.

2014-04-04  Fabien Chêne  <fabien@gcc.gnu.org>

* g++.old-deja/g++.robertl/eb121.C: Adjust.
* g++.old-deja/g++.jason/overload21.C: Likewise.
* g++.old-deja/g++.law/init5.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209071 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Fri, 4 Apr 2014 00:16:35 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209068 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-03 Cong Hou <congh@google.com>
congh [Thu, 3 Apr 2014 23:05:42 +0000 (23:05 +0000)]
2014-04-03  Cong Hou  <congh@google.com>

PR tree-optimization/60505
    * tree-vectorizer.h (struct _stmt_vec_info): Add th field as the
    threshold of number of iterations below which no vectorization will be
    done.
    * tree-vect-loop.c (new_loop_vec_info):
    Initialize LOOP_VINFO_COST_MODEL_THRESHOLD.
    * tree-vect-loop.c (vect_analyze_loop_operations):
    Set LOOP_VINFO_COST_MODEL_THRESHOLD.
    * tree-vect-loop.c (vect_transform_loop):
    Use LOOP_VINFO_COST_MODEL_THRESHOLD.
    * tree-vect-loop.c (vect_analyze_loop_2): Check the maximum number
    of iterations of the loop and see if we should build the epilogue.

2014-04-03  Cong Hou  <congh@google.com>

    PR tree-optimization/60505
    * gcc.dg/vect/pr60505.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209065 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-03 Richard Biener <rguenther@suse.de>
rguenth [Thu, 3 Apr 2014 14:27:02 +0000 (14:27 +0000)]
2014-04-03  Richard Biener  <rguenther@suse.de>

* tree-streamer.h (struct streamer_tree_cache_d): Add next_idx
member.
(streamer_tree_cache_create): Adjust.
* tree-streamer.c (streamer_tree_cache_add_to_node_array): Adjust
to allow optional nodes array.
(streamer_tree_cache_insert_1): Use next_idx to assign idx.
(streamer_tree_cache_append): Likewise.
(streamer_tree_cache_create): Create nodes array optionally
as specified by parameter.
* lto-streamer-out.c (create_output_block): Avoid maintaining
the node array in the writer cache.
(DFS_write_tree): Remove assertion.
(produce_asm_for_decls): Free the out decl state hash table
early.
* lto-streamer-in.c (lto_data_in_create): Adjust for
streamer_tree_cache_create prototype change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209059 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-03 Richard Biener <rguenther@suse.de>
rguenth [Thu, 3 Apr 2014 14:22:17 +0000 (14:22 +0000)]
2014-04-03  Richard Biener  <rguenther@suse.de>

* tree-streamer-out.c (streamer_write_chain): Do not temporarily
set TREE_CHAIN to NULL_TREE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209058 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-03 Richard Biener <rguenther@suse.de>
rguenth [Thu, 3 Apr 2014 13:43:23 +0000 (13:43 +0000)]
2014-04-03  Richard Biener  <rguenther@suse.de>

PR tree-optimization/60740
* graphite-scop-detection.c (stmt_simple_for_scop_p): Iterate
over all GIMPLE_COND operands.

* gcc.dg/graphite/pr60740.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209057 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * doc/invoke.texi (Wnon-virtual-dtor): Adjust documentation.
nathan [Thu, 3 Apr 2014 13:41:55 +0000 (13:41 +0000)]
* doc/invoke.texi (Wnon-virtual-dtor): Adjust documentation.
(Weffc++): Remove Scott's numbering, merge lists and reference
Wnon-virtual-dtor.

c-family/
* c.opt (Wnon-virtual-dtor): Auto set when Weffc++.

cp/
* class.c (accessible_nvdtor_p): New.
(check_bases): Don't check base destructor here ...
(check_bases_and_members): ... check them here.  Trigger on
Wnon-virtual-dtor flag.
(finish_struct_1): Use accessible_nvdtor_p.

testsuite/
* g++.dg/warn/Wnvdtor.C: Add non-polymorphic case.
* g++.dg/warn/Wnvdtor-2.C: New.
* g++.dg/warn/Wnvdtor-3.C: New.
* g++.dg/warn/Wnvdtor-4.C: New.
* g++.dg/warn/Weff1.C: Delete.
* g++.old-deja/g++.benjamin/15309-1.C: Delete.
* g++.old-deja/g++.benjamin/15309-2.C: Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209056 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/rl78/rl78-expand.md (movqi): Handle (SUBREG (SYMBOL_REF))
nickc [Thu, 3 Apr 2014 13:02:27 +0000 (13:02 +0000)]
* config/rl78/rl78-expand.md (movqi): Handle (SUBREG (SYMBOL_REF))
properly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209055 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-03 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 3 Apr 2014 09:35:41 +0000 (09:35 +0000)]
2014-04-03  Martin Jambor  <mjambor@suse.cz>

* ipa-cp.c (ipcp_verify_propagated_values): Also dump symtab and
mention gcc_unreachable before failing.
* ipa.c (symtab_remove_unreachable_nodes): Also print order of
removed symbols.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209052 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR ipa/60659
hubicka [Thu, 3 Apr 2014 03:55:59 +0000 (03:55 +0000)]
PR ipa/60659
* ipa-devirt.c (get_polymorphic_call_info): Do not ICE on type inconsistent
code and instead mark the context inconsistent.
(possible_polymorphic_call_targets): For inconsistent contexts
return empty complete list.
* testsuite/g++.dg/torture/pr60659.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209048 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoThis patch does three related things for the moxie port...
green [Thu, 3 Apr 2014 02:11:34 +0000 (02:11 +0000)]
This patch does three related things for the moxie port...

1. Changes char to be unsigned by default
2. Changes WCHAR_TYPE from long int to unsigned int
3. Zero- and sign-extends values properly, sometimes using the new
    sign-extension instructions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209047 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Thu, 3 Apr 2014 00:16:28 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209045 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago[gcc]
wschmidt [Wed, 2 Apr 2014 22:07:30 +0000 (22:07 +0000)]
[gcc]

2014-04-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/60733
* gimple-ssa-strength-reduction.c (ncd_with_phi): Change required
insertion point for PHI candidates to be the end of the feeding
block for the PHI argument.

[gcc/testsuite]

2014-04-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/60733
* gcc.dg/torture/pr60733.c:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209040 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-02 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Wed, 2 Apr 2014 20:55:02 +0000 (20:55 +0000)]
2014-04-02  Vladimir Makarov  <vmakarov@redhat.com>

PR rtl-optimization/60650
* lra-constraints.c (process_alt_operands): Decrease reject for
earlyclobber matching.

2014-04-02  Vladimir Makarov  <vmakarov@redhat.com>

PR rtl-optimization/60650
* gcc.target/arm/pr60650-2.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209038 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agolibgomp: Fix default futex vs errno
rth [Wed, 2 Apr 2014 20:27:29 +0000 (20:27 +0000)]
libgomp: Fix default futex vs errno

* config/linux/futex.h (futex_wait): Get error value from errno.
(futex_wake): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209035 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * gcc.target/i386/avx2-vpand-3.c,
jsm28 [Wed, 2 Apr 2014 20:14:32 +0000 (20:14 +0000)]
* gcc.target/i386/avx2-vpand-3.c,
gcc.target/i386/avx256-unaligned-load-2.c: Use -mno-prefer-avx128.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209034 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * gcc.target/i386/funcspec-2.c, gcc.target/i386/funcspec-3.c,
jsm28 [Wed, 2 Apr 2014 20:10:45 +0000 (20:10 +0000)]
* gcc.target/i386/funcspec-2.c, gcc.target/i386/funcspec-3.c,
gcc.target/i386/funcspec-9.c, gcc.target/i386/isa-1.c,
gcc.target/i386/memcpy-strategy-1.c,
gcc.target/i386/memcpy-strategy-2.c,
gcc.target/i386/memcpy-vector_loop-1.c,
gcc.target/i386/memcpy-vector_loop-2.c,
gcc.target/i386/memset-vector_loop-1.c,
gcc.target/i386/memset-vector_loop-2.c,
gcc.target/i386/sse2-init-v2di-2.c, gcc.target/i386/ssetype-1.c,
gcc.target/i386/ssetype-2.c, gcc.target/i386/ssetype-5.c: Skip for
-march= options different from those in dg-options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209033 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-02 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Wed, 2 Apr 2014 20:08:53 +0000 (20:08 +0000)]
2014-04-02  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.c (s390_expand_insv): Use GET_MODE_BITSIZE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209032 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/spu/spu.c (pad_bb): Do not crash when the last
uweigand [Wed, 2 Apr 2014 18:54:01 +0000 (18:54 +0000)]
* config/spu/spu.c (pad_bb): Do not crash when the last
insn is CODE_FOR_blockage.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209029 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/spu/spu.md ("insv"): Fail if bitoffset+bitsize
uweigand [Wed, 2 Apr 2014 18:53:06 +0000 (18:53 +0000)]
* config/spu/spu.md ("insv"): Fail if bitoffset+bitsize
lies outside the target mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209028 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agolibitm: Remove unused PAGE_SIZE macros
rth [Wed, 2 Apr 2014 17:49:36 +0000 (17:49 +0000)]
libitm: Remove unused PAGE_SIZE macros

        * config/alpha/target.h (PAGE_SIZE, FIXED_PAGE_SIZE): Remove.
        * config/arm/target.h, config/sh/target.h: Likewise.
        * config/sparc/target.h, config/x86/target.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209027 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-02 Michael Meissner <meissner@linux.vnet.ibm.com>
meissner [Wed, 2 Apr 2014 17:03:49 +0000 (17:03 +0000)]
2014-04-02  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/60735
* config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have
software floating point or no floating point registers, do not
allow any type in the FPRs.  Eliminate a test for SPE SIMD types
in GPRs that occurs after we tested for GPRs that would never be
true.

* config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64):
Rewrite tests to use TARGET_DOUBLE_FLOAT and TARGET_E500_DOUBLE,
since the FMOVE64 type is DFmode/DDmode.  If TARGET_E500_DOUBLE,
specifically allow DDmode, since that does not use the SPE SIMD
instructions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209025 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * c-common.h (c_expand_expr): Remove declaration.
mpolacek [Wed, 2 Apr 2014 10:53:41 +0000 (10:53 +0000)]
* c-common.h (c_expand_expr): Remove declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209020 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * gcc.target/i386/387-3.c, gcc.target/i386/387-4.c,
jsm28 [Wed, 2 Apr 2014 10:36:30 +0000 (10:36 +0000)]
* gcc.target/i386/387-3.c, gcc.target/i386/387-4.c,
gcc.target/i386/pr30970.c: Use -mtune=generic.
* gcc.target/i386/avx2-vpaddb-3.c,
gcc.target/i386/avx2-vpaddd-3.c, gcc.target/i386/avx2-vpaddq-3.c,
gcc.target/i386/avx2-vpaddw-3.c, gcc.target/i386/avx2-vpmulld-3.c,
gcc.target/i386/avx2-vpmullw-3.c, gcc.target/i386/avx2-vpsrad-3.c,
gcc.target/i386/avx2-vpsraw-3.c, gcc.target/i386/avx2-vpsrld-3.c,
gcc.target/i386/avx2-vpsrlw-3.c, gcc.target/i386/avx2-vpsubb-3.c,
gcc.target/i386/avx2-vpsubd-3.c, gcc.target/i386/avx2-vpsubq-3.c,
gcc.target/i386/avx2-vpsubw-3.c,
gcc.target/i386/avx256-unaligned-load-1.c,
gcc.target/i386/avx256-unaligned-load-4.c,
gcc.target/i386/avx256-unaligned-store-1.c,
gcc.target/i386/avx256-unaligned-store-2.c,
gcc.target/i386/avx256-unaligned-store-4.c: Use
-mno-prefer-avx128.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209019 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-26 Dominique d'Humieres <dominiq@lps.ens.fr>
dominiq [Wed, 2 Apr 2014 08:58:03 +0000 (08:58 +0000)]
2014-03-26  Dominique d'Humieres  <dominiq@lps.ens.fr>
    Iain Sandoe <iain@codesourcery.com>

PR target/54083
* gcc.dg/attr-weakref-1.c: Allow the test on darwin
with the additional options -Wl,-undefined,dynamic_lookup
and -Wl,-flat_namespace.
* gcc.dg/torture/pr53922.c: Additional option
-Wl,-flat_namespace for darwin[89].
* gcc.dg/torture/pr60092.c: Additional options
-Wl,-undefined,dynamic_lookup and -Wl,-flat_namespace
for darwin[89].

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209018 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-02 Dominique d'Humieres <dominiq@lps.ens.fr>
dominiq [Wed, 2 Apr 2014 08:44:40 +0000 (08:44 +0000)]
2014-04-02  Dominique d'Humieres  <dominiq@lps.ens.fr>
    Jack Howarth <howarth@bromo.med.uc.edu>

PR target/54407
* testsuite/30_threads/condition_variable/54185.cc: Skip for
darwin < 11.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209017 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-02 Dominique d'Humieres <dominiq@lps.ens.fr>
dominiq [Wed, 2 Apr 2014 08:34:45 +0000 (08:34 +0000)]
2014-04-02  Dominique d'Humieres  <dominiq@lps.ens.fr>

PR target/43751
* lib/prune.exp: Modify the regular express to prune
the new warnings introduced by r205679 on darwin9.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209016 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-02 Richard Biener <rguenther@suse.de>
rguenth [Wed, 2 Apr 2014 08:26:57 +0000 (08:26 +0000)]
2014-04-02  Richard Biener  <rguenther@suse.de>

PR middle-end/60729
* optabs.c (expand_abs_nojump): Honor flag_trapv only for
MODE_INTs.  Properly use negv_optab.
(expand_abs): Likewise.

* g++.dg/vect/pr60729.cc: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209012 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-02 Richard Biener <rguenther@suse.de>
rguenth [Wed, 2 Apr 2014 08:25:13 +0000 (08:25 +0000)]
2014-04-02  Richard Biener  <rguenther@suse.de>

* lto-plugin.c (onload): Fail to load if -fno-use-linker-plugin
is set in COLLECT_GCC_OPTIONS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209011 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-02 Richard Biener <rguenther@suse.de>
rguenth [Wed, 2 Apr 2014 07:52:36 +0000 (07:52 +0000)]
2014-04-02  Richard Biener  <rguenther@suse.de>

PR bootstrap/60719
* Makefile.in (install-driver): Guard extra installs with special
names properly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209010 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Wed, 2 Apr 2014 00:17:10 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209007 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * doc/xml/manual/backwards_compatibility.xml (backwards.third.headers):
redi [Tue, 1 Apr 2014 21:31:02 +0000 (21:31 +0000)]
* doc/xml/manual/backwards_compatibility.xml (backwards.third.headers):
Update link.
* doc/xml/manual/policy_data_structures_biblio.xml (bibliography):
Fix broken links.
* doc/xml/manual/shared_ptr.xml (shared_ptr.impl): Likewise.
* doc/xml/manual/using_exceptions.xml (bibliography): Likewise.
* doc/xml/manual/concurrency_extensions.xml
(manual.ext.concurrency.impl.atomic_fallbacks): Likewise.
* doc/html/*: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209002 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agofix gcc/cp/ChangeLog formatting
jason [Tue, 1 Apr 2014 21:27:25 +0000 (21:27 +0000)]
fix gcc/cp/ChangeLog formatting

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209001 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * pt.c (process_partial_specialization): Say "not deducible"
jason [Tue, 1 Apr 2014 21:25:42 +0000 (21:25 +0000)]
* pt.c (process_partial_specialization): Say "not deducible"
rather than "not used".  Use inform.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209000 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c++/60374
jason [Tue, 1 Apr 2014 21:25:20 +0000 (21:25 +0000)]
PR c++/60374
* pt.c (coerce_template_parms): Check that the pack expansion
pattern works with the first matching parameter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208999 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-01 Fabien Chêne <fabien@gcc.gnu.org>
fabien [Tue, 1 Apr 2014 21:14:04 +0000 (21:14 +0000)]
2014-04-01  Fabien Chêne  <fabien@gcc.gnu.org>

* cp/init.c (perform_member_init): Homogenize uninitialized
diagnostics.

2014-04-01  Fabien Chêne  <fabien@gcc.gnu.org>

        * g++.dg/init/ctor4.C: Adjust.
* g++.dg/init/ctor4-1.C: New.
* g++.dg/cpp0x/defaulted2.C: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208998 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c++/60708
jason [Tue, 1 Apr 2014 19:14:00 +0000 (19:14 +0000)]
PR c++/60708
* call.c (build_array_conv): Call complete_type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208996 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c++/60713
jason [Tue, 1 Apr 2014 19:13:50 +0000 (19:13 +0000)]
PR c++/60713
* typeck2.c (PICFLAG_SIDE_EFFECTS): New.
(picflag_from_initializer): Return it.
(process_init_constructor): Handle it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208995 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-01 Michael Meissner <meissner@linux.vnet.ibm.com>
meissner [Tue, 1 Apr 2014 18:52:01 +0000 (18:52 +0000)]
2014-04-01  Michael Meissner  <meissner@linux.vnet.ibm.com>

* doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
Document vec_vgbbd.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208993 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c++/60642
jason [Tue, 1 Apr 2014 17:49:38 +0000 (17:49 +0000)]
PR c++/60642
* decl2.c (is_late_template_attribute): Don't defer abi_tag.
* mangle.c (write_unqualified_name): Fix abi_tag on templates.
* pt.c (get_template_info): Handle NAMESPACE_DECL.
(most_general_template): Handle more kinds of template.
* tree.c (handle_abi_tag_attribute): Ignore abi_tag on template
instantiations and specializations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208992 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoPR target/60704
rth [Tue, 1 Apr 2014 16:39:18 +0000 (16:39 +0000)]
PR target/60704

        * gcc.dg/pr60704.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208990 138bc75d-0d04-0410-961f-82ee72b054a4