]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
11 years agodr195.C: Use -pedantic.
Jason Merrill [Tue, 13 May 2014 16:04:56 +0000 (12:04 -0400)] 
dr195.C: Use -pedantic.

* g++.dg/conversion/dr195.C: Use -pedantic.
* g++.dg/expr/cast2.C: Likewise.

From-SVN: r210380

11 years agoDaily bump.
GCC Administrator [Tue, 13 May 2014 00:16:43 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r210347

11 years agobackport: re PR target/60991 ([avr] Stack corruption when using 24-bit integers __int...
Senthil Kumar Selvaraj [Mon, 12 May 2014 16:07:44 +0000 (16:07 +0000)] 
backport: re PR target/60991 ([avr] Stack corruption when using 24-bit integers __int24 or __memx pointers in large stack frame)

Backport from mainline
2014-05-12  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

PR target/60991
* config/avr/avr.c (avr_out_store_psi): Use correct constant
to restore Y.

Backport from mainline
2014-05-12  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

PR target/60991
* gcc.target/avr/pr60991.c: New testcase.

From-SVN: r210328

11 years agoDaily bump.
GCC Administrator [Mon, 12 May 2014 00:16:53 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r210317

11 years ago* testsuite/ChangeLog: Fix formatting.
Uros Bizjak [Sun, 11 May 2014 20:44:53 +0000 (22:44 +0200)] 
* testsuite/ChangeLog: Fix formatting.

From-SVN: r210314

11 years agoDaily bump.
GCC Administrator [Sun, 11 May 2014 00:16:26 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r210303

11 years agoDaily bump.
GCC Administrator [Sat, 10 May 2014 00:16:38 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r210296

11 years agobackport: re PR target/61055 ([avr] wrong test instruction after increment with -O1)
Georg-Johann Lay [Fri, 9 May 2014 11:29:58 +0000 (11:29 +0000)] 
backport: re PR target/61055 ([avr] wrong test instruction after increment with -O1)

gcc/
Backport from 2014-05-09 trunk r210267
PR target/61055
* config/avr/avr.md (cc): Add new attribute set_vzn.
(addqi3, addqq3, adduqq3, subqi3, subqq3, subuqq3, negqi2) [cc]:
Set cc insn attribute to set_vzn instead of set_zn for alternatives
with INC, DEC or NEG.
* config/avr/avr.c (avr_notice_update_cc): Handle SET_VZN.
(avr_out_plus_1): ADIW sets cc0 to CC_SET_CZN.
INC, DEC and ADD+ADC set cc0 to CC_CLOBBER.

gcc/testsuite/
Backport from 2014-05-09 trunk r210267
PR target/61055
* gcc.target/avr/torture/pr61055.c: New test.

From-SVN: r210269

11 years agobuiltins.c (expand_builtin_setjmp_receiver): Emit a use of the hard frame pointer.
Richard Sandiford [Fri, 9 May 2014 10:16:14 +0000 (10:16 +0000)] 
builtins.c (expand_builtin_setjmp_receiver): Emit a use of the hard frame pointer.

gcc/
* builtins.c (expand_builtin_setjmp_receiver): Emit a use of
the hard frame pointer.  Synchronize commentary with mainline.
* cse.c (cse_insn): Only check for volatile asms.
* cselib.c (cselib_process_insn): Likewise.
* dse.c (scan_insn): Likewise.
* stmt.c (expand_nl_goto_receiver): Emit a use and a clobber of
the hard frame pointer.

From-SVN: r210266

11 years agoDaily bump.
GCC Administrator [Fri, 9 May 2014 00:16:41 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r210251

11 years agore PR driver/61106 ([4.8/4.9] impliedness of -Wunused-parameter depends on -W option...
Matthias Klose [Thu, 8 May 2014 22:57:55 +0000 (22:57 +0000)] 
re PR driver/61106 ([4.8/4.9] impliedness of -Wunused-parameter depends on -W option ordering)

gcc/

2014-05-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
            Matthias Klose  <doko@ubuntu.com>

        PR driver/61106
        * optc-gen.awk: Fix option handling for -Wunused-parameter.

gcc/testsuite/

2014-05-08  Matthias Klose  <doko@ubuntu.com>

        PR driver/61106
        * gcc-dg/unused-8a.c: New.
        * gcc-dg/unused-8b.c: Likewise.

From-SVN: r210248

11 years agore PR libstdc++/61117 (Manual uses term open source but should say free software)
Joshua Gay [Thu, 8 May 2014 19:49:26 +0000 (19:49 +0000)] 
re PR libstdc++/61117 (Manual uses term open source but should say free software)

2014-05-08  Joshua Gay  <jgay@gnu.org>

PR libstdc++/61117
* doc/xml/faq.xml (faq.license.what_restrictions): Replace "open
source" with "free software".
* doc/html/faq.html: Likewise.

From-SVN: r210239

11 years agoiostream: Fix URL in comment.
Jonathan Wakely [Thu, 8 May 2014 19:39:38 +0000 (20:39 +0100)] 
iostream: Fix URL in comment.

* include/std/iostream: Fix URL in comment.
* src/c++98/ios_init.cc: Fix path in comment.

From-SVN: r210238

11 years agore PR target/59952 (-march=core-avx2 should not enable RTM)
Uros Bizjak [Thu, 8 May 2014 19:32:34 +0000 (21:32 +0200)] 
re PR target/59952 (-march=core-avx2 should not enable RTM)

PR target/59952
* config/i386/i386.c (ix86_option_override_internal): Remove PTA_RTM
from core-avx2.

From-SVN: r210237

11 years agobackport: re PR target/60609 (Error: value of 256 too large for field of 1 bytes...
Charles Baylis [Thu, 8 May 2014 17:06:01 +0000 (17:06 +0000)] 
backport: re PR target/60609 (Error: value of 256 too large for field of 1 bytes at 68242)

2014-05-08  Charles Baylis  <charles.baylis@linaro.org>

        Backport from mainline
        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.

From-SVN: r210226

11 years agoDaily bump.
GCC Administrator [Thu, 8 May 2014 00:16:40 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r210195

11 years agore PR tree-optimization/57864 (ICE in bitmap_set_replace_value, at tree-ssa-pre.c...
Richard Biener [Wed, 7 May 2014 08:06:45 +0000 (08:06 +0000)] 
re PR tree-optimization/57864 (ICE in bitmap_set_replace_value, at tree-ssa-pre.c:862)

2014-05-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/57864
* gcc.dg/torture/pr57864.c: New testcase.

From-SVN: r210145

11 years agoDaily bump.
GCC Administrator [Wed, 7 May 2014 00:17:07 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r210130

11 years ago[AArch64] Partial backport from mainline.
Kyrylo Tkachov [Tue, 6 May 2014 15:29:04 +0000 (15:29 +0000)] 
[AArch64] Partial backport from mainline.

* config.gcc (aarch64*-*-*): Use ISA flags from aarch64-arches.def.
Do not define target_cpu_default2 to generic.

From-SVN: r210112

11 years agoBackport libstdc++/60594 fix from mainline.
Jonathan Wakely [Tue, 6 May 2014 13:27:46 +0000 (14:27 +0100)] 
Backport libstdc++/60594 fix from mainline.

PR libstdc++/60594
* include/std/functional (function::_Callable): Exclude own type
from the callable checks.
* testsuite/20_util/function/60594.cc: New.

From-SVN: r210105

11 years agobackport: re PR tree-optimization/55022 (air.f90 is miscompliled with -m64 -O2 -fgrap...
Richard Biener [Tue, 6 May 2014 12:01:21 +0000 (12:01 +0000)] 
backport: re PR tree-optimization/55022 (air.f90 is miscompliled with -m64 -O2 -fgraphite-identity after revision 190619)

2014-05-06  Richard Biener  <rguenther@suse.de>

Backport from mainline
2014-04-14  Richard Biener  <rguenther@suse.de>

PR middle-end/55022
* fold-const.c (negate_expr_p): Don't negate directional rounding
division.
(fold_negate_expr): Likewise.

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

From-SVN: r210104

11 years agoc-opts.c (c_common_post_options): For -freestanding...
Richard Biener [Tue, 6 May 2014 10:48:55 +0000 (10:48 +0000)] 
c-opts.c (c_common_post_options): For -freestanding...

2014-05-06  Richard Biener  <rguenther@suse.de>

c-family/
* c-opts.c (c_common_post_options): For -freestanding,
-fno-hosted and -fno-builtin disable pattern recognition
if not enabled explicitely.

From-SVN: r210102

11 years agobackport: [multiple changes]
Richard Biener [Tue, 6 May 2014 09:02:08 +0000 (09:02 +0000)] 
backport: [multiple changes]

2014-05-06  Richard Biener  <rguenther@suse.de>

Backport from mainline
2014-04-17  Richard Biener  <rguenther@suse.de>

PR middle-end/60849
* tree-ssa-propagate.c (valid_gimple_rhs_p): Only allow effective
boolean results for comparisons.

* g++.dg/opt/pr60849.C: New testcase.

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.

2014-04-23  Richard Biener  <rguenther@suse.de>

PR tree-optimization/60903
* tree-ssa-loop-im.c (execute_sm_if_changed): Properly apply
IRREDUCIBLE_LOOP loop flags to newly created BBs and edges.

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

From-SVN: r210099

11 years agoDaily bump.
GCC Administrator [Tue, 6 May 2014 00:16:54 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r210090

11 years agoBackport PRs 59817, 60453, 60750, 60836, 60895
Richard Biener [Mon, 5 May 2014 13:48:42 +0000 (13:48 +0000)] 
Backport PRs 59817, 60453, 60750, 60836, 60895

2014-05-05  Richard Biener  <rguenther@suse.de>

Backport from mainline
2014-04-23  Richard Biener  <rguenther@suse.de>

PR middle-end/60895
* tree-inline.c (declare_return_variable): Use mark_addressable.

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

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.

2014-04-14  Richard Biener  <rguenther@suse.de>

PR tree-optimization/59817
PR tree-optimization/60453
* graphite-scop-detection.c (graphite_can_represent_scev): Complete
recursion to catch all CHRECs in the scalar evolution and restrict
the predicate for the remains appropriately.

* gfortran.dg/graphite/pr59817.f: New testcase.
* gcc.dg/graphite/pr59817-1.c: Likewise.
* gcc.dg/graphite/pr59817-2.c: Likewise.

2014-04-17  Richard Biener  <rguenther@suse.de>

PR tree-optimization/60836
* tree-vect-loop.c (vect_create_epilog_for_reduction): Force
initial PHI args to be gimple values.

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

From-SVN: r210070

11 years agobackport: re PR tree-optimization/60960 (Wrong result when a vector variable is divid...
Jakub Jelinek [Mon, 5 May 2014 08:16:43 +0000 (10:16 +0200)] 
backport: re PR tree-optimization/60960 (Wrong result when a vector variable is divided by a literal constant)

Backported from mainline
2014-04-25  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/60960
* tree-vect-generic.c (expand_vector_operation): Only call
expand_vector_divmod if type's mode satisfies VECTOR_MODE_P.

* gcc.c-torture/execute/pr60960.c: New test.

From-SVN: r210064

11 years agobackport: re PR tree-optimization/60502 (ICE reassociation and vector types.)
Jakub Jelinek [Mon, 5 May 2014 08:07:35 +0000 (10:07 +0200)] 
backport: re PR tree-optimization/60502 (ICE reassociation and vector types.)

Backport from mainline
2014-03-12  Jakub Jelinek  <jakub@redhat.com>
    Marc Glisse  <marc.glisse@inria.fr>

PR tree-optimization/60502
* tree-ssa-reassoc.c (eliminate_not_pairs): Use build_all_ones_cst
instead of build_low_bits_mask.

* gcc.c-torture/compile/pr60502.c: New test.

2013-06-13  Marc Glisse  <marc.glisse@inria.fr>

* tree.c (build_all_ones_cst): New function.
* tree.h (build_all_ones_cst): Declare it.

2013-05-10  Marc Glisse  <marc.glisse@inria.fr>

* tree.c (build_minus_one_cst): New function.
* tree.h (build_minus_one_cst): Declare new function.

From-SVN: r210062

11 years agors6000.h (RS6000_BTM_HARD_FLOAT): New define.
Peter Bergner [Mon, 5 May 2014 02:18:35 +0000 (21:18 -0500)] 
rs6000.h (RS6000_BTM_HARD_FLOAT): New define.

gcc/
* config/rs6000/rs6000.h (RS6000_BTM_HARD_FLOAT): New define.
(RS6000_BTM_COMMON): Add RS6000_BTM_HARD_FLOAT.
(TARGET_EXTRA_BUILTINS): Add TARGET_HARD_FLOAT.
* config/rs6000/rs6000-builtin.def (BU_MISC_1):
Use RS6000_BTM_HARD_FLOAT.
(BU_MISC_2): Likewise.
* config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Handle
RS6000_BTM_HARD_FLOAT.
(rs6000_option_override_internal): Enforce -mhard-float if -mhard-dfp
is explicitly used.
(rs6000_invalid_builtin): Add hard floating builtin support.
(rs6000_expand_builtin): Relax the gcc_assert to allow the new
hard float builtins.
(rs6000_builtin_mask_names): Add RS6000_BTM_HARD_FLOAT.

gcc/testsuite/
* gcc.target/powerpc/pack02.c (dg-options): Add -mhard-float.
(dg-require-effective-target): Change target to powerpc_fprs.
* gcc.target/powerpc/pack03.c (dg-options): Add -mhard-dfp.
(dg-require-effective-target): Change target to dfprt.

From-SVN: r210056

11 years agoDaily bump.
GCC Administrator [Mon, 5 May 2014 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r210051

11 years agobackport: opts.c (OPT_fif_conversion, [...]): Disable for Og.
Joey Ye [Sun, 4 May 2014 07:05:29 +0000 (07:05 +0000)] 
backport: opts.c (OPT_fif_conversion, [...]): Disable for Og.

2014-05-03  Joey Ye  <joey.ye@arm.com>

        Backport from mainline r209463
        2014-04-17  Joey Ye  <joey.ye@arm.com>

        * opts.c (OPT_fif_conversion, OPT_fif_conversion2): Disable for Og.

From-SVN: r210048

11 years agoDaily bump.
GCC Administrator [Sun, 4 May 2014 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r210045

11 years agoPR 56919 Check _POSIX_MONOTONIC_CLOCK.
Janne Blomqvist [Sat, 3 May 2014 20:56:26 +0000 (23:56 +0300)] 
PR 56919 Check _POSIX_MONOTONIC_CLOCK.

2014-05-03  Janne Blomqvist  <jb@gcc.gnu.org>

Backport from 4.9
PR libfortran/56919
* intrinsics/system_clock.c (GF_CLOCK_MONOTONIC): Check
_POSIX_MONOTONIC_CLOCK as well.

From-SVN: r210041

11 years agobackport: re PR target/61026 (sh-rtems4.11 build of 4.9.0 fails on FreeBSD 10 c+...
Oleg Endo [Sat, 3 May 2014 08:21:24 +0000 (08:21 +0000)] 
backport: re PR target/61026 (sh-rtems4.11 build of 4.9.0 fails on FreeBSD 10 c++ (clang).)

Back port from mainline
PR target/61026
* config/sh/sh.c: Include stdlib headers before everything else.

From-SVN: r210030

11 years agoDaily bump.
GCC Administrator [Sat, 3 May 2014 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r210024

11 years agore PR tree-optimization/60930 (Wrong folding of - ((unsigned long long) a * (unsigned...
Bill Schmidt [Fri, 2 May 2014 21:51:09 +0000 (21:51 +0000)] 
re PR tree-optimization/60930 (Wrong folding of - ((unsigned long long) a * (unsigned long long) (unsigned int)-1))

[gcc]

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

PR tree-optimization/60930
* gimple-ssa-strength-reduction.c (create_mul_imm_cand):  Reject
creating a multiply candidate by folding two constant
multiplicands when the result overflows.

[gcc/testsuite]

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

PR tree-optimization/60930
* gcc.dg/torture/pr60930.c:  New test.

From-SVN: r210021

11 years ago[AArch64] Fix TARGET_FLOAT and TARGET_SIMD macros.
Kyrylo Tkachov [Fri, 2 May 2014 09:07:06 +0000 (09:07 +0000)] 
[AArch64] Fix TARGET_FLOAT and TARGET_SIMD macros.

* config/aarch64/aarch64.h (TARGET_SIMD): Take AARCH64_ISA_SIMD
into account.
(TARGET_FLOAT): Take AARCH64_ISA_FP into account.

From-SVN: r210004

11 years agoDaily bump.
GCC Administrator [Fri, 2 May 2014 00:16:58 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209994

11 years agoDaily bump.
GCC Administrator [Thu, 1 May 2014 00:16:44 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209964

11 years agobackport: extend.texi (PowerPC Built-in Functions): Document new powerpc extended...
Michael Meissner [Wed, 30 Apr 2014 20:04:12 +0000 (20:04 +0000)] 
backport: extend.texi (PowerPC Built-in Functions): Document new powerpc extended divide, bcd, pack/unpack 128-bit, builtin functions.

[gcc]
2014-04-30  Michael Meissner  <meissner@linux.vnet.ibm.com>

Back port from mainline
2014-04-24  Michael Meissner  <meissner@linux.vnet.ibm.com>

* doc/extend.texi (PowerPC Built-in Functions): Document new
powerpc extended divide, bcd, pack/unpack 128-bit, builtin
functions.
(PowerPC AltiVec/VSX Built-in Functions): Likewise.

* config/rs6000/predicates.md (const_0_to_3_operand): New
predicate to match 0..3 integer constants.

* config/rs6000/rs6000-builtin.def (BU_DFP_MISC_1): Add new macros
to support adding miscellaneous builtin functions.
(BU_DFP_MISC_2): Likewise.
(BU_P7_MISC_1): Likewise.
(BU_P7_MISC_2): Likewise.
(BU_P8V_MISC_3): Likewise.
(BU_MISC_1): Likewise.
(BU_MISC_2): Likewise.
(DIVWE): Add extended divide builtin functions.
(DIVWEO): Likewise.
(DIVWEU): Likewise.
(DIVWEUO): Likewise.
(DIVDE): Likewise.
(DIVDEO): Likewise.
(DIVDEU): Likewise.
(DIVDEUO): Likewise.
(DXEX): Add decimal floating-point builtin functions.
(DXEXQ): Likewise.
(DDEDPD): Likewise.
(DDEDPDQ): Likewise.
(DENBCD): Likewise.
(DENBCDQ): Likewise.
(DIEX): Likewise.
(DIEXQ): Likewise.
(DSCLI): Likewise.
(DSCLIQ): Likewise.
(DSCRI): Likewise.
(DSCRIQ): Likewise.
(CDTBCD): Add new BCD builtin functions.
(CBCDTD): Likewise.
(ADDG6S): Likewise.
(BCDADD): Likewise.
(BCDADD_LT): Likewise.
(BCDADD_EQ): Likewise.
(BCDADD_GT): Likewise.
(BCDADD_OV): Likewise.
(BCDSUB): Likewise.
(BCDSUB_LT): Likewise.
(BCDSUB_EQ): Likewise.
(BCDSUB_GT): Likewise.
(BCDSUB_OV): Likewise.
(PACK_TD): Add new pack/unpack 128-bit type builtin functions.
(UNPACK_TD): Likewise.
(PACK_TF): Likewise.
(UNPACK_TF): Likewise.
(UNPACK_TF_0): Likewise.
(UNPACK_TF_1): Likewise.
(PACK_V1TI): Likewise.
(UNPACK_V1TI): Likewise.

* config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
support for decimal floating point builtin functions.
(rs6000_expand_ternop_builtin): Add checks for the new builtin
functions that take constant arguments.
(rs6000_invalid_builtin): Add decimal floating point builtin
support.
(rs6000_init_builtins): Setup long double, _Decimal64, and
_Decimal128 types for new builtin functions.
(builtin_function_type): Set the unsigned flags appropriately for
the new builtin functions.
(rs6000_opt_masks): Add support for decimal floating point builtin
functions.

* config/rs6000/rs6000.h (RS6000_BTM_DFP): Add support for decimal
floating point builtin functions.
(RS6000_BTM_COMMON): Likewise.
(RS6000_BTI_long_double): Likewise.
(RS6000_BTI_dfloat64): Likewise.
(RS6000_BTI_dfloat128): Likewise.
(long_double_type_internal_node): Likewise.
(dfloat64_type_internal_node): Likewise.
(dfloat128_type_internal_node): Likewise.

* config/rs6000/altivec.h (UNSPEC_BCDADD): Add support for ISA
2.07 bcd arithmetic instructions.
(UNSPEC_BCDSUB): Likewise.
(UNSPEC_BCD_OVERFLOW): Likewise.
(UNSPEC_BCD_ADD_SUB): Likewise.
(bcd_add_sub): Likewise.
(BCD_TEST): Likewise.
(bcd<bcd_add_sub>): Likewise.
(bcd<bcd_add_sub>_test): Likewise.
(bcd<bcd_add_sub>_test2): Likewise.
(bcd<bcd_add_sub>_<code>): Likewise.
(peephole2 for combined bcd ops): Likewise.

* config/rs6000/dfp.md (UNSPEC_DDEDPD): Add support for new
decimal floating point builtin functions.
(UNSPEC_DENBCD): Likewise.
(UNSPEC_DXEX): Likewise.
(UNSPEC_DIEX): Likewise.
(UNSPEC_DSCLI): Likewise.
(UNSPEC_DSCRI): Likewise.
(D64_D128): Likewise.
(dfp_suffix): Likewise.
(dfp_ddedpd_<mode>): Likewise.
(dfp_denbcd_<mode>): Likewise.
(dfp_dxex_<mode>): Likewise.
(dfp_diex_<mode>): Likewise.
(dfp_dscli_<mode>): Likewise.
(dfp_dscri_<mode>): Likewise.

* config/rs6000/rs6000.md (UNSPEC_ADDG6S): Add support for new BCD
builtin functions.
(UNSPEC_CDTBCD): Likewise.
(UNSPEC_CBCDTD): Likewise.
(UNSPEC_DIVE): Add support for new extended divide builtin
functions.
(UNSPEC_DIVEO): Likewise.
(UNSPEC_DIVEU): Likewise.
(UNSPEC_DIVEUO): Likewise.
(UNSPEC_UNPACK_128BIT): Add support for new builtin functions to
pack/unpack 128-bit types.
(UNSPEC_PACK_128BIT): Likewise.
(idiv_ldiv): New mode attribute to set the 32/64-bit divide type.
(udiv<mode>3): Use idiv_ldiv mode attribute.
(div<mode>3): Likewise.
(addg6s): Add new BCD builtin functions.
(cdtbcd): Likewise.
(cbcdtd): Likewise.
(UNSPEC_DIV_EXTEND): Add support for new extended divide
instructions.
(div_extend): Likewise.
(div<div_extend>_<mode>"): Likewise.
(FP128_64): Add support for new builtin functions to pack/unpack
128-bit types.
(unpack<mode>): Likewise.
(unpacktf_0): Likewise.
(unpacktf_1): Likewise.
(unpack<mode>_dm): Likewise.
(unpack<mode>_nodm): Likewise.
(pack<mode>): Likewise.
(unpackv1ti): Likewise.
(packv1ti): Likewise.

[gcc/testsuite]
2014-04-30  Michael Meissner  <meissner@linux.vnet.ibm.com>

Back port from mainline
2014-04-24  Michael Meissner  <meissner@linux.vnet.ibm.com>

* gcc.target/powerpc/pack01.c: New test to test the new pack and
unpack builtin functionss for 128-bit types.
* gcc.target/powerpc/pack02.c: Likewise.
* gcc.target/powerpc/pack03.c: Likewise.
* gcc.target/powerpc/extend-divide-1.c: New test to test extended
divide builtin functionss.
* gcc.target/powerpc/extend-divide-2.c: Likewise.
* gcc.target/powerpc/bcd-1.c: New test for the new BCD builtin
functions.
* gcc.target/powerpc/bcd-2.c: Likewise.
* gcc.target/powerpc/bcd-3.c: Likewise.
* gcc.target/powerpc/dfp-builtin-1.c: New test for the new DFP
builtin functionss.
* gcc.target/powerpc/dfp-builtin-2.c: Likewise.

From-SVN: r209956

11 years agoDaily bump.
GCC Administrator [Wed, 30 Apr 2014 00:17:21 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r209920

11 years agors6000.md (addti3, subti3): New.
Pat Haugen [Tue, 29 Apr 2014 20:25:59 +0000 (20:25 +0000)] 
rs6000.md (addti3, subti3): New.

* config/rs6000/rs6000.md (addti3, subti3): New.

* gcc.target/powerpc/ti_math1.c: New.
* gcc.target/powerpc/ti_math2.c: New.

From-SVN: r209913

11 years agoDaily bump.
GCC Administrator [Tue, 29 Apr 2014 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209885

11 years agosync.md (AINT mode_iterator): Move definition.
Pat Haugen [Mon, 28 Apr 2014 20:51:58 +0000 (20:51 +0000)] 
sync.md (AINT mode_iterator): Move definition.

* 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.

From-SVN: r209877

11 years agotypeck.c (build_reinterpret_cast_1): Pass proper argument to warn() in pedantic.
Daniel Gutson [Mon, 28 Apr 2014 18:14:36 +0000 (18:14 +0000)] 
typeck.c (build_reinterpret_cast_1): Pass proper argument to warn() in pedantic.

* typeck.c (build_reinterpret_cast_1): Pass proper argument to
warn() in pedantic.

From-SVN: r209870

11 years agoconfigure.ac: Tweak GAS check for LEON instructions on SPARC.
Eric Botcazou [Mon, 28 Apr 2014 10:05:29 +0000 (10:05 +0000)] 
configure.ac: Tweak GAS check for LEON instructions on SPARC.

* configure.ac: Tweak GAS check for LEON instructions on SPARC.
* configure: Regenerate.
* config/sparc/sparc.opt (muser-mode): New option.
* config/sparc/sync.md (atomic_compare_and_swap<mode>_1): Do not enable
for LEON3.
(atomic_compare_and_swap_leon3_1): New instruction for LEON3.
* doc/invoke.texi (SPARC options): Document -muser-mode.

From-SVN: r209852

11 years agoDaily bump.
GCC Administrator [Mon, 28 Apr 2014 00:17:59 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r209846

11 years agore PR libstdc++/60497 (unique_ptr<T> tries to complete its type T even though it...
Jonathan Wakely [Sun, 27 Apr 2014 16:36:26 +0000 (17:36 +0100)] 
re PR libstdc++/60497 (unique_ptr<T> tries to complete its type T even though it's not required to be a complete type)

PR libstdc++/60497
* include/std/tuple (get): Qualify calls to prevent ADL.
* testsuite/20_util/tuple/60497.cc: New.

From-SVN: r209842

11 years agoDaily bump.
GCC Administrator [Sun, 27 Apr 2014 00:16:47 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209833

11 years agoDaily bump.
GCC Administrator [Sat, 26 Apr 2014 00:16:41 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209816

11 years agore PR target/60941 (miscompilation of firefox javascript interpreter)
Eric Botcazou [Fri, 25 Apr 2014 10:46:18 +0000 (10:46 +0000)] 
re PR target/60941 (miscompilation of firefox javascript interpreter)

PR target/60941
* config/sparc/sparc.md (ashlsi3_extend): Delete.

From-SVN: r209792

11 years agoDaily bump.
GCC Administrator [Fri, 25 Apr 2014 00:16:28 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209770

11 years agoDaily bump.
GCC Administrator [Thu, 24 Apr 2014 00:16:50 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209729

11 years agobackport: re PR testsuite/60672 (FAIL: g++.dg/cpp1y/auto-fn25.C -std=gnu++1y (test...
Michael Meissner [Wed, 23 Apr 2014 23:16:54 +0000 (23:16 +0000)] 
backport: re PR testsuite/60672 (FAIL: g++.dg/cpp1y/auto-fn25.C -std=gnu++1y  (test for errors, line 7))

[gcc]
2014-04-22  Michael Meissner  <meissner@linux.vnet.ibm.com>

Back port from main line:
2014-03-27  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/rs6000-builtins.def (VBPERMQ): Add vbpermq builtin
for ISA 2.07.

* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
vbpermq builtins.

* config/rs6000/altivec.md (UNSPEC_VBPERMQ): Add support for the
vbpermq instruction.
(altivec_vbpermq): Likewise.

PR target/60672
* config/rs6000/altivec.h (vec_xxsldwi): Add missing define to
enable use of xxsldwi and xxpermdi builtin functions.
(vec_xxpermdi): Likewise.

* doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
Document use of vec_xxsldwi and vec_xxpermdi builtins.

[gcc/testsuite]
2014-04-23  Michael Meissner  <meissner@linux.vnet.ibm.com>

Back port from main line:
2014-03-27  Michael Meissner  <meissner@linux.vnet.ibm.com>

* gcc.target/powerpc/p8vector-vbpermq.c: New test to test the
vbpermq builtin.

From-SVN: r209727

11 years agobackport: re PR testsuite/60672 (FAIL: g++.dg/cpp1y/auto-fn25.C -std=gnu++1y (test...
Michael Meissner [Wed, 23 Apr 2014 23:16:05 +0000 (23:16 +0000)] 
backport: re PR testsuite/60672 (FAIL: g++.dg/cpp1y/auto-fn25.C -std=gnu++1y  (test for errors, line 7))

[gcc]
2014-04-22  Michael Meissner  <meissner@linux.vnet.ibm.com>

Back port from main line:
2014-03-27  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/rs6000-builtins.def (VBPERMQ): Add vbpermq builtin
for ISA 2.07.

* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
vbpermq builtins.

* config/rs6000/altivec.md (UNSPEC_VBPERMQ): Add support for the
vbpermq instruction.
(altivec_vbpermq): Likewise.

PR target/60672
* config/rs6000/altivec.h (vec_xxsldwi): Add missing define to
enable use of xxsldwi and xxpermdi builtin functions.
(vec_xxpermdi): Likewise.

* doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
Document use of vec_xxsldwi and vec_xxpermdi builtins.

[gcc/testsuite]
2014-04-23  Michael Meissner  <meissner@linux.vnet.ibm.com>

Back port from main line:
2014-03-27  Michael Meissner  <meissner@linux.vnet.ibm.com>

* gcc.target/powerpc/p8vector-vbpermq.c: New test to test the
vbpermq builtin.

From-SVN: r209726

11 years agobackport: re PR target/60909 (ICE: in extract_insn, at recog.c:2202 (unrecognizable...
Uros Bizjak [Wed, 23 Apr 2014 17:53:56 +0000 (19:53 +0200)] 
backport: re PR target/60909 (ICE: in extract_insn, at recog.c:2202 (unrecognizable insn) with -mrdrnd and __builtin_ia32_rdrand32_step())

        Backport from mainline
        2014-04-21  Uros Bizjak  <ubizjak@gmail.com>

        PR target/60909
        * config/i386/i386.c (ix86_expand_builtin)
        <case IX86_BUILTIN_RDRAND{16,32,64}_STEP>: Use temporary
        register for target RTX.
        <case IX86_BUILTIN_RDSEED{16,32,64}_STEP>: Ditto.

testsuite/ChangeLog:

        Backport from mainline
        2014-04-21  Uros Bizjak  <ubizjak@gmail.com>

        PR target/60909
        * gcc.target/i386/pr60909-1.c: New test.
        * gcc.target/i386/pr60909-2.c: Ditto.

From-SVN: r209715

11 years agobackport: [multiple changes]
Richard Biener [Wed, 23 Apr 2014 12:49:04 +0000 (12:49 +0000)] 
backport: [multiple changes]

2014-04-23  Richard Biener  <rguenther@suse.de>

Backport from mainline
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.

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.

From-SVN: r209697

11 years agore PR lto/60635 (ICE when mixing C and Fortran lto1: error: use operand missing for...
Richard Biener [Wed, 23 Apr 2014 12:45:23 +0000 (12:45 +0000)] 
re PR lto/60635 (ICE when mixing C and Fortran lto1: error: use operand missing for stmt)

2014-04-23  Richard Biener  <rguenther@suse.de>

PR middle-end/60635
* gimplify.c (gimple_regimplify_operands): Update the
re-gimplifed stmt.

* gfortran.dg/lto/pr60635_0.f90: New testcase.
* gfortran.dg/lto/pr60635_1.c: Likewise.

From-SVN: r209696

11 years agoDaily bump.
GCC Administrator [Wed, 23 Apr 2014 00:16:52 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209667

11 years agoDaily bump.
GCC Administrator [Tue, 22 Apr 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209551

11 years agore PR target/60735 (GCC targeting E500 with SPE has errors with the _Decimal64 type)
Michael Meissner [Mon, 21 Apr 2014 22:03:51 +0000 (22:03 +0000)] 
re PR target/60735 (GCC targeting E500 with SPE has errors with the _Decimal64 type)

[gcc]
2014-04-21  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/60735
* config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64 case):
If mode is DDmode and TARGET_E500_DOUBLE allow move.

* config/rs6000/rs6000.c (rs6000_debug_reg_global): Print some
more debug information for E500 if -mdebug=reg.

[gcc/testsuite]
2014-04-21  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/60735
* gcc.target/powerpc/pr60735.c: New test.  Insure _Decimal64 does
not cause errors if -mspe.

From-SVN: r209547

11 years agoDaily bump.
GCC Administrator [Mon, 21 Apr 2014 00:16:38 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209540

11 years agoDaily bump.
GCC Administrator [Sun, 20 Apr 2014 00:16:36 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209532

11 years agoDaily bump.
GCC Administrator [Sat, 19 Apr 2014 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209528

11 years agoaarch64: Fix build error in aarch64_register_move_cost
Richard Henderson [Fri, 18 Apr 2014 15:55:35 +0000 (08:55 -0700)] 
aarch64: Fix build error in aarch64_register_move_cost

        * config/aarch64/aarch64.c (aarch64_register_move_cost): Pass a mode
        to GET_MODE_SIZE, not a reg_class_t.

From-SVN: r209519

11 years agovsx.md (vsx_xxmrghw_<mode>): Adjust for little-endian.
Bill Schmidt [Fri, 18 Apr 2014 13:29:30 +0000 (13:29 +0000)] 
vsx.md (vsx_xxmrghw_<mode>): Adjust for little-endian.

[gcc]

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

* config/rs6000/vsx.md (vsx_xxmrghw_<mode>): Adjust for
little-endian.
(vsx_xxmrglw_<mode>): Likewise.

[gcc/testsuite]

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

* gcc.dg/vmx/merge-vsx.c: Add V4SI and V4SF tests.
* gcc.dg/vmx/merge-vsx-be-order.c: Likewise.

From-SVN: r209515

11 years agoDaily bump.
GCC Administrator [Fri, 18 Apr 2014 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209511

11 years agoDaily bump.
GCC Administrator [Thu, 17 Apr 2014 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209454

11 years agoDaily bump.
GCC Administrator [Wed, 16 Apr 2014 00:16:45 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209437

11 years agorevert: [multiple changes]
Bill Schmidt [Tue, 15 Apr 2014 18:30:21 +0000 (18:30 +0000)] 
revert: [multiple changes]

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

PR target/60839
Revert the following patch

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

Back port mainline subversion id 209025.
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.

From-SVN: r209430

11 years agoDaily bump.
GCC Administrator [Tue, 15 Apr 2014 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209397

11 years agoacinclude.m4: Move s390* case from RTM to HTM check.
Andreas Krebbel [Mon, 14 Apr 2014 13:40:00 +0000 (13:40 +0000)] 
acinclude.m4: Move s390* case from RTM to HTM check.

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

* acinclude.m4: Move s390* case from RTM to HTM check.
* configure: Regenerate.

From-SVN: r209370

11 years agoDaily bump.
GCC Administrator [Mon, 14 Apr 2014 00:16:53 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209350

11 years agoDaily bump.
GCC Administrator [Sun, 13 Apr 2014 00:16:53 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209342

11 years agobackport: re PR fortran/60810 (list directed io from array results in end of file)
Jerry DeLisle [Sat, 12 Apr 2014 22:52:10 +0000 (22:52 +0000)] 
backport: re PR fortran/60810 (list directed io from array results in end of file)

2014-04-12  Jerry DeLisle  <jvdelisle@gcc.gnu>

Backport from mainline
PR libfortran/60810
io/unit.c (is_trim_ok): If internal unit is array, do not trim.

Backport from mainline
PR libfortran/60810
gfortran.dg/arrayio_13.f90: New test.

From-SVN: r209340

11 years agoDaily bump.
GCC Administrator [Sat, 12 Apr 2014 00:16:40 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209331

11 years agofmt_en.f90: Gate test on effective_target fd_truncate.
Hans-Peter Nilsson [Fri, 11 Apr 2014 21:07:23 +0000 (21:07 +0000)] 
fmt_en.f90: Gate test on effective_target fd_truncate.

* gfortran.dg/fmt_en.f90: Gate test on effective_target
fd_truncate.

From-SVN: r209325

11 years agoImprove RANDOM_SEED documentation example.
Janne Blomqvist [Fri, 11 Apr 2014 12:07:10 +0000 (15:07 +0300)] 
Improve RANDOM_SEED documentation example.

2014-04-11  Janne Blomqvist  <jb@gcc.gnu.org>

* intrinsic.texi (RANDOM_SEED): Improve example.

From-SVN: r209302

11 years agohtm-nofloat-1.c: Rename to ...
Andreas Krebbel [Fri, 11 Apr 2014 10:47:36 +0000 (10:47 +0000)] 
htm-nofloat-1.c: Rename to ...

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

* gcc.target/s390/htm-nofloat-1.c: Rename to ...
* gcc.target/s390/htm-nofloat-compile-1.c: ... this one.
* gcc.target/s390/htm-nofloat-2.c: Add check for htm target and
rename to ...
* gcc.target/s390/htm-nofloat-1.c: ... this one.
* gcc.target/s390/s390.exp: Make sure the assembler supports htm
instructions as well.

From-SVN: r209298

11 years agohtm-builtins-compile-1.c: Replace long long with long.
Andreas Krebbel [Fri, 11 Apr 2014 10:45:17 +0000 (10:45 +0000)] 
htm-builtins-compile-1.c: Replace long long with long.

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

* gcc.target/s390/htm-builtins-compile-1.c: Replace long long with
long.

From-SVN: r209297

11 years agohtm-builtins-compile-1.c: Remove htm check.
Andreas Krebbel [Fri, 11 Apr 2014 10:44:17 +0000 (10:44 +0000)] 
htm-builtins-compile-1.c: Remove htm check.

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

* gcc.target/s390/htm-builtins-compile-1.c: Remove htm check.
* gcc.target/s390/htm-builtins-compile-2.c: Remove htm check.

From-SVN: r209296

11 years agoDaily bump.
GCC Administrator [Fri, 11 Apr 2014 00:16:49 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209288

11 years agore PR rtl-optimization/60769 (ICE: Max. number of generated reload insns per insn...
Vladimir Makarov [Thu, 10 Apr 2014 23:22:10 +0000 (23:22 +0000)] 
re PR rtl-optimization/60769 (ICE: Max. number of generated reload insns per insn is achieved (90))

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

PR rtl-optimization/60769
* lra-constraints.c (simplify_operand_subreg): Force reload of
paradoxical subreg if it is not in the class contents.

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

PR rtl-optimization/60769
* g++.dg/pr60769.C: New.

From-SVN: r209285

11 years agobackport: re PR tree-optimization/60502 (ICE reassociation and vector types.)
Jakub Jelinek [Thu, 10 Apr 2014 09:35:39 +0000 (11:35 +0200)] 
backport: re PR tree-optimization/60502 (ICE reassociation and vector types.)

Backport from mainline
2014-03-12  Jakub Jelinek  <jakub@redhat.com>
    Marc Glisse  <marc.glisse@inria.fr>

PR tree-optimization/60502
* tree-ssa-reassoc.c (eliminate_not_pairs): Use build_all_ones_cst
instead of build_low_bits_mask.

* gcc.c-torture/compile/pr60502.c: New test.

2013-06-13  Marc Glisse  <marc.glisse@inria.fr>

* tree.c (build_all_ones_cst): New function.
* tree.h (build_all_ones_cst): Declare it.

2013-05-10  Marc Glisse  <marc.glisse@inria.fr>

* tree.c (build_minus_one_cst): New function.
* tree.h (build_minus_one_cst): Declare new function.

From-SVN: r209274

11 years agobackport: re PR target/60693 (ICE on funny memcpy)
Jakub Jelinek [Thu, 10 Apr 2014 07:57:09 +0000 (09:57 +0200)] 
backport: re PR target/60693 (ICE on funny memcpy)

Backport from mainline
2014-03-28  Jakub Jelinek  <jakub@redhat.com>

PR target/60693
* config/i386/i386.c (ix86_copy_addr_to_reg): Call copy_addr_to_reg
also if addr has VOIDmode.

* gcc.target/i386/pr60693.c: New test.

From-SVN: r209268

11 years agobackport: re PR c++/60689 (Bogus error with atomic::exchange)
Jakub Jelinek [Thu, 10 Apr 2014 07:54:08 +0000 (09:54 +0200)] 
backport: re PR c++/60689 (Bogus error with atomic::exchange)

Backport from mainline
2014-03-28  Jakub Jelinek  <jakub@redhat.com>

PR c++/60689
* c-tree.h (c_build_function_call_vec): New prototype.
* c-typeck.c (build_function_call_vec): Don't call
resolve_overloaded_builtin here.
(c_build_function_call_vec): New wrapper function around
build_function_call_vec.  Call resolve_overloaded_builtin here.
(convert_lvalue_to_rvalue, build_function_call, build_atomic_assign):
Call c_build_function_call_vec instead of build_function_call_vec.
* c-parser.c (c_parser_postfix_expression_after_primary): Likewise.
* c-decl.c (finish_decl): Likewise.

* c-common.c (add_atomic_size_parameter): When creating new
params vector, push the size argument first.

* c-c++-common/pr60689.c: New test.

From-SVN: r209267

11 years agobackport: re PR debug/60603 (.debug_macinfo/.debug_macro has wrong line numbers for...
Jakub Jelinek [Thu, 10 Apr 2014 07:51:52 +0000 (09:51 +0200)] 
backport: re PR debug/60603 (.debug_macinfo/.debug_macro has wrong line numbers for built-in macros)

Backport from mainline
2014-03-22  Jakub Jelinek  <jakub@redhat.com>

PR debug/60603
* c-opts.c (c_finish_options): Restore cb_file_change call to
<built-in>.

* cpp.c (gfc_cpp_init): Restore cb_change_file call to
<built-in>.

* gcc.dg/debug/dwarf2/dwarf2-macro2.c: New test.

From-SVN: r209265

11 years agobackport: re PR target/60516 (cc1plus crashes compiling a method with a huge struct...
Jakub Jelinek [Thu, 10 Apr 2014 07:49:02 +0000 (09:49 +0200)] 
backport: re PR target/60516 (cc1plus crashes compiling a method with a huge struct as argument)

Backport from mainline
2014-03-17  Jakub Jelinek  <jakub@redhat.com>

PR target/60516
* config/i386/i386.c (ix86_expand_epilogue): Adjust REG_CFA_ADJUST_CFA
note creation for the 2010-08-31 changes.

* gcc.target/i386/pr60516.c: New test.

From-SVN: r209264

11 years agobackport: re PR middle-end/36282 (Spurious warning "asm declaration ignored due to...
Jakub Jelinek [Thu, 10 Apr 2014 07:47:55 +0000 (09:47 +0200)] 
backport: re PR middle-end/36282 (Spurious warning "asm declaration ignored due to conflict with previous rename")

Backport from mainline
2014-03-13  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/36282
* c-pragma.c (apply_pragma_weak): Only look at
TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (decl)) if
DECL_ASSEMBLER_NAME_SET_P (decl).
(maybe_apply_pending_pragma_weaks): Exit early if
vec_safe_is_empty (pending_weaks) rather than only when
!pending_weaks.
(maybe_apply_pragma_weak): Likewise.  If !DECL_ASSEMBLER_NAME_SET_P,
set assembler name back to NULL afterwards.

* c-c++-common/pr36282-1.c: New test.
* c-c++-common/pr36282-2.c: New test.
* c-c++-common/pr36282-3.c: New test.
* c-c++-common/pr36282-4.c: New test.

From-SVN: r209263

11 years agobackport: re PR target/58595 (internal compiler error: in gen_movsi when compiling...
Jakub Jelinek [Thu, 10 Apr 2014 07:45:21 +0000 (09:45 +0200)] 
backport: re PR target/58595 (internal compiler error: in gen_movsi when compiling on arm some files of lttng-tools with -fPIE)

Backport from mainline
2014-03-06  Jakub Jelinek  <jakub@redhat.com>
    Meador Inge  <meadori@codesourcery.com>

PR target/58595
* config/arm/arm.c (arm_tls_symbol_p): Remove.
(arm_legitimize_address): Call legitimize_tls_address for any
arm_tls_referenced_p expression, handle constant addend.  Call it
before testing for !TARGET_ARM.
(thumb_legitimize_address): Don't handle arm_tls_symbol_p here.

2014-03-06  Jakub Jelinek  <jakub@redhat.com>

PR target/58595
* gcc.dg/tls/pr58595.c: New test.

From-SVN: r209262

11 years agoDaily bump.
GCC Administrator [Thu, 10 Apr 2014 00:16:53 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209259

11 years agobackport: [multiple changes]
Bill Schmidt [Wed, 9 Apr 2014 20:15:57 +0000 (20:15 +0000)] 
backport: [multiple changes]

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

Backport from mainline r208750
2014-03-21  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000.c (rs6000_expand_vector_set):  Generate a
pattern for vector nor instead of subtract from splat(-1).
(altivec_expand_vec_perm_const_le): Likewise.

Backport from mainline r209235
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.

From-SVN: r209255

11 years agoRevert following patch 2014-04-08 Pat Haugen <pthaugen@us.ibm.com>
Bill Schmidt [Wed, 9 Apr 2014 20:07:55 +0000 (20:07 +0000)] 
Revert following patch 2014-04-08 Pat Haugen <pthaugen@us.ibm.com>

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

Revert following patch
2014-04-08  Pat Haugen  <pthaugen@us.ibm.com>

Backport from mainline
2014-04-08  Pat Haugen  <pthaugen@us.ibm.com>

* 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.

From-SVN: r209254

11 years agobackport: re PR target/57589 (Linux powerpc -mcpu=native returns pointer to variable...
Bill Schmidt [Wed, 9 Apr 2014 19:42:14 +0000 (19:42 +0000)] 
backport: re PR target/57589 (Linux powerpc -mcpu=native returns pointer to variable on stack in driver-rs6000.c)

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

Backport from mainline r202642
2013-09-17  Alan Modra  <amodra@gmail.com>

PR target/57589
* config/rs6000/driver-rs6000.c (elf_platform): Revert 2013-06-11
patch (r199972).

From-SVN: r209250

11 years agoClean up ChangeLog entries
William Schmidt [Wed, 9 Apr 2014 19:15:00 +0000 (19:15 +0000)] 
Clean up ChangeLog entries

From-SVN: r209249

11 years agoCheck if GCC uses assembler cfi support
Rainer Orth [Wed, 9 Apr 2014 14:54:21 +0000 (14:54 +0000)] 
Check if GCC uses assembler cfi support

* config/generic/asmcfi.h: Also check for
__GCC_HAVE_DWARF2_CFI_ASM.

From-SVN: r209243

11 years agoDaily bump.
GCC Administrator [Wed, 9 Apr 2014 00:16:47 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209232

11 years agosync.md (AINT mode_iterator): Move definition.
Pat Haugen [Tue, 8 Apr 2014 22:17:24 +0000 (22:17 +0000)] 
sync.md (AINT mode_iterator): Move definition.

* 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.

From-SVN: r209229

11 years agoDaily bump.
GCC Administrator [Tue, 8 Apr 2014 00:16:51 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r209207

11 years agore PR ipa/60640 (ICE edge points to wrong declaration / verify_cgraph_node failed)
Martin Jambor [Mon, 7 Apr 2014 09:36:10 +0000 (11:36 +0200)] 
re PR ipa/60640 (ICE edge points to wrong declaration / verify_cgraph_node failed)

2014-04-07  Martin Jambor  <mjambor@suse.cz>

PR ipa/60640
* ipa-cp.c (propagate_constants_accross_call): Do not propagate
accross thunks.

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

From-SVN: r209180

11 years agoChangeLog: Fix the date.
Dominique d'Humieres [Mon, 7 Apr 2014 08:10:54 +0000 (10:10 +0200)] 
ChangeLog: Fix the date.

2014-04-07  Dominique d'Humieres <dominiq@lps.ens.fr>

gcc:

* ChangeLog: Fix the date.

gcc/c-family:

* ChangeLog: Fix the date.

gcc/objc:

* ChangeLog: Fix the date.

From-SVN: r209177