public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/86013] std::vector::shrink_to_fit() could sometimes use realloc()
[not found] <bug-86013-4@http.gcc.gnu.org/bugzilla/>
@ 2018-06-01 9:03 ` glisse at gcc dot gnu.org
0 siblings, 0 replies; only message in thread
From: glisse at gcc dot gnu.org @ 2018-06-01 9:03 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 1228898 bytes --]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86013
--- Comment #5 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Jan Kratochvil from comment #0)
> Maybe it could even always call realloc() for size reduction of any type of
> objects and just assert the returned pointer did not change.
I can't find anywhere a guarantee that realloc doesn't move stuff when the new
size is smaller than the old.
(In reply to Richard Biener from comment #3)
> I wonder if technically shrink_to_fit() is allowed to elide the shrinking?
> And yes, I'm equally shocked about the need to copy!
What would be the point of shrink_to_fit() otherwise? It was created as a nicer
alternative for people who were copying to a new temporary vector and swapping
them.
>From gcc-bugs-return-606228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 09:47:43 2018
Return-Path: <gcc-bugs-return-606228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54501 invoked by alias); 1 Jun 2018 09:47:43 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 53465 invoked by uid 48); 1 Jun 2018 09:46:04 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86021] ICE when initializing a character array
Date: Fri, 01 Jun 2018 09:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-86021-4-nh8je6Nkmy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86021-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86021-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00023.txt.bz2
Content-length: 556
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86021
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
This PR (duplicate of pr61627) has been fixed at revisions r258347 for gcc
8.1.0, r258367 for 7.3.1, and r258368 for 6.4.1.
>From gcc-bugs-return-606229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 10:09:06 2018
Return-Path: <gcc-bugs-return-606229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63030 invoked by alias); 1 Jun 2018 10:09:05 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 62353 invoked by uid 48); 1 Jun 2018 10:08:59 -0000
From: "karl.may0 at freenet dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86006] compile time error generic type bound procedure
Date: Fri, 01 Jun 2018 10:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: karl.may0 at freenet dot de
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86006-4-KA19bX4k6d@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86006-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86006-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00024.txt.bz2
Content-length: 692
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86006
--- Comment #2 from Karl May <karl.may0 at freenet dot de> ---
Hi.
Thank for the response
It compiles with
ifort -c -stand f08 tmp.f90
ifort -c -stand f15 tmp.f90
ifort -c -stand f03 tmp.f90
ifort version was 17.07
>From my understanding the compiler translates the generic call at compile time
into calls for the functions bound to the generic call. If this is the case,
and given the fact that the compiler distinguishes explicitly between dummy
arguments of type "integer" and of type "unlimited polymorphic pointer", there
should be no ambiguity.
I'll trigger a discussion at the intel ifort forum and let you know.
Cheers
>From gcc-bugs-return-606230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 10:20:39 2018
Return-Path: <gcc-bugs-return-606230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48929 invoked by alias); 1 Jun 2018 10:20:39 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 43004 invoked by uid 48); 1 Jun 2018 10:20:34 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86006] compile time error generic type bound procedure
Date: Fri, 01 Jun 2018 10:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86006-4-bUuXYw69HN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86006-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86006-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00025.txt.bz2
Content-length: 893
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86006
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> From my understanding the compiler translates the generic call
> at compile time into calls for the functions bound to the generic call.
> If this is the case, and given the fact that the compiler distinguishes
> explicitly between dummy arguments of type "integer" and of type
> "unlimited polymorphic pointer", there should be no ambiguity.
AFAICT looking at examples, intrinsics types and kinds are part
of unlimited polymorphic. I had a quick look at the standard and saw some
restrictions for allocatable and pointer, but nothing saying that they
can be used to resolve ambiguities.
> I'll trigger a discussion at the intel ifort forum and let you know.
Could you please give a pointer to the thread?
You could also do it on comp.lang.fortran.
>From gcc-bugs-return-606231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 10:49:59 2018
Return-Path: <gcc-bugs-return-606231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117153 invoked by alias); 1 Jun 2018 10:49:59 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 116376 invoked by uid 48); 1 Jun 2018 10:49:43 -0000
From: "karl.may0 at freenet dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86006] compile time error generic type bound procedure
Date: Fri, 01 Jun 2018 10:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: karl.may0 at freenet dot de
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86006-4-VbkAApBuiI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86006-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86006-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00026.txt.bz2
Content-length: 250
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86006
--- Comment #4 from Karl May <karl.may0 at freenet dot de> ---
Hi. Thanks.
here is the link:
https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/779807
>From gcc-bugs-return-606232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 10:50:45 2018
Return-Path: <gcc-bugs-return-606232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119784 invoked by alias); 1 Jun 2018 10:50:45 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 119635 invoked by uid 55); 1 Jun 2018 10:50:33 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86017] multiple consecutive calls to bzero/memset not merged
Date: Fri, 01 Jun 2018 10:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86017-4-o9o8kcnRpK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86017-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86017-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00027.txt.bz2
Content-length: 650
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86017
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Jun 1 10:49:54 2018
New Revision: 261061
URL: https://gcc.gnu.org/viewcvs?rev=261061&root=gcc&view=rev
Log:
2018-06-01 Richard Biener <rguenther@suse.de>
PR middle-end/86017
* gimple-fold.c (var_decl_component_p): Also allow offsetted
vars wrapped in MEM_REFs.
* gcc.dg/tree-ssa/pr86017.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/tree-ssa/pr86017.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple-fold.c
trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-606233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 10:51:18 2018
Return-Path: <gcc-bugs-return-606233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120812 invoked by alias); 1 Jun 2018 10:51:18 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 120738 invoked by uid 48); 1 Jun 2018 10:51:14 -0000
From: "b7.10110111 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/86022] New: TCB size calculated in ThreadDescriptorSize() is wrong for glibc-2.14
Date: Fri, 01 Jun 2018 10:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: sanitizer
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: b7.10110111 at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-86022-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00028.txt.bz2
Content-length: 1405
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86022
Bug ID: 86022
Summary: TCB size calculated in ThreadDescriptorSize() is wrong
for glibc-2.14
Product: gcc
Version: 8.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: b7.10110111 at gmail dot com
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org
Target Milestone: ---
In ThreadDescriptorSize(), I currently see:
else if (minor <= 13)
val = FIRST_32_SECOND_64(1168, 2304);
else
val = FIRST_32_SECOND_64(1216, 2304);
This leads to assertion failure on glibc-2.14, with the same message as in bug
60038. Actual values for glibc 2.14 are the same as for 2.13: 1168 for i386 and
2304 for x86_64.
I checked this by appending the following to glibc-2.14.1/nptl/descr.h:
typedef int TCB_SIZE_2304[sizeof(struct pthread)==2304 ? -1 : 1];
typedef int TCB_SIZE_1168[sizeof(struct pthread)==1168 ? -1 : 1];
and getting corresponding error when compiling glibc on a 32-bit and on a
64-bit x86 Kubuntu machines.
I suppose the fix should be to change "minor <= 13" to "minor <= 14".
>From gcc-bugs-return-606234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 10:53:09 2018
Return-Path: <gcc-bugs-return-606234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123642 invoked by alias); 1 Jun 2018 10:53:09 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 123580 invoked by uid 48); 1 Jun 2018 10:53:04 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86017] multiple consecutive calls to bzero/memset not merged
Date: Fri, 01 Jun 2018 10:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-86017-4-bG16jHwRI5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86017-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86017-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00029.txt.bz2
Content-length: 1488
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86017
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
CC| |jakub at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
Assignee|rguenth at gcc dot gnu.org |unassigned at gcc dot gnu.org
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
The testcase is now fixed. We're still not merging adjacent memset/bzero
calls.\
Modified testcase:
void f (void*);
void h (void)
{
char a[8];
__builtin_memset (a, 0, 1);
__builtin_memset (a + 1, 0, 3);
__builtin_memset (a + 4, 0, 4);
f (a);
}
results in
;; Function h (h, funcdef_no=1, decl_uid=1962, cgraph_uid=1, symbol_order=1)
h ()
{
char a[8];
<bb 2> [local count: 1073741825]:
MEM[(void *)&a] = 0;
__builtin_memset (&MEM[(void *)&a + 1B], 0, 3);
__builtin_memset (&MEM[(void *)&a + 4B], 0, 4);
f (&a);
a ={v} {CLOBBER};
return;
}
note we have to deal with merging with stores as well. Given the
original testcase was ultimatively solved by making only stores
available to store-merging the obvious thing to do is to teach
store-merging about memset()/bzero() and consider memset() for
code-generation as well(?).
No longer mine.
>From gcc-bugs-return-606235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 11:10:46 2018
Return-Path: <gcc-bugs-return-606235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43348 invoked by alias); 1 Jun 2018 11:10:45 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 43035 invoked by uid 48); 1 Jun 2018 11:10:40 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86023] New: Fake triviality test for internal purposes
Date: Fri, 01 Jun 2018 11:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: glisse at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86023-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00030.txt.bz2
Content-length: 1785
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86023
Bug ID: 86023
Summary: Fake triviality test for internal purposes
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: enhancement
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: glisse at gcc dot gnu.org
Target Milestone: ---
While we cannot make std::pair or std::tuple trivial for now for ABI reasons,
it should still be safe to use memcpy-type optimizations for them when it is
safe for each member. We probably don't want to lie to the user in is_trivial
or is_trivially_copyable (?), but we could at least introduce an internal
version of those traits, specialized for a few types like pair/tuple, and use
them so _GLIBCXX_MOVE_BACKWARD3 would use memmove on std::pair<int,int> for
instance.
According to some benchmark, this might (they weren't exactly testing this)
change the average performance of insert/erase in
boost::flat_map<,,std::vector<>> by a factor of 2. Of course, it won't affect
the default flat_map, which uses boost's vector and traits, so it isn't a real
solution, just a small band-aid.
The exact traits to specialize depend on PR 68350.
#include <vector>
#include <utility>
#ifdef FAST
struct A {
int first,second;
A(int a,int b):first(a),second(b){}
A()=default;
};
#else
typedef std::pair<int,int> A;
#endif
typedef std::vector<A> V;
int main(int argc,char**){
V v;
for(int i=0;i<100000;++i){
v.insert(v.begin(),{i,i});
}
return v[argc].second;
}
At -O3, I get 3.41s for std::pair, 1.00s for the struct, and an intermediate
1.99s for the struct minus the default constructor.
>From gcc-bugs-return-606236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 11:27:07 2018
Return-Path: <gcc-bugs-return-606236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43077 invoked by alias); 1 Jun 2018 11:27:06 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 43027 invoked by uid 48); 1 Jun 2018 11:27:02 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86024] New: Missed memcpy loop distribution with elementwise copy
Date: Fri, 01 Jun 2018 11:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: glisse at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86024-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00031.txt.bz2
Content-length: 801
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86024
Bug ID: 86024
Summary: Missed memcpy loop distribution with elementwise copy
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: glisse at gcc dot gnu.org
Target Milestone: ---
typedef struct A { int a, b; } A;
void*f(A*restrict p){
A*q=__builtin_malloc(1024*sizeof(A));
for(int i=0;i<1024;++i){
#ifdef HELP
q[i]=p[i];
#else
q[i].a=p[i].a;
q[i].b=p[i].b;
#endif
}
return q;
}
At -O3, with HELP, we get the expected memcpy. Without it, the loop is only
vectorized.
>From gcc-bugs-return-606237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 11:47:17 2018
Return-Path: <gcc-bugs-return-606237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111244 invoked by alias); 1 Jun 2018 11:47:16 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 111190 invoked by uid 48); 1 Jun 2018 11:47:12 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86024] Missed memcpy loop distribution with elementwise copy
Date: Fri, 01 Jun 2018 11:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-86024-4-1xshm1Jxua@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86024-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86024-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00032.txt.bz2
Content-length: 1016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86024
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-01
CC| |amker at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. loop distribution only handles stride 1 accesses and single
loads/stores for the pattern recognition.
With my ongoing work on vectorizer refactoring it might be possible to
re-use its DR group analysis and thus work on DR groups here.
Or we may want to teach this pattern to the vectorizer itself (eh...).
Or we may want to un-"SRA" such patterns, generating aggregate copies.
>From gcc-bugs-return-606238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 11:55:55 2018
Return-Path: <gcc-bugs-return-606238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120810 invoked by alias); 1 Jun 2018 11:55:55 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 117629 invoked by uid 48); 1 Jun 2018 11:55:50 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86006] compile time error generic type bound procedure
Date: Fri, 01 Jun 2018 11:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86006-4-q3FkWgglRn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86006-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86006-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00033.txt.bz2
Content-length: 944
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86006
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
BTW do you expect the ambiguity to be resolved in the following test?
Module Mod_LL_DT
Implicit None
Private
Type, Public :: LLCont_DT
contains
Generic :: GetElement => GetElementByType,GetElementByPosition
Procedure, PAss :: GetElementByType => SubGetElementByType
Procedure, PAss :: GetElementByPosition => SubGetElementByPosition
End type LLCont_DT
contains
Subroutine SubGetElementByType(this,TSOut)
Implicit None
Class(LLCont_DT), Intent(InOut) :: this
! Class(LLCont_DT), Intent(Out), Pointer :: TSOut
integer(8), Pointer :: TSOut
End Subroutine SubGetElementByType
Subroutine SubGetElementByPosition(this,ISPos)
Implicit None
Class(LLCont_DT), Intent(InOut) :: this
Integer(8) :: ISPos
End Subroutine SubGetElementByPosition
End Module Mod_LL_DT
>From gcc-bugs-return-606239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 12:02:30 2018
Return-Path: <gcc-bugs-return-606239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18098 invoked by alias); 1 Jun 2018 12:02:29 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 17191 invoked by uid 48); 1 Jun 2018 12:02:21 -0000
From: "zed.three at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86025] New: ICE with -Wduplicated-branches and OpenMP critical
Date: Fri, 01 Jun 2018 12:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.0.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: zed.three at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-86025-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00034.txt.bz2
Content-length: 4250
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86025
Bug ID: 86025
Summary: ICE with -Wduplicated-branches and OpenMP critical
Product: gcc
Version: 8.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: zed.three at gmail dot com
Target Milestone: ---
Created attachment 44221
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44221&action=edit
Preprocessed output
Compiling the following MVCE with "-Wduplicated-branches -fopenmp" causes an
ICE.
I've checked with 7.3.1 and 8.0.1. It's very similar to 79672, but with a
different pragma.
Dropping "(foo)" makes the ICE go away.
#include <omp.h>
void foo() {
if (false) {
#pragma omp parallel
#pragma omp critical (foo)
if (false) {
}
}
}
Output:
Using built-in specs.
COLLECT_GCC=g++-8
OFFLOAD_TARGET_NAMES=hsa:nvptx-none
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,ada,go
--enable-offload-targets=hsa,nvptx-none=/usr/nvptx-none, --without-cuda-driver
--enable-checking=release --disable-werror
--with-gxx-include-dir=/usr/include/c++/8 --enable-ssp --disable-libssp
--disable-libvtv --disable-cet --disable-libcc1 --enable-plugin
--with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux'
--with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --with-gcc-major-version-only
--enable-linker-build-id --enable-linux-futex --enable-gnu-indirect-function
--program-suffix=-8 --without-system-libunwind --enable-multilib
--with-arch-32=x86-64 --with-tune=generic --build=x86_64-suse-linux
--host=x86_64-suse-linux
Thread model: posix
gcc version 8.0.1 20180425 (prerelease) [gcc-8-branch revision 259638] (SUSE
Linux)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-c' '-Wduplicated-branches' '-fopenmp'
'-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
/usr/lib64/gcc/x86_64-suse-linux/8/cc1plus -E -quiet -v -D_GNU_SOURCE
-D_REENTRANT gcc_crash.cxx -mtune=generic -march=x86-64 -Wduplicated-branches
-fopenmp -fpch-preprocess -o gcc_crash.ii
#include "..." search starts here:
#include <...> search starts here:
/usr/include/c++/8
/usr/include/c++/8/x86_64-suse-linux
/usr/include/c++/8/backward
/usr/lib64/gcc/x86_64-suse-linux/8/include
/usr/local/include
/usr/lib64/gcc/x86_64-suse-linux/8/include-fixed
/usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/include
/usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-c' '-Wduplicated-branches' '-fopenmp'
'-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
/usr/lib64/gcc/x86_64-suse-linux/8/cc1plus -fpreprocessed gcc_crash.ii -quiet
-dumpbase gcc_crash.cxx -mtune=generic -march=x86-64 -auxbase gcc_crash
-Wduplicated-branches -version -fopenmp -o gcc_crash.s
GNU C++14 (SUSE Linux) version 8.0.1 20180425 (prerelease) [gcc-8-branch
revision 259638] (x86_64-suse-linux)
compiled by GNU C version 8.0.1 20180425 (prerelease) [gcc-8-branch
revision 259638], GMP version 6.1.2, MPFR version 4.0.1-p6, MPC version 1.1.0,
isl version isl-0.19-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++14 (SUSE Linux) version 8.0.1 20180425 (prerelease) [gcc-8-branch
revision 259638] (x86_64-suse-linux)
compiled by GNU C version 8.0.1 20180425 (prerelease) [gcc-8-branch
revision 259638], GMP version 6.1.2, MPFR version 4.0.1-p6, MPC version 1.1.0,
isl version isl-0.19-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: ca1e18c23ccd29ea8279af847a2b27d0
gcc_crash.cxx: In function âvoid foo()â:
gcc_crash.cxx:10:1: internal compiler error: in add_expr, at tree.c:7417
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.
>From gcc-bugs-return-606240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 12:03:57 2018
Return-Path: <gcc-bugs-return-606240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19590 invoked by alias); 1 Jun 2018 12:03:57 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 19514 invoked by uid 48); 1 Jun 2018 12:03:52 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/86016] New tests for r260978 report excess errors
Date: Fri, 01 Jun 2018 12:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-86016-4-0sgtSby7PX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86016-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86016-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00035.txt.bz2
Content-length: 494
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86016
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-01
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed.
>From gcc-bugs-return-606241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 12:34:16 2018
Return-Path: <gcc-bugs-return-606241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28444 invoked by alias); 1 Jun 2018 12:34:16 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 28411 invoked by uid 48); 1 Jun 2018 12:34:12 -0000
From: "pascal_cuoq at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86026] New: Document and/or change allowed operations on integer representation of pointers
Date: Fri, 01 Jun 2018 12:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pascal_cuoq at hotmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86026-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00036.txt.bz2
Content-length: 2881
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86026
Bug ID: 86026
Summary: Document and/or change allowed operations on integer
representation of pointers
Product: gcc
Version: 8.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: pascal_cuoq at hotmail dot com
Target Milestone: ---
This report is about GCC's handling of low-level pointer tricks such as the XOR
linked list [1]. Uses of this sort of trick are present in legacy C code and in
newly written code that push the boundaries of what is possible. If users of
GCC are going to apply GCC to this sort of code, they need to know what is
allowed. This relates to the discussion about pointer provenance, for which
Kayvan Memarian and Peter Sewell wrote a discussion draft in 2016 [3].
Consider the three functions below:
char f_ptradd(ptrdiff_t o) {
g = 1;
*(t + o) = 2;
return g;
}
char f_intadd(ptrdiff_t o) {
g = 1;
*(char*)((uintptr_t)t + o) = 2;
return g;
}
char f_intxor(ptrdiff_t o) {
g = 1;
*(char*)((uintptr_t)t ^ o) = 2;
return g;
}
GCC 8.1 produces the following assembly for these functions [2]:
f_ptradd:
movb $1, g(%rip)
movl $1, %eax
movb $2, t(%rdi)
ret
f_intadd:
movb $1, g(%rip)
movl $1, %eax
movb $2, t(%rdi)
ret
f_intxor:
xorq $t, %rdi
movb $1, g(%rip)
movb $2, (%rdi)
movzbl g(%rip), %eax
ret
The third function does exactly what a XOR linked list implementation does.
Sufficiently smart inlining and constant propagation would turn a generic
implementation into f_intxor.
GCC 8.1 and earlier versions compile the first two functions f_ptradd and
f_intadd as if they could never be invoked as in the following main:
int main(void) {
f_ptradd((uintptr_t) &g - (uintptr_t) t);
f_intadd((uintptr_t) &g - (uintptr_t) t);
f_intxor((uintptr_t) &g ^ (uintptr_t) t);
}
This is fair in the case of f_ptradd, which invokes undefined behavior at ât +
oâ. However, I would have expected f_intadd to be compiled conservatively,
because it is possible to pass a value o that, added to the integer
representation of (char*)t, produces the integer representation of g.
Of course, it is for the GCC developers to decide exactly what is allowed and
what isn't after a pointer is converted to an integer. But without an explicit
explanation in GCC's documentation of what makes f_intadd and f_intxor
different, we have to assume that the latter is no more supported than the
former, and that programs that use XOR linked lists or similar data structures
cannot be compiled by GCC.
[1] https://en.wikipedia.org/wiki/XOR_linked_list
[2] https://godbolt.org/g/DYCpjS
[3] http://www.cl.cam.ac.uk/~pes20/cerberus/n2090.html
>From gcc-bugs-return-606242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 12:50:22 2018
Return-Path: <gcc-bugs-return-606242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32228 invoked by alias); 1 Jun 2018 12:50:22 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 32118 invoked by uid 55); 1 Jun 2018 12:50:16 -0000
From: "rsandifo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/85989] [6/7/8/9 Regression] Incorrect result for example involving unary minus in a loop
Date: Fri, 01 Jun 2018 12:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 6.3.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rsandifo at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85989-4-cJoFjAmjLu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85989-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85989-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00037.txt.bz2
Content-length: 2059
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85989
--- Comment #4 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
Author: rsandifo
Date: Fri Jun 1 12:49:44 2018
New Revision: 261064
URL: https://gcc.gnu.org/viewcvs?rev=261064&root=gcc&view=rev
Log:
Fix phi backedge detection in backprop (PR85989)
This PR is a nasty wrong code bug due to my fluffing a test for a
backedge in gimple-ssa-backprop.c. Backedges are supposed to be
from definitions in the statement we're visiting to uses in statements
that we haven't visited yet. However, the check failed to account for
PHIs in the current block that had already been processed, so if two
PHIs in the same block referenced each other, we'd treat both
references as backedges.
In more detail:
The first phase of the pass goes through all statements in an arbitrary
order, making optimistic assumptions about any statements that haven't
been visited yet. The second phase then calculates a correct
(supposedly maximal) fixed point.
Although the first phase order is arbitrary in principle, we still use
the CFG rpo to cut down on the backedges. This means that the only
thing that's truly arbitrary is the order that we process the PHIs
in a block. Any order should be OK and should eventually give the
same results. But we have to follow whatever order we pick,
and the pass wasn't doing that.
2018-06-01 Richard Sandiford <richard.sandiford@linaro.org>
gcc/
PR tree-optimization/85989
* gimple-ssa-backprop.c (backprop::m_visited_phis): New member
variable.
(backprop::intersect_uses): Check it when deciding whether this
is a backedge reference.
(backprop::process_block): Add each phi to m_visited_phis
after visiting it, then clear it at the end.
gcc/testsuite/
PR tree-optimization/85989
* gcc.dg/torture/pr85989.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr85989.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple-ssa-backprop.c
trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-606243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 12:51:56 2018
Return-Path: <gcc-bugs-return-606243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33765 invoked by alias); 1 Jun 2018 12:51:56 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 33721 invoked by uid 48); 1 Jun 2018 12:51:52 -0000
From: "rsandifo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/85989] [6/7/8 Regression] Incorrect result for example involving unary minus in a loop
Date: Fri, 01 Jun 2018 12:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 6.3.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rsandifo at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-85989-4-WPgcoUhs16@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85989-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85989-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00038.txt.bz2
Content-length: 712
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85989
rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[6/7/8/9 Regression] |[6/7/8 Regression]
|Incorrect result for |Incorrect result for
|example involving unary |example involving unary
|minus in a loop |minus in a loop
--- Comment #5 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
Committed to trunk so far. Will test and commit to the release branches over
the coming days.
>From gcc-bugs-return-606244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 12:54:52 2018
Return-Path: <gcc-bugs-return-606244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37567 invoked by alias); 1 Jun 2018 12:54:52 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 37355 invoked by uid 48); 1 Jun 2018 12:54:48 -0000
From: "gianni at scaramanga dot co.uk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/85960] -fipa-pta and ifunc are incompatible
Date: Fri, 01 Jun 2018 12:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 8.1.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gianni at scaramanga dot co.uk
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85960-4-RbK97Q7UqX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85960-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85960-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00039.txt.bz2
Content-length: 216
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85960
--- Comment #9 from Gianni Tedesco <gianni at scaramanga dot co.uk> ---
Sure, I can test it on real world cases over the weekend I think. Nice work
guys. Thanks.
>From gcc-bugs-return-606245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 12:55:44 2018
Return-Path: <gcc-bugs-return-606245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45614 invoked by alias); 1 Jun 2018 12:55:44 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 45372 invoked by uid 55); 1 Jun 2018 12:55:39 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85712] [8/9 Regression] ICE in all_phi_incrs_profitable_1 at gcc/gimple-ssa-strength-reduction.c:3479
Date: Fri, 01 Jun 2018 12:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: wschmidt at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85712-4-UKWpu67C88@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85712-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85712-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00040.txt.bz2
Content-length: 1486
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85712
--- Comment #8 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Author: wschmidt
Date: Fri Jun 1 12:55:06 2018
New Revision: 261065
URL: https://gcc.gnu.org/viewcvs?rev=261065&root=gcc&view=rev
Log:
2018-06-01 Bill Schmidt <wschmidt@linux.ibm.com>
PR tree-optimization/85712
Backport from mainline:
2018-05-23 Bill Schmidt <wschmidt@linux.ibm.com>
PR tree-optimization/85712
* gimple-ssa-strength-reduction.c (struct slsr_cand_d): Add
first_interp field.
(alloc_cand_and_find_basis): Initialize first_interp field.
(slsr_process_mul): Modify first_interp field.
(slsr_process_add): Likewise.
(slsr_process_cast): Modify first_interp field for each new
interpretation.
(slsr_process_copy): Likewise.
(dump_candidate): Dump first_interp field.
(replace_mult_candidate): Process all interpretations, not just
subsequent ones.
(replace_rhs_if_not_dup): Likewise.
(replace_one_candidate): Likewise.
Backport from mainline:
2018-05-25 Bill Schmidt <wschmidt@linux.ibm.com>
PR tree-optimization/85712
* gimple-ssa-strength-reduction.c (replace_one_candidate): Skip if
this candidate has already been replaced in-situ by a copy.
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/gimple-ssa-strength-reduction.c
>From gcc-bugs-return-606246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 12:57:53 2018
Return-Path: <gcc-bugs-return-606246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55672 invoked by alias); 1 Jun 2018 12:57:53 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 55586 invoked by uid 55); 1 Jun 2018 12:57:48 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85712] [8/9 Regression] ICE in all_phi_incrs_profitable_1 at gcc/gimple-ssa-strength-reduction.c:3479
Date: Fri, 01 Jun 2018 12:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: wschmidt at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85712-4-wd37fYBbHI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85712-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85712-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00041.txt.bz2
Content-length: 1486
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85712
--- Comment #9 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Author: wschmidt
Date: Fri Jun 1 12:57:16 2018
New Revision: 261066
URL: https://gcc.gnu.org/viewcvs?rev=261066&root=gcc&view=rev
Log:
2018-06-01 Bill Schmidt <wschmidt@linux.ibm.com>
PR tree-optimization/85712
Backport from mainline:
2018-05-23 Bill Schmidt <wschmidt@linux.ibm.com>
PR tree-optimization/85712
* gimple-ssa-strength-reduction.c (struct slsr_cand_d): Add
first_interp field.
(alloc_cand_and_find_basis): Initialize first_interp field.
(slsr_process_mul): Modify first_interp field.
(slsr_process_add): Likewise.
(slsr_process_cast): Modify first_interp field for each new
interpretation.
(slsr_process_copy): Likewise.
(dump_candidate): Dump first_interp field.
(replace_mult_candidate): Process all interpretations, not just
subsequent ones.
(replace_rhs_if_not_dup): Likewise.
(replace_one_candidate): Likewise.
Backport from mainline:
2018-05-25 Bill Schmidt <wschmidt@linux.ibm.com>
PR tree-optimization/85712
* gimple-ssa-strength-reduction.c (replace_one_candidate): Skip if
this candidate has already been replaced in-situ by a copy.
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/gimple-ssa-strength-reduction.c
>From gcc-bugs-return-606247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 13:01:50 2018
Return-Path: <gcc-bugs-return-606247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71333 invoked by alias); 1 Jun 2018 13:01:50 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 30060 invoked by uid 55); 1 Jun 2018 13:01:32 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85712] [8/9 Regression] ICE in all_phi_incrs_profitable_1 at gcc/gimple-ssa-strength-reduction.c:3479
Date: Fri, 01 Jun 2018 13:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: wschmidt at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85712-4-aG7iCGoyO0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85712-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85712-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00042.txt.bz2
Content-length: 1487
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85712
--- Comment #10 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Author: wschmidt
Date: Fri Jun 1 13:00:57 2018
New Revision: 261067
URL: https://gcc.gnu.org/viewcvs?rev=261067&root=gcc&view=rev
Log:
2018-06-01 Bill Schmidt <wschmidt@linux.ibm.com>
PR tree-optimization/85712
Backport from mainline:
2018-05-23 Bill Schmidt <wschmidt@linux.ibm.com>
PR tree-optimization/85712
* gimple-ssa-strength-reduction.c (struct slsr_cand_d): Add
first_interp field.
(alloc_cand_and_find_basis): Initialize first_interp field.
(slsr_process_mul): Modify first_interp field.
(slsr_process_add): Likewise.
(slsr_process_cast): Modify first_interp field for each new
interpretation.
(slsr_process_copy): Likewise.
(dump_candidate): Dump first_interp field.
(replace_mult_candidate): Process all interpretations, not just
subsequent ones.
(replace_rhs_if_not_dup): Likewise.
(replace_one_candidate): Likewise.
Backport from mainline:
2018-05-25 Bill Schmidt <wschmidt@linux.ibm.com>
PR tree-optimization/85712
* gimple-ssa-strength-reduction.c (replace_one_candidate): Skip if
this candidate has already been replaced in-situ by a copy.
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/gimple-ssa-strength-reduction.c
>From gcc-bugs-return-606249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 13:06:48 2018
Return-Path: <gcc-bugs-return-606249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20244 invoked by alias); 1 Jun 2018 13:06:47 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 13501 invoked by uid 48); 1 Jun 2018 13:06:42 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85712] [8/9 Regression] ICE in all_phi_incrs_profitable_1 at gcc/gimple-ssa-strength-reduction.c:3479
Date: Fri, 01 Jun 2018 13:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: wschmidt at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-85712-4-41pd92fZmZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85712-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85712-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00044.txt.bz2
Content-length: 443
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85712
Bill Schmidt <wschmidt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #11 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Now fixed everywhere.
>From gcc-bugs-return-606248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 13:06:33 2018
Return-Path: <gcc-bugs-return-606248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4930 invoked by alias); 1 Jun 2018 13:06:33 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 126175 invoked by uid 48); 1 Jun 2018 13:06:27 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86026] Document and/or change allowed operations on integer representation of pointers
Date: Fri, 01 Jun 2018 13:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amonakov at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-86026-4-SQq1havTHG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86026-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86026-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00043.txt.bz2
Content-length: 607
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86026
Alexander Monakov <amonakov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amonakov at gcc dot gnu.org
--- Comment #1 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Please add full testcase source, the snippet is missing (at least) declarations
of 'g' and 't'. The Godbolt link does not work correctly for me right now, and
in general such links are not reliable long-term.
>From gcc-bugs-return-606250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 13:28:18 2018
Return-Path: <gcc-bugs-return-606250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107904 invoked by alias); 1 Jun 2018 13:28:17 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 107774 invoked by uid 48); 1 Jun 2018 13:28:12 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85958] Make const qualifier error clear
Date: Fri, 01 Jun 2018 13:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jg at jguk dot org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85958-4-LCwHMFOwvz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85958-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85958-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00045.txt.bz2
Content-length: 1267
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85958
--- Comment #5 from Jonny Grant <jg at jguk dot org> ---
(In reply to Tavian Barnes from comment #4)
> IMHO "discards qualifiers" and even "discards const qualifier" are still
> confusing. Making it clearly counterfactual, as in "...would discard
> (const) qualifier(s)...," would be an improvement.
>
> But I'd further argue that "discarding qualifiers" is not really how most
> people think of this kind of error. When a minor tries to get into a bar,
> they are not told that "entering this bar discards your age," they are told
> that "minors aren't allowed." So I think "cannot bind 'const int' to
> non-const reference type 'int&'" would be more intuitive phrasing.
Hi Tavian
Yes, your proposal sounds good. Definitely clearer English would be very
helpful.
I personally feel "bind" is not a word any programming course teaches, we say
"passing parameters" or "passing arguments".
In addition, I feel we don't think we really need the word "reference"
Therefore, I suggest the following:
$ g++ -o main main.cpp -Wall -Werror -Wconversion
main.cpp: In function âint main()â:
main.cpp:11:25: error: cannot pass âconst intâ to non-const âint&â
>From gcc-bugs-return-606251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 13:30:43 2018
Return-Path: <gcc-bugs-return-606251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111644 invoked by alias); 1 Jun 2018 13:30:42 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 110906 invoked by uid 48); 1 Jun 2018 13:30:05 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85958] Make const qualifier error clear
Date: Fri, 01 Jun 2018 13:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jg at jguk dot org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85958-4-5VOL9hXn7L@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85958-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85958-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00046.txt.bz2
Content-length: 480
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85958
--- Comment #6 from Jonny Grant <jg at jguk dot org> ---
Clang shows:
$ clang -o main main.cpp -Wall -Werror -Wconversion
main.cpp:15:5: error: no matching function for call to 'strstripspace'
strstripspace(unused, two);
^~~~~~~~~~~~~
main.cpp:5:6: note: candidate function not viable: 1st argument ('const int')
would lose const qualifier
void strstripspace(int & value, int & two)
^
1 error generated.
>From gcc-bugs-return-606252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 13:58:32 2018
Return-Path: <gcc-bugs-return-606252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38191 invoked by alias); 1 Jun 2018 13:58:31 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 38140 invoked by uid 48); 1 Jun 2018 13:58:27 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86025] ICE with -Wduplicated-branches and OpenMP critical
Date: Fri, 01 Jun 2018 13:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.0.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed attachments.created
Message-ID: <bug-86025-4-QLGGVbm3j1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86025-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86025-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00047.txt.bz2
Content-length: 689
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86025
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2018-06-01
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 44222
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44222&action=edit
gcc9-pr86025.patch
Untested fix.
>From gcc-bugs-return-606253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 14:13:47 2018
Return-Path: <gcc-bugs-return-606253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87792 invoked by alias); 1 Jun 2018 14:13:47 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 87735 invoked by uid 48); 1 Jun 2018 14:13:43 -0000
From: "pascal_cuoq at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86026] Document and/or change allowed operations on integer representation of pointers
Date: Fri, 01 Jun 2018 14:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pascal_cuoq at hotmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-86026-4-XVNDy7O2RK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86026-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86026-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00048.txt.bz2
Content-length: 277
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86026
--- Comment #2 from Pascal Cuoq <pascal_cuoq at hotmail dot com> ---
Created attachment 44223
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44223&action=edit
Complete source code for functions in the description
>From gcc-bugs-return-606254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 14:49:23 2018
Return-Path: <gcc-bugs-return-606254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113321 invoked by alias); 1 Jun 2018 14:49:23 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 112825 invoked by uid 48); 1 Jun 2018 14:49:12 -0000
From: "law at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85964] [8/9 Regression] compile time hog w/ -O3 -ftracer -fno-guess-branch-probability
Date: Fri, 01 Jun 2018 14:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: compile-time-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: law at redhat dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-85964-4-ykLvTHejvf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85964-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85964-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00049.txt.bz2
Content-length: 623
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85964
Jeffrey A. Law <law at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |law at redhat dot com
--- Comment #13 from Jeffrey A. Law <law at redhat dot com> ---
Yea, I was planning to take them on. I actually have some code here that
totally revamps the backwards walk to avoid much of the duplicated work, but
it's not bootstrapping yet.
If that's the only issue left in this BZ, go ahead and assign it to me.
>From gcc-bugs-return-606255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 14:57:09 2018
Return-Path: <gcc-bugs-return-606255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17602 invoked by alias); 1 Jun 2018 14:57:08 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 14118 invoked by uid 48); 1 Jun 2018 14:57:02 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/78870] Support std::filesystem on Windows
Date: Fri, 01 Jun 2018 14:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-78870-4-5cDlUehfDK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00050.txt.bz2
Content-length: 681
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78870
Christophe Lyon <clyon at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clyon at gcc dot gnu.org
--- Comment #16 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Hi Jonathan,
After this patch, the aarch64_be-none-elf and aarch64-none-elf configurations
fail to configure libstdc++ because of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66203
configure:80055: checking for link
configure:80055: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
>From gcc-bugs-return-606256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 15:22:57 2018
Return-Path: <gcc-bugs-return-606256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109163 invoked by alias); 1 Jun 2018 15:22:57 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 109140 invoked by uid 48); 1 Jun 2018 15:22:53 -0000
From: "subscribe at teskor dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86027] New: string literals get corrupted with -O3 and gas on solaris i386
Date: Fri, 01 Jun 2018 15:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: subscribe at teskor dot de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-86027-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00051.txt.bz2
Content-length: 1662
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86027
Bug ID: 86027
Summary: string literals get corrupted with -O3 and gas on
solaris i386
Product: gcc
Version: 7.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: subscribe at teskor dot de
Target Milestone: ---
Created attachment 44224
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44224&action=edit
source reproducing the error
GCC is Configured with: ../configure --with-cpu-32=i386 --prefix=/opt/gcc-7.3.0
--with-gnu-as --with-as=/opt/csw/bin/gas --without-gnu-ld
--with-ld=/usr/ccs/bin/ld --with-gmp=/opt/csw --with-mpfr=/opt/csw
--with-mpc=/opt/csw ABI=32
Target is: i386-pc-solaris2.10
In this configuration, the output of the test program is corrupted. What should
be 12\n3 becomes some random 3 bytes (depending heavily on the code layout,
they changed everytime I deleted some unneeded functions from the code).
If using -O0, the problems goes away.
Only strings literals which are used more than once in the code get garbled.
(the "\n" and and "12", while the "3" stays correct).
Reconfiguring the compiler to use the native assembler in /usr/ccs/bin/as fixed
the problem, but unfortunately there the -pipe option ceases to work (but
that's a different issue).
It seems to, that when configured with --with-gnu-as on solaris, the attributes
of the section containing the strings are wrongly generated in the assembler
code, but that's just a guess.
>From gcc-bugs-return-606257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 15:44:06 2018
Return-Path: <gcc-bugs-return-606257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101336 invoked by alias); 1 Jun 2018 15:44:05 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 91490 invoked by uid 48); 1 Jun 2018 15:43:38 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86026] Document and/or change allowed operations on integer representation of pointers
Date: Fri, 01 Jun 2018 15:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amonakov at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86026-4-PZFYE3T8IK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86026-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86026-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00052.txt.bz2
Content-length: 681
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86026
--- Comment #3 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Tree optimizations already manage to avoid "optimizing" f_intadd, but
unfortunately on RTL types and casts are not visible in IR and various passes
make no distinction between (char*)((uintptr_t)t + o) and (t + o).
Perhaps GCC should consider lowering pointer-to-integer casts to a
non-transparent assignment, making the result alias all for the purposes of RTL
alias analysis, akin to
char __attribute__ ((noinline)) f_intadd1(ptrdiff_t o) {
g = 1;
uintptr_t t1 = (uintptr_t)t;
asm("" : "+g"(t1));
*(char*)(t1 + o) = 2;
return g;
}
>From gcc-bugs-return-606258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 15:57:40 2018
Return-Path: <gcc-bugs-return-606258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43618 invoked by alias); 1 Jun 2018 15:57:40 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 43531 invoked by uid 48); 1 Jun 2018 15:57:35 -0000
From: "foom at fuhm dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86005] [RISCV] Invalid intermixing of __atomic_* libcalls and inline atomic instruction sequences
Date: Fri, 01 Jun 2018 15:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: foom at fuhm dot net
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86005-4-81CjMxIMoz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86005-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86005-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00053.txt.bz2
Content-length: 1552
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86005
--- Comment #7 from James Y Knight <foom at fuhm dot net> ---
(In reply to Jim Wilson from comment #6)
> On Thu, 2018-05-31 at 15:07 +0000, foom at fuhm dot net wrote:
> > (But also, why doesn't it implement __atomic_add_fetch inline?)
>
> If you don't have atomic instructions, then we call an out-of-line
> function that uses locks.
Except as mentioned in the initial message, it doesn't emit calls for atomic
loads and stores too, but it needs to so that they also participate in the
locking.
> If you have atomic instructions, and it is a 32/64-bit operation, then
> we inline it.
>
> If you have atomic instructions, and it is a 8/16-bit operation, then
> we call a lock free out-of-line function that uses a sequence of
> instructions to implement it using 32/64-bit atomic instructions.
If you're building for rv32ia, yes, you certainly know that libatomic must
implement __atomic_fetch_add_1 lock-free. So, sure, you shouldn't have a
correctness issue by mixing the calls.
Yet even so, if you actually needed to emit a call to a known-lock-free
out-of-line function, it's better to give it a different name (e.g. __sync_*)
and include that in libgcc.a.
Emitting a call to the __atomic_* function means you require users to link
against libatomic.so, which shouldn't be required here.
> And
> as mentioned previously, I have an unfinished prototype patch to fix
> this by emitting the sequence of instructions inline.
But doing that is fine, too, and likely preferable.
>From gcc-bugs-return-606259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 16:16:48 2018
Return-Path: <gcc-bugs-return-606259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97986 invoked by alias); 1 Jun 2018 16:16:47 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 97882 invoked by uid 55); 1 Jun 2018 16:16:42 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/85995] GCC defines __STDC__ and __STDC_VERSION__ even when used with options that break C conformance
Date: Fri, 01 Jun 2018 16:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85995-4-ZLgf1pRCTJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85995-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85995-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00054.txt.bz2
Content-length: 393
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85995
--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
See trouble.texi, "Non-bugs" / "Certain Changes We Don't Want to Make",
"Undefining @code{__STDC__} when @option{-ansi} is not used." (and the
description of handling of base standards in invoke.texi). This is as
documented since GCC 2.0.
>From gcc-bugs-return-606260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 16:19:22 2018
Return-Path: <gcc-bugs-return-606260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100565 invoked by alias); 1 Jun 2018 16:19:22 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 100529 invoked by uid 48); 1 Jun 2018 16:19:16 -0000
From: "zackw at panix dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/86028] New: Dead stores created by va_start/va_arg are not fully cleaned up
Date: Fri, 01 Jun 2018 16:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: zackw at panix dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86028-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00055.txt.bz2
Content-length: 2625
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86028
Bug ID: 86028
Summary: Dead stores created by va_start/va_arg are not fully
cleaned up
Product: gcc
Version: 8.1.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: zackw at panix dot com
Target Milestone: ---
On any ABI where arguments to a variadic function are passed in the same places
that they would be if they were arguments to a non-variadic function, it should
be possible to optimize 'foo_wrapper' in the following test program all the way
down to a tail-call to 'foo' and nothing else:
#include <stdarg.h>
extern int a;
extern int b;
extern void *c;
int __attribute__((noinline))
foo(int x, int y, void *z)
{
a = x;
b = y;
c = z;
return 0;
}
int
foo_wrapper(int x, int y, ...)
{
va_list ap;
void *z;
va_start(ap, y);
z = va_arg(ap, void *);
va_end(ap);
return foo(x, y, z);
}
('foo' is included in this test program so that one can easily verify that no
argument shuffling is needed.)
gcc-8.1 targeting x86-64-linux, x86-32-linux, or aarch64-linux (all of which
meet the above ABI requirement) does not manage to do this. It actually does
the best job for x86-32, where everything is on the stack:
foo_wrapper:
pushl 12(%esp)
pushl 12(%esp)
pushl 12(%esp)
call foo
addl $12, %esp
ret
This is literally duplicating 'foo_wrapper's incoming arguments into a new
frame in order to call 'foo'. The instructions are unnecessary, but they are
not dead in the formal sense. Perhaps the issue here is just that variadic
functions aren't being considered for sibcall optimization?
For the targets where arguments are passed in registers, the code generation is
worse, e.g. aarch64:
foo_wrapper:
stp x29, x30, [sp, -64]!
add x3, sp, 48
add x4, sp, 64
mov x29, sp
stp x4, x4, [sp, 16]
str x3, [sp, 32]
stp wzr, wzr, [sp, 40]
str x2, [sp, 56]
bl foo
ldp x29, x30, [sp], 64
ret
The actual arguments to foo_wrapper are in x0, x1, and x2, and that's also
where foo wants them, and they aren't touched at all. All of the computation
done here is dead.
(I noticed this while messing around with glibc's syscall wrappers, which
really do things like this. 'foo_wrapper' has the type signature of 'fcntl',
for instance.)
>From gcc-bugs-return-606261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 16:22:54 2018
Return-Path: <gcc-bugs-return-606261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114100 invoked by alias); 1 Jun 2018 16:22:54 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 114078 invoked by uid 55); 1 Jun 2018 16:22:50 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/85997] Bogus -Wvla warning from function array argument with size expression
Date: Fri, 01 Jun 2018 16:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 5.4.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85997-4-1myaOxy2zk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85997-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85997-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00056.txt.bz2
Content-length: 503
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85997
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Well, that's a VLA before the decay to pointer type, and thus violates the
C90 constraint referenced in the diagnostic. So a diagnostic is obviously
required with -std=c90 -pedantic or -Wc90-c99-compat, even if there are
certain other uses of -Wvla for which you only want warnings about e.g.
code that actually allocates memory for a VLA.
>From gcc-bugs-return-606262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 16:31:09 2018
Return-Path: <gcc-bugs-return-606262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126948 invoked by alias); 1 Jun 2018 16:31:04 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 126476 invoked by uid 48); 1 Jun 2018 16:30:38 -0000
From: "hg2ecz at ham dot hu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86029] New: gcc -O3 make very slow product
Date: Fri, 01 Jun 2018 16:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hg2ecz at ham dot hu
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86029-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00057.txt.bz2
Content-length: 1241
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86029
Bug ID: 86029
Summary: gcc -O3 make very slow product
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: hg2ecz at ham dot hu
Target Milestone: ---
I tested a signal processing sample code, and the gcc -O3 give me very slow
binary. It's a compiler error or it is good?
My CPU is i5-3337u, and I use Ubuntu-18.04 64bit OS.
gcc 7.3 and clang 6.0 and I compared with speed of Rust code (rustc 1.24.1)
My sample code and test script:
$ git clone https://github.com/hg2ecz/smallrx
$ cd smallrx/
$ ./gcc-clang-rustc-bench.sh
gcc -Ofast -march=native rx.c -lm -o rx-gcc-Ofast
real 3.81
user 3.80
sys 0.01
clang -Ofast -march=native rx.c -lm -o rx-clang-Ofast
real 6.79
user 6.77
sys 0.02
gcc -O3 -march=native rx.c -lm -o rx-gcc-O3
real 51.76 ----> very slow, clang make faster binary with [-O0, -O1, -O2,
-O3]
user 51.69
sys 0.07
clang -O3 -march=native rx.c -lm -o rx-clang-O3
real 11.05
user 11.03
sys 0.01
./Rust/target/release/smallrx
real 8.26
user 8.22
sys 0.03
>From gcc-bugs-return-606263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 16:39:27 2018
Return-Path: <gcc-bugs-return-606263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59697 invoked by alias); 1 Jun 2018 16:39:27 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 59108 invoked by uid 48); 1 Jun 2018 16:39:22 -0000
From: "joshua.r.marshall.1991 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86015] Better handling of iterator distances
Date: Fri, 01 Jun 2018 16:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: joshua.r.marshall.1991 at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86015-4-jCMYGF3clW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00058.txt.bz2
Content-length: 436
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86015
--- Comment #4 from Josh Marshall <joshua.r.marshall.1991 at gmail dot com> ---
These changes may make the stdlib implementation more robust, but there may be
an argument to stick to the more strict standard or tweak the standard. Could
you link to the standard doc you're pulling from? I'm not expert enough to
really figure if this report should be marked invalid or not.
>From gcc-bugs-return-606264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 17:04:16 2018
Return-Path: <gcc-bugs-return-606264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24851 invoked by alias); 1 Jun 2018 17:04:16 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 24810 invoked by uid 48); 1 Jun 2018 17:04:10 -0000
From: "kari.nurmela at iki dot fi" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/85997] Bogus -Wvla warning from function array argument with size expression
Date: Fri, 01 Jun 2018 17:04:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 5.4.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kari.nurmela at iki dot fi
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85997-4-rb35e4BYJK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85997-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85997-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00059.txt.bz2
Content-length: 376
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85997
--- Comment #2 from Kari Nurmela <kari.nurmela at iki dot fi> ---
There is only one array in the program, "array", and that is not a variable
length array. The syntax in print_array doesn't take any position on the kind
of the array, only that there are at least "count" elements, at least that what
C99 seems to say?
>From gcc-bugs-return-606265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 17:05:44 2018
Return-Path: <gcc-bugs-return-606265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32391 invoked by alias); 1 Jun 2018 17:05:44 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 28071 invoked by uid 55); 1 Jun 2018 17:05:36 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/63570] [F2018] Implement 13.7.137 RANDOM INIT (REPEATABLE, IMAGE DISTINCT)
Date: Fri, 01 Jun 2018 17:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-63570-4-RfnbHd4zjO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63570-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63570-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00060.txt.bz2
Content-length: 2749
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63570
--- Comment #3 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Fri Jun 1 17:05:02 2018
New Revision: 261075
URL: https://gcc.gnu.org/viewcvs?rev=261075&root=gcc&view=rev
Log:
2018-06-01 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/63570
* check.c (gfc_check_random_init): New function. Check arguments of
RANDOM_INIT.
* gfortran.h (GFC_ISYM_RANDOM_INIT): New enum token.
* intrinsic.c (add_subroutines): Add RANDOM_INIT to list of
subroutines.
(gfc_check_intrinsic_standard): Introduce Fortran 2018 check.
* intrinsic.h: Add prototypes for gfc_check_random_init and
gfc_resolve_random_init
* intrinsic.texi: Document new intrinsic subprogram.
* iresolve.c (gfc_resolve_random_init): Resolve routine name.
* trans-decl.c: Declare gfor_fndecl_random_init
* trans-intrinsic.c (conv_intrinsic_random_init): New function.
Translate call to RANDOM_INIT.
(gfc_conv_intrinsic_subroutine): Call it.
* trans.h: Declare gfor_fndecl_random_init
2018-06-01 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/63570
* gfortran.dg/random_init_1.f90: New test.
* gfortran.dg/random_init_2.f90: New test.
* gfortran.dg/random_init_3.f90: New test.
* gfortran.dg/random_init_4.f90: New test.
* gfortran.dg/random_init_5.f90: New test.
* gfortran.dg/random_init_6.f90: New test.
2018-06-01 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/63570
* libgfortran/Makefile.am: Add random_init.f90 to build.
* libgfortran/Makefile.in: Regenerated.
* libgfortran/gfortran.map: Expose symbol for _gfortran_random_init.
* libgfortran/intrinsics/random_init.f90: Implementation.
Added:
trunk/gcc/testsuite/gfortran.dg/random_init_1.f90
trunk/gcc/testsuite/gfortran.dg/random_init_2.f90
trunk/gcc/testsuite/gfortran.dg/random_init_3.f90
trunk/gcc/testsuite/gfortran.dg/random_init_4.f90
trunk/gcc/testsuite/gfortran.dg/random_init_5.f90
trunk/gcc/testsuite/gfortran.dg/random_init_6.f90
trunk/libgfortran/intrinsics/random_init.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/check.c
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/intrinsic.c
trunk/gcc/fortran/intrinsic.h
trunk/gcc/fortran/intrinsic.texi
trunk/gcc/fortran/iresolve.c
trunk/gcc/fortran/trans-decl.c
trunk/gcc/fortran/trans-intrinsic.c
trunk/gcc/fortran/trans.h
trunk/gcc/testsuite/ChangeLog
trunk/libgfortran/ChangeLog
trunk/libgfortran/Makefile.am
trunk/libgfortran/Makefile.in
trunk/libgfortran/gfortran.map
>From gcc-bugs-return-606266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 17:09:15 2018
Return-Path: <gcc-bugs-return-606266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36744 invoked by alias); 1 Jun 2018 17:09:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 36686 invoked by uid 48); 1 Jun 2018 17:09:11 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/63570] [F2018] Implement 13.7.137 RANDOM INIT (REPEATABLE, IMAGE DISTINCT)
Date: Fri, 01 Jun 2018 17:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-63570-4-9tyaCGkUTf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63570-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63570-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00061.txt.bz2
Content-length: 471
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63570
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from kargl at gcc dot gnu.org ---
Committed to trunk. I have no intentions of back porting
the patch to older branches.
>From gcc-bugs-return-606267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 18:34:47 2018
Return-Path: <gcc-bugs-return-606267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74884 invoked by alias); 1 Jun 2018 18:34:47 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 74788 invoked by uid 55); 1 Jun 2018 18:34:43 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85840] Memory leak in write.c
Date: Fri, 01 Jun 2018 18:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 7.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85840-4-2r9xID3Q2y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85840-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85840-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00062.txt.bz2
Content-length: 640
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85840
--- Comment #16 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Fri Jun 1 18:34:09 2018
New Revision: 261077
URL: https://gcc.gnu.org/viewcvs?rev=261077&root=gcc&view=rev
Log:
2018-06-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
Backport from trunk.
PR libgfortran/85840
* io/write.c (write_float_0, write_real, write_real_g0,
write_complex): Use separate local variables for the float
string length.
Modified:
branches/gcc-7-branch/libgfortran/ChangeLog
branches/gcc-7-branch/libgfortran/io/write.c
>From gcc-bugs-return-606268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 18:35:31 2018
Return-Path: <gcc-bugs-return-606268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77173 invoked by alias); 1 Jun 2018 18:35:31 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 77127 invoked by uid 48); 1 Jun 2018 18:35:26 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85840] Memory leak in write.c
Date: Fri, 01 Jun 2018 18:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 7.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-85840-4-wfW0DmQfWs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85840-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85840-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00063.txt.bz2
Content-length: 434
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85840
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #17 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Closing.
>From gcc-bugs-return-606269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 19:31:33 2018
Return-Path: <gcc-bugs-return-606269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20952 invoked by alias); 1 Jun 2018 19:31:32 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 20881 invoked by uid 55); 1 Jun 2018 19:31:28 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/85997] Bogus -Wvla warning from function array argument with size expression
Date: Fri, 01 Jun 2018 19:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 5.4.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85997-4-UxtevyQSi8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85997-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85997-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00064.txt.bz2
Content-length: 782
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85997
--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
The requirements on array declarators apply before parameter arrays decay
to pointers; see DR#047 (which concerns the case of an incomplete element
type - not itself a constraint violation before C99 - but applies equally
to the constraint in C90 that the number of elements must be an integral
constant expression). As the DR response says: "As an aside, array
parameters are adjusted to pointer type (subclause 6.7.1, page 82, lines
23-24). However, there is nothing to suggest that a
not-strictly-conforming array type can magically be transformed into a
strictly conforming pointer parameter via this rule.".
>From gcc-bugs-return-606270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 20:21:15 2018
Return-Path: <gcc-bugs-return-606270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112902 invoked by alias); 1 Jun 2018 20:21:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 112717 invoked by uid 55); 1 Jun 2018 20:21:08 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85816] [8/9 Regression] nested spread fails with "Integer overflow in xmallocarray"
Date: Fri, 01 Jun 2018 20:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85816-4-bm7VdlbPKs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85816-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85816-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00065.txt.bz2
Content-length: 22952
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85816
--- Comment #2 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Fri Jun 1 20:20:35 2018
New Revision: 261081
URL: https://gcc.gnu.org/viewcvs?rev=261081&root=gcc&view=rev
Log:
2018-06-01 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85816
PR fortran/85975
* libgfortran.h: Remove the GFC_DTYPE_COPY_SETRANK macro.
* intrinsics/reshape_generic.c: Directly assign rank.
* intrinsics/spread_generic.c: Ditto.
* m4/iforeach-s.m4: Ditto.
* m4/iforeach.m4: Ditto.
* m4/ifunction-s.m4: Ditto.
* m4/ifunction-s2.m4: Ditto.
* m4/ifunction.m4: Ditto.
* m4/ifunction_logical.m4: Ditto.
* m4/reshape.m4: Ditto.
* m4/spread.m4: Ditto.
* generated/all_l1.c: Regenerated from m4 files.
* generated/all_l16.c: Ditto.
* generated/all_l2.c: Ditto.
* generated/all_l4.c: Ditto.
* generated/all_l8.c: Ditto.
* generated/any_l1.c: Ditto.
* generated/any_l16.c: Ditto.
* generated/any_l2.c: Ditto.
* generated/any_l4.c: Ditto.
* generated/any_l8.c: Ditto.
* generated/count_16_l.c: Ditto.
* generated/count_1_l.c: Ditto.
* generated/count_2_l.c: Ditto.
* generated/count_4_l.c: Ditto.
* generated/count_8_l.c: Ditto.
* generated/iall_i1.c: Ditto.
* generated/iall_i16.c: Ditto.
* generated/iall_i2.c: Ditto.
* generated/iall_i4.c: Ditto.
* generated/iall_i8.c: Ditto.
* generated/iany_i1.c: Ditto.
* generated/iany_i16.c: Ditto.
* generated/iany_i2.c: Ditto.
* generated/iany_i4.c: Ditto.
* generated/iany_i8.c: Ditto.
* generated/iparity_i1.c: Ditto.
* generated/iparity_i16.c: Ditto.
* generated/iparity_i2.c: Ditto.
* generated/iparity_i4.c: Ditto.
* generated/iparity_i8.c: Ditto.
* generated/maxloc0_16_i1.c: Ditto.
* generated/maxloc0_16_i16.c: Ditto.
* generated/maxloc0_16_i2.c: Ditto.
* generated/maxloc0_16_i4.c: Ditto.
* generated/maxloc0_16_i8.c: Ditto.
* generated/maxloc0_16_r10.c: Ditto.
* generated/maxloc0_16_r16.c: Ditto.
* generated/maxloc0_16_r4.c: Ditto.
* generated/maxloc0_16_r8.c: Ditto.
* generated/maxloc0_16_s1.c: Ditto.
* generated/maxloc0_16_s4.c: Ditto.
* generated/maxloc0_4_i1.c: Ditto.
* generated/maxloc0_4_i16.c: Ditto.
* generated/maxloc0_4_i2.c: Ditto.
* generated/maxloc0_4_i4.c: Ditto.
* generated/maxloc0_4_i8.c: Ditto.
* generated/maxloc0_4_r10.c: Ditto.
* generated/maxloc0_4_r16.c: Ditto.
* generated/maxloc0_4_r4.c: Ditto.
* generated/maxloc0_4_r8.c: Ditto.
* generated/maxloc0_4_s1.c: Ditto.
* generated/maxloc0_4_s4.c: Ditto.
* generated/maxloc0_8_i1.c: Ditto.
* generated/maxloc0_8_i16.c: Ditto.
* generated/maxloc0_8_i2.c: Ditto.
* generated/maxloc0_8_i4.c: Ditto.
* generated/maxloc0_8_i8.c: Ditto.
* generated/maxloc0_8_r10.c: Ditto.
* generated/maxloc0_8_r16.c: Ditto.
* generated/maxloc0_8_r4.c: Ditto.
* generated/maxloc0_8_r8.c: Ditto.
* generated/maxloc0_8_s1.c: Ditto.
* generated/maxloc0_8_s4.c: Ditto.
* generated/maxloc1_16_i1.c: Ditto.
* generated/maxloc1_16_i16.c: Ditto.
* generated/maxloc1_16_i2.c: Ditto.
* generated/maxloc1_16_i4.c: Ditto.
* generated/maxloc1_16_i8.c: Ditto.
* generated/maxloc1_16_r10.c: Ditto.
* generated/maxloc1_16_r16.c: Ditto.
* generated/maxloc1_16_r4.c: Ditto.
* generated/maxloc1_16_r8.c: Ditto.
* generated/maxloc1_16_s1.c: Ditto.
* generated/maxloc1_16_s4.c: Ditto.
* generated/maxloc1_4_i1.c: Ditto.
* generated/maxloc1_4_i16.c: Ditto.
* generated/maxloc1_4_i2.c: Ditto.
* generated/maxloc1_4_i4.c: Ditto.
* generated/maxloc1_4_i8.c: Ditto.
* generated/maxloc1_4_r10.c: Ditto.
* generated/maxloc1_4_r16.c: Ditto.
* generated/maxloc1_4_r4.c: Ditto.
* generated/maxloc1_4_r8.c: Ditto.
* generated/maxloc1_4_s1.c: Ditto.
* generated/maxloc1_4_s4.c: Ditto.
* generated/maxloc1_8_i1.c: Ditto.
* generated/maxloc1_8_i16.c: Ditto.
* generated/maxloc1_8_i2.c: Ditto.
* generated/maxloc1_8_i4.c: Ditto.
* generated/maxloc1_8_i8.c: Ditto.
* generated/maxloc1_8_r10.c: Ditto.
* generated/maxloc1_8_r16.c: Ditto.
* generated/maxloc1_8_r4.c: Ditto.
* generated/maxloc1_8_r8.c: Ditto.
* generated/maxloc1_8_s1.c: Ditto.
* generated/maxloc1_8_s4.c: Ditto.
* generated/maxval1_s1.c: Ditto.
* generated/maxval1_s4.c: Ditto.
* generated/maxval_i1.c: Ditto.
* generated/maxval_i16.c: Ditto.
* generated/maxval_i2.c: Ditto.
* generated/maxval_i4.c: Ditto.
* generated/maxval_i8.c: Ditto.
* generated/maxval_r10.c: Ditto.
* generated/maxval_r16.c: Ditto.
* generated/maxval_r4.c: Ditto.
* generated/maxval_r8.c: Ditto.
* generated/minloc0_16_i1.c: Ditto.
* generated/minloc0_16_i16.c: Ditto.
* generated/minloc0_16_i2.c: Ditto.
* generated/minloc0_16_i4.c: Ditto.
* generated/minloc0_16_i8.c: Ditto.
* generated/minloc0_16_r10.c: Ditto.
* generated/minloc0_16_r16.c: Ditto.
* generated/minloc0_16_r4.c: Ditto.
* generated/minloc0_16_r8.c: Ditto.
* generated/minloc0_16_s1.c: Ditto.
* generated/minloc0_16_s4.c: Ditto.
* generated/minloc0_4_i1.c: Ditto.
* generated/minloc0_4_i16.c: Ditto.
* generated/minloc0_4_i2.c: Ditto.
* generated/minloc0_4_i4.c: Ditto.
* generated/minloc0_4_i8.c: Ditto.
* generated/minloc0_4_r10.c: Ditto.
* generated/minloc0_4_r16.c: Ditto.
* generated/minloc0_4_r4.c: Ditto.
* generated/minloc0_4_r8.c: Ditto.
* generated/minloc0_4_s1.c: Ditto.
* generated/minloc0_4_s4.c: Ditto.
* generated/minloc0_8_i1.c: Ditto.
* generated/minloc0_8_i16.c: Ditto.
* generated/minloc0_8_i2.c: Ditto.
* generated/minloc0_8_i4.c: Ditto.
* generated/minloc0_8_i8.c: Ditto.
* generated/minloc0_8_r10.c: Ditto.
* generated/minloc0_8_r16.c: Ditto.
* generated/minloc0_8_r4.c: Ditto.
* generated/minloc0_8_r8.c: Ditto.
* generated/minloc0_8_s1.c: Ditto.
* generated/minloc0_8_s4.c: Ditto.
* generated/minloc1_16_i1.c: Ditto.
* generated/minloc1_16_i16.c: Ditto.
* generated/minloc1_16_i2.c: Ditto.
* generated/minloc1_16_i4.c: Ditto.
* generated/minloc1_16_i8.c: Ditto.
* generated/minloc1_16_r10.c: Ditto.
* generated/minloc1_16_r16.c: Ditto.
* generated/minloc1_16_r4.c: Ditto.
* generated/minloc1_16_r8.c: Ditto.
* generated/minloc1_16_s1.c: Ditto.
* generated/minloc1_16_s4.c: Ditto.
* generated/minloc1_4_i1.c: Ditto.
* generated/minloc1_4_i16.c: Ditto.
* generated/minloc1_4_i2.c: Ditto.
* generated/minloc1_4_i4.c: Ditto.
* generated/minloc1_4_i8.c: Ditto.
* generated/minloc1_4_r10.c: Ditto.
* generated/minloc1_4_r16.c: Ditto.
* generated/minloc1_4_r4.c: Ditto.
* generated/minloc1_4_r8.c: Ditto.
* generated/minloc1_4_s1.c: Ditto.
* generated/minloc1_4_s4.c: Ditto.
* generated/minloc1_8_i1.c: Ditto.
* generated/minloc1_8_i16.c: Ditto.
* generated/minloc1_8_i2.c: Ditto.
* generated/minloc1_8_i4.c: Ditto.
* generated/minloc1_8_i8.c: Ditto.
* generated/minloc1_8_r10.c: Ditto.
* generated/minloc1_8_r16.c: Ditto.
* generated/minloc1_8_r4.c: Ditto.
* generated/minloc1_8_r8.c: Ditto.
* generated/minloc1_8_s1.c: Ditto.
* generated/minloc1_8_s4.c: Ditto.
* generated/minval1_s1.c: Ditto.
* generated/minval1_s4.c: Ditto.
* generated/minval_i1.c: Ditto.
* generated/minval_i16.c: Ditto.
* generated/minval_i2.c: Ditto.
* generated/minval_i4.c: Ditto.
* generated/minval_i8.c: Ditto.
* generated/minval_r10.c: Ditto.
* generated/minval_r16.c: Ditto.
* generated/minval_r4.c: Ditto.
* generated/minval_r8.c: Ditto.
* generated/norm2_r10.c: Ditto.
* generated/norm2_r16.c: Ditto.
* generated/norm2_r4.c: Ditto.
* generated/norm2_r8.c: Ditto.
* generated/parity_l1.c: Ditto.
* generated/parity_l16.c: Ditto.
* generated/parity_l2.c: Ditto.
* generated/parity_l4.c: Ditto.
* generated/parity_l8.c: Ditto.
* generated/product_c10.c: Ditto.
* generated/product_c16.c: Ditto.
* generated/product_c4.c: Ditto.
* generated/product_c8.c: Ditto.
* generated/product_i1.c: Ditto.
* generated/product_i16.c: Ditto.
* generated/product_i2.c: Ditto.
* generated/product_i4.c: Ditto.
* generated/product_i8.c: Ditto.
* generated/product_r10.c: Ditto.
* generated/product_r16.c: Ditto.
* generated/product_r4.c: Ditto.
* generated/product_r8.c: Ditto.
* generated/reshape_c10.c: Ditto.
* generated/reshape_c16.c: Ditto.
* generated/reshape_c4.c: Ditto.
* generated/reshape_c8.c: Ditto.
* generated/reshape_i16.c: Ditto.
* generated/reshape_i4.c: Ditto.
* generated/reshape_i8.c: Ditto.
* generated/reshape_r10.c: Ditto.
* generated/reshape_r16.c: Ditto.
* generated/reshape_r4.c: Ditto.
* generated/reshape_r8.c: Ditto.
* generated/spread_c10.c: Ditto.
* generated/spread_c16.c: Ditto.
* generated/spread_c4.c: Ditto.
* generated/spread_c8.c: Ditto.
* generated/spread_i1.c: Ditto.
* generated/spread_i16.c: Ditto.
* generated/spread_i2.c: Ditto.
* generated/spread_i4.c: Ditto.
* generated/spread_i8.c: Ditto.
* generated/spread_r10.c: Ditto.
* generated/spread_r16.c: Ditto.
* generated/spread_r4.c: Ditto.
* generated/spread_r8.c: Ditto.
* generated/sum_c10.c: Ditto.
* generated/sum_c16.c: Ditto.
* generated/sum_c4.c: Ditto.
* generated/sum_c8.c: Ditto.
* generated/sum_i1.c: Ditto.
* generated/sum_i16.c: Ditto.
* generated/sum_i2.c: Ditto.
* generated/sum_i4.c: Ditto.
* generated/sum_i8.c: Ditto.
* generated/sum_r10.c: Ditto.
* generated/sum_r16.c: Ditto.
* generated/sum_r4.c: Ditto.
* generated/sum_r8.c: Ditto.
2018-06-01 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85816
PR fortran/85975
* gfortran.dg/pr85816.f90: New test.
* gfortran.dg/pr85975.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/pr85816.f90
trunk/gcc/testsuite/gfortran.dg/pr85975.f90
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libgfortran/ChangeLog
trunk/libgfortran/generated/all_l1.c
trunk/libgfortran/generated/all_l16.c
trunk/libgfortran/generated/all_l2.c
trunk/libgfortran/generated/all_l4.c
trunk/libgfortran/generated/all_l8.c
trunk/libgfortran/generated/any_l1.c
trunk/libgfortran/generated/any_l16.c
trunk/libgfortran/generated/any_l2.c
trunk/libgfortran/generated/any_l4.c
trunk/libgfortran/generated/any_l8.c
trunk/libgfortran/generated/count_16_l.c
trunk/libgfortran/generated/count_1_l.c
trunk/libgfortran/generated/count_2_l.c
trunk/libgfortran/generated/count_4_l.c
trunk/libgfortran/generated/count_8_l.c
trunk/libgfortran/generated/iall_i1.c
trunk/libgfortran/generated/iall_i16.c
trunk/libgfortran/generated/iall_i2.c
trunk/libgfortran/generated/iall_i4.c
trunk/libgfortran/generated/iall_i8.c
trunk/libgfortran/generated/iany_i1.c
trunk/libgfortran/generated/iany_i16.c
trunk/libgfortran/generated/iany_i2.c
trunk/libgfortran/generated/iany_i4.c
trunk/libgfortran/generated/iany_i8.c
trunk/libgfortran/generated/iparity_i1.c
trunk/libgfortran/generated/iparity_i16.c
trunk/libgfortran/generated/iparity_i2.c
trunk/libgfortran/generated/iparity_i4.c
trunk/libgfortran/generated/iparity_i8.c
trunk/libgfortran/generated/maxloc0_16_i1.c
trunk/libgfortran/generated/maxloc0_16_i16.c
trunk/libgfortran/generated/maxloc0_16_i2.c
trunk/libgfortran/generated/maxloc0_16_i4.c
trunk/libgfortran/generated/maxloc0_16_i8.c
trunk/libgfortran/generated/maxloc0_16_r10.c
trunk/libgfortran/generated/maxloc0_16_r16.c
trunk/libgfortran/generated/maxloc0_16_r4.c
trunk/libgfortran/generated/maxloc0_16_r8.c
trunk/libgfortran/generated/maxloc0_16_s1.c
trunk/libgfortran/generated/maxloc0_16_s4.c
trunk/libgfortran/generated/maxloc0_4_i1.c
trunk/libgfortran/generated/maxloc0_4_i16.c
trunk/libgfortran/generated/maxloc0_4_i2.c
trunk/libgfortran/generated/maxloc0_4_i4.c
trunk/libgfortran/generated/maxloc0_4_i8.c
trunk/libgfortran/generated/maxloc0_4_r10.c
trunk/libgfortran/generated/maxloc0_4_r16.c
trunk/libgfortran/generated/maxloc0_4_r4.c
trunk/libgfortran/generated/maxloc0_4_r8.c
trunk/libgfortran/generated/maxloc0_4_s1.c
trunk/libgfortran/generated/maxloc0_4_s4.c
trunk/libgfortran/generated/maxloc0_8_i1.c
trunk/libgfortran/generated/maxloc0_8_i16.c
trunk/libgfortran/generated/maxloc0_8_i2.c
trunk/libgfortran/generated/maxloc0_8_i4.c
trunk/libgfortran/generated/maxloc0_8_i8.c
trunk/libgfortran/generated/maxloc0_8_r10.c
trunk/libgfortran/generated/maxloc0_8_r16.c
trunk/libgfortran/generated/maxloc0_8_r4.c
trunk/libgfortran/generated/maxloc0_8_r8.c
trunk/libgfortran/generated/maxloc0_8_s1.c
trunk/libgfortran/generated/maxloc0_8_s4.c
trunk/libgfortran/generated/maxloc1_16_i1.c
trunk/libgfortran/generated/maxloc1_16_i16.c
trunk/libgfortran/generated/maxloc1_16_i2.c
trunk/libgfortran/generated/maxloc1_16_i4.c
trunk/libgfortran/generated/maxloc1_16_i8.c
trunk/libgfortran/generated/maxloc1_16_r10.c
trunk/libgfortran/generated/maxloc1_16_r16.c
trunk/libgfortran/generated/maxloc1_16_r4.c
trunk/libgfortran/generated/maxloc1_16_r8.c
trunk/libgfortran/generated/maxloc1_16_s1.c
trunk/libgfortran/generated/maxloc1_16_s4.c
trunk/libgfortran/generated/maxloc1_4_i1.c
trunk/libgfortran/generated/maxloc1_4_i16.c
trunk/libgfortran/generated/maxloc1_4_i2.c
trunk/libgfortran/generated/maxloc1_4_i4.c
trunk/libgfortran/generated/maxloc1_4_i8.c
trunk/libgfortran/generated/maxloc1_4_r10.c
trunk/libgfortran/generated/maxloc1_4_r16.c
trunk/libgfortran/generated/maxloc1_4_r4.c
trunk/libgfortran/generated/maxloc1_4_r8.c
trunk/libgfortran/generated/maxloc1_4_s1.c
trunk/libgfortran/generated/maxloc1_4_s4.c
trunk/libgfortran/generated/maxloc1_8_i1.c
trunk/libgfortran/generated/maxloc1_8_i16.c
trunk/libgfortran/generated/maxloc1_8_i2.c
trunk/libgfortran/generated/maxloc1_8_i4.c
trunk/libgfortran/generated/maxloc1_8_i8.c
trunk/libgfortran/generated/maxloc1_8_r10.c
trunk/libgfortran/generated/maxloc1_8_r16.c
trunk/libgfortran/generated/maxloc1_8_r4.c
trunk/libgfortran/generated/maxloc1_8_r8.c
trunk/libgfortran/generated/maxloc1_8_s1.c
trunk/libgfortran/generated/maxloc1_8_s4.c
trunk/libgfortran/generated/maxval1_s1.c
trunk/libgfortran/generated/maxval1_s4.c
trunk/libgfortran/generated/maxval_i1.c
trunk/libgfortran/generated/maxval_i16.c
trunk/libgfortran/generated/maxval_i2.c
trunk/libgfortran/generated/maxval_i4.c
trunk/libgfortran/generated/maxval_i8.c
trunk/libgfortran/generated/maxval_r10.c
trunk/libgfortran/generated/maxval_r16.c
trunk/libgfortran/generated/maxval_r4.c
trunk/libgfortran/generated/maxval_r8.c
trunk/libgfortran/generated/minloc0_16_i1.c
trunk/libgfortran/generated/minloc0_16_i16.c
trunk/libgfortran/generated/minloc0_16_i2.c
trunk/libgfortran/generated/minloc0_16_i4.c
trunk/libgfortran/generated/minloc0_16_i8.c
trunk/libgfortran/generated/minloc0_16_r10.c
trunk/libgfortran/generated/minloc0_16_r16.c
trunk/libgfortran/generated/minloc0_16_r4.c
trunk/libgfortran/generated/minloc0_16_r8.c
trunk/libgfortran/generated/minloc0_16_s1.c
trunk/libgfortran/generated/minloc0_16_s4.c
trunk/libgfortran/generated/minloc0_4_i1.c
trunk/libgfortran/generated/minloc0_4_i16.c
trunk/libgfortran/generated/minloc0_4_i2.c
trunk/libgfortran/generated/minloc0_4_i4.c
trunk/libgfortran/generated/minloc0_4_i8.c
trunk/libgfortran/generated/minloc0_4_r10.c
trunk/libgfortran/generated/minloc0_4_r16.c
trunk/libgfortran/generated/minloc0_4_r4.c
trunk/libgfortran/generated/minloc0_4_r8.c
trunk/libgfortran/generated/minloc0_4_s1.c
trunk/libgfortran/generated/minloc0_4_s4.c
trunk/libgfortran/generated/minloc0_8_i1.c
trunk/libgfortran/generated/minloc0_8_i16.c
trunk/libgfortran/generated/minloc0_8_i2.c
trunk/libgfortran/generated/minloc0_8_i4.c
trunk/libgfortran/generated/minloc0_8_i8.c
trunk/libgfortran/generated/minloc0_8_r10.c
trunk/libgfortran/generated/minloc0_8_r16.c
trunk/libgfortran/generated/minloc0_8_r4.c
trunk/libgfortran/generated/minloc0_8_r8.c
trunk/libgfortran/generated/minloc0_8_s1.c
trunk/libgfortran/generated/minloc0_8_s4.c
trunk/libgfortran/generated/minloc1_16_i1.c
trunk/libgfortran/generated/minloc1_16_i16.c
trunk/libgfortran/generated/minloc1_16_i2.c
trunk/libgfortran/generated/minloc1_16_i4.c
trunk/libgfortran/generated/minloc1_16_i8.c
trunk/libgfortran/generated/minloc1_16_r10.c
trunk/libgfortran/generated/minloc1_16_r16.c
trunk/libgfortran/generated/minloc1_16_r4.c
trunk/libgfortran/generated/minloc1_16_r8.c
trunk/libgfortran/generated/minloc1_16_s1.c
trunk/libgfortran/generated/minloc1_16_s4.c
trunk/libgfortran/generated/minloc1_4_i1.c
trunk/libgfortran/generated/minloc1_4_i16.c
trunk/libgfortran/generated/minloc1_4_i2.c
trunk/libgfortran/generated/minloc1_4_i4.c
trunk/libgfortran/generated/minloc1_4_i8.c
trunk/libgfortran/generated/minloc1_4_r10.c
trunk/libgfortran/generated/minloc1_4_r16.c
trunk/libgfortran/generated/minloc1_4_r4.c
trunk/libgfortran/generated/minloc1_4_r8.c
trunk/libgfortran/generated/minloc1_4_s1.c
trunk/libgfortran/generated/minloc1_4_s4.c
trunk/libgfortran/generated/minloc1_8_i1.c
trunk/libgfortran/generated/minloc1_8_i16.c
trunk/libgfortran/generated/minloc1_8_i2.c
trunk/libgfortran/generated/minloc1_8_i4.c
trunk/libgfortran/generated/minloc1_8_i8.c
trunk/libgfortran/generated/minloc1_8_r10.c
trunk/libgfortran/generated/minloc1_8_r16.c
trunk/libgfortran/generated/minloc1_8_r4.c
trunk/libgfortran/generated/minloc1_8_r8.c
trunk/libgfortran/generated/minloc1_8_s1.c
trunk/libgfortran/generated/minloc1_8_s4.c
trunk/libgfortran/generated/minval1_s1.c
trunk/libgfortran/generated/minval1_s4.c
trunk/libgfortran/generated/minval_i1.c
trunk/libgfortran/generated/minval_i16.c
trunk/libgfortran/generated/minval_i2.c
trunk/libgfortran/generated/minval_i4.c
trunk/libgfortran/generated/minval_i8.c
trunk/libgfortran/generated/minval_r10.c
trunk/libgfortran/generated/minval_r16.c
trunk/libgfortran/generated/minval_r4.c
trunk/libgfortran/generated/minval_r8.c
trunk/libgfortran/generated/norm2_r10.c
trunk/libgfortran/generated/norm2_r16.c
trunk/libgfortran/generated/norm2_r4.c
trunk/libgfortran/generated/norm2_r8.c
trunk/libgfortran/generated/parity_l1.c
trunk/libgfortran/generated/parity_l16.c
trunk/libgfortran/generated/parity_l2.c
trunk/libgfortran/generated/parity_l4.c
trunk/libgfortran/generated/parity_l8.c
trunk/libgfortran/generated/product_c10.c
trunk/libgfortran/generated/product_c16.c
trunk/libgfortran/generated/product_c4.c
trunk/libgfortran/generated/product_c8.c
trunk/libgfortran/generated/product_i1.c
trunk/libgfortran/generated/product_i16.c
trunk/libgfortran/generated/product_i2.c
trunk/libgfortran/generated/product_i4.c
trunk/libgfortran/generated/product_i8.c
trunk/libgfortran/generated/product_r10.c
trunk/libgfortran/generated/product_r16.c
trunk/libgfortran/generated/product_r4.c
trunk/libgfortran/generated/product_r8.c
trunk/libgfortran/generated/reshape_c10.c
trunk/libgfortran/generated/reshape_c16.c
trunk/libgfortran/generated/reshape_c4.c
trunk/libgfortran/generated/reshape_c8.c
trunk/libgfortran/generated/reshape_i16.c
trunk/libgfortran/generated/reshape_i4.c
trunk/libgfortran/generated/reshape_i8.c
trunk/libgfortran/generated/reshape_r10.c
trunk/libgfortran/generated/reshape_r16.c
trunk/libgfortran/generated/reshape_r4.c
trunk/libgfortran/generated/reshape_r8.c
trunk/libgfortran/generated/spread_c10.c
trunk/libgfortran/generated/spread_c16.c
trunk/libgfortran/generated/spread_c4.c
trunk/libgfortran/generated/spread_c8.c
trunk/libgfortran/generated/spread_i1.c
trunk/libgfortran/generated/spread_i16.c
trunk/libgfortran/generated/spread_i2.c
trunk/libgfortran/generated/spread_i4.c
trunk/libgfortran/generated/spread_i8.c
trunk/libgfortran/generated/spread_r10.c
trunk/libgfortran/generated/spread_r16.c
trunk/libgfortran/generated/spread_r4.c
trunk/libgfortran/generated/spread_r8.c
trunk/libgfortran/generated/sum_c10.c
trunk/libgfortran/generated/sum_c16.c
trunk/libgfortran/generated/sum_c4.c
trunk/libgfortran/generated/sum_c8.c
trunk/libgfortran/generated/sum_i1.c
trunk/libgfortran/generated/sum_i16.c
trunk/libgfortran/generated/sum_i2.c
trunk/libgfortran/generated/sum_i4.c
trunk/libgfortran/generated/sum_i8.c
trunk/libgfortran/generated/sum_r10.c
trunk/libgfortran/generated/sum_r16.c
trunk/libgfortran/generated/sum_r4.c
trunk/libgfortran/generated/sum_r8.c
trunk/libgfortran/intrinsics/reshape_generic.c
trunk/libgfortran/intrinsics/spread_generic.c
trunk/libgfortran/libgfortran.h
trunk/libgfortran/m4/iforeach-s.m4
trunk/libgfortran/m4/iforeach.m4
trunk/libgfortran/m4/ifunction-s.m4
trunk/libgfortran/m4/ifunction-s2.m4
trunk/libgfortran/m4/ifunction.m4
trunk/libgfortran/m4/ifunction_logical.m4
trunk/libgfortran/m4/reshape.m4
trunk/libgfortran/m4/spread.m4
>From gcc-bugs-return-606271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 20:21:15 2018
Return-Path: <gcc-bugs-return-606271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112913 invoked by alias); 1 Jun 2018 20:21:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 112781 invoked by uid 55); 1 Jun 2018 20:21:08 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/85975] Incorrect size for spread array
Date: Fri, 01 Jun 2018 20:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85975-4-1maM15FHEn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85975-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85975-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00066.txt.bz2
Content-length: 22952
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85975
--- Comment #4 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Fri Jun 1 20:20:35 2018
New Revision: 261081
URL: https://gcc.gnu.org/viewcvs?rev=261081&root=gcc&view=rev
Log:
2018-06-01 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85816
PR fortran/85975
* libgfortran.h: Remove the GFC_DTYPE_COPY_SETRANK macro.
* intrinsics/reshape_generic.c: Directly assign rank.
* intrinsics/spread_generic.c: Ditto.
* m4/iforeach-s.m4: Ditto.
* m4/iforeach.m4: Ditto.
* m4/ifunction-s.m4: Ditto.
* m4/ifunction-s2.m4: Ditto.
* m4/ifunction.m4: Ditto.
* m4/ifunction_logical.m4: Ditto.
* m4/reshape.m4: Ditto.
* m4/spread.m4: Ditto.
* generated/all_l1.c: Regenerated from m4 files.
* generated/all_l16.c: Ditto.
* generated/all_l2.c: Ditto.
* generated/all_l4.c: Ditto.
* generated/all_l8.c: Ditto.
* generated/any_l1.c: Ditto.
* generated/any_l16.c: Ditto.
* generated/any_l2.c: Ditto.
* generated/any_l4.c: Ditto.
* generated/any_l8.c: Ditto.
* generated/count_16_l.c: Ditto.
* generated/count_1_l.c: Ditto.
* generated/count_2_l.c: Ditto.
* generated/count_4_l.c: Ditto.
* generated/count_8_l.c: Ditto.
* generated/iall_i1.c: Ditto.
* generated/iall_i16.c: Ditto.
* generated/iall_i2.c: Ditto.
* generated/iall_i4.c: Ditto.
* generated/iall_i8.c: Ditto.
* generated/iany_i1.c: Ditto.
* generated/iany_i16.c: Ditto.
* generated/iany_i2.c: Ditto.
* generated/iany_i4.c: Ditto.
* generated/iany_i8.c: Ditto.
* generated/iparity_i1.c: Ditto.
* generated/iparity_i16.c: Ditto.
* generated/iparity_i2.c: Ditto.
* generated/iparity_i4.c: Ditto.
* generated/iparity_i8.c: Ditto.
* generated/maxloc0_16_i1.c: Ditto.
* generated/maxloc0_16_i16.c: Ditto.
* generated/maxloc0_16_i2.c: Ditto.
* generated/maxloc0_16_i4.c: Ditto.
* generated/maxloc0_16_i8.c: Ditto.
* generated/maxloc0_16_r10.c: Ditto.
* generated/maxloc0_16_r16.c: Ditto.
* generated/maxloc0_16_r4.c: Ditto.
* generated/maxloc0_16_r8.c: Ditto.
* generated/maxloc0_16_s1.c: Ditto.
* generated/maxloc0_16_s4.c: Ditto.
* generated/maxloc0_4_i1.c: Ditto.
* generated/maxloc0_4_i16.c: Ditto.
* generated/maxloc0_4_i2.c: Ditto.
* generated/maxloc0_4_i4.c: Ditto.
* generated/maxloc0_4_i8.c: Ditto.
* generated/maxloc0_4_r10.c: Ditto.
* generated/maxloc0_4_r16.c: Ditto.
* generated/maxloc0_4_r4.c: Ditto.
* generated/maxloc0_4_r8.c: Ditto.
* generated/maxloc0_4_s1.c: Ditto.
* generated/maxloc0_4_s4.c: Ditto.
* generated/maxloc0_8_i1.c: Ditto.
* generated/maxloc0_8_i16.c: Ditto.
* generated/maxloc0_8_i2.c: Ditto.
* generated/maxloc0_8_i4.c: Ditto.
* generated/maxloc0_8_i8.c: Ditto.
* generated/maxloc0_8_r10.c: Ditto.
* generated/maxloc0_8_r16.c: Ditto.
* generated/maxloc0_8_r4.c: Ditto.
* generated/maxloc0_8_r8.c: Ditto.
* generated/maxloc0_8_s1.c: Ditto.
* generated/maxloc0_8_s4.c: Ditto.
* generated/maxloc1_16_i1.c: Ditto.
* generated/maxloc1_16_i16.c: Ditto.
* generated/maxloc1_16_i2.c: Ditto.
* generated/maxloc1_16_i4.c: Ditto.
* generated/maxloc1_16_i8.c: Ditto.
* generated/maxloc1_16_r10.c: Ditto.
* generated/maxloc1_16_r16.c: Ditto.
* generated/maxloc1_16_r4.c: Ditto.
* generated/maxloc1_16_r8.c: Ditto.
* generated/maxloc1_16_s1.c: Ditto.
* generated/maxloc1_16_s4.c: Ditto.
* generated/maxloc1_4_i1.c: Ditto.
* generated/maxloc1_4_i16.c: Ditto.
* generated/maxloc1_4_i2.c: Ditto.
* generated/maxloc1_4_i4.c: Ditto.
* generated/maxloc1_4_i8.c: Ditto.
* generated/maxloc1_4_r10.c: Ditto.
* generated/maxloc1_4_r16.c: Ditto.
* generated/maxloc1_4_r4.c: Ditto.
* generated/maxloc1_4_r8.c: Ditto.
* generated/maxloc1_4_s1.c: Ditto.
* generated/maxloc1_4_s4.c: Ditto.
* generated/maxloc1_8_i1.c: Ditto.
* generated/maxloc1_8_i16.c: Ditto.
* generated/maxloc1_8_i2.c: Ditto.
* generated/maxloc1_8_i4.c: Ditto.
* generated/maxloc1_8_i8.c: Ditto.
* generated/maxloc1_8_r10.c: Ditto.
* generated/maxloc1_8_r16.c: Ditto.
* generated/maxloc1_8_r4.c: Ditto.
* generated/maxloc1_8_r8.c: Ditto.
* generated/maxloc1_8_s1.c: Ditto.
* generated/maxloc1_8_s4.c: Ditto.
* generated/maxval1_s1.c: Ditto.
* generated/maxval1_s4.c: Ditto.
* generated/maxval_i1.c: Ditto.
* generated/maxval_i16.c: Ditto.
* generated/maxval_i2.c: Ditto.
* generated/maxval_i4.c: Ditto.
* generated/maxval_i8.c: Ditto.
* generated/maxval_r10.c: Ditto.
* generated/maxval_r16.c: Ditto.
* generated/maxval_r4.c: Ditto.
* generated/maxval_r8.c: Ditto.
* generated/minloc0_16_i1.c: Ditto.
* generated/minloc0_16_i16.c: Ditto.
* generated/minloc0_16_i2.c: Ditto.
* generated/minloc0_16_i4.c: Ditto.
* generated/minloc0_16_i8.c: Ditto.
* generated/minloc0_16_r10.c: Ditto.
* generated/minloc0_16_r16.c: Ditto.
* generated/minloc0_16_r4.c: Ditto.
* generated/minloc0_16_r8.c: Ditto.
* generated/minloc0_16_s1.c: Ditto.
* generated/minloc0_16_s4.c: Ditto.
* generated/minloc0_4_i1.c: Ditto.
* generated/minloc0_4_i16.c: Ditto.
* generated/minloc0_4_i2.c: Ditto.
* generated/minloc0_4_i4.c: Ditto.
* generated/minloc0_4_i8.c: Ditto.
* generated/minloc0_4_r10.c: Ditto.
* generated/minloc0_4_r16.c: Ditto.
* generated/minloc0_4_r4.c: Ditto.
* generated/minloc0_4_r8.c: Ditto.
* generated/minloc0_4_s1.c: Ditto.
* generated/minloc0_4_s4.c: Ditto.
* generated/minloc0_8_i1.c: Ditto.
* generated/minloc0_8_i16.c: Ditto.
* generated/minloc0_8_i2.c: Ditto.
* generated/minloc0_8_i4.c: Ditto.
* generated/minloc0_8_i8.c: Ditto.
* generated/minloc0_8_r10.c: Ditto.
* generated/minloc0_8_r16.c: Ditto.
* generated/minloc0_8_r4.c: Ditto.
* generated/minloc0_8_r8.c: Ditto.
* generated/minloc0_8_s1.c: Ditto.
* generated/minloc0_8_s4.c: Ditto.
* generated/minloc1_16_i1.c: Ditto.
* generated/minloc1_16_i16.c: Ditto.
* generated/minloc1_16_i2.c: Ditto.
* generated/minloc1_16_i4.c: Ditto.
* generated/minloc1_16_i8.c: Ditto.
* generated/minloc1_16_r10.c: Ditto.
* generated/minloc1_16_r16.c: Ditto.
* generated/minloc1_16_r4.c: Ditto.
* generated/minloc1_16_r8.c: Ditto.
* generated/minloc1_16_s1.c: Ditto.
* generated/minloc1_16_s4.c: Ditto.
* generated/minloc1_4_i1.c: Ditto.
* generated/minloc1_4_i16.c: Ditto.
* generated/minloc1_4_i2.c: Ditto.
* generated/minloc1_4_i4.c: Ditto.
* generated/minloc1_4_i8.c: Ditto.
* generated/minloc1_4_r10.c: Ditto.
* generated/minloc1_4_r16.c: Ditto.
* generated/minloc1_4_r4.c: Ditto.
* generated/minloc1_4_r8.c: Ditto.
* generated/minloc1_4_s1.c: Ditto.
* generated/minloc1_4_s4.c: Ditto.
* generated/minloc1_8_i1.c: Ditto.
* generated/minloc1_8_i16.c: Ditto.
* generated/minloc1_8_i2.c: Ditto.
* generated/minloc1_8_i4.c: Ditto.
* generated/minloc1_8_i8.c: Ditto.
* generated/minloc1_8_r10.c: Ditto.
* generated/minloc1_8_r16.c: Ditto.
* generated/minloc1_8_r4.c: Ditto.
* generated/minloc1_8_r8.c: Ditto.
* generated/minloc1_8_s1.c: Ditto.
* generated/minloc1_8_s4.c: Ditto.
* generated/minval1_s1.c: Ditto.
* generated/minval1_s4.c: Ditto.
* generated/minval_i1.c: Ditto.
* generated/minval_i16.c: Ditto.
* generated/minval_i2.c: Ditto.
* generated/minval_i4.c: Ditto.
* generated/minval_i8.c: Ditto.
* generated/minval_r10.c: Ditto.
* generated/minval_r16.c: Ditto.
* generated/minval_r4.c: Ditto.
* generated/minval_r8.c: Ditto.
* generated/norm2_r10.c: Ditto.
* generated/norm2_r16.c: Ditto.
* generated/norm2_r4.c: Ditto.
* generated/norm2_r8.c: Ditto.
* generated/parity_l1.c: Ditto.
* generated/parity_l16.c: Ditto.
* generated/parity_l2.c: Ditto.
* generated/parity_l4.c: Ditto.
* generated/parity_l8.c: Ditto.
* generated/product_c10.c: Ditto.
* generated/product_c16.c: Ditto.
* generated/product_c4.c: Ditto.
* generated/product_c8.c: Ditto.
* generated/product_i1.c: Ditto.
* generated/product_i16.c: Ditto.
* generated/product_i2.c: Ditto.
* generated/product_i4.c: Ditto.
* generated/product_i8.c: Ditto.
* generated/product_r10.c: Ditto.
* generated/product_r16.c: Ditto.
* generated/product_r4.c: Ditto.
* generated/product_r8.c: Ditto.
* generated/reshape_c10.c: Ditto.
* generated/reshape_c16.c: Ditto.
* generated/reshape_c4.c: Ditto.
* generated/reshape_c8.c: Ditto.
* generated/reshape_i16.c: Ditto.
* generated/reshape_i4.c: Ditto.
* generated/reshape_i8.c: Ditto.
* generated/reshape_r10.c: Ditto.
* generated/reshape_r16.c: Ditto.
* generated/reshape_r4.c: Ditto.
* generated/reshape_r8.c: Ditto.
* generated/spread_c10.c: Ditto.
* generated/spread_c16.c: Ditto.
* generated/spread_c4.c: Ditto.
* generated/spread_c8.c: Ditto.
* generated/spread_i1.c: Ditto.
* generated/spread_i16.c: Ditto.
* generated/spread_i2.c: Ditto.
* generated/spread_i4.c: Ditto.
* generated/spread_i8.c: Ditto.
* generated/spread_r10.c: Ditto.
* generated/spread_r16.c: Ditto.
* generated/spread_r4.c: Ditto.
* generated/spread_r8.c: Ditto.
* generated/sum_c10.c: Ditto.
* generated/sum_c16.c: Ditto.
* generated/sum_c4.c: Ditto.
* generated/sum_c8.c: Ditto.
* generated/sum_i1.c: Ditto.
* generated/sum_i16.c: Ditto.
* generated/sum_i2.c: Ditto.
* generated/sum_i4.c: Ditto.
* generated/sum_i8.c: Ditto.
* generated/sum_r10.c: Ditto.
* generated/sum_r16.c: Ditto.
* generated/sum_r4.c: Ditto.
* generated/sum_r8.c: Ditto.
2018-06-01 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85816
PR fortran/85975
* gfortran.dg/pr85816.f90: New test.
* gfortran.dg/pr85975.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/pr85816.f90
trunk/gcc/testsuite/gfortran.dg/pr85975.f90
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libgfortran/ChangeLog
trunk/libgfortran/generated/all_l1.c
trunk/libgfortran/generated/all_l16.c
trunk/libgfortran/generated/all_l2.c
trunk/libgfortran/generated/all_l4.c
trunk/libgfortran/generated/all_l8.c
trunk/libgfortran/generated/any_l1.c
trunk/libgfortran/generated/any_l16.c
trunk/libgfortran/generated/any_l2.c
trunk/libgfortran/generated/any_l4.c
trunk/libgfortran/generated/any_l8.c
trunk/libgfortran/generated/count_16_l.c
trunk/libgfortran/generated/count_1_l.c
trunk/libgfortran/generated/count_2_l.c
trunk/libgfortran/generated/count_4_l.c
trunk/libgfortran/generated/count_8_l.c
trunk/libgfortran/generated/iall_i1.c
trunk/libgfortran/generated/iall_i16.c
trunk/libgfortran/generated/iall_i2.c
trunk/libgfortran/generated/iall_i4.c
trunk/libgfortran/generated/iall_i8.c
trunk/libgfortran/generated/iany_i1.c
trunk/libgfortran/generated/iany_i16.c
trunk/libgfortran/generated/iany_i2.c
trunk/libgfortran/generated/iany_i4.c
trunk/libgfortran/generated/iany_i8.c
trunk/libgfortran/generated/iparity_i1.c
trunk/libgfortran/generated/iparity_i16.c
trunk/libgfortran/generated/iparity_i2.c
trunk/libgfortran/generated/iparity_i4.c
trunk/libgfortran/generated/iparity_i8.c
trunk/libgfortran/generated/maxloc0_16_i1.c
trunk/libgfortran/generated/maxloc0_16_i16.c
trunk/libgfortran/generated/maxloc0_16_i2.c
trunk/libgfortran/generated/maxloc0_16_i4.c
trunk/libgfortran/generated/maxloc0_16_i8.c
trunk/libgfortran/generated/maxloc0_16_r10.c
trunk/libgfortran/generated/maxloc0_16_r16.c
trunk/libgfortran/generated/maxloc0_16_r4.c
trunk/libgfortran/generated/maxloc0_16_r8.c
trunk/libgfortran/generated/maxloc0_16_s1.c
trunk/libgfortran/generated/maxloc0_16_s4.c
trunk/libgfortran/generated/maxloc0_4_i1.c
trunk/libgfortran/generated/maxloc0_4_i16.c
trunk/libgfortran/generated/maxloc0_4_i2.c
trunk/libgfortran/generated/maxloc0_4_i4.c
trunk/libgfortran/generated/maxloc0_4_i8.c
trunk/libgfortran/generated/maxloc0_4_r10.c
trunk/libgfortran/generated/maxloc0_4_r16.c
trunk/libgfortran/generated/maxloc0_4_r4.c
trunk/libgfortran/generated/maxloc0_4_r8.c
trunk/libgfortran/generated/maxloc0_4_s1.c
trunk/libgfortran/generated/maxloc0_4_s4.c
trunk/libgfortran/generated/maxloc0_8_i1.c
trunk/libgfortran/generated/maxloc0_8_i16.c
trunk/libgfortran/generated/maxloc0_8_i2.c
trunk/libgfortran/generated/maxloc0_8_i4.c
trunk/libgfortran/generated/maxloc0_8_i8.c
trunk/libgfortran/generated/maxloc0_8_r10.c
trunk/libgfortran/generated/maxloc0_8_r16.c
trunk/libgfortran/generated/maxloc0_8_r4.c
trunk/libgfortran/generated/maxloc0_8_r8.c
trunk/libgfortran/generated/maxloc0_8_s1.c
trunk/libgfortran/generated/maxloc0_8_s4.c
trunk/libgfortran/generated/maxloc1_16_i1.c
trunk/libgfortran/generated/maxloc1_16_i16.c
trunk/libgfortran/generated/maxloc1_16_i2.c
trunk/libgfortran/generated/maxloc1_16_i4.c
trunk/libgfortran/generated/maxloc1_16_i8.c
trunk/libgfortran/generated/maxloc1_16_r10.c
trunk/libgfortran/generated/maxloc1_16_r16.c
trunk/libgfortran/generated/maxloc1_16_r4.c
trunk/libgfortran/generated/maxloc1_16_r8.c
trunk/libgfortran/generated/maxloc1_16_s1.c
trunk/libgfortran/generated/maxloc1_16_s4.c
trunk/libgfortran/generated/maxloc1_4_i1.c
trunk/libgfortran/generated/maxloc1_4_i16.c
trunk/libgfortran/generated/maxloc1_4_i2.c
trunk/libgfortran/generated/maxloc1_4_i4.c
trunk/libgfortran/generated/maxloc1_4_i8.c
trunk/libgfortran/generated/maxloc1_4_r10.c
trunk/libgfortran/generated/maxloc1_4_r16.c
trunk/libgfortran/generated/maxloc1_4_r4.c
trunk/libgfortran/generated/maxloc1_4_r8.c
trunk/libgfortran/generated/maxloc1_4_s1.c
trunk/libgfortran/generated/maxloc1_4_s4.c
trunk/libgfortran/generated/maxloc1_8_i1.c
trunk/libgfortran/generated/maxloc1_8_i16.c
trunk/libgfortran/generated/maxloc1_8_i2.c
trunk/libgfortran/generated/maxloc1_8_i4.c
trunk/libgfortran/generated/maxloc1_8_i8.c
trunk/libgfortran/generated/maxloc1_8_r10.c
trunk/libgfortran/generated/maxloc1_8_r16.c
trunk/libgfortran/generated/maxloc1_8_r4.c
trunk/libgfortran/generated/maxloc1_8_r8.c
trunk/libgfortran/generated/maxloc1_8_s1.c
trunk/libgfortran/generated/maxloc1_8_s4.c
trunk/libgfortran/generated/maxval1_s1.c
trunk/libgfortran/generated/maxval1_s4.c
trunk/libgfortran/generated/maxval_i1.c
trunk/libgfortran/generated/maxval_i16.c
trunk/libgfortran/generated/maxval_i2.c
trunk/libgfortran/generated/maxval_i4.c
trunk/libgfortran/generated/maxval_i8.c
trunk/libgfortran/generated/maxval_r10.c
trunk/libgfortran/generated/maxval_r16.c
trunk/libgfortran/generated/maxval_r4.c
trunk/libgfortran/generated/maxval_r8.c
trunk/libgfortran/generated/minloc0_16_i1.c
trunk/libgfortran/generated/minloc0_16_i16.c
trunk/libgfortran/generated/minloc0_16_i2.c
trunk/libgfortran/generated/minloc0_16_i4.c
trunk/libgfortran/generated/minloc0_16_i8.c
trunk/libgfortran/generated/minloc0_16_r10.c
trunk/libgfortran/generated/minloc0_16_r16.c
trunk/libgfortran/generated/minloc0_16_r4.c
trunk/libgfortran/generated/minloc0_16_r8.c
trunk/libgfortran/generated/minloc0_16_s1.c
trunk/libgfortran/generated/minloc0_16_s4.c
trunk/libgfortran/generated/minloc0_4_i1.c
trunk/libgfortran/generated/minloc0_4_i16.c
trunk/libgfortran/generated/minloc0_4_i2.c
trunk/libgfortran/generated/minloc0_4_i4.c
trunk/libgfortran/generated/minloc0_4_i8.c
trunk/libgfortran/generated/minloc0_4_r10.c
trunk/libgfortran/generated/minloc0_4_r16.c
trunk/libgfortran/generated/minloc0_4_r4.c
trunk/libgfortran/generated/minloc0_4_r8.c
trunk/libgfortran/generated/minloc0_4_s1.c
trunk/libgfortran/generated/minloc0_4_s4.c
trunk/libgfortran/generated/minloc0_8_i1.c
trunk/libgfortran/generated/minloc0_8_i16.c
trunk/libgfortran/generated/minloc0_8_i2.c
trunk/libgfortran/generated/minloc0_8_i4.c
trunk/libgfortran/generated/minloc0_8_i8.c
trunk/libgfortran/generated/minloc0_8_r10.c
trunk/libgfortran/generated/minloc0_8_r16.c
trunk/libgfortran/generated/minloc0_8_r4.c
trunk/libgfortran/generated/minloc0_8_r8.c
trunk/libgfortran/generated/minloc0_8_s1.c
trunk/libgfortran/generated/minloc0_8_s4.c
trunk/libgfortran/generated/minloc1_16_i1.c
trunk/libgfortran/generated/minloc1_16_i16.c
trunk/libgfortran/generated/minloc1_16_i2.c
trunk/libgfortran/generated/minloc1_16_i4.c
trunk/libgfortran/generated/minloc1_16_i8.c
trunk/libgfortran/generated/minloc1_16_r10.c
trunk/libgfortran/generated/minloc1_16_r16.c
trunk/libgfortran/generated/minloc1_16_r4.c
trunk/libgfortran/generated/minloc1_16_r8.c
trunk/libgfortran/generated/minloc1_16_s1.c
trunk/libgfortran/generated/minloc1_16_s4.c
trunk/libgfortran/generated/minloc1_4_i1.c
trunk/libgfortran/generated/minloc1_4_i16.c
trunk/libgfortran/generated/minloc1_4_i2.c
trunk/libgfortran/generated/minloc1_4_i4.c
trunk/libgfortran/generated/minloc1_4_i8.c
trunk/libgfortran/generated/minloc1_4_r10.c
trunk/libgfortran/generated/minloc1_4_r16.c
trunk/libgfortran/generated/minloc1_4_r4.c
trunk/libgfortran/generated/minloc1_4_r8.c
trunk/libgfortran/generated/minloc1_4_s1.c
trunk/libgfortran/generated/minloc1_4_s4.c
trunk/libgfortran/generated/minloc1_8_i1.c
trunk/libgfortran/generated/minloc1_8_i16.c
trunk/libgfortran/generated/minloc1_8_i2.c
trunk/libgfortran/generated/minloc1_8_i4.c
trunk/libgfortran/generated/minloc1_8_i8.c
trunk/libgfortran/generated/minloc1_8_r10.c
trunk/libgfortran/generated/minloc1_8_r16.c
trunk/libgfortran/generated/minloc1_8_r4.c
trunk/libgfortran/generated/minloc1_8_r8.c
trunk/libgfortran/generated/minloc1_8_s1.c
trunk/libgfortran/generated/minloc1_8_s4.c
trunk/libgfortran/generated/minval1_s1.c
trunk/libgfortran/generated/minval1_s4.c
trunk/libgfortran/generated/minval_i1.c
trunk/libgfortran/generated/minval_i16.c
trunk/libgfortran/generated/minval_i2.c
trunk/libgfortran/generated/minval_i4.c
trunk/libgfortran/generated/minval_i8.c
trunk/libgfortran/generated/minval_r10.c
trunk/libgfortran/generated/minval_r16.c
trunk/libgfortran/generated/minval_r4.c
trunk/libgfortran/generated/minval_r8.c
trunk/libgfortran/generated/norm2_r10.c
trunk/libgfortran/generated/norm2_r16.c
trunk/libgfortran/generated/norm2_r4.c
trunk/libgfortran/generated/norm2_r8.c
trunk/libgfortran/generated/parity_l1.c
trunk/libgfortran/generated/parity_l16.c
trunk/libgfortran/generated/parity_l2.c
trunk/libgfortran/generated/parity_l4.c
trunk/libgfortran/generated/parity_l8.c
trunk/libgfortran/generated/product_c10.c
trunk/libgfortran/generated/product_c16.c
trunk/libgfortran/generated/product_c4.c
trunk/libgfortran/generated/product_c8.c
trunk/libgfortran/generated/product_i1.c
trunk/libgfortran/generated/product_i16.c
trunk/libgfortran/generated/product_i2.c
trunk/libgfortran/generated/product_i4.c
trunk/libgfortran/generated/product_i8.c
trunk/libgfortran/generated/product_r10.c
trunk/libgfortran/generated/product_r16.c
trunk/libgfortran/generated/product_r4.c
trunk/libgfortran/generated/product_r8.c
trunk/libgfortran/generated/reshape_c10.c
trunk/libgfortran/generated/reshape_c16.c
trunk/libgfortran/generated/reshape_c4.c
trunk/libgfortran/generated/reshape_c8.c
trunk/libgfortran/generated/reshape_i16.c
trunk/libgfortran/generated/reshape_i4.c
trunk/libgfortran/generated/reshape_i8.c
trunk/libgfortran/generated/reshape_r10.c
trunk/libgfortran/generated/reshape_r16.c
trunk/libgfortran/generated/reshape_r4.c
trunk/libgfortran/generated/reshape_r8.c
trunk/libgfortran/generated/spread_c10.c
trunk/libgfortran/generated/spread_c16.c
trunk/libgfortran/generated/spread_c4.c
trunk/libgfortran/generated/spread_c8.c
trunk/libgfortran/generated/spread_i1.c
trunk/libgfortran/generated/spread_i16.c
trunk/libgfortran/generated/spread_i2.c
trunk/libgfortran/generated/spread_i4.c
trunk/libgfortran/generated/spread_i8.c
trunk/libgfortran/generated/spread_r10.c
trunk/libgfortran/generated/spread_r16.c
trunk/libgfortran/generated/spread_r4.c
trunk/libgfortran/generated/spread_r8.c
trunk/libgfortran/generated/sum_c10.c
trunk/libgfortran/generated/sum_c16.c
trunk/libgfortran/generated/sum_c4.c
trunk/libgfortran/generated/sum_c8.c
trunk/libgfortran/generated/sum_i1.c
trunk/libgfortran/generated/sum_i16.c
trunk/libgfortran/generated/sum_i2.c
trunk/libgfortran/generated/sum_i4.c
trunk/libgfortran/generated/sum_i8.c
trunk/libgfortran/generated/sum_r10.c
trunk/libgfortran/generated/sum_r16.c
trunk/libgfortran/generated/sum_r4.c
trunk/libgfortran/generated/sum_r8.c
trunk/libgfortran/intrinsics/reshape_generic.c
trunk/libgfortran/intrinsics/spread_generic.c
trunk/libgfortran/libgfortran.h
trunk/libgfortran/m4/iforeach-s.m4
trunk/libgfortran/m4/iforeach.m4
trunk/libgfortran/m4/ifunction-s.m4
trunk/libgfortran/m4/ifunction-s2.m4
trunk/libgfortran/m4/ifunction.m4
trunk/libgfortran/m4/ifunction_logical.m4
trunk/libgfortran/m4/reshape.m4
trunk/libgfortran/m4/spread.m4
>From gcc-bugs-return-606272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 20:27:16 2018
Return-Path: <gcc-bugs-return-606272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43454 invoked by alias); 1 Jun 2018 20:27:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 43415 invoked by uid 48); 1 Jun 2018 20:27:11 -0000
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/86030] New: specs file processing does not create response files for input directories
Date: Fri, 01 Jun 2018 20:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: driver
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tnfchris at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget
Message-ID: <bug-86030-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00067.txt.bz2
Content-length: 1029
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86030
Bug ID: 86030
Summary: specs file processing does not create response files
for input directories
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: driver
Assignee: unassigned at gcc dot gnu.org
Reporter: tnfchris at gcc dot gnu.org
Target Milestone: ---
Target: mingw32
Similar to #45157 and #45749,
GCC does not use response files for %D and %I handling (see do_spec_1), so if
you have a project which contrains a lot of Includes or library directories cc1
or collect2 respectively will overflow the commandline limit on Windows and
error out.
It looks like a similar check/call as handling %i and %o needs to be added for
%D and %I (calling create_at_file to create response files for these).
This is causing problems for the GHC Haskell compiler when lots of packages are
used.
>From gcc-bugs-return-606273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 20:35:02 2018
Return-Path: <gcc-bugs-return-606273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66238 invoked by alias); 1 Jun 2018 20:35:01 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 63439 invoked by uid 48); 1 Jun 2018 20:34:57 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/58281] Problem with explicitly instantiated constexpr template functions
Date: Fri, 01 Jun 2018 20:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.8.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc dependson
Message-ID: <bug-58281-4-s6O0gAIaoB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58281-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58281-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00068.txt.bz2
Content-length: 797
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58281
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
Depends on| |65942
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
This was fixed by the patch for bug 65942, because not instantiating the
constexpr function early in mark_used meant that it went to
note_vague_linkage_fn, and therefore got fixed up properly at EOF.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65942
[Bug 65942] [5/6 Regression] [C++14] cannot use std::function as comparator in
algorithms
>From gcc-bugs-return-606274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 20:50:09 2018
Return-Path: <gcc-bugs-return-606274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80991 invoked by alias); 1 Jun 2018 20:50:09 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 80895 invoked by uid 55); 1 Jun 2018 20:50:04 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/58281] Problem with explicitly instantiated constexpr template functions
Date: Fri, 01 Jun 2018 20:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.8.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-58281-4-i6tKgI33D4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58281-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58281-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00069.txt.bz2
Content-length: 441
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58281
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jun 1 20:49:33 2018
New Revision: 261085
URL: https://gcc.gnu.org/viewcvs?rev=261085&root=gcc&view=rev
Log:
PR c++/58281 - explicit instantiation of constexpr
* pt.c (mark_decl_instantiated): Clear DECL_EXTERNAL.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
>From gcc-bugs-return-606275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 21:11:09 2018
Return-Path: <gcc-bugs-return-606275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37714 invoked by alias); 1 Jun 2018 21:11:09 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 37663 invoked by uid 48); 1 Jun 2018 21:11:04 -0000
From: "tavianator at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86029] gcc -O3 make very slow product
Date: Fri, 01 Jun 2018 21:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tavianator at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-86029-4-njKEUnEE2b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86029-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86029-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00070.txt.bz2
Content-length: 2583
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86029
Tavian Barnes <tavianator at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tavianator at gmail dot com
--- Comment #1 from Tavian Barnes <tavianator at gmail dot com> ---
Maybe a dupe of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70291? In the -O3
version, __mulsc3() dominates the profile.
â for(int i=0; i<=decimate_taps_length; i++) decim +=
samplebuf[i] * decimate_taps[i];
0.20 â430:âââvmovss 0x4(%r13,%rbx,1),%xmm1
3.63 â â vmovss 0x0(%r13,%rbx,1),%xmm0
12.35 â â vmovss 0x4(%r12,%rbx,1),%xmm3
0.31 â â vmovss (%r12,%rbx,1),%xmm2
0.02 â â add $0x8,%rbx
36.48 â ââ callq __mulsc3
0.01 â â vmovss -0x78(%rbp),%xmm6
0.00 â â vmovss -0x80(%rbp),%xmm4
23.70 â â vmovq %xmm0,-0x68(%rbp)
14.25 â â vaddss -0x68(%rbp),%xmm6,%xmm5
1.54 â â vaddss -0x64(%rbp),%xmm4,%xmm7
0.48 â â vmovss %xmm5,-0x78(%rbp)
5.92 â â vmovss %xmm7,-0x80(%rbp)
â âââcmp $0x2590,%rbx
0.01 â âââjne 430
At -Ofast,
â for(int i=0; i<=decimate_taps_length; i++) decim +=
samplebuf[i] * decimate_taps[i];
9.36 â5e0: vpermilps $0xf5,(%r12,%rax,1),%ymm0
15.56 â vpermilps $0xa0,(%r12,%rax,1),%ymm1
11.24 â vmulps (%rbx,%rax,1),%ymm0,%ymm0
17.55 â vpermilps $0xb1,(%rbx,%rax,1),%ymm4
3.31 â add $0x20,%rax
2.11 â vmovaps %ymm1,%ymm3
6.62 â vfmadd132ps %ymm4,%ymm0,%ymm3
3.79 â vfmsub231ps %ymm4,%ymm1,%ymm0
2.91 â vblendps $0xaa,%ymm0,%ymm3,%ymm0
10.75 â vaddps %ymm0,%ymm6,%ymm6
â cmp $0x2580,%rax
5.59 â â jne 5e0
0.01 â vmovss 0x258c(%rbx),%xmm0
0.01 â vmovss -0x70(%rbp),%xmm7
0.01 â vmovss %xmm5,-0xd0(%rbp)
0.05 â vextractf128 $0x1,%ymm6,%xmm3
0.01 â vmovss 0x2588(%rbx),%xmm8
0.03 â vshufps $0xff,%xmm3,%xmm3,%xmm13
>From gcc-bugs-return-606276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 21:21:08 2018
Return-Path: <gcc-bugs-return-606276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83001 invoked by alias); 1 Jun 2018 21:21:08 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 82956 invoked by uid 48); 1 Jun 2018 21:21:03 -0000
From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86029] gcc -O3 make very slow product
Date: Fri, 01 Jun 2018 21:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ktkachov at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-86029-4-zuqKGMhM0b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86029-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86029-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00071.txt.bz2
Content-length: 2748
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86029
ktkachov at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ktkachov at gcc dot gnu.org
--- Comment #2 from ktkachov at gcc dot gnu.org ---
(In reply to Tavian Barnes from comment #1)
> Maybe a dupe of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70291? In the
> -O3 version, __mulsc3() dominates the profile.
>
> â for(int i=0; i<=decimate_taps_length; i++) decim +=
> samplebuf[i] * decimate_taps[i];
> 0.20 â430:âââvmovss 0x4(%r13,%rbx,1),%xmm1
> 3.63 â â vmovss 0x0(%r13,%rbx,1),%xmm0
> 12.35 â â vmovss 0x4(%r12,%rbx,1),%xmm3
> 0.31 â â vmovss (%r12,%rbx,1),%xmm2
> 0.02 â â add $0x8,%rbx
> 36.48 â ââ callq __mulsc3
> 0.01 â â vmovss -0x78(%rbp),%xmm6
> 0.00 â â vmovss -0x80(%rbp),%xmm4
> 23.70 â â vmovq %xmm0,-0x68(%rbp)
> 14.25 â â vaddss -0x68(%rbp),%xmm6,%xmm5
> 1.54 â â vaddss -0x64(%rbp),%xmm4,%xmm7
> 0.48 â â vmovss %xmm5,-0x78(%rbp)
> 5.92 â â vmovss %xmm7,-0x80(%rbp)
> â âââcmp $0x2590,%rbx
> 0.01 â âââjne 430
>
> At -Ofast,
>
> â for(int i=0; i<=decimate_taps_length; i++) decim +=
> samplebuf[i] * decimate_taps[i];
> 9.36 â5e0: vpermilps $0xf5,(%r12,%rax,1),%ymm0
> 15.56 â vpermilps $0xa0,(%r12,%rax,1),%ymm1
> 11.24 â vmulps (%rbx,%rax,1),%ymm0,%ymm0
> 17.55 â vpermilps $0xb1,(%rbx,%rax,1),%ymm4
> 3.31 â add $0x20,%rax
> 2.11 â vmovaps %ymm1,%ymm3
> 6.62 â vfmadd132ps %ymm4,%ymm0,%ymm3
> 3.79 â vfmsub231ps %ymm4,%ymm1,%ymm0
> 2.91 â vblendps $0xaa,%ymm0,%ymm3,%ymm0
> 10.75 â vaddps %ymm0,%ymm6,%ymm6
> â cmp $0x2580,%rax
> 5.59 â â jne 5e0
> 0.01 â vmovss 0x258c(%rbx),%xmm0
> 0.01 â vmovss -0x70(%rbp),%xmm7
> 0.01 â vmovss %xmm5,-0xd0(%rbp)
> 0.05 â vextractf128 $0x1,%ymm6,%xmm3
> 0.01 â vmovss 0x2588(%rbx),%xmm8
> 0.03 â vshufps $0xff,%xmm3,%xmm3,%xmm13
Looks like so. Could you try this out with current trunk?
>From gcc-bugs-return-606277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 22:25:03 2018
Return-Path: <gcc-bugs-return-606277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29768 invoked by alias); 1 Jun 2018 22:25:02 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 29555 invoked by uid 48); 1 Jun 2018 22:24:44 -0000
From: "patrick at motec dot com.au" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86011] Inefficient code generated for ldivmod with constant value
Date: Fri, 01 Jun 2018 22:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 7.2.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: patrick at motec dot com.au
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86011-4-BjYYqBMGSe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86011-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86011-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00072.txt.bz2
Content-length: 1435
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86011
--- Comment #2 from Patrick Oppenlander <patrick at motec dot com.au> ---
Sure,
# cat test.c
struct foo { long a, b; };
struct foo test(long long x)
{
return (struct foo){x / 77, x % 77};
}
# gcc --version
gcc (GCC) 8.1.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# gcc -c -O2 test.c
# objdump -d test.o
test.o: file format elf32-littlearm
Disassembly of section .text:
00000000 <test>:
0: e92d40d0 push {r4, r6, r7, lr}
4: e1a06002 mov r6, r2
8: e1a07003 mov r7, r3
c: e1a04000 mov r4, r0
10: e3a0204d mov r2, #77 ; 0x4d
14: e3a03000 mov r3, #0
18: e1a00006 mov r0, r6
1c: e1a01007 mov r1, r7
20: ebfffffe bl 0 <__aeabi_ldivmod>
24: e1a01007 mov r1, r7
28: e3a0204d mov r2, #77 ; 0x4d
2c: e3a03000 mov r3, #0
30: e5840000 str r0, [r4]
34: e1a00006 mov r0, r6
38: ebfffffe bl 0 <__aeabi_ldivmod>
3c: e1a00004 mov r0, r4
40: e5842004 str r2, [r4, #4]
44: e8bd80d0 pop {r4, r6, r7, pc}
Looks like the same problem is still there.
>From gcc-bugs-return-606278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 22:49:36 2018
Return-Path: <gcc-bugs-return-606278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89631 invoked by alias); 1 Jun 2018 22:49:35 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 89552 invoked by uid 55); 1 Jun 2018 22:49:30 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85873] [8/9 regression] GCC omits array constant in .rodata causing a segmentation fault.
Date: Fri, 01 Jun 2018 22:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85873-4-0QcRVRpJMI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85873-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85873-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00073.txt.bz2
Content-length: 625
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85873
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jun 1 22:48:58 2018
New Revision: 261091
URL: https://gcc.gnu.org/viewcvs?rev=261091&root=gcc&view=rev
Log:
PR c++/85873 - constant initializer_list array not in .rodata.
* call.c (convert_like_real): Treat the backing array for an
initializer_list like a C99 compound literal.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/tree-ssa/array-temp1.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/call.c
>From gcc-bugs-return-606279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 22:50:27 2018
Return-Path: <gcc-bugs-return-606279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91214 invoked by alias); 1 Jun 2018 22:50:27 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 91159 invoked by uid 48); 1 Jun 2018 22:50:23 -0000
From: "vincent-gcc at vinc17 dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/85995] GCC defines __STDC__ and __STDC_VERSION__ even when used with options that break C conformance
Date: Fri, 01 Jun 2018 22:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vincent-gcc at vinc17 dot net
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85995-4-rwVcY1SBG4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85995-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85995-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00074.txt.bz2
Content-length: 947
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85995
--- Comment #4 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> ---
(In reply to joseph@codesourcery.com from comment #3)
> See trouble.texi, "Non-bugs" / "Certain Changes We Don't Want to Make",
> "Undefining @code{__STDC__} when @option{-ansi} is not used."
which answers my request.
Programmers normally use conditionals on '__STDC__' to ask whether
it is safe to use certain features of ISO C, such as function
prototypes or ISO token concatenation.
Precisely this is what I wish to do, with 2 versions of a macro: one that
assumes C conformance (requiring -fexcess-precision=standard with GCC, in
particular), and another one that doesn't but may be slower.
Since plain 'gcc' supports all the features of ISO C, the correct
answer to these questions is "yes".
This sentence is wrong by default, as it would imply
-fexcess-precision=standard!
>From gcc-bugs-return-606282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 22:56:55 2018
Return-Path: <gcc-bugs-return-606282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98718 invoked by alias); 1 Jun 2018 22:56:55 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 98442 invoked by uid 48); 1 Jun 2018 22:56:51 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85873] [8/9 regression] GCC omits array constant in .rodata causing a segmentation fault.
Date: Fri, 01 Jun 2018 22:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-85873-4-mvvw5dGT4u@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85873-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85873-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00077.txt.bz2
Content-length: 491
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85873
Bug 85873 depends on bug 67445, which changed state.
Bug 67445 Summary: New warning: returning std::initializer_list bound to temporary
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67445
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
>From gcc-bugs-return-606280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 22:56:04 2018
Return-Path: <gcc-bugs-return-606280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97466 invoked by alias); 1 Jun 2018 22:56:04 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 97401 invoked by uid 48); 1 Jun 2018 22:56:00 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85873] [8/9 regression] GCC omits array constant in .rodata causing a segmentation fault.
Date: Fri, 01 Jun 2018 22:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-85873-4-iUoidjLcow@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85873-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85873-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00075.txt.bz2
Content-length: 431
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85873
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed for 8.2.
>From gcc-bugs-return-606281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 22:56:54 2018
Return-Path: <gcc-bugs-return-606281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98484 invoked by alias); 1 Jun 2018 22:56:53 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 98380 invoked by uid 48); 1 Jun 2018 22:56:48 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67445] New warning: returning std::initializer_list bound to temporary
Date: Fri, 01 Jun 2018 22:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.9.4
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-67445-4-xvBKX2jqSm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67445-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00076.txt.bz2
Content-length: 566
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67445
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |jason at gcc dot gnu.org
Resolution|--- |FIXED
Target Milestone|--- |9.0
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Implemented for GCC 9.
>From gcc-bugs-return-606283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 22:59:14 2018
Return-Path: <gcc-bugs-return-606283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102163 invoked by alias); 1 Jun 2018 22:59:13 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 102095 invoked by uid 48); 1 Jun 2018 22:59:08 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67711] Memory corruption when reassigning value to initializer_list
Date: Fri, 01 Jun 2018 22:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.8.5
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cc resolution assigned_to target_milestone
Message-ID: <bug-67711-4-GrVs96PyLC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67711-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67711-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00078.txt.bz2
Content-length: 729
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67711
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|wrong-code |diagnostic
Status|NEW |RESOLVED
CC| |jason at gcc dot gnu.org
Resolution|--- |FIXED
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
Target Milestone|--- |9.0
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
GCC 9 will warn about this undefined code.
>From gcc-bugs-return-606284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 23:05:15 2018
Return-Path: <gcc-bugs-return-606284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15918 invoked by alias); 1 Jun 2018 23:05:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 15860 invoked by uid 55); 1 Jun 2018 23:05:10 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/85995] GCC defines __STDC__ and __STDC_VERSION__ even when used with options that break C conformance
Date: Fri, 01 Jun 2018 23:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85995-4-zrxAcIgWyO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85995-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85995-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00079.txt.bz2
Content-length: 1384
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85995
--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Fri, 1 Jun 2018, vincent-gcc at vinc17 dot net wrote:
> Programmers normally use conditionals on '__STDC__' to ask whether
> it is safe to use certain features of ISO C, such as function
> prototypes or ISO token concatenation.
>
> Precisely this is what I wish to do, with 2 versions of a macro: one that
> assumes C conformance (requiring -fexcess-precision=standard with GCC, in
> particular), and another one that doesn't but may be slower.
The typical features people want to test are ones for which __STDC__ gives
the correct answer. Likewise if they use __STDC_VERSION__ with a view to
testing for support for VLAs or compound literals, for example.
You can test for a conformance mode by testing __STRICT_ANSI__ (though
someone can still use -f options affecting conformance together with a
-std option that enables a conformance mode). You can also test
__GCC_IEC_559 > 0 if you wish to test that no options have been used that
specifically disable IEEE 754 floating-point features and that
floating-point exceptions and rounding modes are supported as far as GCC
knows (the precise rules for __GCC_IEC_559 depend on whether an option
such as -std=c11 is used as well).
>From gcc-bugs-return-606285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 01 23:09:54 2018
Return-Path: <gcc-bugs-return-606285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20197 invoked by alias); 1 Jun 2018 23:09:54 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 20118 invoked by uid 48); 1 Jun 2018 23:09:50 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBjKysvODU3NjRdIFs4LzkgUmVncmVzc2lvbl0gYm9ndXMg4oCYdGhp?= =?UTF-8?B?c+KAmSB3YXMgbm90IGNhcHR1cmVkIGZvciB0aGlzIGxhbWJkYSBmdW5jdGlv?= =?UTF-8?B?biBlcnJvcg==?Date: Fri, 01 Jun 2018 23:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on everconfirmed cc assigned_to
Message-ID: <bug-85764-4-zKVpoqoMK4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85764-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85764-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00080.txt.bz2
Content-length: 859
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85764
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-05-29
Ever confirmed|0 |1
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |jason at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
>From gcc-bugs-return-606286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 01:08:28 2018
Return-Path: <gcc-bugs-return-606286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38790 invoked by alias); 2 Jun 2018 01:08:27 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 38648 invoked by uid 55); 2 Jun 2018 01:08:19 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85816] [8/9 Regression] nested spread fails with "Integer overflow in xmallocarray"
Date: Sat, 02 Jun 2018 01:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85816-4-Uu5NURpPC6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85816-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85816-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00081.txt.bz2
Content-length: 27118
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85816
--- Comment #3 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Sat Jun 2 01:07:46 2018
New Revision: 261099
URL: https://gcc.gnu.org/viewcvs?rev=261099&root=gcc&view=rev
Log:
2018-06-01 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85816
PR fortran/85975
Backport from trunk
* libgfortran.h: Remove the GFC_DTYPE_COPY_SETRANK macro.
* m4/iforeach-s.m4: Directly set rank.
* m4/iforeach.m4: Ditto.
* m4/ifunction-s.m4: Ditto.
* m4/ifunction-s2.m4: Ditto.
* m4/ifunction.m4: Ditto.
* m4/ifunction_logical.m4: Ditto.
* m4/reshape.m4: Ditto.
* m4/spread.m4: Ditto.
* generated/all_l1.c: Regenerated.
* generated/all_l16.c: Ditto.
* generated/all_l2.c: Ditto.
* generated/all_l4.c: Ditto.
* generated/all_l8.c: Ditto.
* generated/any_l1.c: Ditto.
* generated/any_l16.c: Ditto.
* generated/any_l2.c: Ditto.
* generated/any_l4.c: Ditto.
* generated/any_l8.c: Ditto.
* generated/count_16_l.c: Ditto.
* generated/count_1_l.c: Ditto.
* generated/count_2_l.c: Ditto.
* generated/count_4_l.c: Ditto.
* generated/count_8_l.c: Ditto.
* generated/iall_i1.c: Ditto.
* generated/iall_i16.c: Ditto.
* generated/iall_i2.c: Ditto.
* generated/iall_i4.c: Ditto.
* generated/iall_i8.c: Ditto.
* generated/iany_i1.c: Ditto.
* generated/iany_i16.c: Ditto.
* generated/iany_i2.c: Ditto.
* generated/iany_i4.c: Ditto.
* generated/iany_i8.c: Ditto.
* generated/iparity_i1.c: Ditto.
* generated/iparity_i16.c: Ditto.
* generated/iparity_i2.c: Ditto.
* generated/iparity_i4.c: Ditto.
* generated/iparity_i8.c: Ditto.
* generated/maxloc0_16_i1.c: Ditto.
* generated/maxloc0_16_i16.c: Ditto.
* generated/maxloc0_16_i2.c: Ditto.
* generated/maxloc0_16_i4.c: Ditto.
* generated/maxloc0_16_i8.c: Ditto.
* generated/maxloc0_16_r10.c: Ditto.
* generated/maxloc0_16_r16.c: Ditto.
* generated/maxloc0_16_r4.c: Ditto.
* generated/maxloc0_16_r8.c: Ditto.
* generated/maxloc0_16_s1.c: Ditto.
* generated/maxloc0_16_s4.c: Ditto.
* generated/maxloc0_4_i1.c: Ditto.
* generated/maxloc0_4_i16.c: Ditto.
* generated/maxloc0_4_i2.c: Ditto.
* generated/maxloc0_4_i4.c: Ditto.
* generated/maxloc0_4_i8.c: Ditto.
* generated/maxloc0_4_r10.c: Ditto.
* generated/maxloc0_4_r16.c: Ditto.
* generated/maxloc0_4_r4.c: Ditto.
* generated/maxloc0_4_r8.c: Ditto.
* generated/maxloc0_4_s1.c: Ditto.
* generated/maxloc0_4_s4.c: Ditto.
* generated/maxloc0_8_i1.c: Ditto.
* generated/maxloc0_8_i16.c: Ditto.
* generated/maxloc0_8_i2.c: Ditto.
* generated/maxloc0_8_i4.c: Ditto.
* generated/maxloc0_8_i8.c: Ditto.
* generated/maxloc0_8_r10.c: Ditto.
* generated/maxloc0_8_r16.c: Ditto.
* generated/maxloc0_8_r4.c: Ditto.
* generated/maxloc0_8_r8.c: Ditto.
* generated/maxloc0_8_s1.c: Ditto.
* generated/maxloc0_8_s4.c: Ditto.
* generated/maxloc1_16_i1.c: Ditto.
* generated/maxloc1_16_i16.c: Ditto.
* generated/maxloc1_16_i2.c: Ditto.
* generated/maxloc1_16_i4.c: Ditto.
* generated/maxloc1_16_i8.c: Ditto.
* generated/maxloc1_16_r10.c: Ditto.
* generated/maxloc1_16_r16.c: Ditto.
* generated/maxloc1_16_r4.c: Ditto.
* generated/maxloc1_16_r8.c: Ditto.
* generated/maxloc1_16_s1.c: Ditto.
* generated/maxloc1_16_s4.c: Ditto.
* generated/maxloc1_4_i1.c: Ditto.
* generated/maxloc1_4_i16.c: Ditto.
* generated/maxloc1_4_i2.c: Ditto.
* generated/maxloc1_4_i4.c: Ditto.
* generated/maxloc1_4_i8.c: Ditto.
* generated/maxloc1_4_r10.c: Ditto.
* generated/maxloc1_4_r16.c: Ditto.
* generated/maxloc1_4_r4.c: Ditto.
* generated/maxloc1_4_r8.c: Ditto.
* generated/maxloc1_4_s1.c: Ditto.
* generated/maxloc1_4_s4.c: Ditto.
* generated/maxloc1_8_i1.c: Ditto.
* generated/maxloc1_8_i16.c: Ditto.
* generated/maxloc1_8_i2.c: Ditto.
* generated/maxloc1_8_i4.c: Ditto.
* generated/maxloc1_8_i8.c: Ditto.
* generated/maxloc1_8_r10.c: Ditto.
* generated/maxloc1_8_r16.c: Ditto.
* generated/maxloc1_8_r4.c: Ditto.
* generated/maxloc1_8_r8.c: Ditto.
* generated/maxloc1_8_s1.c: Ditto.
* generated/maxloc1_8_s4.c: Ditto.
* generated/maxval1_s1.c: Ditto.
* generated/maxval1_s4.c: Ditto.
* generated/maxval_i1.c: Ditto.
* generated/maxval_i16.c: Ditto.
* generated/maxval_i2.c: Ditto.
* generated/maxval_i4.c: Ditto.
* generated/maxval_i8.c: Ditto.
* generated/maxval_r10.c: Ditto.
* generated/maxval_r16.c: Ditto.
* generated/maxval_r4.c: Ditto.
* generated/maxval_r8.c: Ditto.
* generated/minloc0_16_i1.c: Ditto.
* generated/minloc0_16_i16.c: Ditto.
* generated/minloc0_16_i2.c: Ditto.
* generated/minloc0_16_i4.c: Ditto.
* generated/minloc0_16_i8.c: Ditto.
* generated/minloc0_16_r10.c: Ditto.
* generated/minloc0_16_r16.c: Ditto.
* generated/minloc0_16_r4.c: Ditto.
* generated/minloc0_16_r8.c: Ditto.
* generated/minloc0_16_s1.c: Ditto.
* generated/minloc0_16_s4.c: Ditto.
* generated/minloc0_4_i1.c: Ditto.
* generated/minloc0_4_i16.c: Ditto.
* generated/minloc0_4_i2.c: Ditto.
* generated/minloc0_4_i4.c: Ditto.
* generated/minloc0_4_i8.c: Ditto.
* generated/minloc0_4_r10.c: Ditto.
* generated/minloc0_4_r16.c: Ditto.
* generated/minloc0_4_r4.c: Ditto.
* generated/minloc0_4_r8.c: Ditto.
* generated/minloc0_4_s1.c: Ditto.
* generated/minloc0_4_s4.c: Ditto.
* generated/minloc0_8_i1.c: Ditto.
* generated/minloc0_8_i16.c: Ditto.
* generated/minloc0_8_i2.c: Ditto.
* generated/minloc0_8_i4.c: Ditto.
* generated/minloc0_8_i8.c: Ditto.
* generated/minloc0_8_r10.c: Ditto.
* generated/minloc0_8_r16.c: Ditto.
* generated/minloc0_8_r4.c: Ditto.
* generated/minloc0_8_r8.c: Ditto.
* generated/minloc0_8_s1.c: Ditto.
* generated/minloc0_8_s4.c: Ditto.
* generated/minloc1_16_i1.c: Ditto.
* generated/minloc1_16_i16.c: Ditto.
* generated/minloc1_16_i2.c: Ditto.
* generated/minloc1_16_i4.c: Ditto.
* generated/minloc1_16_i8.c: Ditto.
* generated/minloc1_16_r10.c: Ditto.
* generated/minloc1_16_r16.c: Ditto.
* generated/minloc1_16_r4.c: Ditto.
* generated/minloc1_16_r8.c: Ditto.
* generated/minloc1_16_s1.c: Ditto.
* generated/minloc1_16_s4.c: Ditto.
* generated/minloc1_4_i1.c: Ditto.
* generated/minloc1_4_i16.c: Ditto.
* generated/minloc1_4_i2.c: Ditto.
* generated/minloc1_4_i4.c: Ditto.
* generated/minloc1_4_i8.c: Ditto.
* generated/minloc1_4_r10.c: Ditto.
* generated/minloc1_4_r16.c: Ditto.
* generated/minloc1_4_r4.c: Ditto.
* generated/minloc1_4_r8.c: Ditto.
* generated/minloc1_4_s1.c: Ditto.
* generated/minloc1_4_s4.c: Ditto.
* generated/minloc1_8_i1.c: Ditto.
* generated/minloc1_8_i16.c: Ditto.
* generated/minloc1_8_i2.c: Ditto.
* generated/minloc1_8_i4.c: Ditto.
* generated/minloc1_8_i8.c: Ditto.
* generated/minloc1_8_r10.c: Ditto.
* generated/minloc1_8_r16.c: Ditto.
* generated/minloc1_8_r4.c: Ditto.
* generated/minloc1_8_r8.c: Ditto.
* generated/minloc1_8_s1.c: Ditto.
* generated/minloc1_8_s4.c: Ditto.
* generated/minval1_s1.c: Ditto.
* generated/minval1_s4.c: Ditto.
* generated/minval_i1.c: Ditto.
* generated/minval_i16.c: Ditto.
* generated/minval_i2.c: Ditto.
* generated/minval_i4.c: Ditto.
* generated/minval_i8.c: Ditto.
* generated/minval_r10.c: Ditto.
* generated/minval_r16.c: Ditto.
* generated/minval_r4.c: Ditto.
* generated/minval_r8.c: Ditto.
* generated/norm2_r10.c: Ditto.
* generated/norm2_r16.c: Ditto.
* generated/norm2_r4.c: Ditto.
* generated/norm2_r8.c: Ditto.
* generated/parity_l1.c: Ditto.
* generated/parity_l16.c: Ditto.
* generated/parity_l2.c: Ditto.
* generated/parity_l4.c: Ditto.
* generated/parity_l8.c: Ditto.
* generated/product_c10.c: Ditto.
* generated/product_c16.c: Ditto.
* generated/product_c4.c: Ditto.
* generated/product_c8.c: Ditto.
* generated/product_i1.c: Ditto.
* generated/product_i16.c: Ditto.
* generated/product_i2.c: Ditto.
* generated/product_i4.c: Ditto.
* generated/product_i8.c: Ditto.
* generated/product_r10.c: Ditto.
* generated/product_r16.c: Ditto.
* generated/product_r4.c: Ditto.
* generated/product_r8.c: Ditto.
* generated/reshape_c10.c: Ditto.
* generated/reshape_c16.c: Ditto.
* generated/reshape_c4.c: Ditto.
* generated/reshape_c8.c: Ditto.
* generated/reshape_i16.c: Ditto.
* generated/reshape_i4.c: Ditto.
* generated/reshape_i8.c: Ditto.
* generated/reshape_r10.c: Ditto.
* generated/reshape_r16.c: Ditto.
* generated/reshape_r4.c: Ditto.
* generated/reshape_r8.c: Ditto.
* generated/spread_c10.c: Ditto.
* generated/spread_c16.c: Ditto.
* generated/spread_c4.c: Ditto.
* generated/spread_c8.c: Ditto.
* generated/spread_i1.c: Ditto.
* generated/spread_i16.c: Ditto.
* generated/spread_i2.c: Ditto.
* generated/spread_i4.c: Ditto.
* generated/spread_i8.c: Ditto.
* generated/spread_r10.c: Ditto.
* generated/spread_r16.c: Ditto.
* generated/spread_r4.c: Ditto.
* generated/spread_r8.c: Ditto.
* generated/sum_c10.c: Ditto.
* generated/sum_c16.c: Ditto.
* generated/sum_c4.c: Ditto.
* generated/sum_c8.c: Ditto.
* generated/sum_i1.c: Ditto.
* generated/sum_i16.c: Ditto.
* generated/sum_i2.c: Ditto.
* generated/sum_i4.c: Ditto.
* generated/sum_i8.c: Ditto.
* generated/sum_r10.c: Ditto.
* generated/sum_r16.c: Ditto.
* generated/sum_r4.c: Ditto.
* generated/sum_r8.c: Ditto.
* intrinsics/reshape_generic.c: Ditto.
* intrinsics/spread_generic.c: Ditto.
2018-06-01 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85816
PR fortran/85975
Backport from trunk
* gfortran.dg/pr85816.f90: New test.
* gfortran.dg/pr85975.f90: New test.
Added:
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr85816.f90
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr85975.f90
Modified:
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/libgfortran/ChangeLog
branches/gcc-8-branch/libgfortran/generated/all_l1.c
branches/gcc-8-branch/libgfortran/generated/all_l16.c
branches/gcc-8-branch/libgfortran/generated/all_l2.c
branches/gcc-8-branch/libgfortran/generated/all_l4.c
branches/gcc-8-branch/libgfortran/generated/all_l8.c
branches/gcc-8-branch/libgfortran/generated/any_l1.c
branches/gcc-8-branch/libgfortran/generated/any_l16.c
branches/gcc-8-branch/libgfortran/generated/any_l2.c
branches/gcc-8-branch/libgfortran/generated/any_l4.c
branches/gcc-8-branch/libgfortran/generated/any_l8.c
branches/gcc-8-branch/libgfortran/generated/count_16_l.c
branches/gcc-8-branch/libgfortran/generated/count_1_l.c
branches/gcc-8-branch/libgfortran/generated/count_2_l.c
branches/gcc-8-branch/libgfortran/generated/count_4_l.c
branches/gcc-8-branch/libgfortran/generated/count_8_l.c
branches/gcc-8-branch/libgfortran/generated/iall_i1.c
branches/gcc-8-branch/libgfortran/generated/iall_i16.c
branches/gcc-8-branch/libgfortran/generated/iall_i2.c
branches/gcc-8-branch/libgfortran/generated/iall_i4.c
branches/gcc-8-branch/libgfortran/generated/iall_i8.c
branches/gcc-8-branch/libgfortran/generated/iany_i1.c
branches/gcc-8-branch/libgfortran/generated/iany_i16.c
branches/gcc-8-branch/libgfortran/generated/iany_i2.c
branches/gcc-8-branch/libgfortran/generated/iany_i4.c
branches/gcc-8-branch/libgfortran/generated/iany_i8.c
branches/gcc-8-branch/libgfortran/generated/iparity_i1.c
branches/gcc-8-branch/libgfortran/generated/iparity_i16.c
branches/gcc-8-branch/libgfortran/generated/iparity_i2.c
branches/gcc-8-branch/libgfortran/generated/iparity_i4.c
branches/gcc-8-branch/libgfortran/generated/iparity_i8.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_i1.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_i16.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_i2.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_i4.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_i8.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_r10.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_r16.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_r4.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_r8.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_s1.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_s4.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_i1.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_i16.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_i2.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_i4.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_i8.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_r10.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_r16.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_r4.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_r8.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_s1.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_s4.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_i1.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_i16.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_i2.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_i4.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_i8.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_r10.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_r16.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_r4.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_r8.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_s1.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_s4.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_i1.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_i16.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_i2.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_i4.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_i8.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_r10.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_r16.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_r4.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_r8.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_s1.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_s4.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_i1.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_i16.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_i2.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_i4.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_i8.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_r10.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_r16.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_r4.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_r8.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_s1.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_s4.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_i1.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_i16.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_i2.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_i4.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_i8.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_r10.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_r16.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_r4.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_r8.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_s1.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_s4.c
branches/gcc-8-branch/libgfortran/generated/maxval1_s1.c
branches/gcc-8-branch/libgfortran/generated/maxval1_s4.c
branches/gcc-8-branch/libgfortran/generated/maxval_i1.c
branches/gcc-8-branch/libgfortran/generated/maxval_i16.c
branches/gcc-8-branch/libgfortran/generated/maxval_i2.c
branches/gcc-8-branch/libgfortran/generated/maxval_i4.c
branches/gcc-8-branch/libgfortran/generated/maxval_i8.c
branches/gcc-8-branch/libgfortran/generated/maxval_r10.c
branches/gcc-8-branch/libgfortran/generated/maxval_r16.c
branches/gcc-8-branch/libgfortran/generated/maxval_r4.c
branches/gcc-8-branch/libgfortran/generated/maxval_r8.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_i1.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_i16.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_i2.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_i4.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_i8.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_r10.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_r16.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_r4.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_r8.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_s1.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_s4.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_i1.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_i16.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_i2.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_i4.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_i8.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_r10.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_r16.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_r4.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_r8.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_s1.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_s4.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_i1.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_i16.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_i2.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_i4.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_i8.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_r10.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_r16.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_r4.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_r8.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_s1.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_s4.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_i1.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_i16.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_i2.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_i4.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_i8.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_r10.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_r16.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_r4.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_r8.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_s1.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_s4.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_i1.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_i16.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_i2.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_i4.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_i8.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_r10.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_r16.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_r4.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_r8.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_s1.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_s4.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_i1.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_i16.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_i2.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_i4.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_i8.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_r10.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_r16.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_r4.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_r8.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_s1.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_s4.c
branches/gcc-8-branch/libgfortran/generated/minval1_s1.c
branches/gcc-8-branch/libgfortran/generated/minval1_s4.c
branches/gcc-8-branch/libgfortran/generated/minval_i1.c
branches/gcc-8-branch/libgfortran/generated/minval_i16.c
branches/gcc-8-branch/libgfortran/generated/minval_i2.c
branches/gcc-8-branch/libgfortran/generated/minval_i4.c
branches/gcc-8-branch/libgfortran/generated/minval_i8.c
branches/gcc-8-branch/libgfortran/generated/minval_r10.c
branches/gcc-8-branch/libgfortran/generated/minval_r16.c
branches/gcc-8-branch/libgfortran/generated/minval_r4.c
branches/gcc-8-branch/libgfortran/generated/minval_r8.c
branches/gcc-8-branch/libgfortran/generated/norm2_r10.c
branches/gcc-8-branch/libgfortran/generated/norm2_r16.c
branches/gcc-8-branch/libgfortran/generated/norm2_r4.c
branches/gcc-8-branch/libgfortran/generated/norm2_r8.c
branches/gcc-8-branch/libgfortran/generated/parity_l1.c
branches/gcc-8-branch/libgfortran/generated/parity_l16.c
branches/gcc-8-branch/libgfortran/generated/parity_l2.c
branches/gcc-8-branch/libgfortran/generated/parity_l4.c
branches/gcc-8-branch/libgfortran/generated/parity_l8.c
branches/gcc-8-branch/libgfortran/generated/product_c10.c
branches/gcc-8-branch/libgfortran/generated/product_c16.c
branches/gcc-8-branch/libgfortran/generated/product_c4.c
branches/gcc-8-branch/libgfortran/generated/product_c8.c
branches/gcc-8-branch/libgfortran/generated/product_i1.c
branches/gcc-8-branch/libgfortran/generated/product_i16.c
branches/gcc-8-branch/libgfortran/generated/product_i2.c
branches/gcc-8-branch/libgfortran/generated/product_i4.c
branches/gcc-8-branch/libgfortran/generated/product_i8.c
branches/gcc-8-branch/libgfortran/generated/product_r10.c
branches/gcc-8-branch/libgfortran/generated/product_r16.c
branches/gcc-8-branch/libgfortran/generated/product_r4.c
branches/gcc-8-branch/libgfortran/generated/product_r8.c
branches/gcc-8-branch/libgfortran/generated/reshape_c10.c
branches/gcc-8-branch/libgfortran/generated/reshape_c16.c
branches/gcc-8-branch/libgfortran/generated/reshape_c4.c
branches/gcc-8-branch/libgfortran/generated/reshape_c8.c
branches/gcc-8-branch/libgfortran/generated/reshape_i16.c
branches/gcc-8-branch/libgfortran/generated/reshape_i4.c
branches/gcc-8-branch/libgfortran/generated/reshape_i8.c
branches/gcc-8-branch/libgfortran/generated/reshape_r10.c
branches/gcc-8-branch/libgfortran/generated/reshape_r16.c
branches/gcc-8-branch/libgfortran/generated/reshape_r4.c
branches/gcc-8-branch/libgfortran/generated/reshape_r8.c
branches/gcc-8-branch/libgfortran/generated/spread_c10.c
branches/gcc-8-branch/libgfortran/generated/spread_c16.c
branches/gcc-8-branch/libgfortran/generated/spread_c4.c
branches/gcc-8-branch/libgfortran/generated/spread_c8.c
branches/gcc-8-branch/libgfortran/generated/spread_i1.c
branches/gcc-8-branch/libgfortran/generated/spread_i16.c
branches/gcc-8-branch/libgfortran/generated/spread_i2.c
branches/gcc-8-branch/libgfortran/generated/spread_i4.c
branches/gcc-8-branch/libgfortran/generated/spread_i8.c
branches/gcc-8-branch/libgfortran/generated/spread_r10.c
branches/gcc-8-branch/libgfortran/generated/spread_r16.c
branches/gcc-8-branch/libgfortran/generated/spread_r4.c
branches/gcc-8-branch/libgfortran/generated/spread_r8.c
branches/gcc-8-branch/libgfortran/generated/sum_c10.c
branches/gcc-8-branch/libgfortran/generated/sum_c16.c
branches/gcc-8-branch/libgfortran/generated/sum_c4.c
branches/gcc-8-branch/libgfortran/generated/sum_c8.c
branches/gcc-8-branch/libgfortran/generated/sum_i1.c
branches/gcc-8-branch/libgfortran/generated/sum_i16.c
branches/gcc-8-branch/libgfortran/generated/sum_i2.c
branches/gcc-8-branch/libgfortran/generated/sum_i4.c
branches/gcc-8-branch/libgfortran/generated/sum_i8.c
branches/gcc-8-branch/libgfortran/generated/sum_r10.c
branches/gcc-8-branch/libgfortran/generated/sum_r16.c
branches/gcc-8-branch/libgfortran/generated/sum_r4.c
branches/gcc-8-branch/libgfortran/generated/sum_r8.c
branches/gcc-8-branch/libgfortran/intrinsics/reshape_generic.c
branches/gcc-8-branch/libgfortran/intrinsics/spread_generic.c
branches/gcc-8-branch/libgfortran/libgfortran.h
branches/gcc-8-branch/libgfortran/m4/iforeach-s.m4
branches/gcc-8-branch/libgfortran/m4/iforeach.m4
branches/gcc-8-branch/libgfortran/m4/ifunction-s.m4
branches/gcc-8-branch/libgfortran/m4/ifunction-s2.m4
branches/gcc-8-branch/libgfortran/m4/ifunction.m4
branches/gcc-8-branch/libgfortran/m4/ifunction_logical.m4
branches/gcc-8-branch/libgfortran/m4/reshape.m4
branches/gcc-8-branch/libgfortran/m4/spread.m4
>From gcc-bugs-return-606287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 01:08:28 2018
Return-Path: <gcc-bugs-return-606287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38796 invoked by alias); 2 Jun 2018 01:08:28 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 38709 invoked by uid 55); 2 Jun 2018 01:08:21 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/85975] Incorrect size for spread array
Date: Sat, 02 Jun 2018 01:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85975-4-P1vPKgMQAR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85975-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85975-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00082.txt.bz2
Content-length: 27118
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85975
--- Comment #5 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Sat Jun 2 01:07:46 2018
New Revision: 261099
URL: https://gcc.gnu.org/viewcvs?rev=261099&root=gcc&view=rev
Log:
2018-06-01 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85816
PR fortran/85975
Backport from trunk
* libgfortran.h: Remove the GFC_DTYPE_COPY_SETRANK macro.
* m4/iforeach-s.m4: Directly set rank.
* m4/iforeach.m4: Ditto.
* m4/ifunction-s.m4: Ditto.
* m4/ifunction-s2.m4: Ditto.
* m4/ifunction.m4: Ditto.
* m4/ifunction_logical.m4: Ditto.
* m4/reshape.m4: Ditto.
* m4/spread.m4: Ditto.
* generated/all_l1.c: Regenerated.
* generated/all_l16.c: Ditto.
* generated/all_l2.c: Ditto.
* generated/all_l4.c: Ditto.
* generated/all_l8.c: Ditto.
* generated/any_l1.c: Ditto.
* generated/any_l16.c: Ditto.
* generated/any_l2.c: Ditto.
* generated/any_l4.c: Ditto.
* generated/any_l8.c: Ditto.
* generated/count_16_l.c: Ditto.
* generated/count_1_l.c: Ditto.
* generated/count_2_l.c: Ditto.
* generated/count_4_l.c: Ditto.
* generated/count_8_l.c: Ditto.
* generated/iall_i1.c: Ditto.
* generated/iall_i16.c: Ditto.
* generated/iall_i2.c: Ditto.
* generated/iall_i4.c: Ditto.
* generated/iall_i8.c: Ditto.
* generated/iany_i1.c: Ditto.
* generated/iany_i16.c: Ditto.
* generated/iany_i2.c: Ditto.
* generated/iany_i4.c: Ditto.
* generated/iany_i8.c: Ditto.
* generated/iparity_i1.c: Ditto.
* generated/iparity_i16.c: Ditto.
* generated/iparity_i2.c: Ditto.
* generated/iparity_i4.c: Ditto.
* generated/iparity_i8.c: Ditto.
* generated/maxloc0_16_i1.c: Ditto.
* generated/maxloc0_16_i16.c: Ditto.
* generated/maxloc0_16_i2.c: Ditto.
* generated/maxloc0_16_i4.c: Ditto.
* generated/maxloc0_16_i8.c: Ditto.
* generated/maxloc0_16_r10.c: Ditto.
* generated/maxloc0_16_r16.c: Ditto.
* generated/maxloc0_16_r4.c: Ditto.
* generated/maxloc0_16_r8.c: Ditto.
* generated/maxloc0_16_s1.c: Ditto.
* generated/maxloc0_16_s4.c: Ditto.
* generated/maxloc0_4_i1.c: Ditto.
* generated/maxloc0_4_i16.c: Ditto.
* generated/maxloc0_4_i2.c: Ditto.
* generated/maxloc0_4_i4.c: Ditto.
* generated/maxloc0_4_i8.c: Ditto.
* generated/maxloc0_4_r10.c: Ditto.
* generated/maxloc0_4_r16.c: Ditto.
* generated/maxloc0_4_r4.c: Ditto.
* generated/maxloc0_4_r8.c: Ditto.
* generated/maxloc0_4_s1.c: Ditto.
* generated/maxloc0_4_s4.c: Ditto.
* generated/maxloc0_8_i1.c: Ditto.
* generated/maxloc0_8_i16.c: Ditto.
* generated/maxloc0_8_i2.c: Ditto.
* generated/maxloc0_8_i4.c: Ditto.
* generated/maxloc0_8_i8.c: Ditto.
* generated/maxloc0_8_r10.c: Ditto.
* generated/maxloc0_8_r16.c: Ditto.
* generated/maxloc0_8_r4.c: Ditto.
* generated/maxloc0_8_r8.c: Ditto.
* generated/maxloc0_8_s1.c: Ditto.
* generated/maxloc0_8_s4.c: Ditto.
* generated/maxloc1_16_i1.c: Ditto.
* generated/maxloc1_16_i16.c: Ditto.
* generated/maxloc1_16_i2.c: Ditto.
* generated/maxloc1_16_i4.c: Ditto.
* generated/maxloc1_16_i8.c: Ditto.
* generated/maxloc1_16_r10.c: Ditto.
* generated/maxloc1_16_r16.c: Ditto.
* generated/maxloc1_16_r4.c: Ditto.
* generated/maxloc1_16_r8.c: Ditto.
* generated/maxloc1_16_s1.c: Ditto.
* generated/maxloc1_16_s4.c: Ditto.
* generated/maxloc1_4_i1.c: Ditto.
* generated/maxloc1_4_i16.c: Ditto.
* generated/maxloc1_4_i2.c: Ditto.
* generated/maxloc1_4_i4.c: Ditto.
* generated/maxloc1_4_i8.c: Ditto.
* generated/maxloc1_4_r10.c: Ditto.
* generated/maxloc1_4_r16.c: Ditto.
* generated/maxloc1_4_r4.c: Ditto.
* generated/maxloc1_4_r8.c: Ditto.
* generated/maxloc1_4_s1.c: Ditto.
* generated/maxloc1_4_s4.c: Ditto.
* generated/maxloc1_8_i1.c: Ditto.
* generated/maxloc1_8_i16.c: Ditto.
* generated/maxloc1_8_i2.c: Ditto.
* generated/maxloc1_8_i4.c: Ditto.
* generated/maxloc1_8_i8.c: Ditto.
* generated/maxloc1_8_r10.c: Ditto.
* generated/maxloc1_8_r16.c: Ditto.
* generated/maxloc1_8_r4.c: Ditto.
* generated/maxloc1_8_r8.c: Ditto.
* generated/maxloc1_8_s1.c: Ditto.
* generated/maxloc1_8_s4.c: Ditto.
* generated/maxval1_s1.c: Ditto.
* generated/maxval1_s4.c: Ditto.
* generated/maxval_i1.c: Ditto.
* generated/maxval_i16.c: Ditto.
* generated/maxval_i2.c: Ditto.
* generated/maxval_i4.c: Ditto.
* generated/maxval_i8.c: Ditto.
* generated/maxval_r10.c: Ditto.
* generated/maxval_r16.c: Ditto.
* generated/maxval_r4.c: Ditto.
* generated/maxval_r8.c: Ditto.
* generated/minloc0_16_i1.c: Ditto.
* generated/minloc0_16_i16.c: Ditto.
* generated/minloc0_16_i2.c: Ditto.
* generated/minloc0_16_i4.c: Ditto.
* generated/minloc0_16_i8.c: Ditto.
* generated/minloc0_16_r10.c: Ditto.
* generated/minloc0_16_r16.c: Ditto.
* generated/minloc0_16_r4.c: Ditto.
* generated/minloc0_16_r8.c: Ditto.
* generated/minloc0_16_s1.c: Ditto.
* generated/minloc0_16_s4.c: Ditto.
* generated/minloc0_4_i1.c: Ditto.
* generated/minloc0_4_i16.c: Ditto.
* generated/minloc0_4_i2.c: Ditto.
* generated/minloc0_4_i4.c: Ditto.
* generated/minloc0_4_i8.c: Ditto.
* generated/minloc0_4_r10.c: Ditto.
* generated/minloc0_4_r16.c: Ditto.
* generated/minloc0_4_r4.c: Ditto.
* generated/minloc0_4_r8.c: Ditto.
* generated/minloc0_4_s1.c: Ditto.
* generated/minloc0_4_s4.c: Ditto.
* generated/minloc0_8_i1.c: Ditto.
* generated/minloc0_8_i16.c: Ditto.
* generated/minloc0_8_i2.c: Ditto.
* generated/minloc0_8_i4.c: Ditto.
* generated/minloc0_8_i8.c: Ditto.
* generated/minloc0_8_r10.c: Ditto.
* generated/minloc0_8_r16.c: Ditto.
* generated/minloc0_8_r4.c: Ditto.
* generated/minloc0_8_r8.c: Ditto.
* generated/minloc0_8_s1.c: Ditto.
* generated/minloc0_8_s4.c: Ditto.
* generated/minloc1_16_i1.c: Ditto.
* generated/minloc1_16_i16.c: Ditto.
* generated/minloc1_16_i2.c: Ditto.
* generated/minloc1_16_i4.c: Ditto.
* generated/minloc1_16_i8.c: Ditto.
* generated/minloc1_16_r10.c: Ditto.
* generated/minloc1_16_r16.c: Ditto.
* generated/minloc1_16_r4.c: Ditto.
* generated/minloc1_16_r8.c: Ditto.
* generated/minloc1_16_s1.c: Ditto.
* generated/minloc1_16_s4.c: Ditto.
* generated/minloc1_4_i1.c: Ditto.
* generated/minloc1_4_i16.c: Ditto.
* generated/minloc1_4_i2.c: Ditto.
* generated/minloc1_4_i4.c: Ditto.
* generated/minloc1_4_i8.c: Ditto.
* generated/minloc1_4_r10.c: Ditto.
* generated/minloc1_4_r16.c: Ditto.
* generated/minloc1_4_r4.c: Ditto.
* generated/minloc1_4_r8.c: Ditto.
* generated/minloc1_4_s1.c: Ditto.
* generated/minloc1_4_s4.c: Ditto.
* generated/minloc1_8_i1.c: Ditto.
* generated/minloc1_8_i16.c: Ditto.
* generated/minloc1_8_i2.c: Ditto.
* generated/minloc1_8_i4.c: Ditto.
* generated/minloc1_8_i8.c: Ditto.
* generated/minloc1_8_r10.c: Ditto.
* generated/minloc1_8_r16.c: Ditto.
* generated/minloc1_8_r4.c: Ditto.
* generated/minloc1_8_r8.c: Ditto.
* generated/minloc1_8_s1.c: Ditto.
* generated/minloc1_8_s4.c: Ditto.
* generated/minval1_s1.c: Ditto.
* generated/minval1_s4.c: Ditto.
* generated/minval_i1.c: Ditto.
* generated/minval_i16.c: Ditto.
* generated/minval_i2.c: Ditto.
* generated/minval_i4.c: Ditto.
* generated/minval_i8.c: Ditto.
* generated/minval_r10.c: Ditto.
* generated/minval_r16.c: Ditto.
* generated/minval_r4.c: Ditto.
* generated/minval_r8.c: Ditto.
* generated/norm2_r10.c: Ditto.
* generated/norm2_r16.c: Ditto.
* generated/norm2_r4.c: Ditto.
* generated/norm2_r8.c: Ditto.
* generated/parity_l1.c: Ditto.
* generated/parity_l16.c: Ditto.
* generated/parity_l2.c: Ditto.
* generated/parity_l4.c: Ditto.
* generated/parity_l8.c: Ditto.
* generated/product_c10.c: Ditto.
* generated/product_c16.c: Ditto.
* generated/product_c4.c: Ditto.
* generated/product_c8.c: Ditto.
* generated/product_i1.c: Ditto.
* generated/product_i16.c: Ditto.
* generated/product_i2.c: Ditto.
* generated/product_i4.c: Ditto.
* generated/product_i8.c: Ditto.
* generated/product_r10.c: Ditto.
* generated/product_r16.c: Ditto.
* generated/product_r4.c: Ditto.
* generated/product_r8.c: Ditto.
* generated/reshape_c10.c: Ditto.
* generated/reshape_c16.c: Ditto.
* generated/reshape_c4.c: Ditto.
* generated/reshape_c8.c: Ditto.
* generated/reshape_i16.c: Ditto.
* generated/reshape_i4.c: Ditto.
* generated/reshape_i8.c: Ditto.
* generated/reshape_r10.c: Ditto.
* generated/reshape_r16.c: Ditto.
* generated/reshape_r4.c: Ditto.
* generated/reshape_r8.c: Ditto.
* generated/spread_c10.c: Ditto.
* generated/spread_c16.c: Ditto.
* generated/spread_c4.c: Ditto.
* generated/spread_c8.c: Ditto.
* generated/spread_i1.c: Ditto.
* generated/spread_i16.c: Ditto.
* generated/spread_i2.c: Ditto.
* generated/spread_i4.c: Ditto.
* generated/spread_i8.c: Ditto.
* generated/spread_r10.c: Ditto.
* generated/spread_r16.c: Ditto.
* generated/spread_r4.c: Ditto.
* generated/spread_r8.c: Ditto.
* generated/sum_c10.c: Ditto.
* generated/sum_c16.c: Ditto.
* generated/sum_c4.c: Ditto.
* generated/sum_c8.c: Ditto.
* generated/sum_i1.c: Ditto.
* generated/sum_i16.c: Ditto.
* generated/sum_i2.c: Ditto.
* generated/sum_i4.c: Ditto.
* generated/sum_i8.c: Ditto.
* generated/sum_r10.c: Ditto.
* generated/sum_r16.c: Ditto.
* generated/sum_r4.c: Ditto.
* generated/sum_r8.c: Ditto.
* intrinsics/reshape_generic.c: Ditto.
* intrinsics/spread_generic.c: Ditto.
2018-06-01 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85816
PR fortran/85975
Backport from trunk
* gfortran.dg/pr85816.f90: New test.
* gfortran.dg/pr85975.f90: New test.
Added:
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr85816.f90
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr85975.f90
Modified:
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/libgfortran/ChangeLog
branches/gcc-8-branch/libgfortran/generated/all_l1.c
branches/gcc-8-branch/libgfortran/generated/all_l16.c
branches/gcc-8-branch/libgfortran/generated/all_l2.c
branches/gcc-8-branch/libgfortran/generated/all_l4.c
branches/gcc-8-branch/libgfortran/generated/all_l8.c
branches/gcc-8-branch/libgfortran/generated/any_l1.c
branches/gcc-8-branch/libgfortran/generated/any_l16.c
branches/gcc-8-branch/libgfortran/generated/any_l2.c
branches/gcc-8-branch/libgfortran/generated/any_l4.c
branches/gcc-8-branch/libgfortran/generated/any_l8.c
branches/gcc-8-branch/libgfortran/generated/count_16_l.c
branches/gcc-8-branch/libgfortran/generated/count_1_l.c
branches/gcc-8-branch/libgfortran/generated/count_2_l.c
branches/gcc-8-branch/libgfortran/generated/count_4_l.c
branches/gcc-8-branch/libgfortran/generated/count_8_l.c
branches/gcc-8-branch/libgfortran/generated/iall_i1.c
branches/gcc-8-branch/libgfortran/generated/iall_i16.c
branches/gcc-8-branch/libgfortran/generated/iall_i2.c
branches/gcc-8-branch/libgfortran/generated/iall_i4.c
branches/gcc-8-branch/libgfortran/generated/iall_i8.c
branches/gcc-8-branch/libgfortran/generated/iany_i1.c
branches/gcc-8-branch/libgfortran/generated/iany_i16.c
branches/gcc-8-branch/libgfortran/generated/iany_i2.c
branches/gcc-8-branch/libgfortran/generated/iany_i4.c
branches/gcc-8-branch/libgfortran/generated/iany_i8.c
branches/gcc-8-branch/libgfortran/generated/iparity_i1.c
branches/gcc-8-branch/libgfortran/generated/iparity_i16.c
branches/gcc-8-branch/libgfortran/generated/iparity_i2.c
branches/gcc-8-branch/libgfortran/generated/iparity_i4.c
branches/gcc-8-branch/libgfortran/generated/iparity_i8.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_i1.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_i16.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_i2.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_i4.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_i8.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_r10.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_r16.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_r4.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_r8.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_s1.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_16_s4.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_i1.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_i16.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_i2.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_i4.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_i8.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_r10.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_r16.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_r4.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_r8.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_s1.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_4_s4.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_i1.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_i16.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_i2.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_i4.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_i8.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_r10.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_r16.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_r4.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_r8.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_s1.c
branches/gcc-8-branch/libgfortran/generated/maxloc0_8_s4.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_i1.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_i16.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_i2.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_i4.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_i8.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_r10.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_r16.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_r4.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_r8.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_s1.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_16_s4.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_i1.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_i16.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_i2.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_i4.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_i8.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_r10.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_r16.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_r4.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_r8.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_s1.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_4_s4.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_i1.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_i16.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_i2.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_i4.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_i8.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_r10.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_r16.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_r4.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_r8.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_s1.c
branches/gcc-8-branch/libgfortran/generated/maxloc1_8_s4.c
branches/gcc-8-branch/libgfortran/generated/maxval1_s1.c
branches/gcc-8-branch/libgfortran/generated/maxval1_s4.c
branches/gcc-8-branch/libgfortran/generated/maxval_i1.c
branches/gcc-8-branch/libgfortran/generated/maxval_i16.c
branches/gcc-8-branch/libgfortran/generated/maxval_i2.c
branches/gcc-8-branch/libgfortran/generated/maxval_i4.c
branches/gcc-8-branch/libgfortran/generated/maxval_i8.c
branches/gcc-8-branch/libgfortran/generated/maxval_r10.c
branches/gcc-8-branch/libgfortran/generated/maxval_r16.c
branches/gcc-8-branch/libgfortran/generated/maxval_r4.c
branches/gcc-8-branch/libgfortran/generated/maxval_r8.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_i1.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_i16.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_i2.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_i4.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_i8.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_r10.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_r16.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_r4.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_r8.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_s1.c
branches/gcc-8-branch/libgfortran/generated/minloc0_16_s4.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_i1.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_i16.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_i2.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_i4.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_i8.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_r10.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_r16.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_r4.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_r8.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_s1.c
branches/gcc-8-branch/libgfortran/generated/minloc0_4_s4.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_i1.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_i16.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_i2.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_i4.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_i8.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_r10.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_r16.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_r4.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_r8.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_s1.c
branches/gcc-8-branch/libgfortran/generated/minloc0_8_s4.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_i1.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_i16.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_i2.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_i4.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_i8.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_r10.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_r16.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_r4.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_r8.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_s1.c
branches/gcc-8-branch/libgfortran/generated/minloc1_16_s4.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_i1.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_i16.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_i2.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_i4.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_i8.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_r10.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_r16.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_r4.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_r8.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_s1.c
branches/gcc-8-branch/libgfortran/generated/minloc1_4_s4.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_i1.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_i16.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_i2.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_i4.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_i8.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_r10.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_r16.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_r4.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_r8.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_s1.c
branches/gcc-8-branch/libgfortran/generated/minloc1_8_s4.c
branches/gcc-8-branch/libgfortran/generated/minval1_s1.c
branches/gcc-8-branch/libgfortran/generated/minval1_s4.c
branches/gcc-8-branch/libgfortran/generated/minval_i1.c
branches/gcc-8-branch/libgfortran/generated/minval_i16.c
branches/gcc-8-branch/libgfortran/generated/minval_i2.c
branches/gcc-8-branch/libgfortran/generated/minval_i4.c
branches/gcc-8-branch/libgfortran/generated/minval_i8.c
branches/gcc-8-branch/libgfortran/generated/minval_r10.c
branches/gcc-8-branch/libgfortran/generated/minval_r16.c
branches/gcc-8-branch/libgfortran/generated/minval_r4.c
branches/gcc-8-branch/libgfortran/generated/minval_r8.c
branches/gcc-8-branch/libgfortran/generated/norm2_r10.c
branches/gcc-8-branch/libgfortran/generated/norm2_r16.c
branches/gcc-8-branch/libgfortran/generated/norm2_r4.c
branches/gcc-8-branch/libgfortran/generated/norm2_r8.c
branches/gcc-8-branch/libgfortran/generated/parity_l1.c
branches/gcc-8-branch/libgfortran/generated/parity_l16.c
branches/gcc-8-branch/libgfortran/generated/parity_l2.c
branches/gcc-8-branch/libgfortran/generated/parity_l4.c
branches/gcc-8-branch/libgfortran/generated/parity_l8.c
branches/gcc-8-branch/libgfortran/generated/product_c10.c
branches/gcc-8-branch/libgfortran/generated/product_c16.c
branches/gcc-8-branch/libgfortran/generated/product_c4.c
branches/gcc-8-branch/libgfortran/generated/product_c8.c
branches/gcc-8-branch/libgfortran/generated/product_i1.c
branches/gcc-8-branch/libgfortran/generated/product_i16.c
branches/gcc-8-branch/libgfortran/generated/product_i2.c
branches/gcc-8-branch/libgfortran/generated/product_i4.c
branches/gcc-8-branch/libgfortran/generated/product_i8.c
branches/gcc-8-branch/libgfortran/generated/product_r10.c
branches/gcc-8-branch/libgfortran/generated/product_r16.c
branches/gcc-8-branch/libgfortran/generated/product_r4.c
branches/gcc-8-branch/libgfortran/generated/product_r8.c
branches/gcc-8-branch/libgfortran/generated/reshape_c10.c
branches/gcc-8-branch/libgfortran/generated/reshape_c16.c
branches/gcc-8-branch/libgfortran/generated/reshape_c4.c
branches/gcc-8-branch/libgfortran/generated/reshape_c8.c
branches/gcc-8-branch/libgfortran/generated/reshape_i16.c
branches/gcc-8-branch/libgfortran/generated/reshape_i4.c
branches/gcc-8-branch/libgfortran/generated/reshape_i8.c
branches/gcc-8-branch/libgfortran/generated/reshape_r10.c
branches/gcc-8-branch/libgfortran/generated/reshape_r16.c
branches/gcc-8-branch/libgfortran/generated/reshape_r4.c
branches/gcc-8-branch/libgfortran/generated/reshape_r8.c
branches/gcc-8-branch/libgfortran/generated/spread_c10.c
branches/gcc-8-branch/libgfortran/generated/spread_c16.c
branches/gcc-8-branch/libgfortran/generated/spread_c4.c
branches/gcc-8-branch/libgfortran/generated/spread_c8.c
branches/gcc-8-branch/libgfortran/generated/spread_i1.c
branches/gcc-8-branch/libgfortran/generated/spread_i16.c
branches/gcc-8-branch/libgfortran/generated/spread_i2.c
branches/gcc-8-branch/libgfortran/generated/spread_i4.c
branches/gcc-8-branch/libgfortran/generated/spread_i8.c
branches/gcc-8-branch/libgfortran/generated/spread_r10.c
branches/gcc-8-branch/libgfortran/generated/spread_r16.c
branches/gcc-8-branch/libgfortran/generated/spread_r4.c
branches/gcc-8-branch/libgfortran/generated/spread_r8.c
branches/gcc-8-branch/libgfortran/generated/sum_c10.c
branches/gcc-8-branch/libgfortran/generated/sum_c16.c
branches/gcc-8-branch/libgfortran/generated/sum_c4.c
branches/gcc-8-branch/libgfortran/generated/sum_c8.c
branches/gcc-8-branch/libgfortran/generated/sum_i1.c
branches/gcc-8-branch/libgfortran/generated/sum_i16.c
branches/gcc-8-branch/libgfortran/generated/sum_i2.c
branches/gcc-8-branch/libgfortran/generated/sum_i4.c
branches/gcc-8-branch/libgfortran/generated/sum_i8.c
branches/gcc-8-branch/libgfortran/generated/sum_r10.c
branches/gcc-8-branch/libgfortran/generated/sum_r16.c
branches/gcc-8-branch/libgfortran/generated/sum_r4.c
branches/gcc-8-branch/libgfortran/generated/sum_r8.c
branches/gcc-8-branch/libgfortran/intrinsics/reshape_generic.c
branches/gcc-8-branch/libgfortran/intrinsics/spread_generic.c
branches/gcc-8-branch/libgfortran/libgfortran.h
branches/gcc-8-branch/libgfortran/m4/iforeach-s.m4
branches/gcc-8-branch/libgfortran/m4/iforeach.m4
branches/gcc-8-branch/libgfortran/m4/ifunction-s.m4
branches/gcc-8-branch/libgfortran/m4/ifunction-s2.m4
branches/gcc-8-branch/libgfortran/m4/ifunction.m4
branches/gcc-8-branch/libgfortran/m4/ifunction_logical.m4
branches/gcc-8-branch/libgfortran/m4/reshape.m4
branches/gcc-8-branch/libgfortran/m4/spread.m4
>From gcc-bugs-return-606288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 01:10:56 2018
Return-Path: <gcc-bugs-return-606288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42874 invoked by alias); 2 Jun 2018 01:10:56 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 42722 invoked by uid 48); 2 Jun 2018 01:10:51 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/85975] Incorrect size for spread array
Date: Sat, 02 Jun 2018 01:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-85975-4-ARM0E27hUI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85975-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85975-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00083.txt.bz2
Content-length: 458
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85975
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from kargl at gcc dot gnu.org ---
Fixed on trunk and 8-branch. Thanks for the bug report and the analysis.
>From gcc-bugs-return-606289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 01:10:56 2018
Return-Path: <gcc-bugs-return-606289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42881 invoked by alias); 2 Jun 2018 01:10:56 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 42742 invoked by uid 48); 2 Jun 2018 01:10:52 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85816] [8/9 Regression] nested spread fails with "Integer overflow in xmallocarray"
Date: Sat, 02 Jun 2018 01:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-85816-4-ycc54XNoCh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85816-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85816-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00084.txt.bz2
Content-length: 457
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85816
Bug 85816 depends on bug 85975, which changed state.
Bug 85975 Summary: Incorrect size for spread array
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85975
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
>From gcc-bugs-return-606290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 01:11:52 2018
Return-Path: <gcc-bugs-return-606290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45264 invoked by alias); 2 Jun 2018 01:11:52 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 45196 invoked by uid 48); 2 Jun 2018 01:11:48 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85816] [8/9 Regression] nested spread fails with "Integer overflow in xmallocarray"
Date: Sat, 02 Jun 2018 01:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-85816-4-OQnTb3twQa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85816-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85816-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00085.txt.bz2
Content-length: 441
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85816
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from kargl at gcc dot gnu.org ---
Fixed on trunk and 8-branch. Thanks for the bug report.
>From gcc-bugs-return-606291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 01:12:13 2018
Return-Path: <gcc-bugs-return-606291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46348 invoked by alias); 2 Jun 2018 01:12:12 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 46205 invoked by uid 48); 2 Jun 2018 01:12:08 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/85975] Incorrect size for spread array
Date: Sat, 02 Jun 2018 01:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-85975-4-3CbduXop0M@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85975-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85975-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00086.txt.bz2
Content-length: 274
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85975
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |8.2
>From gcc-bugs-return-606292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 02:43:39 2018
Return-Path: <gcc-bugs-return-606292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42238 invoked by alias); 2 Jun 2018 02:43:39 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 42169 invoked by uid 48); 2 Jun 2018 02:43:32 -0000
From: "bugdal at aerifal dot cx" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86026] Document and/or change allowed operations on integer representation of pointers
Date: Sat, 02 Jun 2018 02:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bugdal at aerifal dot cx
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-86026-4-ueVgPYdtoM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86026-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86026-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00087.txt.bz2
Content-length: 429
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86026
Rich Felker <bugdal at aerifal dot cx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugdal at aerifal dot cx
--- Comment #4 from Rich Felker <bugdal at aerifal dot cx> ---
I am strongly in favor of Alexander Monakov's proposal.
>From gcc-bugs-return-606293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 03:16:01 2018
Return-Path: <gcc-bugs-return-606293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96241 invoked by alias); 2 Jun 2018 03:16:01 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 96041 invoked by uid 55); 2 Jun 2018 03:15:40 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBjKysvODU3NjRdIFs4LzkgUmVncmVzc2lvbl0gYm9ndXMg4oCYdGhp?= =?UTF-8?B?c+KAmSB3YXMgbm90IGNhcHR1cmVkIGZvciB0aGlzIGxhbWJkYSBmdW5jdGlv?= =?UTF-8?B?biBlcnJvcg==?Date: Sat, 02 Jun 2018 03:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85764-4-pI6YdrOx4Y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85764-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85764-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00088.txt.bz2
Content-length: 575
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85764
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sat Jun 2 03:14:44 2018
New Revision: 261101
URL: https://gcc.gnu.org/viewcvs?rev=261101&root=gcc&view=rev
Log:
PR c++/85764 - bogus 'this' not captured error.
* lambda.c (resolvable_dummy_lambda): Use nonlambda_method_basetype.
(nonlambda_method_basetype): Handle NSDMI.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-this2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/lambda.c
>From gcc-bugs-return-606294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 04:08:25 2018
Return-Path: <gcc-bugs-return-606294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7903 invoked by alias); 2 Jun 2018 04:08:25 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 7808 invoked by uid 48); 2 Jun 2018 04:08:20 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/33915] iv folding fails with pointer iterations
Date: Sat, 02 Jun 2018 04:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 4.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rakdver at kam dot mff.cuni.cz
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-33915-4-phq9H8v9AZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-33915-4@http.gcc.gnu.org/bugzilla/>
References: <bug-33915-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00089.txt.bz2
Content-length: 799
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33915
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2018-06-02
Ever confirmed|0 |1
--- Comment #10 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #9)
> (In reply to Zdenek Dvorak from comment #3)
> > It does not reproduce for me on i686-linux, either. Do you pass any special
> > flags to configure?
>
> If it didn't reproduce for you does it make sense for you still to be the
> assignee for this?
WAITING on a reply
>From gcc-bugs-return-606295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 04:09:15 2018
Return-Path: <gcc-bugs-return-606295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10105 invoked by alias); 2 Jun 2018 04:09:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 10048 invoked by uid 48); 2 Jun 2018 04:09:11 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/44803] LIBRARY_PATH should work on cross-compilers
Date: Sat, 02 Jun 2018 04:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: felipe.contreras at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-44803-4-7YtVxpRFCr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-44803-4@http.gcc.gnu.org/bugzilla/>
References: <bug-44803-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00090.txt.bz2
Content-length: 923
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44803
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2018-06-02
Ever confirmed|0 |1
--- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #4)
> (In reply to Felipe Contreras from comment #3)
> > Is this not clear?
> >
> > It would be useful to cross-compile like this:
> >
> > export C_INCLUDE_PATH=/opt/arm/ffmpeg/include
> > export LIBRARY_PATH=/opt/arm/ffmpeg/lib
> >
> > But LIBRARY_PATH is ignored.
>
> this bug showed up in my Assignee_but_not_ASSIGNED saved search. Are you
> still working on this?
WAITING on a reply
>From gcc-bugs-return-606296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 06:08:59 2018
Return-Path: <gcc-bugs-return-606296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20425 invoked by alias); 2 Jun 2018 06:08:59 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 20347 invoked by uid 48); 2 Jun 2018 06:08:53 -0000
From: "hg2ecz at ham dot hu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86029] gcc -O3 make very slow product
Date: Sat, 02 Jun 2018 06:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hg2ecz at ham dot hu
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86029-4-rnZWHX5bUu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86029-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86029-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00091.txt.bz2
Content-length: 875
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86029
--- Comment #3 from Zsolt <hg2ecz at ham dot hu> ---
smallrx$ clang-6.0 -O3 -march=native rx.c -S
smallrx$ cat rx.s | grep mulsc
callq __mulsc3
callq __mulsc3
callq __mulsc3
smallrx$ gcc -O3 -march=native rx.c -S
smallrx$ cat rx.s | grep mulsc
call __mulsc3@PLT
call __mulsc3@PLT
call __mulsc3@PLT
What is the difference between gcc's and clang's __mulsc3?
More test result:
$ gcc -O1 -march=native rx.c -lm -o rx
$ dd if=/dev/urandom bs=1M count=30 | time -p ./rx 145500000 145525000 f >
/dev/null
... gcc -O1 isn't slower than gcc -O2 or gcc -O3 ???
$ clang-6.0 -O1 -march=native rx.c -lm -o rx
$ dd if=/dev/urandom bs=1M count=30 | time -p ./rx 145500000 145525000 f >
/dev/null
... 5x faster the "clang -O1" than "gcc -O3".
>From gcc-bugs-return-606297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 06:25:54 2018
Return-Path: <gcc-bugs-return-606297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49707 invoked by alias); 2 Jun 2018 06:25:54 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 49675 invoked by uid 48); 2 Jun 2018 06:25:50 -0000
From: "subscribe at teskor dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86031] New: bootstrap comparison failure on solaris i386
Date: Sat, 02 Jun 2018 06:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: subscribe at teskor dot de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86031-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00092.txt.bz2
Content-length: 2199
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86031
Bug ID: 86031
Summary: bootstrap comparison failure on solaris i386
Product: gcc
Version: 8.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: subscribe at teskor dot de
Target Milestone: ---
Configure line:
../configure --prefix=/opt/gcc-8.1.0-gas --with-gnu-as
--with-as=/opt/csw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld
--with-gmp=/opt/csw --with-mpfr=/opt/csw --with-mpc=/op
t/csw
$ uname -a
SunOS solaris-build1 5.10 Generic_147441-09 i86pc i386 i86pc
Then "make" leads to:
Comparing stages 2 and 3
warning: gcc/cc1obj-checksum.o differs
Bootstrap comparison failure!
i386-pc-solaris2.10/amd64/libgcc/avx_savms64_s.o differs
i386-pc-solaris2.10/amd64/libgcc/avx_resms64_s.o differs
i386-pc-solaris2.10/amd64/libgcc/avx_resms64x_s.o differs
i386-pc-solaris2.10/amd64/libgcc/avx_savms64f_s.o differs
i386-pc-solaris2.10/amd64/libgcc/avx_resms64f_s.o differs
i386-pc-solaris2.10/amd64/libgcc/avx_resms64fx_s.o differs
i386-pc-solaris2.10/amd64/libgcc/sse_savms64_s.o differs
i386-pc-solaris2.10/amd64/libgcc/sse_resms64_s.o differs
i386-pc-solaris2.10/amd64/libgcc/sse_resms64x_s.o differs
i386-pc-solaris2.10/amd64/libgcc/sse_savms64f_s.o differs
i386-pc-solaris2.10/amd64/libgcc/sse_resms64f_s.o differs
i386-pc-solaris2.10/amd64/libgcc/sse_resms64fx_s.o differs
i386-pc-solaris2.10/amd64/libgcc/avx_savms64.o differs
i386-pc-solaris2.10/amd64/libgcc/avx_resms64x.o differs
i386-pc-solaris2.10/amd64/libgcc/avx_resms64.o differs
i386-pc-solaris2.10/amd64/libgcc/avx_savms64f.o differs
i386-pc-solaris2.10/amd64/libgcc/avx_resms64f.o differs
i386-pc-solaris2.10/amd64/libgcc/avx_resms64fx.o differs
i386-pc-solaris2.10/amd64/libgcc/sse_resms64.o differs
i386-pc-solaris2.10/amd64/libgcc/sse_savms64f.o differs
i386-pc-solaris2.10/amd64/libgcc/sse_resms64x.o differs
i386-pc-solaris2.10/amd64/libgcc/sse_savms64.o differs
i386-pc-solaris2.10/amd64/libgcc/sse_resms64f.o differs
i386-pc-solaris2.10/amd64/libgcc/sse_resms64fx.o differs
>From gcc-bugs-return-606298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 08:49:44 2018
Return-Path: <gcc-bugs-return-606298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62889 invoked by alias); 2 Jun 2018 08:49:44 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 62637 invoked by uid 48); 2 Jun 2018 08:49:32 -0000
From: "peter at cordes dot ca" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/69615] 0 to limit signed range checks don't always use unsigned compare
Date: Sat, 02 Jun 2018 08:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 5.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: peter at cordes dot ca
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-69615-4-MTroWNttcy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69615-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69615-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00093.txt.bz2
Content-length: 708
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69615
--- Comment #5 from Peter Cordes <peter at cordes dot ca> ---
Update: https://godbolt.org/g/ZQDY1G
gcc7/8 optimizes this to and / cmp / jb, while gcc6.3 doesn't.
void rangecheck_var(int64_t x, int64_t lim2) {
//lim2 >>= 60;
lim2 &= 0xf; // let the compiler figure out the limited range of limit
if (x>=0 && x<lim2) ext();
}
gcc7 also fixed the -mtune=haswell bug where we got `movl %edi, %eax; subl $0,
%eax` instead of `test %edi,%edi`.
gcc8.1 still has the missed optimization with a compile-time constant
0..INT_MAX-1 range:
void r0_to_imax_1(int x){ if (x>=0 && x<=(INT_MAX-1)) ext(); } // clang and
gcc use 2 branches
>From gcc-bugs-return-606299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 09:05:43 2018
Return-Path: <gcc-bugs-return-606299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117922 invoked by alias); 2 Jun 2018 09:05:43 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 117859 invoked by uid 48); 2 Jun 2018 09:05:37 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85938] Spurious assert failure for matmul with reshaped array
Date: Sat, 02 Jun 2018 09:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-85938-4-xbuyzobMMB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85938-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85938-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00094.txt.bz2
Content-length: 755
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85938
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2018-06-02
CC| |kargl at gcc dot gnu.org,
| |pault at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
This seems to have been fixed recently, likely revision r261081 on trunk and
r261099 on 8.1.1 for PRs 85816 and 85975.
>From gcc-bugs-return-606300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 09:41:37 2018
Return-Path: <gcc-bugs-return-606300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17928 invoked by alias); 2 Jun 2018 09:41:37 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 17850 invoked by uid 48); 2 Jun 2018 09:41:30 -0000
From: "Kimon.Hoffmann at lawo dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85873] [8/9 regression] GCC omits array constant in .rodata causing a segmentation fault.
Date: Sat, 02 Jun 2018 09:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Kimon.Hoffmann at lawo dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85873-4-E2DGJ8QmV5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85873-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85873-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00095.txt.bz2
Content-length: 949
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85873
--- Comment #6 from Kimon.Hoffmann at lawo dot com ---
Thanks for investigating this report and clarifying the underlying issue!
I was afraid that this was a case of UB, but was misled by the cited standard
section that mentioned lifetime extension of the underlying array.
The situation as it stands is unfortunate though, since the standard does not
allow "static constexpr" variables in constexpr functions. Therefor I don't see
a standards compliant way to: return a constant array from a function (the
choice of which array to return possibly depending on a function argument)
that:
* Provides type erasure on the length of the returned array.
* Works in constexpr contexts.
* Does not copy values during runtime.
Anyway, thanks again for clarifying and I welcome the newly introduced warning
as it will probably catch a few usage errors that would be hard to find
otherwise.
>From gcc-bugs-return-606301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 13:02:37 2018
Return-Path: <gcc-bugs-return-606301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34848 invoked by alias); 2 Jun 2018 13:02:36 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 34790 invoked by uid 48); 2 Jun 2018 13:02:32 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86029] gcc -O3 make very slow product
Date: Sat, 02 Jun 2018 13:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-86029-4-2wcL55UZnX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86029-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86029-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00096.txt.bz2
Content-length: 657
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86029
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2018-06-02
CC| |hjl.tools at gmail dot com
Ever confirmed|0 |1
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
Since you used -march=native, please show the output of
# gcc -Ofast -march=native rx.c -lm -o rx-gcc-Ofast -v
>From gcc-bugs-return-606302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 13:23:56 2018
Return-Path: <gcc-bugs-return-606302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72233 invoked by alias); 2 Jun 2018 13:23:56 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 62539 invoked by uid 48); 2 Jun 2018 13:23:50 -0000
From: "ihorelo at mail dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86032] New: non standard copy operator is used for empty class
Date: Sat, 02 Jun 2018 13:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ihorelo at mail dot ru
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86032-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00097.txt.bz2
Content-length: 2308
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86032
Bug ID: 86032
Summary: non standard copy operator is used for empty class
Product: gcc
Version: 7.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ihorelo at mail dot ru
Target Milestone: ---
~$ g++-7 -v
Using built-in specs.
COLLECT_GCC=g++-7
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
7.3.0-16ubuntu3~16.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs
--enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr
--with-gcc-major-version-only --with-as=/usr/bin/x86_64-linux-gnu-as
--with-ld=/usr/bin/x86_64-linux-gnu-ld --program-suffix=-7
--program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib
--with-target-system-zlib --enable-objc-gc=auto --enable-multiarch
--disable-werror --with-arch-32=i686 --with-abi=m64
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic
--enable-offload-targets=nvptx-none --without-cuda-driver
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3~16.04.1)
code:
struct Empty
{
Empty& operator=(const Empty&) = default;
};
template<typename T>
class ShowType;
int main()
{
ShowType<decltype(Empty() = Empty())> example;
}
g++-7 shows this error:
error: aggregate âShowType<Empty> exampleâ has incomplete type and cannot be
defined
ShowType<decltype(Empty() = Empty())> example;
type of "example" is ShowType<Empty>, but it should be ShowType<Empty&>
>From gcc-bugs-return-606303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 16:35:23 2018
Return-Path: <gcc-bugs-return-606303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6569 invoked by alias); 2 Jun 2018 16:35:23 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 6481 invoked by uid 48); 2 Jun 2018 16:35:18 -0000
From: "m.diehl at mpie dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86033] New: Automated reallocation of empty string array fails with -fcheck=all
Date: Sat, 02 Jun 2018 16:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: m.diehl at mpie dot de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86033-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00098.txt.bz2
Content-length: 1745
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86033
Bug ID: 86033
Summary: Automated reallocation of empty string array fails
with -fcheck=all
Product: gcc
Version: 8.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: m.diehl at mpie dot de
Target Milestone: ---
The following code fails at runtime with
> Fortran runtime error: Different CHARACTER lengths (0/64) in array constructor
if I compile with
> -fcheck=all
in addition to
> gfortran -std=f2008ts
program test
implicit none
character(len=64), dimension(:), allocatable :: str64Array
character(len=64) :: str64
allocate(str64Array(0),source=str64) ! empty array
write(6,*) size(str64Array); flush(6) ! gives 0
write(6,*) len(str64Array(0)); flush(6) ! gives 64
str64 ='a'
str64Array = [str64Array,str64] ! causes error with -fcheck=all
write(6,*) size(str64Array); flush(6) ! gives 1 if compiled without
-fcheck=all
write(6,*) len(str64Array(1)); flush(6) ! gives 64 if compiled without
-fcheck=all
str64 ='b'
str64Array = [str64Array,str64]
write(6,*) size(str64Array); flush(6) ! gives 2 if compiled without
-fcheck=all
write(6,*) len(str64Array(1)); flush(6) ! gives 64 if compiled without
-fcheck=all
write(6,*) len(str64Array(2)); flush(6) ! gives 64 if compiled without
-fcheck=all
write(6,*) str64Array(1); flush(6) ! gives a if compiled without
-fcheck=all
write(6,*) str64Array(2); flush(6) ! gives b if compiled without
-fcheck=all
end program
>From gcc-bugs-return-606304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 16:41:48 2018
Return-Path: <gcc-bugs-return-606304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25084 invoked by alias); 2 Jun 2018 16:41:47 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 24857 invoked by uid 48); 2 Jun 2018 16:41:41 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/69615] 0 to limit signed range checks don't always use unsigned compare
Date: Sat, 02 Jun 2018 16:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 5.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-69615-4-yTLQp4DZTt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69615-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69615-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00099.txt.bz2
Content-length: 2187
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69615
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
For r0_to_imax_1 the following works for me:
--- gcc/fold-const.c.jj 2018-05-31 20:53:33.000000000 +0200
+++ gcc/fold-const.c 2018-06-02 18:36:23.795635887 +0200
@@ -5084,6 +5084,35 @@ merge_ranges (int *pin_p, tree *plow, tr
tem = high0, high0 = high1, high1 = tem;
}
+ /* If the second range is != high1 where high1 is the type maximum of
+ the type, try first merging with < high1 range. */
+ if (low1
+ && high1
+ && TREE_CODE (low1) == INTEGER_CST
+ && (TREE_CODE (TREE_TYPE (low1)) == INTEGER_TYPE
+ || (TREE_CODE (TREE_TYPE (low1)) == ENUMERAL_TYPE
+ && known_eq (TYPE_PRECISION (TREE_TYPE (low1)),
+ GET_MODE_BITSIZE (TYPE_MODE (TREE_TYPE (low1))))))
+ && tree_int_cst_equal (low1, TYPE_MAX_VALUE (TREE_TYPE (low1)))
+ && operand_equal_p (low1, high1, 0)
+ && merge_ranges (pin_p, plow, phigh, in0_p, low0, high0,
+ !in1_p, NULL_TREE, range_predecessor (low1)))
+ return true;
+
+ /* Similarly for first range != low0 where low0 is the type minimum of
+ the type, try first merging with > low0 range. */
+ if (low0
+ && high0
+ && (TREE_CODE (TREE_TYPE (low0)) == INTEGER_TYPE
+ || (TREE_CODE (TREE_TYPE (low0)) == ENUMERAL_TYPE
+ && known_eq (TYPE_PRECISION (TREE_TYPE (low0)),
+ GET_MODE_BITSIZE (TYPE_MODE (TREE_TYPE (low0))))))
+ && tree_int_cst_equal (low0, TYPE_MIN_VALUE (TREE_TYPE (low0)))
+ && operand_equal_p (low0, high0, 0)
+ && merge_ranges (pin_p, plow, phigh, !in0_p, range_successor (low0),
+ NULL_TREE, in1_p, low1, high1))
+ return true;
+
/* Now flag two cases, whether the ranges are disjoint or whether the
second range is totally subsumed in the first. Note that the tests
below are simplified by the ones above. */
The thing is that we canonicalize < INT_MAX (and <= INT_MAX-1) to != INT_MAX-1
and in the range code we'd better try the first form instead.
>From gcc-bugs-return-606305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 19:18:50 2018
Return-Path: <gcc-bugs-return-606305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104288 invoked by alias); 2 Jun 2018 19:18:50 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 104238 invoked by uid 48); 2 Jun 2018 19:18:45 -0000
From: "jan.kratochvil at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86013] std::vector::shrink_to_fit() could sometimes use realloc()
Date: Sat, 02 Jun 2018 19:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.1.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jan.kratochvil at redhat dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86013-4-VvxEbkmZq9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86013-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86013-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00100.txt.bz2
Content-length: 672
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86013
--- Comment #6 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
(In reply to Marc Glisse from comment #5)
> I can't find anywhere a guarantee that realloc doesn't move stuff when the
> new size is smaller than the old.
In practice it does not.
> What would be the point of shrink_to_fit() otherwise? It was created as a
> nicer alternative for people who were copying to a new temporary vector and
> swapping them.
It should be implemented in the most optimal way. ISO C++ standard does not
talk about any copying:
https://stackoverflow.com/questions/2664051/why-is-shrink-to-fit-non-binding/2664094
>From gcc-bugs-return-606306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 19:53:08 2018
Return-Path: <gcc-bugs-return-606306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19914 invoked by alias); 2 Jun 2018 19:53:08 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 19864 invoked by uid 48); 2 Jun 2018 19:53:03 -0000
From: "gerald at pfeifer dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/59184] Broken links
Date: Sat, 02 Jun 2018 19:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: web
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gerald at pfeifer dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc
Message-ID: <bug-59184-4-n2o6jBLB8x@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59184-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59184-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00101.txt.bz2
Content-length: 372
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59184
Gerald Pfeifer <gerald at pfeifer dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |gerald at pfeifer dot com
>From gcc-bugs-return-606307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 19:53:36 2018
Return-Path: <gcc-bugs-return-606307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21106 invoked by alias); 2 Jun 2018 19:53:35 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 20741 invoked by uid 48); 2 Jun 2018 19:53:30 -0000
From: "gerald at pfeifer dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/64549] Add a 404 page
Date: Sat, 02 Jun 2018 19:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: web
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gerald at pfeifer dot com
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc
Message-ID: <bug-64549-4-3NO1fnzIJH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64549-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64549-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00102.txt.bz2
Content-length: 371
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64549
Gerald Pfeifer <gerald at pfeifer dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
CC| |gerald at pfeifer dot com
>From gcc-bugs-return-606308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 19:53:51 2018
Return-Path: <gcc-bugs-return-606308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21860 invoked by alias); 2 Jun 2018 19:53:51 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 21823 invoked by uid 48); 2 Jun 2018 19:53:47 -0000
From: "gerald at pfeifer dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/65231] Dead link in man page to the status of C99 features
Date: Sat, 02 Jun 2018 19:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: web
X-Bugzilla-Version: 4.8.2
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: trivial
X-Bugzilla-Who: gerald at pfeifer dot com
X-Bugzilla-Status: SUSPENDED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc
Message-ID: <bug-65231-4-oPBVPoKVl4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65231-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65231-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00103.txt.bz2
Content-length: 373
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65231
Gerald Pfeifer <gerald at pfeifer dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |SUSPENDED
CC| |gerald at pfeifer dot com
>From gcc-bugs-return-606309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 19:54:17 2018
Return-Path: <gcc-bugs-return-606309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28847 invoked by alias); 2 Jun 2018 19:54:16 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 26543 invoked by uid 48); 2 Jun 2018 19:54:13 -0000
From: "gerald at pfeifer dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/64549] Add a 404 page
Date: Sat, 02 Jun 2018 19:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: web
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gerald at pfeifer dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-64549-4-KXSgZv5bjM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64549-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64549-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00104.txt.bz2
Content-length: 292
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64549
Gerald Pfeifer <gerald at pfeifer dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
>From gcc-bugs-return-606310-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 19:57:22 2018
Return-Path: <gcc-bugs-return-606310-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38203 invoked by alias); 2 Jun 2018 19:57:22 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 35545 invoked by uid 48); 2 Jun 2018 19:57:18 -0000
From: "gerald at pfeifer dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/65231] Dead link in man page to the status of C99 features
Date: Sat, 02 Jun 2018 19:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: web
X-Bugzilla-Version: 4.8.2
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: trivial
X-Bugzilla-Who: gerald at pfeifer dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WORKSFORME
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-65231-4-jmy5Bu751d@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65231-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65231-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00105.txt.bz2
Content-length: 591
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65231
Gerald Pfeifer <gerald at pfeifer dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|SUSPENDED |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #3 from Gerald Pfeifer <gerald at pfeifer dot com> ---
So, this appears to be an issue with the Debian package, not coming
from the GCC side of things.
Closing this report.
Sorry we could not be of further help, Roman.
>From gcc-bugs-return-606311-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 02 21:09:33 2018
Return-Path: <gcc-bugs-return-606311-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6521 invoked by alias); 2 Jun 2018 21:09:33 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 6476 invoked by uid 48); 2 Jun 2018 21:09:29 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85996] f951: internal compiler error: gfc_trans_select(): Bad type for case expr.
Date: Sat, 02 Jun 2018 21:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-85996-4-iERfYFypSr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85996-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85996-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00106.txt.bz2
Content-length: 582
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85996
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2018-06-02
CC| |kargl at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from kargl at gcc dot gnu.org ---
This is a 7000 line piece of code. Please submit a reduced testcase.
>From gcc-bugs-return-606312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 00:29:09 2018
Return-Path: <gcc-bugs-return-606312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27262 invoked by alias); 3 Jun 2018 00:29:09 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 27218 invoked by uid 48); 3 Jun 2018 00:29:05 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85761] [8/9 Regression] ICE on invalid in rtl with uncaptured constexpr
Date: Sun, 03 Jun 2018 00:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-85761-4-oUa6pZScGu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85761-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85761-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00107.txt.bz2
Content-length: 452
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85761
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |jason at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
>From gcc-bugs-return-606313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 00:36:45 2018
Return-Path: <gcc-bugs-return-606313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32478 invoked by alias); 3 Jun 2018 00:36:45 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 32440 invoked by uid 48); 3 Jun 2018 00:36:40 -0000
From: "su at cs dot ucdavis.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86034] New: wrong code at -Os on x86-64-linux-gnu in 64-bit mode
Date: Sun, 03 Jun 2018 00:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: su at cs dot ucdavis.edu
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86034-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00108.txt.bz2
Content-length: 1314
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86034
Bug ID: 86034
Summary: wrong code at -Os on x86-64-linux-gnu in 64-bit mode
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: su at cs dot ucdavis.edu
Target Milestone: ---
This appears to be a recent regression.
$ gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
COLLECT_LTO_WRAPPER=/home/su/software/tmp/gcc/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/9.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto
--prefix=/home/su/software/tmp/gcc/gcc-trunk --disable-bootstrap
Thread model: posix
gcc version 9.0.0 20180602 (experimental) [trunk revision 261116] (GCC)
$
$ gcctk -O1 small.c; ./a.out
$
$ gcctk -Os small.c
$ ./a.out
Aborted (core dumped)
$
-----------------------------------
struct A
{
int b;
int c:24;
int d:10;
int e;
} f;
int g;
void h ()
{
struct A i = { 0, 0, -1, 0 };
L:
f = i;
i.d = 0;
if (g < 0)
goto L;
}
int main ()
{
h ();
if (f.e != 0)
__builtin_abort ();
return 0;
}
>From gcc-bugs-return-606314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 00:38:20 2018
Return-Path: <gcc-bugs-return-606314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34024 invoked by alias); 3 Jun 2018 00:38:20 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 33957 invoked by uid 48); 3 Jun 2018 00:38:16 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85739] [8/9 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:3057
Date: Sun, 03 Jun 2018 00:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-85739-4-webNV1r1Gt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85739-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85739-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00109.txt.bz2
Content-length: 378
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85739
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
>From gcc-bugs-return-606315-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 00:40:42 2018
Return-Path: <gcc-bugs-return-606315-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39890 invoked by alias); 3 Jun 2018 00:40:41 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 39841 invoked by uid 48); 3 Jun 2018 00:40:37 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85996] f951: internal compiler error: gfc_trans_select(): Bad type for case expr.
Date: Sun, 03 Jun 2018 00:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-85996-4-dC7FD25Imy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85996-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85996-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00110.txt.bz2
Content-length: 220
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85996
--- Comment #2 from kargl at gcc dot gnu.org ---
Created attachment 44225
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44225&action=edit
reduced testcase
>From gcc-bugs-return-606316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 01:02:26 2018
Return-Path: <gcc-bugs-return-606316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29136 invoked by alias); 3 Jun 2018 01:02:26 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 29083 invoked by uid 55); 3 Jun 2018 01:02:21 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85761] [8/9 Regression] ICE on invalid in rtl with uncaptured constexpr
Date: Sun, 03 Jun 2018 01:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85761-4-tdL548fMIf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85761-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85761-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00111.txt.bz2
Content-length: 516
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85761
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sun Jun 3 01:01:47 2018
New Revision: 261121
URL: https://gcc.gnu.org/viewcvs?rev=261121&root=gcc&view=rev
Log:
PR c++/85761 - ICE with ill-formed use of const outer variable.
* expr.c (mark_use): Handle location wrappers.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-const8.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/expr.c
>From gcc-bugs-return-606317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 02:52:57 2018
Return-Path: <gcc-bugs-return-606317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46337 invoked by alias); 3 Jun 2018 02:52:56 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 46299 invoked by uid 48); 3 Jun 2018 02:52:50 -0000
From: "su at cs dot ucdavis.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86035] New: wrong code at -O2 and -O3 on x86_64-linux-gnu
Date: Sun, 03 Jun 2018 02:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: su at cs dot ucdavis.edu
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86035-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00112.txt.bz2
Content-length: 1374
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86035
Bug ID: 86035
Summary: wrong code at -O2 and -O3 on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: su at cs dot ucdavis.edu
Target Milestone: ---
This appears to be a recent regression, and might be the same as or related to
PR 86034.
$ gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
COLLECT_LTO_WRAPPER=/home/su/software/tmp/gcc/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/9.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto
--prefix=/home/su/software/tmp/gcc/gcc-trunk --disable-bootstrap
Thread model: posix
gcc version 9.0.0 20180602 (experimental) [trunk revision 261116] (GCC)
$
$ gcctk -O0 small.c; ./a.out
$
$
$ gcctk -O2 small.c
$ ./a.out
Aborted (core dumped)
$
-------------------------------------
int printf (const char *, ...);
struct
{
int a:2;
int b:9;
} c = { -1, 0 };
int d, e;
void f ()
{
printf (" ");
if (d < 1)
e = -1;
c.b = 0;
c.a = e;
}
int main ()
{
f ();
if (c.b != 0)
__builtin_abort ();
return 0;
}
>From gcc-bugs-return-606318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 04:43:35 2018
Return-Path: <gcc-bugs-return-606318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106605 invoked by alias); 3 Jun 2018 04:43:34 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 106466 invoked by uid 48); 3 Jun 2018 04:43:25 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86031] bootstrap comparison failure on solaris i386
Date: Sun, 03 Jun 2018 04:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: DUPLICATE
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-86031-4-K0Po8AWZUp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86031-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86031-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00113.txt.bz2
Content-length: 504
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86031
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 85994.
*** This bug has been marked as a duplicate of bug 85994 ***
>From gcc-bugs-return-606319-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 04:43:37 2018
Return-Path: <gcc-bugs-return-606319-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106629 invoked by alias); 3 Jun 2018 04:43:35 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 106536 invoked by uid 48); 3 Jun 2018 04:43:30 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/85994] Comparison failure in 64-bit libgcc *_{sav,res}ms64*.o on Solaris/x86
Date: Sun, 03 Jun 2018 04:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-85994-4-Hotd3rnDHl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85994-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85994-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00114.txt.bz2
Content-length: 445
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85994
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |subscribe at teskor dot de
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 86031 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-606320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 05:25:23 2018
Return-Path: <gcc-bugs-return-606320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12390 invoked by alias); 3 Jun 2018 05:25:19 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 12095 invoked by uid 55); 3 Jun 2018 05:24:57 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85938] Spurious assert failure for matmul with reshaped array
Date: Sun, 03 Jun 2018 05:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85938-4-M4MnbfMfQn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85938-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85938-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00115.txt.bz2
Content-length: 479
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85938
--- Comment #2 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Sun Jun 3 05:23:59 2018
New Revision: 261125
URL: https://gcc.gnu.org/viewcvs?rev=261125&root=gcc&view=rev
Log:
2018-06-02 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85938
* gfortran.dg/pr85938.f90: Fixed by revision r261081
Added:
trunk/gcc/testsuite/gfortran.dg/pr85938.f90
Modified:
trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-606321-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 05:28:57 2018
Return-Path: <gcc-bugs-return-606321-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19735 invoked by alias); 3 Jun 2018 05:28:57 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 19650 invoked by uid 48); 3 Jun 2018 05:28:51 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85938] Spurious assert failure for matmul with reshaped array
Date: Sun, 03 Jun 2018 05:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status resolution target_milestone
Message-ID: <bug-85938-4-fhF1PbC2Rh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85938-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85938-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00116.txt.bz2
Content-length: 596
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85938
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Status|WAITING |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |9.0
--- Comment #3 from kargl at gcc dot gnu.org ---
Code has been converted to something suitable for
the testsuite and committed. Thanks for the bug
report.
>From gcc-bugs-return-606322-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 07:44:05 2018
Return-Path: <gcc-bugs-return-606322-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94045 invoked by alias); 3 Jun 2018 07:44:04 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 93880 invoked by uid 48); 3 Jun 2018 07:44:00 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86034] [9 regression] wrong code for bit-field manipulation at -Os
Date: Sun, 03 Jun 2018 07:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc version target_milestone short_desc everconfirmed
Message-ID: <bug-86034-4-vWbmvKgZKA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86034-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86034-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00117.txt.bz2
Content-length: 879
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86034
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-03
CC| |ebotcazou at gcc dot gnu.org
Version|unknown |9.0
Target Milestone|--- |9.0
Summary|wrong code at -Os on |[9 regression] wrong code
|x86-64-linux-gnu in 64-bit |for bit-field manipulation
|mode |at -Os
Ever confirmed|0 |1
--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-606323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 07:52:12 2018
Return-Path: <gcc-bugs-return-606323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107377 invoked by alias); 3 Jun 2018 07:52:11 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 107293 invoked by uid 48); 3 Jun 2018 07:52:07 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86034] [9 regression] wrong code for bit-field manipulation at -Os
Date: Sun, 03 Jun 2018 07:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-86034-4-tDdXnRFS8C@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86034-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86034-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00118.txt.bz2
Content-length: 471
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86034
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org
--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Investigating.
>From gcc-bugs-return-606325-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 09:07:11 2018
Return-Path: <gcc-bugs-return-606325-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72031 invoked by alias); 3 Jun 2018 09:07:11 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 71795 invoked by uid 48); 3 Jun 2018 09:07:06 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86034] [9 regression] wrong code for bit-field manipulation at -Os
Date: Sun, 03 Jun 2018 09:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86034-4-ks9u6ACfFc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86034-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86034-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00120.txt.bz2
Content-length: 185
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86034
--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
*** Bug 86035 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-606324-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 09:07:10 2018
Return-Path: <gcc-bugs-return-606324-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71866 invoked by alias); 3 Jun 2018 09:07:10 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 71755 invoked by uid 48); 3 Jun 2018 09:07:05 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86035] wrong code at -O2 and -O3 on x86_64-linux-gnu
Date: Sun, 03 Jun 2018 09:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: DUPLICATE
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-86035-4-l8loO4OZxI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86035-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86035-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00119.txt.bz2
Content-length: 574
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86035
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |ebotcazou at gcc dot gnu.org
Resolution|--- |DUPLICATE
--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
.
*** This bug has been marked as a duplicate of bug 86034 ***
>From gcc-bugs-return-606326-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 10:02:41 2018
Return-Path: <gcc-bugs-return-606326-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75065 invoked by alias); 3 Jun 2018 10:02:41 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 74962 invoked by uid 48); 3 Jun 2018 10:02:35 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85996] [8/9 Regression] ICE: gfc_trans_select(): Bad type for case expr.
Date: Sun, 03 Jun 2018 10:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords priority bug_status cf_known_to_work target_milestone short_desc cf_known_to_fail
Message-ID: <bug-85996-4-yGLuFVFgr7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85996-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85996-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00121.txt.bz2
Content-length: 2105
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85996
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Priority|P3 |P4
Status|WAITING |NEW
Known to work| |6.4.0, 7.3.0
Target Milestone|--- |6.5
Summary|f951: internal compiler |[8/9 Regression] ICE:
|error: gfc_trans_select(): |gfc_trans_select(): Bad
|Bad type for case expr. |type for case expr.
Known to fail| |6.4.1, 7.3.1, 8.1.0, 9.0
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Nice reduction!-)
The ICE appeared between revisions r258235 (2018-03-04, OK) and r258362
(2018-03-08, ICE) and the commit has been back ported to the GCC6 and GCC7
branches.
(lldb) p code->expr1->ts.type
(bt) $0 = BT_UNKNOWN
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
* frame #0: 0x00000001001707f0 f951`gfc_trans_select(code=0x0000000143006230)
at trans-stmt.c:3310
frame #1: 0x00000001000e9748 f951`::trans_code(code=0x0000000143006230,
cond=0x0000000000000000) at trans.c:1940
frame #2: 0x0000000100119683
f951`gfc_generate_function_code(ns=<unavailable>) at trans-decl.c:6514
frame #3: 0x00000001000ee1d2
f951`gfc_generate_module_code(ns=0x0000000145003000) at trans.c:2222
frame #4: 0x000000010009ad2c f951`gfc_parse_file() at parse.c:6108
frame #5: 0x000000010009acc3 f951`gfc_parse_file()
frame #6: 0x00000001000e648c f951`::gfc_be_parse_file() at f95-lang.c:204
frame #7: 0x0000000100c4667a f951`::compile_file() at toplev.c:455
frame #8: 0x00000001012a6c7b f951`toplev::main(int, char**) at
toplev.c:2133
frame #9: 0x00000001012a87be f951`main(argc=2, argv=0x00007ffeefbff250) at
main.c:39
>From gcc-bugs-return-606327-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 11:16:07 2018
Return-Path: <gcc-bugs-return-606327-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63739 invoked by alias); 3 Jun 2018 11:16:07 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 63477 invoked by uid 55); 3 Jun 2018 11:15:45 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/36497] USE association, cray pointers and error checking
Date: Sun, 03 Jun 2018 11:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.4.0
X-Bugzilla-Keywords: accepts-invalid, diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-36497-4-Pl0cNhv6tj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-36497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-36497-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00122.txt.bz2
Content-length: 694
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36497
--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sun Jun 3 11:14:51 2018
New Revision: 261127
URL: https://gcc.gnu.org/viewcvs?rev=261127&root=gcc&view=rev
Log:
2018-06-03 Paul Thomas <pault@gcc.gnu.org>
PR fortran/36497
* decl.c (variable_decl): Use gfc_add_type for cray pointees.
2018-06-03 Paul Thomas <pault@gcc.gnu.org>
PR fortran/36497
* gfortran.dg/cray_pointer_12.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/cray_pointers_12.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/decl.c
trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-606328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 11:17:49 2018
Return-Path: <gcc-bugs-return-606328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65883 invoked by alias); 3 Jun 2018 11:17:48 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 65736 invoked by uid 48); 3 Jun 2018 11:17:44 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/36497] USE association, cray pointers and error checking
Date: Sun, 03 Jun 2018 11:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.4.0
X-Bugzilla-Keywords: accepts-invalid, diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-36497-4-RarAoZ0gJB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-36497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-36497-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00123.txt.bz2
Content-length: 545
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36497
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> ---
I thought that 8 days short of ten years after it was reported, this bug should
be fixed :-)
Thanks for the report, Tobias!
Paul
>From gcc-bugs-return-606329-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 11:51:47 2018
Return-Path: <gcc-bugs-return-606329-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59721 invoked by alias); 3 Jun 2018 11:51:47 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 59665 invoked by uid 55); 3 Jun 2018 11:51:43 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86034] [9 regression] wrong code for bit-field manipulation at -Os
Date: Sun, 03 Jun 2018 11:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86034-4-ZuATvaBsUF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86034-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86034-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00124.txt.bz2
Content-length: 766
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86034
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Sun Jun 3 11:51:10 2018
New Revision: 261128
URL: https://gcc.gnu.org/viewcvs?rev=261128&root=gcc&view=rev
Log:
PR tree-optimization/86034
* gimple-ssa-store-merging.c (output_merged_store): Convert the RHS to
the unsigned bitfield type in a bit insertion sequence if it does not
have a larger precision than the bitfield size.
(process_store): Also bypass widening conversions for BIT_INSERT_EXPR.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr86034.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple-ssa-store-merging.c
trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-606330-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 11:52:31 2018
Return-Path: <gcc-bugs-return-606330-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62592 invoked by alias); 3 Jun 2018 11:52:31 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 62537 invoked by uid 48); 3 Jun 2018 11:52:27 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86034] [9 regression] wrong code for bit-field manipulation at -Os
Date: Sun, 03 Jun 2018 11:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-86034-4-MHksD6dfiE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86034-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86034-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00125.txt.bz2
Content-length: 458
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86034
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Thanks for reporting the problem.
>From gcc-bugs-return-606331-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 12:30:47 2018
Return-Path: <gcc-bugs-return-606331-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124034 invoked by alias); 3 Jun 2018 12:30:34 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 123687 invoked by uid 48); 3 Jun 2018 12:30:03 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86033] Automated reallocation of empty string array fails with -fcheck=all
Date: Sun, 03 Jun 2018 12:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-86033-4-rTSj3Y4j8u@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86033-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86033-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00126.txt.bz2
Content-length: 582
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86033
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-03
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed from at least 4.8 up to trunk (9.0).
>From gcc-bugs-return-606332-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 12:37:41 2018
Return-Path: <gcc-bugs-return-606332-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27379 invoked by alias); 3 Jun 2018 12:37:41 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 27323 invoked by uid 55); 3 Jun 2018 12:37:37 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85739] [8/9 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:3057
Date: Sun, 03 Jun 2018 12:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85739-4-9UTctUhsJt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85739-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85739-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00127.txt.bz2
Content-length: 518
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85739
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sun Jun 3 12:37:03 2018
New Revision: 261129
URL: https://gcc.gnu.org/viewcvs?rev=261129&root=gcc&view=rev
Log:
PR c++/85739 - ICE with pointer to member template parm.
* cvt.c (perform_qualification_conversions): Use cp_fold_convert.
Added:
trunk/gcc/testsuite/g++.dg/template/ptrmem32.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cvt.c
>From gcc-bugs-return-606333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 14:09:12 2018
Return-Path: <gcc-bugs-return-606333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72648 invoked by alias); 3 Jun 2018 14:09:12 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 72596 invoked by uid 48); 3 Jun 2018 14:09:07 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/12411] Missed -Wsequence-point on functions (example reduced from historical GCC source)
Date: Sun, 03 Jun 2018 14:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 3.4.0
X-Bugzilla-Keywords: diagnostic, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-12411-4-GLE8b7pI3H@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-12411-4@http.gcc.gnu.org/bugzilla/>
References: <bug-12411-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00128.txt.bz2
Content-length: 1477
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12411
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|GCC depends on undefined |Missed -Wsequence-point on
|ISO C behavior (order of |functions (example reduced
|execution) |from historical GCC source)
--- Comment #6 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #5)
> (In reply to Dara Hazeghi from comment #1)
> > Confirmed. One example (cited in the thread) is:
> > gcc/bb-reorder.c:1056:
> > label = emit_label_before (gen_label_rtx (), get_insns ());
>
> (In reply to Manuel López-Ibáñez from comment #3)
> > This should be warned by -Wsequence-points.
>
> A reduced testcase based on that line still doesn't warn:
>
> $ cat 12411.c && /usr/local/bin/gcc -c -Wall -Wextra -pedantic
> -Wsequence-point 12411.c
>
> int gen_label_rtx(void);
> int get_insns(void);
> int emit_label_before(int, int);
>
> int foo(void)
> {
> int label;
> label = emit_label_before(gen_label_rtx(), get_insns());
> return label;
> }
> $
>
> bb-reorder.c no longer contains the code in question though, so at least
> this doesn't affect building gcc itself any longer (hopefully)
...thus, I should have retitled this... (doing so now)
>From gcc-bugs-return-606334-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 15:12:33 2018
Return-Path: <gcc-bugs-return-606334-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53054 invoked by alias); 3 Jun 2018 15:12:33 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 53013 invoked by uid 48); 3 Jun 2018 15:12:28 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85983] ICE in check_dtio_interface1, at fortran/interface.c:4748
Date: Sun, 03 Jun 2018 15:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85983-4-jrNK3Vp5FM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85983-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85983-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00129.txt.bz2
Content-length: 353
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85983
--- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Removing the assert at interface.c:4748 seems to fix this, giving the following
error:
z2.f03:14:16:
subroutine s2 (dtv, unit)
1
Error: Too few dummy arguments in DTIO procedure âs2â at (1)
>From gcc-bugs-return-606335-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 15:14:11 2018
Return-Path: <gcc-bugs-return-606335-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54666 invoked by alias); 3 Jun 2018 15:14:11 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 54623 invoked by uid 48); 3 Jun 2018 15:14:07 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85983] ICE in check_dtio_interface1, at fortran/interface.c:4748
Date: Sun, 03 Jun 2018 15:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-85983-4-4v5Z7iMYw2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85983-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85983-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00130.txt.bz2
Content-length: 386
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85983
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jvdelisle at gcc dot gnu.org
>From gcc-bugs-return-606336-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 16:02:19 2018
Return-Path: <gcc-bugs-return-606336-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35225 invoked by alias); 3 Jun 2018 16:02:19 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 35157 invoked by uid 55); 3 Jun 2018 16:02:14 -0000
From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85996] [8/9 Regression] ICE: gfc_trans_select(): Bad type for case expr.
Date: Sun, 03 Jun 2018 16:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85996-4-iQnPWooiNw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85996-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85996-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00131.txt.bz2
Content-length: 705
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85996
--- Comment #4 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Sun, Jun 03, 2018 at 10:02:35AM +0000, dominiq at lps dot ens.fr wrote:
>
> Nice reduction!-)
>
> The ICE appeared between revisions r258235 (2018-03-04, OK) and r258362
> (2018-03-08, ICE) and the commit has been back ported to the GCC6 and GCC7
> branches.
>
There are 3 commits to gcc/fortran in that range. I
reverted what would be the obvious one that might
cause a problem and the ICE still occurs.
The ICE disappears if uppercase_c and uppercase_s are
moved up in the source code to a location that comes
before any reference to the generic uppercase.
>From gcc-bugs-return-606337-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 16:18:39 2018
Return-Path: <gcc-bugs-return-606337-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52096 invoked by alias); 3 Jun 2018 16:18:39 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 51894 invoked by uid 48); 3 Jun 2018 16:18:33 -0000
From: "himself@claus-justus-heine.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82092] [8/9 regression] gcc fails to link genmodes on darwin (cfiStartsArray[i] != cfiStartsArray[i-1])
Date: Sun, 03 Jun 2018 16:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: himself@claus-justus-heine.de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82092-4-qrY5vRAX34@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82092-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82092-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00132.txt.bz2
Content-length: 1071
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82092
Claus-Justus Heine <himself@claus-justus-heine.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |himself@claus-justus-heine.
| |de
--- Comment #12 from Claus-Justus Heine <himself@claus-justus-heine.de> ---
Still no go, even with that patch:
./auto-host.h:2396:16: error: declaration does not declare anything
[-fpermissive]
#define rlim_t long
And:
In file included from
/Users/heinecj/Software/src/gcc-8.1.0/build/prev-x86_64-apple-darwin16.7.0/libstdc++-v3/include/cstring:42,
from ../../gcc/system.h:235,
from ../../gcc/genmodes.c:21:
/usr/include/string.h:134:7: note: previous declaration 'char* strsignal(int)'
char *strsignal(int __sig);
This is OSX Yosemite with that patch mentioned above applied,
enable-languages=c,c++,fortran and latest mpc, gmp, mpfr, isl.
Cheers
>From gcc-bugs-return-606338-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 17:05:47 2018
Return-Path: <gcc-bugs-return-606338-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80996 invoked by alias); 3 Jun 2018 17:05:47 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 80918 invoked by uid 48); 3 Jun 2018 17:05:43 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85996] [8/9 Regression] ICE: gfc_trans_select(): Bad type for case expr.
Date: Sun, 03 Jun 2018 17:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85996-4-sjHyDwtJUH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85996-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85996-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00133.txt.bz2
Content-length: 538
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85996
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> There are 3 commits to gcc/fortran in that range. I
> reverted what would be the obvious one that might
> cause a problem and the ICE still occurs.
Was it r258347?
> The ICE disappears if uppercase_c and uppercase_s are
> moved up in the source code to a location that comes
> before any reference to the generic uppercase.
This rings some bells, but I am unable to remember for which PR this happened.
>From gcc-bugs-return-606339-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 17:57:23 2018
Return-Path: <gcc-bugs-return-606339-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61688 invoked by alias); 3 Jun 2018 17:57:23 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 61627 invoked by uid 48); 3 Jun 2018 17:57:18 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/64397] [OOP] Runtime segfault with parenthesis expression passed to polymorphic dummy argument
Date: Sun, 03 Jun 2018 17:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.9.2
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc
Message-ID: <bug-64397-4-nA0IfRNUxe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64397-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64397-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00134.txt.bz2
Content-length: 517
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64397
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
CC| |pault at gcc dot gnu.org
--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
AFAICT this PR is now fixed, likely r251949 (pr34640 and friends).
>From gcc-bugs-return-606340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 18:11:48 2018
Return-Path: <gcc-bugs-return-606340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69325 invoked by alias); 3 Jun 2018 18:11:48 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 69260 invoked by uid 55); 3 Jun 2018 18:11:43 -0000
From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85996] [8/9 Regression] ICE: gfc_trans_select(): Bad type for case expr.
Date: Sun, 03 Jun 2018 18:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85996-4-lnZC69jZea@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85996-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85996-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00135.txt.bz2
Content-length: 600
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85996
--- Comment #6 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Sun, Jun 03, 2018 at 05:05:42PM +0000, dominiq at lps dot ens.fr wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85996
>
> --- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> > There are 3 commits to gcc/fortran in that range. I
> > reverted what would be the obvious one that might
> > cause a problem and the ICE still occurs.
>
> Was it r258347?
>
Whoops. Reverted in the wrong tree.
Appears to be related to 258347.
>From gcc-bugs-return-606341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 18:25:10 2018
Return-Path: <gcc-bugs-return-606341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75544 invoked by alias); 3 Jun 2018 18:25:10 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 75489 invoked by uid 48); 3 Jun 2018 18:25:04 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85996] [8/9 Regression] ICE: gfc_trans_select(): Bad type for case expr.
Date: Sun, 03 Jun 2018 18:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85996-4-7KGFAXz9qv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85996-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85996-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00136.txt.bz2
Content-length: 156
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85996
--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Could be related to pr85138.
>From gcc-bugs-return-606342-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 18:28:17 2018
Return-Path: <gcc-bugs-return-606342-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77283 invoked by alias); 3 Jun 2018 18:28:17 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 77244 invoked by uid 48); 3 Jun 2018 18:28:13 -0000
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86036] New: [9 Regression] wrong code with -mavx512bw
Date: Sun, 03 Jun 2018 18:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: zsojka at seznam dot cz
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget attachments.created
Message-ID: <bug-86036-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00137.txt.bz2
Content-length: 1630
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86036
Bug ID: 86036
Summary: [9 Regression] wrong code with -mavx512bw
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: zsojka at seznam dot cz
Target Milestone: ---
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 44226
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44226&action=edit
reduced testcase
Output:
$ x86_64-pc-linux-gnu-gcc -O -mavx512bw testcase.c
$ sde64 -- ./a.out
Aborted
$ x86_64-pc-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-261129-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/9.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--disable-bootstrap --with-cloog --with-ppl --with-isl
--build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld
--with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-261129-checking-yes-rtl-df-extra-nobootstrap-amd64
Thread model: posix
gcc version 9.0.0 20180603 (experimental) (GCC)
>From gcc-bugs-return-606343-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 18:54:17 2018
Return-Path: <gcc-bugs-return-606343-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65041 invoked by alias); 3 Jun 2018 18:54:17 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 64916 invoked by uid 48); 3 Jun 2018 18:54:10 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82092] [8/9 regression] gcc fails to link genmodes on darwin (cfiStartsArray[i] != cfiStartsArray[i-1])
Date: Sun, 03 Jun 2018 18:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82092-4-5UHlTJvr2l@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82092-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82092-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00138.txt.bz2
Content-length: 879
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82092
--- Comment #13 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Claus-Justus Heine from comment #12)
> Still no go, even with that patch:
>
> ./auto-host.h:2396:16: error: declaration does not declare anything
> [-fpermissive]
> #define rlim_t long
>
> And:
>
> In file included from
> /Users/heinecj/Software/src/gcc-8.1.0/build/prev-x86_64-apple-darwin16.7.0/
> libstdc++-v3/include/cstring:42,
> from ../../gcc/system.h:235,
> from ../../gcc/genmodes.c:21:
> /usr/include/string.h:134:7: note: previous declaration 'char*
> strsignal(int)'
> char *strsignal(int __sig);
>
> This is OSX Yosemite with that patch mentioned above applied,
> enable-languages=c,c++,fortran and latest mpc, gmp, mpfr, isl.
>
> Cheers
That might be a different issue...
>From gcc-bugs-return-606344-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 18:58:19 2018
Return-Path: <gcc-bugs-return-606344-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71968 invoked by alias); 3 Jun 2018 18:58:19 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 71929 invoked by uid 48); 3 Jun 2018 18:58:15 -0000
From: "subscribe at teskor dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86027] string literals get corrupted with -O3 and gas on solaris i386
Date: Sun, 03 Jun 2018 18:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: subscribe at teskor dot de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86027-4-qztea7bUxz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86027-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86027-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00139.txt.bz2
Content-length: 562
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86027
--- Comment #1 from Michael Teske <subscribe at teskor dot de> ---
Interestingly it works fine with gcc 8.1.0 and
../configure --prefix=/opt/gcc-8.1.0-gas --with-gnu-as
--with-as=/opt/csw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld
--with-gmp=/opt/csw --with-mpfr=/opt/csw --with-mpc=/opt/csw
I retried with the same configure options and 7.3.0 just to be sure, and the
problem still happens.
So, it must have been fixed inbetween. Unfortunately, 8.1. is not yet an option
for me.
>From gcc-bugs-return-606345-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 19:43:45 2018
Return-Path: <gcc-bugs-return-606345-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63035 invoked by alias); 3 Jun 2018 19:43:45 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 62947 invoked by uid 48); 3 Jun 2018 19:43:39 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85958] Make const qualifier error clear
Date: Sun, 03 Jun 2018 19:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85958-4-e1SgSfPKW6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85958-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85958-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00140.txt.bz2
Content-length: 1118
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85958
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonny Grant from comment #5)
> I personally feel "bind" is not a word any programming course teaches, we
> say "passing parameters" or "passing arguments".
You pass arguments, which initialize parameters. Initialization of references
is called binding.
>
> In addition, I feel we don't think we really need the word "reference"
If the parameter type wasn't a reference there would be no problem. Omitting
the reason it fails seems unhelpful.
> Therefore, I suggest the following:
>
> $ g++ -o main main.cpp -Wall -Werror -Wconversion
> main.cpp: In function âint main()â:
> main.cpp:11:25: error: cannot pass âconst intâ to non-const âint&â
No this is nonsense. You are not passing something to a reference, you are
passing it to the function. The object cannot be bound to the reference because
of the cv-qualifiers.
I'm keen to make the language clearer, but not by making it simply wrong about
what's happening!
>From gcc-bugs-return-606346-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 19:48:53 2018
Return-Path: <gcc-bugs-return-606346-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97666 invoked by alias); 3 Jun 2018 19:48:18 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 97394 invoked by uid 48); 3 Jun 2018 19:48:02 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86015] Better handling of iterator distances
Date: Sun, 03 Jun 2018 19:48:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86015-4-ihSj2t6vlj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00141.txt.bz2
Content-length: 428
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86015
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Every version of the standard says the same thing under iterator requirements:
"For every iterator type X for which equality is defined, there is a
corresponding signed integer type called the difference type of the iterator."
Your distance objects are class types, which are not signed integer types.
>From gcc-bugs-return-606347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 19:53:13 2018
Return-Path: <gcc-bugs-return-606347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103134 invoked by alias); 3 Jun 2018 19:53:13 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 103100 invoked by uid 48); 3 Jun 2018 19:53:09 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86013] std::vector::shrink_to_fit() could sometimes use realloc()
Date: Sun, 03 Jun 2018 19:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.1.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86013-4-6y4ygQznW9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86013-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86013-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00142.txt.bz2
Content-length: 428
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86013
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The standard specifically says that if reallocation occurs then iterators and
points are invalidated, which is how it talks about copying to new storage.
You are making up an interpretation for shrink_to_fit which is novel, not
supported by the standard, and not intended by the designers of the feature.
>From gcc-bugs-return-606349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 20:02:14 2018
Return-Path: <gcc-bugs-return-606349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110106 invoked by alias); 3 Jun 2018 20:02:14 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 110043 invoked by uid 55); 3 Jun 2018 20:02:09 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85739] [8/9 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:3057
Date: Sun, 03 Jun 2018 20:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85739-4-aaPLKLE3MT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85739-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85739-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00144.txt.bz2
Content-length: 566
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85739
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sun Jun 3 20:01:37 2018
New Revision: 261132
URL: https://gcc.gnu.org/viewcvs?rev=261132&root=gcc&view=rev
Log:
PR c++/85739 - ICE with pointer to member template parm.
* cvt.c (perform_qualification_conversions): Use cp_fold_convert.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/template/ptrmem32.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/cvt.c
>From gcc-bugs-return-606348-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 20:02:04 2018
Return-Path: <gcc-bugs-return-606348-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109351 invoked by alias); 3 Jun 2018 20:02:04 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 109284 invoked by uid 55); 3 Jun 2018 20:02:00 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85761] [8/9 Regression] ICE on invalid in rtl with uncaptured constexpr
Date: Sun, 03 Jun 2018 20:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85761-4-SLZo0roLqo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85761-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85761-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00143.txt.bz2
Content-length: 564
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85761
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sun Jun 3 20:01:28 2018
New Revision: 261131
URL: https://gcc.gnu.org/viewcvs?rev=261131&root=gcc&view=rev
Log:
PR c++/85761 - ICE with ill-formed use of const outer variable.
* expr.c (mark_use): Handle location wrappers.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-const8.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/expr.c
>From gcc-bugs-return-606350-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 20:03:31 2018
Return-Path: <gcc-bugs-return-606350-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112678 invoked by alias); 3 Jun 2018 20:03:31 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 111407 invoked by uid 48); 3 Jun 2018 20:03:27 -0000
From: "gjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/85969] avr/gen-avr-mmcu-specs.c:56: unused function ?
Date: Sun, 03 Jun 2018 20:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: minor
X-Bugzilla-Who: gjl at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on everconfirmed bug_severity
Message-ID: <bug-85969-4-2vGzMUlWBJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85969-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85969-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00145.txt.bz2
Content-length: 1010
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85969
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2018-06-03
Ever confirmed|0 |1
Severity|normal |minor
--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Sorry, I cannot find str_prefix_p in, e.g.
http://gcc.gnu.org/viewcvs/gcc/trunk/gcc/config/avr/gen-avr-mmcu-texi.c?revision=256169&view=markup
Are you sure this isn't a problem which has been fixed long ago?
Moreover you should show how you configured the compilerr, e.g. as proposed in
the bug reporting hints at http://gcc.gnu.org/bugs/#howto and in particular
o the options given when GCC was configured/built
>From gcc-bugs-return-606351-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 20:09:17 2018
Return-Path: <gcc-bugs-return-606351-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123062 invoked by alias); 3 Jun 2018 20:09:16 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 123023 invoked by uid 48); 3 Jun 2018 20:09:12 -0000
From: "joshua.r.marshall.1991 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86015] Better handling of iterator distances
Date: Sun, 03 Jun 2018 20:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: joshua.r.marshall.1991 at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86015-4-q9SRJixMd9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00146.txt.bz2
Content-length: 464
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86015
--- Comment #6 from Josh Marshall <joshua.r.marshall.1991 at gmail dot com> ---
There is a kind of legacy manual specification, and a reason for that was for
tracking usage. What I'm working on is adapted from David Musser's 1997 code
which was using proposed and developmental stdlib code. So this functionality
was intended at one point, and there is some limited use in the greater
functionality.
>From gcc-bugs-return-606352-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 20:10:55 2018
Return-Path: <gcc-bugs-return-606352-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124579 invoked by alias); 3 Jun 2018 20:10:54 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 124534 invoked by uid 48); 3 Jun 2018 20:10:50 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85739] [8/9 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:3057
Date: Sun, 03 Jun 2018 20:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-85739-4-wLc0Amt9pv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85739-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85739-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00147.txt.bz2
Content-length: 423
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85739
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-606353-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 20:11:59 2018
Return-Path: <gcc-bugs-return-606353-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125667 invoked by alias); 3 Jun 2018 20:11:58 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 125611 invoked by uid 48); 3 Jun 2018 20:11:54 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85761] [8/9 Regression] ICE on invalid in rtl with uncaptured constexpr
Date: Sun, 03 Jun 2018 20:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-85761-4-wuVw8aYISO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85761-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85761-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00148.txt.bz2
Content-length: 468
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85761
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed. And yes, this was accepts-invalid in GCC 7.
>From gcc-bugs-return-606354-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 20:55:10 2018
Return-Path: <gcc-bugs-return-606354-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81104 invoked by alias); 3 Jun 2018 20:55:09 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 81019 invoked by uid 48); 3 Jun 2018 20:55:03 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85873] [8/9 regression] GCC omits array constant in .rodata causing a segmentation fault.
Date: Sun, 03 Jun 2018 20:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85873-4-0rcQIU7GyO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85873-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85873-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00149.txt.bz2
Content-length: 722
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85873
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Kimon.Hoffmann from comment #6)
> The situation as it stands is unfortunate though, since the standard does
> not allow "static constexpr" variables in constexpr functions. Therefor I
> don't see a standards compliant way to: return a constant array from a
> function (the choice of which array to return possibly depending on a
> function argument) that:
> * Provides type erasure on the length of the returned array.
> * Works in constexpr contexts.
> * Does not copy values during runtime.
It does seem wrong that a constexpr function can't define a constexpr static
local variable.
>From gcc-bugs-return-606355-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 21:08:34 2018
Return-Path: <gcc-bugs-return-606355-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1819 invoked by alias); 3 Jun 2018 21:08:34 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 130048 invoked by uid 48); 3 Jun 2018 21:08:29 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/85969] avr/gen-avr-mmcu-specs.c:56: unused function ?
Date: Sun, 03 Jun 2018 21:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: minor
X-Bugzilla-Who: dcb314 at hotmail dot com
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85969-4-9U48XfTXNO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85969-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85969-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00150.txt.bz2
Content-length: 970
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85969
--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
$ cd ~/gcc/trunk/gcc/config/avr/
$ ls
avr-arch.h avr.h avr.opt driver-avr.c specs.h
avr.c avrlibc.h avr-passes.def elf.h stdfix.h
avr-c.c avr-log.c avr-protos.h gen-avr-mmcu-specs.c t-avr
avr-devices.c avr-mcus.def avr-stdint.h gen-avr-mmcu-texi.c t-multilib
avr-dimode.md avr.md builtins.def genmultilib.awk
avr-fixed.md avr-modes.def constraints.md predicates.md
$ svn update
Updating '.':
At revision 261132.
[dcb@dhcppc0 avr]$ fgrep str_prefix_p gen-avr-mmcu-specs.c
str_prefix_p (const char *str, const char *prefix)
$
I show the version from today's trunk revision 261132.
Your version seems to be revision 256169, some 4,963 revisions ago.
I suggest you update to trunk and check again. Perhaps you are using
a non-trunk branch ?
>From gcc-bugs-return-606356-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 21:39:43 2018
Return-Path: <gcc-bugs-return-606356-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72310 invoked by alias); 3 Jun 2018 21:39:43 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 72276 invoked by uid 48); 3 Jun 2018 21:39:39 -0000
From: "gcc-bugs at marehr dot dialup.fu-berlin.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86037] New: __PRETTY_FUNCTION__ for constexpr lambda's is missing [with = type]
Date: Sun, 03 Jun 2018 21:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gcc-bugs at marehr dot dialup.fu-berlin.de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86037-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00151.txt.bz2
Content-length: 3501
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86037
Bug ID: 86037
Summary: __PRETTY_FUNCTION__ for constexpr lambda's is missing
[with = type]
Product: gcc
Version: 8.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gcc-bugs at marehr dot dialup.fu-berlin.de
Target Milestone: ---
Hello gcc-team,
this code changed output between gcc-7 and gcc-8
```
// pretty_function.cpp
#include <iostream>
#include <string>
template <typename type>
struct pretty_lambda
{
static constexpr auto as_string = [] ()
{
return std::string{__PRETTY_FUNCTION__};
};
};
int main()
{
std::string lambda_int = pretty_lambda<int>::as_string();
std::cout << lambda_int << "\n";
return 0;
}
```
compiling with `g++-7 -std=c++17 pretty_function.cpp` outputs:
pretty_lambda<type>::<lambda()> [with type = int]
compiling with `g++-8 -std=c++17 pretty_function.cpp` outputs:
pretty_lambda<int>::<lambda()>
Is there a reason for this change? The same class, but with `as_string` as a
static function delivers an output with the `[with type = int]` part
(i.e., `static auto seqan3::detail::pretty_function<type>::as_string() [with
type = int]`).
So it seems to me that the general format was not changed. I know that this is
in no way a standard function or something, but I would prefer a consistent
output.
> g++-7 -v
Using built-in specs.
COLLECT_GCC=g++-7
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc7/src/gcc/configure --prefix=/usr --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,lto
--enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib
--with-isl --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp
--enable-gnu-unique-object --enable-linker-build-id --enable-lto
--enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu
--enable-gnu-indirect-function --disable-werror --enable-checking=release
--enable-default-pie --enable-default-ssp --program-suffix=-7
--enable-version-specific-runtime-libs
Thread model: posix
gcc version 7.3.1 20180406 (GCC)
> g++-8 -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared
--enable-threads=posix --enable-libmpx --with-system-zlib --with-isl
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu
--disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object
--enable-linker-build-id --enable-lto --enable-plugin
--enable-install-libiberty --with-linker-hash-style=gnu
--enable-gnu-indirect-function --enable-multilib --disable-werror
--enable-checking=release --enable-default-pie --enable-default-ssp
Thread model: posix
gcc version 8.1.0 (GCC)
Thank you for your awesome work!
Marcel
>From gcc-bugs-return-606357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 21:54:27 2018
Return-Path: <gcc-bugs-return-606357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1031 invoked by alias); 3 Jun 2018 21:54:26 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 123512 invoked by uid 48); 3 Jun 2018 21:54:21 -0000
From: "webrown.cpp at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85958] Make const qualifier error clear
Date: Sun, 03 Jun 2018 21:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: webrown.cpp at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85958-4-vJQ31hRz7g@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85958-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85958-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00152.txt.bz2
Content-length: 1233
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85958
--- Comment #8 from W E Brown <webrown.cpp at gmail dot com> ---
C++ seems very clear that the semantics of parameter passage are those of
initialization. For example, according to [expr.call]/7 in N4741:
"When a function is called, each parameter shall be initialized with its
corresponding argument" [cross-references omitted].
(1) We might therefore consider to rephrase the diagnostic so as to be
consistent with the Standard's nomenclature. For example:
"can't initialize parameter of type 'int&' with argument of type 'const int'"
Or, flipping the phrasing:
"argument of type 'const int' can't initialize parameter of type 'int&'"
(I prefer the latter, actually, because the caret indicates the argument.
YMMV.)
(2) For the same reason, the note accompanying the diagnostic might at the same
time be more accurately rephrased as "initializing parameter 1 of ..." instead
of the current "initializing argument 1 of ...".
(3) Finally, there seems to be a fair amount of redundancy in the note,
mentioning the called function both with and without its parameter's name.
Perhaps just one of these might suffice?
Just some thoughts for your consideration.
>From gcc-bugs-return-606358-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 03 23:31:34 2018
Return-Path: <gcc-bugs-return-606358-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62353 invoked by alias); 3 Jun 2018 23:31:34 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 62285 invoked by uid 48); 3 Jun 2018 23:31:29 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85996] [8/9 Regression] ICE: gfc_trans_select(): Bad type for case expr.
Date: Sun, 03 Jun 2018 23:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: blocked
Message-ID: <bug-85996-4-1BotNJwdpc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85996-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85996-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00153.txt.bz2
Content-length: 640
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85996
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |85138
--- Comment #8 from kargl at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #7)
> Could be related to pr85138.
Yes, it is related if not the same.
I have a patch that fixes both PRs and passes regression testing.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85138
[Bug 85138] [8/9 regression] ICE with generic function
>From gcc-bugs-return-606359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 04:50:03 2018
Return-Path: <gcc-bugs-return-606359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53714 invoked by alias); 4 Jun 2018 04:50:02 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 53028 invoked by uid 48); 4 Jun 2018 04:49:56 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86038] New: [9 Regression] ICE in to_reg_br_prob_base, at profile-count.h:242
Date: Mon, 04 Jun 2018 04:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86038-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00154.txt.bz2
Content-length: 1901
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86038
Bug ID: 86038
Summary: [9 Regression] ICE in to_reg_br_prob_base, at
profile-count.h:242
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: asolokha at gmx dot com
Target Milestone: ---
gcc-9.0.0-alpha20180603 snapshot (r261132) ICEs when compiling the following
snippet w/ -O2 (-O3, -Ofast) -ftracer -ftree-parallelize-loops=2
-fno-tree-scev-cprop --param parloops-schedule=dynamic (=guided, =runtime):
int
sd (int lw)
{
while (lw < 1)
++lw;
return lw;
}
gcc-9.0.0-alpha20180603 -O2 -ftracer -ftree-parallelize-loops=2
-fno-tree-scev-cprop --param parloops-schedule=dynamic -c tmzmdwfg.c
during GIMPLE pass: tracer
tmzmdwfg.c: In function 'sd._loopfn.0':
tmzmdwfg.c:4:9: internal compiler error: in to_reg_br_prob_base, at
profile-count.h:242
while (lw < 1)
^
0x6579a3 profile_probability::to_reg_br_prob_base() const
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/profile-count.h:242
0x6579a3 find_best_successor
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/tracer.c:162
0xc9f64d find_trace
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/tracer.c:208
0xc9f64d tail_duplicate
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/tracer.c:319
0xc9f64d execute
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/tracer.c:429
This is apparently a regression since r260954.
>From gcc-bugs-return-606360-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 06:51:55 2018
Return-Path: <gcc-bugs-return-606360-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32270 invoked by alias); 4 Jun 2018 06:51:55 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 25805 invoked by uid 48); 4 Jun 2018 06:51:50 -0000
From: "kari.nurmela at iki dot fi" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/85997] Bogus -Wvla warning from function array argument with size expression
Date: Mon, 04 Jun 2018 06:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 5.4.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kari.nurmela at iki dot fi
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85997-4-x7H8uQkVYa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85997-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85997-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00155.txt.bz2
Content-length: 1148
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85997
--- Comment #4 from Kari Nurmela <kari.nurmela at iki dot fi> ---
Yeah, well, I'm not claiming that there is anything wrong with the code
generation (especially argument passing) here, this is just a really minor
issue about the conformance of -Wvla with its documentation, and about its
general usefulness with C99.
* gcc info says about -Wvla: "Warn if variable length array is used in the
code." This seems to indicate that the -Wvla alone should mean the "other
uses of -Wvla" mentioned in Comment #1.
* the example program doesn't use any variable length arrays (how can you use
one without it existing somewhere?), so triggering the warning "if variable
length array is used in the code" doesn't seem right. (The actual warning
message is of course patently true :)
With -std=c90 shouldn't this ideally give a separate error/warning about the
violation of the constraint on the content of []? Like the one triggered by the
"static" with -pedantic -std=c90: "ISO C90 does not support "static" or type
qualifiers in parameter array declarators [-Wpedantic])".
>From gcc-bugs-return-606362-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 07:00:27 2018
Return-Path: <gcc-bugs-return-606362-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93593 invoked by alias); 4 Jun 2018 07:00:19 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 93245 invoked by uid 48); 4 Jun 2018 07:00:04 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/49330] Integer arithmetic on addresses optimised with pointer arithmetic rules
Date: Mon, 04 Jun 2018 07:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 4.6.1
X-Bugzilla-Keywords: alias, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-49330-4-gSjbPET7MH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-49330-4@http.gcc.gnu.org/bugzilla/>
References: <bug-49330-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00157.txt.bz2
Content-length: 454
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49330
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pascal_cuoq at hotmail dot com
--- Comment #13 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 86026 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-606361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 07:00:19 2018
Return-Path: <gcc-bugs-return-606361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93505 invoked by alias); 4 Jun 2018 07:00:13 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 92136 invoked by uid 48); 4 Jun 2018 07:00:00 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86026] Document and/or change allowed operations on integer representation of pointers
Date: Mon, 04 Jun 2018 07:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: DUPLICATE
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-86026-4-KdFRPh4cGD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86026-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86026-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00156.txt.bz2
Content-length: 542
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86026
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
We have a (very old) duplicate bug for the RTL issue.
*** This bug has been marked as a duplicate of bug 49330 ***
>From gcc-bugs-return-606363-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 07:02:15 2018
Return-Path: <gcc-bugs-return-606363-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96339 invoked by alias); 4 Jun 2018 07:02:14 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 96240 invoked by uid 48); 4 Jun 2018 07:02:06 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/49330] Integer arithmetic on addresses optimised with pointer arithmetic rules
Date: Mon, 04 Jun 2018 07:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 4.6.1
X-Bugzilla-Keywords: alias, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_reconfirmed_on cf_known_to_fail
Message-ID: <bug-49330-4-04KiFH8K9v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-49330-4@http.gcc.gnu.org/bugzilla/>
References: <bug-49330-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00158.txt.bz2
Content-length: 436
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49330
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2016-10-19 00:00:00 |2018-6-4
Known to fail| |8.1.0
--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> ---
Reconfirmed.
>From gcc-bugs-return-606364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 07:06:29 2018
Return-Path: <gcc-bugs-return-606364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111845 invoked by alias); 4 Jun 2018 07:06:29 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 111765 invoked by uid 48); 4 Jun 2018 07:06:23 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86038] [9 Regression] ICE in to_reg_br_prob_base, at profile-count.h:242
Date: Mon, 04 Jun 2018 07:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to everconfirmed
Message-ID: <bug-86038-4-A5kDemovof@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86038-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86038-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00159.txt.bz2
Content-length: 670
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86038
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2018-06-04
CC| |marxin at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, I'll take a look.
>From gcc-bugs-return-606365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 07:07:31 2018
Return-Path: <gcc-bugs-return-606365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115561 invoked by alias); 4 Jun 2018 07:07:30 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 115462 invoked by uid 48); 4 Jun 2018 07:07:27 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/49330] Integer arithmetic on addresses optimised with pointer arithmetic rules
Date: Mon, 04 Jun 2018 07:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 4.6.1
X-Bugzilla-Keywords: alias, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-49330-4-THVwjwZ3hK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-49330-4@http.gcc.gnu.org/bugzilla/>
References: <bug-49330-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00160.txt.bz2
Content-length: 651
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49330
--- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> ---
IMHO as RTL drops the difference between pointers and integers (of the same
mode)
it has to drop the assumption that pointer arithmetic has to stay inside a
pointed-to object similar to how it has to drop reliance on undefined overflow
for optimization since it drops the notion of signedness.
The other choice may seem to take REG_POINTER setting conservative and only
have the assumption on REG_POINTER regs. (and thus make sure to set
REG_POINTER and MEM_POINTER conservatively, which may be a difficult task on
its own)
>From gcc-bugs-return-606366-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 07:17:13 2018
Return-Path: <gcc-bugs-return-606366-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10598 invoked by alias); 4 Jun 2018 07:17:13 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 10523 invoked by uid 48); 4 Jun 2018 07:17:07 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86038] [9 Regression] ICE in to_reg_br_prob_base, at profile-count.h:242
Date: Mon, 04 Jun 2018 07:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86038-4-Rw47vCqRZG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86038-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86038-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00161.txt.bz2
Content-length: 1064
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86038
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
So instead of dropping the initialized_p () check in the original below we
should probably return NULL as well if !initialized_p ().
if (best->probability.initialized_p ()
&& best->probability.to_reg_br_prob_base () <= probability_cutoff)
return NULL;
Testing
Index: gcc/tracer.c
===================================================================
--- gcc/tracer.c (revision 261136)
+++ gcc/tracer.c (working copy)
@@ -159,7 +159,8 @@ find_best_successor (basic_block bb)
}
if (!best || ignore_bb_p (best->dest))
return NULL;
- if (best->probability.to_reg_br_prob_base () <= probability_cutoff)
+ if (!best->probability.initialized_p ()
+ || best->probability.to_reg_br_prob_base () <= probability_cutoff)
return NULL;
return best;
}
>From gcc-bugs-return-606367-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 07:18:59 2018
Return-Path: <gcc-bugs-return-606367-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12997 invoked by alias); 4 Jun 2018 07:18:59 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 12922 invoked by uid 48); 4 Jun 2018 07:18:53 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86038] [9 Regression] ICE in to_reg_br_prob_base, at profile-count.h:242
Date: Mon, 04 Jun 2018 07:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to target_milestone
Message-ID: <bug-86038-4-AAhSUQOOw6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86038-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86038-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00162.txt.bz2
Content-length: 378
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86038
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|marxin at gcc dot gnu.org |rguenth at gcc dot gnu.org
Target Milestone|--- |9.0
>From gcc-bugs-return-606368-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 07:21:40 2018
Return-Path: <gcc-bugs-return-606368-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14949 invoked by alias); 4 Jun 2018 07:21:40 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 14883 invoked by uid 48); 4 Jun 2018 07:21:36 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86036] [9 Regression] wrong code with -mavx512bw
Date: Mon, 04 Jun 2018 07:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86036-4-NPsr7wpF9J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86036-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86036-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00163.txt.bz2
Content-length: 293
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86036
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |9.0
>From gcc-bugs-return-606369-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 07:25:15 2018
Return-Path: <gcc-bugs-return-606369-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9028 invoked by alias); 4 Jun 2018 07:24:56 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 8594 invoked by uid 48); 4 Jun 2018 07:24:25 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85958] Make const qualifier error clear
Date: Mon, 04 Jun 2018 07:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85958-4-OyRag5IbdD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85958-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85958-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00164.txt.bz2
Content-length: 2864
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85958
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to W E Brown from comment #8)
> (2) For the same reason, the note accompanying the diagnostic might at the
> same time be more accurately rephrased as "initializing parameter 1 of ..."
> instead of the current "initializing argument 1 of ...".
Agreed.
> (3) Finally, there seems to be a fair amount of redundancy in the note,
> mentioning the called function both with and without its parameter's name.
> Perhaps just one of these might suffice?
The first occurrence is the function type (including any template arguments),
and is always shown. The second is the verbatim line from the source code
highlighted with carets, but is only shown conditionally (caret diagnostics can
be disabled with -fno-diagnostics-show-caret) and might not show the entire
function declaration. For example:
template<typename T>
void f(int,
T&)
{ }
int main()
{
f(1, 1);
}
f.cc: In function âint main()â:
f.cc:8:9: error: cannot bind non-const lvalue reference of type âint&â to an
rvalue of type âintâ
f(1, 1);
^
f.cc:2:6: note: initializing argument 2 of âvoid f(int, T&) [with T = int]â
void f(int,
^
Removing the note here would mean losing valuable information (the caret
diagnostic doesn't show the right line, which is a separate bug, but even with
that fixed would only show one line not the whole function declaration).
>From gcc-bugs-return-606371-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 07:25:25 2018
Return-Path: <gcc-bugs-return-606371-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10184 invoked by alias); 4 Jun 2018 07:25:25 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 9374 invoked by uid 48); 4 Jun 2018 07:25:16 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85765] [8/9 Regression] Missing SFINAE in default template argument
Date: Mon, 04 Jun 2018 07:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-85765-4-0HjwKf4YQi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85765-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85765-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00166.txt.bz2
Content-length: 378
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85765
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
>From gcc-bugs-return-606370-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 07:25:20 2018
Return-Path: <gcc-bugs-return-606370-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9304 invoked by alias); 4 Jun 2018 07:25:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 8644 invoked by uid 48); 4 Jun 2018 07:24:29 -0000
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/86004] [9 regression] Several lto test cases begin failing with r260963
Date: Mon, 04 Jun 2018 07:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: lto
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tschwinge at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-86004-4-vUKyRIs0Xd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86004-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86004-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00165.txt.bz2
Content-length: 725
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86004
Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-04
CC| |tschwinge at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #5 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
For the record, I'm also seeing that ("[...]/ld: /tmp/cc[...].lto.o: plugin
needed to handle lto object") on x86_64-pc-linux-gnu, with binutils/ld version
2.25.51.
>From gcc-bugs-return-606372-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 07:28:30 2018
Return-Path: <gcc-bugs-return-606372-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22641 invoked by alias); 4 Jun 2018 07:28:29 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 22587 invoked by uid 55); 4 Jun 2018 07:28:24 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86025] ICE with -Wduplicated-branches and OpenMP critical
Date: Mon, 04 Jun 2018 07:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.0.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86025-4-S5nt6R6kwO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86025-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86025-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00167.txt.bz2
Content-length: 541
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86025
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 4 07:27:52 2018
New Revision: 261137
URL: https://gcc.gnu.org/viewcvs?rev=261137&root=gcc&view=rev
Log:
PR c++/86025
* tree.c (inchash::add_expr): Handle IDENTIFIER_NODE.
* c-c++-common/gomp/pr86025.c: New test.
Added:
trunk/gcc/testsuite/c-c++-common/gomp/pr86025.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree.c
>From gcc-bugs-return-606373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 07:34:44 2018
Return-Path: <gcc-bugs-return-606373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82753 invoked by alias); 4 Jun 2018 07:34:43 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 79893 invoked by uid 55); 4 Jun 2018 07:34:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86025] ICE with -Wduplicated-branches and OpenMP critical
Date: Mon, 04 Jun 2018 07:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.0.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86025-4-ibGN6t1n1h@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86025-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86025-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00168.txt.bz2
Content-length: 605
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86025
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 4 07:34:06 2018
New Revision: 261138
URL: https://gcc.gnu.org/viewcvs?rev=261138&root=gcc&view=rev
Log:
PR c++/86025
* tree.c (inchash::add_expr): Handle IDENTIFIER_NODE.
* c-c++-common/gomp/pr86025.c: New test.
Added:
branches/gcc-8-branch/gcc/testsuite/c-c++-common/gomp/pr86025.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/tree.c
>From gcc-bugs-return-606374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 07:38:35 2018
Return-Path: <gcc-bugs-return-606374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49656 invoked by alias); 4 Jun 2018 07:38:35 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 42024 invoked by uid 55); 4 Jun 2018 07:38:29 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/69615] 0 to limit signed range checks don't always use unsigned compare
Date: Mon, 04 Jun 2018 07:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 5.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-69615-4-WCjHIIXaU1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69615-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69615-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00169.txt.bz2
Content-length: 666
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69615
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 4 07:37:56 2018
New Revision: 261139
URL: https://gcc.gnu.org/viewcvs?rev=261139&root=gcc&view=rev
Log:
PR tree-optimization/69615
* fold-const.c (merge_ranges): If range1 is - [x, x] and x is the
maximum or minimum of the type, try to merge it also as if
range1 is + [-, x - 1] or + [x + 1, -].
* gcc.dg/pr69615.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr69615.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-606375-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 07:54:41 2018
Return-Path: <gcc-bugs-return-606375-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114798 invoked by alias); 4 Jun 2018 07:54:40 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 114734 invoked by uid 48); 4 Jun 2018 07:54:36 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86008] std::quoted(std::basic_string_view) is missing
Date: Mon, 04 Jun 2018 07:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-86008-4-s9AQRW17qf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86008-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86008-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00170.txt.bz2
Content-length: 917
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86008
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-05-31
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Matt Whitlock from comment #0)
> The following shim allows the code above to compile, although it is
> sub-optimal because it captures a std::basic_string_view by reference.
Have you profiled to see if that matters? A basic_string_view is twice the size
of a reference, which makes the returned _Quoted_string object larger (but then
since the iostream inserter takes it by reference, avoiding the
double-dereference might help).
>From gcc-bugs-return-606376-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 08:20:49 2018
Return-Path: <gcc-bugs-return-606376-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122868 invoked by alias); 4 Jun 2018 08:20:49 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 117293 invoked by uid 48); 4 Jun 2018 08:20:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86036] [9 Regression] wrong code with -mavx512bw
Date: Mon, 04 Jun 2018 08:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-86036-4-zkxwBZH25W@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86036-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86036-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00171.txt.bz2
Content-length: 573
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86036
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-04
CC| |jakub at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Broken with the PR85832 change.
>From gcc-bugs-return-606377-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 08:23:27 2018
Return-Path: <gcc-bugs-return-606377-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28554 invoked by alias); 4 Jun 2018 08:23:27 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 28515 invoked by uid 48); 4 Jun 2018 08:23:22 -0000
From: "subscribe at teskor dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86027] string literals get corrupted with -O3 and gas on solaris i386
Date: Mon, 04 Jun 2018 08:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: subscribe at teskor dot de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86027-4-dMCMwdR9nP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86027-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86027-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00172.txt.bz2
Content-length: 622
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86027
--- Comment #2 from Michael Teske <subscribe at teskor dot de> ---
Comparing the assembler output got my guess confirmed.
The generated code on 7.3.0 starts with:
.file "comperr.cpp"
.text
.section
.gnu.linkonce.r._ZN19SystemCallExceptionC1EPKcl.str1.1,"aMS",@progbits,1
.LC0:
.string "Exception: "
.LC1:
.string "\n"
.LC2:
.string "12"
If I change the attributes of the first section in line 3 from .gnu.linkonce...
to
.section .rodata
like it is on 8.1, the problem is gone.
>From gcc-bugs-return-606378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 08:29:30 2018
Return-Path: <gcc-bugs-return-606378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60864 invoked by alias); 4 Jun 2018 08:29:30 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 60800 invoked by uid 48); 4 Jun 2018 08:29:25 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/85832] [AVX512] possible shorter code when comparing with vector of zeros
Date: Mon, 04 Jun 2018 08:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85832-4-yXerggJuje@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85832-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85832-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00173.txt.bz2
Content-length: 370
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85832
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Actually, vpcmpeq zmmX, zero and vptestm zmmX, zmmX perform exactly the
opposite, not the same thing, as vpcmpeq sets bits in the %kY register if zmmX
element is equal to 0, while vptestm if it is not equal to 0.
So we want to use vptestnm instead.
>From gcc-bugs-return-606379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 08:37:30 2018
Return-Path: <gcc-bugs-return-606379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122247 invoked by alias); 4 Jun 2018 08:37:30 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 122164 invoked by uid 48); 4 Jun 2018 08:37:26 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/49330] Integer arithmetic on addresses optimised with pointer arithmetic rules
Date: Mon, 04 Jun 2018 08:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 4.6.1
X-Bugzilla-Keywords: alias, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amonakov at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-49330-4-k4O20UhCnY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-49330-4@http.gcc.gnu.org/bugzilla/>
References: <bug-49330-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00174.txt.bz2
Content-length: 753
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49330
Alexander Monakov <amonakov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amonakov at gcc dot gnu.org
--- Comment #16 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
What do you think about the suggestion made in the most recent duplicate,
namely expanding GIMPLE pointer-to-integer casts to non-transparent RTL
assignments, i.e. going from
val = (intptr_t) ptr;
to
asm ("" : "=g" (rval) : "0" (rptr));
Wouldn't this plug the hole in one shot instead of chasing down missing
REG_POINTERs in multiple RTL passes?
>From gcc-bugs-return-606380-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 08:42:23 2018
Return-Path: <gcc-bugs-return-606380-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26396 invoked by alias); 4 Jun 2018 08:42:22 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 21994 invoked by uid 55); 4 Jun 2018 08:42:18 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86003] [8/9 Regression] GCC fails to build when configured --with-cpu=xscale
Date: Mon, 04 Jun 2018 08:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rearnsha at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86003-4-JbHcNI5KhM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86003-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86003-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00175.txt.bz2
Content-length: 1705
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86003
--- Comment #2 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Author: rearnsha
Date: Mon Jun 4 08:41:45 2018
New Revision: 261140
URL: https://gcc.gnu.org/viewcvs?rev=261140&root=gcc&view=rev
Log:
[arm] PR target/86003 build failures with --with-cpu=xscale
The XScale cpu configuration in GCC has always been somewhat
non-conforming. Although XScale isn't an architecture (it's simply an
implementation of ARMv5te), we do by tradition emit a specific
pre-define for it. We achieve this effect by adding an additional
feature bit to the xscale CPU definition that isn't part of the base
architecture.
When I restructured the options last year I overlooked this oddity and
the result, of course, is that this configuration now fails to build
as intended.
What happens is that the driver (correctly) constructs an architecture
for the xscale cpu name (as armv5te) and passes it in addition to the
CPU name. The backend code, on finding both a cpu and an architecture
specifies attempts to correlate the two and finds a difference due to
the additional feature bit and reports an inconsistency (fatally if
-werror is specified).
I think the best fix to this is to treat the xscale feature bit using
the same mechanism that we use for other 'quirks' in CPU
implementations and simply filter it out before comparing the
capabilities. It has the additional benefit that it's also the
simplest fix.
PR target/86003
* config/arm/arm-cpus.in (ALL_QUIRKS): Add xscale feature to the list
of bits to ignore when comparing architectures.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/arm-cpus.in
>From gcc-bugs-return-606381-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 08:46:46 2018
Return-Path: <gcc-bugs-return-606381-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47171 invoked by alias); 4 Jun 2018 08:46:45 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 46998 invoked by uid 55); 4 Jun 2018 08:46:37 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86003] [8/9 Regression] GCC fails to build when configured --with-cpu=xscale
Date: Mon, 04 Jun 2018 08:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rearnsha at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86003-4-lO5kKdYdlx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86003-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86003-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00176.txt.bz2
Content-length: 1737
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86003
--- Comment #3 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Author: rearnsha
Date: Mon Jun 4 08:46:04 2018
New Revision: 261141
URL: https://gcc.gnu.org/viewcvs?rev=261141&root=gcc&view=rev
Log:
[arm] PR target/86003 build failures with --with-cpu=xscale
The XScale cpu configuration in GCC has always been somewhat
non-conforming. Although XScale isn't an architecture (it's simply an
implementation of ARMv5te), we do by tradition emit a specific
pre-define for it. We achieve this effect by adding an additional
feature bit to the xscale CPU definition that isn't part of the base
architecture.
When I restructured the options last year I overlooked this oddity and
the result, of course, is that this configuration now fails to build
as intended.
What happens is that the driver (correctly) constructs an architecture
for the xscale cpu name (as armv5te) and passes it in addition to the
CPU name. The backend code, on finding both a cpu and an architecture
specifies attempts to correlate the two and finds a difference due to
the additional feature bit and reports an inconsistency (fatally if
-werror is specified).
I think the best fix to this is to treat the xscale feature bit using
the same mechanism that we use for other 'quirks' in CPU
implementations and simply filter it out before comparing the
capabilities. It has the additional benefit that it's also the
simplest fix.
PR target/86003
* config/arm/arm-cpus.in (ALL_QUIRKS): Add xscale feature to the list
of bits to ignore when comparing architectures.
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/config/arm/arm-cpus.in
>From gcc-bugs-return-606382-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 08:47:12 2018
Return-Path: <gcc-bugs-return-606382-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50004 invoked by alias); 4 Jun 2018 08:47:11 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 49482 invoked by uid 48); 4 Jun 2018 08:47:04 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86003] [8/9 Regression] GCC fails to build when configured --with-cpu=xscale
Date: Mon, 04 Jun 2018 08:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rearnsha at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-86003-4-4rSAtC5Kix@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86003-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86003-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00177.txt.bz2
Content-length: 461
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86003
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Fixed on trunk and gcc-8 branch.
>From gcc-bugs-return-606383-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 08:49:32 2018
Return-Path: <gcc-bugs-return-606383-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60583 invoked by alias); 4 Jun 2018 08:49:32 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 60541 invoked by uid 48); 4 Jun 2018 08:49:27 -0000
From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug regression/81497] [7/8/9/ Regression] error compiling arm_acle.h
Date: Mon, 04 Jun 2018 08:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: regression
X-Bugzilla-Version: 7.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ktkachov at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to short_desc
Message-ID: <bug-81497-4-pTdzuRyjwO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81497-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00178.txt.bz2
Content-length: 583
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81497
ktkachov at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |ktkachov at gcc dot gnu.org
Summary|error compiling arm_acle.h |[7/8/9/ Regression] error
| |compiling arm_acle.h
--- Comment #3 from ktkachov at gcc dot gnu.org ---
Testing a patch.
>From gcc-bugs-return-606384-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 09:00:48 2018
Return-Path: <gcc-bugs-return-606384-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80986 invoked by alias); 4 Jun 2018 09:00:48 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 80748 invoked by uid 48); 4 Jun 2018 09:00:40 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/86022] TCB size calculated in ThreadDescriptorSize() is wrong for glibc-2.14
Date: Mon, 04 Jun 2018 09:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: sanitizer
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status bug_file_loc cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-86022-4-ROi238O4En@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86022-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86022-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00179.txt.bz2
Content-length: 813
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86022
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
URL| |https://github.com/google/s
| |anitizers/issues/966
Last reconfirmed| |2018-06-04
Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
I created upstream bug. I'm not familiar with glibc API, so let's wait for
confirmation of someone.
>From gcc-bugs-return-606386-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 09:28:47 2018
Return-Path: <gcc-bugs-return-606386-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113948 invoked by alias); 4 Jun 2018 09:28:47 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 111665 invoked by uid 48); 4 Jun 2018 09:28:43 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85964] [8/9 Regression] compile time hog w/ -O3 -ftracer -fno-guess-branch-probability
Date: Mon, 04 Jun 2018 09:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: compile-time-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: law at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-85964-4-mYVaZjqxwD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85964-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85964-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00181.txt.bz2
Content-length: 493
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85964
Bug 85964 depends on bug 86038, which changed state.
Bug 86038 Summary: [9 Regression] ICE in to_reg_br_prob_base, at profile-count.h:242
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86038
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
>From gcc-bugs-return-606385-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 09:28:47 2018
Return-Path: <gcc-bugs-return-606385-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113721 invoked by alias); 4 Jun 2018 09:28:47 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 110768 invoked by uid 48); 4 Jun 2018 09:28:42 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86038] [9 Regression] ICE in to_reg_br_prob_base, at profile-count.h:242
Date: Mon, 04 Jun 2018 09:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status blocked resolution
Message-ID: <bug-86038-4-8CwdRLnTgn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86038-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86038-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00180.txt.bz2
Content-length: 649
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86038
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Blocks| |85964
Resolution|--- |FIXED
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85964
[Bug 85964] [8/9 Regression] compile time hog w/ -O3 -ftracer
-fno-guess-branch-probability
>From gcc-bugs-return-606387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 09:29:03 2018
Return-Path: <gcc-bugs-return-606387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119247 invoked by alias); 4 Jun 2018 09:29:03 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 115735 invoked by uid 55); 4 Jun 2018 09:28:58 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86038] [9 Regression] ICE in to_reg_br_prob_base, at profile-count.h:242
Date: Mon, 04 Jun 2018 09:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86038-4-kIB6fyNghS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86038-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86038-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00182.txt.bz2
Content-length: 639
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86038
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Jun 4 09:28:22 2018
New Revision: 261142
URL: https://gcc.gnu.org/viewcvs?rev=261142&root=gcc&view=rev
Log:
2018-06-04 Richard Biener <rguenther@suse.de>
PR tree-optimization/86038
* tracer.c (find_best_successor): Check probability for
being initialized, bail out if not.
* gcc.dg/pr86038.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/pr86038.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tracer.c
>From gcc-bugs-return-606388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 09:49:04 2018
Return-Path: <gcc-bugs-return-606388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75382 invoked by alias); 4 Jun 2018 09:49:00 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 68106 invoked by uid 48); 4 Jun 2018 09:48:53 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/85656] gcc.dg/ipa/ipa-icf-38.c FAILs
Date: Mon, 04 Jun 2018 09:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85656-4-Wt6XwZBOHI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85656-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85656-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00183.txt.bz2
Content-length: 1397
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85656
--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
Ok and can you please analyze why this return true:
1139 /* Creating a symtab alias is the optimal way to merge.
1140 It however can not be used in the following cases:
1141
1142 1) if ORIGINAL and ALIAS may be possibly compared for address
equality.
1143 2) if ORIGINAL is in a section that may be discarded by linker or
if
1144 it is an external functions where we can not create an alias
1145 (ORIGINAL_DISCARDABLE)
1146 3) if target do not support symbol aliases.
1147 4) original and alias lie in different comdat groups.
1148
1149 If we can not produce alias, we will turn ALIAS into WRAPPER of
ORIGINAL
1150 and/or redirect all callers from ALIAS to ORIGINAL. */
1151 if ((original_address_matters && alias_address_matters)
1152 || (original_discardable
1153 && (!DECL_COMDAT_GROUP (alias->decl)
1154 || (DECL_COMDAT_GROUP (alias->decl)
1155 != DECL_COMDAT_GROUP (original->decl))))
1156 || original_discarded
1157 || !sem_item::target_supports_symbol_aliases_p ()
1158 || DECL_COMDAT_GROUP (alias->decl) != DECL_COMDAT_GROUP
(original->decl))
1159 {
Thanks.
>From gcc-bugs-return-606389-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 09:52:52 2018
Return-Path: <gcc-bugs-return-606389-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107791 invoked by alias); 4 Jun 2018 09:52:51 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 107708 invoked by uid 48); 4 Jun 2018 09:52:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/85832] [AVX512] possible shorter code when comparing with vector of zeros
Date: Mon, 04 Jun 2018 09:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-85832-4-E8JnQIYtmH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85832-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85832-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00184.txt.bz2
Content-length: 253
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85832
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 44227
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44227&action=edit
gcc9-pr85832.patch
Untested fix.
>From gcc-bugs-return-606390-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 09:53:30 2018
Return-Path: <gcc-bugs-return-606390-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108771 invoked by alias); 4 Jun 2018 09:53:29 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 108723 invoked by uid 48); 4 Jun 2018 09:53:25 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86036] [9 Regression] wrong code with -mavx512bw
Date: Mon, 04 Jun 2018 09:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created
Message-ID: <bug-86036-4-e01RS3JWgA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86036-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86036-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00185.txt.bz2
Content-length: 578
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86036
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 44228
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44228&action=edit
gcc9-pr85832.patch
Untested fix.
>From gcc-bugs-return-606391-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 10:14:22 2018
Return-Path: <gcc-bugs-return-606391-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74445 invoked by alias); 4 Jun 2018 10:14:22 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 74322 invoked by uid 55); 4 Jun 2018 10:14:18 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/49330] Integer arithmetic on addresses optimised with pointer arithmetic rules
Date: Mon, 04 Jun 2018 10:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 4.6.1
X-Bugzilla-Keywords: alias, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenther at suse dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-49330-4-Msc1CgG888@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-49330-4@http.gcc.gnu.org/bugzilla/>
References: <bug-49330-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00186.txt.bz2
Content-length: 1673
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49330
--- Comment #17 from rguenther at suse dot de <rguenther at suse dot de> ---
On Mon, 4 Jun 2018, amonakov at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49330
>
> Alexander Monakov <amonakov at gcc dot gnu.org> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |amonakov at gcc dot gnu.org
>
> --- Comment #16 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
> What do you think about the suggestion made in the most recent duplicate,
> namely expanding GIMPLE pointer-to-integer casts to non-transparent RTL
> assignments, i.e. going from
>
> val = (intptr_t) ptr;
>
> to
>
> asm ("" : "=g" (rval) : "0" (rptr));
>
> Wouldn't this plug the hole in one shot instead of chasing down missing
> REG_POINTERs in multiple RTL passes?
I suspect such assignments are simply too common and doing this would
be worse than not assuming pointer arithmetic cannot cross different
objects at the RTL level. How do you for example treat an aggregate
memcpy of a structure containing pointers RTL expanded to say
word-wise (integer-mode!) copies and then RTL afterwards figuring
out reg-reg dependence chains from that. You have to realize that
you'd have to introduce those "barriers" during RTL optimization
itself... in which case you're back at sth like REG_POINTER.
I think it would be nice to isolate this assumption on RTL and
put it behind a user-crontrollable flag. That would allow
benchmarking this.
>From gcc-bugs-return-606392-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 10:55:17 2018
Return-Path: <gcc-bugs-return-606392-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114854 invoked by alias); 4 Jun 2018 10:55:16 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 108738 invoked by uid 48); 4 Jun 2018 10:55:11 -0000
From: "krebbel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85478] ICE with single element vector
Date: Mon, 04 Jun 2018 10:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: krebbel at gcc dot gnu.org
X-Bugzilla-Status: CLOSED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-85478-4-nJyWSTpvmh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85478-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85478-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00187.txt.bz2
Content-length: 375
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478
Andreas Krebbel <krebbel at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #13 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-606393-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 11:20:17 2018
Return-Path: <gcc-bugs-return-606393-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28831 invoked by alias); 4 Jun 2018 11:20:17 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 28536 invoked by uid 48); 4 Jun 2018 11:20:12 -0000
From: "development at jordi dot vilar.cat" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/78870] Support std::filesystem on Windows
Date: Mon, 04 Jun 2018 11:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: development at jordi dot vilar.cat
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-78870-4-KW79XR2qgQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00188.txt.bz2
Content-length: 1874
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78870
Jordi Vilar <development at jordi dot vilar.cat> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |development at jordi dot vilar.cat
--- Comment #17 from Jordi Vilar <development at jordi dot vilar.cat> ---
I think the patch is not including the required changes in <fstream> in order
to properly handle path arguments. Specifically, both constructors and methods
open() need an additional overload taking const wchar_t*, as required per
specs:
30.9.1 Header <fstream> synopsis
[...]
3 In this subclause, member functions taking arguments of const
filesystem::path::value_type* are only be provided on systems where
filesystem::path::value_type (30.10.7) is not char. [ Note: These
functions enable class path support for systems with a wide native path
character type, such as wchar_t.
âend note ]
This involves methods:
basic_filebuf::open(const filesystem::path::value_type* s, ios_base::openmode
mode);
explicit basic_ifstream::basic_ifstream(const filesystem::path::value_type* s,
ios_base::openmode mode = ios_base::in);
void basic_ifstream::open(const filesystem::path::value_type* s,
ios_base::openmode mode = ios_base::in);
explicit basic_ofstream::basic_ofstream(const filesystem::path::value_type* s,
ios_base::openmode mode = ios_base::out);
void basic_ofstream::open(const filesystem::path::value_type* s,
ios_base::openmode mode = ios_base::out);
explicit basic_fstream::basic_fstream(const std::filesystem::path::value_type*
s, ios_base::openmode mode = ios_base::in|ios_base::out);
void basic_fstream::open(const std::filesystem::path::value_type* s,
ios_base::openmode mode = ios_base::in|ios_base::out);
I hope this helps
>From gcc-bugs-return-606394-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 11:31:18 2018
Return-Path: <gcc-bugs-return-606394-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67343 invoked by alias); 4 Jun 2018 11:31:17 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 66919 invoked by uid 48); 4 Jun 2018 11:31:03 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/78870] Support std::filesystem on Windows
Date: Mon, 04 Jun 2018 11:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78870-4-Cda7gf9vCa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00189.txt.bz2
Content-length: 168
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78870
--- Comment #18 from Jonathan Wakely <redi at gcc dot gnu.org> ---
That was already done two weeks ago by r260479
>From gcc-bugs-return-606395-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 11:52:10 2018
Return-Path: <gcc-bugs-return-606395-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23798 invoked by alias); 4 Jun 2018 11:52:10 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 23763 invoked by uid 48); 4 Jun 2018 11:52:06 -0000
From: "subscribe at teskor dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86027] string literals get corrupted with -O3 and gas on solaris i386
Date: Mon, 04 Jun 2018 11:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: subscribe at teskor dot de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86027-4-smTl2d5XWR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86027-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86027-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00190.txt.bz2
Content-length: 257
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86027
--- Comment #3 from Michael Teske <subscribe at teskor dot de> ---
Another addition, I now tried the gcc-7 snapshot 20180531 and it is fixed here
as well. I guess I'll used this one or wait for 7.3.1.
>From gcc-bugs-return-606396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 12:16:14 2018
Return-Path: <gcc-bugs-return-606396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105880 invoked by alias); 4 Jun 2018 12:15:55 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 104292 invoked by uid 48); 4 Jun 2018 12:15:19 -0000
From: "development at jordi dot vilar.cat" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/78870] Support std::filesystem on Windows
Date: Mon, 04 Jun 2018 12:15:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: development at jordi dot vilar.cat
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78870-4-zDfyaGNwup@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00191.txt.bz2
Content-length: 316
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78870
--- Comment #19 from Jordi Vilar <development at jordi dot vilar.cat> ---
(In reply to Jonathan Wakely from comment #18)
> That was already done two weeks ago by r260479
Thank you! And a last question: Do you plan to merge both patches into the gcc
8 branch?
>From gcc-bugs-return-606397-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 12:16:38 2018
Return-Path: <gcc-bugs-return-606397-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114072 invoked by alias); 4 Jun 2018 12:16:38 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 113974 invoked by uid 48); 4 Jun 2018 12:16:34 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/78870] Support std::filesystem on Windows
Date: Mon, 04 Jun 2018 12:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78870-4-dYaqLGm3iy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00192.txt.bz2
Content-length: 135
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78870
--- Comment #20 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Probably not.
>From gcc-bugs-return-606398-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 13:01:12 2018
Return-Path: <gcc-bugs-return-606398-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33822 invoked by alias); 4 Jun 2018 13:01:12 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 33563 invoked by uid 48); 4 Jun 2018 13:01:03 -0000
From: "samuel.hultgren at st dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/86039] New: Compiler placed in deep/long folder cannot open/run needed files on Windows
Date: Mon, 04 Jun 2018 13:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 6.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: samuel.hultgren at st dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-86039-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00193.txt.bz2
Content-length: 1905
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86039
Bug ID: 86039
Summary: Compiler placed in deep/long folder cannot open/run
needed files on Windows
Product: gcc
Version: 6.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: samuel.hultgren at st dot com
Target Milestone: ---
Created attachment 44229
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44229&action=edit
output of compilation with compiler in directories with different length
If the compiler file structure is placed in a folder with a name that is 163
characters or longer, the GCC will fail to include certain files and/or run
sub-programs (cc1.exe etc).
Tested on Windows 7, and Windows 10, with GCC based on 6.3.1.
How to reproduce:
Create a simple file c:\test.c:
#include <stdio.h>
int main()
{
return 0;
}
Place a Windows native GCC toolchain in a folder called c:\1 which includes the
bin, lib, share and target folders directly in it.
Use cygwin or other environment to run help script to try with different folder
name lengths:
cd /cygdrive/c
str=""
for i in `seq 1 256`;
do
echo "Testing length $i";
str="1$str";
mv 1* $str;
1*/bin/arm-none-eabi-gcc test.c -o test.o --specs=nano.specs
-specs=nosys.specs;
done
Adjust above script as necessary for your environment, but you should get
similar results to the attached output.
In the attached output we can see that when the folder name is 163 characters
or longer, we see the first type of error, GCC can no longer find all the
header files in the compiler structure.
At folder length 180, GCC can no longer find stdio.h.
At folder length 214, GCC no longer can CreateProcess cc1.exe.
After that length specs files can not be found.
>From gcc-bugs-return-606399-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 13:23:30 2018
Return-Path: <gcc-bugs-return-606399-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63549 invoked by alias); 4 Jun 2018 13:23:30 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 56698 invoked by uid 55); 4 Jun 2018 13:23:24 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85765] [8/9 Regression] Missing SFINAE in default template argument
Date: Mon, 04 Jun 2018 13:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85765-4-667PW1AcHx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85765-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85765-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00194.txt.bz2
Content-length: 586
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85765
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Jun 4 13:22:52 2018
New Revision: 261146
URL: https://gcc.gnu.org/viewcvs?rev=261146&root=gcc&view=rev
Log:
PR c++/85765 - SFINAE and non-type default template arg.
* pt.c (type_unification_real): Do full semantic processing if
substituting a partial args list replaces all template parms.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg10.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
>From gcc-bugs-return-606400-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 13:50:32 2018
Return-Path: <gcc-bugs-return-606400-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97930 invoked by alias); 4 Jun 2018 13:50:32 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 92706 invoked by uid 55); 4 Jun 2018 13:50:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86036] [9 Regression] wrong code with -mavx512bw
Date: Mon, 04 Jun 2018 13:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86036-4-bSFTNP63sF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86036-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86036-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00195.txt.bz2
Content-length: 1171
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86036
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 4 13:49:55 2018
New Revision: 261148
URL: https://gcc.gnu.org/viewcvs?rev=261148&root=gcc&view=rev
Log:
PR target/85832
PR target/86036
* config/i386/sse.md (<avx512>_eq<mode>3<mask_scalar_merge_name>_1):
Use vptestnm rather than vptestm in (=Yc,v,C) variant.
* gcc.target/i386/avx512f-pr85832.c: Expect vptestnm rather than
vptestm.
* gcc.target/i386/avx512vl-pr85832.c: Likewise.
* gcc.target/i386/avx512vlbw-pr85832.c: Likewise.
* gcc.target/i386/avx512bw-pr85832.c: Likewise.
* gcc.target/i386/avx512bw-pr86036.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/i386/avx512bw-pr86036.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/sse.md
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/i386/avx512bw-pr85832.c
trunk/gcc/testsuite/gcc.target/i386/avx512f-pr85832.c
trunk/gcc/testsuite/gcc.target/i386/avx512vl-pr85832.c
trunk/gcc/testsuite/gcc.target/i386/avx512vlbw-pr85832.c
>From gcc-bugs-return-606401-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 13:50:33 2018
Return-Path: <gcc-bugs-return-606401-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98279 invoked by alias); 4 Jun 2018 13:50:32 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 91959 invoked by uid 55); 4 Jun 2018 13:50:27 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/85832] [AVX512] possible shorter code when comparing with vector of zeros
Date: Mon, 04 Jun 2018 13:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85832-4-itq2pGbtRe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85832-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85832-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00196.txt.bz2
Content-length: 1171
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85832
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 4 13:49:55 2018
New Revision: 261148
URL: https://gcc.gnu.org/viewcvs?rev=261148&root=gcc&view=rev
Log:
PR target/85832
PR target/86036
* config/i386/sse.md (<avx512>_eq<mode>3<mask_scalar_merge_name>_1):
Use vptestnm rather than vptestm in (=Yc,v,C) variant.
* gcc.target/i386/avx512f-pr85832.c: Expect vptestnm rather than
vptestm.
* gcc.target/i386/avx512vl-pr85832.c: Likewise.
* gcc.target/i386/avx512vlbw-pr85832.c: Likewise.
* gcc.target/i386/avx512bw-pr85832.c: Likewise.
* gcc.target/i386/avx512bw-pr86036.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/i386/avx512bw-pr86036.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/sse.md
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/i386/avx512bw-pr85832.c
trunk/gcc/testsuite/gcc.target/i386/avx512f-pr85832.c
trunk/gcc/testsuite/gcc.target/i386/avx512vl-pr85832.c
trunk/gcc/testsuite/gcc.target/i386/avx512vlbw-pr85832.c
>From gcc-bugs-return-606402-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 13:51:57 2018
Return-Path: <gcc-bugs-return-606402-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1092 invoked by alias); 4 Jun 2018 13:51:57 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 842 invoked by uid 48); 4 Jun 2018 13:51:53 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86036] [9 Regression] wrong code with -mavx512bw
Date: Mon, 04 Jun 2018 13:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-86036-4-EBWlGfmITc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86036-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86036-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00197.txt.bz2
Content-length: 437
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86036
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Should be fixed now.
>From gcc-bugs-return-606403-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 13:52:33 2018
Return-Path: <gcc-bugs-return-606403-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5705 invoked by alias); 4 Jun 2018 13:52:33 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 5571 invoked by uid 48); 4 Jun 2018 13:52:29 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/85832] [AVX512] possible shorter code when comparing with vector of zeros
Date: Mon, 04 Jun 2018 13:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-85832-4-u1rPdArnNA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85832-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85832-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00198.txt.bz2
Content-length: 423
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85832
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-606404-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 14:34:51 2018
Return-Path: <gcc-bugs-return-606404-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76228 invoked by alias); 4 Jun 2018 14:34:50 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 76025 invoked by uid 55); 4 Jun 2018 14:34:45 -0000
From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/85994] Comparison failure in 64-bit libgcc *_{sav,res}ms64*.o on Solaris/x86
Date: Mon, 04 Jun 2018 14:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85994-4-HSq8qhhPl2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85994-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85994-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00199.txt.bz2
Content-length: 1615
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85994
--- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot
> Uni-Bielefeld.DE> ---
>> --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
>> (In reply to Rainer Orth from comment #0)
>>> I see several possible fixes:
>>>
>>> * Just compile those files with -g0: there's probably no point in gas adding
>>> debug info anyway.
>>>
>>> * Restrict the cpp -P workaround to non-gas.
>>>
>>> * Autoconf assembler # <line> support and only pass -P to cpp if really
>>> needed.
>>>
>>> Suggestions?
>>
>> The last two work for me.
>
> Unless there are other comments, I'll go for the third option.
I tried that, to no avail:
* The original Solaris 10/x86 as (version s10_73) cannot even assemble
mov %r15,-0x70(%rax)
It seems it doesn't recognize any amd64 register names.
* The first as to support line markers (from patch 119961-03) breaks in
the 64-bit libgcc:
Assembler: unwind-c.c
"/var/tmp//ccFLB9of.s", line 127 : Illegal subtraction - symbols from
different sections: ".L23", ".L25"
make[5]: *** [/vol/gcc/src/hg/trunk/local/libgcc/shared-object.mk:14:
unwind-c.o] Error 1
Unlike the current Solaris 10/x86 as, HAVE_AS_IX86_DIFF_SECT_DELTA
isn't defined in gcc/auto-host.h.
Given that neither assembler is usable to bootstrap current gcc, with or
without passing -P to cpp and nobody cared, I've chosen just to always
omit -P to fix the comparison failure.
Will install patch shortly.
>From gcc-bugs-return-606405-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 14:44:40 2018
Return-Path: <gcc-bugs-return-606405-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10761 invoked by alias); 4 Jun 2018 14:44:40 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 121447 invoked by uid 48); 4 Jun 2018 14:44:29 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/85116] std::min_element does not optimize well with inlined predicate
Date: Mon, 04 Jun 2018 14:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85116-4-33p9gFBUVX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85116-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85116-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00200.txt.bz2
Content-length: 747
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85116
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
So what is missing is for us to see that for the following __first_21 is
__first_20 + 8B and so we can replace either with the other. IVOPTs figures
this out but nothing before.
<bb 4>
# __first_20 = PHI <&testArray._M_elems(2), __first_21(7)>
# __first_21 = PHI <&MEM[(void *)&testArray + 8B](2), __first_7(7)>
...
_8 = MEM[(const double *)__first_20 + 8B];
<bb 3> [local count: 955630224]:
# __result_15 = PHI <__first_21(5), __result_22(8)>
__first_7 = __first_21 + 8;
if (__first_7 != &MEM[(void *)&testArray + 8000B])
goto <bb 7>; [89.00%]
else
goto <bb 6>; [11.00%]
<bb 7> [local count: 850510900]:
>From gcc-bugs-return-606406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 14:46:02 2018
Return-Path: <gcc-bugs-return-606406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115903 invoked by alias); 4 Jun 2018 14:46:02 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 110181 invoked by uid 48); 4 Jun 2018 14:45:58 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/61806] [C++11] Expression sfinae w/o access gives hard error in partial template specializations
Date: Mon, 04 Jun 2018 14:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-61806-4-9LqdqBzPdC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61806-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61806-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00201.txt.bz2
Content-length: 378
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61806
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
>From gcc-bugs-return-606407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 14:50:41 2018
Return-Path: <gcc-bugs-return-606407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91633 invoked by alias); 4 Jun 2018 14:50:41 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 88560 invoked by uid 48); 4 Jun 2018 14:50:36 -0000
From: "joshua.r.marshall.1991 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86015] Better handling of iterator distances
Date: Mon, 04 Jun 2018 14:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: joshua.r.marshall.1991 at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86015-4-djEpAKZRuX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00202.txt.bz2
Content-length: 575
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86015
--- Comment #7 from Josh Marshall <joshua.r.marshall.1991 at gmail dot com> ---
I got the licensing cleared up over the weekend, and so I can actually
reference the code in question for this.
https://github.com/anadon/Sort-Comparisons-and-Performance-metrics
The only way to track use of operations on iterator distances effectively would
be for a change like this to go through. If deemed appropriate, I might ask
about this change to the C++ standard since it won't break any existing code
and adds flexibility.
>From gcc-bugs-return-606408-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 15:16:38 2018
Return-Path: <gcc-bugs-return-606408-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118572 invoked by alias); 4 Jun 2018 15:16:38 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 116311 invoked by uid 55); 4 Jun 2018 15:16:34 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/61806] [C++11] Expression sfinae w/o access gives hard error in partial template specializations
Date: Mon, 04 Jun 2018 15:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-61806-4-jQaZXvQCAY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61806-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61806-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00203.txt.bz2
Content-length: 700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61806
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Jun 4 15:16:00 2018
New Revision: 261151
URL: https://gcc.gnu.org/viewcvs?rev=261151&root=gcc&view=rev
Log:
PR c++/61806 - missed SFINAE with partial specialization.
* cp-tree.h (deferring_access_check_sentinel): Add deferring_kind
parameter to constructor.
* pt.c (instantiate_class_template_1): Enable access checking
before call to most_specialized_partial_spec.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/sfinae63.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/pt.c
>From gcc-bugs-return-606409-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 15:36:25 2018
Return-Path: <gcc-bugs-return-606409-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41468 invoked by alias); 4 Jun 2018 15:36:25 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 41380 invoked by uid 55); 4 Jun 2018 15:36:21 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/85623] strncmp() warns about attribute 'nonstring' incorrectly in -Wstringop-overflow
Date: Mon, 04 Jun 2018 15:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85623-4-Nq2KOHTinh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85623-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85623-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00204.txt.bz2
Content-length: 1121
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85623
--- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Mon Jun 4 15:35:49 2018
New Revision: 261152
URL: https://gcc.gnu.org/viewcvs?rev=261152&root=gcc&view=rev
Log:
PR c/85623 - strncmp() warns about attribute 'nonstring' incorrectly
in -Wstringop-overflow
gcc/ChangeLog:
PR c/85623
* calls.c (maybe_warn_nonstring_arg): Use string length to set
or ajust the presumed bound on an operation to avoid unnecessary
warnings.
gcc/testsuite/ChangeLog:
PR c/85623
* c-c++-common/attr-nonstring-3.c: Adjust.
* c-c++-common/attr-nonstring-4.c: Adjust.
* c-c++-common/attr-nonstring-6.c: New test.
Added:
branches/gcc-8-branch/gcc/testsuite/c-c++-common/attr-nonstring-6.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/calls.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/testsuite/c-c++-common/attr-nonstring-3.c
branches/gcc-8-branch/gcc/testsuite/c-c++-common/attr-nonstring-4.c
>From gcc-bugs-return-606410-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 15:37:34 2018
Return-Path: <gcc-bugs-return-606410-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45002 invoked by alias); 4 Jun 2018 15:37:33 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 44835 invoked by uid 48); 4 Jun 2018 15:37:28 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/85623] strncmp() warns about attribute 'nonstring' incorrectly in -Wstringop-overflow
Date: Mon, 04 Jun 2018 15:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-85623-4-JiKIiGlRSL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85623-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85623-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00205.txt.bz2
Content-length: 459
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85623
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
Patch backported into 8-branch in r261152.
>From gcc-bugs-return-606411-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 15:40:41 2018
Return-Path: <gcc-bugs-return-606411-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77207 invoked by alias); 4 Jun 2018 15:40:40 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 77119 invoked by uid 48); 4 Jun 2018 15:40:36 -0000
From: "lmorrison at nautel dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86040] New: [avr]: RAMPZ is not always cleared after loading __flashN data
Date: Mon, 04 Jun 2018 15:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lmorrison at nautel dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-86040-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00206.txt.bz2
Content-length: 1882
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86040
Bug ID: 86040
Summary: [avr]: RAMPZ is not always cleared after loading
__flashN data
Product: gcc
Version: 8.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: lmorrison at nautel dot com
Target Milestone: ---
Created attachment 44230
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44230&action=edit
Test case demonstrating the failure to restore/clear RAMPZ
This is possibly related to bug 52461, but it appears that either not all cases
were caught, or else a regression might have re-introduced the problem.
When data is fetched from program memory through the use of the __flashN named
address spaces, the RAMPZ register is set-up with the correct high-order
address byte prior to the data fetch. Most of the time, after the fetch is
complete, RAMPZ is cleared back to zero. However, it appears that at least some
of the time, RAMPZ is not cleared after use.
It's important that RAMPZ must be cleared after use, because some supported AVR
processors (ie. XMEGA with EBI) also implicitly make use of the RAMPZ register
whenever data-space memory is accessed through the Z pointer.
I am attaching a minimal example, targeting the ATxmega128A1U, which
demonstrates both one case in which the correct behavior occurs, and another in
which the wrong behavior occurs.
Specifically, when a single-byte value is fetched (myArray[x][y].value1) RAMPZ
is not cleared. When a multi-byte value is fetched (myArray[x][y].value2) RAMPZ
is correctly cleared.
This test case has been compiled against avr-gcc 5.4.0, 8.0.1, and 8.1.0, with
optimization set to O0, O1, and Os. All cases exhibit the problem.
>From gcc-bugs-return-606412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 15:42:12 2018
Return-Path: <gcc-bugs-return-606412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80644 invoked by alias); 4 Jun 2018 15:42:11 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 80517 invoked by uid 48); 4 Jun 2018 15:42:07 -0000
From: "lmorrison at nautel dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86040] [avr]: RAMPZ is not always cleared after loading __flashN data
Date: Mon, 04 Jun 2018 15:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lmorrison at nautel dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-86040-4-0pMTI2amAy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86040-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86040-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00207.txt.bz2
Content-length: 275
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86040
--- Comment #1 from Luke Morrison <lmorrison at nautel dot com> ---
Created attachment 44231
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44231&action=edit
Compiled output from avr-gcc 8.1.0 of the test case.
>From gcc-bugs-return-606413-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 15:55:25 2018
Return-Path: <gcc-bugs-return-606413-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22511 invoked by alias); 4 Jun 2018 15:55:25 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 10173 invoked by uid 55); 4 Jun 2018 15:55:20 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85981] ICE in gfc_trans_string_copy, at fortran/trans-expr.c:6539
Date: Mon, 04 Jun 2018 15:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85981-4-GHelosQoB2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85981-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85981-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00208.txt.bz2
Content-length: 1086
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85981
--- Comment #6 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Mon Jun 4 15:54:48 2018
New Revision: 261154
URL: https://gcc.gnu.org/viewcvs?rev=261154&root=gcc&view=rev
Log:
2018-06-04 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85981
* resolve.c (resolve_allocate_deallocate): Check errmsg is default
character kind.
2018-06-04 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85981
* gfortran.dg/allocate_alloc_opt_14.f90: New test.
* gfortran.dg/allocate_alloc_opt_1.f90: Update error string.
* gfortran.dg/allocate_stat_2.f90: Ditto.
* gfortran.dg/deallocate_alloc_opt_1.f90: Ditto.
Added:
trunk/gcc/testsuite/gfortran.dg/allocate_alloc_opt_14.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/allocate_alloc_opt_1.f90
trunk/gcc/testsuite/gfortran.dg/allocate_stat_2.f90
trunk/gcc/testsuite/gfortran.dg/deallocate_alloc_opt_1.f90
>From gcc-bugs-return-606414-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 16:08:13 2018
Return-Path: <gcc-bugs-return-606414-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74158 invoked by alias); 4 Jun 2018 16:08:12 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 71532 invoked by uid 55); 4 Jun 2018 16:08:08 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/85930] [8/9 Regression] Misaligned reference created in shared_ptr_base.h with -fno-rtti
Date: Mon, 04 Jun 2018 16:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85930-4-Nz9DZTbfQN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85930-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85930-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00209.txt.bz2
Content-length: 545
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85930
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Jun 4 16:07:35 2018
New Revision: 261155
URL: https://gcc.gnu.org/viewcvs?rev=261155&root=gcc&view=rev
Log:
PR libstdc++/85930 fix misaligned reference
PR libstdc++/85930
* include/bits/shared_ptr_base.h (_Sp_make_shared_tag::_S_ti): Align
the static variable correctly.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/shared_ptr_base.h
>From gcc-bugs-return-606415-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 16:42:08 2018
Return-Path: <gcc-bugs-return-606415-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91530 invoked by alias); 4 Jun 2018 16:42:07 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 86166 invoked by uid 55); 4 Jun 2018 16:42:03 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85981] ICE in gfc_trans_string_copy, at fortran/trans-expr.c:6539
Date: Mon, 04 Jun 2018 16:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85981-4-2bb5giU0or@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85981-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85981-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00210.txt.bz2
Content-length: 1202
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85981
--- Comment #7 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Mon Jun 4 16:41:31 2018
New Revision: 261160
URL: https://gcc.gnu.org/viewcvs?rev=261160&root=gcc&view=rev
Log:
2018-06-04 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85981
* resolve.c (resolve_allocate_deallocate): Check errmsg is default
character kind.
2018-06-04 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85981
* gfortran.dg/allocate_alloc_opt_14.f90: New test.
* gfortran.dg/allocate_alloc_opt_1.f90: Update error string.
* gfortran.dg/allocate_stat_2.f90: Ditto.
* gfortran.dg/deallocate_alloc_opt_1.f90: Ditto.
Added:
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/allocate_alloc_opt_14.f90
Modified:
branches/gcc-8-branch/gcc/fortran/ChangeLog
branches/gcc-8-branch/gcc/fortran/resolve.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/allocate_alloc_opt_1.f90
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/allocate_stat_2.f90
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/deallocate_alloc_opt_1.f90
>From gcc-bugs-return-606416-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 16:46:24 2018
Return-Path: <gcc-bugs-return-606416-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105738 invoked by alias); 4 Jun 2018 16:46:24 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 105553 invoked by uid 48); 4 Jun 2018 16:46:18 -0000
From: "lh_mouse at 126 dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/78870] Support std::filesystem on Windows
Date: Mon, 04 Jun 2018 16:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lh_mouse at 126 dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78870-4-ULLXAiycCE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00211.txt.bz2
Content-length: 400
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78870
--- Comment #21 from Liu Hao <lh_mouse at 126 dot com> ---
On current branch master [1] and gcc-8-branch the libstdc++fs DLL is not
created for x86_64-w64-mingw32.
Please re-open.
[1] remotes/origin/master 84b3cf31c30 PR
target/85832 PR target/86036 * config/i386/sse.md
(<avx512>_eq<mode>3<mask_scalar_me
>From gcc-bugs-return-606417-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 16:49:05 2018
Return-Path: <gcc-bugs-return-606417-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110425 invoked by alias); 4 Jun 2018 16:49:05 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 110274 invoked by uid 48); 4 Jun 2018 16:48:58 -0000
From: "lh_mouse at 126 dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/78870] Support std::filesystem on Windows
Date: Mon, 04 Jun 2018 16:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lh_mouse at 126 dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78870-4-m2h8yTFEHy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00212.txt.bz2
Content-length: 663
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78870
--- Comment #22 from Liu Hao <lh_mouse at 126 dot com> ---
```
lh_mouse@lhmouse-pc /e/GitHub/MINGW-packages/mingw-w64-gcc-git $ gcc --version
gcc.exe (master HEAD with MCF thread model, built by LH_Mouse.) 9.0.0 20180604
(experimental)
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
````
This is the list of DLLs installed with `make install`:
```
libatomic-1.dll
libgcc_s_seh-1.dll
libgomp-1.dll
libquadmath-0.dll
libssp-0.dll
libstdc++-6.dll
```
>From gcc-bugs-return-606418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 16:52:04 2018
Return-Path: <gcc-bugs-return-606418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38830 invoked by alias); 4 Jun 2018 16:52:04 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 38709 invoked by uid 48); 4 Jun 2018 16:52:00 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86041] New: g++.dg/cpp1z/feat-cxx1z.C fails since 261090
Date: Mon, 04 Jun 2018 16:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86041-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00213.txt.bz2
Content-length: 746
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86041
Bug ID: 86041
Summary: g++.dg/cpp1z/feat-cxx1z.C fails since 261090
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: clyon at gcc dot gnu.org
Target Milestone: ---
Hi Jason,
Since your commit r261090 (Bump __cpp_deduction_guides to 201703), I've noticed
that:
FAIL: g++.dg/cpp1z/feat-cxx1z.C
at least on arm
/gcc/testsuite/g++.dg/cpp1z/feat-cxx1z.C:362:4: error: #error
"__cpp_deduction_guides != 201611"
compiler exited with status 1
Is it just a matter of updating the testcase?
>From gcc-bugs-return-606419-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 16:59:18 2018
Return-Path: <gcc-bugs-return-606419-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73275 invoked by alias); 4 Jun 2018 16:59:18 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 70946 invoked by uid 48); 4 Jun 2018 16:59:13 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86042] New: [8 Regression] missing strlen optimization after second strcpy
Date: Mon, 04 Jun 2018 16:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86042-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00214.txt.bz2
Content-length: 1271
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86042
Bug ID: 86042
Summary: [8 Regression] missing strlen optimization after
second strcpy
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: msebor at gcc dot gnu.org
Target Milestone: ---
GCC 7 and prior eliminate both strlen() calls in the program below. GCC 8 only
eliminates the first call, emitting worse code than prior versions.
$ cat c.c && gcc -O2 -S -Wall -Wextra -fdump-tree-optimized=/dev/stdout c.c
char a[3];
int main ()
{
int n[2];
__builtin_strcpy (a, "12");
n[0] = __builtin_strlen (a);
__builtin_strcpy (a, "12");
n[1] = __builtin_strlen (a);
__builtin_printf ("%i %i\n", n[0], n[1]);
}
;; Function main (main, funcdef_no=0, decl_uid=1956, cgraph_uid=0,
symbol_order=1) (executed once)
main ()
{
long unsigned int _3;
int _4;
<bb 2> [local count: 1073741825]:
MEM[(char * {ref-all})&a] = MEM[(char * {ref-all})"12"];
_3 = __builtin_strlen (&a);
_4 = (int) _3;
__builtin_printf ("%i %i\n", 2, _4);
return 0;
}
>From gcc-bugs-return-606420-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 17:01:04 2018
Return-Path: <gcc-bugs-return-606420-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115128 invoked by alias); 4 Jun 2018 17:01:04 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 113517 invoked by uid 48); 4 Jun 2018 17:00:58 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86042] [8 Regression] missing strlen optimization after second strcpy
Date: Mon, 04 Jun 2018 17:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords see_also blocked
Message-ID: <bug-86042-4-KZ7342zdcL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86042-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86042-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00215.txt.bz2
Content-length: 1037
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86042
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=83501
Blocks| |83819
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Bisection points to r255197 (see also bug 83501 for another regression related
to this change):
2017-11-28 Richard Biener <rguenther@suse.de>
PR middle-end/83141
* gimple-fold.c (gimple_fold_builtin_memory_op): For aggregate
copies generated from memcpy use a character array as reference
type.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819
[Bug 83819] [meta-bug] missing strlen optimizations
>From gcc-bugs-return-606421-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 17:08:57 2018
Return-Path: <gcc-bugs-return-606421-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12337 invoked by alias); 4 Jun 2018 17:08:57 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 1927 invoked by uid 48); 4 Jun 2018 17:08:52 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86041] g++.dg/cpp1z/feat-cxx1z.C fails since 261090
Date: Mon, 04 Jun 2018 17:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-86041-4-M1GurKaL0c@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86041-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86041-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00216.txt.bz2
Content-length: 451
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86041
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
I updated the testcase in r261100.
>From gcc-bugs-return-606422-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 17:09:39 2018
Return-Path: <gcc-bugs-return-606422-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90216 invoked by alias); 4 Jun 2018 17:09:39 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 82871 invoked by uid 55); 4 Jun 2018 17:09:35 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85981] ICE in gfc_trans_string_copy, at fortran/trans-expr.c:6539
Date: Mon, 04 Jun 2018 17:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85981-4-Ekt4HnK7f8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85981-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85981-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00217.txt.bz2
Content-length: 1202
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85981
--- Comment #8 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Mon Jun 4 17:09:01 2018
New Revision: 261162
URL: https://gcc.gnu.org/viewcvs?rev=261162&root=gcc&view=rev
Log:
2018-06-04 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85981
* resolve.c (resolve_allocate_deallocate): Check errmsg is default
character kind.
2018-06-04 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85981
* gfortran.dg/allocate_alloc_opt_14.f90: New test.
* gfortran.dg/allocate_alloc_opt_1.f90: Update error string.
* gfortran.dg/allocate_stat_2.f90: Ditto.
* gfortran.dg/deallocate_alloc_opt_1.f90: Ditto.
Added:
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/allocate_alloc_opt_14.f90
Modified:
branches/gcc-7-branch/gcc/fortran/ChangeLog
branches/gcc-7-branch/gcc/fortran/resolve.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/allocate_alloc_opt_1.f90
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/allocate_stat_2.f90
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/deallocate_alloc_opt_1.f90
>From gcc-bugs-return-606423-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 17:11:44 2018
Return-Path: <gcc-bugs-return-606423-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3934 invoked by alias); 4 Jun 2018 17:11:43 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 125727 invoked by uid 48); 4 Jun 2018 17:11:39 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85981] ICE in gfc_trans_string_copy, at fortran/trans-expr.c:6539
Date: Mon, 04 Jun 2018 17:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-85981-4-hjfkPXsSh3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85981-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85981-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00218.txt.bz2
Content-length: 510
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85981
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |7.4
--- Comment #9 from kargl at gcc dot gnu.org ---
Fixed on 7-branch, 8-branch, and trunk. Closing.
Thanks for bug report.
>From gcc-bugs-return-606424-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 17:31:04 2018
Return-Path: <gcc-bugs-return-606424-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26053 invoked by alias); 4 Jun 2018 17:31:04 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 22644 invoked by uid 48); 4 Jun 2018 17:30:44 -0000
From: "tavianator at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86029] gcc -O3 make very slow product
Date: Mon, 04 Jun 2018 17:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tavianator at gmail dot com
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86029-4-b1tZ1RWnDV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86029-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86029-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00219.txt.bz2
Content-length: 834
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86029
--- Comment #5 from Tavian Barnes <tavianator at gmail dot com> ---
(In reply to Zsolt from comment #3)
> What is the difference between gcc's and clang's __mulsc3?
The important difference is that Clang (and GCC trunk) expand the fastpath
inline, and fall back on __mulsc3 for the more complicated cases. So instead
of
complex float a = b * c;
expanding to
complex float a = __mulsc3(crealf(b), cimagf(b), crealf(c), cimagf(c));
it's more like
complex float a = (crealf(b)*crealf(c) - cimagf(b)*cimagf(c) +
I*(crealf(b)*cimagf(c) + cimagf(b)*crealf(c));
if (isunordered(crealf(a), cimagf(a))) {
a = __mulsc3(crealf(b), cimagf(b), crealf(c), cimagf(c));
}
The fastpath and unlikely branch tends to be faster than the function call.
>From gcc-bugs-return-606425-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 17:33:57 2018
Return-Path: <gcc-bugs-return-606425-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28069 invoked by alias); 4 Jun 2018 17:33:57 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 22843 invoked by uid 48); 4 Jun 2018 17:33:53 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/80481] Unoptimal additional copy instructions
Date: Mon, 04 Jun 2018 17:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc resolution everconfirmed
Message-ID: <bug-80481-4-h8Z0H4r6mZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80481-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80481-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00220.txt.bz2
Content-length: 728
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80481
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Last reconfirmed| |2018-06-04
CC| |jason at gcc dot gnu.org
Resolution|FIXED |---
Ever confirmed|0 |1
--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
The testcase has been failing for a while on x86_64 linux as well:
https://gcc.gnu.org/ml/gcc-testresults/2018-06/msg00431.html
>From gcc-bugs-return-606426-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 17:35:16 2018
Return-Path: <gcc-bugs-return-606426-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111846 invoked by alias); 4 Jun 2018 17:35:16 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 111059 invoked by uid 48); 4 Jun 2018 17:35:11 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/78870] Support std::filesystem on Windows
Date: Mon, 04 Jun 2018 17:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78870-4-Chpo7rBNAU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00221.txt.bz2
Content-length: 233
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78870
--- Comment #23 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Nothing has been committed for gcc-8-branch so of course it isn't created.
For trunk, did you read comment 14?
>From gcc-bugs-return-606427-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 17:42:21 2018
Return-Path: <gcc-bugs-return-606427-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121050 invoked by alias); 4 Jun 2018 17:42:21 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 120722 invoked by uid 48); 4 Jun 2018 17:42:16 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86043] New: strlen after memcpy partially overwriting a string not optimized
Date: Mon, 04 Jun 2018 17:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86043-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00222.txt.bz2
Content-length: 1607
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86043
Bug ID: 86043
Summary: strlen after memcpy partially overwriting a string not
optimized
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: msebor at gcc dot gnu.org
Target Milestone: ---
The tree-ssa-strlen optimization has code to detect non-nul character stores
into the initial elements of a string of a known length and avoid invalidating
its length information, but it's missing the same optimization for
corresponding stores by memcpy (or similarly, strcpy).
$ cat d.c && gcc -O2 -S -Wall -Wextra -fdump-tree-optimized=/dev/stdout d.c
char a[5];
int f (void)
{
__builtin_strcpy (a, "123");
a[0] = '1';
return __builtin_strlen (a); // folded, good
}
int g (void)
{
__builtin_strcpy (a, "123");
__builtin_memcpy (a + 1, "2", 1);
return __builtin_strlen (a); // not folded
}
;; Function f (f, funcdef_no=0, decl_uid=1957, cgraph_uid=0, symbol_order=1)
f ()
{
<bb 2> [local count: 1073741825]:
__builtin_memcpy (&a, "123", 4);
return 3;
}
;; Function g (g, funcdef_no=1, decl_uid=1960, cgraph_uid=1, symbol_order=2)
g ()
{
long unsigned int _1;
int _5;
<bb 2> [local count: 1073741825]:
__builtin_memcpy (&a, "123", 4);
__builtin_memcpy (&MEM[(void *)&a + 1B], "2", 1);
_1 = __builtin_strlen (&a);
_5 = (int) _1;
return _5;
}
>From gcc-bugs-return-606428-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 17:43:48 2018
Return-Path: <gcc-bugs-return-606428-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46877 invoked by alias); 4 Jun 2018 17:43:48 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 41059 invoked by uid 48); 4 Jun 2018 17:43:44 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86043] strlen after memcpy partially overwriting a string not optimized
Date: Mon, 04 Jun 2018 17:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords see_also blocked
Message-ID: <bug-86043-4-pnCpue8f6D@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86043-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86043-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00223.txt.bz2
Content-length: 786
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86043
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=86042
Blocks| |83819
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
See also bug 86042. It's possible to handle this enhancement by fixing that
bug.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819
[Bug 83819] [meta-bug] missing strlen optimizations
>From gcc-bugs-return-606429-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 17:45:56 2018
Return-Path: <gcc-bugs-return-606429-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75151 invoked by alias); 4 Jun 2018 17:45:56 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 74979 invoked by uid 48); 4 Jun 2018 17:45:51 -0000
From: "johelegp at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86044] New: noexcept(false) of constexpr member function ignored
Date: Mon, 04 Jun 2018 17:45:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: johelegp at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86044-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00224.txt.bz2
Content-length: 745
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86044
Bug ID: 86044
Summary: noexcept(false) of constexpr member function ignored
Product: gcc
Version: 8.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: johelegp at gmail dot com
Target Milestone: ---
In the following snippet, the assertion fails if `constexpr` isn't commented
out. See https://godbolt.org/g/FCEHCb.
```C++
struct A {
};
template <class K>
struct H {
constexpr
int operator()(const K&) const noexcept(false)
{
return 0;
}
};
static_assert(!noexcept(H<A>()(A())), "");
```
>From gcc-bugs-return-606430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 17:46:19 2018
Return-Path: <gcc-bugs-return-606430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92754 invoked by alias); 4 Jun 2018 17:46:18 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 88711 invoked by uid 48); 4 Jun 2018 17:46:14 -0000
From: "wilson at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/86039] Compiler placed in deep/long folder cannot open/run needed files on Windows
Date: Mon, 04 Jun 2018 17:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 6.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wilson at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-86039-4-Qkp8yhO31r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86039-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86039-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00225.txt.bz2
Content-length: 591
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86039
Jim Wilson <wilson at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wilson at gcc dot gnu.org
--- Comment #1 from Jim Wilson <wilson at gcc dot gnu.org> ---
Windows has a 260 character default maximum path length. See for instance
https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#maxpath
This looks like an OS problem not a gcc problem.
>From gcc-bugs-return-606431-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 17:54:38 2018
Return-Path: <gcc-bugs-return-606431-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51783 invoked by alias); 4 Jun 2018 17:54:37 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 45687 invoked by uid 48); 4 Jun 2018 17:54:32 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays
Date: Mon, 04 Jun 2018 17:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 5.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gscfq@t-online.de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-66193-4-8OHWWlkAA2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66193-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66193-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00226.txt.bz2
Content-length: 2297
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193
G. Steinmetz <gscfq@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gscfq@t-online.de
--- Comment #17 from G. Steinmetz <gscfq@t-online.de> ---
(In reply to kargl from comment 16)
> I propose that first 2 testcases be committed to the testsuite ...
Good, sounds reasonable.
I did a new search for test cases without nested array constructors
and found a few other valid examples :
$ cat za3.f90
program p
real, parameter :: z(3) = 2.0 * [real :: 1, (2), 3]
print *, z
end
$ cat za4.f90
program p
integer, parameter :: z(3) = 2 * [integer :: 1, (2), 3]
print *, z
end
$ cat za5.f90
program p
real, parameter :: z(2) = [real :: 1, (2)] + 10.0
print *, z
end
$ gfortran-9-20180603 -c za3.f90
f951: internal compiler error: Segmentation fault
0xba15af crash_signal
../../gcc/toplev.c:325
0x675028 reduce_binary_ca
../../gcc/fortran/arith.c:1348
0x674fc2 reduce_binary_ca
../../gcc/fortran/arith.c:1335
0x675204 reduce_binary
../../gcc/fortran/arith.c:1418
0x675b3b eval_intrinsic
../../gcc/fortran/arith.c:1596
0x675d9e eval_intrinsic_f3
../../gcc/fortran/arith.c:1733
0x6dd7b4 match_add_operand
../../gcc/fortran/matchexp.c:392
0x6dd99c match_level_2
../../gcc/fortran/matchexp.c:480
0x6ddaf2 match_level_3
../../gcc/fortran/matchexp.c:551
0x6ddc04 match_level_4
../../gcc/fortran/matchexp.c:599
0x6ddc04 match_and_operand
../../gcc/fortran/matchexp.c:693
0x6dddc2 match_or_operand
../../gcc/fortran/matchexp.c:722
0x6ddeb2 match_equiv_operand
../../gcc/fortran/matchexp.c:765
0x6ddfa2 match_level_5
../../gcc/fortran/matchexp.c:811
0x6dd311 gfc_match_expr(gfc_expr**)
../../gcc/fortran/matchexp.c:870
0x6ae3e2 gfc_match_init_expr(gfc_expr**)
../../gcc/fortran/expr.c:2807
0x69bfb9 variable_decl
../../gcc/fortran/decl.c:2681
0x69bfb9 gfc_match_data_decl()
../../gcc/fortran/decl.c:5880
0x6f6fb9 match_word_omp_simd
../../gcc/fortran/parse.c:93
0x6fa6ae match_word
../../gcc/fortran/parse.c:376
>From gcc-bugs-return-606432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 17:56:57 2018
Return-Path: <gcc-bugs-return-606432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93109 invoked by alias); 4 Jun 2018 17:56:57 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 92989 invoked by uid 48); 4 Jun 2018 17:56:53 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86045] New: ICE in reduce_binary_ac, at fortran/arith.c:1308 (and others)
Date: Mon, 04 Jun 2018 17:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gscfq@t-online.de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86045-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00227.txt.bz2
Content-length: 2122
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86045
Bug ID: 86045
Summary: ICE in reduce_binary_ac, at fortran/arith.c:1308 (and
others)
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
This invalid code affects versions down to at least 4.8 :
$ cat z1.f90
program p
logical :: a(2) = (mod([2,3],0) == 0)
integer :: b = count(mod([2,3],0) == 0)
integer :: c = all(mod([2,3],0) == 0)
integer :: d = any(mod([2,3],0) == 0)
end
$ gfortran-9-20180603 -c z1.f90
f951: internal compiler error: Segmentation fault
0xba15af crash_signal
../../gcc/toplev.c:325
0x675138 reduce_binary_ac
../../gcc/fortran/arith.c:1308
0x6750d2 reduce_binary_ac
../../gcc/fortran/arith.c:1295
0x67531c reduce_binary
../../gcc/fortran/arith.c:1421
0x675b3b eval_intrinsic
../../gcc/fortran/arith.c:1596
0x675d9e eval_intrinsic_f3
../../gcc/fortran/arith.c:1733
0x6ac5a5 simplify_intrinsic_op
../../gcc/fortran/expr.c:1158
0x6ac5a5 gfc_simplify_expr(gfc_expr*, int)
../../gcc/fortran/expr.c:1984
0x6ab947 gfc_reduce_init_expr(gfc_expr*)
../../gcc/fortran/expr.c:2775
0x6ae431 gfc_match_init_expr(gfc_expr**)
../../gcc/fortran/expr.c:2821
0x69bfb9 variable_decl
../../gcc/fortran/decl.c:2681
0x69bfb9 gfc_match_data_decl()
../../gcc/fortran/decl.c:5880
0x6f6fb9 match_word_omp_simd
../../gcc/fortran/parse.c:93
0x6fa6ae match_word
../../gcc/fortran/parse.c:376
0x6fa6ae decode_statement
../../gcc/fortran/parse.c:376
0x6fc5d4 next_free
../../gcc/fortran/parse.c:1230
0x6fc5d4 next_statement
../../gcc/fortran/parse.c:1462
0x6fe3ec parse_spec
../../gcc/fortran/parse.c:3670
0x7003b3 parse_progunit
../../gcc/fortran/parse.c:5667
0x701994 gfc_parse_file()
../../gcc/fortran/parse.c:6207
>From gcc-bugs-return-606433-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 17:57:29 2018
Return-Path: <gcc-bugs-return-606433-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94488 invoked by alias); 4 Jun 2018 17:57:29 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 94336 invoked by uid 48); 4 Jun 2018 17:57:23 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86045] ICE in reduce_binary_ac, at fortran/arith.c:1308 (and others)
Date: Mon, 04 Jun 2018 17:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gscfq@t-online.de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86045-4-RvsJEIAIsS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86045-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86045-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00228.txt.bz2
Content-length: 1980
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86045
--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---
In addition some ugly cases with null(), losely related to pr66193.
$ cat zn1.f90
program p
real :: z(1) = [real :: null()] + 2.0
end
$ cat zn2.f90
program p
real :: z(1) = [real :: null()] + [real :: 2]
end
$ cat zn3.f90
program p
real :: z(1) = 1.0 + [real :: null()]
end
$ cat zn4.f90
program p
real :: z(1) = [real :: 1] + [real :: null()]
end
$ cat zn5.f90
program p
real :: z(2) = [real :: null()] + [real :: null()]
end
$ gfortran-9-20180603 -c zn1.f90
f951: internal compiler error: Segmentation fault
0xba15af crash_signal
../../gcc/toplev.c:325
0x675138 reduce_binary_ac
../../gcc/fortran/arith.c:1308
0x6750d2 reduce_binary_ac
../../gcc/fortran/arith.c:1295
0x67531c reduce_binary
../../gcc/fortran/arith.c:1421
0x675b3b eval_intrinsic
../../gcc/fortran/arith.c:1596
0x675d9e eval_intrinsic_f3
../../gcc/fortran/arith.c:1733
0x6ac645 simplify_intrinsic_op
../../gcc/fortran/expr.c:1133
0x6ac645 gfc_simplify_expr(gfc_expr*, int)
../../gcc/fortran/expr.c:1984
0x70f44f resolve_operator
../../gcc/fortran/resolve.c:4162
0x70f44f gfc_resolve_expr(gfc_expr*)
../../gcc/fortran/resolve.c:6716
0x6ab92f gfc_reduce_init_expr(gfc_expr*)
../../gcc/fortran/expr.c:2773
0x6ae431 gfc_match_init_expr(gfc_expr**)
../../gcc/fortran/expr.c:2821
0x69bfb9 variable_decl
../../gcc/fortran/decl.c:2681
0x69bfb9 gfc_match_data_decl()
../../gcc/fortran/decl.c:5880
0x6f6fb9 match_word_omp_simd
../../gcc/fortran/parse.c:93
0x6fa6ae match_word
../../gcc/fortran/parse.c:376
0x6fa6ae decode_statement
../../gcc/fortran/parse.c:376
0x6fc5d4 next_free
../../gcc/fortran/parse.c:1230
0x6fc5d4 next_statement
../../gcc/fortran/parse.c:1462
0x6fe3ec parse_spec
../../gcc/fortran/parse.c:3670
>From gcc-bugs-return-606435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 18:01:15 2018
Return-Path: <gcc-bugs-return-606435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75423 invoked by alias); 4 Jun 2018 18:01:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 75285 invoked by uid 48); 4 Jun 2018 18:01:10 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86045] ICE in reduce_binary_ac, at fortran/arith.c:1308 (and others)
Date: Mon, 04 Jun 2018 18:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-86045-4-yWPLukGIAN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86045-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86045-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00230.txt.bz2
Content-length: 494
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86045
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-04
Ever confirmed|0 |1
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed.
>From gcc-bugs-return-606434-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 18:01:06 2018
Return-Path: <gcc-bugs-return-606434-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74632 invoked by alias); 4 Jun 2018 18:01:05 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 74490 invoked by uid 48); 4 Jun 2018 18:01:01 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86046] New: [9 Regression] ICE in execute_todo, at passes.c:2043
Date: Mon, 04 Jun 2018 18:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gscfq@t-online.de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86046-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00229.txt.bz2
Content-length: 932
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86046
Bug ID: 86046
Summary: [9 Regression] ICE in execute_todo, at passes.c:2043
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Since end of april, gcc configured with --enable-checking=release
and test case compiled with option -fchecking :
$ cat z1.c
typedef int V __attribute__ ((vector_size(4)));
void fn1 ()
{
(V){(1,0)}[1] = 0;
}
$ gcc-8 -c z1.c -fchecking -O2
$
$ gcc-9-20180603 -c z1.c -fchecking -O0
$ gcc-9-20180603 -c z1.c -fchecking -O2
during GIMPLE pass: forwprop
z1.c: In function 'fn1':
z1.c:5:1: internal compiler error: in execute_todo, at passes.c:2043
}
^
0xa2a4da execute_todo
../../gcc/passes.c:2043
>From gcc-bugs-return-606437-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 18:04:14 2018
Return-Path: <gcc-bugs-return-606437-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107429 invoked by alias); 4 Jun 2018 18:04:14 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 107103 invoked by uid 48); 4 Jun 2018 18:04:09 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86047] New: [9 Regression] ICE in for_each_index, at tree-ssa-loop.c:647
Date: Mon, 04 Jun 2018 18:04:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gscfq@t-online.de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86047-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00232.txt.bz2
Content-length: 1390
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86047
Bug ID: 86047
Summary: [9 Regression] ICE in for_each_index, at
tree-ssa-loop.c:647
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Introduced between 20180513 and 20180520 :
$ cat z1.c
extern void f (int, int);
void g (int a, int b)
{
int i, j;
for (i = a; i <= b; ++i)
__builtin_memcpy (g, f, 6);
for (j = a; j <= b; ++j)
f(j, i);
}
$ gcc-9-20180513 -c z1.c -O2
$
$ gcc-9-20180603 -c z1.c -O2
during GIMPLE pass: dse
z1.c: In function 'g':
z1.c:9:1: internal compiler error: in for_each_index, at tree-ssa-loop.c:647
}
^
0xc28623 for_each_index(tree_node**, bool (*)(tree_node*, tree_node**, void*),
void*)
../../gcc/tree-ssa-loop.c:647
0xbe63f1 dse_classify_store
../../gcc/tree-ssa-dse.c:571
0xbe6bf4 dse_dom_walker::dse_optimize_stmt(gimple_stmt_iterator*)
../../gcc/tree-ssa-dse.c:859
0xbe6e9e dse_dom_walker::before_dom_children(basic_block_def*)
../../gcc/tree-ssa-dse.c:924
0x1148e1f dom_walker::walk(basic_block_def*)
../../gcc/domwalk.c:353
0xbe52a4 execute
../../gcc/tree-ssa-dse.c:978
>From gcc-bugs-return-606436-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 18:04:01 2018
Return-Path: <gcc-bugs-return-606436-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106411 invoked by alias); 4 Jun 2018 18:04:01 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 106254 invoked by uid 55); 4 Jun 2018 18:03:56 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/85955] ICE in fold_convert_loc, at fold-const.c:2408
Date: Mon, 04 Jun 2018 18:04:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85955-4-tzO6I3JgVA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85955-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85955-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00231.txt.bz2
Content-length: 659
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85955
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Jun 4 18:03:24 2018
New Revision: 261165
URL: https://gcc.gnu.org/viewcvs?rev=261165&root=gcc&view=rev
Log:
2018-06-04 Richard Biener <rguenther@suse.de>
PR tree-optimization/85955
* builtins.c (fold_builtin_sincos): Convert pointers to
destination to appropriate type before dereferencing.
* gcc.dg/pr85955.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/pr85955.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/builtins.c
trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-606438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 18:06:39 2018
Return-Path: <gcc-bugs-return-606438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 401 invoked by alias); 4 Jun 2018 18:06:39 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 131062 invoked by uid 48); 4 Jun 2018 18:06:35 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/85955] ICE in fold_convert_loc, at fold-const.c:2408
Date: Mon, 04 Jun 2018 18:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution cf_known_to_fail
Message-ID: <bug-85955-4-Jei6KTFFTr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85955-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85955-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00233.txt.bz2
Content-length: 532
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85955
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Known to work| |9.0
Resolution|--- |FIXED
Known to fail|9.0 |
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-606439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 18:09:07 2018
Return-Path: <gcc-bugs-return-606439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10627 invoked by alias); 4 Jun 2018 18:09:06 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 10460 invoked by uid 48); 4 Jun 2018 18:09:00 -0000
From: "gcc at mattwhitlock dot name" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86008] std::quoted(std::basic_string_view) is missing
Date: Mon, 04 Jun 2018 18:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gcc at mattwhitlock dot name
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86008-4-EzFkT8Vn8o@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86008-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86008-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00234.txt.bz2
Content-length: 3800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86008
--- Comment #2 from Matt Whitlock <gcc at mattwhitlock dot name> ---
(In reply to Jonathan Wakely from comment #1)
> (In reply to Matt Whitlock from comment #0)
> > The following shim allows the code above to compile, although it is
> > sub-optimal because it captures a std::basic_string_view by reference.
>
> Have you profiled to see if that matters?
No, mostly because I find micro-benchmarks to be unreliable indicators of
real-world performance. Instead, I prefer to compare the generated code.
I've made a simplified comparison that boils down the essence of what's going
on in the two cases.
/* BEGIN CODE */
#include <string_view>
struct sv_ref {
const std::string_view &sv;
};
struct sv_val {
std::string_view sv;
};
std::ostream & operator << (std::ostream &os, const sv_ref &svr) {
// os.put('"');
for (auto c : svr.sv) {
if (c == '"' || c == '\\') {
os.put('\\');
}
os.put(c);
}
// os.put('"');
return os;
}
std::ostream & operator << (std::ostream &os, const sv_val &svv) {
// os.put('"');
for (auto c : svv.sv) {
if (c == '"' || c == '\\') {
os.put('\\');
}
os.put(c);
}
// os.put('"');
return os;
}
/* END CODE */
Plugging this code into Compiler Explorer (godbolt.org) reveals the following
relevant difference:
-operator<<(std::basic_ostream<char, std::char_traits<char> >&, sv_ref const&):
+operator<<(std::basic_ostream<char, std::char_traits<char> >&, sv_val const&):
push r13
push r12
mov r12, rdi
push rbp
push rbx
sub rsp, 8
- mov rax, QWORD PTR [rsi] ; rax := &svr.sv
- mov rbp, QWORD PTR [rax+8] ; rbp := (&svr.sv)->begin()
- mov r13, QWORD PTR [rax] ; r13 := (&svr.sv)->size()
+ mov rbp, QWORD PTR [rsi+8] ; rbp := svv.sv.begin()
+ mov r13, QWORD PTR [rsi] ; r13 := svv.sv.size()
add r13, rbp
cmp rbp, r13
As expected, the pass-by-reference case requires one additional indirect load
from memory versus the pass-by-value case.
However, this is offset by what happens on the calling side.
/* BEGIN CODE */
#include <iostream>
#include <string_view>
struct sv_ref {
const std::string_view &sv;
};
struct sv_val {
std::string_view sv;
};
std::ostream & operator << (std::ostream &os, const sv_ref &svr);
std::ostream & operator << (std::ostream &os, const sv_val &svv);
const std::string_view sv;
void pass_by_ref() {
std::cout << sv_ref{ sv };
}
void pass_by_val() {
std::cout << sv_val{ sv };
}
/* END CODE */
Here we see tho following relevant difference:
-pass_by_ref():
+pass_by_val():
sub rsp, 24
mov edi, OFFSET FLAT:std::cout
- mov QWORD PTR [rsp+8], OFFSET FLAT:sv
- lea rsi, [rsp+8]
- call operator<<(std::basic_ostream<char, std::char_traits<char> >&, sv_ref
const&)
+ mov rsi, rsp
+ mov QWORD PTR [rsp], 0
+ mov QWORD PTR [rsp+8], 0
+ call operator<<(std::basic_ostream<char, std::char_traits<char> >&, sv_val
const&)
add rsp, 24
ret
The pass-by-value case requires one additional indirect store to memory versus
the pass-by-reference case.
So it's a wash. And, in fact, when I combine the two above snippets of source
code into one compilation unit so that the optimizer can work its magic, the
only differences in the generated code between the two cases are the labels.
That's what I would expect too.
So you're right: although the pass-by-reference case is conceptually
sub-optimal, given the typical advice that std::string_view objects should be
passed by value, in practice it is identical.
>From gcc-bugs-return-606440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 18:47:15 2018
Return-Path: <gcc-bugs-return-606440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27728 invoked by alias); 4 Jun 2018 18:47:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 27609 invoked by uid 48); 4 Jun 2018 18:47:11 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/85951] make_signed and make_unsigned are incorrect for wchar_t, char16_t, and char32_t
Date: Mon, 04 Jun 2018 18:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-85951-4-wlZM7xR7a9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85951-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85951-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00235.txt.bz2
Content-length: 485
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85951
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |8.2
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed for 8.2
>From gcc-bugs-return-606441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 19:17:02 2018
Return-Path: <gcc-bugs-return-606441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8813 invoked by alias); 4 Jun 2018 19:17:02 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 8705 invoked by uid 48); 4 Jun 2018 19:16:57 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85731] [8/9 Regression] Inner class method declaration changes meaning of outer template class template method
Date: Mon, 04 Jun 2018 19:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-85731-4-d6fxZvkE4Q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85731-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85731-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00236.txt.bz2
Content-length: 378
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85731
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
>From gcc-bugs-return-606442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 19:25:04 2018
Return-Path: <gcc-bugs-return-606442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1867 invoked by alias); 4 Jun 2018 19:25:04 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 124523 invoked by uid 48); 4 Jun 2018 19:24:57 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85976] [8/9 Regression] ICE in cp_tree_equal when building Blitz. May be nested templates.
Date: Mon, 04 Jun 2018 19:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-85976-4-S9v9V6TWKW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85976-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85976-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00237.txt.bz2
Content-length: 712
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85976
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|needs-reduction |
--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Got it:
template <int> class A;
template <typename> class B;
template <typename> struct C;
template <typename P_expr> class D {
using B<typename P_expr::T_numtype>::rank_;
void operator()(typename C<A<rank_>>::i);
};
template <typename P_expr> class F {
using B<typename P_expr::T_numtype>::rank_;
void operator()(typename C<A<rank_>>::i);
};
>From gcc-bugs-return-606443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 19:40:19 2018
Return-Path: <gcc-bugs-return-606443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114155 invoked by alias); 4 Jun 2018 19:40:19 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 112944 invoked by uid 48); 4 Jun 2018 19:40:14 -0000
From: "daniel.f.starke at freenet dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86048] New: [8/9 Regression] .seh_savexmm offset is negative error when compiling libpng
Date: Mon, 04 Jun 2018 19:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: daniel.f.starke at freenet dot de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-86048-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00238.txt.bz2
Content-length: 2550
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86048
Bug ID: 86048
Summary: [8/9 Regression] .seh_savexmm offset is negative error
when compiling libpng
Product: gcc
Version: 8.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: daniel.f.starke at freenet dot de
Target Milestone: ---
Created attachment 44232
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44232&action=edit
pre-processed source file
Using GCC 8.1.0 configured as following:
Configured with: ../../src/gcc-8.1.0/configure --host=x86_64-w64-mingw32
--enable-languages=c,c++ --enable-seh-exceptions --enable-threads=posix
--disable-nls --disable-shared --enable-static --enable-fully-dynamic-string
--enable-lto --enable-plugins --enable-libgomp --with-dwarf2
--enable-mingw-wildcard=platform --disable-win32-registry
--enable-version-specific-runtime-libs --prefix=/mingw64-64
--with-sysroot=/mingw64-64 --target=x86_64-w64-mingw32 --enable-targets=all
--enable-checking=release --with-gmp=/usr/new-gcc/lib/gmp-5.0.5
--with-mpfr=/usr/new-gcc/lib/mpfr-2.4.2 --with-mpc=/usr/new-gcc/lib/mpc-0.9
--with-isl=/usr/new-gcc/lib/isl-0.18 --with-cloog=/usr/new-gcc/lib/cloog-0.18.4
--with-host-libstdcxx='-lstdc++ -lsupc++' --disable-cloog-version-check
--enable-cloog-backend=isl
The pre-build compiler binaries for x64 Windows can be downloaded from:
https://sourceforge.net/projects/gcc-win64/files/8.1.0/gcc-8.1.0-no-debug.7z/download
When I try to compile libpng 1.6.34 with -O2 I get the following error from the
assembler:
Error: .seh_savexmm offset is negative
The error does not occur when compiling the same pre-processed file with GCC
7.3.0 using the same command-line options.
Attached you can find the pre-processed file in question as well as an
automatically reduced version of it.
The file was compiled with:
gcc -save-temps -O2 -fno-ident -fno-strict-aliasing -fomit-frame-pointer -s
-static -c -o pngvalid.o pngvalid.i
The error was also posted to the libpng library by someone else:
https://sourceforge.net/p/libpng/bugs/280/
And to the libpng library as part of the MinGW packages:
https://github.com/Alexpux/MINGW-packages/issues/3893
I believe the error resists in GCC. I only changed the GCC compiler itself and
the MinGW runtime libraries (this was needed to compile GCC 8.1.0 on Windows).
>From gcc-bugs-return-606444-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 19:46:06 2018
Return-Path: <gcc-bugs-return-606444-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36580 invoked by alias); 4 Jun 2018 19:46:06 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 35017 invoked by uid 48); 4 Jun 2018 19:46:00 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/85888] [9 Regression] New test case c-c++-common/attr-nonstring-6.c from r260541 fails with excess errors
Date: Mon, 04 Jun 2018 19:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: seurer at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85888-4-fH9fmXCQbu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85888-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85888-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00239.txt.bz2
Content-length: 235
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85888
--- Comment #7 from seurer at gcc dot gnu.org ---
This same error just popped up on gcc 8 (r261152 for gcc 8 backported r260541
for trunk) so don't forget about this fix as well.
>From gcc-bugs-return-606445-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 19:56:56 2018
Return-Path: <gcc-bugs-return-606445-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7467 invoked by alias); 4 Jun 2018 19:56:55 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 7420 invoked by uid 48); 4 Jun 2018 19:56:51 -0000
From: "blitzrakete at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86049] New: Array bindings are not const when initializer is
Date: Mon, 04 Jun 2018 19:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: blitzrakete at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86049-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00240.txt.bz2
Content-length: 1003
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86049
Bug ID: 86049
Summary: Array bindings are not const when initializer is
Product: gcc
Version: 8.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: blitzrakete at gmail dot com
Target Milestone: ---
Compiles with clang, doesn't under gcc 8.1.0:
template <typename, typename> struct is_same {
static constexpr bool value = false;
};
template <typename T> struct is_same<T, T> {
static constexpr bool value = true;
};
int main() {
const int Array[] = {1};
auto[One] = Array;
static_assert(is_same<decltype(One), const int>::value); // fail
}
[dcl.struct.bind]p1 is pretty clear here that the type of the underlying
structured binding element is const int[1], and so per [dcl.struct.bind]p2 the
element type is const int and thus so is also One's type.
>From gcc-bugs-return-606446-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 20:02:33 2018
Return-Path: <gcc-bugs-return-606446-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27226 invoked by alias); 4 Jun 2018 20:02:33 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 27093 invoked by uid 48); 4 Jun 2018 20:02:28 -0000
From: "simon at whiteowl dot co.uk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/70244] [OOP] ICE in spec_dimen_size(): Bad dimension
Date: Mon, 04 Jun 2018 20:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 5.2.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: simon at whiteowl dot co.uk
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc attachments.created
Message-ID: <bug-70244-4-7sEIgcQcYX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70244-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70244-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00241.txt.bz2
Content-length: 492
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70244
simon at whiteowl dot co.uk changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |simon at whiteowl dot co.uk
--- Comment #3 from simon at whiteowl dot co.uk ---
Created attachment 44233
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44233&action=edit
Small testcase that triggers this bug
>From gcc-bugs-return-606447-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 20:03:29 2018
Return-Path: <gcc-bugs-return-606447-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50973 invoked by alias); 4 Jun 2018 20:03:29 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 41602 invoked by uid 48); 4 Jun 2018 20:03:23 -0000
From: "simon at whiteowl dot co.uk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/70244] [OOP] ICE in spec_dimen_size(): Bad dimension
Date: Mon, 04 Jun 2018 20:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 5.2.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: simon at whiteowl dot co.uk
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-70244-4-POk3Fr0bbT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70244-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70244-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00242.txt.bz2
Content-length: 2424
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70244
--- Comment #4 from simon at whiteowl dot co.uk ---
I have the same problem but with a much smaller test case (attached above):
/usr/local/bin/gfortran -c planets.f90 -v
Using built-in specs.
COLLECT_GCC=/usr/local/bin/gfortran
Target: x86_64-pc-linux-gnu
Configured with: ./configure
Thread model: posix
gcc version 8.1.0 (GCC)
COLLECT_GCC_OPTIONS='-c' '-v' '-mtune=generic' '-march=x86-64'
/usr/local/libexec/gcc/x86_64-pc-linux-gnu/8.1.0/f951 planets.f90 -quiet
-dumpbase planets.f90 -mtune=generic -march=x86-64 -auxbase planets -version
-fintrinsic-modules-path /usr/local/lib/gcc/x86_64-pc-linux-gnu/8.1.0/finclude
-o /tmp/ccy3mnd3.s
GNU Fortran (GCC) version 8.1.0 (x86_64-pc-linux-gnu)
compiled by GNU C version 8.1.0, GMP version 6.1.2, MPFR version 3.1.5,
MPC version 1.0.3, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU Fortran2008 (GCC) version 8.1.0 (x86_64-pc-linux-gnu)
compiled by GNU C version 8.1.0, GMP version 6.1.2, MPFR version 3.1.5,
MPC version 1.0.3, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
f951: internal compiler error: spec_dimen_size(): Bad dimension
0x5f22af gfc_internal_error(char const*, ...)
../.././gcc/fortran/error.c:1358
0x5c583b spec_dimen_size(gfc_array_spec*, int, __mpz_struct (*) [1])
../.././gcc/fortran/array.c:2174
0x656736 expression_shape
../.././gcc/fortran/resolve.c:5088
0x656736 expression_rank(gfc_expr*)
../.././gcc/fortran/resolve.c:5168
0x66323c resolve_variable
../.././gcc/fortran/resolve.c:5575
0x66323c gfc_resolve_expr(gfc_expr*)
../.././gcc/fortran/resolve.c:6721
0x659da2 gfc_resolve_code(gfc_code*, gfc_namespace*)
../.././gcc/fortran/resolve.c:11094
0x65cedf resolve_codes
../.././gcc/fortran/resolve.c:16535
0x65cfae gfc_resolve(gfc_namespace*)
../.././gcc/fortran/resolve.c:16570
0x64ae00 resolve_all_program_units
../.././gcc/fortran/parse.c:6060
0x64ae00 gfc_parse_file()
../.././gcc/fortran/parse.c:6310
0x69130f gfc_be_parse_file
../.././gcc/fortran/f95-lang.c:204
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
>From gcc-bugs-return-606448-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 20:06:19 2018
Return-Path: <gcc-bugs-return-606448-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57062 invoked by alias); 4 Jun 2018 20:06:18 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 57034 invoked by uid 48); 4 Jun 2018 20:06:13 -0000
From: "asorenji at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/86050] New: Inline break tail-call optimization
Date: Mon, 04 Jun 2018 20:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asorenji at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86050-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00243.txt.bz2
Content-length: 1652
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86050
Bug ID: 86050
Summary: Inline break tail-call optimization
Product: gcc
Version: 6.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: asorenji at gmail dot com
Target Milestone: ---
I have deep tail-recursion and try check how many bytes it consumed. Algorithm
for this very simple - pointer to variable in main function minus pointer to
variable in current recursive call. If function for this check have noinline
attribute, tail-call optimization doing well and my recursion consume very
little amount of memory. But if I remove noinline attribute, optimization don't
work and I get stack overflow.
OS - Debian Stretch.
g++ --version - g++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
Command line - g++ -O2 main.cpp -o main
Code:
#include <iostream>
using namespace std;
struct Parent
{
virtual void tailCall(const char*,long )const{}
};
struct Child:Parent
{
//remove noinline and you get stack overflow
static __attribute__((noinline)) void stackConsume(const char*stack){
char value;
std::cout<<"Consumed "<<stack-&value<<" bytes"<<std::endl;
}
void tailCall(const char *stack, long deep) const
{
if(deep==1000000000000L)
return;
stackConsume(stack);
next->tailCall(stack,++deep);
}
Parent*next=this;
};
int main()
{
Parent*parent=new Child;
char stack;
parent->tailCall(&stack,0);
return 0;
}
>From gcc-bugs-return-606449-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 20:22:32 2018
Return-Path: <gcc-bugs-return-606449-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76004 invoked by alias); 4 Jun 2018 20:22:32 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 66469 invoked by uid 48); 4 Jun 2018 20:22:28 -0000
From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/63177] Powerpc no-vfa-vect-depend-2.c and no-vfa-vect-depend-3.c failures
Date: Mon, 04 Jun 2018 20:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bergner at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-63177-4-XwCidTXtPt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63177-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63177-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00244.txt.bz2
Content-length: 535
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63177
Peter Bergner <bergner at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|carll at gcc dot gnu.org |bergner at gcc dot gnu.org
--- Comment #8 from Peter Bergner <bergner at gcc dot gnu.org> ---
I'm testing a patch that fixes the issue Carl mentions in Comment 6 and Comment
7.
>From gcc-bugs-return-606450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 20:58:48 2018
Return-Path: <gcc-bugs-return-606450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81775 invoked by alias); 4 Jun 2018 20:58:47 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 81652 invoked by uid 48); 4 Jun 2018 20:58:43 -0000
From: "wilson at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86005] [RISCV] Invalid intermixing of __atomic_* libcalls and inline atomic instruction sequences
Date: Mon, 04 Jun 2018 20:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wilson at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86005-4-54tncMwg6P@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86005-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86005-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00245.txt.bz2
Content-length: 276
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86005
--- Comment #8 from Jim Wilson <wilson at gcc dot gnu.org> ---
This looks like a generic GCC problem, not a RISC-V specific problem.
For instance, if I build an armv6t2 compiler I get
bl __atomic_fetch_add_4
>From gcc-bugs-return-606451-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 21:27:35 2018
Return-Path: <gcc-bugs-return-606451-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57228 invoked by alias); 4 Jun 2018 21:27:35 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 57086 invoked by uid 48); 4 Jun 2018 21:27:30 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86045] ICE in reduce_binary_ac, at fortran/arith.c:1308 (and others)
Date: Mon, 04 Jun 2018 21:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-86045-4-DWcJFk9cMa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86045-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86045-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00246.txt.bz2
Content-length: 975
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86045
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
--- Comment #3 from kargl at gcc dot gnu.org ---
(In reply to G. Steinmetz from comment #1)
> In addition some ugly cases with null(), losely related to pr66193.
>
>
> $ cat zn1.f90
> program p
> real :: z(1) = [real :: null()] + 2.0
> end
>
> $ cat zn2.f90
> program p
> real :: z(1) = [real :: null()] + [real :: 2]
> end
>
> $ cat zn3.f90
> program p
> real :: z(1) = 1.0 + [real :: null()]
> end
>
> $ cat zn4.f90
> program p
> real :: z(1) = [real :: 1] + [real :: null()]
> end
>
> $ cat zn5.f90
> program p
> real :: z(2) = [real :: null()] + [real :: null()]
> end
>
There's a are different issue than the one involving MOD().
>From gcc-bugs-return-606452-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 21:39:21 2018
Return-Path: <gcc-bugs-return-606452-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81332 invoked by alias); 4 Jun 2018 21:39:21 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 81197 invoked by uid 55); 4 Jun 2018 21:39:15 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/85930] [8/9 Regression] Misaligned reference created in shared_ptr_base.h with -fno-rtti
Date: Mon, 04 Jun 2018 21:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85930-4-N4YxLMzdI5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85930-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85930-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00247.txt.bz2
Content-length: 665
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85930
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Jun 4 21:38:42 2018
New Revision: 261172
URL: https://gcc.gnu.org/viewcvs?rev=261172&root=gcc&view=rev
Log:
PR libstdc++/85930 fix misplaced alignment-specifier
PR libstdc++/85930
* include/bits/shared_ptr_base.h [!__cpp_rtti]: Include <typeinfo>
unconditionally. Remove redundant declaration.
[!__cpp_rtti] (_Sp_make_shared_tag::_S_ti): Fix location of
alignment-specifier.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/shared_ptr_base.h
>From gcc-bugs-return-606454-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 21:50:40 2018
Return-Path: <gcc-bugs-return-606454-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3377 invoked by alias); 4 Jun 2018 21:50:40 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 2631 invoked by uid 48); 4 Jun 2018 21:50:36 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86050] Inline break tail-call optimization
Date: Mon, 04 Jun 2018 21:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 6.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: glisse at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords component
Message-ID: <bug-86050-4-FmnLo0X43p@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86050-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86050-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00249.txt.bz2
Content-length: 595
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86050
Marc Glisse <glisse at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Component|middle-end |tree-optimization
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
Indeed. The testcase is easier to analyze if you replace iostreams with a plain
printf. The key element seems to be taking the address of a local variable.
>From gcc-bugs-return-606453-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 21:50:17 2018
Return-Path: <gcc-bugs-return-606453-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1737 invoked by alias); 4 Jun 2018 21:50:17 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 1572 invoked by uid 48); 4 Jun 2018 21:50:12 -0000
From: "wilson at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86005] [RISCV] Invalid intermixing of __atomic_* libcalls and inline atomic instruction sequences
Date: Mon, 04 Jun 2018 21:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wilson at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86005-4-8qLKJ9Wv5c@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86005-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86005-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00248.txt.bz2
Content-length: 1154
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86005
--- Comment #9 from Jim Wilson <wilson at gcc dot gnu.org> ---
Oops, hitting tab doesn't work as expected. Trying again...
This looks like a generic GCC problem, not a RISC-V specific problem. Or
perhaps, not a gcc bug at all.
For instance, if I build an armv6t2 compiler I get
bl __atomic_fetch_add_4
...
mcr p15, 0, r0, c7, c10, 5
ldr r3, [r3]
mcr p15, 0, r0, c7, c10, 5
where the mcr is equivalent to the RISC-V fence. It looks like MIPS16 and a
number of other targets have the same problem.
GCC has no support for calling __atomic_load_4 for this testcase. GCC assumes
that loads smaller or equal to the word size are always atomic, and will not
call a library routine for them. It will emit memory barriers.
If what gcc is doing is wrong, then it is broken for all targets that don't
inline expand every atomic function call, and/or don't have atomic
instructions.
I can fix the rv32ia support by inlining expanding every atomic function call.
I can't fix the rv32i support without target independent optimizer changes.
>From gcc-bugs-return-606455-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 21:53:49 2018
Return-Path: <gcc-bugs-return-606455-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7627 invoked by alias); 4 Jun 2018 21:53:49 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 7358 invoked by uid 48); 4 Jun 2018 21:53:44 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/54770] sibling call optimization is not applied where it ought to be
Date: Mon, 04 Jun 2018 21:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 4.5.2
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords component bug_severity
Message-ID: <bug-54770-4-zducaup8xF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-54770-4@http.gcc.gnu.org/bugzilla/>
References: <bug-54770-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00250.txt.bz2
Content-length: 429
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54770
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Component|c++ |middle-end
Severity|normal |enhancement
>From gcc-bugs-return-606456-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 21:56:01 2018
Return-Path: <gcc-bugs-return-606456-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15134 invoked by alias); 4 Jun 2018 21:56:00 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 14975 invoked by uid 48); 4 Jun 2018 21:55:55 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86050] Inline break tail-call optimization
Date: Mon, 04 Jun 2018 21:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 6.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86050-4-k4tsrnPE8A@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86050-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86050-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00251.txt.bz2
Content-length: 142
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86050
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Related to PR 54770.
>From gcc-bugs-return-606457-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 22:33:57 2018
Return-Path: <gcc-bugs-return-606457-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5203 invoked by alias); 4 Jun 2018 22:33:56 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 130624 invoked by uid 48); 4 Jun 2018 22:33:52 -0000
From: "daniel.bershatsky at skolkovotech dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86051] New: internal compiler error: in conv_function_val, at fortran/trans-expr.c:3717
Date: Mon, 04 Jun 2018 22:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 7.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: daniel.bershatsky at skolkovotech dot ru
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86051-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00252.txt.bz2
Content-length: 2295
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86051
Bug ID: 86051
Summary: internal compiler error: in conv_function_val, at
fortran/trans-expr.c:3717
Product: gcc
Version: 7.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: daniel.bershatsky at skolkovotech dot ru
Target Milestone: ---
Unfortunately, I have not succeeded in building short example that brokes
compiler. So, in order to reproduce the issue one should get file located in
GitHub.
https://github.com/oseledets/tt-fort/blob/658ae2d9148148fb4933de2dda2434aee0b94c39/dispmodule.f90
- GNU Fortran (GCC) 7.3.1 20180406
- x86_64 GNU/Linux
- GNU Fortran distributed with ArchLinux or Ubuntu 18.04 LTS
$ gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared
--enable-threads=posix --enable-libmpx --with-system-zlib --with-isl
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu
--disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object
--enable-linker-build-id --enable-lto --enable-plugin
--enable-install-libiberty --with-linker-hash-style=gnu
--enable-gnu-indirect-function --enable-multilib --disable-werror
--enable-checking=release --enable-default-pie --enable-default-ssp
Thread model: posix
gcc version 7.3.1 20180406 (GCC)
- With fortran source located at
https://github.com/oseledets/tt-fort/blob/658ae2d9148148fb4933de2dda2434aee0b94c39/dispmodule.f90
$ gfortran -fdefault-integer-8 -ffree-line-length-none -O3 -fPIC -c
dispmodule.f90
dispmodule.f90:1248:0:
character(widthmax_dint(x, fmt)) :: sa(size(x))
internal compiler error: in conv_function_val, at fortran/trans-expr.c:3717
- Files generated by adding -save-temps
$ cat dispmodule.s
.file "dispmodule.f90"
>From gcc-bugs-return-606458-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 22:35:16 2018
Return-Path: <gcc-bugs-return-606458-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13041 invoked by alias); 4 Jun 2018 22:35:16 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 12963 invoked by uid 55); 4 Jun 2018 22:35:12 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/85930] [8/9 Regression] Misaligned reference created in shared_ptr_base.h with -fno-rtti
Date: Mon, 04 Jun 2018 22:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85930-4-BdKsgntZuT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85930-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85930-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00253.txt.bz2
Content-length: 690
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85930
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Jun 4 22:34:39 2018
New Revision: 261174
URL: https://gcc.gnu.org/viewcvs?rev=261174&root=gcc&view=rev
Log:
PR libstdc++/85930 fix misaligned reference
PR libstdc++/85930
* include/bits/shared_ptr_base.h [!__cpp_rtti]: Include <typeinfo>
unconditionally. Remove redundant declaration.
[!__cpp_rtti] (_Sp_make_shared_tag::_S_ti): Align the static variable
correctly.
Modified:
branches/gcc-8-branch/libstdc++-v3/ChangeLog
branches/gcc-8-branch/libstdc++-v3/include/bits/shared_ptr_base.h
>From gcc-bugs-return-606459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 04 22:38:48 2018
Return-Path: <gcc-bugs-return-606459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46191 invoked by alias); 4 Jun 2018 22:38:48 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 45343 invoked by uid 48); 4 Jun 2018 22:38:43 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/85930] [8/9 Regression] Misaligned reference created in shared_ptr_base.h with -fno-rtti
Date: Mon, 04 Jun 2018 22:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-85930-4-7krc5RKbkA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85930-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85930-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00254.txt.bz2
Content-length: 432
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85930
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed for 8.2
>From gcc-bugs-return-606460-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 00:19:56 2018
Return-Path: <gcc-bugs-return-606460-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62562 invoked by alias); 5 Jun 2018 00:19:56 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 59888 invoked by uid 48); 5 Jun 2018 00:19:51 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81384] built-in form of strnlen missing
Date: Tue, 05 Jun 2018 00:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-81384-4-csJMzYR4yK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81384-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81384-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00255.txt.bz2
Content-length: 379
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81384
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org
>From gcc-bugs-return-606461-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 00:38:28 2018
Return-Path: <gcc-bugs-return-606461-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59501 invoked by alias); 5 Jun 2018 00:38:28 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 59388 invoked by uid 48); 5 Jun 2018 00:38:23 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86051] internal compiler error: in conv_function_val, at fortran/trans-expr.c:3717
Date: Tue, 05 Jun 2018 00:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 7.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-86051-4-tVg0bSGdEd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86051-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86051-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00256.txt.bz2
Content-length: 903
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86051
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
--- Comment #1 from kargl at gcc dot gnu.org ---
(In reply to Daniel Bershatsky from comment #0)
> Unfortunately, I have not succeeded in building short example that brokes
> compiler. So, in order to reproduce the issue one should get file located in
Unfortunately, we'll need a reduced testcase. Downloading the
source package from github, and making suitable changes to
Makefile to invoke gfortran 9.0.0, I can compile the code.
> dispmodule.f90
> dispmodule.f90:1248:0:
>
> character(widthmax_dint(x, fmt)) :: sa(size(x))
>
This may have been fixed by a patch I submitted today.
>From gcc-bugs-return-606462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 01:40:22 2018
Return-Path: <gcc-bugs-return-606462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109277 invoked by alias); 5 Jun 2018 01:40:22 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 109150 invoked by uid 48); 5 Jun 2018 01:40:18 -0000
From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/63177] Powerpc no-vfa-vect-depend-2.c and no-vfa-vect-depend-3.c failures
Date: Tue, 05 Jun 2018 01:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bergner at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: component
Message-ID: <bug-63177-4-EWuIm1VubQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63177-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63177-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00257.txt.bz2
Content-length: 429
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63177
Peter Bergner <bergner at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|testsuite |target
--- Comment #9 from Peter Bergner <bergner at gcc dot gnu.org> ---
This is a target bug, not a testsuite bug, so changing Component.
>From gcc-bugs-return-606463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 02:17:11 2018
Return-Path: <gcc-bugs-return-606463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71579 invoked by alias); 5 Jun 2018 02:16:59 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 57529 invoked by uid 48); 5 Jun 2018 02:16:48 -0000
From: "lh_mouse at 126 dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/78870] Support std::filesystem on Windows
Date: Tue, 05 Jun 2018 02:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lh_mouse at 126 dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78870-4-FzeKmpo2jv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00258.txt.bz2
Content-length: 337
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78870
--- Comment #24 from Liu Hao <lh_mouse at 126 dot com> ---
(In reply to Jonathan Wakely from comment #23)
> Nothing has been committed for gcc-8-branch so of course it isn't created.
>
> For trunk, did you read comment 14?
Sorry didn't notice it. I started a new build just now.
>From gcc-bugs-return-606464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 05:02:47 2018
Return-Path: <gcc-bugs-return-606464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15680 invoked by alias); 5 Jun 2018 05:02:47 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 15501 invoked by uid 48); 5 Jun 2018 05:02:43 -0000
From: "lh_mouse at 126 dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/78870] Support std::filesystem on Windows
Date: Tue, 05 Jun 2018 05:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lh_mouse at 126 dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-78870-4-EUS32RD9YZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00259.txt.bz2
Content-length: 236
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78870
--- Comment #25 from Liu Hao <lh_mouse at 126 dot com> ---
Created attachment 44234
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44234&action=edit
test results for trunk
>From gcc-bugs-return-606465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 05:03:38 2018
Return-Path: <gcc-bugs-return-606465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17427 invoked by alias); 5 Jun 2018 05:03:37 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 17305 invoked by uid 48); 5 Jun 2018 05:03:33 -0000
From: "lh_mouse at 126 dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/78870] Support std::filesystem on Windows
Date: Tue, 05 Jun 2018 05:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lh_mouse at 126 dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-78870-4-zegFxvqXLr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00260.txt.bz2
Content-length: 236
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78870
--- Comment #26 from Liu Hao <lh_mouse at 126 dot com> ---
Created attachment 44235
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44235&action=edit
test results for trunk
>From gcc-bugs-return-606466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 05:05:35 2018
Return-Path: <gcc-bugs-return-606466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20445 invoked by alias); 5 Jun 2018 05:05:35 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 20330 invoked by uid 48); 5 Jun 2018 05:05:31 -0000
From: "lh_mouse at 126 dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/78870] Support std::filesystem on Windows
Date: Tue, 05 Jun 2018 05:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lh_mouse at 126 dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78870-4-EmVufWWZbw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00261.txt.bz2
Content-length: 181
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78870
--- Comment #27 from Liu Hao <lh_mouse at 126 dot com> ---
Some tests failed, but despite the failure, all tests compiled now.
>From gcc-bugs-return-606467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 05:52:09 2018
Return-Path: <gcc-bugs-return-606467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22341 invoked by alias); 5 Jun 2018 05:52:09 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 22229 invoked by uid 48); 5 Jun 2018 05:52:04 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/32957] C/Fortran interoperability and -fdefault-integer-8
Date: Tue, 05 Jun 2018 05:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.3.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-32957-4-DdVSMg9ntd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-32957-4@http.gcc.gnu.org/bugzilla/>
References: <bug-32957-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00262.txt.bz2
Content-length: 1249
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32957
--- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to dominiq from comment #6)
> Author: dominiq
> Date: Mon Feb 26 09:55:39 2018
> New Revision: 257985
>
> URL: https://gcc.gnu.org/viewcvs?rev=257985&root=gcc&view=rev
> Log:
> 2018-02-26 Dominique d'Humieres <dominiq@gcc.gnu.org>
>
> PR fortran/32957
> * gfortran.dg/c_f_pointer_shape_tests_2.f03: Use explicit KIND c_int.
> * gfortran.dg/c_f_pointer_shape_tests_4.f03: Likewise.
> * gfortran.dg/c_funloc_tests_3.f03: Likewise.
> * gfortran.dg/c_loc_test.f90: Likewise.
> * gfortran.dg/c_loc_tests_2.f03: Likewise.
> * gfortran.dg/proc_decl_17.f90: Likewise.
> * gfortran.dg/proc_ptr_8.f90: Likewise.
>
>
> Modified:
> trunk/gcc/testsuite/ChangeLog
> trunk/gcc/testsuite/gfortran.dg/c_f_pointer_shape_tests_2.f03
> trunk/gcc/testsuite/gfortran.dg/c_f_pointer_shape_tests_4.f03
> trunk/gcc/testsuite/gfortran.dg/c_funloc_tests_3.f03
> trunk/gcc/testsuite/gfortran.dg/c_loc_test.f90
> trunk/gcc/testsuite/gfortran.dg/c_loc_tests_2.f03
> trunk/gcc/testsuite/gfortran.dg/proc_decl_17.f90
> trunk/gcc/testsuite/gfortran.dg/proc_ptr_8.f90
So is this fixed now?
>From gcc-bugs-return-606468-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 06:27:04 2018
Return-Path: <gcc-bugs-return-606468-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9966 invoked by alias); 5 Jun 2018 06:27:04 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 9847 invoked by uid 48); 5 Jun 2018 06:26:59 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/78870] Support std::filesystem on Windows
Date: Tue, 05 Jun 2018 06:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78870-4-klHMUqn1vr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78870-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00263.txt.bz2
Content-length: 187
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78870
--- Comment #28 from Jonathan Wakely <redi at gcc dot gnu.org> ---
We might want to mark some tests as XFAIL for *-*-mingw* targets.
>From gcc-bugs-return-606469-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 07:22:54 2018
Return-Path: <gcc-bugs-return-606469-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126888 invoked by alias); 5 Jun 2018 07:22:54 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 126759 invoked by uid 48); 5 Jun 2018 07:22:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86049] Array bindings are not const when initializer is
Date: Tue, 05 Jun 2018 07:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-86049-4-im7uHMUbWl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86049-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86049-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00264.txt.bz2
Content-length: 1887
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86049
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |jason at gcc dot gnu.org,
| |redi at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Jason/Jonathan, is that true? What exactly shall be the qualification in the
array case? Ored type quals of the initializer's element type and provided
quals from the structured binding declaration? If so, it would be something
like:
--- gcc/cp/pt.c.jj 2018-06-04 15:47:24.633937198 +0200
+++ gcc/cp/pt.c 2018-06-05 09:12:56.151035636 +0200
@@ -26734,10 +26734,15 @@ do_auto_deduction (tree type, tree init,
&& auto_node == type
&& init != error_mark_node
&& TREE_CODE (TREE_TYPE (init)) == ARRAY_TYPE)
- /* [dcl.decomp]/1 - if decomposition declaration has no ref-qualifiers
- and initializer has array type, deduce cv-qualified array type. */
- return cp_build_qualified_type_real (TREE_TYPE (init), TYPE_QUALS (type),
- complain);
+ {
+ /* [dcl.decomp]/1 - if decomposition declaration has no ref-qualifiers
+ and initializer has array type, deduce cv-qualified array type. */
+ int type_quals = TYPE_QUALS (type);
+ tree eltype = strip_array_types (TREE_TYPE (init));
+ type_quals |= TYPE_QUALS (eltype);
+ return cp_build_qualified_type_real (TREE_TYPE (init), type_quals,
+ complain);
+ }
else if (AUTO_IS_DECLTYPE (auto_node))
{
bool id = (DECL_P (init)
>From gcc-bugs-return-606470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 07:53:00 2018
Return-Path: <gcc-bugs-return-606470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70917 invoked by alias); 5 Jun 2018 07:53:00 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 61729 invoked by uid 48); 5 Jun 2018 07:52:54 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86042] [8/9 Regression] missing strlen optimization after second strcpy
Date: Tue, 05 Jun 2018 07:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc target_milestone everconfirmed
Message-ID: <bug-86042-4-xRzyywWUYE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86042-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86042-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00265.txt.bz2
Content-length: 1049
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86042
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-05
CC| |jakub at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
Target Milestone|--- |8.2
Ever confirmed|0 |1
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. Note this was a correctness fix so we properly copy padding given
aggregate assignment in GIMPLE is not a block copy if done for a structure
type.
For this case in question it shouldn't have made a difference though.
We seem to invalidate the string info for some reason after visiting the
second store.
>From gcc-bugs-return-606471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 08:12:29 2018
Return-Path: <gcc-bugs-return-606471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36865 invoked by alias); 5 Jun 2018 08:12:29 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 32260 invoked by uid 55); 5 Jun 2018 08:12:25 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/84846] GCOV intermediate format improvements
Date: Tue, 05 Jun 2018 08:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-84846-4-CYj9IJemhA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84846-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84846-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00266.txt.bz2
Content-length: 567
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84846
--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Jun 5 08:11:52 2018
New Revision: 261188
URL: https://gcc.gnu.org/viewcvs?rev=261188&root=gcc&view=rev
Log:
Print working directory only in intermediate format (PR gcov-profile/84846).
2018-06-05 Martin Liska <mliska@suse.cz>
PR gcov-profile/84846
* gcov.c (output_lines): Print working directory only
in intermediate format.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gcov.c
>From gcc-bugs-return-606472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 08:14:24 2018
Return-Path: <gcc-bugs-return-606472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72794 invoked by alias); 5 Jun 2018 08:14:24 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 72645 invoked by uid 48); 5 Jun 2018 08:14:19 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/47805] [OOP] Overridding hidden (private) TPB is rejected
Date: Tue, 05 Jun 2018 08:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.6.0
X-Bugzilla-Keywords: patch, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: janus at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-47805-4-V7bqQeDaXL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-47805-4@http.gcc.gnu.org/bugzilla/>
References: <bug-47805-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00267.txt.bz2
Content-length: 349
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47805
--- Comment #6 from janus at gcc dot gnu.org ---
(In reply to Tobias Burnus from comment #4)
> Updated version: F08/0052 at
> ftp://ftp.nag.co.uk/sc22wg5/N1901-N1950/N1907.txt
> (incorporated in Corrigendum 1 to F2008).
Updated link for this one:
https://wg5-fortran.org/N1901-N1950/N1907.txt
>From gcc-bugs-return-606474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 08:22:39 2018
Return-Path: <gcc-bugs-return-606474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107995 invoked by alias); 5 Jun 2018 08:22:39 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 105178 invoked by uid 48); 5 Jun 2018 08:22:34 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86047] [9 Regression] ICE in for_each_index, at tree-ssa-loop.c:647
Date: Tue, 05 Jun 2018 08:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on component assigned_to target_milestone everconfirmed
Message-ID: <bug-86047-4-rtHQ81ho1r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86047-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86047-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00269.txt.bz2
Content-length: 689
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86047
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2018-06-05
Component|c |tree-optimization
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
Target Milestone|--- |9.0
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.
>From gcc-bugs-return-606473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 08:22:19 2018
Return-Path: <gcc-bugs-return-606473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97326 invoked by alias); 5 Jun 2018 08:22:18 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 93308 invoked by uid 48); 5 Jun 2018 08:22:13 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86046] [9 Regression] ICE in execute_todo, at passes.c:2043
Date: Tue, 05 Jun 2018 08:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on target_milestone everconfirmed
Message-ID: <bug-86046-4-EhtqlA9SDm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86046-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86046-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00268.txt.bz2
Content-length: 1226
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86046
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2018-06-05
Target Milestone|--- |9.0
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. After CCP:
No longer having address taken: D.1960
but then we fail to rewrite it.
VIEW_CONVERT_EXPR<int[1]>(D.1960)[1] = 0;
Ah, so the issue seems to be that D.1960 is already DECL_GIMPLE_REG_P but
it is just TREE_ADDRESSABLE avoiding the rewriting need. But
update_address_taken simply clears TREE_ADDRESSABLE but leaves
DECL_GIMPLE_REG_P
in place thinking it cannot be set.
The issue may be premature setting of DECL_GIMPLE_REG_P but we can work around
this in update_address_taken.
There's a missed optimization as well, we expect to rewrite the array-ref into
a bitfield ref during gimplification. Ah, but we avoid doing that for
the out-of-bound access this is.
>From gcc-bugs-return-606475-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 08:22:40 2018
Return-Path: <gcc-bugs-return-606475-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108340 invoked by alias); 5 Jun 2018 08:22:40 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 105987 invoked by uid 48); 5 Jun 2018 08:22:35 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86008] std::quoted(std::basic_string_view) is missing
Date: Tue, 05 Jun 2018 08:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86008-4-1yvz9WfpKJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86008-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86008-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00270.txt.bz2
Content-length: 306
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86008
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Thanks for checking! For now I'll just keep the same _Quoted_string definition
so it stores a reference to a basic_string_view. We can reconsider before the
GCC 9 release if needed.
>From gcc-bugs-return-606476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 08:25:47 2018
Return-Path: <gcc-bugs-return-606476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78933 invoked by alias); 5 Jun 2018 08:25:46 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 34574 invoked by uid 48); 5 Jun 2018 08:25:23 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86008] std::quoted(std::basic_string_view) is missing
Date: Tue, 05 Jun 2018 08:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to target_milestone
Message-ID: <bug-86008-4-DqLFX9wqQd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86008-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86008-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00271.txt.bz2
Content-length: 431
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86008
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org
Target Milestone|--- |8.2
>From gcc-bugs-return-606477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 08:29:12 2018
Return-Path: <gcc-bugs-return-606477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15721 invoked by alias); 5 Jun 2018 08:29:11 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 15257 invoked by uid 48); 5 Jun 2018 08:28:50 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86048] [8/9 Regression] .seh_savexmm offset is negative error when compiling libpng
Date: Tue, 05 Jun 2018 08:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86048-4-ETW3genxs6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86048-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86048-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00272.txt.bz2
Content-length: 293
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86048
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |8.2
>From gcc-bugs-return-606479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 08:34:30 2018
Return-Path: <gcc-bugs-return-606479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22276 invoked by alias); 5 Jun 2018 08:34:30 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 21588 invoked by uid 48); 5 Jun 2018 08:34:12 -0000
From: "karsten_burger at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/12595] link problems with static libstdc++
Date: Tue, 05 Jun 2018 08:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 3.2.3
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: karsten_burger at gmx dot de
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 3.4.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-12595-4-5DmENu5kNo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-12595-4@http.gcc.gnu.org/bugzilla/>
References: <bug-12595-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00274.txt.bz2
Content-length: 510
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12595
Karsten Burger <karsten_burger at gmx dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |karsten_burger at gmx dot de
--- Comment #15 from Karsten Burger <karsten_burger at gmx dot de> ---
(In reply to Dirk Walther from comment #14)
thanks for this hint, however I understand it requires recompile of gcc
>From gcc-bugs-return-606478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 08:34:29 2018
Return-Path: <gcc-bugs-return-606478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21876 invoked by alias); 5 Jun 2018 08:34:23 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 18479 invoked by uid 48); 5 Jun 2018 08:30:54 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86051] internal compiler error: in conv_function_val, at fortran/trans-expr.c:3717
Date: Tue, 05 Jun 2018 08:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 7.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-86051-4-rSZfjAr3R7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86051-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86051-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00273.txt.bz2
Content-length: 644
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86051
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-05
Ever confirmed|0 |1
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> This may have been fixed by a patch I submitted today.
I confirmed that the PR is fixed by the patch at
https://gcc.gnu.org/ml/fortran/2018-06/msg00013.html
>From gcc-bugs-return-606480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 08:47:37 2018
Return-Path: <gcc-bugs-return-606480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57474 invoked by alias); 5 Jun 2018 08:47:37 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 57220 invoked by uid 48); 5 Jun 2018 08:47:06 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86050] Inline break tail-call optimization
Date: Tue, 05 Jun 2018 08:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 6.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-86050-4-fdInhyCIte@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86050-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86050-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00275.txt.bz2
Content-length: 1391
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86050
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-05
Ever confirmed|0 |1
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. It is because the address of 'value' escapes which is easier to
see when you instead do
static void __attribute__((noinline)) stackConsume(const char*stack){
char value;
__builtin_putchar ((long)&value);
}
this then causes us to hit
/* Make sure the tail invocation of this function does not indirectly
refer to local variables. (Passing variables directly by value
is OK.) */
FOR_EACH_LOCAL_DECL (cfun, idx, var)
{
if (TREE_CODE (var) != PARM_DECL
&& auto_var_in_fn_p (var, cfun->decl)
&& may_be_aliased (var)
&& (ref_maybe_used_by_stmt_p (call, var)
|| call_may_clobber_ref_p (call, var)))
return;
}
where we think that the recursive call might possibly access that very
escaped stack slot (for example via a global pointer). We do not have
sophisticated enough analysis to fix that easily.
>From gcc-bugs-return-606481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 09:12:55 2018
Return-Path: <gcc-bugs-return-606481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81811 invoked by alias); 5 Jun 2018 09:12:55 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 69044 invoked by uid 48); 5 Jun 2018 09:12:49 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/47805] [OOP] Overridding hidden (private) TPB is rejected
Date: Tue, 05 Jun 2018 09:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.6.0
X-Bugzilla-Keywords: patch, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: janus at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-47805-4-sDJQMZPgqN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-47805-4@http.gcc.gnu.org/bugzilla/>
References: <bug-47805-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00276.txt.bz2
Content-length: 863
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47805
--- Comment #7 from janus at gcc dot gnu.org ---
Another very related case that gfortran currently accepts, although it is
invalid according to the interpretation request:
module m1
implicit none
type, abstract :: t1
contains
procedure(ifc), deferred, private :: tbp
end type
abstract interface
subroutine ifc(arg)
import :: t1
class(t1) :: arg
end subroutine
end interface
end module
module m2
use m1
implicit none
type, extends(t1) :: t2
contains
procedure :: tbp => tbp_t2
end type
contains
subroutine tbp_t2(arg)
class(t2) :: arg
print *, "this is t2!"
end subroutine
end module
program test
use m2
implicit none
type(t2) :: x
call x%tbp()
end
It is correctly rejected by ifort 18.
>From gcc-bugs-return-606482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 09:21:49 2018
Return-Path: <gcc-bugs-return-606482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87894 invoked by alias); 5 Jun 2018 09:21:48 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 75065 invoked by uid 48); 5 Jun 2018 09:21:43 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/60243] IPA is slow on large cgraph tree
Date: Tue, 05 Jun 2018 09:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: compile-time-hog, memory-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-60243-4-CNQPSntui4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60243-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60243-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00277.txt.bz2
Content-length: 2374
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60243
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jamborm at gcc dot gnu.org
--- Comment #21 from Richard Biener <rguenth at gcc dot gnu.org> ---
Current trunk at -O2 -fno-checking (w/ otherwise checking enabled):
Time variable usr sys wall
GGC
phase setup : 0.00 ( 0%) 0.00 ( 0%) 0.00 ( 0%)
1245 kB ( 0%)
phase parsing : 16.72 ( 6%) 15.15 ( 75%) 31.86 ( 10%)
612162 kB ( 18%)
phase opt and generate : 272.51 ( 94%) 5.08 ( 25%) 277.63 ( 90%)
2719266 kB ( 82%)
ipa inlining heuristics : 31.82 ( 11%) 0.00 ( 0%) 31.85 ( 10%)
0 kB ( 0%)
ipa profile : 9.92 ( 3%) 0.00 ( 0%) 9.93 ( 3%)
0 kB ( 0%)
ipa SRA : 153.77 ( 53%) 1.81 ( 9%) 155.54 ( 50%)
741949 kB ( 22%)
early inlining heuristics : 24.54 ( 8%) 0.03 ( 0%) 24.65 ( 8%)
2987 kB ( 0%)
at -O -g we can also see to my surprise:
tree CFG construction : 6.27 ( 4%) 0.04 ( 0%) 6.28 ( 4%)
628095 kB ( 15%)
tree operand scan : 3.78 ( 3%) 0.99 ( 4%) 5.01 ( 3%)
47597 kB ( 1%)
tree CFG cleanup : 7.51 ( 5%) 0.05 ( 0%) 7.71 ( 5%)
0 kB ( 0%)
the tree CFG construction time is _entirely_ spent in assign_discriminators!
That's because expand_location is costly and the discriminator_per_locus
hashtable does that all the time. It's also because the testcase
sits on a single line. The whole code seems odd to me as well given
it doesn't very well handle trailing or leading UNKNOWN_LOCATION stmts.
I also wonder why it is done at CFG construction time.
The IPA SRA time is all spent in compute_fn_summary via convert_callers.
Not sure why that's necessary here? Martin, in r152368 you reduced those
to once-per-caller but obviously if each function calls each other function
as in this testcase this is still O(n^2). Why's the summary not simply
recomputed when we process the caller next? Thus at most N times?
>From gcc-bugs-return-606483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 09:31:02 2018
Return-Path: <gcc-bugs-return-606483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48131 invoked by alias); 5 Jun 2018 09:31:01 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 47665 invoked by uid 55); 5 Jun 2018 09:30:44 -0000
From: "hubicka at ucw dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/60243] IPA is slow on large cgraph tree
Date: Tue, 05 Jun 2018 09:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: compile-time-hog, memory-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at ucw dot cz
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-60243-4-DirMs4oBFc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60243-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60243-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00278.txt.bz2
Content-length: 794
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60243
--- Comment #22 from Jan Hubicka <hubicka at ucw dot cz> ---
> The IPA SRA time is all spent in compute_fn_summary via convert_callers.
> Not sure why that's necessary here? Martin, in r152368 you reduced those
> to once-per-caller but obviously if each function calls each other function
> as in this testcase this is still O(n^2). Why's the summary not simply
> recomputed when we process the caller next? Thus at most N times?
This is because summary needs to be ready for early inliner to decide whether
caller is good for inlning or not. I think we can simply mark it as dirty and
compute on demand from the inliner.
I also have finally working patches for incremental update of inline summary in
the IPA inliner.
Honza
>From gcc-bugs-return-606484-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 09:33:26 2018
Return-Path: <gcc-bugs-return-606484-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102998 invoked by alias); 5 Jun 2018 09:33:26 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 100097 invoked by uid 48); 5 Jun 2018 09:33:21 -0000
From: "juergen.reuter at desy dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86052] New: ICE with parameterized derived types
Date: Tue, 05 Jun 2018 09:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: juergen.reuter at desy dot de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86052-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00279.txt.bz2
Content-length: 1565
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86052
Bug ID: 86052
Summary: ICE with parameterized derived types
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: juergen.reuter at desy dot de
Target Milestone: ---
The following example from c.l.f. (Dec 14, 2015, "explicit specialization for
Fortran2003 recursively-defined parameterized data types?" leads to an ICE with
the current trunk of gfortran (r260633). In the code below, if the non-pointer
declaration is commented in, gfortran correctly vetoes this as "Component at
(1) must have the POINTER attribute", but with the version below this leads to
an ICE. With ifort v18 and v19 the code is rejected as "error #7555: Not yet
implemented: Type containing ALLOCATABLE/POINTER field of same type with
different type parameters.
type(tensor(rank-1,dim)), pointer :: values(:)"
*****
Code triggering the ICE:
module tensor_names
implicit none
private
type :: tensor(rank,dim)
integer, kind :: rank
integer, kind :: dim
type(tensor(rank-1,dim)), pointer :: values(:)
! type(tensor(rank-1,dim)) :: values(dim) ! Illegal!!!
contains
procedure, private :: create_tensor_rank_2_dim_2
generic :: create => create_tensor_rank_2_dim_2
end type
contains
subroutine create_tensor_rank_2_dim_2 ( this )
implicit none
class(tensor(2,2)), intent(inout) :: this
end subroutine
end module tensor_names
>From gcc-bugs-return-606485-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 09:37:55 2018
Return-Path: <gcc-bugs-return-606485-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58968 invoked by alias); 5 Jun 2018 09:37:55 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 57132 invoked by uid 48); 5 Jun 2018 09:37:50 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86052] ICE with parameterized derived types
Date: Tue, 05 Jun 2018 09:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on blocked everconfirmed
Message-ID: <bug-86052-4-4XzMnAMMvM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86052-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86052-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00280.txt.bz2
Content-length: 679
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86052
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-05
Blocks| |82173
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173
[Bug 82173] [meta-bug] Parameterized derived type errors
>From gcc-bugs-return-606486-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 09:44:27 2018
Return-Path: <gcc-bugs-return-606486-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86143 invoked by alias); 5 Jun 2018 09:44:27 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 85551 invoked by uid 48); 5 Jun 2018 09:44:22 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/85925] [7/8/9 Regression] Mis-compilation at -02, masking with 257 goes wrong in combine
Date: Tue, 05 Jun 2018 09:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 8.1.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: segher at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-85925-4-rI15HP6Cnp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85925-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85925-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00281.txt.bz2
Content-length: 572
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85925
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-05
CC| |ebotcazou at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
I can reproduce.
>From gcc-bugs-return-606487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 09:45:30 2018
Return-Path: <gcc-bugs-return-606487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90498 invoked by alias); 5 Jun 2018 09:45:24 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 90055 invoked by uid 48); 5 Jun 2018 09:45:02 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/85925] [7/8/9 Regression] Mis-compilation at -02, masking with 257 goes wrong in combine
Date: Tue, 05 Jun 2018 09:45:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 8.1.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-85925-4-CPhMLilkzM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85925-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85925-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00282.txt.bz2
Content-length: 471
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85925
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|segher at gcc dot gnu.org |ebotcazou at gcc dot gnu.org
--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Investigating.
>From gcc-bugs-return-606488-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 09:50:56 2018
Return-Path: <gcc-bugs-return-606488-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27385 invoked by alias); 5 Jun 2018 09:50:56 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 24782 invoked by uid 55); 5 Jun 2018 09:50:52 -0000
From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81497] [7/8/9 Regression] error compiling arm_acle.h
Date: Tue, 05 Jun 2018 09:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 7.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ktkachov at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81497-4-mryqXY67rT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81497-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00283.txt.bz2
Content-length: 2287
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81497
--- Comment #4 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Tue Jun 5 09:50:16 2018
New Revision: 261191
URL: https://gcc.gnu.org/viewcvs?rev=261191&root=gcc&view=rev
Log:
[arm] PR target/81497: Fix arm_acle.h for C++
When trying to compile something with arm_acle.h using G++ we get a number of
nasty errors:
arm_acle.h:48:49: error: invalid conversion from âconst void*â to âconst int*â
[-fpermissive]
return __builtin_arm_ldc (__coproc, __CRd, __p);
This is because the intrinsics that are supposed to be void return the "result"
of their builtin,
which is void. C lets that slide but C++ complains.
After fixing that we run into further errors:
arm_acle.h:48:46: error: invalid conversion from 'const void*' to 'const int*'
[-fpermissive]
return __builtin_arm_ldc (__coproc, __CRd, __p);
^~~
Because the pointer arguments in these intrinsics are void pointers but the
builtin
expects int pointers. So this patch introduces new qualifiers for void pointers
and their
const-qualified versions and uses that in the specification of these
intrinsics.
This gives us the opportunity of creating an arm subdirectory in g++.dg and
inaugurates it
with the first arm-specific C++ tests (in that directory).
PR target/81497
* config/arm/arm-builtins.c (arm_type_qualifiers): Add
qualifier_void_pointer and qualifier_const_void_pointer.
(arm_ldc_qualifiers, arm_stc_qualifiers): Use the above.
(arm_init_builtins): Handle the above.
* config/arm/arm_acle.h (__arm_cdp, __arm_ldc, __arm_ldcl, __arm_stc,
__arm_stcl, __arm_mcr, __arm_cdp2, __arm_ldc2, __arm_ldcl2, __arm_stc2,
__arm_stcl2,__arm_mcr2, __arm_mcrr, __arm_mcrr2): Remove return for
void intrinsics.
* g++.target/arm/arm.exp: New file.
* g++.target/arm/pr81497.C: Likewise.
Added:
trunk/gcc/testsuite/g++.target/arm/
trunk/gcc/testsuite/g++.target/arm/arm.exp
trunk/gcc/testsuite/g++.target/arm/pr81497.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/arm-builtins.c
trunk/gcc/config/arm/arm_acle.h
trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-606489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 09:52:10 2018
Return-Path: <gcc-bugs-return-606489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65247 invoked by alias); 5 Jun 2018 09:52:10 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 63745 invoked by uid 48); 5 Jun 2018 09:52:04 -0000
From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81497] [7/8 Regression] error compiling arm_acle.h
Date: Tue, 05 Jun 2018 09:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 7.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ktkachov at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-81497-4-3Vkueyb20r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81497-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00284.txt.bz2
Content-length: 591
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81497
ktkachov at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |9.0
Summary|[7/8/9 Regression] error |[7/8 Regression] error
|compiling arm_acle.h |compiling arm_acle.h
Known to fail| |8.1.0
--- Comment #5 from ktkachov at gcc dot gnu.org ---
Fixed on trunk. Will backport to the branches after a few days.
>From gcc-bugs-return-606491-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 10:02:13 2018
Return-Path: <gcc-bugs-return-606491-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83404 invoked by alias); 5 Jun 2018 10:02:13 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 82763 invoked by uid 48); 5 Jun 2018 10:02:06 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86047] [9 Regression] ICE in for_each_index, at tree-ssa-loop.c:647
Date: Tue, 05 Jun 2018 10:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-86047-4-MsMVoiozJ3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86047-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86047-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00286.txt.bz2
Content-length: 429
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86047
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-606492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 10:02:26 2018
Return-Path: <gcc-bugs-return-606492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84460 invoked by alias); 5 Jun 2018 10:02:26 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 84320 invoked by uid 55); 5 Jun 2018 10:02:22 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86047] [9 Regression] ICE in for_each_index, at tree-ssa-loop.c:647
Date: Tue, 05 Jun 2018 10:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86047-4-FRm3bxm6JD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86047-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86047-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00287.txt.bz2
Content-length: 662
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86047
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Jun 5 10:01:49 2018
New Revision: 261192
URL: https://gcc.gnu.org/viewcvs?rev=261192&root=gcc&view=rev
Log:
2018-06-05 Richard Biener <rguenther@suse.de>
PR tree-optimization/86047
* tree-ssa-loop.c (for_each_index): Glob handling of all
decls and constants and really handle all of them.
* gcc.dg/pr86047.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/pr86047.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-loop.c
>From gcc-bugs-return-606490-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 10:02:09 2018
Return-Path: <gcc-bugs-return-606490-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82827 invoked by alias); 5 Jun 2018 10:02:09 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 82467 invoked by uid 48); 5 Jun 2018 10:01:57 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/32957] C/Fortran interoperability and -fdefault-integer-8
Date: Tue, 05 Jun 2018 10:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.3.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-32957-4-PrlAKQ6zuf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-32957-4@http.gcc.gnu.org/bugzilla/>
References: <bug-32957-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00285.txt.bz2
Content-length: 2212
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32957
--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> So is this fixed now?
I have spotted some new tests requiring c_int:
--- ../_clean/gcc/testsuite/gfortran.dg/bind_c_usage_24.f90 2018-02-18
00:40:36.000000000 +0100
+++ ../p_work/gcc/testsuite/gfortran.dg/bind_c_usage_24.f90 2018-05-12
16:01:26.000000000 +0200
@@ -30,9 +30,10 @@ contains
end module m
program test
+ use iso_c_binding
use m
implicit none
- integer :: val
+ integer(c_int) :: val
val = 4
call c_proc (.false._c_bool)
--- ../_clean/gcc/testsuite/gfortran.dg/internal_dummy_4.f08 2018-02-18
00:40:40.000000000 +0100
+++ ../p_work/gcc/testsuite/gfortran.dg/internal_dummy_4.f08 2018-05-12
16:01:29.000000000 +0200
@@ -39,11 +39,11 @@ end module test_mod
program main
use test_mod
implicit none
- integer :: a
+ integer(c_int) :: a
a = 33
- call test_sub (one, a, 7*33)
+ call test_sub (one, a, 7_c_int*33_c_int)
a = 23
- call test_func(two, a, -123*23)
+ call test_func(two, a, -123_c_int*23_c_int)
contains
subroutine one(x) bind(c)
integer(c_int),intent(inout) :: x
There is also a problem with gfortran.dg/bind_c_usage_10.f03 I have been unable
to fix:
/opt/gcc/_clean/gcc/testsuite/gfortran.dg/bind_c_usage_10.f03:66:31:
integer(c_int) function func4()
1
Error: FUNCTION result func4 can't be of type INTEGER(4) in FUNCTION func4 at
(1)
/opt/gcc/_clean/gcc/testsuite/gfortran.dg/bind_c_usage_10.f03:59:31:
integer(c_int) function func3() bind(c, name="myFunc3")
1
Error: FUNCTION result func3 can't be of type INTEGER(4) in FUNCTION func3 at
(1)
/opt/gcc/_clean/gcc/testsuite/gfortran.dg/bind_c_usage_10.f03:52:31:
integer(c_int) function func2()
1
Error: FUNCTION result func2 can't be of type INTEGER(4) in FUNCTION func2 at
(1)
/opt/gcc/_clean/gcc/testsuite/gfortran.dg/bind_c_usage_10.f03:45:31:
integer(c_int) function func1() bind(c, name="myFunc1")
1
Error: FUNCTION result func1 can't be of type INTEGER(4) in FUNCTION func1 at
(1)
>From gcc-bugs-return-606493-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 10:03:32 2018
Return-Path: <gcc-bugs-return-606493-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87204 invoked by alias); 5 Jun 2018 10:03:32 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 86900 invoked by uid 55); 5 Jun 2018 10:03:22 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86046] [9 Regression] ICE in execute_todo, at passes.c:2043
Date: Tue, 05 Jun 2018 10:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86046-4-SNdkAPcZjL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86046-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86046-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00288.txt.bz2
Content-length: 653
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86046
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Jun 5 10:02:50 2018
New Revision: 261193
URL: https://gcc.gnu.org/viewcvs?rev=261193&root=gcc&view=rev
Log:
2018-06-05 Richard Biener <rguenther@suse.de>
PR tree-optimization/86046
* tree-ssa.c (maybe_optimize_var): Clear DECL_GIMPLE_REG_P
if required after clearing TREE_ADDRESSABLE.
* gcc.dg/pr86046.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/pr86046.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa.c
>From gcc-bugs-return-606494-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 10:04:12 2018
Return-Path: <gcc-bugs-return-606494-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90089 invoked by alias); 5 Jun 2018 10:04:11 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 89909 invoked by uid 48); 5 Jun 2018 10:04:06 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86046] [9 Regression] ICE in execute_todo, at passes.c:2043
Date: Tue, 05 Jun 2018 10:04:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-86046-4-tMF0cW1Kp0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86046-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86046-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00289.txt.bz2
Content-length: 429
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86046
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-606495-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 10:05:20 2018
Return-Path: <gcc-bugs-return-606495-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92512 invoked by alias); 5 Jun 2018 10:05:20 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 92435 invoked by uid 48); 5 Jun 2018 10:05:16 -0000
From: "jan.kratochvil at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86013] std::vector::shrink_to_fit() could sometimes use realloc()
Date: Tue, 05 Jun 2018 10:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.1.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jan.kratochvil at redhat dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-86013-4-BCB8rysfPL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86013-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86013-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00290.txt.bz2
Content-length: 419
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86013
--- Comment #8 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
Created attachment 44236
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44236&action=edit
incredibleshrinkingvector.C
What's wrong with this implementation? The permitted operator new symbols
interposition was suggested by Pavel Labath at:
https://reviews.llvm.org/D47492#1122080
>From gcc-bugs-return-606496-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 11:16:27 2018
Return-Path: <gcc-bugs-return-606496-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78533 invoked by alias); 5 Jun 2018 11:16:27 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 78347 invoked by uid 48); 5 Jun 2018 11:16:21 -0000
From: "olivier at wuillemin dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86053] New: Builtin fwrite arguments have non_null attribute and builtin function declaration not overloaded
Date: Tue, 05 Jun 2018 11:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 6.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: olivier at wuillemin dot fr
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86053-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00291.txt.bz2
Content-length: 3326
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86053
Bug ID: 86053
Summary: Builtin fwrite arguments have non_null attribute and
builtin function declaration not overloaded
Product: gcc
Version: 6.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: olivier at wuillemin dot fr
Target Milestone: ---
Builtin fwrite arguments have non_null attribute and builtin function
declaration not overloaded
I'm compiling ARM embedded software using Atmel Studio 7 and Atmel toolchain
6.3.1.508 a package of ARM's gcc-arm-embedded project 6-2017-q2-update1.
Files functions (fopen, fread, fwrite...) are embedded in a specific <stdio>
module, weak libc stdio functions are overloaded.
1°/ Buitin fwrite function seems to have the 4th parameter (file handle) with
nonnull attribute.
Compile this code :
#include <stdlib.h>
int main(void)
{
fwrite("Hello", 5, 1, NULL);
fread(NULL, 5, 1, NULL);
}
For the fwrite line a warning is generated :
main.c (6,2): null argument where non-null required (argument 4) [-Wnonnull]"
For the fread line, no warning is generated.
Some others warnings are without interest for this demonstration.
This warning is also generated using Codelite and TDM32 [gcc (tdm-1) 5.1.0].
Arm's toolchain stdio.h fwrite prototype doesn't have the nonnull attribute :
size_t _EXFUN(fwrite, (const _PTR __restrict , size_t _size, size_t
_n, FILE *));
TDM32's toolchain stdio.h fwrite prototype doesn't have the nonnull attribute
:
_CRTIMP size_t __cdecl __MINGW_NOTHROW fwrite (const void*, size_t, size_t,
FILE*);
- Is it normal that the builtin fwrite arguments have the non-null attribute ?
- Is it normal that read argument attibutes have not the same behaviour than
write ?
2°/ Buitin fwrite prototype overload local fwrite declaration
Compile this code :
#include <stdlib.h>
typedef struct {
unsigned foo;
} FILE;
size_t fwrite(const void *ptr, size_t size, size_t n, FILE *stream)
{
size_t lCount;
lCount = 0;
if (stream != NULL) {
lCount = size * n;
}
return (size_t)lCount;
}
size_t fread(void *ptr, size_t size, size_t n, FILE *stream)
{
size_t lCount;
lCount = 0;
if (stream != NULL) {
lCount = size * n;
}
return (size_t)lCount;
}
int main(int argc, char **argv)
{
fwrite("hello world\n", 5, 1, NULL);
fread(NULL, 5, 1, NULL);
return 0;
}
With ARM toolchain, 2 warnings are generated :
One for the fwrite call :
main.c(32,2): warning: null argument where non-null required (argument 4)
[-Wnonnull]
One for the the fwrite function :
main.c(12,6): warning: nonnull argument 'stream' compared to NULL
[-Wnonnull-compare]
Local fwrite declaration has no nonnull attribute for 4th parameter and :
- a warning is generated at fonction call.
- More strange is the warning generated inside the function itself. It's own
declaration is overload by builtin declaration. no effect.
Compiling the code with TDM32 generate only one warning at function call.
Compilers options are -O0 -Wall
When using compiler option -fno-builtin, warnings disappear.
Best regards,
Olivier
>From gcc-bugs-return-606498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 11:27:55 2018
Return-Path: <gcc-bugs-return-606498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27063 invoked by alias); 5 Jun 2018 11:27:55 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 25387 invoked by uid 55); 5 Jun 2018 11:27:50 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85731] [8/9 Regression] Inner class method declaration changes meaning of outer template class template method
Date: Tue, 05 Jun 2018 11:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85731-4-CdO6HZXenC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85731-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85731-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00293.txt.bz2
Content-length: 623
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85731
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jun 5 11:27:15 2018
New Revision: 261197
URL: https://gcc.gnu.org/viewcvs?rev=261197&root=gcc&view=rev
Log:
PR c++/85731 - wrong error with qualified-id in template.
* semantics.c (finish_qualified_id_expr): build_qualified_name
for unbound names in the current class.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/template/qualified-id7.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/semantics.c
>From gcc-bugs-return-606497-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 11:27:52 2018
Return-Path: <gcc-bugs-return-606497-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26505 invoked by alias); 5 Jun 2018 11:27:52 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 24318 invoked by uid 55); 5 Jun 2018 11:27:45 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85731] [8/9 Regression] Inner class method declaration changes meaning of outer template class template method
Date: Tue, 05 Jun 2018 11:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85731-4-el322eNOaU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85731-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85731-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00292.txt.bz2
Content-length: 575
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85731
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jun 5 11:27:12 2018
New Revision: 261196
URL: https://gcc.gnu.org/viewcvs?rev=261196&root=gcc&view=rev
Log:
PR c++/85731 - wrong error with qualified-id in template.
* semantics.c (finish_qualified_id_expr): build_qualified_name
for unbound names in the current class.
Added:
trunk/gcc/testsuite/g++.dg/template/qualified-id7.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
>From gcc-bugs-return-606499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 11:28:15 2018
Return-Path: <gcc-bugs-return-606499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29871 invoked by alias); 5 Jun 2018 11:28:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 29764 invoked by uid 48); 5 Jun 2018 11:28:11 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86052] ICE with parameterized derived types
Date: Tue, 05 Jun 2018 11:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-86052-4-cQPeaORK4T@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86052-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86052-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00294.txt.bz2
Content-length: 1940
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86052
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pault at gcc dot gnu.org
--- Comment #2 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to Jürgen Reuter from comment #0)
> The following example from c.l.f. (Dec 14, 2015, "explicit specialization
> for Fortran2003 recursively-defined parameterized data types?" leads to an
> ICE with the current trunk of gfortran (r260633). In the code below, if the
> non-pointer declaration is commented in, gfortran correctly vetoes this as
> "Component at (1) must have the POINTER attribute", but with the version
> below this leads to an ICE. With ifort v18 and v19 the code is rejected as
> "error #7555: Not yet implemented: Type containing ALLOCATABLE/POINTER field
> of same type with different type parameters.
> type(tensor(rank-1,dim)), pointer :: values(:)"
>
>
>
> *****
>
> Code triggering the ICE:
>
> module tensor_names
> implicit none
> private
> type :: tensor(rank,dim)
> integer, kind :: rank
> integer, kind :: dim
> type(tensor(rank-1,dim)), pointer :: values(:)
> ! type(tensor(rank-1,dim)) :: values(dim) ! Illegal!!!
> contains
> procedure, private :: create_tensor_rank_2_dim_2
> generic :: create => create_tensor_rank_2_dim_2
> end type
> contains
> subroutine create_tensor_rank_2_dim_2 ( this )
> implicit none
> class(tensor(2,2)), intent(inout) :: this
> end subroutine
> end module tensor_names
Hi Juergen,
You really come up with some fine ones :-) I know where this is happening
without even looking.
I am sharpening up for a PDT-fest for the last half of this month. Next week, I
will commence with a triage of PDTs and clear out some of the last of my
non-PDT bugs.
Many thanks
Paul
>From gcc-bugs-return-606500-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 11:28:27 2018
Return-Path: <gcc-bugs-return-606500-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31518 invoked by alias); 5 Jun 2018 11:28:26 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 30833 invoked by uid 48); 5 Jun 2018 11:28:21 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85731] [8/9 Regression] Inner class method declaration changes meaning of outer template class template method
Date: Tue, 05 Jun 2018 11:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-85731-4-9I2Svvt9SG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85731-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85731-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00295.txt.bz2
Content-length: 423
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85731
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-606501-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 11:34:07 2018
Return-Path: <gcc-bugs-return-606501-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49238 invoked by alias); 5 Jun 2018 11:34:07 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 49095 invoked by uid 48); 5 Jun 2018 11:34:00 -0000
From: "juergen.reuter at desy dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86052] ICE with parameterized derived types
Date: Tue, 05 Jun 2018 11:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: juergen.reuter at desy dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86052-4-98VHrIXAVY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86052-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86052-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00296.txt.bz2
Content-length: 445
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86052
--- Comment #3 from Jürgen Reuter <juergen.reuter at desy dot de> ---
Paul, it is not my example, it was posted by Alberto Fco. MartÃn-Huertas in
December 2015 on c.l.f., and you commented at that time that you were
contemplating on how to implement PDTs together with recursive allocatables :P
I am just playing a little bit around and following the (older) entries on
c.l.f.
>From gcc-bugs-return-606502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 11:41:36 2018
Return-Path: <gcc-bugs-return-606502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34000 invoked by alias); 5 Jun 2018 11:41:35 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 29512 invoked by uid 48); 5 Jun 2018 11:41:27 -0000
From: "alexander.nesterovskiy at intel dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86054] New: [8.1/9 Regression] SPEC CPU2006 416.gamess miscompare after r259592 with march=skylake-avx512
Date: Tue, 05 Jun 2018 11:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: alexander.nesterovskiy at intel dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-86054-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00297.txt.bz2
Content-length: 1604
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86054
Bug ID: 86054
Summary: [8.1/9 Regression] SPEC CPU2006 416.gamess miscompare
after r259592 with march=skylake-avx512
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: alexander.nesterovskiy at intel dot com
Target Milestone: ---
Created attachment 44237
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44237&action=edit
reproducer
r259592 introduced a runfail due to miscompare in SPEC CPU2006 416.gamess.
Minimal optset to reproduce is "-O3 -march=skylake-avx512".
There is no miscompare when vectorization is disabled with
"-fno-tree-vectorize".
This benchmark has some issues described in documentation
(https://www.spec.org/cpu2006/Docs/416.gamess.html):
"Some arrays are accessed past the end of the defined array size. This will,
however, not cause memory access faults" and
"The argument array sizes defined in some subroutines do not match the size of
the actual argument passed"
The problem is in "JKBCDF" function in "grd2c.F" and it's related to these
issues with wrong argument array sizes.
Patching the benchmark source solves a problem (but this patching is not
allowed according to SPEC rules):
"DIMENSION ABV(5,1),CV(18,1)" -> "DIMENSION ABV(5,NUMG),CV(18,NUMG)"
Reproducer is attached.
Symptoms here and in original 416.gamess case is that some loop iterations are
skipped.
>From gcc-bugs-return-606503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 11:53:18 2018
Return-Path: <gcc-bugs-return-606503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113772 invoked by alias); 5 Jun 2018 11:53:18 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 113566 invoked by uid 48); 5 Jun 2018 11:53:12 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86054] [8/9 Regression] SPEC CPU2006 416.gamess miscompare after r259592 with march=skylake-avx512
Date: Tue, 05 Jun 2018 11:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status version resolution target_milestone short_desc
Message-ID: <bug-86054-4-bf8oAcyI3s@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86054-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86054-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00298.txt.bz2
Content-length: 1675
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86054
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Version|unknown |8.1.1
Resolution|--- |INVALID
Target Milestone|--- |8.2
Summary|[8.1/9 Regression] SPEC |[8/9 Regression] SPEC
|CPU2006 416.gamess |CPU2006 416.gamess
|miscompare after r259592 |miscompare after r259592
|with march=skylake-avx512 |with march=skylake-avx512
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
The rev. in question is just a costing change which means it uncovers
previously latent issues.
Note I wonder why not vectorizing helps here because niter analysis should
conclude from
DIMENSION A(5, 1), B(2, W, H), C(W, H, 3)
DO I=1, H
DO J=1, W
C(J, I, 1)=B(2, J, I)*A(4, J)
C(J, I, 2)=1.0d0
C(J, I, 3)=1.0d0
END DO
END DO
that the J loop only runs once via the access to A(4, J). I guess due
to the lowering to a 1-dim array that somehow doesn't work but it works
when vectorized.
As this is clearly invalid code there's nothing we can do about this
(but close it as dup of one of the many gamess bugs about this or
related issues like PR56993 or PR53086).
I believe a workaround is -fno-aggressive-loop-optimizations and/or
-funconstrained-commons
>From gcc-bugs-return-606504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 11:58:18 2018
Return-Path: <gcc-bugs-return-606504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121491 invoked by alias); 5 Jun 2018 11:58:18 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 121386 invoked by uid 48); 5 Jun 2018 11:58:13 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/84846] GCOV intermediate format improvements
Date: Tue, 05 Jun 2018 11:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-84846-4-lXt1QMqmab@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84846-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84846-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00299.txt.bz2
Content-length: 438
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84846
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |FIXED
--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed now.
>From gcc-bugs-return-606505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 11:58:44 2018
Return-Path: <gcc-bugs-return-606505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122648 invoked by alias); 5 Jun 2018 11:58:43 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 122474 invoked by uid 48); 5 Jun 2018 11:58:38 -0000
From: "samuel.hultgren at st dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/86039] Compiler placed in deep/long folder cannot open/run needed files on Windows
Date: Tue, 05 Jun 2018 11:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 6.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: samuel.hultgren at st dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86039-4-HibbwArOQJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86039-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86039-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00300.txt.bz2
Content-length: 836
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86039
--- Comment #2 from Samuel Hultgren <samuel.hultgren at st dot com> ---
(In reply to Jim Wilson from comment #1)
> Windows has a 260 character default maximum path length. See for instance
> https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).
> aspx#maxpath
>
> This looks like an OS problem not a gcc problem.
Maybe both.
It is possible to read/write files that have longer paths than 260 characters
if you use UNC paths by prefixing absolute paths with "\\?\" on Windows.
For executing files on Windows we can improve the situation by using a
combination of UNC paths together with GetShortPathNameW before sending the
path to CreateProcessW. Only restriction here is that the resulting shorted
path must still be shorter than 260 characters.
>From gcc-bugs-return-606506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 12:11:03 2018
Return-Path: <gcc-bugs-return-606506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80257 invoked by alias); 5 Jun 2018 12:11:02 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 79654 invoked by uid 55); 5 Jun 2018 12:10:57 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/47618] Collecting multiple profiles and using all for PGO
Date: Tue, 05 Jun 2018 12:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 4.6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-47618-4-BVVDYUmkED@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-47618-4@http.gcc.gnu.org/bugzilla/>
References: <bug-47618-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00301.txt.bz2
Content-length: 845
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47618
--- Comment #21 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Jun 5 12:10:22 2018
New Revision: 261199
URL: https://gcc.gnu.org/viewcvs?rev=261199&root=gcc&view=rev
Log:
Support variables in expansion of -fprofile-generate option (PR
gcov-profile/47618).
2018-06-05 Martin Liska <mliska@suse.cz>
PR gcov-profile/47618
* doc/invoke.texi: Document how -fprofile-dir format
is extended.
2018-06-05 Martin Liska <mliska@suse.cz>
PR gcov-profile/47618
* libgcov-driver-system.c (replace_filename_variables): New
function.
(gcov_exit_open_gcda_file): Use it.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/doc/invoke.texi
trunk/libgcc/ChangeLog
trunk/libgcc/libgcov-driver-system.c
>From gcc-bugs-return-606507-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 12:13:16 2018
Return-Path: <gcc-bugs-return-606507-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86512 invoked by alias); 5 Jun 2018 12:13:16 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 86369 invoked by uid 48); 5 Jun 2018 12:13:11 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/47618] Collecting multiple profiles and using all for PGO
Date: Tue, 05 Jun 2018 12:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 4.6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-47618-4-WZBq7gkwba@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-47618-4@http.gcc.gnu.org/bugzilla/>
References: <bug-47618-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00302.txt.bz2
Content-length: 440
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47618
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #22 from Martin Liška <marxin at gcc dot gnu.org> ---
Implemented.
>From gcc-bugs-return-606508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 12:59:49 2018
Return-Path: <gcc-bugs-return-606508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8429 invoked by alias); 5 Jun 2018 12:59:48 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 479 invoked by uid 48); 5 Jun 2018 12:59:42 -0000
From: "alexander.nesterovskiy at intel dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86054] [8/9 Regression] SPEC CPU2006 416.gamess miscompare after r259592 with march=skylake-avx512
Date: Tue, 05 Jun 2018 12:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: alexander.nesterovskiy at intel dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86054-4-RaYJPdrLi8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86054-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86054-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00303.txt.bz2
Content-length: 197
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86054
--- Comment #2 from Alexander Nesterovskiy <alexander.nesterovskiy at intel dot com> ---
Thanks, "-fno-aggressive-loop-optimizations" helps.
>From gcc-bugs-return-606509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 13:11:39 2018
Return-Path: <gcc-bugs-return-606509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77139 invoked by alias); 5 Jun 2018 13:11:38 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 77084 invoked by uid 55); 5 Jun 2018 13:11:34 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85976] [8/9 Regression] ICE in cp_tree_equal when building Blitz. May be nested templates.
Date: Tue, 05 Jun 2018 13:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85976-4-bI6lj31wEa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85976-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85976-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00304.txt.bz2
Content-length: 546
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85976
--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Tue Jun 5 13:11:00 2018
New Revision: 261200
URL: https://gcc.gnu.org/viewcvs?rev=261200&root=gcc&view=rev
Log:
PR c++/85976
* tree.c (cp_tree_equal): Handle USING_DECL.
* g++.dg/cpp0x/alias-decl-64.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-64.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/tree.c
trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-606510-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 13:15:05 2018
Return-Path: <gcc-bugs-return-606510-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120184 invoked by alias); 5 Jun 2018 13:15:04 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 120080 invoked by uid 48); 5 Jun 2018 13:15:00 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85976] [8 Regression] ICE in cp_tree_equal when building Blitz. May be nested templates.
Date: Tue, 05 Jun 2018 13:15:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to short_desc
Message-ID: <bug-85976-4-kR54Rs9JGc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85976-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85976-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00305.txt.bz2
Content-length: 754
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85976
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org
Summary|[8/9 Regression] ICE in |[8 Regression] ICE in
|cp_tree_equal when building |cp_tree_equal when building
|Blitz. May be nested |Blitz. May be nested
|templates. |templates.
--- Comment #9 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-606511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 13:59:29 2018
Return-Path: <gcc-bugs-return-606511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124014 invoked by alias); 5 Jun 2018 13:59:29 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 123827 invoked by uid 55); 5 Jun 2018 13:59:24 -0000
From: "cesar at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85701] [openacc] ICE in mark_scope_block_unused, at tree-ssa-live.c:364
Date: Tue, 05 Jun 2018 13:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: openacc
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cesar at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85701-4-UUkQM2ftB7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85701-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85701-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00306.txt.bz2
Content-length: 638
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85701
--- Comment #3 from cesar at gcc dot gnu.org ---
Author: cesar
Date: Tue Jun 5 13:58:50 2018
New Revision: 261202
URL: https://gcc.gnu.org/viewcvs?rev=261202&root=gcc&view=rev
Log:
PR fortran/85701
gcc/fortran/
* openmp.c (gfc_resolve_oacc_declare): Error on functions and
subroutine data clause arguments.
gcc/testsuite/
* gfortran.dg/goacc/pr85701.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/goacc/pr85701.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/openmp.c
trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-606512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 14:01:26 2018
Return-Path: <gcc-bugs-return-606512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10441 invoked by alias); 5 Jun 2018 14:01:26 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 10291 invoked by uid 48); 5 Jun 2018 14:01:22 -0000
From: "guicrith at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86055] New: Bitshifts temporarly change uint32_t to int32_t on x86_64 Mac OS
Date: Tue, 05 Jun 2018 14:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: guicrith at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-86055-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00307.txt.bz2
Content-length: 1075
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86055
Bug ID: 86055
Summary: Bitshifts temporarly change uint32_t to int32_t on
x86_64 Mac OS
Product: gcc
Version: 8.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: guicrith at gmail dot com
Target Milestone: ---
Created attachment 44238
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44238&action=edit
Simple test program source, no dependancys.
Right-shifting a negative value is implementation-defined and not recommended
by good coding practice. Wikipedia
The same behavior is occuring with a uint32_t, but it should be impossible for
it to be negative.
Under the existing C rules uint16_t should be promoted to int64_t(the native
int type for x86_64) before bitshifting.
It seems to be taking the signed part of int64_t without the 64 bits part.
x86_64 Mac OS 10.13.5 gcc version 8.1.0 (Homebrew GCC 8.1.0)
>From gcc-bugs-return-606513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 14:06:16 2018
Return-Path: <gcc-bugs-return-606513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31199 invoked by alias); 5 Jun 2018 14:06:16 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 30909 invoked by uid 48); 5 Jun 2018 14:06:12 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86055] Bitshifts temporarly change uint32_t to int32_t on x86_64 Mac OS
Date: Tue, 05 Jun 2018 14:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-86055-4-W60CtePg3q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86055-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86055-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00308.txt.bz2
Content-length: 507
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86055
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>Under the existing C rules uint16_t should be promoted to int64_t
No, just to int.
>From gcc-bugs-return-606514-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 14:50:51 2018
Return-Path: <gcc-bugs-return-606514-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44558 invoked by alias); 5 Jun 2018 14:50:51 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 34075 invoked by uid 48); 5 Jun 2018 14:50:42 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86053] Builtin fwrite arguments have non_null attribute and builtin function declaration not overloaded
Date: Tue, 05 Jun 2018 14:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 6.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-86053-4-fpKAet4ooP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86053-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86053-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00309.txt.bz2
Content-length: 649
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86053
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I don't see this as a real issue as the C standard has a requirement that the
FILE* argument should be non-null; otherwise it is undefined behavior at
runtime. Using -fno-builtins or -ffree-standing is the correct fix here.
>From gcc-bugs-return-606515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 14:59:41 2018
Return-Path: <gcc-bugs-return-606515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102170 invoked by alias); 5 Jun 2018 14:59:40 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 102059 invoked by uid 48); 5 Jun 2018 14:59:37 -0000
From: "redbeard0531 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86056] New: Codegen can result in multiple sequential mfence instructions
Date: Tue, 05 Jun 2018 14:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redbeard0531 at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86056-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00310.txt.bz2
Content-length: 1121
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86056
Bug ID: 86056
Summary: Codegen can result in multiple sequential mfence
instructions
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: redbeard0531 at gmail dot com
Target Milestone: ---
This is from an example to prove that atomic_thread_fence does not prevent the
compiler from optimizing non-escaped memory.
https://godbolt.org/g/288mTC
#include <utility>
#include <atomic>
struct Type {
Type(Type&&)=default;
int i;
};
Type func(Type t) {
auto out = Type(Type(std::move(t)));
std::atomic_thread_fence(std::memory_order_seq_cst);
return out;
}
auto func2(Type t) { return func(func(func(func(std::move(t))))); }
func(Type):
movl (%rsi), %edx
movq %rdi, %rax
movl %edx, (%rdi)
mfence
ret
func2(Type):
movl (%rsi), %edx
movq %rdi, %rax
mfence
mfence
mfence
movl %edx, (%rdi)
mfence
ret
>From gcc-bugs-return-606516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 15:34:28 2018
Return-Path: <gcc-bugs-return-606516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73265 invoked by alias); 5 Jun 2018 15:34:28 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 59644 invoked by uid 55); 5 Jun 2018 15:34:23 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85847] [6/7/8 Regression] unexpected expression of kind template_id_expr
Date: Tue, 05 Jun 2018 15:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85847-4-ZCo4ihjNnt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85847-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85847-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00311.txt.bz2
Content-length: 648
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85847
--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Tue Jun 5 15:33:51 2018
New Revision: 261205
URL: https://gcc.gnu.org/viewcvs?rev=261205&root=gcc&view=rev
Log:
PR c++/85847
* init.c (build_new_1): Use fold_non_dependent_expr. Use a dedicated
variable for its result. Fix a condition.
(build_new): Use fold_non_dependent_expr. Tweak a condition.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/new3.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/init.c
>From gcc-bugs-return-606517-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 15:38:59 2018
Return-Path: <gcc-bugs-return-606517-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40622 invoked by alias); 5 Jun 2018 15:38:59 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 33724 invoked by uid 48); 5 Jun 2018 15:38:55 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85847] [6/7/8 Regression] unexpected expression of kind template_id_expr
Date: Tue, 05 Jun 2018 15:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-85847-4-IxvvsxHCip@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85847-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85847-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00312.txt.bz2
Content-length: 429
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85847
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-606518-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 15:42:12 2018
Return-Path: <gcc-bugs-return-606518-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24469 invoked by alias); 5 Jun 2018 15:42:12 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 18468 invoked by uid 55); 5 Jun 2018 15:42:07 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85976] [8 Regression] ICE in cp_tree_equal when building Blitz. May be nested templates.
Date: Tue, 05 Jun 2018 15:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85976-4-wSZrjF5NTm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85976-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85976-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00313.txt.bz2
Content-length: 561
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85976
--- Comment #10 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Tue Jun 5 15:41:34 2018
New Revision: 261206
URL: https://gcc.gnu.org/viewcvs?rev=261206&root=gcc&view=rev
Log:
PR c++/85976
* tree.c (cp_tree_equal): Handle USING_DECL.
* g++.dg/cpp0x/alias-decl-64.C: New test.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/alias-decl-64.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/tree.c
>From gcc-bugs-return-606519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 15:44:57 2018
Return-Path: <gcc-bugs-return-606519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12152 invoked by alias); 5 Jun 2018 15:44:56 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 12046 invoked by uid 48); 5 Jun 2018 15:44:52 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/86056] Codegen can result in multiple sequential mfence instructions
Date: Tue, 05 Jun 2018 15:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: component
Message-ID: <bug-86056-4-0drv5eQ9ga@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86056-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86056-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00314.txt.bz2
Content-length: 596
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86056
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|target |middle-end
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I don't see why you think atomic_thread_fence should prevent this kind of
optimization here as no other thread can "see" the stores that would be doing.
The only thing I see missing is the merging of the __atomic_thread_fence
>From gcc-bugs-return-606520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 15:49:14 2018
Return-Path: <gcc-bugs-return-606520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4116 invoked by alias); 5 Jun 2018 15:49:14 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 124888 invoked by uid 48); 5 Jun 2018 15:49:10 -0000
From: "cohenjon at google dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/66146] call_once not C++11-compliant on ppc64le
Date: Tue, 05 Jun 2018 15:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 5.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cohenjon at google dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-66146-4-tE76ZKWZtP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66146-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66146-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00315.txt.bz2
Content-length: 663
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66146
Jon Cohen <cohenjon at google dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cohenjon at google dot com
--- Comment #21 from Jon Cohen <cohenjon at google dot com> ---
What is the current status on this bug? I'm currently working on exception
safety for Abseil's call_once which uses pthread_once under the hood. It looks
like there are still people bringing up issue with this in the glibc thread as
well -- is this still actively being worked on?
>From gcc-bugs-return-606521-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 17:11:38 2018
Return-Path: <gcc-bugs-return-606521-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38244 invoked by alias); 5 Jun 2018 17:11:38 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 32808 invoked by uid 48); 5 Jun 2018 17:11:34 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/86057] New: Use of mempcpy in libgcc/ libgcov-driver-system.c breaks bootstrap
Date: Tue, 05 Jun 2018 17:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86057-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00316.txt.bz2
Content-length: 1436
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86057
Bug ID: 86057
Summary: Use of mempcpy in libgcc/ libgcov-driver-system.c
breaks bootstrap
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: kargl at gcc dot gnu.org
Target Milestone: ---
In file included from ../../gcc/gcc/../libgcc/libgcov-driver.c:322:0:
../../gcc/gcc/../libgcc/libgcov-driver-system.c: In function 'char*
replace_filename_variables(char*)':
../../gcc/gcc/../libgcc/libgcov-driver-system.c:193:25: error: 'mempcpy' was
not declared in this scope
buffer_ptr = (char *)mempcpy (buffer_ptr, filename, start);
^~~~~~~
../../gcc/gcc/../libgcc/libgcov-driver-system.c:193:25: note: suggested
alternative: 'memccpy'
buffer_ptr = (char *)mempcpy (buffer_ptr, filename, start);
^~~~~~~
memccpy
gmake[3]: *** [Makefile:2949: libgcov-driver-tool.o] Error 1
gmake[3]: Leaving directory '/safe/sgk/gcc/obj/gcc'
gmake[2]: *** [Makefile:4621: all-stage1-gcc] Error 2
gmake[2]: Leaving directory '/safe/sgk/gcc/obj'
gmake[1]: *** [Makefile:22969: stage1-bubble] Error 2
gmake[1]: Leaving directory '/safe/sgk/gcc/obj'
gmake: *** [Makefile:23306: bootstrap] Error 2
>From gcc-bugs-return-606522-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 17:12:27 2018
Return-Path: <gcc-bugs-return-606522-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91570 invoked by alias); 5 Jun 2018 17:12:27 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 86259 invoked by uid 48); 5 Jun 2018 17:12:22 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/86057] Use of mempcpy in libgcc/ libgcov-driver-system.c breaks bootstrap
Date: Tue, 05 Jun 2018 17:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc cf_gcchost target_milestone everconfirmed
Message-ID: <bug-86057-4-cPTUiNNnv1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86057-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86057-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00317.txt.bz2
Content-length: 627
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86057
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-05
CC| |mliska at suse dot cz
Host| |x86_64-*-freebsd
Target Milestone|--- |9.0
Ever confirmed|0 |1
>From gcc-bugs-return-606523-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 17:25:17 2018
Return-Path: <gcc-bugs-return-606523-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4083 invoked by alias); 5 Jun 2018 17:25:17 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 3959 invoked by uid 48); 5 Jun 2018 17:25:12 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/86057] Use of mempcpy in libgcc/ libgcov-driver-system.c breaks bootstrap
Date: Tue, 05 Jun 2018 17:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: ro at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc cf_gcchost
Message-ID: <bug-86057-4-eiQlSgrPgv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86057-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86057-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00318.txt.bz2
Content-length: 554
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86057
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ro at gcc dot gnu.org
Host|x86_64-*-freebsd |x86_64-*-freebsd,
| |*-*-solaris2.*
--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
Affects Solaris, too (and almost certainly macOS as well).
>From gcc-bugs-return-606524-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 17:30:44 2018
Return-Path: <gcc-bugs-return-606524-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103200 invoked by alias); 5 Jun 2018 17:30:44 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 96928 invoked by uid 48); 5 Jun 2018 17:30:39 -0000
From: "andrew.burgess at embecosm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/86058] New: TARGET_MEM_REF causing incorrect message for -Wmaybe-uninitialized warning
Date: Tue, 05 Jun 2018 17:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andrew.burgess at embecosm dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86058-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00319.txt.bz2
Content-length: 1500
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86058
Bug ID: 86058
Summary: TARGET_MEM_REF causing incorrect message for
-Wmaybe-uninitialized warning
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: andrew.burgess at embecosm dot com
Target Milestone: ---
The following:
/* { dg-do compile } */
/* { dg-options "-O2 -Wuninitialized -Wmaybe-uninitialized" } */
extern void foo (int *);
void
zip (int *out, int indx)
{
int arr[10];
for (int i = 0; i < indx; ++i)
out[i] = arr[i] + 1; /* { dg-warning "'arr[i]' may be used
uninitialized in this function" } */
foo (arr);
foo (out);
}
When compiled gives this warning:
$ gcc -Wuninitialized -Wmaybe-uninitialized -O2 test.c
#âtarget_mem_refâ not supported by expression#â test.c: In function âzipâ:
test.c:12:17: warning: may be used uninitialized in this function
[-Wmaybe-uninitialized]
out[i] = arr[i] + 1; /* { dg-warning "'arr[i]' may be used
uninitialized in this function" } */
~~~^~~
The problem seems to arise from tree-ssa-uninit.c:warn_uninitialized_vars which
ends up calling warning_at and using %qE to format a tree, which is of type
TRAGET_MEM_REF.
>From gcc-bugs-return-606525-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 17:31:35 2018
Return-Path: <gcc-bugs-return-606525-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31586 invoked by alias); 5 Jun 2018 17:31:35 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 10191 invoked by uid 55); 5 Jun 2018 17:31:18 -0000
From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/86057] Use of mempcpy in libgcc/ libgcov-driver-system.c breaks bootstrap
Date: Tue, 05 Jun 2018 17:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86057-4-5dotv0wP59@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86057-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86057-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00320.txt.bz2
Content-length: 445
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86057
--- Comment #2 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Tue, Jun 05, 2018 at 05:25:12PM +0000, ro at gcc dot gnu.org wrote:
>
> --- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
> Affects Solaris, too (and almost certainly macOS as well).
>
mempcpy seems to be a glibc 2.1 extension. I suspect
bootstrap is broken on all non-glibc based systems.
>From gcc-bugs-return-606526-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 17:49:07 2018
Return-Path: <gcc-bugs-return-606526-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89055 invoked by alias); 5 Jun 2018 17:49:07 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 88634 invoked by uid 48); 5 Jun 2018 17:49:01 -0000
From: "cesar at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85701] [openacc] ICE in mark_scope_block_unused, at tree-ssa-live.c:364
Date: Tue, 05 Jun 2018 17:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: openacc
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cesar at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-85701-4-uInoJUJwn8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85701-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85701-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00321.txt.bz2
Content-length: 582
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85701
cesar at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |cesar at gcc dot gnu.org
Resolution|--- |FIXED
--- Comment #4 from cesar at gcc dot gnu.org ---
Fixed in trunk by having the Fortran FE error when function and subroutine are
used data clause arguments to acc declare.
>From gcc-bugs-return-606527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 17:53:58 2018
Return-Path: <gcc-bugs-return-606527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99257 invoked by alias); 5 Jun 2018 17:53:56 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 98980 invoked by uid 48); 5 Jun 2018 17:53:50 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/77703] [6/7/8/9 Regression] ICE on assignment to pointer function
Date: Tue, 05 Jun 2018 17:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 7.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gscfq@t-online.de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-77703-4-yk1DOwc2hS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77703-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77703-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00322.txt.bz2
Content-length: 1168
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77703
G. Steinmetz <gscfq@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gscfq@t-online.de
--- Comment #4 from G. Steinmetz <gscfq@t-online.de> ---
Reducing a bit :
$ cat z1.f90
module m
contains
function f() result(z)
character(3), pointer :: z
end
end
program p
use m
f() = 'abc'
end
$ gfortran-9-20180603 -c z1.f90
z1.f90:7:0:
program p
internal compiler error: in gfc_trans_auto_character_variable, at
fortran/trans-decl.c:3917
0x7714ff gfc_trans_auto_character_variable
../../gcc/fortran/trans-decl.c:3917
0x7714ff gfc_trans_deferred_vars(gfc_symbol*, gfc_wrapped_block*)
../../gcc/fortran/trans-decl.c:4782
0x772f93 gfc_generate_function_code(gfc_namespace*)
../../gcc/fortran/trans-decl.c:6619
0x701bc0 translate_all_program_units
../../gcc/fortran/parse.c:6121
0x701bc0 gfc_parse_file()
../../gcc/fortran/parse.c:6324
0x748c6f gfc_be_parse_file
../../gcc/fortran/f95-lang.c:204
>From gcc-bugs-return-606528-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 17:58:49 2018
Return-Path: <gcc-bugs-return-606528-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106310 invoked by alias); 5 Jun 2018 17:58:49 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 106106 invoked by uid 48); 5 Jun 2018 17:58:43 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85942] ICE with PDTs
Date: Tue, 05 Jun 2018 17:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gscfq@t-online.de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-85942-4-vJoz0wRHKy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85942-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85942-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00323.txt.bz2
Content-length: 1562
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85942
G. Steinmetz <gscfq@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gscfq@t-online.de
--- Comment #4 from G. Steinmetz <gscfq@t-online.de> ---
One possible reduction :
$ cat z1.f90
module m
type t(a)
private
integer, len :: a = 1
end type
end
program p
use m
type(t(a=:)), allocatable :: z
end
$ gfortran-9-20180603 -c z1.f90
f951: internal compiler error: Segmentation fault
0xba15af crash_signal
../../gcc/toplev.c:325
0x693919 gfc_get_pdt_instance(gfc_actual_arglist*, gfc_symbol**,
gfc_actual_arglist**)
../../gcc/fortran/decl.c:3473
0x699c71 gfc_match_decl_type_spec(gfc_typespec*, int)
../../gcc/fortran/decl.c:3990
0x69abbc gfc_match_data_decl()
../../gcc/fortran/decl.c:5808
0x6f6fb9 match_word_omp_simd
../../gcc/fortran/parse.c:93
0x6fa6ae match_word
../../gcc/fortran/parse.c:376
0x6fa6ae decode_statement
../../gcc/fortran/parse.c:376
0x6fc5d4 next_free
../../gcc/fortran/parse.c:1230
0x6fc5d4 next_statement
../../gcc/fortran/parse.c:1462
0x6fdecc parse_spec
../../gcc/fortran/parse.c:3854
0x7003b3 parse_progunit
../../gcc/fortran/parse.c:5667
0x701994 gfc_parse_file()
../../gcc/fortran/parse.c:6207
0x748c6f gfc_be_parse_file
../../gcc/fortran/f95-lang.c:204
Of course, compiles without "private"
>From gcc-bugs-return-606529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 18:00:51 2018
Return-Path: <gcc-bugs-return-606529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114669 invoked by alias); 5 Jun 2018 18:00:51 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 114494 invoked by uid 48); 5 Jun 2018 18:00:42 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86059] New: ICE in reduce_binary_ac, at fortran/arith.c:1308 (and others)
Date: Tue, 05 Jun 2018 18:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gscfq@t-online.de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86059-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00324.txt.bz2
Content-length: 2380
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86059
Bug ID: 86059
Summary: ICE in reduce_binary_ac, at fortran/arith.c:1308 (and
others)
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Extracted from pr86045 comment 1, loosely related to pr66193.
Invalid code with null(), affects gfortran down to at least 4.8.
$ cat zn1.f90
program p
real :: z(1) = [real :: null()] + 2.0
end
$ cat zn2.f90
program p
real :: z(1) = [real :: null()] + [real :: 2]
end
$ cat zn3.f90
program p
real :: z(1) = 1.0 + [real :: null()]
end
$ cat zn4.f90
program p
real :: z(1) = [real :: 1] + [real :: null()]
end
$ cat zn5.f90
program p
real :: z(2) = [real :: null()] + [real :: null()]
end
$ gfortran-9-20180603 -c zn1.f90
f951: internal compiler error: Segmentation fault
0xba15af crash_signal
../../gcc/toplev.c:325
0x675138 reduce_binary_ac
../../gcc/fortran/arith.c:1308
0x6750d2 reduce_binary_ac
../../gcc/fortran/arith.c:1295
0x67531c reduce_binary
../../gcc/fortran/arith.c:1421
0x675b3b eval_intrinsic
../../gcc/fortran/arith.c:1596
0x675d9e eval_intrinsic_f3
../../gcc/fortran/arith.c:1733
0x6ac645 simplify_intrinsic_op
../../gcc/fortran/expr.c:1133
0x6ac645 gfc_simplify_expr(gfc_expr*, int)
../../gcc/fortran/expr.c:1984
0x70f44f resolve_operator
../../gcc/fortran/resolve.c:4162
0x70f44f gfc_resolve_expr(gfc_expr*)
../../gcc/fortran/resolve.c:6716
0x6ab92f gfc_reduce_init_expr(gfc_expr*)
../../gcc/fortran/expr.c:2773
0x6ae431 gfc_match_init_expr(gfc_expr**)
../../gcc/fortran/expr.c:2821
0x69bfb9 variable_decl
../../gcc/fortran/decl.c:2681
0x69bfb9 gfc_match_data_decl()
../../gcc/fortran/decl.c:5880
0x6f6fb9 match_word_omp_simd
../../gcc/fortran/parse.c:93
0x6fa6ae match_word
../../gcc/fortran/parse.c:376
0x6fa6ae decode_statement
../../gcc/fortran/parse.c:376
0x6fc5d4 next_free
../../gcc/fortran/parse.c:1230
0x6fc5d4 next_statement
../../gcc/fortran/parse.c:1462
0x6fe3ec parse_spec
../../gcc/fortran/parse.c:3670
>From gcc-bugs-return-606530-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 18:02:56 2018
Return-Path: <gcc-bugs-return-606530-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120979 invoked by alias); 5 Jun 2018 18:02:56 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 120448 invoked by uid 48); 5 Jun 2018 18:02:48 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86045] ICE in reduce_binary_ac, at fortran/arith.c:1308 (and others)
Date: Tue, 05 Jun 2018 18:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gscfq@t-online.de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86045-4-PEF8HUMGQR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86045-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86045-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00325.txt.bz2
Content-length: 224
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86045
--- Comment #4 from G. Steinmetz <gscfq@t-online.de> ---
> There's a are different issue than the one involving MOD().
Cases from comment 1 are now separated as pr86059.
>From gcc-bugs-return-606531-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 18:04:54 2018
Return-Path: <gcc-bugs-return-606531-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130924 invoked by alias); 5 Jun 2018 18:04:53 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 130788 invoked by uid 48); 5 Jun 2018 18:04:50 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85976] [8 Regression] ICE in cp_tree_equal when building Blitz. May be nested templates.
Date: Tue, 05 Jun 2018 18:04:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-85976-4-ViPzOjGiO1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85976-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85976-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00326.txt.bz2
Content-length: 430
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85976
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #11 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-606532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 18:06:51 2018
Return-Path: <gcc-bugs-return-606532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6558 invoked by alias); 5 Jun 2018 18:06:51 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 6455 invoked by uid 48); 5 Jun 2018 18:06:47 -0000
From: "redbeard0531 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/86056] Codegen can result in multiple sequential mfence instructions
Date: Tue, 05 Jun 2018 18:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redbeard0531 at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86056-4-V61DSXOUIN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86056-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86056-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00327.txt.bz2
Content-length: 504
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86056
--- Comment #2 from Mathias Stearn <redbeard0531 at gmail dot com> ---
Oh, I agree that this optimization must be permitted. I was using this example
to prove this to someone else who didn't believe that. I only mentioned that to
explain how that weird source code came to be.
My point of this bug was that the code gen can be further optimized because
there is never a good reason to have multiple mfence instructions back to back
like that.
>From gcc-bugs-return-606533-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 18:13:27 2018
Return-Path: <gcc-bugs-return-606533-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36710 invoked by alias); 5 Jun 2018 18:13:26 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 36566 invoked by uid 48); 5 Jun 2018 18:13:22 -0000
From: "richard-gccbugzilla at metafoo dot co.uk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86049] Array bindings are not const when initializer is
Date: Tue, 05 Jun 2018 18:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: richard-gccbugzilla at metafoo dot co.uk
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-86049-4-l48CXUgbH6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86049-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86049-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00328.txt.bz2
Content-length: 614
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86049
Richard Smith <richard-gccbugzilla at metafoo dot co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |richard-gccbugzilla@metafoo
| |.co.uk
--- Comment #2 from Richard Smith <richard-gccbugzilla at metafoo dot co.uk> ---
I think this is a bug in the standard. The cv-qualifiers of the array type
should be discarded, as they would be for any normal auto deduction.
>From gcc-bugs-return-606534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 18:16:40 2018
Return-Path: <gcc-bugs-return-606534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53466 invoked by alias); 5 Jun 2018 18:16:40 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 52012 invoked by uid 55); 5 Jun 2018 18:16:22 -0000
From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86045] ICE in reduce_binary_ac, at fortran/arith.c:1308
Date: Tue, 05 Jun 2018 18:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86045-4-jdbuiFtnWi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86045-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86045-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00329.txt.bz2
Content-length: 622
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86045
--- Comment #5 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Tue, Jun 05, 2018 at 06:02:47PM +0000, gscfq@t-online.de wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86045
>
> --- Comment #4 from G. Steinmetz <gscfq@t-online.de> ---
> > There's a are different issue than the one involving MOD().
> Cases from comment 1 are now separated as pr86059.
Thanks. I've submitted a patch that fixes MOD(..., 0),
but I'm guessing you'll find a way to break it. :-)
Perhaps, MOD(..., null()) as I hadn't thought about this
example until now.
>From gcc-bugs-return-606535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 18:19:46 2018
Return-Path: <gcc-bugs-return-606535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45645 invoked by alias); 5 Jun 2018 18:19:45 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 36119 invoked by uid 48); 5 Jun 2018 18:19:38 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/86058] TARGET_MEM_REF causing incorrect message for -Wmaybe-uninitialized warning
Date: Tue, 05 Jun 2018 18:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-86058-4-EXEQuTvSLA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86058-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86058-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00330.txt.bz2
Content-length: 465
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86058
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Since the production of TRAGET_MEM_REF is target dependent, what target does
this happen for you?
>From gcc-bugs-return-606536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 18:21:34 2018
Return-Path: <gcc-bugs-return-606536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37713 invoked by alias); 5 Jun 2018 18:21:34 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 30904 invoked by uid 48); 5 Jun 2018 18:21:29 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/86057] Use of mempcpy in libgcc/ libgcov-driver-system.c breaks bootstrap
Date: Tue, 05 Jun 2018 18:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-86057-4-n9XAqPN3i1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86057-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86057-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00331.txt.bz2
Content-length: 438
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86057
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
mempcpy is in libiberty but we don't compile a target version of libiberty.
>From gcc-bugs-return-606537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 18:23:57 2018
Return-Path: <gcc-bugs-return-606537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73515 invoked by alias); 5 Jun 2018 18:23:57 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 73425 invoked by uid 48); 5 Jun 2018 18:23:53 -0000
From: "andrew.burgess at embecosm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/86058] TARGET_MEM_REF causing incorrect message for -Wmaybe-uninitialized warning
Date: Tue, 05 Jun 2018 18:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andrew.burgess at embecosm dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86058-4-7GVrz45MbK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86058-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86058-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00332.txt.bz2
Content-length: 165
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86058
--- Comment #2 from Andrew Burgess <andrew.burgess at embecosm dot com> ---
Sorry, this is on x86-64/GNU-Linux
>From gcc-bugs-return-606538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 18:59:54 2018
Return-Path: <gcc-bugs-return-606538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34885 invoked by alias); 5 Jun 2018 18:59:54 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 22184 invoked by uid 55); 5 Jun 2018 18:59:45 -0000
From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/86057] Use of mempcpy in libgcc/ libgcov-driver-system.c breaks bootstrap
Date: Tue, 05 Jun 2018 18:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86057-4-u4COqXU8bF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86057-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86057-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00333.txt.bz2
Content-length: 447
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86057
--- Comment #4 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Tue, Jun 05, 2018 at 06:21:29PM +0000, pinskia at gcc dot gnu.org wrote:
>
> --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> mempcpy is in libiberty but we don't compile a target version of libiberty.
>
Looking at the code, one can use strcat or strncat,
which are part of ISO C.
>From gcc-bugs-return-606539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 19:08:09 2018
Return-Path: <gcc-bugs-return-606539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118698 invoked by alias); 5 Jun 2018 19:08:09 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 118576 invoked by uid 48); 5 Jun 2018 19:08:05 -0000
From: "helloqirun at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86060] New: g++ ICE at on with "c++03" in tsubst_copy, at cp/pt.c:15459
Date: Tue, 05 Jun 2018 19:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: helloqirun at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86060-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00334.txt.bz2
Content-length: 2772
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86060
Bug ID: 86060
Summary: g++ ICE at on with "c++03" in tsubst_copy, at
cp/pt.c:15459
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: helloqirun at gmail dot com
Target Milestone: ---
The trunk version g++ crashes with "-std=c++98" or "-std=c++03". The other std
flags seem working.
It seems to be a regression in 5.X. Gcc-4.9 works fine.
$ g++-trunk -v
Using built-in specs.
COLLECT_GCC=g++-trunk
COLLECT_LTO_WRAPPER=/home/absozero/trunk/root-gcc/libexec/gcc/x86_64-pc-linux-gnu/9.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/home/absozero/trunk/root-gcc
--enable-languages=c,c++ --disable-werror --enable-multilib
Thread model: posix
gcc version 9.0.0 20180604 (experimental) [trunk revision 261145] (GCC)
$ g++-trunk -std=c++11 -c abc.cpp
$ g++-trunk -std=c++98 -c abc.cpp
abc.cpp: In function âvoid foo(T (&)[8])â:
abc.cpp:2:16: warning: range-based âforâ loops only available with -std=c++11
or -std=gnu++11
for (int i : a)
^
abc.cpp: In instantiation of âvoid foo(T (&)[8]) [with T = int]â:
abc.cpp:5:22: required from here
abc.cpp:3:5: internal compiler error: in tsubst_copy, at cp/pt.c:15459
i;
^
0x64601c tsubst_copy
../../gcc/gcc/cp/pt.c:15457
0x968c43 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool,
bool)
../../gcc/gcc/cp/pt.c:18862
0x974ab7 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../gcc/gcc/cp/pt.c:17415
0x9727c6 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../gcc/gcc/cp/pt.c:16616
0x97251d tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../gcc/gcc/cp/pt.c:16811
0x971bbf tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../gcc/gcc/cp/pt.c:16899
0x971517 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../gcc/gcc/cp/pt.c:16587
0x971517 instantiate_decl(tree_node*, bool, bool)
../../gcc/gcc/cp/pt.c:24001
0x997023 instantiate_pending_templates(int)
../../gcc/gcc/cp/pt.c:24117
0x8be968 c_parse_final_cleanups()
../../gcc/gcc/cp/decl2.c:4703
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
$ cat abc.cpp
template <typename T> void foo(T (&a)[8]) {
for (int i : a)
i;
}
void fn1() { foo<int>; }
>From gcc-bugs-return-606540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 19:11:51 2018
Return-Path: <gcc-bugs-return-606540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52619 invoked by alias); 5 Jun 2018 19:11:51 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 41713 invoked by uid 48); 5 Jun 2018 19:11:46 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86060] g++ ICE at on with "c++03" in tsubst_copy, at cp/pt.c:15459
Date: Tue, 05 Jun 2018 19:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-86060-4-wHAAKlQ9Ur@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86060-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86060-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00335.txt.bz2
Content-length: 561
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86060
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-05
CC| |mpolacek at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-606541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 19:19:17 2018
Return-Path: <gcc-bugs-return-606541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51463 invoked by alias); 5 Jun 2018 19:19:17 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 51387 invoked by uid 48); 5 Jun 2018 19:19:13 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86060] [6/7/8/9 Regression] g++ ICE at on with "c++03" in tsubst_copy, at cp/pt.c:15459
Date: Tue, 05 Jun 2018 19:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-86060-4-PhP39g73sr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86060-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86060-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00336.txt.bz2
Content-length: 608
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86060
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|g++ ICE at on with "c++03" |[6/7/8/9 Regression] g++
|in tsubst_copy, at |ICE at on with "c++03" in
|cp/pt.c:15459 |tsubst_copy, at
| |cp/pt.c:15459
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r212044.
>From gcc-bugs-return-606542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 21:23:26 2018
Return-Path: <gcc-bugs-return-606542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126623 invoked by alias); 5 Jun 2018 21:23:26 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 126523 invoked by uid 48); 5 Jun 2018 21:23:21 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86061] New: dead memset followed by strncpy and assignment not eliminated
Date: Tue, 05 Jun 2018 21:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86061-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00337.txt.bz2
Content-length: 1787
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86061
Bug ID: 86061
Summary: dead memset followed by strncpy and assignment not
eliminated
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: msebor at gcc dot gnu.org
Target Milestone: ---
This is similar to bug 86010 except the optimization is absent from all
versions of GCC all the way back to 4.1. In the test case below the memset
call zeroes out the entire destination array, only to have its contents
overwritten by the subsequent call to strncpy followed by the write to its last
element. Rather than eliminating the memset call and keeping the
single-character store GCC does the opposite, which is obviously suboptimal.
This code is reduced from code that's idiomatic in the Linux kernel when
copying between kernel data (that's not necessarily nul-terminated) and
user-space strings (which are expected to be nul-terminated).
$ cat c.c && gcc -O2 -S -Wall -Wextra -fdump-tree-optimized=/dev/stdout c.c
struct S { int i; char n[256]; int j; };
void f (char*);
void g (struct S *p)
{
char a[sizeof p->n + 1];
__builtin_memset (a, 0, sizeof a); // dead store, can be eliminated
__builtin_strncpy (a, p->n, sizeof a - 1);
a[sizeof a - 1] = '\0';
f (a);
}
;; Function g (g, funcdef_no=0, decl_uid=1964, cgraph_uid=0, symbol_order=0)
g (struct S * p)
{
char a[257];
char[256] * _1;
<bb 2> [local count: 1073741825]:
__builtin_memset (&a, 0, 257);
_1 = &p_4(D)->n;
__builtin_strncpy (&a, _1, 256);
f (&a);
a ={v} {CLOBBER};
return;
}
>From gcc-bugs-return-606543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 21:26:12 2018
Return-Path: <gcc-bugs-return-606543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9532 invoked by alias); 5 Jun 2018 21:26:12 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 6602 invoked by uid 48); 5 Jun 2018 21:26:08 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86061] dead memset followed by strncpy and assignment not eliminated
Date: Tue, 05 Jun 2018 21:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords see_also
Message-ID: <bug-86061-4-tXRGqAjnBy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86061-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86061-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00338.txt.bz2
Content-length: 746
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86061
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=86010,
| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=80576
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
See also bug 80576 for a similar dead store elimination opportunity.
>From gcc-bugs-return-606544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 21:27:32 2018
Return-Path: <gcc-bugs-return-606544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117839 invoked by alias); 5 Jun 2018 21:27:31 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 113370 invoked by uid 48); 5 Jun 2018 21:27:27 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86061] dead memset followed by strncpy and assignment not eliminated
Date: Tue, 05 Jun 2018 21:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-86061-4-Tz8tWdbiTS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86061-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86061-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00339.txt.bz2
Content-length: 505
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86061
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|missed-optimization |
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think this memset is only partial dead and not fully dead.
What I mean is the string p->n is smaller than 254, then the memset is still
not dead.
>From gcc-bugs-return-606545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 21:27:46 2018
Return-Path: <gcc-bugs-return-606545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128061 invoked by alias); 5 Jun 2018 21:27:46 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 125505 invoked by uid 48); 5 Jun 2018 21:27:42 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86061] dead memset followed by strncpy and assignment not eliminated
Date: Tue, 05 Jun 2018 21:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_severity
Message-ID: <bug-86061-4-axg6fredBm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86061-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86061-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00340.txt.bz2
Content-length: 369
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86061
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Severity|normal |enhancement
>From gcc-bugs-return-606546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 21:44:15 2018
Return-Path: <gcc-bugs-return-606546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16751 invoked by alias); 5 Jun 2018 21:44:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 16655 invoked by uid 48); 5 Jun 2018 21:44:10 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81384] built-in form of strnlen missing
Date: Tue, 05 Jun 2018 21:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: missed-optimization, patch
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-81384-4-ycsxsxRVpY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81384-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81384-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00341.txt.bz2
Content-length: 422
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81384
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Patch: https://gcc.gnu.org/ml/gcc-patches/2018-06/msg00267.html
>From gcc-bugs-return-606547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 22:20:50 2018
Return-Path: <gcc-bugs-return-606547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25096 invoked by alias); 5 Jun 2018 22:20:49 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 22362 invoked by uid 55); 5 Jun 2018 22:20:45 -0000
From: "sje at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/79924] aarch64: untranslated diagnostics in aarch64_err_no_fpadvsimd
Date: Tue, 05 Jun 2018 22:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sje at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-79924-4-ht9cj2Pnlh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79924-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79924-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00342.txt.bz2
Content-length: 966
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79924
--- Comment #1 from Steve Ellcey <sje at gcc dot gnu.org> ---
Author: sje
Date: Tue Jun 5 22:20:13 2018
New Revision: 261217
URL: https://gcc.gnu.org/viewcvs?rev=261217&root=gcc&view=rev
Log:
2018-06-05 Steve Ellcey <sellcey@cavium.com>
PR target/79924
* config/aarch64/aarch64-protos.h (aarch64_err_no_fpadvsimd): Remove
second argument.
* config/aarch64/aarch64-protos..c (aarch64_err_no_fpadvsimd):
Remove second argument, change how error is called.
(aarch64_layout_arg): Remove second argument from
aarch64_err_no_fpadvsimd call.
(aarch64_init_cumulative_args): Ditto.
(aarch64_gimplify_va_arg_expr): Ditto.
* config/aarch64/aarch64.md (mov<mode>): Ditto.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/aarch64/aarch64-protos.h
trunk/gcc/config/aarch64/aarch64.c
trunk/gcc/config/aarch64/aarch64.md
>From gcc-bugs-return-606548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 22:22:24 2018
Return-Path: <gcc-bugs-return-606548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54863 invoked by alias); 5 Jun 2018 22:22:24 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 54086 invoked by uid 55); 5 Jun 2018 22:22:16 -0000
From: "sje at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/79924] aarch64: untranslated diagnostics in aarch64_err_no_fpadvsimd
Date: Tue, 05 Jun 2018 22:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sje at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-79924-4-ME1Sz4bmUj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79924-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79924-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00343.txt.bz2
Content-length: 832
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79924
--- Comment #2 from Steve Ellcey <sje at gcc dot gnu.org> ---
Author: sje
Date: Tue Jun 5 22:21:36 2018
New Revision: 261218
URL: https://gcc.gnu.org/viewcvs?rev=261218&root=gcc&view=rev
Log:
2018-06-05 Steve Ellcey <sellcey@cavium.com>
PR target/79924
* gcc.target/aarch64/mgeneral-regs_1.c: Update error message.
* gcc.target/aarch64/mgeneral-regs_2.c: Ditto.
* gcc.target/aarch64/mgeneral-regs_3.c: Ditto.
* gcc.target/aarch64/nofp_1.c: Ditto.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/aarch64/mgeneral-regs_1.c
trunk/gcc/testsuite/gcc.target/aarch64/mgeneral-regs_2.c
trunk/gcc/testsuite/gcc.target/aarch64/mgeneral-regs_3.c
trunk/gcc/testsuite/gcc.target/aarch64/nofp_1.c
>From gcc-bugs-return-606549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 22:37:52 2018
Return-Path: <gcc-bugs-return-606549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44139 invoked by alias); 5 Jun 2018 22:37:52 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 43948 invoked by uid 48); 5 Jun 2018 22:37:47 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/86057] Use of mempcpy in libgcc/ libgcov-driver-system.c breaks bootstrap
Date: Tue, 05 Jun 2018 22:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86057-4-JLZDWwDSS5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86057-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86057-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00344.txt.bz2
Content-length: 152
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86057
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed on darwin too.
>From gcc-bugs-return-606550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 22:39:11 2018
Return-Path: <gcc-bugs-return-606550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46513 invoked by alias); 5 Jun 2018 22:39:11 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 46364 invoked by uid 48); 5 Jun 2018 22:39:07 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/66146] call_once not C++11-compliant on ppc64le
Date: Tue, 05 Jun 2018 22:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 5.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-66146-4-HzlBpC30Qa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66146-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66146-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00345.txt.bz2
Content-length: 606
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66146
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |9.0
--- Comment #22 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It still needs to be fixed, and hoping for a libc fix isn't going to work
because even if we get a solution in glibc it won't work for other C libraries.
So we need to reimplement our std::call_once. I'll make sure we get this done
for GCC 9.
>From gcc-bugs-return-606551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 23:24:37 2018
Return-Path: <gcc-bugs-return-606551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40240 invoked by alias); 5 Jun 2018 23:24:37 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 40100 invoked by uid 48); 5 Jun 2018 23:24:29 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86062] New: Missed redundancy elimination with struct and array
Date: Tue, 05 Jun 2018 23:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: glisse at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86062-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00346.txt.bz2
Content-length: 1840
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86062
Bug ID: 86062
Summary: Missed redundancy elimination with struct and array
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: glisse at gcc dot gnu.org
Target Milestone: ---
#include <array>
struct I { double i,s; I(double d):i(d),s(d){} };
typedef std::array<double,3> P;
typedef std::array<I,3> AP;
static AP c(P const&p){
return {p[0],p[1],p[2]};
}
template<class T> auto const& ac(T const&p, int n){return p[n];}
static double g(P const&p, int n)
{
I res = ac(c(p),n);
return res.s-res.i;
}
__attribute__((flatten)) double fff(P p){ return g(p,1); }
compiles at -O2 to the following
double res$8;
struct AP D.30336;
struct I res;
double _2;
double _3;
<bb 2> [local count: 1073741825]:
_2 = MEM[(const value_type &)&p + 8];
MEM[(const struct I &)&D.30336 + 16] = _2;
MEM[(const struct I &)&D.30336 + 24] = _2;
res = MEM[(const struct I &)&D.30336][1];
res$8_13 = MEM[(struct I *)&res + 8B];
D.30336 ={v} {CLOBBER};
_3 = res$8_13 - _2;
return _3;
Or with -O3
double res$8;
struct AP D.30336;
struct I res;
double _2;
double _3;
vector(2) double _9;
<bb 2> [local count: 1073741825]:
_2 = MEM[(const value_type &)&p + 8];
_9 = {_2, _2};
MEM[(const struct I &)&D.30336 + 16] = _9;
res = MEM[(const struct I &)&D.30336][1];
res$8_13 = MEM[(struct I *)&res + 8B];
D.30336 ={v} {CLOBBER};
_3 = res$8_13 - _2;
return _3;
While we should be able to notice that res$8_13 and 2 are the same (and thus
simplify to 0 with -ffast-math).
>From gcc-bugs-return-606552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 23:40:06 2018
Return-Path: <gcc-bugs-return-606552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123890 invoked by alias); 5 Jun 2018 23:40:06 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 123774 invoked by uid 48); 5 Jun 2018 23:40:01 -0000
From: "helloqirun at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86063] New: g++ ICE at tree check: expected tree_list, have expr_pack_expansion in cp_check_const_attributes, at cp/decl2.c:1391
Date: Tue, 05 Jun 2018 23:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: helloqirun at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86063-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00347.txt.bz2
Content-length: 3324
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86063
Bug ID: 86063
Summary: g++ ICE at tree check: expected tree_list, have
expr_pack_expansion in cp_check_const_attributes, at
cp/decl2.c:1391
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: helloqirun at gmail dot com
Target Milestone: ---
It appears to be a recent regression.
g++-7.3 compiles.
$ g++-trunk -v
Using built-in specs.
COLLECT_GCC=g++-trunk
COLLECT_LTO_WRAPPER=/home/absozero/trunk/root-gcc/libexec/gcc/x86_64-pc-linux-gnu/9.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/home/absozero/trunk/root-gcc
--enable-languages=c,c++ --disable-werror --enable-multilib
Thread model: posix
gcc version 9.0.0 20180604 (experimental) [trunk revision 261145] (GCC)
$ g++-trunk abc.cpp
abc.cpp:1:64: internal compiler error: tree check: expected tree_list, have
expr_pack_expansion in cp_check_const_attributes, at cp/decl2.c:1391
template <class... T> struct A2 { [[gnuA(alignof(T))...]] char t; };
^
0x798b88 tree_check_failed(tree_node const*, char const*, int, char const*,
...)
../../gcc/gcc/tree.c:9338
0x6127bf tree_check(tree_node*, char const*, int, char const*, tree_code)
../../gcc/gcc/tree.h:3135
0x6127bf cp_check_const_attributes
../../gcc/gcc/cp/decl2.c:1391
0x6127bf cplus_decl_attributes(tree_node**, tree_node*, int)
../../gcc/gcc/cp/decl2.c:1509
0x8bcbed grokfield(cp_declarator const*, cp_decl_specifier_seq*, tree_node*,
bool, tree_node*, tree_node*)
../../gcc/gcc/cp/decl2.c:967
0x9327cd cp_parser_member_declaration
../../gcc/gcc/cp/parser.c:24017
0x933828 cp_parser_member_specification_opt
../../gcc/gcc/cp/parser.c:23496
0x933828 cp_parser_class_specifier_1
../../gcc/gcc/cp/parser.c:22640
0x935649 cp_parser_class_specifier
../../gcc/gcc/cp/parser.c:22902
0x935649 cp_parser_type_specifier
../../gcc/gcc/cp/parser.c:16883
0x94282c cp_parser_decl_specifier_seq
../../gcc/gcc/cp/parser.c:13721
0x946f45 cp_parser_single_declaration
../../gcc/gcc/cp/parser.c:27319
0x9472cc cp_parser_template_declaration_after_parameters
../../gcc/gcc/cp/parser.c:27011
0x947b6e cp_parser_explicit_template_declaration
../../gcc/gcc/cp/parser.c:27248
0x947b6e cp_parser_template_declaration_after_export
../../gcc/gcc/cp/parser.c:27267
0x94d0d9 cp_parser_declaration
../../gcc/gcc/cp/parser.c:12825
0x94d3ad cp_parser_declaration_seq_opt
../../gcc/gcc/cp/parser.c:12752
0x94d6a4 cp_parser_translation_unit
../../gcc/gcc/cp/parser.c:4574
0x94d6a4 c_parse_file()
../../gcc/gcc/cp/parser.c:39132
0xa4a7c6 c_common_parse_file()
../../gcc/gcc/c-family/c-opts.c:1133
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
$ cat abc.cpp
template <class... T> struct A2 { [[gnuA(alignof(T))...]] char t; };
>From gcc-bugs-return-606553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 23:55:40 2018
Return-Path: <gcc-bugs-return-606553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26316 invoked by alias); 5 Jun 2018 23:55:39 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 26157 invoked by uid 48); 5 Jun 2018 23:55:35 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86042] [8/9 Regression] missing strlen optimization after second strcpy
Date: Tue, 05 Jun 2018 23:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86042-4-Pze9Om3wzr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86042-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86042-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00348.txt.bz2
Content-length: 972
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86042
--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
The strcpy() calls are first transformed into
MEM[(char * {ref-all})&a] = MEM[(char * {ref-all})"12"];
In GCC 7, the above is then transformed into
MEM[(char * {ref-all})&a] = "12";
(I'm not sure what the difference is). In GCC 7, the second instance of the
above is then removed in fre1.
In GCC 8, the second instance makes it all the way to the strlen pass where
handle_char_store() isn't prepared to deal with it if a length record exists
for the destination. I think the strlen() limitation can be handled by the
same solution as bug 86043: i.e., have handle_char_store() handle cases where
substrings of any length is overwritten without changing their length, not just
those of length one by plain character assignment.
I don't know why the duplicate MEM assignment above isn't eliminated earlier
(that may be a separate bug).
>From gcc-bugs-return-606554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 05 23:56:25 2018
Return-Path: <gcc-bugs-return-606554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28262 invoked by alias); 5 Jun 2018 23:56:25 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 28131 invoked by uid 48); 5 Jun 2018 23:56:20 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86042] [8/9 Regression] missing strlen optimization after second strcpy
Date: Tue, 05 Jun 2018 23:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-86042-4-O1mfLRCmsF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86042-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86042-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00349.txt.bz2
Content-length: 379
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86042
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org
>From gcc-bugs-return-606555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 00:19:04 2018
Return-Path: <gcc-bugs-return-606555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83229 invoked by alias); 6 Jun 2018 00:19:03 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 82207 invoked by uid 48); 6 Jun 2018 00:18:57 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86063] [6/7/8/9 Regression] g++ ICE at tree check: expected tree_list, have expr_pack_expansion in cp_check_const_attributes, at cp/decl2.c:1391
Date: Wed, 06 Jun 2018 00:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc short_desc everconfirmed
Message-ID: <bug-86063-4-Qn1rrQldFZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86063-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86063-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00350.txt.bz2
Content-length: 1005
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86063
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-06
CC| |mpolacek at gcc dot gnu.org
Summary|g++ ICE at tree check: |[6/7/8/9 Regression] g++
|expected tree_list, have |ICE at tree check:
|expr_pack_expansion in |expected tree_list, have
|cp_check_const_attributes, |expr_pack_expansion in
|at cp/decl2.c:1391 |cp_check_const_attributes,
| |at cp/decl2.c:1391
Ever confirmed|0 |1
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r222902.
>From gcc-bugs-return-606556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 00:31:31 2018
Return-Path: <gcc-bugs-return-606556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111761 invoked by alias); 6 Jun 2018 00:31:31 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 111645 invoked by uid 48); 6 Jun 2018 00:31:27 -0000
From: "alex_y_xu at yahoo dot ca" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86064] New: [8 Regression] compiling Linux kernel: Error: can't resolve `.text.unlikely' {.text.unlikely section} - `.LVL43x' {.text section}
Date: Wed, 06 Jun 2018 00:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: alex_y_xu at yahoo dot ca
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86064-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00351.txt.bz2
Content-length: 1772
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86064
Bug ID: 86064
Summary: [8 Regression] compiling Linux kernel: Error: can't
resolve `.text.unlikely' {.text.unlikely section} -
`.LVL43x' {.text section}
Product: gcc
Version: 8.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: alex_y_xu at yahoo dot ca
Target Milestone: ---
description:
compiling Linux kernel fails with gcc 8.1. I think gcc 7.3.1-20180406 works.
steps to reproduce:
gcc -fno-var-tracking-assignments -gsplit-dwarf -O2 -c -o /dev/null -c common.i
flags trimmed from full compile line. file preprocessed from
linux-4.17/arch/x86/kernel/cpu/common.c.
expected result:
objcopy: Warning: '/dev/null' is not an ordinary file
actual result:
Assembler messages:
Error: can't resolve `.text.unlikely' {.text.unlikely section} - `.LVL436'
{.text section}
Error: can't resolve `.text.unlikely' {.text.unlikely section} - `.LVL437'
{.text section}
additional information:
-O1 compiles with no errors. -O0 produces the following (trimmed):
./arch/x86/include/asm/cpufeature.h: In function âsyscall_initâ:
./arch/x86/include/asm/cpufeature.h:164:7: warning: asm operand 0 probably
doesnât match constraints
asm_volatile_goto("1: jmp 6f\n"
^~~
./arch/x86/include/asm/cpufeature.h:164:7: warning: asm operand 2 probably
doesnât match constraints
./arch/x86/include/asm/cpufeature.h:164:7: error: impossible constraint in
âasmâ
you can find the contents of cpufeature.h in the Linux source code.
.config available on request.
>From gcc-bugs-return-606557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 01:41:32 2018
Return-Path: <gcc-bugs-return-606557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26423 invoked by alias); 6 Jun 2018 01:41:32 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 20591 invoked by uid 48); 6 Jun 2018 01:41:27 -0000
From: "charlie at sallyandcharlie dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86065] New: gfortran NAMELIST improperly reads arrays that span more than one line.
Date: Wed, 06 Jun 2018 01:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 5.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: charlie at sallyandcharlie dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86065-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00352.txt.bz2
Content-length: 1559
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86065
Bug ID: 86065
Summary: gfortran NAMELIST improperly reads arrays that span
more than one line.
Product: gcc
Version: 5.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: charlie at sallyandcharlie dot com
Target Milestone: ---
gfortran NAMELIST improperly reads arrays that span more than one line.
It skips an array position for lines ending with ",\n"
--------- Example Input File ---------
$MY_INP
i = 1,2,3,4,
5,6,7,8,
9,10,11,12,
$END
---------- Example Output from Code Below ----------
Output:
1 2 3 4 0 5 6 7 8 0 9 10 11 12 0 0 0 0 0 0
^ ^
Skips an array entry with each new line
-------------- Example Code ---------------
compiled with:
gfortran read_arr.f -finit-local-zero -o read_arr.exe
-----------------File: read_arr.f--------------------------
program NL_ERR
dimension i(20)
namelist /MY_INP/i
open(5,file='a.inp', status='OLD')
read(5, MY_INP, end=9)
9 write(*, '(10I2, 10I3)')(i(j), j=1,20)
stop
end
-------------- Working Input File ----------------
If the trailing commas are removed, it works properly
---------------------------------------------------
$MY_INP
i = 1,2,3,4
5,6,7,8
9,10,11,12,
$END
Output:
1 2 3 4 5 6 7 8 910 11 12 0 0 0 0 0 0 0 0
>From gcc-bugs-return-606558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 02:25:34 2018
Return-Path: <gcc-bugs-return-606558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49405 invoked by alias); 6 Jun 2018 02:25:34 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 43599 invoked by uid 48); 6 Jun 2018 02:25:30 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86065] gfortran NAMELIST improperly reads arrays that span more than one line.
Date: Wed, 06 Jun 2018 02:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 5.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-86065-4-vhsQ6MLD2E@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86065-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86065-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00353.txt.bz2
Content-length: 772
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86065
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2018-06-06
CC| |kargl at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from kargl at gcc dot gnu.org ---
It appears that you need to update to a newer version of gfortran.
The code gives the expected with 6.4.1, 7.3.1, 8.1.1, and 9.0.0.
The 5-branch is closed to changes, so it will not be fixed in
that branch.
>From gcc-bugs-return-606559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 03:41:33 2018
Return-Path: <gcc-bugs-return-606559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47405 invoked by alias); 6 Jun 2018 03:41:33 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 47294 invoked by uid 55); 6 Jun 2018 03:41:29 -0000
From: "charlie at sallyandcharlie dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86065] gfortran NAMELIST improperly reads arrays that span more than one line.
Date: Wed, 06 Jun 2018 03:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 5.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: charlie at sallyandcharlie dot com
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86065-4-oObJ8OAZwr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86065-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86065-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00354.txt.bz2
Content-length: 1171
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86065
--- Comment #2 from Charlie <charlie at sallyandcharlie dot com> ---
Thank You
-----Original Message-----
From: kargl at gcc dot gnu.org [mailto:gcc-bugzilla@gcc.gnu.org]
Sent: Tuesday, June 5, 2018 7:26 PM
To: charlie@sallyandcharlie.com
Subject: [Bug fortran/86065] gfortran NAMELIST improperly reads arrays that
span more than one line.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86065
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2018-06-06
CC| |kargl at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from kargl at gcc dot gnu.org ---
It appears that you need to update to a newer version of gfortran.
The code gives the expected with 6.4.1, 7.3.1, 8.1.1, and 9.0.0.
The 5-branch is closed to changes, so it will not be fixed in
that branch.
>From gcc-bugs-return-606560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 03:54:31 2018
Return-Path: <gcc-bugs-return-606560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117812 invoked by alias); 6 Jun 2018 03:54:31 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 113132 invoked by uid 48); 6 Jun 2018 03:54:26 -0000
From: "joshua.r.marshall.1991 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86015] Better handling of iterator distances
Date: Wed, 06 Jun 2018 03:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: joshua.r.marshall.1991 at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86015-4-X3RQGgE6hW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00355.txt.bz2
Content-length: 869
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86015
--- Comment #8 from Josh Marshall <joshua.r.marshall.1991 at gmail dot com> ---
If this code is to work, given that this is the only way to track in detail use
of various stdlib internals, one of two things need to change. Either all
assignments to _Distance need to be explicitly wrapped and the constructor from
a scalar make explicit with implicit conversion to an int, or implicit
conversion from int without conversion to int and all uses of _Distance do not
explicitly require a scalar but a set of operators which can be applied to a
scalar be implemented by _Distance.
I can quickly submit a patch for the first one, but I'm not sure it is the
right approach. I'm going to ask this in the C++ standards forum tomorrow and
maybe they'll have insight about changing the nature of std::ptrdiff_t.
>From gcc-bugs-return-606561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 05:35:44 2018
Return-Path: <gcc-bugs-return-606561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47901 invoked by alias); 6 Jun 2018 05:35:44 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 47800 invoked by uid 48); 6 Jun 2018 05:35:39 -0000
From: "su at cs dot ucdavis.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86066] New: wrong code at -Os and above on x86-64-linux-gnu
Date: Wed, 06 Jun 2018 05:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: su at cs dot ucdavis.edu
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86066-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00356.txt.bz2
Content-length: 1214
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86066
Bug ID: 86066
Summary: wrong code at -Os and above on x86-64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: su at cs dot ucdavis.edu
Target Milestone: ---
This appears to be a recent regression.
$ gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
COLLECT_LTO_WRAPPER=/home/su/software/tmp/gcc/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/9.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto
--prefix=/home/su/software/tmp/gcc/gcc-trunk --disable-bootstrap
Thread model: posix
gcc version 9.0.0 20180606 (experimental) [trunk revision 261226] (GCC)
$
$ gcctk -O1 small.c; ./a.out
$
$ gcctk -Os small.c
$ timeout -s 9 5 ./a.out
Killed
$
--------------------------------
struct A
{
int b:2;
int c:2;
unsigned d:8;
};
int main ()
{
struct A t = { 0, 0, 2 };
L:
t.d = ~(~(~0 % t.d) % 2);
if (!t.d)
goto L;
return 0;
}
>From gcc-bugs-return-606562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 06:05:46 2018
Return-Path: <gcc-bugs-return-606562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33572 invoked by alias); 6 Jun 2018 06:05:46 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 33419 invoked by uid 55); 6 Jun 2018 06:05:40 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86008] std::quoted(std::basic_string_view) is missing
Date: Wed, 06 Jun 2018 06:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86008-4-8iHDYME4gK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86008-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86008-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00357.txt.bz2
Content-length: 1640
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86008
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Jun 6 06:05:07 2018
New Revision: 261227
URL: https://gcc.gnu.org/viewcvs?rev=261227&root=gcc&view=rev
Log:
PR libstdc++/86008 add std::quoted support for string_view
PR libstdc++/86008
* include/bits/quoted_string.h (_Quoted_string<basic_string_view, C>):
Define new partial specialization.
* include/std/iomanip (quoted(basic_string_view<C,T>, C, C)): Define
new overload.
(operator<<(basic_ostream<C,T>&, const _Quoted_string<S,C>&)): Use
value not reference for iteration.
* testsuite/27_io/manipulators/standard/char/quoted.cc: Adjust
comment.
* testsuite/27_io/manipulators/standard/char/quoted_sv.cc: New test.
* testsuite/27_io/manipulators/standard/wchar_t/quoted.cc: Adjust
comment.
Added:
trunk/libstdc++-v3/testsuite/27_io/manipulators/standard/char/quoted_sv.cc
- copied, changed from r261226,
trunk/libstdc++-v3/testsuite/27_io/manipulators/standard/char/quoted.cc
trunk/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/quoted_sv.cc
- copied, changed from r261226,
trunk/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/quoted.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/quoted_string.h
trunk/libstdc++-v3/include/std/iomanip
trunk/libstdc++-v3/testsuite/27_io/manipulators/standard/char/quoted.cc
trunk/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/quoted.cc
>From gcc-bugs-return-606563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 07:02:10 2018
Return-Path: <gcc-bugs-return-606563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112587 invoked by alias); 6 Jun 2018 07:02:09 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 112444 invoked by uid 48); 6 Jun 2018 07:02:03 -0000
From: "paul.hua.gm at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86067] New: [MIPS] ICE: scal-to-vec1.c:86:1: error: unrecognizable insn with -march=loongson3a
Date: Wed, 06 Jun 2018 07:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paul.hua.gm at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-86067-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00358.txt.bz2
Content-length: 2394
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86067
Bug ID: 86067
Summary: [MIPS] ICE: scal-to-vec1.c:86:1: error: unrecognizable
insn with -march=loongson3a
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: paul.hua.gm at gmail dot com
Target Milestone: ---
Created attachment 44239
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44239&action=edit
preprocessed .i file
/home/xuchenghua/GCC/gcc_git_trunk/gcc/testsuite/gcc.c-torture/execute/scal-to-vec1.c:
In function âmainâ:
/home/xuchenghua/GCC/gcc_git_trunk/gcc/testsuite/gcc.c-torture/execute/scal-to-vec1.c:86:1:
error: unrecognizable insn:
(insn 69 68 70 2 (set (reg:V4HI 541)
(unspec:V4HI [
(reg:SI 543)
(subreg/s/u:HI (reg:DI 195 [ _2 ]) 0)
(const_int 0 [0])
] UNSPEC_LOONGSON_PINSRH))
"/home/xuchenghua/GCC/gcc_git_trunk/gcc/testsuite/gcc.c-torture/execute/scal-to-vec1.c":45
-1
(nil))
during RTL pass: vregs
/home/xuchenghua/GCC/gcc_git_trunk/gcc/testsuite/gcc.c-torture/execute/scal-to-vec1.c:86:1:
internal compiler error: in extract_insn, at recog.c:2304
0x12012a6c7 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
../../../gcc_git_trunk/gcc/rtl-error.c:108
0x12012a707 _fatal_insn_not_found(rtx_def const*, char const*, int, char
const*)
../../../gcc_git_trunk/gcc/rtl-error.c:116
0x12078f54f extract_insn(rtx_insn*)
../../../gcc_git_trunk/gcc/recog.c:2304
0x1204b9787 instantiate_virtual_regs_in_insn
../../../gcc_git_trunk/gcc/function.c:1600
0x1204b9787 instantiate_virtual_regs
../../../gcc_git_trunk/gcc/function.c:1970
0x1204b9787 execute
../../../gcc_git_trunk/gcc/function.c:2019
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
cmd:
cc1 -fpreprocessed scal-to-vec1.i -mel -quiet -dumpbase scal-to-vec1.c
-march=loongson3a -mabi=64 -mllsc -mips64r2 -mno-shared -auxbase scal-to-vec1
-O1 -w -version -fdiagnostics-color=never -fno-diagnostics-show-caret -o
scal-to-vec1.s
>From gcc-bugs-return-606564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 07:08:01 2018
Return-Path: <gcc-bugs-return-606564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16624 invoked by alias); 6 Jun 2018 07:08:01 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 16456 invoked by uid 48); 6 Jun 2018 07:07:56 -0000
From: "olivier at wuillemin dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86053] Builtin fwrite arguments have non_null attribute and builtin function declaration not overloaded
Date: Wed, 06 Jun 2018 07:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 6.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: olivier at wuillemin dot fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86053-4-mGor7UAPBw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86053-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86053-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00359.txt.bz2
Content-length: 1328
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86053
--- Comment #2 from olivier at wuillemin dot fr ---
Resolved ? I find your answer a little bit short.
Concerning the nonnull attribute, in glibc manual i didn't find any requirement
concerning pointer arguments neither in glibc doc :
size_t fwrite(const void *data, size_t size, size_t count, FILE *stream)
Preliminary: | MT-Safe | AS-Unsafe corrupt | AC-Unsafe lock corrupt | See
Section 1.2.2.1 [POSIX Safety Concepts], page 2.
This function writes up to count objects of size size from the array
data, to the stream stream. The return value is normally count, if the call
succeeds. Any other value indicates some sort of error, such as running out of
space.
Neither in glibc's stdio.h source :
/* Write chunks of generic data to STREAM.
This function is a possible cancellation point and therefore not
marked with __THROW. */
extern size_t fwrite (const void *__restrict __ptr, size_t __size,
size_t __n, FILE *__restrict __s);
For information VS studio indicates that function generate a runtime parameter
error in case of null pointer.
And if non null pointers are mandatorty for fwrite why they are not mandatory
for fread ?
Also, this doesn't explain why local declaration of a function is overloaded
with built-in declaration.
>From gcc-bugs-return-606565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 07:58:26 2018
Return-Path: <gcc-bugs-return-606565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129389 invoked by alias); 6 Jun 2018 07:58:25 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 129186 invoked by uid 48); 6 Jun 2018 07:58:20 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85710] [8/9 Regression] Enabling memset-elt-size warning causes ICE on memset of template member array
Date: Wed, 06 Jun 2018 07:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.1
X-Bugzilla-Keywords: ice-on-valid-code, needs-bisection
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-85710-4-EksqO6Xojc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85710-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85710-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00360.txt.bz2
Content-length: 452
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85710
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |jason at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
>From gcc-bugs-return-606566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 09:05:33 2018
Return-Path: <gcc-bugs-return-606566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37682 invoked by alias); 6 Jun 2018 09:05:33 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 36424 invoked by uid 48); 6 Jun 2018 09:05:28 -0000
From: "rv at rasmusvillemoes dot dk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86068] New: __cpp_transactional_memory is 210500
Date: Wed, 06 Jun 2018 09:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: trans-mem
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rv at rasmusvillemoes dot dk
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86068-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00361.txt.bz2
Content-length: 823
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86068
Bug ID: 86068
Summary: __cpp_transactional_memory is 210500
Product: gcc
Version: trans-mem
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rv at rasmusvillemoes dot dk
Target Milestone: ---
The comment above the definition of __cpp_transactional_memory suggests that
201500 was meant to be used. Currently, gcc advertises support for whatever
transactional_memory features get standardized the next 86 years...
It probably can't be corrected to 201500 if there's existing code that does the
__cpp_transactional_memory >= 201505 check, but OTOH setting it to 201505 isn't
ideal either.
>From gcc-bugs-return-606567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 09:06:13 2018
Return-Path: <gcc-bugs-return-606567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46516 invoked by alias); 6 Jun 2018 09:06:13 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 46269 invoked by uid 48); 6 Jun 2018 09:06:04 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/86057] Use of mempcpy in libgcc/ libgcov-driver-system.c breaks bootstrap
Date: Wed, 06 Jun 2018 09:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-86057-4-tV7C7hZz9T@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86057-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86057-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00362.txt.bz2
Content-length: 638
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86057
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |marxin at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org
--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
Sorry for the breakage, patch candidate sent here:
https://gcc.gnu.org/ml/gcc-patches/2018-06/msg00285.html
>From gcc-bugs-return-606568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 09:29:52 2018
Return-Path: <gcc-bugs-return-606568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90485 invoked by alias); 6 Jun 2018 09:29:51 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 68249 invoked by uid 55); 6 Jun 2018 09:29:40 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86042] [8/9 Regression] missing strlen optimization after second strcpy
Date: Wed, 06 Jun 2018 09:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenther at suse dot de
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86042-4-lpH9abMx4N@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86042-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86042-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00363.txt.bz2
Content-length: 2347
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86042
--- Comment #4 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 5 Jun 2018, msebor at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86042
>
> --- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
> The strcpy() calls are first transformed into
>
> MEM[(char * {ref-all})&a] = MEM[(char * {ref-all})"12"];
>
> In GCC 7, the above is then transformed into
>
> MEM[(char * {ref-all})&a] = "12";
>
> (I'm not sure what the difference is).
"12" is considered a constant while MEM[(char * {ref-all})"12"]
is considered a read from the constant pool.
It's not simplified to that because GCC 8 uses 'unsigned char[]'
as access type while GCC 7 used char[] and those are not compatible.
I suspect if we change
/* We get an aggregate copy. Use an unsigned char[] type to
perform the copying to preserve padding and to avoid any issues
with TREE_ADDRESSABLE types or float modes behavior on copying.
*/
desttype = build_array_type_nelts (unsigned_char_type_node,
tree_to_uhwi (len));
in gimple_fold_builtin_memory_op to use char_type_node then we'll
get back GCC 7 behavior for this case. (I chose unsigned char type
to not change IL based on -f[un]signed-char)
I suspect that with -funsigned-char the testcase already works with GCC8?
" In GCC 7, the second instance of the
> above is then removed in fre1.
By means of redundant store removal which ATM only handles stores from
constants and registers but not aggregate copies.
> In GCC 8, the second instance makes it all the way to the strlen pass where
> handle_char_store() isn't prepared to deal with it if a length record exists
> for the destination. I think the strlen() limitation can be handled by the
> same solution as bug 86043: i.e., have handle_char_store() handle cases where
> substrings of any length is overwritten without changing their length, not just
> those of length one by plain character assignment.
Yes, that's a good enhancement independent of this bug.
> I don't know why the duplicate MEM assignment above isn't eliminated earlier
> (that may be a separate bug).
See above - redundant store removal doesn't handle aggregate copies.
>From gcc-bugs-return-606569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 09:32:23 2018
Return-Path: <gcc-bugs-return-606569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77661 invoked by alias); 6 Jun 2018 09:32:23 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 77517 invoked by uid 48); 6 Jun 2018 09:32:09 -0000
From: "subscribe at teskor dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86027] string literals get corrupted with -O3 and gas on solaris i386
Date: Wed, 06 Jun 2018 09:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: subscribe at teskor dot de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86027-4-QIPiNL4S0W@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86027-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86027-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00364.txt.bz2
Content-length: 679
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86027
--- Comment #4 from Michael Teske <subscribe at teskor dot de> ---
I found the fix for my problem:
+ 2018-02-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ Backport from mainline
+ 2018-01-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR bootstrap/84017
+ * configure.ac (gcc_cv_as_shf_merge): Disable on Solaris 10/x86.
+ * configure: Regenerate.
This fixes a different problem which I didn't have with 7.3.0 (bootstrap worked
fine), but I just confirmed, that disabling gcc_cv_as_shf_merge did the trick.
A broken ld explains my problem.
From my side this bug can be closed.
>From gcc-bugs-return-606570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 09:32:43 2018
Return-Path: <gcc-bugs-return-606570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78600 invoked by alias); 6 Jun 2018 09:32:43 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 78449 invoked by uid 48); 6 Jun 2018 09:32:39 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86063] [6/7/8/9 Regression] g++ ICE at tree check: expected tree_list, have expr_pack_expansion in cp_check_const_attributes, at cp/decl2.c:1391
Date: Wed, 06 Jun 2018 09:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority version target_milestone
Message-ID: <bug-86063-4-StUYMxeHgG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86063-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86063-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00365.txt.bz2
Content-length: 400
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86063
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
Version|unknown |7.3.0
Target Milestone|--- |6.5
>From gcc-bugs-return-606571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 09:42:04 2018
Return-Path: <gcc-bugs-return-606571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123641 invoked by alias); 6 Jun 2018 09:42:04 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 123487 invoked by uid 48); 6 Jun 2018 09:42:00 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85634] [8/9 Regression] ICE in tsubst_copy, at cp/pt.c:15483
Date: Wed, 06 Jun 2018 09:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-85634-4-vuKGFGK844@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85634-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85634-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00366.txt.bz2
Content-length: 379
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85634
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org
>From gcc-bugs-return-606572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 09:53:52 2018
Return-Path: <gcc-bugs-return-606572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56638 invoked by alias); 6 Jun 2018 09:53:52 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 56489 invoked by uid 48); 6 Jun 2018 09:53:44 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86062] Missed redundancy elimination with struct and array
Date: Wed, 06 Jun 2018 09:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-86062-4-kViwTzhkSF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86062-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86062-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00367.txt.bz2
Content-length: 2584
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86062
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-06
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. The issue is that when trying to translate MEM[(struct I *)&res +
8B]
through the aggregate copy res = MEM[(const struct I &)&D.25143][1]; we run
into
/* Now re-write REF to be based on the rhs of the assignment. */
copy_reference_ops_from_ref (gimple_assign_rhs1 (def_stmt), &rhs);
/* Apply an extra offset to the inner MEM_REF of the RHS. */
if (maybe_ne (extra_off, 0))
{
if (rhs.length () < 2
|| rhs[0].opcode != MEM_REF
|| known_eq (rhs[0].off, -1))
return (void *)-1;
where the rhs ref is an ARRAY_REF of a MEM_REF. This is a TBAA issue
IIRC (at least when the translated ref would end up in PRE insertion
somehow - PRE doesn't run into this code though).
The following untested fixes it but as said I'm not 100% sure it's safe.
diff --git a/gcc/tree-ssa-sccvn.c b/gcc/tree-ssa-sccvn.c
index 4e946ba7baf..4aec41e96c1 100644
--- a/gcc/tree-ssa-sccvn.c
+++ b/gcc/tree-ssa-sccvn.c
@@ -2270,14 +2270,16 @@ vn_reference_lookup_3 (ao_ref *ref, tree vuse, void
*vr_,
/* Apply an extra offset to the inner MEM_REF of the RHS. */
if (maybe_ne (extra_off, 0))
{
- if (rhs.length () < 2
- || rhs[0].opcode != MEM_REF
- || known_eq (rhs[0].off, -1))
+ if (rhs.length () < 2)
return (void *)-1;
- rhs[0].off += extra_off;
- rhs[0].op0 = int_const_binop (PLUS_EXPR, rhs[0].op0,
- build_int_cst (TREE_TYPE (rhs[0].op0),
- extra_off));
+ int ix = rhs.length () - 2;
+ if (rhs[ix].opcode != MEM_REF
+ || known_eq (rhs[ix].off, -1))
+ return (void *)-1;
+ rhs[ix].off += extra_off;
+ rhs[ix].op0 = int_const_binop (PLUS_EXPR, rhs[ix].op0,
+ build_int_cst (TREE_TYPE
(rhs[ix].op0),
+ extra_off));
}
/* We need to pre-pend vr->operands[0..i] to rhs. */
>From gcc-bugs-return-606573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 09:54:37 2018
Return-Path: <gcc-bugs-return-606573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70943 invoked by alias); 6 Jun 2018 09:54:36 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 70842 invoked by uid 48); 6 Jun 2018 09:54:32 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86060] [6/7/8/9 Regression] g++ ICE at on with "c++03" in tsubst_copy, at cp/pt.c:15459
Date: Wed, 06 Jun 2018 09:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords priority version target_milestone
Message-ID: <bug-86060-4-Fse99WHpAP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86060-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86060-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00368.txt.bz2
Content-length: 467
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86060
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Priority|P3 |P2
Version|unknown |7.3.0
Target Milestone|--- |6.5
>From gcc-bugs-return-606574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 09:58:38 2018
Return-Path: <gcc-bugs-return-606574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18354 invoked by alias); 6 Jun 2018 09:58:38 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 18310 invoked by uid 48); 6 Jun 2018 09:58:33 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86062] Missed redundancy elimination with struct and array
Date: Wed, 06 Jun 2018 09:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-86062-4-y38ANGVhBH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86062-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86062-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00369.txt.bz2
Content-length: 383
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86062
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
>From gcc-bugs-return-606575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 10:03:23 2018
Return-Path: <gcc-bugs-return-606575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126043 invoked by alias); 6 Jun 2018 10:03:23 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 125808 invoked by uid 48); 6 Jun 2018 10:03:14 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86058] TARGET_MEM_REF causing incorrect message for -Wmaybe-uninitialized warning
Date: Wed, 06 Jun 2018 10:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on component everconfirmed
Message-ID: <bug-86058-4-nMRXo7GVtK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86058-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86058-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00370.txt.bz2
Content-length: 1435
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86058
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-06
Component|middle-end |c
Ever confirmed|0 |1
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
"lame" patch (omitting extra operands):
diff --git a/gcc/c-family/c-pretty-print.c b/gcc/c-family/c-pretty-print.c
index dc76c9957d3..aa05ed00d2f 100644
--- a/gcc/c-family/c-pretty-print.c
+++ b/gcc/c-family/c-pretty-print.c
@@ -1619,6 +1619,7 @@ c_pretty_printer::postfix_expression (tree e)
break;
case MEM_REF:
+ case TARGET_MEM_REF:
expression (e);
break;
@@ -1759,6 +1760,7 @@ c_pretty_printer::unary_expression (tree e)
break;
case MEM_REF:
+ case TARGET_MEM_REF:
if (TREE_CODE (TREE_OPERAND (e, 0)) == ADDR_EXPR
&& integer_zerop (TREE_OPERAND (e, 1)))
expression (TREE_OPERAND (TREE_OPERAND (e, 0), 0));
@@ -2211,6 +2213,7 @@ c_pretty_printer::expression (tree e)
case ADDR_EXPR:
case INDIRECT_REF:
case MEM_REF:
+ case TARGET_MEM_REF:
case NEGATE_EXPR:
case BIT_NOT_EXPR:
case TRUTH_NOT_EXPR:
>From gcc-bugs-return-606576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 10:05:01 2018
Return-Path: <gcc-bugs-return-606576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2942 invoked by alias); 6 Jun 2018 10:05:01 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 2856 invoked by uid 48); 6 Jun 2018 10:04:57 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/86056] Codegen can result in multiple sequential mfence instructions
Date: Wed, 06 Jun 2018 10:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-86056-4-dhLFyi10b4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86056-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86056-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00371.txt.bz2
Content-length: 553
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86056
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-06
Ever confirmed|0 |1
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-606577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 10:06:14 2018
Return-Path: <gcc-bugs-return-606577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7406 invoked by alias); 6 Jun 2018 10:06:14 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 7211 invoked by uid 48); 6 Jun 2018 10:06:10 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/83201] [7/8 Regression] SPEC CPU2017 505.mcf_r produces incorrect output when built with -flto and FDO
Date: Wed, 06 Jun 2018 10:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: lto
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-83201-4-Ijs7S6XVU2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83201-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83201-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00372.txt.bz2
Content-length: 847
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83201
--- Comment #22 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to john henning from comment #21)
> Comments from SPEC CPU Documentation Guy:
>
> As described at
> https://www.spec.org/cpu2017/Docs/faq.html#Miscompare.07
> https://www.spec.org/cpu2017/Docs/benchmarks/505.mcf_r.html#Portability
> SPEC's recommendation is to use
> -fno-strict-aliasing
>
> The patch attached to this bug is not approved by SPEC.
>
> SPEC generally does not change benchmarks after release (no moving targets);
> more detail is at the above links.
>
> John Henning
> SPEC CPU Subcommittee Secretary
Note that the same function is used by other benchmarks as well: 502.gcc_r,
511.povray_r, 527.cam4_r
That means the same miscompilation can happen for them as well :/
>From gcc-bugs-return-606578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 10:09:47 2018
Return-Path: <gcc-bugs-return-606578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13071 invoked by alias); 6 Jun 2018 10:09:47 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 12989 invoked by uid 48); 6 Jun 2018 10:09:42 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86067] [MIPS] ICE: scal-to-vec1.c:86:1: error: unrecognizable insn with -march=loongson3a
Date: Wed, 06 Jun 2018 10:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on component everconfirmed
Message-ID: <bug-86067-4-juP5GtVsJj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86067-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86067-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00373.txt.bz2
Content-length: 564
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86067
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2018-06-06
Component|c |target
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Which GCC version did you use?
>From gcc-bugs-return-606579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 10:11:14 2018
Return-Path: <gcc-bugs-return-606579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16036 invoked by alias); 6 Jun 2018 10:11:14 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 15916 invoked by uid 48); 6 Jun 2018 10:11:09 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86066] [9 Regression] wrong code at -Os and above on x86-64-linux-gnu
Date: Wed, 06 Jun 2018 10:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status version keywords cf_reconfirmed_on cc everconfirmed short_desc target_milestone
Message-ID: <bug-86066-4-Vpcs58Ulp9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86066-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86066-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00374.txt.bz2
Content-length: 969
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86066
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Version|unknown |9.0
Keywords| |wrong-code
Last reconfirmed| |2018-06-06
CC| |ebotcazou at gcc dot gnu.org
Ever confirmed|0 |1
Summary|wrong code at -Os and above |[9 Regression] wrong code
|on x86-64-linux-gnu |at -Os and above on
| |x86-64-linux-gnu
Target Milestone|--- |9.0
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. Store-merging again. Eric?
>From gcc-bugs-return-606580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 10:12:33 2018
Return-Path: <gcc-bugs-return-606580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18297 invoked by alias); 6 Jun 2018 10:12:33 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 18226 invoked by uid 48); 6 Jun 2018 10:12:29 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/86064] [8 Regression] compiling Linux kernel: Error: can't resolve `.text.unlikely' {.text.unlikely section} - `.LVL43x' {.text section}
Date: Wed, 06 Jun 2018 10:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords cf_gcctarget bug_status cf_reconfirmed_on component target_milestone everconfirmed
Message-ID: <bug-86064-4-sQMMeT5lBX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86064-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86064-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00375.txt.bz2
Content-length: 756
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86064
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Target| |x86_64-*-*, i?86-*-*
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2018-06-06
Component|c |rtl-optimization
Target Milestone|--- |8.2
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
You forgot to attach common.i
>From gcc-bugs-return-606581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 10:31:57 2018
Return-Path: <gcc-bugs-return-606581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16937 invoked by alias); 6 Jun 2018 10:31:57 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 11446 invoked by uid 48); 6 Jun 2018 10:31:53 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86068] __cpp_transactional_memory is 210500
Date: Wed, 06 Jun 2018 10:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: trans-mem
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to everconfirmed
Message-ID: <bug-86068-4-0OwMtO4d8r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86068-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86068-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00376.txt.bz2
Content-length: 563
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86068
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2018-06-06
CC| |jakub at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
Ever confirmed|0 |1
>From gcc-bugs-return-606582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 10:41:24 2018
Return-Path: <gcc-bugs-return-606582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99503 invoked by alias); 6 Jun 2018 10:41:24 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 99420 invoked by uid 48); 6 Jun 2018 10:41:20 -0000
From: "alex_y_xu at yahoo dot ca" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/86064] [8 Regression] compiling Linux kernel: Error: can't resolve `.text.unlikely' {.text.unlikely section} - `.LVL43x' {.text section}
Date: Wed, 06 Jun 2018 10:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: alex_y_xu at yahoo dot ca
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-86064-4-nGRuwqVrmd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86064-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86064-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00377.txt.bz2
Content-length: 411
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86064
--- Comment #2 from alex_y_xu at yahoo dot ca ---
Created attachment 44240
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44240&action=edit
common.i.xz
I suspect that when adding a new bug, if the attachment exceeds the file size
limit, it is silently ignored. (or the error message was small enough that I
didn't see it)
anyways, here it is.
>From gcc-bugs-return-606583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 10:46:55 2018
Return-Path: <gcc-bugs-return-606583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29261 invoked by alias); 6 Jun 2018 10:46:55 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 29228 invoked by uid 48); 6 Jun 2018 10:46:50 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86006] compile time error generic type bound procedure
Date: Wed, 06 Jun 2018 10:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86006-4-Da5hiZ1W09@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86006-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86006-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00378.txt.bz2
Content-length: 290
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86006
--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> here is the link:
>
> https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/779807
What do you conclude from the posts?
>From gcc-bugs-return-606584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 10:54:56 2018
Return-Path: <gcc-bugs-return-606584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119885 invoked by alias); 6 Jun 2018 10:54:56 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 117588 invoked by uid 48); 6 Jun 2018 10:54:52 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/86064] [8 Regression] compiling Linux kernel: Error: can't resolve `.text.unlikely' {.text.unlikely section} - `.LVL43x' {.text section}
Date: Wed, 06 Jun 2018 10:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: needs-bisection, needs-reduction, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status
Message-ID: <bug-86064-4-GkwESa8zxW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86064-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86064-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00379.txt.bz2
Content-length: 526
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86064
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |needs-bisection,
| |needs-reduction
Status|WAITING |NEW
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
I'm reducing and bisecting..
>From gcc-bugs-return-606585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 10:59:21 2018
Return-Path: <gcc-bugs-return-606585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3518 invoked by alias); 6 Jun 2018 10:59:21 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 3449 invoked by uid 48); 6 Jun 2018 10:59:17 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/86064] [8 Regression] compiling Linux kernel: Error: can't resolve `.text.unlikely' {.text.unlikely section} - `.LVL43x' {.text section}
Date: Wed, 06 Jun 2018 10:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: needs-bisection, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-86064-4-9MBezTR1up@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86064-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86064-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00380.txt.bz2
Content-length: 530
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86064
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|needs-reduction |
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Reduced test-case:
$ cat pr86064.i
int a;
__attribute__((__cold__)) void b();
void e(int *);
int f();
void c() {
int d;
e(&d);
a = d;
if (f())
b();
}
>From gcc-bugs-return-606586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 11:00:46 2018
Return-Path: <gcc-bugs-return-606586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11115 invoked by alias); 6 Jun 2018 11:00:45 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 10236 invoked by uid 48); 6 Jun 2018 11:00:05 -0000
From: "joshua.r.marshall.1991 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86015] Better handling of iterator distances
Date: Wed, 06 Jun 2018 11:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: joshua.r.marshall.1991 at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86015-4-br8IixGEpj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00381.txt.bz2
Content-length: 968
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86015
--- Comment #9 from Josh Marshall <joshua.r.marshall.1991 at gmail dot com> ---
Confirmed in 8.1.1
Also, looking over the following documents:
https://en.cppreference.com/w/cpp/types/ptrdiff_t
https://en.cppreference.com/w/cpp/iterator/iterator
http://en.cppreference.com/w/cpp/iterator/advance
http://en.cppreference.com/w/cpp/iterator/distance
https://en.cppreference.com/w/cpp/concept/Iterator
https://en.cppreference.com/w/cpp/iterator/iterator_traits
All of these do not require difference_type (typename _Distance in glibc) to be
convertible to an integer, and imply implicit conversion from an integer. From
this reading, I need to change this from an enhancement to a bug. I also need
to put in a request for a clarification to the standard on this, because it
wasn't very apparent.
Unfortunately, this involves the bigger change to glibc. Functions like __lg()
will have to be re-written.
>From gcc-bugs-return-606587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 11:08:43 2018
Return-Path: <gcc-bugs-return-606587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45043 invoked by alias); 6 Jun 2018 11:08:43 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 44951 invoked by uid 48); 6 Jun 2018 11:08:39 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/86064] [8 Regression] compiling Linux kernel: Error: can't resolve `.text.unlikely' {.text.unlikely section} - `.LVL43x' {.text section}
Date: Wed, 06 Jun 2018 11:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords cc
Message-ID: <bug-86064-4-E3rQCWKvlm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86064-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86064-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00382.txt.bz2
Content-length: 460
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86064
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|needs-bisection |
CC| |aoliva at gcc dot gnu.org
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r257510.
>From gcc-bugs-return-606588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 11:12:34 2018
Return-Path: <gcc-bugs-return-606588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53507 invoked by alias); 6 Jun 2018 11:12:34 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 53353 invoked by uid 48); 6 Jun 2018 11:12:29 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86066] [9 Regression] wrong code at -Os and above on x86-64-linux-gnu
Date: Wed, 06 Jun 2018 11:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-86066-4-laWBNZuTAg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86066-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86066-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00383.txt.bz2
Content-length: 569
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86066
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org
--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Confirmed. Store-merging again. Eric?
Right, missing handling of BIT_NOT_EXPR for BIT_INSERT_EXPR stores...
>From gcc-bugs-return-606589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 11:17:47 2018
Return-Path: <gcc-bugs-return-606589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69150 invoked by alias); 6 Jun 2018 11:17:47 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 69078 invoked by uid 48); 6 Jun 2018 11:17:42 -0000
From: "daniel.bershatsky at skolkovotech dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86051] internal compiler error: in conv_function_val, at fortran/trans-expr.c:3717
Date: Wed, 06 Jun 2018 11:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 7.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: daniel.bershatsky at skolkovotech dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86051-4-VomNfp2Fpd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86051-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86051-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00384.txt.bz2
Content-length: 641
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86051
--- Comment #3 from Daniel Bershatsky <daniel.bershatsky at skolkovotech dot ru> ---
(In reply to Dominique d'Humieres from comment #2)
> > This may have been fixed by a patch I submitted today.
>
> I confirmed that the PR is fixed by the patch at
>
> https://gcc.gnu.org/ml/fortran/2018-06/msg00013.html
That's great! I will check it out by myself and will be back.
Will this patch be applyed to gfortran branches 6.*, 7.*, and 8.*? If it were
not I would like to get a guidance how to avoid the issue. There are lots of
users who are using these obsolete fortran versions.
>From gcc-bugs-return-606590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 11:42:36 2018
Return-Path: <gcc-bugs-return-606590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71022 invoked by alias); 6 Jun 2018 11:42:35 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 70904 invoked by uid 55); 6 Jun 2018 11:42:31 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86008] std::quoted(std::basic_string_view) is missing
Date: Wed, 06 Jun 2018 11:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86008-4-Zxulgpd7jA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86008-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86008-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00385.txt.bz2
Content-length: 1808
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86008
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Jun 6 11:41:57 2018
New Revision: 261228
URL: https://gcc.gnu.org/viewcvs?rev=261228&root=gcc&view=rev
Log:
PR libstdc++/86008 add std::quoted support for string_view
PR libstdc++/86008
* include/bits/quoted_string.h (_Quoted_string<basic_string_view, C>):
Define new partial specialization.
* include/std/iomanip (quoted(basic_string_view<C,T>, C, C)): Define
new overload.
(operator<<(basic_ostream<C,T>&, const _Quoted_string<S,C>&)): Use
value not reference for iteration.
* testsuite/27_io/manipulators/standard/char/quoted.cc: Adjust
comment.
* testsuite/27_io/manipulators/standard/char/quoted_sv.cc: New test.
* testsuite/27_io/manipulators/standard/wchar_t/quoted.cc: Adjust
comment.
Added:
branches/gcc-8-branch/libstdc++-v3/testsuite/27_io/manipulators/standard/char/quoted_sv.cc
- copied, changed from r261225,
branches/gcc-8-branch/libstdc++-v3/testsuite/27_io/manipulators/standard/char/quoted.cc
branches/gcc-8-branch/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/quoted_sv.cc
- copied, changed from r261225,
branches/gcc-8-branch/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/quoted.cc
Modified:
branches/gcc-8-branch/libstdc++-v3/ChangeLog
branches/gcc-8-branch/libstdc++-v3/include/bits/quoted_string.h
branches/gcc-8-branch/libstdc++-v3/include/std/iomanip
branches/gcc-8-branch/libstdc++-v3/testsuite/27_io/manipulators/standard/char/quoted.cc
branches/gcc-8-branch/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/quoted.cc
>From gcc-bugs-return-606591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 12:37:40 2018
Return-Path: <gcc-bugs-return-606591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63088 invoked by alias); 6 Jun 2018 12:37:40 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 62955 invoked by uid 48); 6 Jun 2018 12:37:35 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/86064] [8/9 Regression] compiling Linux kernel: Error: can't resolve `.text.unlikely' {.text.unlikely section} - `.LVL43x' {.text section}
Date: Wed, 06 Jun 2018 12:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: wrong-debug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords priority component short_desc
Message-ID: <bug-86064-4-edtbRaZIOh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86064-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86064-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00386.txt.bz2
Content-length: 939
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86064
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|wrong-code |wrong-debug
Priority|P3 |P2
Component|rtl-optimization |debug
Summary|[8 Regression] compiling |[8/9 Regression] compiling
|Linux kernel: Error: can't |Linux kernel: Error: can't
|resolve `.text.unlikely' |resolve `.text.unlikely'
|{.text.unlikely section} - |{.text.unlikely section} -
|`.LVL43x' {.text section} |`.LVL43x' {.text section}
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Note that -gsplit-dwarf isn't really maintained so you should consider not
using it.
>From gcc-bugs-return-606592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 12:44:04 2018
Return-Path: <gcc-bugs-return-606592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102651 invoked by alias); 6 Jun 2018 12:44:04 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 100204 invoked by uid 48); 6 Jun 2018 12:44:00 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86008] std::quoted(std::basic_string_view) is missing
Date: Wed, 06 Jun 2018 12:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-86008-4-W8y4gUJIuh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86008-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86008-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00387.txt.bz2
Content-length: 507
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86008
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I added a new specialization that stores the basic_string_view by value. Fixed
for 8.2
>From gcc-bugs-return-606593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 12:45:55 2018
Return-Path: <gcc-bugs-return-606593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115647 invoked by alias); 6 Jun 2018 12:45:54 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 115402 invoked by uid 48); 6 Jun 2018 12:45:49 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86015] Better handling of iterator distances
Date: Wed, 06 Jun 2018 12:45:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86015-4-k0OQPSW6Ra@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00388.txt.bz2
Content-length: 279
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86015
--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> ---
cppreference is not the standard. See comment 5, where I quoted the standard
which requires difference_type to be a signed integer type. This is not a bug.
>From gcc-bugs-return-606594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 12:47:07 2018
Return-Path: <gcc-bugs-return-606594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117155 invoked by alias); 6 Jun 2018 12:47:07 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 117116 invoked by uid 48); 6 Jun 2018 12:47:02 -0000
From: "joshua.r.marshall.1991 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86015] Better handling of iterator distances
Date: Wed, 06 Jun 2018 12:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: joshua.r.marshall.1991 at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86015-4-yQ9vXc84xq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00389.txt.bz2
Content-length: 179
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86015
--- Comment #11 from Josh Marshall <joshua.r.marshall.1991 at gmail dot com> ---
Then please give me a concrete reference.
>From gcc-bugs-return-606595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 13:04:12 2018
Return-Path: <gcc-bugs-return-606595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91692 invoked by alias); 6 Jun 2018 13:04:11 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 91509 invoked by uid 55); 6 Jun 2018 13:04:02 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86062] Missed redundancy elimination with struct and array
Date: Wed, 06 Jun 2018 13:04:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86062-4-p8uoLrf7Us@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86062-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86062-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00390.txt.bz2
Content-length: 688
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86062
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Jun 6 13:03:29 2018
New Revision: 261231
URL: https://gcc.gnu.org/viewcvs?rev=261231&root=gcc&view=rev
Log:
2018-06-06 Richard Biener <rguenther@suse.de>
PR tree-optimization/86062
* tree-ssa-sccvn.c (vn_reference_lookup_3): Handle arbitrary
component refs ontop
of to be offsetted base.
* g++.dg/tree-ssa/pr86062.C: New testcase.
Added:
trunk/gcc/testsuite/g++.dg/tree-ssa/pr86062.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-sccvn.c
>From gcc-bugs-return-606596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 13:06:21 2018
Return-Path: <gcc-bugs-return-606596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36902 invoked by alias); 6 Jun 2018 13:06:21 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 36793 invoked by uid 48); 6 Jun 2018 13:06:17 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86062] Missed redundancy elimination with struct and array
Date: Wed, 06 Jun 2018 13:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution
Message-ID: <bug-86062-4-g5yChsHGFa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86062-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86062-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00391.txt.bz2
Content-length: 482
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86062
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Known to work| |9.0
Resolution|--- |FIXED
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed!
>From gcc-bugs-return-606597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 13:08:46 2018
Return-Path: <gcc-bugs-return-606597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61607 invoked by alias); 6 Jun 2018 13:08:46 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 61513 invoked by uid 48); 6 Jun 2018 13:08:41 -0000
From: "alex_y_xu at yahoo dot ca" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/86064] [8/9 Regression] compiling Linux kernel: Error: can't resolve `.text.unlikely' {.text.unlikely section} - `.LVL43x' {.text section}
Date: Wed, 06 Jun 2018 13:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: wrong-debug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: alex_y_xu at yahoo dot ca
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86064-4-A5LRmaDLiM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86064-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86064-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00392.txt.bz2
Content-length: 185
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86064
--- Comment #7 from alex_y_xu at yahoo dot ca ---
someone should probably tell Linux to note that in CONFIG_DEBUG_INFO_SPLIT
then.
>From gcc-bugs-return-606599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 13:14:37 2018
Return-Path: <gcc-bugs-return-606599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71271 invoked by alias); 6 Jun 2018 13:14:36 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 71180 invoked by uid 48); 6 Jun 2018 13:14:33 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86066] [9 regression] wrong code for bit-field manipulation at -Os
Date: Wed, 06 Jun 2018 13:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-86066-4-vK6svY5LCo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86066-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86066-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00394.txt.bz2
Content-length: 458
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86066
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Thanks for reporting the problem.
>From gcc-bugs-return-606598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 13:14:02 2018
Return-Path: <gcc-bugs-return-606598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68365 invoked by alias); 6 Jun 2018 13:14:02 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 68217 invoked by uid 55); 6 Jun 2018 13:13:57 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86066] [9 regression] wrong code for bit-field manipulation at -Os
Date: Wed, 06 Jun 2018 13:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86066-4-zEjHQYx3hR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86066-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86066-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00393.txt.bz2
Content-length: 585
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86066
--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Wed Jun 6 13:13:24 2018
New Revision: 261232
URL: https://gcc.gnu.org/viewcvs?rev=261232&root=gcc&view=rev
Log:
PR tree-optimization/86066
* gimple-ssa-store-merging.c (process_store): Do not bypass
BIT_NOT_EXPR
for BIT_INSERT_EXPR stores.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr86066.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple-ssa-store-merging.c
trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-606600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 13:20:43 2018
Return-Path: <gcc-bugs-return-606600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88220 invoked by alias); 6 Jun 2018 13:20:43 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 81456 invoked by uid 48); 6 Jun 2018 13:20:37 -0000
From: "joshua.r.marshall.1991 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86015] Better handling of iterator distances
Date: Wed, 06 Jun 2018 13:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: joshua.r.marshall.1991 at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86015-4-MlUeNMZeGy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00395.txt.bz2
Content-length: 1037
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86015
--- Comment #12 from Josh Marshall <joshua.r.marshall.1991 at gmail dot com> ---
I can now say why this bothers me from a design perspective. If the
requirement you are giving is correct, then the distance_type template
parameter must always be signed and always describe the distance between any
two points in memory and therefore must be of the base type ssize_t. But if it
must always resolve to this one specific type, it doesn't make sense to have it
as a template parameterization. But having the more flexible definition and
usage can start to allow for user applications to do instrumentation and crazy
stuff like grid support through the stdlib one day. It wouldn't make sense to
add the extra complexity to always use ssize_t, and so it doesn't make sense
that difference_type must be a signed integer only. It doesn't fit with any
source I've found, it doesn't explain the added complexity in the template, and
it reduces flexibility and generalizability.
>From gcc-bugs-return-606601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 13:33:01 2018
Return-Path: <gcc-bugs-return-606601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126624 invoked by alias); 6 Jun 2018 13:33:00 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 126515 invoked by uid 48); 6 Jun 2018 13:32:56 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86062] Missed redundancy elimination with struct and array
Date: Wed, 06 Jun 2018 13:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: glisse at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86062-4-7VRncqQxD4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86062-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86062-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00396.txt.bz2
Content-length: 126
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86062
--- Comment #4 from Marc Glisse <glisse at gcc dot gnu.org> ---
Thanks!
>From gcc-bugs-return-606602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 13:36:04 2018
Return-Path: <gcc-bugs-return-606602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4774 invoked by alias); 6 Jun 2018 13:36:03 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 124188 invoked by uid 48); 6 Jun 2018 13:35:59 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86015] Better handling of iterator distances
Date: Wed, 06 Jun 2018 13:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86015-4-nvalTAf6Xa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00397.txt.bz2
Content-length: 393
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86015
--- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Josh Marshall from comment #11)
> Then please give me a concrete reference.
C++17 27.2.1 [iterator.requirements.general] paragraph 1.
The same requirement also appears in the C++98, C++03, C++11 and C++14
standards, and in the C++ Extensions for Ranges TS.
>From gcc-bugs-return-606603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 13:38:38 2018
Return-Path: <gcc-bugs-return-606603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99968 invoked by alias); 6 Jun 2018 13:38:37 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 97571 invoked by uid 48); 6 Jun 2018 13:38:32 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86015] Better handling of iterator distances
Date: Wed, 06 Jun 2018 13:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86015-4-7fdpPGcmUl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00398.txt.bz2
Content-length: 194
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86015
--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> ---
And signed integer types are defined in C++17 6.7.1 [basic.fundamental].
>From gcc-bugs-return-606604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 13:40:43 2018
Return-Path: <gcc-bugs-return-606604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128525 invoked by alias); 6 Jun 2018 13:40:42 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 128390 invoked by uid 48); 6 Jun 2018 13:40:38 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86013] std::vector::shrink_to_fit() could sometimes use realloc()
Date: Wed, 06 Jun 2018 13:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.1.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86013-4-uKFQu4NTCQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86013-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86013-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00399.txt.bz2
Content-length: 333
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86013
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
You're jumping through arcane hoops just to provide a property which is not
guaranteed by the function and was never intended to be supported. If you don't
want shrink_to_fit to reallocate then stop calling it.
>From gcc-bugs-return-606605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 13:43:48 2018
Return-Path: <gcc-bugs-return-606605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116711 invoked by alias); 6 Jun 2018 13:43:48 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 110592 invoked by uid 48); 6 Jun 2018 13:43:40 -0000
From: "joshua.r.marshall.1991 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86015] Better handling of iterator distances
Date: Wed, 06 Jun 2018 13:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: joshua.r.marshall.1991 at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86015-4-1cF1nvCS81@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86015-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00400.txt.bz2
Content-length: 386
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86015
--- Comment #15 from Josh Marshall <joshua.r.marshall.1991 at gmail dot com> ---
That is bizarre. Then did I stumble upon the vestiges of elements of the
standard which were partially removed prior to 2003? This may be open for
awhile. I'll start on a proposal for 2020. I'll also have to get my hands on
a proper standard.
>From gcc-bugs-return-606606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 13:49:26 2018
Return-Path: <gcc-bugs-return-606606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18607 invoked by alias); 6 Jun 2018 13:49:26 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 16378 invoked by uid 48); 6 Jun 2018 13:49:20 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86013] std::vector::shrink_to_fit() could sometimes use realloc()
Date: Wed, 06 Jun 2018 13:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.1.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86013-4-63KejGkCqH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86013-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86013-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00401.txt.bz2
Content-length: 447
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86013
--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> ---
is_trivially_move_constructible is the wrong trait, trivially_copyable is
necessary to determine if memcpy/memmove (and so presumably realloc) are safe.
Does your &n!=&alias##n check still work if operator new is replaced in a
different translation unit, but the default one is the only one in scope in the
current TU?
>From gcc-bugs-return-606607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 13:57:44 2018
Return-Path: <gcc-bugs-return-606607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51232 invoked by alias); 6 Jun 2018 13:57:43 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 50787 invoked by uid 48); 6 Jun 2018 13:57:36 -0000
From: "mpf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86069] New: MIPS out-of-range branch expansion can break with -fpic and shrink wrapping
Date: Wed, 06 Jun 2018 13:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpf at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-86069-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00402.txt.bz2
Content-length: 2229
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86069
Bug ID: 86069
Summary: MIPS out-of-range branch expansion can break with
-fpic and shrink wrapping
Product: gcc
Version: 7.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: mpf at gcc dot gnu.org
Target Milestone: ---
Created attachment 44241
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44241&action=edit
test case
MIPS determines whether a branch is out of range quite late on and replaces an
out of range branch with either a direct or indirect jump. When compiling PIC
code then the only option for a long branch is to perform an indirect jump as
direct jumps are not PC-relative (at least not in the obvious way). The label
to jump to has to be obtained from the GOT as there is no way to calculate a
PC-relative offset directly either. The last-minute expansion of this code has
to grab the GOT pointer from the stack and then load the destination. The
expansion looks like this:
beq $4,$2,.L4
into
bne $4,$2,.L7
.set noat
lw $1,16($sp)
lw $1,%got(.L4)($1)
addiu $1,$1,%lo(.L4)
jr $1
.set at
.L7:
With shrink-wrapping it is possible for the compiler to move the prologue (that
sets up the GOT pointer and stashes it on the stack) to be moved after a
potentially out-of-range branch. The branch instructions do not acknowledge the
potential for them to be expanded into a GOT dependent sequence so there is no
way for the shrink-wrap code to do the right thing.
The obvious/simple solution may well be to mark all conditional branches as
using the GOT pointer for PIC code but this will effectively disable shrink
wrapping. To do anything smarter would require handling out-of-range branches
much earlier which is also unlikely to be a good idea.
Test case attached in dejagnu format. It fails at O1 and above. The original
failure was found as part of building LLVM with GCC and has been simplified to
this test case by Simon Dardis.
>From gcc-bugs-return-606608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 13:59:34 2018
Return-Path: <gcc-bugs-return-606608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61631 invoked by alias); 6 Jun 2018 13:59:33 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 61179 invoked by uid 48); 6 Jun 2018 13:59:29 -0000
From: "mpf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86069] MIPS out-of-range branch expansion can break with -fpic and shrink wrapping
Date: Wed, 06 Jun 2018 13:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpf at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget bug_status cf_reconfirmed_on target_milestone everconfirmed cf_known_to_fail
Message-ID: <bug-86069-4-hKhIyeFeZ3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86069-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86069-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00403.txt.bz2
Content-length: 622
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86069
mpf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |mips-*
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-06-06
Target Milestone|--- |9.0
Ever confirmed|0 |1
Known to fail| |6.3.0, 7.3.0
--- Comment #1 from mpf at gcc dot gnu.org ---
Confirmed as a bug.
>From gcc-bugs-return-606609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 14:33:44 2018
Return-Path: <gcc-bugs-return-606609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39553 invoked by alias); 6 Jun 2018 14:33:44 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 39439 invoked by uid 48); 6 Jun 2018 14:33:38 -0000
From: "jan.kratochvil at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86013] std::vector::shrink_to_fit() could sometimes use realloc()
Date: Wed, 06 Jun 2018 14:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.1.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jan.kratochvil at redhat dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86013-4-mdYOEqLGMX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86013-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86013-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00404.txt.bz2
Content-length: 1373
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86013
--- Comment #11 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
(In reply to Jonathan Wakely from comment #10)
> Does your &n!=&alias##n check still work if operator new is replaced in a
> different translation unit, but the default one is the only one in scope in
> the current TU?
alias##n is expected to be a visibility-hidden symbol of libstdc++ so there
will be no ld.so relocation.
n will be relocated by ld.so as R_X86_64_GLOB_DAT to the real function wherever
it comes from in the final process. It will not point to the PLT slot of
libstdc++.
ISO C++ does not specify the replacement specifics, they say only "displaces
the default version defined by the C ++ standard library".
Here they talk about them:
http://en.cppreference.com/w/cpp/memory/new/operator_new#Global_replacements
I expect replacing an allocator needs to be done globally for a process as one
may pass allocated objects ownership between program/libraries. That is
typically from the main program or by LD_PRELOAD. Although cppreference talks
about visibility so I guess they think replacing 'operator new' only in one ELF
image (program / shared library) with -fvisibility=hidden is also valid. They
talk about undefined behavior if the replacement is specific only to some TU
which I also find obvious.
>From gcc-bugs-return-606610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 14:46:06 2018
Return-Path: <gcc-bugs-return-606610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25682 invoked by alias); 6 Jun 2018 14:46:06 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 23412 invoked by uid 48); 6 Jun 2018 14:45:57 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86013] std::vector::shrink_to_fit() could sometimes use realloc()
Date: Wed, 06 Jun 2018 14:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.1.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-86013-4-HNCmgX0ngW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86013-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86013-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00405.txt.bz2
Content-length: 689
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86013
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> ---
That page says "a user-provided non-member function with the same signature
defined anywhere in the program, in any source file, replaces the default
version. Its declaration does not need to be visible."
There's no bug here, I don't think this can be done sensibly.
>From gcc-bugs-return-606611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 14:51:23 2018
Return-Path: <gcc-bugs-return-606611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42603 invoked by alias); 6 Jun 2018 14:51:23 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 42265 invoked by uid 48); 6 Jun 2018 14:51:18 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86069] MIPS out-of-range branch expansion can break with -fpic and shrink wrapping
Date: Wed, 06 Jun 2018 14:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords target_milestone
Message-ID: <bug-86069-4-nx33cwIsOw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86069-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86069-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00406.txt.bz2
Content-length: 1016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86069
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Target Milestone|9.0 |---
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to mpf from comment #0)
> The obvious/simple solution may well be to mark all conditional branches as
> using the GOT pointer for PIC code but this will effectively disable shrink
> wrapping. To do anything smarter would require handling out-of-range
> branches much earlier which is also unlikely to be a good idea.
But I think this is the only sensible thing to do. It will only disable
shrink-wrapping for non-local binding function calls but shrink-wrapping
works in a lot of other cases as well.
Possibly other archs have similar issues with their large code/data models.
>From gcc-bugs-return-606612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 14:55:43 2018
Return-Path: <gcc-bugs-return-606612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58322 invoked by alias); 6 Jun 2018 14:55:42 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 58185 invoked by uid 55); 6 Jun 2018 14:55:37 -0000
From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86051] internal compiler error: in conv_function_val, at fortran/trans-expr.c:3717
Date: Wed, 06 Jun 2018 14:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 7.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86051-4-kpbo1ctj1W@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86051-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86051-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00407.txt.bz2
Content-length: 1040
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86051
--- Comment #4 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Wed, Jun 06, 2018 at 11:17:42AM +0000, daniel.bershatsky at skolkovotech dot
ru wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86051
>
> --- Comment #3 from Daniel Bershatsky <daniel.bershatsky at skolkovotech dot ru> ---
> (In reply to Dominique d'Humieres from comment #2)
> > > This may have been fixed by a patch I submitted today.
> >
> > I confirmed that the PR is fixed by the patch at
> >
> > https://gcc.gnu.org/ml/fortran/2018-06/msg00013.html
>
> That's great! I will check it out by myself and will be back.
>
> Will this patch be applyed to gfortran branches 6.*, 7.*, and 8.*? If it were
> not I would like to get a guidance how to avoid the issue. There are lots of
> users who are using these obsolete fortran versions.
>
It will be back ported. (Well, at least an attempt will be made
to back port the patch, but it should apply with little change).
>From gcc-bugs-return-606613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 14:59:46 2018
Return-Path: <gcc-bugs-return-606613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90515 invoked by alias); 6 Jun 2018 14:59:45 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 90452 invoked by uid 48); 6 Jun 2018 14:59:40 -0000
From: "jan.kratochvil at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/86013] std::vector::shrink_to_fit() could sometimes use realloc()
Date: Wed, 06 Jun 2018 14:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.1.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jan.kratochvil at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86013-4-ieDxbGgvD1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86013-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86013-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00408.txt.bz2
Content-length: 566
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86013
--- Comment #13 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
Why the example code should not work with "a user-provided non-member function
with the same signature defined anywhere in the program, in any source file,
replaces the default version. Its declaration does not need to be visible."?
I would do the real libstdc++ sources patch as that would comply with these
requirements but I wanted to know first if there are some technical reasons why
it gets rejected, so far I do not see any.
>From gcc-bugs-return-606616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 15:07:33 2018
Return-Path: <gcc-bugs-return-606616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14447 invoked by alias); 6 Jun 2018 15:07:33 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 14073 invoked by uid 55); 6 Jun 2018 15:07:26 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85964] [8/9 Regression] compile time hog w/ -O3 -ftracer -fno-guess-branch-probability
Date: Wed, 06 Jun 2018 15:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: compile-time-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: law at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85964-4-HxnBmMdtUx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85964-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85964-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00411.txt.bz2
Content-length: 2119
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85964
--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Jun 6 15:06:50 2018
New Revision: 261237
URL: https://gcc.gnu.org/viewcvs?rev=261237&root=gcc&view=rev
Log:
2018-06-06 Richard Biener <rguenther@suse.de>
Backport from mainline
2018-06-04 Richard Biener <rguenther@suse.de>
PR tree-optimization/86038
* tracer.c (find_best_successor): Check probability for
being initialized, bail out if not.
* gcc.dg/pr86038.c: New testcase.
2018-05-30 Richard Biener <rguenther@suse.de>
PR tree-optimization/85964
* tracer.c (better_p): Drop initialized count check, we only
call the function with initialized counts now.
(find_best_successor): Do find a best edge if one
has uninitialized count.
(find_best_predecessor): Likewise. Do BB frequency check only
if count is initialized.
2018-05-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/85934
* tree-vect-generic.c (expand_vector_operations_1): Hoist
vector boolean check before scalar optimization.
* gcc.target/i386/pr85934.c: New testcase.
2018-05-22 Richard Biener <rguenther@suse.de>
PR tree-optimization/85863
* tree-vect-stmts.c (vect_is_simple_cond): Only widen invariant
comparisons when vectype is specified.
(vectorizable_condition): Do not specify vectype for
vect_is_simple_cond when SLP vectorizing.
* gfortran.fortran-torture/compile/pr85863.f: New testcase.
Added:
branches/gcc-8-branch/gcc/testsuite/gcc.dg/pr86038.c
branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/pr85934.c
branches/gcc-8-branch/gcc/testsuite/gfortran.fortran-torture/compile/pr85863.f
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/tracer.c
branches/gcc-8-branch/gcc/tree-vect-generic.c
branches/gcc-8-branch/gcc/tree-vect-stmts.c
>From gcc-bugs-return-606614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 15:07:31 2018
Return-Path: <gcc-bugs-return-606614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14239 invoked by alias); 6 Jun 2018 15:07:31 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 13949 invoked by uid 55); 6 Jun 2018 15:07:23 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86038] [9 Regression] ICE in to_reg_br_prob_base, at profile-count.h:242
Date: Wed, 06 Jun 2018 15:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86038-4-Q149MhTtlF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86038-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86038-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00409.txt.bz2
Content-length: 2118
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86038
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Jun 6 15:06:50 2018
New Revision: 261237
URL: https://gcc.gnu.org/viewcvs?rev=261237&root=gcc&view=rev
Log:
2018-06-06 Richard Biener <rguenther@suse.de>
Backport from mainline
2018-06-04 Richard Biener <rguenther@suse.de>
PR tree-optimization/86038
* tracer.c (find_best_successor): Check probability for
being initialized, bail out if not.
* gcc.dg/pr86038.c: New testcase.
2018-05-30 Richard Biener <rguenther@suse.de>
PR tree-optimization/85964
* tracer.c (better_p): Drop initialized count check, we only
call the function with initialized counts now.
(find_best_successor): Do find a best edge if one
has uninitialized count.
(find_best_predecessor): Likewise. Do BB frequency check only
if count is initialized.
2018-05-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/85934
* tree-vect-generic.c (expand_vector_operations_1): Hoist
vector boolean check before scalar optimization.
* gcc.target/i386/pr85934.c: New testcase.
2018-05-22 Richard Biener <rguenther@suse.de>
PR tree-optimization/85863
* tree-vect-stmts.c (vect_is_simple_cond): Only widen invariant
comparisons when vectype is specified.
(vectorizable_condition): Do not specify vectype for
vect_is_simple_cond when SLP vectorizing.
* gfortran.fortran-torture/compile/pr85863.f: New testcase.
Added:
branches/gcc-8-branch/gcc/testsuite/gcc.dg/pr86038.c
branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/pr85934.c
branches/gcc-8-branch/gcc/testsuite/gfortran.fortran-torture/compile/pr85863.f
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/tracer.c
branches/gcc-8-branch/gcc/tree-vect-generic.c
branches/gcc-8-branch/gcc/tree-vect-stmts.c
>From gcc-bugs-return-606615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 15:07:33 2018
Return-Path: <gcc-bugs-return-606615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14390 invoked by alias); 6 Jun 2018 15:07:32 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 14063 invoked by uid 55); 6 Jun 2018 15:07:26 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85863] [8 Regression] ICE in compiling spec2006 fortran test case solib.fppized.f starting with r260283
Date: Wed, 06 Jun 2018 15:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85863-4-NB0qTw9yoK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85863-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85863-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00410.txt.bz2
Content-length: 2118
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85863
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Jun 6 15:06:50 2018
New Revision: 261237
URL: https://gcc.gnu.org/viewcvs?rev=261237&root=gcc&view=rev
Log:
2018-06-06 Richard Biener <rguenther@suse.de>
Backport from mainline
2018-06-04 Richard Biener <rguenther@suse.de>
PR tree-optimization/86038
* tracer.c (find_best_successor): Check probability for
being initialized, bail out if not.
* gcc.dg/pr86038.c: New testcase.
2018-05-30 Richard Biener <rguenther@suse.de>
PR tree-optimization/85964
* tracer.c (better_p): Drop initialized count check, we only
call the function with initialized counts now.
(find_best_successor): Do find a best edge if one
has uninitialized count.
(find_best_predecessor): Likewise. Do BB frequency check only
if count is initialized.
2018-05-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/85934
* tree-vect-generic.c (expand_vector_operations_1): Hoist
vector boolean check before scalar optimization.
* gcc.target/i386/pr85934.c: New testcase.
2018-05-22 Richard Biener <rguenther@suse.de>
PR tree-optimization/85863
* tree-vect-stmts.c (vect_is_simple_cond): Only widen invariant
comparisons when vectype is specified.
(vectorizable_condition): Do not specify vectype for
vect_is_simple_cond when SLP vectorizing.
* gfortran.fortran-torture/compile/pr85863.f: New testcase.
Added:
branches/gcc-8-branch/gcc/testsuite/gcc.dg/pr86038.c
branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/pr85934.c
branches/gcc-8-branch/gcc/testsuite/gfortran.fortran-torture/compile/pr85863.f
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/tracer.c
branches/gcc-8-branch/gcc/tree-vect-generic.c
branches/gcc-8-branch/gcc/tree-vect-stmts.c
>From gcc-bugs-return-606617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 15:07:35 2018
Return-Path: <gcc-bugs-return-606617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14756 invoked by alias); 6 Jun 2018 15:07:35 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 14058 invoked by uid 55); 6 Jun 2018 15:07:26 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85934] [8 Regression] ICE: verify_gimple failed (error: type mismatch in vector pack expression)
Date: Wed, 06 Jun 2018 15:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85934-4-zhKJvbde5S@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85934-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85934-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00412.txt.bz2
Content-length: 2118
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85934
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Jun 6 15:06:50 2018
New Revision: 261237
URL: https://gcc.gnu.org/viewcvs?rev=261237&root=gcc&view=rev
Log:
2018-06-06 Richard Biener <rguenther@suse.de>
Backport from mainline
2018-06-04 Richard Biener <rguenther@suse.de>
PR tree-optimization/86038
* tracer.c (find_best_successor): Check probability for
being initialized, bail out if not.
* gcc.dg/pr86038.c: New testcase.
2018-05-30 Richard Biener <rguenther@suse.de>
PR tree-optimization/85964
* tracer.c (better_p): Drop initialized count check, we only
call the function with initialized counts now.
(find_best_successor): Do find a best edge if one
has uninitialized count.
(find_best_predecessor): Likewise. Do BB frequency check only
if count is initialized.
2018-05-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/85934
* tree-vect-generic.c (expand_vector_operations_1): Hoist
vector boolean check before scalar optimization.
* gcc.target/i386/pr85934.c: New testcase.
2018-05-22 Richard Biener <rguenther@suse.de>
PR tree-optimization/85863
* tree-vect-stmts.c (vect_is_simple_cond): Only widen invariant
comparisons when vectype is specified.
(vectorizable_condition): Do not specify vectype for
vect_is_simple_cond when SLP vectorizing.
* gfortran.fortran-torture/compile/pr85863.f: New testcase.
Added:
branches/gcc-8-branch/gcc/testsuite/gcc.dg/pr86038.c
branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/pr85934.c
branches/gcc-8-branch/gcc/testsuite/gfortran.fortran-torture/compile/pr85863.f
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/tracer.c
branches/gcc-8-branch/gcc/tree-vect-generic.c
branches/gcc-8-branch/gcc/tree-vect-stmts.c
>From gcc-bugs-return-606619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 15:08:16 2018
Return-Path: <gcc-bugs-return-606619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18849 invoked by alias); 6 Jun 2018 15:08:16 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 18627 invoked by uid 48); 6 Jun 2018 15:08:11 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85934] [8 Regression] ICE: verify_gimple failed (error: type mismatch in vector pack expression)
Date: Wed, 06 Jun 2018 15:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution
Message-ID: <bug-85934-4-Peq0NG7dLW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85934-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85934-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00414.txt.bz2
Content-length: 484
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85934
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Known to work| |8.1.1
Resolution|--- |FIXED
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-606618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 15:08:16 2018
Return-Path: <gcc-bugs-return-606618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18830 invoked by alias); 6 Jun 2018 15:08:16 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 18672 invoked by uid 48); 6 Jun 2018 15:08:11 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85863] [8 Regression] ICE in compiling spec2006 fortran test case solib.fppized.f starting with r260283
Date: Wed, 06 Jun 2018 15:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution cf_known_to_fail
Message-ID: <bug-85863-4-EsBAKmhWZJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85863-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85863-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00413.txt.bz2
Content-length: 539
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85863
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Known to work| |8.1.1
Resolution|--- |FIXED
Known to fail| |8.1.0
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-606620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 15:14:49 2018
Return-Path: <gcc-bugs-return-606620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90115 invoked by alias); 6 Jun 2018 15:14:49 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 87422 invoked by uid 55); 6 Jun 2018 15:14:44 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85710] [8/9 Regression] Enabling memset-elt-size warning causes ICE on memset of template member array
Date: Wed, 06 Jun 2018 15:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.1
X-Bugzilla-Keywords: ice-on-valid-code, needs-bisection
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85710-4-Yz7QOPklOR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85710-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85710-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00415.txt.bz2
Content-length: 921
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85710
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jun 6 15:14:12 2018
New Revision: 261238
URL: https://gcc.gnu.org/viewcvs?rev=261238&root=gcc&view=rev
Log:
PR c++/85710 - ICE with -Wmemset-elt-size.
c-family/
* c-warn.c (warn_for_memset): Don't crash on incomplete element type.
cp/
* semantics.c (finish_call_expr): Call warn_for_memset here.
* parser.c (cp_parser_postfix_expression): Not here.
(literal_integer_zerop): No longer static.
* pt.c (build_non_dependent_expr): Don't wrap CONST_DECL.
Added:
trunk/gcc/testsuite/g++.dg/warn/Wmemset-elt-size1.C
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-warn.c
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/parser.c
trunk/gcc/cp/pt.c
trunk/gcc/cp/semantics.c
>From gcc-bugs-return-606621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 15:16:50 2018
Return-Path: <gcc-bugs-return-606621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99483 invoked by alias); 6 Jun 2018 15:16:49 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 99396 invoked by uid 48); 6 Jun 2018 15:16:43 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/86070] New: [7 regression] gfortran.dg/fmt_zero_digits.f90 segmentation fault starting with r261077
Date: Wed, 06 Jun 2018 15:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 7.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: seurer at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86070-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00416.txt.bz2
Content-length: 4162
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86070
Bug ID: 86070
Summary: [7 regression] gfortran.dg/fmt_zero_digits.f90
segmentation fault starting with r261077
Product: gcc
Version: 7.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
Assignee: unassigned at gcc dot gnu.org
Reporter: seurer at gcc dot gnu.org
Target Milestone: ---
spawn -ignore SIGHUP
/home/seurer/gcc/build/gcc-7/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/build/gcc-7/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/build/gcc-7/powerpc64le-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/gcc-7/gcc/testsuite/gfortran.dg/fmt_zero_digits.f90
-fno-diagnostics-show-caret -fdiagnostics-color=never -O0 -pedantic-errors
-B/home/seurer/gcc/build/gcc-7/powerpc64le-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-7/powerpc64le-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-7/powerpc64le-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-7/powerpc64le-unknown-linux-gnu/./libatomic/.libs
-lm -o ./fmt_zero_digits.exe
PASS: gfortran.dg/fmt_zero_digits.f90 -O0 (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/home/seurer/gcc/build/gcc-7/powerpc64le-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/build/gcc-7/powerpc64le-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/build/gcc-7/powerpc64le-unknown-linux-gnu/./libatomic/.libs:/home/seurer/gcc/build/gcc-7/gcc:.:/home/seurer/gcc/build/gcc-7/powerpc64le-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/build/gcc-7/powerpc64le-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/build/gcc-7/powerpc64le-unknown-linux-gnu/./libatomic/.libs:/home/seurer/gcc/build/gcc-7/gcc:/home/seurer/gcc/build/gcc-7/./gmp/.libs:/home/seurer/gcc/build/gcc-7/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-7/./mpfr/src/.libs:/home/seurer/gcc/build/gcc-7/./prev-mpfr/src/.libs:/home/seurer/gcc/build/gcc-7/./mpc/src/.libs:/home/seurer/gcc/build/gcc-7/./prev-mpc/src/.libs:/home/seurer/gcc/build/gcc-7/./isl/.libs:/home/seurer/gcc/build/gcc-7/./prev-isl/.libs:/home/seurer/gcc/install/gcc-7.2.0/lib64
Execution timeout is: 300
spawn [open ...]
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
FAIL: gfortran.dg/fmt_zero_digits.f90 -O0 execution test
Program received signal SIGSEGV, Segmentation fault.
__memcpy_power7 () at ../sysdeps/powerpc/powerpc64/power7/memcpy.S:115
115 ../sysdeps/powerpc/powerpc64/power7/memcpy.S: No such file or
directory.
(gdb) where
#0 __memcpy_power7 () at ../sysdeps/powerpc/powerpc64/power7/memcpy.S:115
#1 0x00003fffb7f3ce64 in write_float_string (dtp=0x3fffffffee48,
fstr=0x3fffffffe720 ' ' <repeats 14 times>, "8.D+00", len=70367532635856) at
/home/seurer/gcc/gcc-7/libgfortran/io/write.c:1577
#2 0x00003fffb7f41654 in write_float_0 (dtp=0x3fffffffee48, f=0x10021aa0,
source=0x100012d8 "", kind=<optimized out>) at
/home/seurer/gcc/gcc-7/libgfortran/io/write.c:1599
#3 0x00003fffb7f36480 in formatted_transfer_scalar_write (dtp=0x3fffffffee48,
type=BT_REAL, p=0x100012d8, kind=4, size=4) at
/home/seurer/gcc/gcc-7/libgfortran/io/transfer.c:2017
#4 0x00003fffb7f36bcc in formatted_transfer (dtp=0x3fffffffee48,
type=<optimized out>, p=<optimized out>, kind=<optimized out>, size=4,
nelems=1)
at /home/seurer/gcc/gcc-7/libgfortran/io/transfer.c:2279
#5 0x00003fffb7f32d00 in _gfortran_transfer_real (dtp=0x3fffffffee48,
p=0x100012d8, kind=<optimized out>) at
/home/seurer/gcc/gcc-7/libgfortran/io/transfer.c:2310
#6 0x00003fffb7f32d48 in _gfortran_transfer_real_write (dtp=<optimized out>,
p=<optimized out>, kind=<optimized out>) at
/home/seurer/gcc/gcc-7/libgfortran/io/transfer.c:2316
#7 0x0000000010000b70 in test () at
/home/seurer/gcc/gcc-7/gcc/testsuite/gfortran.dg/fmt_zero_digits.f90:15
#8 0x0000000000001060 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
>From gcc-bugs-return-606622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 15:17:37 2018
Return-Path: <gcc-bugs-return-606622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105486 invoked by alias); 6 Jun 2018 15:17:37 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 104840 invoked by uid 48); 6 Jun 2018 15:17:32 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86060] [6/7/8/9 Regression] g++ ICE at on with "c++03" in tsubst_copy, at cp/pt.c:15459
Date: Wed, 06 Jun 2018 15:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-86060-4-eBXTvNJhFX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86060-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86060-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00417.txt.bz2
Content-length: 452
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86060
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |jason at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
>From gcc-bugs-return-606623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 15:18:53 2018
Return-Path: <gcc-bugs-return-606623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113654 invoked by alias); 6 Jun 2018 15:18:53 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 113517 invoked by uid 48); 6 Jun 2018 15:18:47 -0000
From: "Hi-Angel at yandex dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86071] New: -O0 -foptimize-sibling-calls doesn't optimize
Date: Wed, 06 Jun 2018 15:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Hi-Angel at yandex dot ru
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86071-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00418.txt.bz2
Content-length: 1579
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86071
Bug ID: 86071
Summary: -O0 -foptimize-sibling-calls doesn't optimize
Product: gcc
Version: 8.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: Hi-Angel at yandex dot ru
Target Milestone: ---
# Steps to reproduce:
$ cat test.cpp
struct Node {
Node* children;
};
const Node& descend(const Node& node) {
if (!node.children) {
return node;
} else // not a leaf
return descend(*node.children);
}
int main() {
Node end;
Node ring = Node{new Node{&end}};
end.children = ˚
descend(ring);
}
$ g++ test.cpp -o a -O0 -g3 -foptimize-sibling-calls
$ ./a
[1] 21291 segmentation fault (core dumped) ./a
Running under gdb shows that crash is because of exhausted stack, i.e.
tail-recursion optimization didn't work.
# Additional information
This one testcase actually does work upon replacing -O0 with -O3.
However, I also have a bit bigger testcase, where tail-recursion optimization
doesn't work even with -O3. I wonder, if it's worth a separate bug.
>From gcc-bugs-return-606624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 15:58:15 2018
Return-Path: <gcc-bugs-return-606624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64664 invoked by alias); 6 Jun 2018 15:58:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 64356 invoked by uid 48); 6 Jun 2018 15:58:08 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86071] -O0 -foptimize-sibling-calls doesn't optimize
Date: Wed, 06 Jun 2018 15:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amonakov at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-86071-4-nNPk795ZFH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86071-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86071-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00419.txt.bz2
Content-length: 1148
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86071
Alexander Monakov <amonakov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |amonakov at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #1 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
In GCC there's no way to selectively enable a few optimizations with their -f
flags at -O0 level: -O0 means that optimizations are completely disabled,
regardless of -f flags. This is mentioned in the manual:
"Most optimizations are only enabled if an -O level is set on the command
line. Otherwise they are disabled, even if individual optimization flags are
specified."
Tail call optimization sometimes is not applied because there's an escaping
local variable (possibly from an inlined function), and GCC does not take into
account its life range. This might be what you're seeing at -O3. There's a
recent report: PR 86050.
>From gcc-bugs-return-606625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 17:41:18 2018
Return-Path: <gcc-bugs-return-606625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26604 invoked by alias); 6 Jun 2018 17:41:17 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 26478 invoked by uid 48); 6 Jun 2018 17:41:10 -0000
From: "redbeard0531 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86072] New: Poor codegen with atomics
Date: Wed, 06 Jun 2018 17:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redbeard0531 at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86072-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00420.txt.bz2
Content-length: 2678
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86072
Bug ID: 86072
Summary: Poor codegen with atomics
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: redbeard0531 at gmail dot com
Target Milestone: ---
https://godbolt.org/g/aEFhq8
#include <atomic>
std::atomic<int> progress{-1};
void combine_writes1() {
// These should be reduced to a single store(0,release),
// At least as long as release-sequnce includes same-thread
// relaxed stores. If that is removed, this should just be
// a single relaxed store.
progress.store(0, std::memory_order_relaxed);
progress.store(0, std::memory_order_relaxed);
progress.store(0, std::memory_order_release);
progress.store(0, std::memory_order_release);
progress.store(0, std::memory_order_relaxed);
progress.store(0, std::memory_order_relaxed);
}
void combine_writes2() {
// Ditto above, but should store 5.
progress.store(0, std::memory_order_relaxed);
progress.store(1, std::memory_order_relaxed);
progress.store(2, std::memory_order_release);
progress.store(3, std::memory_order_release);
progress.store(4, std::memory_order_relaxed);
progress.store(5, std::memory_order_relaxed);
}
void combine_loads() {
// These should be reduced to either a single acquire-load
// or an acquire fence.
progress.load(std::memory_order_relaxed);
progress.load(std::memory_order_relaxed);
progress.load(std::memory_order_acquire);
progress.load(std::memory_order_acquire);
progress.load(std::memory_order_relaxed);
progress.load(std::memory_order_relaxed);
}
combine_writes1():
xor eax, eax
mov DWORD PTR progress[rip], eax
mov DWORD PTR progress[rip], eax
mov DWORD PTR progress[rip], eax
mov DWORD PTR progress[rip], eax
mov DWORD PTR progress[rip], eax
mov DWORD PTR progress[rip], eax
ret
combine_writes2():
mov DWORD PTR progress[rip], 0
mov DWORD PTR progress[rip], 1
mov DWORD PTR progress[rip], 2
mov DWORD PTR progress[rip], 3
mov DWORD PTR progress[rip], 4
mov DWORD PTR progress[rip], 5
ret
combine_loads():
mov eax, DWORD PTR progress[rip]
mov eax, DWORD PTR progress[rip]
mov eax, DWORD PTR progress[rip]
mov eax, DWORD PTR progress[rip]
mov eax, DWORD PTR progress[rip]
mov eax, DWORD PTR progress[rip]
ret
progress:
.long -1
This example seems to ICE segfaulting gcc trunk: https://godbolt.org/g/M4ZQGS
Possibly related: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86056
>From gcc-bugs-return-606626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 17:46:33 2018
Return-Path: <gcc-bugs-return-606626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77718 invoked by alias); 6 Jun 2018 17:46:33 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 77661 invoked by uid 48); 6 Jun 2018 17:46:28 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86072] Poor codegen with atomics
Date: Wed, 06 Jun 2018 17:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords component
Message-ID: <bug-86072-4-OiUYOhgNWn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86072-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86072-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00421.txt.bz2
Content-length: 481
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86072
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Component|c++ |tree-optimization
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
We don't optimize the atomics at all.
>From gcc-bugs-return-606627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 17:47:46 2018
Return-Path: <gcc-bugs-return-606627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80397 invoked by alias); 6 Jun 2018 17:47:45 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 79380 invoked by uid 48); 6 Jun 2018 17:47:35 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86072] Poor codegen with atomics
Date: Wed, 06 Jun 2018 17:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_severity
Message-ID: <bug-86072-4-LqGORY69WK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86072-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86072-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00422.txt.bz2
Content-length: 300
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86072
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
>From gcc-bugs-return-606628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 17:49:13 2018
Return-Path: <gcc-bugs-return-606628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85515 invoked by alias); 6 Jun 2018 17:49:11 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 84921 invoked by uid 55); 6 Jun 2018 17:48:34 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86060] [6/7/8/9 Regression] g++ ICE at on with "c++03" in tsubst_copy, at cp/pt.c:15459
Date: Wed, 06 Jun 2018 17:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86060-4-sMM8IIJvrQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86060-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86060-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00423.txt.bz2
Content-length: 531
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86060
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jun 6 17:47:48 2018
New Revision: 261239
URL: https://gcc.gnu.org/viewcvs?rev=261239&root=gcc&view=rev
Log:
PR c++/86060 - ICE on range for with -std=c++98.
* parser.c (cp_parser_init_statement): Don't clobber *decl after
pedwarn.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/range-for35.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
>From gcc-bugs-return-606629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 17:50:07 2018
Return-Path: <gcc-bugs-return-606629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94993 invoked by alias); 6 Jun 2018 17:50:07 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 88106 invoked by uid 55); 6 Jun 2018 17:49:50 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86060] [6/7/8/9 Regression] g++ ICE at on with "c++03" in tsubst_copy, at cp/pt.c:15459
Date: Wed, 06 Jun 2018 17:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86060-4-zXlR8g873r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86060-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86060-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00424.txt.bz2
Content-length: 579
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86060
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jun 6 17:48:35 2018
New Revision: 261240
URL: https://gcc.gnu.org/viewcvs?rev=261240&root=gcc&view=rev
Log:
PR c++/86060 - ICE on range for with -std=c++98.
* parser.c (cp_parser_init_statement): Don't clobber *decl after
pedwarn.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/range-for35.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/parser.c
>From gcc-bugs-return-606632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 17:52:36 2018
Return-Path: <gcc-bugs-return-606632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109723 invoked by alias); 6 Jun 2018 17:52:36 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 109262 invoked by uid 48); 6 Jun 2018 17:52:31 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85977] Incorrect handling of array reference size deduction
Date: Wed, 06 Jun 2018 17:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-85977-4-to0mX4BYV9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85977-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85977-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00427.txt.bz2
Content-length: 439
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85977
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Should work now.
>From gcc-bugs-return-606631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 17:52:33 2018
Return-Path: <gcc-bugs-return-606631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109341 invoked by alias); 6 Jun 2018 17:52:33 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 109175 invoked by uid 48); 6 Jun 2018 17:52:29 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86065] gfortran NAMELIST improperly reads arrays that span more than one line.
Date: Wed, 06 Jun 2018 17:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 5.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WORKSFORME
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution
Message-ID: <bug-86065-4-Yi4ZLEShkz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86065-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86065-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00426.txt.bz2
Content-length: 589
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86065
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Known to work| |6.4.1, 7.3.1, 8.1.1, 9.0
Resolution|--- |WORKSFORME
--- Comment #3 from kargl at gcc dot gnu.org ---
Resolving as WORKSFORME. Thanks for the bug report.
I do encourage you to upgrade to a newer version of
gfortran if you can.
>From gcc-bugs-return-606630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 17:52:01 2018
Return-Path: <gcc-bugs-return-606630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107852 invoked by alias); 6 Jun 2018 17:52:00 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 107626 invoked by uid 55); 6 Jun 2018 17:51:54 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85977] Incorrect handling of array reference size deduction
Date: Wed, 06 Jun 2018 17:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85977-4-flCHf0wQX3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85977-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85977-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00425.txt.bz2
Content-length: 872
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85977
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Jun 6 17:51:19 2018
New Revision: 261241
URL: https://gcc.gnu.org/viewcvs?rev=261241&root=gcc&view=rev
Log:
PR c++/85977
* pt.c (unify): If ELTTYPE has no deducible template parms, skip
deduction from the list elements.
(type_unification_real): Check convertibility of list elements.
* g++.dg/cpp0x/initlist102.C: New test.
* g++.dg/cpp0x/initlist103.C: New test.
* g++.dg/cpp0x/initlist104.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/initlist102.C
trunk/gcc/testsuite/g++.dg/cpp0x/initlist103.C
trunk/gcc/testsuite/g++.dg/cpp0x/initlist104.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-606633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 17:56:15 2018
Return-Path: <gcc-bugs-return-606633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117491 invoked by alias); 6 Jun 2018 17:56:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 117369 invoked by uid 55); 6 Jun 2018 17:56:11 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86068] __cpp_transactional_memory is 210500
Date: Wed, 06 Jun 2018 17:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: trans-mem
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86068-4-maI65LGzvh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86068-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86068-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00428.txt.bz2
Content-length: 708
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86068
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Jun 6 17:55:39 2018
New Revision: 261242
URL: https://gcc.gnu.org/viewcvs?rev=261242&root=gcc&view=rev
Log:
PR c++/86068
* c-cppbuiltin.c (c_cpp_builtins): Fix a typo, set
__cpp_transactional_memory to 201500 instead of 210500.
* include/bits/c++config: Check __cpp_transactional_memory >= 201500L
rather than __cpp_transactional_memory >= 201505L.
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-cppbuiltin.c
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/c++config
>From gcc-bugs-return-606634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 18:05:05 2018
Return-Path: <gcc-bugs-return-606634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77696 invoked by alias); 6 Jun 2018 18:05:05 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 74771 invoked by uid 55); 6 Jun 2018 18:05:01 -0000
From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/86057] Use of mempcpy in libgcc/ libgcov-driver-system.c breaks bootstrap
Date: Wed, 06 Jun 2018 18:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86057-4-B4zKrleSJY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86057-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86057-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00429.txt.bz2
Content-length: 512
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86057
--- Comment #7 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Wed, Jun 06, 2018 at 09:06:04AM +0000, marxin at gcc dot gnu.org wrote:
>
> --- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
> Sorry for the breakage, patch candidate sent here:
> https://gcc.gnu.org/ml/gcc-patches/2018-06/msg00285.html
>
Please commit the patch to fix the bootstrap failure,
or revert the revision causing the bootstrap failure.
>From gcc-bugs-return-606635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 18:16:24 2018
Return-Path: <gcc-bugs-return-606635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73546 invoked by alias); 6 Jun 2018 18:16:24 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 67643 invoked by uid 48); 6 Jun 2018 18:16:19 -0000
From: "pj at hugeone dot co.uk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86073] New: -O3 arm generates calls to memset even for known at the compile time very small sizes (<=3)
Date: Wed, 06 Jun 2018 18:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pj at hugeone dot co.uk
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-86073-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00430.txt.bz2
Content-length: 1904
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86073
Bug ID: 86073
Summary: -O3 arm generates calls to memset even for known at
the compile time very small sizes (<=3)
Product: gcc
Version: 7.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: pj at hugeone dot co.uk
Target Milestone: ---
The test code:
void *my_memset1(void *ptr, const int v, size_t size)
{
size_t rem = size & 3;
size_t pro = (4 - ((uint32_t)ptr & 3)) & 3;
uint32_t v32 = *(uint32_t *)ptr = (((unsigned)v) << 24) | (((unsigned)v) <<
16) | (((unsigned)v) << 8) | v;
void *retval = ptr;
pro = pro >= size ? pro : size;
size -= pro;
while(pro--)
{
*(uint8_t *)ptr++ = v;
}
size >>= 2;
while(size--)
{
*(uint32_t *)ptr = v32;
ptr+=4;
}
while(rem--)
{
*(uint8_t *)ptr++ = v;
}
return retval;
}
rem is always <= 3
pro is always <= 3
both generate call to the buikt in memset function
my_memset1:
push {r3, r4, r5, r6, r7, r8, r9, lr}
lsls r5, r1, #16
negs r3, r0
and r3, r3, #3
orr r5, r5, r1, lsl #24
orrs r5, r5, r1
cmp r3, r2
orr r5, r5, r1, lsl #8
it cc
movcc r3, r2
mov r7, r1
mov r8, r0
str r5, [r0]
subs r6, r2, r3
and r9, r2, #3
cbz r3, .L13
mov r2, r3
uxtb r1, r1
mov r4, r3
bl memset <<--- here
lsrs r0, r6, #2
add r3, r8, r4
beq .L14
.L20:
add r0, r3, r0, lsl #2
.L11:
str r5, [r3], #4
cmp r3, r0
bne .L11
.L10:
cmp r9, #0
beq .L12
mov r2, r9
uxtb r1, r7
bl memset <<---- here
.L12:
mov r0, r8
pop {r3, r4, r5, r6, r7, r8, r9, pc}
.L13:
mov r3, r0
lsrs r0, r6, #2
bne .L20
.L14:
mov r0, r3
b .L10
>From gcc-bugs-return-606636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 18:41:32 2018
Return-Path: <gcc-bugs-return-606636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26777 invoked by alias); 6 Jun 2018 18:41:32 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 26656 invoked by uid 55); 6 Jun 2018 18:41:28 -0000
From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/63177] Powerpc no-vfa-vect-depend-2.c and no-vfa-vect-depend-3.c failures
Date: Wed, 06 Jun 2018 18:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bergner at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-63177-4-KHpcz0pKAt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63177-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63177-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-06/txt/msg00431.txt.bz2
Content-length: 505
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63177
--- Comment #10 from Peter Bergner <bergner at gcc dot gnu.org> ---
Author: bergner
Date: Wed Jun 6 18:40:53 2018
New Revision: 261243
URL: https://gcc.gnu.org/viewcvs?rev=261243&root=gcc&view=rev
Log:
PR target/63177
* /config/rs6000/rs6000.h (ASM_CPU_SPEC): Add support for -mpower9.
Don't handle -mcpu=power8 if -mpower9-vector is also used.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/rs6000.h
>From gcc-bugs-return-606637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 06 18:46:06 2018
Return-Path: <gcc-bugs-return-606637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102789 invoked by alias); 6 Jun 2018 18:46:05 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 96662 invoked by uid 89); 6 Jun 2018 18:45:36 -0000
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.0 required=5.0 testsºYES_60,HTML_MESSAGE,SPF_PASS,T_FILL_THIS_FORM_SHORT,URIBL_BLACK autolearn=no version=3.3.2 spammy=estate, H*r:spam-scanned, men, retail
X-HELO: fencepost.gnu.org
Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (208.118.235.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 06 Jun 2018 18:45:33 +0000
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54649) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <angela.ratliff@listgnu.com>) id 1fQdQx-0002Wf-5M for bug-gcc@gnu.org; Wed, 06 Jun 2018 14:45:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <angela.ratliff@listgnu.com>) id 1fQdQt-0005OM-04 for bug-gcc@gnu.org; Wed, 06 Jun 2018 14:45:23 -0400
X-Spam-Report: * 4.0 BAYES_99 BODY: Bayes spam probability is 99 to 100% * [score: 1.0000] * 1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist * [URIs: listgnu.com] * 0.2 BAYES_999 BODY: Bayes spam probability is 99.9 to 100% * [score: 1.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * 0.6 BAYES_99_HTML BAYES_99_HTML * 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid * 2.8 DOS_OUTLOOK_TO_MX Delivered direct to MX with Outlook headers * 0.0 T_FILL_THIS_FORM_SHORT Fill in a short form with personal * information
Received: from shared-smtp.x13.ektro.info ([212.83.167.77]:33947) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <angela.ratliff@listgnu.com>) id 1fQdQs-0004mc-KV for bug-gcc@gnu.org; Wed, 06 Jun 2018 14:45:18 -0400
Reply-To: <angela.ratliff@listgnu.com>
From: "Angela Ratliff" <angela.ratliff@listgnu.com>
To: <bug-gcc@gnu.org>
Subject: Mortgage Industry Potential Contacts
Date: Wed, 06 Jun 2018 18:46:00 -0000
Message-ID: <!&!AAAAAAAAAAAYAAAAAAAAAALymQlSON9OuTbhZsf5DT3CgAAAEAAAAGmNfO7SmYNLkWrH2HtjdHEBAAAAAA==@listgnu.com>
MIME-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy]
X-Received-From: 212.83.167.77
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-SW-Source: 2018-06/txt/msg00432.txt.bz2
Content-length: 1122
Hi,
Would you be interested in acquiring "Mortgage Industry Contact Lists"?
If yes, please let me know your below mentioned Email List types which can
be your target audience.
Mortgage Banking, Commercial Finance Broker, Finance Management, Real Estate
Invest Men, Financial and Legal Advisors, Mortgage insurers, Real Estate
Brokers, Leasing Companies, Facility Management Services, Retail Property,
Logistics Property, Mortgage Broker and many more across globe.
Data Fields includes: Contact name, Company name, Job Title, Website,
Industry, SIC Code, Email address, Direct mail address, Telephone number,
Revenue Size, Employee Size, etc.
In order to provide further details counts and a FREE sample file for your
review. I would like to understand your requirement.
Please fill in the details below of your: Target audience: _________ Job
titles: _________
Target geography: ________
I look forward to hearing from you soon.
Best Regards,
Angela Ratliff
Pre-Sales Executive
If you don't wish to receive any mails in future, please reply with
"Unsubscribe" in the Subject Line
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-06-01 9:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-86013-4@http.gcc.gnu.org/bugzilla/>
2018-06-01 9:03 ` [Bug libstdc++/86013] std::vector::shrink_to_fit() could sometimes use realloc() glisse at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).