]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
6 years agoDaily bump.
GCC Administrator [Fri, 26 Apr 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270589

6 years agovsx-vector-6.p8.c: Fix failure caused by typo.
Xiong Hu Luo [Thu, 25 Apr 2019 01:18:43 +0000 (01:18 +0000)] 
vsx-vector-6.p8.c: Fix failure caused by typo.

gcc/testsuite/ChangeLog:

2019-04-25  Xiong Hu Luo  <luoxhu@linux.ibm.com>

       * gcc.target/powerpc/vsx-vector-6.p8.c: Fix failure caused by typo.

From-SVN: r270565

6 years agoDaily bump.
GCC Administrator [Thu, 25 Apr 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270561

6 years agoDaily bump.
GCC Administrator [Wed, 24 Apr 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270528

6 years agoDaily bump.
GCC Administrator [Tue, 23 Apr 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270496

6 years agobackport: re PR target/87532 (bad results from vec_extract(unsigned char, foo) depend...
Kelvin Nilsen [Mon, 22 Apr 2019 16:09:13 +0000 (16:09 +0000)] 
backport: re PR target/87532 (bad results from vec_extract(unsigned char, foo) dependent upon function inline)

gcc/ChangeLog:

2019-04-22  Kelvin Nilsen  <kelvin@gcc.gnu.org>

Backport from mainline
2019-03-15  Kelvin Nilsen  <kelvin@gcc.gnu.org>

PR target/87532
* config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
When handling vec_extract, use modular arithmetic to allow
constant selectors greater than vector length.
* config/rs6000/rs6000.c (rs6000_expand_vector_extract): Allow
V1TImode vectors to have constant selector values greater than 0.
Use modular arithmetic to compute vector index.
(rs6000_split_vec_extract_var): Use modular arithmetic to compute
index for in-memory vectors.  Correct code generation for
in-register vectors.  Use inner mode of vector rather than mode of
destination for move instruction.
(altivec_expand_vec_ext_builtin): Use modular arithmetic to
compute index.

2019-04-12  Kelvin Nilsen  <kelvin@gcc.gnu.org>

PR target/87532
* config/rs6000/vsx.md (*vsx_extract_<mode>_<VS_scalar>mode_var):
Use QI inner mode with V16QI vector mode.

gcc/testsuite/ChangeLog:

2019-04-22  Kelvin Nilsen  <kelvin@gcc.gnu.org>

Backport from mainline
2019-03-15  Kelvin Nilsen  <kelvin@gcc.gnu.org>

PR target/87532
* gcc.target/powerpc/pr87532-mc.c: New test.
* gcc.target/powerpc/pr87532.c: New test.
* gcc.target/powerpc/vec-extract-v16qiu-v2.h: New test.
* gcc.target/powerpc/vec-extract-v16qiu-v2a.c: New test.
* gcc.target/powerpc/vec-extract-v16qiu-v2b.c: New test.
* gcc.target/powerpc/vsx-builtin-10a.c: New test.
* gcc.target/powerpc/vsx-builtin-10b.c: New test.
* gcc.target/powerpc/vsx-builtin-11a.c: New test.
* gcc.target/powerpc/vsx-builtin-11b.c: New test.
* gcc.target/powerpc/vsx-builtin-12a.c: New test.
* gcc.target/powerpc/vsx-builtin-12b.c: New test.
* gcc.target/powerpc/vsx-builtin-13a.c: New test.
* gcc.target/powerpc/vsx-builtin-13b.c: New test.
* gcc.target/powerpc/vsx-builtin-14a.c: New test.
* gcc.target/powerpc/vsx-builtin-14b.c: New test.
* gcc.target/powerpc/vsx-builtin-15a.c: New test.
* gcc.target/powerpc/vsx-builtin-15b.c: New test.
* gcc.target/powerpc/vsx-builtin-16a.c: New test.
* gcc.target/powerpc/vsx-builtin-16b.c: New test.
* gcc.target/powerpc/vsx-builtin-17a.c: New test.
* gcc.target/powerpc/vsx-builtin-17b.c: New test.
* gcc.target/powerpc/vsx-builtin-18a.c: New test.
* gcc.target/powerpc/vsx-builtin-18b.c: New test.
* gcc.target/powerpc/vsx-builtin-19a.c: New test.
* gcc.target/powerpc/vsx-builtin-19b.c: New test.
* gcc.target/powerpc/vsx-builtin-20a.c: New test.
* gcc.target/powerpc/vsx-builtin-20b.c: New test.
* gcc.target/powerpc/vsx-builtin-9a.c: New test.
* gcc.target/powerpc/vsx-builtin-9b.c: New test.

2019-03-19  Kelvin Nilsen  <kelvin@gcc.gnu.org>

PR target/89736
* gcc.target/powerpc/pr87532-mc.c: Modify dejagnu directives to
restrict this test to vsx targets.

From-SVN: r270493

6 years agoDaily bump.
GCC Administrator [Mon, 22 Apr 2019 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270486

6 years agoDaily bump.
GCC Administrator [Sun, 21 Apr 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270473

6 years agoDaily bump.
GCC Administrator [Sat, 20 Apr 2019 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270464

6 years agobackport r257541, r259936, r260294, r260623, r261098, r261333, r268585 from trunk
Xiong Hu Luo [Fri, 19 Apr 2019 03:30:33 +0000 (03:30 +0000)] 
backport r257541, r259936, r260294, r260623, r261098, r261333, r268585 from trunk

These patches are followed changes for r255555 on testcases
vsx-vector-6*.c.  Backport them to update file names and fix regressions
for GCC7 on power9.
See e.g. https://gcc.gnu.org/ml/gcc-testresults/2019-04/msg00159.html
for the failures this patch fixes; the patch is for GCC 7.

gcc/ChangeLog:

2019-04-19  Xiong Hu Luo  <luoxhu@linux.ibm.com>

Backport from trunk
2018-05-23  Segher Boessenkool  <segher@kernel.crashing.org>

* doc/sourcebuild.texi (Endianness): New subsubsection.

gcc/testsuite/ChangeLog:

2019-04-19  Xiong Hu Luo  <luoxhu@linux.ibm.com>

Backport from trunk
2018-02-07  Will Schmidt  <will_schmidt@vnet.ibm.com>

* gcc.target/powerpc/vsx-vector-6-le.c: Update CPU target.
* gcc.target/powerpc/vsx-vector-6-le.p9.c: New.

Backport from trunk
2018-05-04  Carl Love  <cel@us.ibm.com>
* gcc.target/powerpc/vsx-vector-6.h (foo): Add test for vec_max,
vec_trunc.
* gcc.target/powerpc/vsx-vector-6-le.c (dg-final): Update xvcmpeqdp,
xvcmpgtdp, xvcmpgedp counts. Add xxsel counts.
* gcc.target/powerpc/vsx-vector-6-be.c (dg-final): Update xvcmpgtdp,
xvcmpgedp counts. Add xxsel counts.

Backport from trunk
2018-05-16  Carl Love  <cel@us.ibm.com>
* gcc.target/powerpc/vsx-vector-6-be.c: Remove file.
* gcc.target/powerpc/vsx-vector-6-be.p7.c: New test file.
* gcc.target/powerpc/vsx-vector-6-be.p8.c: New test file.
* gcc.target/powerpc/vsx-vector-6-le.c (dg-final): Update counts for
xvcmpeqdp., xvcmpgtdp., xvcmpgedp., xxlxor, xvrdpi.

Backport from trunk
2018-05-23  Segher Boessenkool  <segher@kernel.crashing.org>

* lib/target-supports.exp (check_effective_target_be): New.
(check_effective_target_le): New.

Backport from trunk
2018-06-01  Carl Love  <cel@us.ibm.com>

* gcc.target/powerpc/altivec-7-be.c: Delete file.
* gcc.target/powerpc/altivec-7-le.c: Delete file.
* gcc.target/powerpc/vsx-7-be.c: Remove file.

Backport from trunk
2018-06-01  Carl Love  <cel@us.ibm.com>

Commit 260294 on 2018-05-16 by Carl Love was supposed to add the
following files.

* gcc.target/powerpc/vsx-vector-6-be.p7.c: New test file.
* gcc.target/powerpc/vsx-vector-6-be.p8.c: New test file.

Backport from trunk
2018-06-08  Carl Love  <cel@us.ibm.com>

* gcc.target/powerpc/vsx-vector-6-be.p7.c: Rename this file to
vsx-vector-6.p7.c.
* gcc.target/powerpc/vsx-vector-6-le.p9.c: Rename this file to
vsx-vector-6.p9.c.
* gcc.target/powerpc/vsx-vector-6-be.p8.c: Move instruction counts
for BE system that are different then for an LE system from this file
into vsx-vector-6-le.c using be target qualifier.  Remove this file.
* gcc.target/powerpc/vsx-vector-6-le.c: Add le qualifiers as needed for
the various instruction counts.  Rename file to vsx-vector-6.p8.c.

Backport from trunk
2019-02-06  Bill Seurer  <seurer@linux.vnet.ibm.com>

* gcc.target/powerpc/vsx-vector-6.p7.c: Update instruction
counts and target.
* gcc.target/powerpc/vsx-vector-6.p8.c: Update instruction
counts and target.
* gcc.target/powerpc/vsx-vector-6.p9.c: Update instruction
counts and target.

From-SVN: r270452

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

From-SVN: r270449

6 years agoDaily bump.
GCC Administrator [Thu, 18 Apr 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270428

6 years agore PR libfortran/79540 (FAIL: gfortran.dg/fmt_fw_d.f90 -O0 execution test)
John David Anglin [Wed, 17 Apr 2019 00:22:23 +0000 (00:22 +0000)] 
re PR libfortran/79540 (FAIL: gfortran.dg/fmt_fw_d.f90   -O0  execution test)

PR libgfortran/79540
* io/write_float.def (build_float_string): Don't copy digits when
ndigits is negative.

From-SVN: r270402

6 years agoDaily bump.
GCC Administrator [Wed, 17 Apr 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270399

6 years agoDaily bump.
GCC Administrator [Tue, 16 Apr 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270374

6 years agoDaily bump.
GCC Administrator [Mon, 15 Apr 2019 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270356

6 years agore PR fortran/87352 (Large stack usage with new gfortran)
Thomas Koenig [Sun, 14 Apr 2019 12:27:44 +0000 (12:27 +0000)] 
re PR fortran/87352 (Large stack usage with new gfortran)

2019-04-14  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/87352
Backport from trunk
* gfortran.h (gfc_component): Add finalized field.
* class.c (finalize_component): If the component is already
finalized, return early.  Set component->finalized on exit.

2019-04-14  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/87352
* gfortran.dg/finalize_28.f90: Adjust count of __builtin_free.
* gfortran.dg/finalize_34.f90: New test.

From-SVN: r270352

6 years agoDaily bump.
GCC Administrator [Sun, 14 Apr 2019 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270342

6 years agoDaily bump.
GCC Administrator [Sat, 13 Apr 2019 00:16:26 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270333

6 years agoDaily bump.
GCC Administrator [Fri, 12 Apr 2019 00:16:21 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270297

6 years agoBackport r269492
Martin Liska [Thu, 11 Apr 2019 08:59:48 +0000 (10:59 +0200)] 
Backport r269492

2019-04-11  Martin Liska  <mliska@suse.cz>

Backport from mainline
2019-03-08  Martin Liska  <mliska@suse.cz>

PR target/86952
* config/i386/i386.c (ix86_option_override_internal): Disable
jump tables when retpolines are used.
2019-04-11  Martin Liska  <mliska@suse.cz>

Backport from mainline
2019-03-08  Martin Liska  <mliska@suse.cz>

PR target/86952
* gcc.target/i386/pr86952.c: New test.
* gcc.target/i386/indirect-thunk-7.c: Use jump tables to match
scanned pattern.
* gcc.target/i386/indirect-thunk-inline-7.c: Likewise.

From-SVN: r270277

6 years agoDaily bump.
GCC Administrator [Thu, 11 Apr 2019 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270269

6 years agobackport: re PR fortran/89904 (ICE in gfortran starting with r270045)
Harald Anlauf [Wed, 10 Apr 2019 21:02:02 +0000 (21:02 +0000)] 
backport: re PR fortran/89904 (ICE in gfortran starting with r270045)

2019-04-10  Harald Anlauf  <anlauf@gmx.de>

Backport from trunk
PR fortran/89904
* check.c (gfc_check_transfer): Reject procedures as actual
arguments for SOURCE and MOLD of TRANSFER intrinsic.

PR fortran/89904
* gfortran.dg/pr85797.f90: Adjust testcase.

From-SVN: r270268

6 years agoBackport of r270226 from mainline to gcc-7-branch
Matthew Malcomson [Wed, 10 Apr 2019 13:34:54 +0000 (13:34 +0000)] 
Backport of r270226 from mainline to gcc-7-branch

The "*neon_mov<mode>" patterns for 128 bit sized quantities uses the "Dn"
constraint to match vmov.f32 and vmov.i<vec-width> patterns.
This constraint boils down to using the `neon_immediate_valid` function.
Once the constraint has matched, the output C statement asserts that function
passes.

The output C statement calls `neon_immediate_valid` with the mode taken from the
iterator, while the constraint takes the mode from the operand.
This can cause a discrepency when the operand is a CONST_INT, as the constraint
passes VOIDmode which `neon_immediate_valid` treats as DImode, while the C
statement passes the mode of the iterator which can be TImode.
When this happens, the `neon_immediate_valid` can fail in the second call (if
e.g. the CONST_INT is a valid immediate in DImode but not TImode) which would
trigger the assertion.

The testcase added with this patch triggers this when compiled with an arm cross
compiler using the command line below.
gcc -march=armv8-a -c neon-immediate-timode.c -O1 -mfloat-abi=hard -mfpu=neon-fp-armv8

This patch splits the original "Dn" constraint into three new constraints, "DN"
for TImode CONST_INT, "Dn" for DImode CONST_INT, and "Dm" for CONST_VECTOR.
Splitting things up this way requires using one extra alternative in the
"*neon_mov<mode>" patterns, but makes it clear from the constraint what mode is
being used.

We also remove the behaviour of treating VOIDmode as DImode in
`neon_valid_immediate` since the original "Dn" constraint was the only place
that functionality was used.  VOIDmode is now never passed to that function.
An assertion has been added to the function to ensure this problem is caught
earlier on.

bootstrapped and regtested on arm-none-linux-gnueabihf

gcc/ChangeLog:

2019-04-10  Matthew Malcomson  <matthew.malcomson@arm.com>

PR target/90024
* config/arm/arm.c (neon_valid_immediate): Disallow VOIDmode parameter.
* config/arm/constraints.md (Dm, DN, Dn): Split previous Dn constraint
into three.
* config/arm/neon.md (*neon_mov<mode>): Account for TImode and DImode
differences directly.
(*smax<mode>3_neon, vashl<mode>3, vashr<mode>3_imm): Use Dm constraint.

gcc/testsuite/ChangeLog:

2019-04-10  Matthew Malcomson  <matthew.malcomson@arm.com>

PR target/90024
* gcc.dg/torture/neon-immediate-timode.c: New test.

From-SVN: r270253

6 years agoDaily bump.
GCC Administrator [Wed, 10 Apr 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270243

6 years agoc-ada-spec.c (print_destructor): Deal with deleting destructors.
Eric Botcazou [Tue, 9 Apr 2019 19:30:57 +0000 (19:30 +0000)] 
c-ada-spec.c (print_destructor): Deal with deleting destructors.

* c-ada-spec.c (print_destructor): Deal with deleting destructors.
(dump_ada_declaration) <FUNCTION_DECL>: Likewise.

From-SVN: r270241

6 years agoDaily bump.
GCC Administrator [Tue, 9 Apr 2019 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270217

6 years agore PR target/89945 (ICE in gen_lowpart_general, at rtlhooks.c:63)
Uros Bizjak [Mon, 8 Apr 2019 05:33:01 +0000 (07:33 +0200)] 
re PR target/89945 (ICE in gen_lowpart_general, at rtlhooks.c:63)

PR target/89945
* config/i386/i386.md (anddi_1 to andsi_1_zext splitter):
Avoid calling gen_lowpart with SYMBOL_REF and LABEL_REF operand.

testsuite/ChangeLog:

PR target/89945
* gcc.target/i386/pr89945.c: New test.

From-SVN: r270197

6 years agoDaily bump.
GCC Administrator [Mon, 8 Apr 2019 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270193

6 years agoDaily bump.
GCC Administrator [Sun, 7 Apr 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270185

6 years agobackport: rtlanal.c (get_initial_register_offset): Fall back to the estimate as long...
Eric Botcazou [Sat, 6 Apr 2019 21:44:33 +0000 (21:44 +0000)] 
backport: rtlanal.c (get_initial_register_offset): Fall back to the estimate as long as the epilogue isn't completed.

Backport from mainline
2019-02-19  Eric Botcazou  <ebotcazou@adacore.com>

* rtlanal.c (get_initial_register_offset): Fall back to the estimate
as long as the epilogue isn't completed.

From-SVN: r270183

6 years agoDaily bump.
GCC Administrator [Sat, 6 Apr 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270179

6 years agoDaily bump.
GCC Administrator [Fri, 5 Apr 2019 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270156

6 years agoDaily bump.
GCC Administrator [Thu, 4 Apr 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270139

6 years agore PR lto/89896 (-flto=4 is confused by presence of 'all.c' in a local directory...
Richard Biener [Wed, 3 Apr 2019 08:47:19 +0000 (08:47 +0000)] 
re PR lto/89896 (-flto=4 is confused by presence of 'all.c' in a local directory. -flto=1 is not.)

2019-04-03  Richard Biener  <rguenther@suse.de>

PR lto/89896
* lto-wrapper.c (run_gcc): Avoid implicit rules making
the all target phony.

From-SVN: r270114

6 years agoDaily bump.
GCC Administrator [Wed, 3 Apr 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270108

6 years agoThis is a backport of r250477, r255555, r257253 and r258137 from trunk to
Xiong Hu Luo [Tue, 2 Apr 2019 01:08:31 +0000 (01:08 +0000)] 
This is a backport of r250477, r255555, r257253 and r258137 from trunk to
gcc-7-branch to support built-in functions.

gcc/ChangeLog:

2019-04-02  Xiong Hu Luo <luoxhu@linux.ibm.com>

Backport from trunk r250477.

2017-07-24  Carl Love  <cel@us.ibm.com>

* config/rs6000/rs6000-c.c: Add support for built-in functions
vector float vec_extract_fp32_from_shorth (vector unsigned short);
vector float vec_extract_fp32_from_shortl (vector unsigned short);
* config/rs6000/altivec.h (vec_extract_fp_from_shorth,
vec_extract_fp_from_shortl): Add defines for the two builtins.
* config/rs6000/rs6000-builtin.def (VEXTRACT_FP_FROM_SHORTH,
VEXTRACT_FP_FROM_SHORTL): Add BU_P9V_OVERLOAD_1 and BU_P9V_VSX_1
new builtins.
* config/rs6000/vsx.md vsx_xvcvhpsp): Add define_insn.
(vextract_fp_from_shorth, vextract_fp_from_shortl): Add define_expands.
* doc/extend.texi: Update the built-in documentation file for the
new built-in function.

Backport from trunk r255555.

2017-12-11  Carl Love  <cel@us.ibm.com>

* config/rs6000/altivec.h (vec_extract_fp32_from_shorth,
vec_extract_fp32_from_shortl]): Add #defines.
* config/rs6000/rs6000-builtin.def (VSLDOI_2DI): Add macro expansion.
* config/rs6000/rs6000-c.c (ALTIVEC_BUILTIN_VEC_UNPACKH,
ALTIVEC_BUILTIN_VEC_UNPACKL, ALTIVEC_BUILTIN_VEC_AND,
ALTIVEC_BUILTIN_VEC_SLD, ALTIVEC_BUILTIN_VEC_SRL,
ALTIVEC_BUILTIN_VEC_SRO, ALTIVEC_BUILTIN_VEC_SLD,
ALTIVEC_BUILTIN_VEC_SLL): Add expansions.
* doc/extend.texi: Add documentation for the added builtins.

gcc/testsuite/ChangeLog:

2019-04-02  Xiong Hu Luo <luoxhu@linux.ibm.com>

Backport from trunk r250477.

2017-07-24  Carl Love  <cel@us.ibm.com>

* gcc.target/powerpc/builtins-3-p9-runnable.c: Add new test file for
the new built-ins.

Backport from trunk r255555.

2017-12-11  Carl Love  <cel@us.ibm.com>
* gcc.target/powerpc/altivec-7.c: Renamed altivec-7.h.
* gcc.target/powerpc/altivec-7.h (main): Add testcases for vec_unpackl.
Add dg-final tests for the instructions generated.
* gcc.target/powerpc/altivec-7-be.c: New file to test on big endian.
* gcc.target/powerpc/altivec-7-le.c: New file to test on little endian.
* gcc.target/powerpc/altivec-13.c (foo): Add vec_sld, vec_srl,
 vec_sro testcases. Add dg-final tests for the instructions generated.
* gcc.target/powerpc/builtins-3-p8.c (test_vsi_packs_vui,
test_vsi_packs_vsi, test_vsi_packs_vssi, test_vsi_packs_vusi,
test_vsi_packsu-vssi, test_vsi_packsu-vusi, test_vsi_packsu-vsll,
test_vsi_packsu-vull, test_vsi_packsu-vsi, test_vsi_packsu-vui): Add
testcases. Add dg-final tests for new instructions.
* gcc.target/powerpc/p8vector-builtin-2.c (vbschar_eq, vbchar_eq,
vuchar_eq, vbint_eq, vsint_eq, viint_eq, vuint_eq, vbool_eq, vbint_ne,
vsint_ne, vuint_ne, vbool_ne, vsign_ne, vuns_ne, vbshort_ne): Add
tests.
Add dg-final instruction tests.
* gcc.target/powerpc/vsx-vector-6.c: Renamed vsx-vector-6.h.
* gcc.target/powerpc/vsx-vector-6.h (vec_andc,vec_nmsub, vec_nmadd,
vec_or, vec_nor, vec_andc, vec_or, vec_andc, vec_msums): Add tests.
Add dg-final tests for the generated instructions.
* gcc.target/powerpc/builtins-3.c (test_sll_vsc_vsc_vsuc,
test_sll_vuc_vuc, test_sll_vsi_vsi_vuc, test_sll_vui_vui_vuc,
test_sll_vbll_vull, test_sll_vbll_vbll_vus, test_sll_vp_vp_vuc,
test_sll_vssi_vssi_vuc, test_sll_vusi_vusi_vuc, test_slo_vsc_vsc_vsc,
test_slo_vuc_vuc_vsc, test_slo_vsi_vsi_vsc, test_slo_vsi_vsi_vuc,
test_slo_vui_vui_vsc, test_slo_vui_vui_vuc, test_slo_vsll_slo_vsll_vsc,
test_slo_vsll_slo_vsll_vuc, test_slo_vull_slo_vull_vsc,
test_slo_vull_slo_vull_vuc, test_slo_vp_vp_vsc, test_slo_vp_vp_vuc,
test_slo_vssi_vssi_vsc, test_slo_vssi_vssi_vuc, test_slo_vusi_vusi_vsc,
test_slo_vusi_vusi_vuc, test_slo_vusi_vusi_vuc, test_slo_vf_vf_vsc,
test_slo_vf_vf_vuc, test_cmpb_float): Add tests.

Backport from trunk r257253.

2018-01-31  Will Schmidt  <will_schmidt@vnet.ibm.com>

* gcc.target/powerpc/altivec-13.c: Remove VSX-requiring built-ins.
* gcc.target/powerpc/vsx-13.c: New.

Backport from trunk r258137.

2018-03-02  Will Schmidt  <will_schmidt@vnet.ibm.com>

* gcc.target/powerpc/altivec-7-be.c: Remove VSX content, allow
32-bit target.
* gcc.target/powerpc/altivec-7.h: Remove VSX content.
* gcc.target/powerpc/vsx-7-be.c: New test (VSX content).
* gcc.target/powerpc/vsx-7.h: New include (VSX content).
* gcc.target/powerpc/altivec-7-le.c: Add vsx-7.h include.

From-SVN: r270073

6 years agoDaily bump.
GCC Administrator [Tue, 2 Apr 2019 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270070

6 years agoDaily bump.
GCC Administrator [Mon, 1 Apr 2019 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270049

6 years agobackport: re PR fortran/83515 (ICE: Invalid expression in gfc_element_size)
Harald Anlauf [Sun, 31 Mar 2019 19:21:37 +0000 (19:21 +0000)] 
backport: re PR fortran/83515 (ICE: Invalid expression in gfc_element_size)

2019-03-31  Harald Anlauf  <anlauf@gmx.de>

Backport from trunk
PR fortran/83515
PR fortran/85797
* trans-types.c (gfc_typenode_for_spec): Handle conversion for
procedure pointers.
* target-memory.c (gfc_element_size): Handle size determination
for procedure pointers.

PR fortran/83515
PR fortran/85797
* gfortran.dg/pr85797.f90: New test.

From-SVN: r270047

6 years agoDaily bump.
GCC Administrator [Sun, 31 Mar 2019 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270039

6 years agoDaily bump.
GCC Administrator [Sat, 30 Mar 2019 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270027

6 years agoDaily bump.
GCC Administrator [Fri, 29 Mar 2019 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270010

6 years agoBackport r265786
Martin Liska [Thu, 28 Mar 2019 08:53:49 +0000 (09:53 +0100)] 
Backport r265786

2019-03-28  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-11-05  Martin Liska  <mliska@suse.cz>

PR web/87829
* doc/invoke.texi: Remove options that are
not disabled with -Os.

From-SVN: r269987

6 years agoDaily bump.
GCC Administrator [Thu, 28 Mar 2019 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269981

6 years agoDaily bump.
GCC Administrator [Wed, 27 Mar 2019 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269956

6 years agobackport: [multiple changes]
Richard Biener [Tue, 26 Mar 2019 13:18:23 +0000 (13:18 +0000)] 
backport: [multiple changes]

2019-02-26  Richard Biener  <rguenther@suse.de>

Backport from mainline
2019-02-12  Richard Biener  <rguenther@suse.de>

PR tree-optimization/89253
* tree-ssa-loop-split.c (tree_ssa_split_loops): Check we can
duplicate the loop.

* gfortran.dg/pr89253.f: New testcase.

2019-02-08  Richard Biener  <rguenther@suse.de>

PR middle-end/89223
* tree-data-ref.c (initialize_matrix_A): Fail if constant
doesn't fit in HWI.
(analyze_subscript_affine_affine): Handle failure from
initialize_matrix_A.

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

2019-01-28  Richard Biener  <rguenther@suse.de>

PR tree-optimization/88739
* tree-ssa-sccvn.c (vn_reference_lookup_3): Avoid generating
BIT_FIELD_REFs of non-mode-precision integral operands.

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

From-SVN: r269942

6 years agobackport: [multiple changes]
Richard Biener [Tue, 26 Mar 2019 11:18:26 +0000 (11:18 +0000)] 
backport: [multiple changes]

2019-03-26  Richard Biener  <rguenther@suse.de>

Backport from mainline
2019-01-08  Richard Biener  <rguenther@suse.de>

PR tree-optimization/86554
* tree-ssa-sccvn.c (visit_nary_op): When value-numbering to
expressions with different overflow behavior make sure there's an
available expression on the path.

* gcc.dg/torture/pr86554-1.c: New testcase.
* gcc.dg/torture/pr86554-2.c: Likewise.

2018-11-20  Richard Biener  <rguenther@suse.de>

PR tree-optimization/88105
* tree-ssa-dom.c (pass_dominator::execute): Do not walk
backedges.

* gcc.dg/gomp/pr88105.c: New testcase.

2018-03-08  Richard Biener  <rguenther@suse.de>

PR middle-end/84552
* tree-scalar-evolution.c: Include tree-into-ssa.h.
(follow_copies_to_constant): Do not follow SSA names registered
for update.

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

From-SVN: r269939

6 years agoDaily bump.
GCC Administrator [Tue, 26 Mar 2019 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269929

6 years agore PR fortran/71861 ([F03] ICE in write_symbol(): bad module symbol)
Janus Weil [Mon, 25 Mar 2019 19:58:04 +0000 (20:58 +0100)] 
re PR fortran/71861 ([F03] ICE in write_symbol(): bad module symbol)

fix PR 71861

2019-03-25  Janus Weil  <janus@gcc.gnu.org>

PR fortran/71861
* symbol.c (check_conflict): ABSTRACT attribute conflicts with
INTRINSIC attribute.

2019-03-25  Janus Weil  <janus@gcc.gnu.org>

PR fortran/71861
* gfortran.dg/interface_abstract_5.f90: New test case.

From-SVN: r269922

6 years agoDaily bump.
GCC Administrator [Mon, 25 Mar 2019 00:16:24 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269903

6 years agoDaily bump.
GCC Administrator [Sun, 24 Mar 2019 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269892

6 years agore PR fortran/68009 (prototype for gfortran_runtime_error with inline matmul)
Thomas Koenig [Sat, 23 Mar 2019 16:01:57 +0000 (16:01 +0000)] 
re PR fortran/68009 (prototype for gfortran_runtime_error with inline matmul)

2019-03-23  Thomas Koenig  <tkoeng@gcc.gnu.org>

    PR fortran/68009
    Backport from trunk
    * iresolve.c: Include trans.h.
    (gfc_resolve_fe_runtine_error): Set backend_decl on
    resolved_sym.

From-SVN: r269890

6 years agoDaily bump.
GCC Administrator [Sat, 23 Mar 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269883

6 years agoDaily bump.
GCC Administrator [Fri, 22 Mar 2019 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269864

6 years ago[testsuite] Fix 'dg-compile-aux-modules' diagnostic
Thomas Schwinge [Thu, 21 Mar 2019 19:31:30 +0000 (20:31 +0100)] 
[testsuite] Fix 'dg-compile-aux-modules' diagnostic

gcc/testsuite/
PR fortran/56408
* gcc.target/powerpc/ppc-fortran/ppc-fortran.exp
(dg-compile-aux-modules): Fix diagnostic.
* gfortran.dg/coarray/caf.exp (dg-compile-aux-modules): Likewise.
* gfortran.dg/dg.exp (dg-compile-aux-modules): Likewise.

trunk r269851

From-SVN: r269853

6 years ago[testsuite, Fortran] Apply DejaGnu 1.4.4 work-around also to 'gfortran.dg/coarray...
Thomas Schwinge [Thu, 21 Mar 2019 19:17:12 +0000 (20:17 +0100)] 
[testsuite, Fortran] Apply DejaGnu 1.4.4 work-around also to 'gfortran.dg/coarray/caf.exp:dg-compile-aux-modules'

See trunk r215293.  This unifies all 'dg-compile-aux-modules' instances.

gcc/testsuite/
PR fortran/56408
* gfortran.dg/coarray/caf.exp (dg-compile-aux-modules): Workaround
missing nexted dg-test call support in dejaGNU 1.4.4.

trunk r269848

From-SVN: r269850

6 years ago[testsuite, Fortran] Consistently set 'DEFAULT_FFLAGS'
Thomas Schwinge [Thu, 21 Mar 2019 18:57:56 +0000 (19:57 +0100)] 
[testsuite, Fortran] Consistently set 'DEFAULT_FFLAGS'

In the same 'runtest' instance, 'global' variables persist from one '*.exp'
file to another.

All other '*.exp' files are using " -pedantic-errors" instead of the empty
string as the default for 'DEFAULT_FFLAGS'.  Thus this setting of
'DEFAULT_FFLAGS' is not idempotent, depends on whether
'gfortran.dg/ieee/ieee.exp', or an other defining '*.exp' file is executed
first.

gcc/testsuite/
PR fortran/29383
* gfortran.dg/ieee/ieee.exp (DEFAULT_FFLAGS): Set the same as in
other '*.exp' files.

trunk r269845

From-SVN: r269847

6 years agors6000.c (rs6000_analyze_swaps): Rebuild ud- and du-chains between phases.
Bill Schmidt [Thu, 21 Mar 2019 17:13:55 +0000 (17:13 +0000)] 
rs6000.c (rs6000_analyze_swaps): Rebuild ud- and du-chains between phases.

2019-03-21  Bill Schmidt  <wschmidt@linux.ibm.com>

* config/rs6000/rs6000.c (rs6000_analyze_swaps): Rebuild
ud- and du-chains between phases.

From-SVN: r269843

6 years agobackport: re PR tree-optimization/89505 (LibreOffice miscompilation starting with...
Matthias Klose [Thu, 21 Mar 2019 12:28:26 +0000 (12:28 +0000)] 
backport: re PR tree-optimization/89505 (LibreOffice miscompilation starting with r260383)

2019-03-21  Matthias Klose  <doko@ubuntu.com>

        Backport from mainline
        2019-02-26  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/89505
        * tree-ssa-structalias.c (compute_dependence_clique): Make sure
        to handle restrict pointed-to vars with multiple subvars
        correctly.

2019-03-21  Matthias Klose  <doko@ubuntu.com>

        Backport from mainline
        2019-02-26  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/89505
        * gcc.dg/torture/pr89505.c: New testcase.

From-SVN: r269836

6 years agoDaily bump.
GCC Administrator [Thu, 21 Mar 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269829

6 years agoDaily bump.
GCC Administrator [Wed, 20 Mar 2019 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269815

6 years agoDaily bump.
GCC Administrator [Tue, 19 Mar 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269786

6 years agoDaily bump.
GCC Administrator [Mon, 18 Mar 2019 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269747

6 years agore PR fortran/84394 (compiler error when using modules with derived types in block...
Thomas Koenig [Sun, 17 Mar 2019 12:54:29 +0000 (12:54 +0000)] 
re PR fortran/84394 (compiler error when using modules with derived types in block data subprograms)

2019-03-17  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/84394
Backport from trunk
* symbol.c (gfc_add_subroutine): If we are encountering a
subrtoutine within a BLOCK DATA and the name starts with an
underscore, do not check.

2019-03-17  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/84394
Backport from trunk
* gfortran.dg/blockdata_11.f90: New test.

From-SVN: r269741

6 years agox32: Add addr32 prefix to VSIB address
H.J. Lu [Sun, 17 Mar 2019 09:27:56 +0000 (09:27 +0000)] 
x32: Add addr32 prefix to VSIB address

32-bit indices in VSIB address are sign-extended to 64 bits.  In x32,
when 32-bit indices are used as addresses, like in

vgatherdps %ymm7, 0(,%ymm9,1), %ymm6

32-bit indices, 0xf7fa3010, is sign-extended to 0xfffffffff7fa3010 which
is invalid address.  Add addr32 prefix to UNSPEC_VSIBADDR instructions
for x32 if there is no base register nor symbol.

This fixes 175.vpr and 254.gap in SPEC CPU 2000 on x32 with

-Ofast -funroll-loops -march=haswell

gcc/

Backport from mainline
2019-03-14  H.J. Lu  <hongjiu.lu@intel.com>

PR target/89523
* config/i386/i386.c (ix86_print_operand): Handle 'M' to add
addr32 prefix to VSIB address for X32.
* config/i386/sse.md (*avx512pf_gatherpf<mode>sf_mask): Prepend
"%M2" to opcode.
(*avx512pf_gatherpf<mode>df_mask): Likewise.
(*avx512pf_scatterpf<mode>sf_mask): Likewise.
(*avx512pf_scatterpf<mode>df_mask): Likewise.
(*avx2_gathersi<mode>): Prepend "%M3" to opcode.
(*avx2_gathersi<mode>_2): Prepend "%M2" to opcode.
(*avx2_gatherdi<mode>): Prepend "%M3" to opcode.
(*avx2_gatherdi<mode>_2): Prepend "%M2" to opcode.
(*avx2_gatherdi<mode>_3): Prepend "%M3" to opcode.
(*avx2_gatherdi<mode>_4): Prepend "%M2" to opcode.`
(*avx512f_gathersi<mode>): Prepend "%M4" to opcode.
(*avx512f_gathersi<mode>_2): Prepend "%M3" to opcode.
(*avx512f_gatherdi<mode>): Prepend "%M4" to opcode.
(*avx512f_gatherdi<mode>_2): Prepend "%M3" to opcode.
(*avx512f_scattersi<mode>): Prepend "%M0" to opcode.
(*avx512f_scatterdi<mode>): Likewise.

gcc/testsuite/

Backport from mainline
2019-03-14  H.J. Lu  <hongjiu.lu@intel.com>

PR target/89523
* gcc.target/i386/pr89523-1a.c: New test.
* gcc.target/i386/pr89523-1b.c: Likewise.
* gcc.target/i386/pr89523-2.c: Likewise.
* gcc.target/i386/pr89523-3.c: Likewise.
* gcc.target/i386/pr89523-4.c: Likewise.
* gcc.target/i386/pr89523-5.c: Likewise.
* gcc.target/i386/pr89523-6.c: Likewise.
* gcc.target/i386/pr89523-7.c: Likewise.
* gcc.target/i386/pr89523-8.c: Likewise.
* gcc.target/i386/pr89523-9.c: Likewise.

From-SVN: r269739

6 years agoDaily bump.
GCC Administrator [Sun, 17 Mar 2019 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269735

6 years agore PR fortran/66089 (elemental dependency mishandling when class array are involved)
Thomas Koenig [Sat, 16 Mar 2019 14:03:00 +0000 (14:03 +0000)] 
re PR fortran/66089 (elemental dependency mishandling when class array are involved)

2019-03-16  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/66089
Backport from trunk
* trans-array.c (gfc_scalar_elemental_arg_saved_as_reference):
Return false if a scalar tempoary is needed.
(gfc_walk_variable_expr): Fix up class refs.

2019-03-16  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/66089
Backport from trunk
* gfortran.dg/dependency_53.f90: New test.
* gfortran.dg/assumed_type_2.f90: Adapted tree dumps.
* gfortran.dg/no_arg_check_2.f90: Likewise.

From-SVN: r269725

6 years agore PR fortran/66695 ([F03] ICE with binding-name equal to the name of a use-associate...
Thomas Koenig [Sat, 16 Mar 2019 13:24:40 +0000 (13:24 +0000)] 
re PR fortran/66695 ([F03] ICE with binding-name equal to the name of a use-associated procedure)

2019-03-16  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/66695
PR fortran/77746
PR fortran/79485
Backport from trunk
* gfortran.h (gfc_symbol): Add bind_c component.
(gfc_get_gsymbol): Add argument bind_c.
* decl.c (add_global_entry): Add bind_c argument to
gfc_get_symbol.
* parse.c (parse_block_data): Likewise.
(parse_module): Likewise.
(add_global_procedure): Likewise.
(add_global_program): Likewise.
* resolve.c (resolve_common_blocks): Likewise.
(resolve_global_procedure): Likewise.
(gfc_verify_binding_labels): Likewise.
* symbol.c (gfc_get_gsymbol): Add argument bind_c. Set bind_c
in gsym.
* trans-decl.c (gfc_get_module_backend_decl): Add bind_c argument
to gfc_get_symbol.
(gfc_get_extern_function_decl): If the sym has a binding label
and it cannot be found in the global symbol tabel, it is the wrong
one and vice versa.

2019-03-16 Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/66695
PR fortran/77746
PR fortran/79485
Backport from trunk
* gfortran.dg/binding_label_tests_30.f90: New test.
* gfortran.dg/binding_label_tests_31.f90: New test.
* gfortran.dg/binding_label_tests_32.f90: New test.
* gfortran.dg/binding_label_tests_33.f90: New test.

From-SVN: r269723

6 years agoDaily bump.
GCC Administrator [Sat, 16 Mar 2019 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269718

6 years agoDaily bump.
GCC Administrator [Fri, 15 Mar 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269696

6 years agoZero local estimated benefit for cloning extern inline function
Martin Jambor [Thu, 14 Mar 2019 16:54:43 +0000 (17:54 +0100)] 
Zero local estimated benefit for cloning extern inline function

2019-03-14  Martin Jambor  <mjambor@suse.cz>

Backport from mainline
2019-03-07  Martin Jambor  <mjambor@suse.cz>

PR lto/87525
* ipa-cp.c (perform_estimation_of_a_value): Account zero time benefit
for extern inline functions.

testsuite/
* gcc.dg/ipa/ipcp-5.c: New test.

From-SVN: r269688

6 years agobackport: re PR target/84272 (AddressSanitizer: heap-use-after-free ../../gcc/config...
Richard Biener [Thu, 14 Mar 2019 09:18:07 +0000 (09:18 +0000)] 
backport: re PR target/84272 (AddressSanitizer: heap-use-after-free ../../gcc/config/aarch64/cortex-a57-fma-steering.c:519 in fma_node::get_parity())

2019-03-14  Richard Biener  <rguenther@suse.de>

Backport from mainline
2018-02-16  Jakub Jelinek  <jakub@redhat.com>

PR target/84272
* config/aarch64/cortex-a57-fma-steering.c (fma_forest::merge_forest):
Use ++iter rather than iter++ for std::list iterators.
(func_fma_steering::dfs): Likewise.  Don't delete nodes right away,
defer deleting them until all nodes in the forest are processed.  Do
free even leaf nodes.  Change to_process into auto_vec.

* g++.dg/opt/pr84272.C: New test.

From-SVN: r269676

6 years agoDaily bump.
GCC Administrator [Thu, 14 Mar 2019 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269668

6 years agore PR fortran/87673 (Errors caused by using function for character length in allocate...
Thomas Koenig [Wed, 13 Mar 2019 22:15:33 +0000 (22:15 +0000)] 
re PR fortran/87673 (Errors caused by using function for character length in allocate with typespec)

2019-03-13  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/87673
Backport from trunk
* match.c (gfc_match_type_spec): Remove call to
gfc_resolve_expr for character length.

2019-03-13  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/87673
Backport from trunk
* gfortran.dg/charlen_17.f90: New test.

From-SVN: r269666

6 years agoBackport of r269499 and related testism fix r269596.
Andre Vieira [Wed, 13 Mar 2019 11:46:56 +0000 (11:46 +0000)] 
Backport of r269499 and related testism fix r269596.

gcc/ChangeLog:
2019-03-13  Andre Vieira  <andre.simoesdiasvieira@arm.com>

Backport from mainline
2019-03-08  Andre Vieira  <andre.simoesdiasvieira@arm.com>

* config/arm/arm.h (TARGET_FP16_TO_DOUBLE): Add TARGET_VFP_DOUBLE
requirement.

gcc/testsuite/ChangeLog:
2019-03-13  Andre Vieira  <andre.simoesdiasvieira@arm.com>

Backport from mainline
2019-03-08  Andre Vieira  <andre.simoesdiasvieira@arm.com>

* gcc.target/arm/f16_f64_conv_no_dp.c: New test.

Backport from mainline
2019-03-11  Christophe Lyon  <christophe.lyon@linaro.org>

* gcc.target/arm/f16_f64_conv_no_dp.c: Add arm_fp16_ok effective
target.

From-SVN: r269647

6 years agoDaily bump.
GCC Administrator [Wed, 13 Mar 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269629

6 years agoDaily bump.
GCC Administrator [Tue, 12 Mar 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269599

6 years agoBackport r268981
Martin Liska [Mon, 11 Mar 2019 11:18:22 +0000 (12:18 +0100)] 
Backport r268981

2019-03-11  Martin Liska  <mliska@suse.cz>

Backport from mainline
2019-02-18  Martin Liska  <mliska@suse.cz>

PR c++/89383
* line-map.c (linemap_line_start): Use 1UL in order
to not overflow.

From-SVN: r269577

6 years agoBackport r268789
Martin Liska [Mon, 11 Mar 2019 11:18:08 +0000 (12:18 +0100)] 
Backport r268789

2019-03-11  Martin Liska  <mliska@suse.cz>

Backport from mainline
2019-02-11  David Malcolm  <dmalcolm@redhat.com>

PR lto/88147
* input.c (selftest::test_line_offset_overflow): New selftest.
(selftest::input_c_tests): Call it.
2019-03-11  Martin Liska  <mliska@suse.cz>

Backport from mainline
2019-02-11  Martin Liska  <mliska@suse.cz>

PR lto/88147
* line-map.c (linemap_line_start): Don't reuse the existing line
map if the line offset is sufficiently large to cause overflow
when computing location_t values.

From-SVN: r269576

6 years agoDaily bump.
GCC Administrator [Mon, 11 Mar 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269563

6 years agore PR fortran/71544 (gfortran compiler optimization bug when dealing with c-style...
Thomas Koenig [Sun, 10 Mar 2019 11:26:25 +0000 (11:26 +0000)] 
re PR fortran/71544 (gfortran compiler optimization bug when dealing with c-style pointers)

2019-03-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/71544
Backport from trunk
* trans-types.c (gfc_typenode_for_spec) Set ts->is_c_interop of
C_PTR and C_FUNPTR.
(create_fn_spec): Mark argument as escaping if ts->is_c_interop is set.

2019-03-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/71544
Backport from trunk
* gfortran.dg/c_ptr_tests_19.f90: New test.

From-SVN: r269552

6 years agore PR fortran/87734 (ICE in is_illegal_recursion check for character len= parameter)
Thomas Koenig [Sun, 10 Mar 2019 11:09:30 +0000 (11:09 +0000)] 
re PR fortran/87734 (ICE in is_illegal_recursion check for character len= parameter)

2019-03-10  Thomas Koenig  <tkoenig@gcc.gnu.org>
Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/87734
Backort from trunk
* symbol.c (gfc_add_procedure): Only throw an error if the
procedure has not been declared either PUBLIC or PRIVATE.
* resolve.c (is_illegal_recursion): Remove an assert().

2019-03-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/87734
Backport from trunk
* gfortran.dg/public_private_module_10.f90: New test.

Co-Authored-By: Steven G. Kargl <kargl@gcc.gnu.org>
From-SVN: r269550

6 years agobackport: re PR c++/89585 (GCC 8.3: asm volatile no longer accepted at file scope)
Matthias Klose [Sun, 10 Mar 2019 07:25:13 +0000 (07:25 +0000)] 
backport: re PR c++/89585 (GCC 8.3: asm volatile no longer accepted at file scope)

gcc/cp/

2019-04-10  Matthias Klose  <doko@ubuntu.com>

Backport from the gcc-8 branch
2019-03-07  Jakub Jelinek  <jakub@redhat.com>

PR c++/89585
* parser.c (cp_parser_asm_definition): Parse asm qualifiers even
at toplevel, but diagnose them.

gcc/testsuite/

2019-04-10  Matthias Klose  <doko@ubuntu.com>

Backport from the gcc-8 branch
2019-03-07  Jakub Jelinek  <jakub@redhat.com>

PR c++/89585
* g++.dg/asm-qual-3.C: Adjust expected diagnostics.

From-SVN: r269546

6 years agoDaily bump.
GCC Administrator [Sun, 10 Mar 2019 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269543

6 years agoDaily bump.
GCC Administrator [Sat, 9 Mar 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269518

6 years agoDaily bump.
GCC Administrator [Fri, 8 Mar 2019 00:16:21 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269474

6 years agobackport r268834 from mainline to gcc-7-branch
Xiong Hu Luo [Thu, 7 Mar 2019 01:54:46 +0000 (01:54 +0000)] 
backport r268834 from mainline to gcc-7-branch

Backport r268834 of "Add support for the vec_sbox_be, vec_cipher_be etc."
from mainline to gcc-7-branch.

gcc/ChangeLog:
2019-03-07  Xiong Hu Luo  <luoxhu@linux.ibm.com>

Backport of r268834 from mainline to gcc-7-branch.
2019-02-13  Xiong Hu Luo  <luoxhu@linux.vnet.ibm.com>

* config/rs6000/altivec.h (vec_sbox_be, vec_cipher_be,
vec_cipherlast_be, vec_ncipher_be, vec_ncipherlast_be): New #defines.
* config/rs6000/crypto.md (CR_vqdi): New define_mode_iterator.
(crypto_vsbox_<mode>, crypto_<CR_insn>_<mode>): New define_insns.
* config/rs6000/rs6000-builtin.def (VSBOX_BE): New BU_CRYPTO_1.
(VCIPHER_BE, VCIPHERLAST_BE, VNCIPHER_BE, VNCIPHERLAST_BE):
New BU_CRYPTO_2.
* config/rs6000/rs6000.c (builtin_function_type)
<CRYPTO_BUILTIN_VSBOX_BE, CRYPTO_BUILTIN_VCIPHER_BE,
CRYPTO_BUILTIN_VCIPHERLAST_BE, CRYPTO_BUILTIN_VNCIPHER_BE,
CRYPTO_BUILTIN_VNCIPHERLAST_BE>: New switch options.
* doc/extend.texi (vec_sbox_be, vec_cipher_be, vec_cipherlast_be,
vec_ncipher_be, vec_ncipherlast_be): New builtin functions.

gcc/testsuite/ChangeLog:
2019-03-07  Xiong Hu Luo  <luoxhu@linux.ibm.com>

Backport of r268834 from mainline to gcc-7-branch.
2019-01-23  Xiong Hu Luo  <luoxhu@linux.vnet.ibm.com>

* gcc.target/powerpc/crypto-builtin-1.c
(crypto1_be, crypto2_be, crypto3_be, crypto4_be, crypto5_be):
New testcases.

From-SVN: r269450

6 years agoDaily bump.
GCC Administrator [Thu, 7 Mar 2019 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269446

6 years agore PR fortran/72714 ([Coarray] ICE in gfc_array_init_size, at fortran/trans-array...
Thomas Koenig [Wed, 6 Mar 2019 20:28:22 +0000 (20:28 +0000)] 
re PR fortran/72714 ([Coarray] ICE in gfc_array_init_size, at fortran/trans-array.c:5235)

2019-03-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/72714
Backport from trunk
* resolve.c (resolve_allocate_expr): Add some tests for coarrays.

2019-03-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/72714
Backport from trunk
* gfortran.dg/coarray_allocate_11.f90: New test.

From-SVN: r269441

6 years agoDaily bump.
GCC Administrator [Wed, 6 Mar 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269407

6 years agoDaily bump.
GCC Administrator [Tue, 5 Mar 2019 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269379

6 years agoDaily bump.
GCC Administrator [Mon, 4 Mar 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269358

6 years agobackport: re PR fortran/77583 (ICE in pp_quoted_string, at pretty-print.c:966)
Harald Anlauf [Sun, 3 Mar 2019 20:36:12 +0000 (20:36 +0000)] 
backport: re PR fortran/77583 (ICE in pp_quoted_string, at pretty-print.c:966)

2019-03-03  Harald Anlauf  <anlauf@gmx.de>
    Steven G. Kargl  <kargl@gcc.gnu.org>

Backport from trunk
PR fortran/77583
* symbol.c (check_conflict): Check for valid procedure name
passed to error reporting routine.

PR fortran/77583
* gfortran.dg/pr77583.f90: New test.

Co-Authored-By: Steven G. Kargl <kargl@gcc.gnu.org>
From-SVN: r269355

6 years agore PR fortran/87689 (PowerPC64 ELFv2 function parameter passing violation)
Thomas Koenig [Sun, 3 Mar 2019 09:20:09 +0000 (09:20 +0000)] 
re PR fortran/87689 (PowerPC64 ELFv2 function parameter passing violation)

2019-03-03  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/87689
    Backport from trunk
    * trans-decl.c (gfc_get_extern_function_decl): Add argument
    actual_args and pass it through to gfc_get_function_type.
    * trans-expr.c (conv_function_val): Add argument actual_args
    and pass it on to gfc_get_extern_function_decl.
    (conv_procedure_call): Pass actual arguments to conv_function_val.
    * trans-types.c (get_formal_from_actual_arglist): New function.
    (gfc_get_function_type): Add argument actual_args.  Generate
    formal args from actual args if necessary.
    * trans-types.h (gfc_get_function_type): Add optional argument.
    * trans.h (gfc_get_extern_function_decl): Add optional argument.

2019-03-03  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/87689
    Backport from trunk
    * gfortran.dg/lto/20091028-1_0.f90: Add -Wno-lto-type-mismatch to
    options.
    * gfortran.dg/lto/20091028-2_0.f90: Likewise.
    * gfortran.dg/lto/pr87689_0.f: New file.
    * gfortran.dg/lto/pr87689_1.f: New file.
    * gfortran.dg/altreturn_9_0.f90: New file.
    * gfortran.dg/altreturn_9_1.f90: New file.

From-SVN: r269350

6 years agoDaily bump.
GCC Administrator [Sun, 3 Mar 2019 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269345

6 years agoDaily bump.
GCC Administrator [Sat, 2 Mar 2019 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269334

6 years agoDaily bump.
GCC Administrator [Fri, 1 Mar 2019 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269295

6 years agoDaily bump.
GCC Administrator [Thu, 28 Feb 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r269268

6 years agore PR target/89397 (ICE in build_call_expr_loc_array at gcc/tree.c:11563 since r229082)
Uros Bizjak [Wed, 27 Feb 2019 19:33:15 +0000 (20:33 +0100)] 
re PR target/89397 (ICE in build_call_expr_loc_array at gcc/tree.c:11563 since r229082)

PR target/89397
* config/i386/i386.c (ix86_atomic_assign_expand_fenv): Check
TARGET_SSE in addition to TARGET_SSE_MATH.

(ix86_excess_precision): Ditto.
(ix86_float_exceptions_rounding_supported_p): Ditto.
(use_rsqrt_p): Ditto.
* config/i386/sse.md (rsqrt<mode>2): Ditto.

From-SVN: r269263