This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/80645] New: [8 regression] FAIL: gfortran.dg/elemental_subroutine_3.f90 -O1 (test for excess errors)
- From: "schwab at linux-m68k dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 05 May 2017 19:52:07 +0000
- Subject: [Bug fortran/80645] New: [8 regression] FAIL: gfortran.dg/elemental_subroutine_3.f90 -O1 (test for excess errors)
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80645
Bug ID: 80645
Summary: [8 regression] FAIL:
gfortran.dg/elemental_subroutine_3.f90 -O1 (test
for excess errors)
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: schwab@linux-m68k.org
Target Milestone: ---
Target: m68k-*-*
$ gcc/gfortran -Bgcc/ ../gcc/testsuite/gfortran.dg/elemental_subroutine_3.f90
-O -S
../gcc/testsuite/gfortran.dg/elemental_subroutine_3.f90:37:0:
x(4:1:-1) = x((/1,3,2,4/))
Warning: ‘__builtin_memcpy’ reading 16 bytes from a region of size 12
[-Wstringop-overflow=]
From the original dump:
parm.11.dtype = 297;
parm.11.dim[0].lbound = 0;
parm.11.dim[0].ubound = 3;
parm.11.dim[0].stride = -1;
parm.11.data = (void *) &x[3];
parm.11.offset = 0;
....
D.958 = (void * restrict) __builtin_malloc (16);
data.13 = (struct mytype *) D.958;
(void) __builtin_memcpy ((void *) data.13, parm.11.data, 16);