public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/81033] [8 Regression] Revision r249019 breaks bootstrap on darwin
[not found] <bug-81033-4@http.gcc.gnu.org/bugzilla/>
@ 2017-07-09 13:13 ` simon at pushface dot org
0 siblings, 0 replies; only message in thread
From: simon at pushface dot org @ 2017-07-09 13:13 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: 377117 bytes --]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81033
--- Comment #20 from simon at pushface dot org ---
r249926
See https://gcc.gnu.org/ml/gcc-patches/2017-07/msg00121.html
>From gcc-bugs-return-568168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 13:18:59 2017
Return-Path: <gcc-bugs-return-568168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44211 invoked by alias); 9 Jul 2017 13:18: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 44118 invoked by uid 48); 9 Jul 2017 13:18:50 -0000
From: "simon at pushface dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/81033] [8 Regression] Revision r249019 breaks bootstrap on darwin
Date: Sun, 09 Jul 2017 13:18: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: 8.0
X-Bugzilla-Keywords: build, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: simon at pushface dot 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81033-4-AFl8A3r9Lv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81033-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81033-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00719.txt.bz2
Content-length: 173
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81033
--- Comment #21 from simon at pushface dot org ---
Actually, r249930 was the last related revision (cleans up spaces).
>From gcc-bugs-return-568169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 14:53:25 2017
Return-Path: <gcc-bugs-return-568169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101126 invoked by alias); 9 Jul 2017 14:53: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 100440 invoked by uid 48); 9 Jul 2017 14:53:19 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/80365] undefined memcpy while writing zero length array on unformatted stream in unix.c
Date: Sun, 09 Jul 2017 14:53: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: 7.0.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig 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-80365-4-LwW9ZOyCyE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80365-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80365-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00720.txt.bz2
Content-length: 420
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80365
Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tkoenig at gcc dot gnu.org
--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
How do I actually obtain this error?
>From gcc-bugs-return-568170-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 15:16:05 2017
Return-Path: <gcc-bugs-return-568170-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128111 invoked by alias); 9 Jul 2017 15:15: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 127562 invoked by uid 48); 9 Jul 2017 15:15:44 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/80365] undefined memcpy while writing zero length array on unformatted stream in unix.c
Date: Sun, 09 Jul 2017 15:15: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: 7.0.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:
Message-ID: <bug-80365-4-ypIdZ8i4Jq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80365-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80365-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00721.txt.bz2
Content-length: 836
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80365
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> How do I actually obtain this error?
I see it with a build configured with
Configured with: ../work/configure --prefix=/opt/gcc/gcc8g
--enable-languages=c,c++,fortran --with-gmp=/opt/mp-new --with-system-zlib
--with-isl=/opt/mp-new --disable-bootstrap --disable-multilib
--disable-libstdcxx CFLAGS='-L/opt/gcc/gcc7a/lib -lasan -lubsan
-fsanitize=address,undefined,leak -Og -g -fno-omit-frame-pointer'
CXXFLAGS='-fsanitize=address,undefined,leak -Og -g -fno-omit-frame-pointer'
LDFLAGS='-L/opt/gcc/gcc7a/lib -lasan -lubsan -ldl -lpthread'
../../../work/libgfortran/io/unix.c:597:7: runtime error: null pointer passed
as argument 2, which is declared to never be null
at run time.
>From gcc-bugs-return-568171-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 15:43:59 2017
Return-Path: <gcc-bugs-return-568171-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55955 invoked by alias); 9 Jul 2017 15:43: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 55894 invoked by uid 55); 9 Jul 2017 15:43:54 -0000
From: "zeccav at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/80365] undefined memcpy while writing zero length array on unformatted stream in unix.c
Date: Sun, 09 Jul 2017 15:43: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: 7.0.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: zeccav 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-80365-4-j3u8bGDHWC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80365-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80365-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00722.txt.bz2
Content-length: 301
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80365
--- Comment #4 from Vittorio Zecca <zeccav at gmail dot com> ---
Or you may add
assert(buf);
just before the memcpy library call.
If nbyte==0 then it should be harmless, but undefined.
assert(buf || !nbyte) should catch an error situation
>From gcc-bugs-return-568172-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 16:11:17 2017
Return-Path: <gcc-bugs-return-568172-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21106 invoked by alias); 9 Jul 2017 16:11: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 21073 invoked by uid 48); 9 Jul 2017 16:11:13 -0000
From: "kaufmann at cs dot uni-potsdam.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81365] New: GCC miscompiles swap
Date: Sun, 09 Jul 2017 16:11: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.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kaufmann at cs dot uni-potsdam.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-81365-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00723.txt.bz2
Content-length: 1663
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81365
Bug ID: 81365
Summary: GCC miscompiles swap
Product: gcc
Version: 7.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: kaufmann at cs dot uni-potsdam.de
Target Milestone: ---
Created attachment 41700
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41700&action=edit
Minimal test case
For the attached code, gcc miscompiles the call to swap in Foo::swapToHead()
with the result that the value of 'a' is lost.
gcc-7.1 miscompiles the code at -O2 and above (-O1 and above if std::swap is
used) at least with x86_64-pc-linux-gnu.
gcc-6.3 compiles the code correctly.
### Relevant sequence of instructions:
mov edx,edx
lea rcx,[rdi+0x8] ; tail[0]
mov DWORD PTR [rdi+rdx*4+0x10],esi ; store to head_[1] - This does not seem
to be right
mov eax,DWORD PTR [rdi+rdx*4+0x10]
mov DWORD PTR [rcx],eax ; now head_[1] and tail[0] are the same
### COMMAND:
g++ -O3 bug-min.ii
./a.out
### EXPECTED OUTPUT:
(rc=0)
### ACTUAL OUTPUT:
x.swapToHead(Lit::make( 2), 1) && "Lit 2 went missing"
Aborted
### g++ -v
Using built-in specs.
COLLECT_GCC=/home/wv/bin/linux/64/gcc-7.1/bin/g++
COLLECT_LTO_WRAPPER=/home/wv/bin/linux/64/gcc-7.1/libexec/gcc/x86_64-pc-linux-gnu/7.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../../sources/gcc-7.1.0/configure
--prefix=/home/wv/bin/linux/64/gcc-7.1 --enable-languages=c,c++
Thread model: posix
gcc version 7.1.0 (GCC)
>From gcc-bugs-return-568173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 16:36:06 2017
Return-Path: <gcc-bugs-return-568173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2621 invoked by alias); 9 Jul 2017 16:36: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 125203 invoked by uid 48); 9 Jul 2017 16:35:59 -0000
From: "fw at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBzYW5pdGl6ZXIvODEwNjZdIHNhbml0aXplcl9zdG9wdGhld29ybGRf?= =?UTF-8?B?bGludXhfbGliY2RlcC5jYzoyNzY6MjI6IGVycm9yOiBhZ2dyZWdhdGUg4oCY?= =?UTF-8?B?c2lnYWx0c3RhY2sgaGFuZGxlcl9zdGFja+KAmSBoYXMgaW5jb21wbGV0ZSB0?= =?UTF-8?B?eXBlIGFuZCBjYW5ub3QgYmUgZGVmaW5lZA==?Date: Sun, 09 Jul 2017 16:36: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.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fw 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-81066-4-bPfPcpDYb2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81066-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81066-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00724.txt.bz2
Content-length: 1115
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81066
--- Comment #8 from Florian Weimer <fw at gcc dot gnu.org> ---
(In reply to Khem Raj from comment #7)
> (In reply to Florian Weimer from comment #6)
> > (In reply to Khem Raj from comment #5)
> > > +#ifndef __stack_t_defined
> > > +struct stack_t;
> > > +#endif
> >
> > Where does __stack_t_defined come from? If this is the definition from the
> > glibc headers, that's really brittle because it's totally internal.
>
> infact it is from bits/types/stack_t.h so you are right. sanitizers redefine
> a lot
> of stuff from libc. So we can not include signal.h without such quirks
I think you should change the signature of internal_sigaltstack. Something
like
void internal_sigaltstack(void *, size_t);
should work, due to the way the function is used. Then you'll need to
reference the stack_t type only within its implementation (at which point, I
assume, it is safe to include glibc's <signal.h>).
As far as I understand the interface, there is no need to keep the actual
stack_t object around while the alternative signal stack is in use.
>From gcc-bugs-return-568175-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 17:42:23 2017
Return-Path: <gcc-bugs-return-568175-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99216 invoked by alias); 9 Jul 2017 17:42: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 98805 invoked by uid 55); 9 Jul 2017 17:42:18 -0000
From: "dominiq at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81341] trunk/gcc/fortran/class.c:313: redundant condition ?
Date: Sun, 09 Jul 2017 17: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: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dominiq at lps dot ens.fr
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81341-4-pqQBr8sRFb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81341-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81341-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00726.txt.bz2
Content-length: 486
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81341
--- Comment #2 from dominiq at gcc dot gnu.org ---
Author: dominiq
Date: Sun Jul 9 17:41:45 2017
New Revision: 250083
URL: https://gcc.gnu.org/viewcvs?rev=250083&root=gcc&view=rev
Log:
2017-07-09 Dominique d'Humieres <dominiq@lps.ens.fr>
PR fortran/81341
* class.c (class_array_ref_detected): Remove a redundant
condition.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/class.c
>From gcc-bugs-return-568174-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 17:42:05 2017
Return-Path: <gcc-bugs-return-568174-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97270 invoked by alias); 9 Jul 2017 17: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 97204 invoked by uid 48); 9 Jul 2017 17:41:59 -0000
From: "ryan.burn at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81366] New: pragma omp simd reduce(max:m) not vectorizing
Date: Sun, 09 Jul 2017 17:42: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
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ryan.burn 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-81366-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00725.txt.bz2
Content-length: 2373
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81366
Bug ID: 81366
Summary: pragma omp simd reduce(max:m) not vectorizing
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Compiling this code:
###########################################################
double max(double* x, int n) {
double m = 0;
int i;
#pragma omp simd linear (i) reduction(max:m)
for (i=0; i<n; ++i)
m = std::max(x[i], m);
return m;
}
###########################################################
with g++ -fopenmp-simd -march=haswell -O3 -S main.cpp
g++ -v
Using built-in specs.
COLLECT_GCC=/usr/local/bin/g++
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin15.0.0/8.0.0/lto-wrapper
Target: x86_64-apple-darwin15.0.0
Configured with: ../gcc/configure --disable-multilib --enable-languages=c++
--with-gmp=/opt/local --with-libiconv-prefix=/opt/local
Thread model: posix
gcc version 8.0.0 20170610 (experimental) (GCC)
Produces the below unvectorized assembly. Similar code with "+" will work.
############################################################
LFE1116:
.align 4,0x90
.globl __Z3maxPdi
__Z3maxPdi:
LFB1117:
leaq 8(%rsp), %r10
LCFI6:
andq $-32, %rsp
pushq -8(%r10)
pushq %rbp
LCFI7:
movq %rsp, %rbp
pushq %r10
LCFI8:
vmovsd lC1(%rip), %xmm1
vmovsd %xmm1, -48(%rbp)
testl %esi, %esi
jle L13
leal -1(%rsi), %eax
leaq 8(%rdi,%rax,8), %rax
.align 4,0x90
L14:
vmovsd (%rdi), %xmm0
vucomisd %xmm0, %xmm1
jbe L20
addq $8, %rdi
cmpq %rax, %rdi
jne L14
L13:
vmovsd -48(%rbp), %xmm2
vmaxsd lC0(%rip), %xmm2, %xmm0
popq %r10
LCFI9:
popq %rbp
leaq -8(%r10), %rsp
LCFI10:
ret
.align 4,0x90
L20:
LCFI11:
addq $8, %rdi
vmovsd %xmm0, -48(%rbp)
cmpq %rax, %rdi
je L13
vmovapd %xmm0, %xmm1
jmp L14
############################################################
>From gcc-bugs-return-568176-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 17:46:46 2017
Return-Path: <gcc-bugs-return-568176-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109594 invoked by alias); 9 Jul 2017 17:46: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 109548 invoked by uid 48); 9 Jul 2017 17:46:42 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81341] trunk/gcc/fortran/class.c:313: redundant condition ?
Date: Sun, 09 Jul 2017 17: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: 7.0
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: dominiq at lps dot ens.fr
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-81341-4-CFZNiYZYCL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81341-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81341-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00727.txt.bz2
Content-length: 450
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81341
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Closing as FIXED.
>From gcc-bugs-return-568177-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 18:26:30 2017
Return-Path: <gcc-bugs-return-568177-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95475 invoked by alias); 9 Jul 2017 18:26: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 91913 invoked by uid 55); 9 Jul 2017 18:26:23 -0000
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81313] Bad stack realignment code with -mno-accumulate-outgoing-args
Date: Sun, 09 Jul 2017 18:26: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81313-4-9IwBNXc8QP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81313-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81313-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00728.txt.bz2
Content-length: 1645
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81313
--- Comment #2 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Sun Jul 9 18:25:49 2017
New Revision: 250084
URL: https://gcc.gnu.org/viewcvs?rev=250084&root=gcc&view=rev
Log:
x86: Use DRAP only if there are outgoing arguments on stack
Since DRAP is needed only if there are outgoing arguments on stack, we
should track outgoing arguments on stack and avoid setting need_drap to
true when there are no outgoing arguments on stack.
gcc/
PR target/81313
* config/i386/i386.c (ix86_function_arg_advance): Set
outgoing_args_on_stack to true if there are outgoing arguments
on stack.
(ix86_function_arg): Likewise.
(ix86_get_drap_rtx): Use DRAP only if there are outgoing
arguments on stack and ACCUMULATE_OUTGOING_ARGS is false.
* config/i386/i386.h (machine_function): Add
outgoing_args_on_stack.
gcc/testsuite/
PR target/81313
* gcc.target/i386/pr81313-1.c: New test.
* gcc.target/i386/pr81313-2.c: Likewise.
* gcc.target/i386/pr81313-3.c: Likewise.
* gcc.target/i386/pr81313-4.c: Likewise.
* gcc.target/i386/pr81313-5.c: Likewise.
Added:
trunk/gcc/testsuite/gcc.target/i386/pr81313-1.c
trunk/gcc/testsuite/gcc.target/i386/pr81313-2.c
trunk/gcc/testsuite/gcc.target/i386/pr81313-3.c
trunk/gcc/testsuite/gcc.target/i386/pr81313-4.c
trunk/gcc/testsuite/gcc.target/i386/pr81313-5.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/config/i386/i386.h
trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-568178-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 18:37:06 2017
Return-Path: <gcc-bugs-return-568178-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76087 invoked by alias); 9 Jul 2017 18:37: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 75966 invoked by uid 48); 9 Jul 2017 18:37:01 -0000
From: "avi@cloudius-systems.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions
Date: Sun, 09 Jul 2017 18:37: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: 7.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: avi@cloudius-systems.com
X-Bugzilla-Status: NEW
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-81021-4-XCSg4oZ6pK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00729.txt.bz2
Content-length: 176
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021
--- Comment #7 from Avi Kivity <avi@cloudius-systems.com> ---
Hitting something similar-looking on Fedora 26's gcc 7.1.1.
>From gcc-bugs-return-568179-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 19:16:03 2017
Return-Path: <gcc-bugs-return-568179-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31473 invoked by alias); 9 Jul 2017 19:16: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 31384 invoked by uid 48); 9 Jul 2017 19:15:50 -0000
From: "tetra2005 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/69908] recognizing idioms that check for a buffer of all-zeros could make *much* better code
Date: Sun, 09 Jul 2017 19:16: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, ssemmx
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tetra2005 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-69908-4-NWLuVsNKww@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69908-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69908-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00730.txt.bz2
Content-length: 314
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69908
--- Comment #3 from Yuri Gribov <tetra2005 at gmail dot com> ---
As noted in comments, this is more about adding new API to Glibc than GCC (they
have corresponding https://sourceware.org/bugzilla/show_bug.cgi?id=19920 about
this). So can this be closed?
>From gcc-bugs-return-568180-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 19:58:26 2017
Return-Path: <gcc-bugs-return-568180-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13809 invoked by alias); 9 Jul 2017 19: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 13750 invoked by uid 48); 9 Jul 2017 19:58:19 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/69908] recognizing idioms that check for a buffer of all-zeros could make *much* better code
Date: Sun, 09 Jul 2017 19: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: 5.3.0
X-Bugzilla-Keywords: missed-optimization, ssemmx
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:
Message-ID: <bug-69908-4-7bdBpsjBEv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69908-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69908-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00731.txt.bz2
Content-length: 478
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69908
--- Comment #4 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Yuri Gribov from comment #3)
> As noted in comments, this is more about adding new API to Glibc than GCC
> (they have corresponding
> https://sourceware.org/bugzilla/show_bug.cgi?id=19920 about this). So can
> this be closed?
I don't think so (at least not for that reason). Whatever glibc does, this is
still a missed optimization in gcc.
>From gcc-bugs-return-568181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 20:06:59 2017
Return-Path: <gcc-bugs-return-568181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22711 invoked by alias); 9 Jul 2017 20:06: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 22639 invoked by uid 48); 9 Jul 2017 20:06:52 -0000
From: "s.j.clark at durham dot ac.uk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81367] New: internal compiler error: in gfc_typenode_for_spec, at fortran/trans-types.c:1086
Date: Sun, 09 Jul 2017 20:06: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.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: s.j.clark at durham dot ac.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-81367-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00732.txt.bz2
Content-length: 797
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81367
Bug ID: 81367
Summary: internal compiler error: in gfc_typenode_for_spec, at
fortran/trans-types.c:1086
Product: gcc
Version: 5.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: s.j.clark at durham dot ac.uk
Target Milestone: ---
Coding error causes internal compiler error. Narrowed down to this test code:
program test
implicit none
contains
subroutine thing()
character(len=f)::fname
end subroutine thing
end program test
Note attempted declaration of character with unset variable, inheriting
"implicit none" from main.
>From gcc-bugs-return-568182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 20:11:26 2017
Return-Path: <gcc-bugs-return-568182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104193 invoked by alias); 9 Jul 2017 20:11: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 99602 invoked by uid 48); 9 Jul 2017 20:11:23 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/81033] [8 Regression] Revision r249019 breaks bootstrap on darwin
Date: Sun, 09 Jul 2017 20:11: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: 8.0
X-Bugzilla-Keywords: build, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-81033-4-hP1jvylESZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81033-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81033-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00733.txt.bz2
Content-length: 428
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81033
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #22 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-568183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 20:48:57 2017
Return-Path: <gcc-bugs-return-568183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36709 invoked by alias); 9 Jul 2017 20:48: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 36640 invoked by uid 48); 9 Jul 2017 20:48:49 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81365] [7/8 Regression] GCC miscompiles swap
Date: Sun, 09 Jul 2017 20:48: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: glisse 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 short_desc everconfirmed
Message-ID: <bug-81365-4-9TAXYnCmJ2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81365-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81365-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00734.txt.bz2
Content-length: 1812
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81365
Marc Glisse <glisse at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-07-09
Summary|GCC miscompiles swap |[7/8 Regression] GCC
| |miscompiles swap
Ever confirmed|0 |1
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
phiprop seems responsible, it changes
+ <bb 9> [34.00%]:
+ x.head[0] = MEM[(const struct Lit &)&x + 12];
+
<bb 5> [99.97%]:
- # it_16 = PHI <&x.tail(2), &MEM[(void *)&x + 16B](3)>
+ # it_16 = PHI <&x.tail(9), &MEM[(void *)&x + 16B](10)>
t$rep_15 = MEM[(struct Foo *)&x];
- x.head[0] = MEM[(const struct Lit &)it_16];
MEM[(struct Lit *)it_16] = t$rep_15;
but x.head[0] and MEM[(struct Foo *)&x] are the same location...
extern "C" int puts(const char *);
struct Lit {
unsigned rep;
};
struct Foo {
Foo(const Lit* lits) {
__builtin_memcpy(head , lits, 3*sizeof(Lit));
__builtin_memcpy(tail , lits + 3, sizeof(Lit));
__builtin_memset(tail+1 , 0, sizeof(Lit));
}
bool swapToHead(unsigned what){
Lit* it = tail;
if (it->rep == what || (++it)->rep == what) {
Lit t(head[0]);
head[0]=*it;
*it=t;
return true;
}
return false;
}
Lit head[3];
Lit tail[2];
};
int main() {
Lit lits[] = {4,8,12,18};
Foo x(lits);
x.swapToHead(18) || (puts("1"),__builtin_abort(),false);
x.swapToHead( 4) || (puts("2"),__builtin_abort(),false);
return 0;
}
>From gcc-bugs-return-568184-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 20:51:01 2017
Return-Path: <gcc-bugs-return-568184-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38933 invoked by alias); 9 Jul 2017 20:51: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 38880 invoked by uid 48); 9 Jul 2017 20:50:57 -0000
From: "tetra2005 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/69908] recognizing idioms that check for a buffer of all-zeros could make *much* better code
Date: Sun, 09 Jul 2017 20: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: 5.3.0
X-Bugzilla-Keywords: missed-optimization, ssemmx
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tetra2005 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-69908-4-mj7UchKoso@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69908-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69908-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00735.txt.bz2
Content-length: 1353
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69908
--- Comment #5 from Yuri Gribov <tetra2005 at gmail dot com> ---
(In reply to Marc Glisse from comment #4)
> (In reply to Yuri Gribov from comment #3)
> > As noted in comments, this is more about adding new API to Glibc than GCC
> > (they have corresponding
> > https://sourceware.org/bugzilla/show_bug.cgi?id=19920 about this). So can
> > this be closed?
>
> I don't think so (at least not for that reason). Whatever glibc does, this
> is still a missed optimization in gcc.
Well, as we all know there are a lot of missing optimizations in GCC :) I think
the real question is whether it's ever going to be fixed if there's no standard
API for this code pattern which we can recognize as builtin.
I believe the answer is "No". ATM GCC does not vectorize even the simplest
memcpy equivalent code:
// gcc tmp.c -O3 -mtune=native -ftree-vectorize -o- -S
void memcpy_(char * __restrict a, char * __restrict b, unsigned n) {
unsigned i;
for (i = 0; i < n; ++i)
a[i] = b[i];
}
so I don't think it'll be able to recognize memcchr in reasonable timeframe.
Adding a std. function in Glibc and then treating it as std. builtin in GCC
would be straightforward and cost-effective solution but the ball is on Glibc
side and they didn't sound very positive.
Thoughts?
>From gcc-bugs-return-568185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 21:02:20 2017
Return-Path: <gcc-bugs-return-568185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97107 invoked by alias); 9 Jul 2017 21:02: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 97054 invoked by uid 55); 9 Jul 2017 21:02:16 -0000
From: "uros at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81313] Bad stack realignment code with -mno-accumulate-outgoing-args
Date: Sun, 09 Jul 2017 21:02: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: uros 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81313-4-30cqji304n@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81313-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81313-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00736.txt.bz2
Content-length: 503
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81313
--- Comment #3 from uros at gcc dot gnu.org ---
Author: uros
Date: Sun Jul 9 21:01:42 2017
New Revision: 250086
URL: https://gcc.gnu.org/viewcvs?rev=250086&root=gcc&view=rev
Log:
PR target/81313
* gcc.dg/stack-layout-dynamic-1.c (bar): Add 4 additional
integer argumets to bypass x86_64 outgoing args optimization.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/stack-layout-dynamic-1.c
>From gcc-bugs-return-568186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 21:07:16 2017
Return-Path: <gcc-bugs-return-568186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106558 invoked by alias); 9 Jul 2017 21:07: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 106457 invoked by uid 48); 9 Jul 2017 21:07:09 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81313] Bad stack realignment code with -mno-accumulate-outgoing-args
Date: Sun, 09 Jul 2017 21:07: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-81313-4-VVdKtxj0Ok@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81313-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81313-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00737.txt.bz2
Content-length: 423
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81313
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for 8.0.
>From gcc-bugs-return-568187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 21:14:17 2017
Return-Path: <gcc-bugs-return-568187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130694 invoked by alias); 9 Jul 2017 21:14: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 130643 invoked by uid 48); 9 Jul 2017 21:14:11 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81365] [7/8 Regression] GCC miscompiles swap
Date: Sun, 09 Jul 2017 21: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: 7.1.0
X-Bugzilla-Keywords: alias, wrong-code
X-Bugzilla-Severity: normal
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: 7.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-81365-4-7xU7jIpmR2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81365-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81365-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00738.txt.bz2
Content-length: 820
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81365
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |7.2
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
/* As we replicate the lhs on each incoming edge all
used SSA names have to be available there. */
if (! for_each_index (gimple_assign_lhs_ptr (use_stmt),
chk_uses,
get_immediate_dominator (CDI_DOMINATORS,
gimple_bb (phi))))
goto next;
This is supposed to check correctly but it does not ...
>From gcc-bugs-return-568188-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 21:19:23 2017
Return-Path: <gcc-bugs-return-568188-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5830 invoked by alias); 9 Jul 2017 21: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 5779 invoked by uid 48); 9 Jul 2017 21:19:17 -0000
From: "bburgerm at googlemail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/81336] OpenMP crash if -fno-underscoring is used in gfortran
Date: Sun, 09 Jul 2017 21:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgomp
X-Bugzilla-Version: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bburgerm at googlemail 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-81336-4-jJDLGte5m4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81336-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81336-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00739.txt.bz2
Content-length: 1288
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81336
--- Comment #3 from bburgerm at googlemail dot com ---
Yes, I'm using this option because the gfortran code should be included in a
larger project with a mixture of C, C++, gfortran and partially intel fortran
code with several libraries only available in binary form. Due to the lack of
gfortran function attributes to define the symbol explicitly, using
-fno-underscoring was the most successfull solution. Using bind(C) did not work
for all functions because gfortran is quite picky regarding variable types
(like it is not possible to pass a fortran user defined type with an
allocatable variable to a C function which only passes it to a fortran function
without reading or touching it. For example a dlopen-wrapper).
As mentioned above I have read the warnings about -fno-underscoring and only
filed a bug report because the bug is already visible for the small attached
program only using libraries that are also part of gcc.
If it would have happened for our large project only, then I would accept it as
the described incompatibilities.
Btw: The same problem appears for omp_set_num_threads using the pointer value
as number of threads if -fno-underscoring is used from fortran which usually
leads to a crash.
>From gcc-bugs-return-568189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 21:49:24 2017
Return-Path: <gcc-bugs-return-568189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12571 invoked by alias); 9 Jul 2017 21:49: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 12516 invoked by uid 48); 9 Jul 2017 21:49:19 -0000
From: "sebastian.schrader at ossmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/81368] New: GCC reports bad option if -fdata-sections/-ffunction-sections is specified through #pragma or function attribute
Date: Sun, 09 Jul 2017 21:49: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.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sebastian.schrader at ossmail 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-81368-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00740.txt.bz2
Content-length: 1541
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81368
Bug ID: 81368
Summary: GCC reports bad option if
-fdata-sections/-ffunction-sections is specified
through #pragma or function attribute
Product: gcc
Version: 7.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: sebastian.schrader at ossmail dot de
Target Milestone: ---
GCC 7.1.1 reports a bad option if -fdata-sections or -ffunction-section is
specified through the #pragma GCC optimize directive or the optimize function
attribute.
Earlier versions of GCC, such as 5.4.0 don't report a bad option and also act
upon it (verified with objdump -x).
Example with #pragma:
#pragma GCC optimize("-ffunction-sections")
int f(int x)
{
return x;
}
% gcc -o pragma.o -c pragma.c
pragma.c:1:9: warning: bad option â-ffunction-sectionsâ to pragma âoptimizeâ
[-Wpragmas]
#pragma GCC optimize("-ffunction-sections")
^~~
pragma.c:4:1: warning: bad option â-ffunction-sectionsâ to attribute âoptimizeâ
[-Wattributes]
{
^
Example with attribute:
__attribute__((optimize("-fdata-sections")))
int g(int x)
{
return x;
}
% gcc -o attribute.o -c attribute.c
attribute.c:3:1: warning: bad option â-fdata-sectionsâ to attribute âoptimizeâ
[-Wattributes]
{
^
>From gcc-bugs-return-568190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 21:56:53 2017
Return-Path: <gcc-bugs-return-568190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19194 invoked by alias); 9 Jul 2017 21: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 19120 invoked by uid 48); 9 Jul 2017 21:56:47 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/81368] GCC reports bad option if -fdata-sections/-ffunction-sections is specified through #pragma or function attribute
Date: Sun, 09 Jul 2017 21:56: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: 7.1.1
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-81368-4-9fM9jZypHq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81368-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81368-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00741.txt.bz2
Content-length: 480
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81368
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |middle-end
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Most likely this should never have been accepted in previous versions of GCC in
that those versions had a bug.
>From gcc-bugs-return-568191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 21:58:17 2017
Return-Path: <gcc-bugs-return-568191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20552 invoked by alias); 9 Jul 2017 21:58: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 20504 invoked by uid 48); 9 Jul 2017 21:58:13 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/81368] GCC reports bad option if -fdata-sections/-ffunction-sections is specified through #pragma or function attribute
Date: Sun, 09 Jul 2017 21:58: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: 7.1.1
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:
Message-ID: <bug-81368-4-coFzho81Pd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81368-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81368-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00742.txt.bz2
Content-length: 324
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81368
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
What I meant is once -fdata-sections/-ffunction-section is set, it cannot be
unset. That meant in GCC 5.4, the option was not working correctly; just
working accidentally the way you wanted it to work.
>From gcc-bugs-return-568192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 22:06:57 2017
Return-Path: <gcc-bugs-return-568192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31012 invoked by alias); 9 Jul 2017 22:06: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 30958 invoked by uid 48); 9 Jul 2017 22:06:52 -0000
From: "sebastian.schrader at ossmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/81368] GCC reports bad option if -fdata-sections/-ffunction-sections is specified through #pragma or function attribute
Date: Sun, 09 Jul 2017 22: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: 7.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sebastian.schrader at ossmail 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-81368-4-gaPtfLQv1u@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81368-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81368-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00743.txt.bz2
Content-length: 276
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81368
--- Comment #3 from sebastian.schrader at ossmail dot de ---
I see. Is it just a limitation of the current implementation of
-fdata-sections/-ffunction-sections in GCC that it can't be unset or is it
generally impossible?
>From gcc-bugs-return-568193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 22:08:45 2017
Return-Path: <gcc-bugs-return-568193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39811 invoked by alias); 9 Jul 2017 22:08: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 39750 invoked by uid 48); 9 Jul 2017 22:08:41 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/69908] recognizing idioms that check for a buffer of all-zeros could make *much* better code
Date: Sun, 09 Jul 2017 22: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: 5.3.0
X-Bugzilla-Keywords: missed-optimization, ssemmx
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:
Message-ID: <bug-69908-4-KbNdj8kYyV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69908-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69908-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00744.txt.bz2
Content-length: 822
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69908
--- Comment #6 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Yuri Gribov from comment #5)
> Well, as we all know there are a lot of missing optimizations in GCC :) I
> think the real question is whether it's ever going to be fixed if there's no
> standard API for this code pattern which we can recognize as builtin.
>
> I believe the answer is "No". ATM GCC does not vectorize even the simplest
> memcpy equivalent code:
> // gcc tmp.c -O3 -mtune=native -ftree-vectorize -o- -S
> void memcpy_(char * __restrict a, char * __restrict b, unsigned n) {
> unsigned i;
> for (i = 0; i < n; ++i)
> a[i] = b[i];
> }
Please look again. ldist turns this into a call to memcpy. And if you disable
ldist, it does get vectorized.
>From gcc-bugs-return-568195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 22:12:11 2017
Return-Path: <gcc-bugs-return-568195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42486 invoked by alias); 9 Jul 2017 22:12: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 42163 invoked by uid 48); 9 Jul 2017 22:12:05 -0000
From: "reichelt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/65775] Late-specified return type bypasses return type checks (qualified, function, array)
Date: Sun, 09 Jul 2017 22:12: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.2
X-Bugzilla-Keywords: accepts-invalid, diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: reichelt 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-65775-4-I7p3i8e996@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65775-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65775-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00746.txt.bz2
Content-length: 452
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65775
Volker Reichelt <reichelt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu.org
--- Comment #5 from Volker Reichelt <reichelt at gcc dot gnu.org> ---
*** Bug 38797 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-568194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 22:12:08 2017
Return-Path: <gcc-bugs-return-568194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42203 invoked by alias); 9 Jul 2017 22:12: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 42143 invoked by uid 48); 9 Jul 2017 22:12:04 -0000
From: "reichelt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/38797] [c++0x] Missing warning about type qualifiers on late function return types
Date: Sun, 09 Jul 2017 22:12: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.4.0
X-Bugzilla-Keywords: diagnostic, monitored
X-Bugzilla-Severity: normal
X-Bugzilla-Who: reichelt 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: resolution
Message-ID: <bug-38797-4-PqTQfTYank@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-38797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-38797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00745.txt.bz2
Content-length: 535
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38797
Volker Reichelt <reichelt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|INVALID |DUPLICATE
--- Comment #3 from Volker Reichelt <reichelt at gcc dot gnu.org> ---
The check now works for late-specified return types due to PR65775.
Therefore, marking as duplicate.
*** This bug has been marked as a duplicate of bug 65775 ***
>From gcc-bugs-return-568196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 09 23:43:42 2017
Return-Path: <gcc-bugs-return-568196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89225 invoked by alias); 9 Jul 2017 23:43: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 89084 invoked by uid 48); 9 Jul 2017 23:43:36 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/81033] [8 Regression] Revision r249019 breaks bootstrap on darwin
Date: Sun, 09 Jul 2017 23:43: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: 8.0
X-Bugzilla-Keywords: build, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-81033-4-pmQZ8QoDje@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81033-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81033-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00747.txt.bz2
Content-length: 640
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81033
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #23 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Fixed.
Nope! Revision r249926 has several fall out for which I have to file relevant
PRs. In addition Jan Hubicka asked me on IRC to back port the fix. Please let
me manage this PR without interfering.
>From gcc-bugs-return-568197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 01:43:50 2017
Return-Path: <gcc-bugs-return-568197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87352 invoked by alias); 10 Jul 2017 01:43: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 87215 invoked by uid 48); 10 Jul 2017 01:43:44 -0000
From: "petrcvekcz at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/79145] [5/6 Regression] iwmmxt: Internal compiler error caused by an unrecognizable insn, during XORing long long with a char constant
Date: Mon, 10 Jul 2017 01: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: 6.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: petrcvekcz at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-79145-4-njE8pvgjAC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79145-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79145-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00748.txt.bz2
Content-length: 462
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79145
Petr Cvek <petrcvekcz at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #8 from Petr Cvek <petrcvekcz at gmail dot com> ---
Compilation does not fail.
Thanks for the fix.
>From gcc-bugs-return-568198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 04:42:20 2017
Return-Path: <gcc-bugs-return-568198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8841 invoked by alias); 10 Jul 2017 04:42: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 8763 invoked by uid 48); 10 Jul 2017 04:42:14 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81369] New: [8 Regression] ICE in generate_code_for_partition
Date: Mon, 10 Jul 2017 04: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: 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-81369-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00749.txt.bz2
Content-length: 1093
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81369
Bug ID: 81369
Summary: [8 Regression] ICE in generate_code_for_partition
Product: gcc
Version: 8.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-8.0.0-alpha20170709 snapshot ICEs when compiling the following snippet w/
-O2 -ftree-loop-distribution:
int wo;
void
sy (long int *as)
{
for (;;)
{
*as = wo;
while (as < 2)
{
int *y9;
if (wo != 0)
*y9 = &wo;
wo /= (wo != 0 && *y9 != 0);
++as;
}
}
}
% gcc-8.0.0-alpha20170709 -O2 -ftree-loop-distribution -c -w bghwqvet.c
during GIMPLE pass: ldist
bghwqvet.c: In function 'sy':
bghwqvet.c:4:1: internal compiler error: in generate_code_for_partition, at
tree-loop-distribution.c:1146
sy (long int *as)
^~
>From gcc-bugs-return-568199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 05:33:45 2017
Return-Path: <gcc-bugs-return-568199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73474 invoked by alias); 10 Jul 2017 05:33: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 72784 invoked by uid 48); 10 Jul 2017 05:32:42 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81371] New: Too much C++ templates output in output
Date: Mon, 10 Jul 2017 05:33: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: 5.4.0
X-Bugzilla-Keywords:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-81371-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00750.txt.bz2
Content-length: 1127
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81371
Bug ID: 81371
Summary: Too much C++ templates output in output
Product: gcc
Version: 5.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jg at jguk dot org
Target Milestone: ---
Hello
Could G++ store the function symbols in their form as per function declaration?
The symbol LD seems to be given the whole inheritance for template params, so
all the templates are output for a missing function void myfunc(string s1);
Expected something like:
$ g++ -Wall -o main main.cpp
/tmp/ccS79eZp.o: In function `main':
main.cpp:(.text+0x41): undefined reference to `myfunc(std::string)'
collect2: error: ld returned 1 exit status
What I actually got:
$ g++ -Wall -o main main.cpp
/tmp/ccS79eZp.o: In function `main':
main.cpp:(.text+0x41): undefined reference to
`myfunc(std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >)'
collect2: error: ld returned 1 exit status
>From gcc-bugs-return-568200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 06:01:15 2017
Return-Path: <gcc-bugs-return-568200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51795 invoked by alias); 10 Jul 2017 06:01: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 51371 invoked by uid 48); 10 Jul 2017 06:00:25 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81371] Too much C++ templates output in output
Date: Mon, 10 Jul 2017 06:01: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:
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: attachments.created
Message-ID: <bug-81371-4-ezU5J2gGYb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81371-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81371-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00751.txt.bz2
Content-length: 217
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81371
--- Comment #1 from Jon Grant <jg at jguk dot org> ---
Created attachment 41701
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41701&action=edit
Example
>From gcc-bugs-return-568201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 06:13:38 2017
Return-Path: <gcc-bugs-return-568201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55057 invoked by alias); 10 Jul 2017 06:13: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 54987 invoked by uid 48); 10 Jul 2017 06:13:32 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81371] Too many C++ templates output in build error
Date: Mon, 10 Jul 2017 06: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: 5.4.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:
Message-ID: <bug-81371-4-6jkYYRmv9t@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81371-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81371-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00752.txt.bz2
Content-length: 256
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81371
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The problem is std::string could be std::__cxx11::basic_string or just
std::basic_string depending on the ABI chosen at compile time.
>From gcc-bugs-return-568202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 06:20:50 2017
Return-Path: <gcc-bugs-return-568202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64199 invoked by alias); 10 Jul 2017 06:20: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 61893 invoked by uid 48); 10 Jul 2017 06:20:40 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81371] Too many C++ templates output in build error
Date: Mon, 10 Jul 2017 06:20: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:
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-81371-4-Y14xCmFpme@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81371-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81371-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00753.txt.bz2
Content-length: 639
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81371
--- Comment #3 from Jonny Grant <jg at jguk dot org> ---
Hello
Perhaps just std::__cxx11::basic_string or std::basic_string in the message?
But the char_traits and allocator aren't really needed are they? (I didn't
write them in the function declaration). I appreciate that a string contains
chars, and has an internal allocator, but I don't need to know this when
compiling..
So it could be:
main.cpp:(.text+0x41): undefined reference to
`myfunc(std::__cxx11::basic_string)'
It's worse when I have functions with many std::string parameters, and
std::vector
Regards, Jonny
>From gcc-bugs-return-568203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 06:22:50 2017
Return-Path: <gcc-bugs-return-568203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68490 invoked by alias); 10 Jul 2017 06:22: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 68451 invoked by uid 48); 10 Jul 2017 06:22:46 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81371] Too many C++ templates output in build error
Date: Mon, 10 Jul 2017 06: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:
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-81371-4-N8WJmLBvzB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81371-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81371-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00754.txt.bz2
Content-length: 278
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81371
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
basic_string in C++ is always defined as a template class with three template
arguments. Yes most folks don't know the C++ standard but it is what it is.
>From gcc-bugs-return-568204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 07:01:18 2017
Return-Path: <gcc-bugs-return-568204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31684 invoked by alias); 10 Jul 2017 07:01: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 31611 invoked by uid 48); 10 Jul 2017 07:01:12 -0000
From: "tetra2005 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/69908] recognizing idioms that check for a buffer of all-zeros could make *much* better code
Date: Mon, 10 Jul 2017 07: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: 5.3.0
X-Bugzilla-Keywords: missed-optimization, ssemmx
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tetra2005 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-69908-4-dwoDFJb87x@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69908-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69908-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00755.txt.bz2
Content-length: 1117
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69908
--- Comment #7 from Yuri Gribov <tetra2005 at gmail dot com> ---
(In reply to Marc Glisse from comment #6)
> (In reply to Yuri Gribov from comment #5)
> > Well, as we all know there are a lot of missing optimizations in GCC :) I
> > think the real question is whether it's ever going to be fixed if there's no
> > standard API for this code pattern which we can recognize as builtin.
> >
> > I believe the answer is "No". ATM GCC does not vectorize even the simplest
> > memcpy equivalent code:
> > // gcc tmp.c -O3 -mtune=native -ftree-vectorize -o- -S
> > void memcpy_(char * __restrict a, char * __restrict b, unsigned n) {
> > unsigned i;
> > for (i = 0; i < n; ++i)
> > a[i] = b[i];
> > }
>
> Please look again. ldist turns this into a call to memcpy. And if you
> disable ldist, it does get vectorized.
Hm, I've just tried r249806 both with -ftree-loop-distribution and
-fno-tree-loop-distribution on top of flags above without any changes in
output. This may depend on revision/flags/machine, which ones did you use?
>From gcc-bugs-return-568205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 07:02:13 2017
Return-Path: <gcc-bugs-return-568205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33756 invoked by alias); 10 Jul 2017 07: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 33643 invoked by uid 48); 10 Jul 2017 07:02:08 -0000
From: "abinaya.manikandan at wipro dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/81372] New: gcc-620 syntax issues
Date: Mon, 10 Jul 2017 07:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: abinaya.manikandan at wipro 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-81372-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00756.txt.bz2
Content-length: 1608
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81372
Bug ID: 81372
Summary: gcc-620 syntax issues
Product: gcc
Version: 6.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: abinaya.manikandan at wipro dot com
Target Milestone: ---
Hi,
We have added user requested flag " --disable-hosted-libstdcxx" in our spec.
So while building gcc_v620 we are facing below syntax issues.
../../libcpp/charset.c: In function 'bool cpp_interpret_string(cpp_reader*,
const cpp_string*, size_t, cpp_string*, cpp_ttype)':
../../libcpp/charset.c:1453:18: error: 'free' was not declared in this scope
free (tbuf.text);
^
../../libcpp/charset.c: In function 'cppchar_t
cpp_interpret_charconst(cpp_reader*, const cpp_token*, unsigned int*, int*)':
../../libcpp/charset.c:1641:27: error: 'free' was not declared in this scope
free ((void *)str.text);
^
../../libcpp/charset.c: In function 'uchar* _cpp_convert_input(cpp_reader*,
const char*, uchar*, size_t, size_t, const unsigned char**, off_t*)':
../../libcpp/charset.c:1740:18: error: 'free' was not declared in this scope
free (input);
^
make[3]: *** [charset.o] Error 1
make[3]: Leaving directory `/ephemeral/rpmbuild/BUILD/gcc-6.2.0/build/libcpp'
make[2]: *** [all-stage2-libcpp] Error 2
make[2]: *** Waiting for unfinished jobs....
anyone please help me on this.
Thanks in Advance!
Regards,
Abinaya sandhiya
>From gcc-bugs-return-568206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 07:06:49 2017
Return-Path: <gcc-bugs-return-568206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44131 invoked by alias); 10 Jul 2017 07: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 44077 invoked by uid 48); 10 Jul 2017 07:06:41 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/81372] gcc-620 syntax issues
Date: Mon, 10 Jul 2017 07:06: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: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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-81372-4-WGDQGtOuq8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81372-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81372-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00757.txt.bz2
Content-length: 544
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81372
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |WONTFIX
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
--disable-hosted-libstdcxx can't be used with bootstrapping. Use either
--disable-bootstrap or produce a cross compiler.
>From gcc-bugs-return-568207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 07:13:11 2017
Return-Path: <gcc-bugs-return-568207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34061 invoked by alias); 10 Jul 2017 07:13: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 28316 invoked by uid 48); 10 Jul 2017 07:13:05 -0000
From: "rdapp at linux dot vnet.ibm.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81362] [8.0 regression] FAIL: gcc.dg/vect/no-vfa-vect-57.c execution test
Date: Mon, 10 Jul 2017 07:13: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rdapp at linux dot vnet.ibm.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-81362-4-jdIxrZpMBZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81362-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81362-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00758.txt.bz2
Content-length: 597
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81362
--- Comment #1 from rdapp at linux dot vnet.ibm.com ---
Could you provide the vectorizer dump (-fdump-tree-vect-details)? The generated
assembly might also be interesting as well as the exact command line for
building (in the test suite logs). I compiled --with-cpu-64=power4 yet cannot
reproduce the FAIL. For me, the compile options set by the test suite are
-maltivec -mvsx -mno-allow-movmisalign -ftree-vectorize -fno-vect-cost-model
-fno-common -O2 -fdump-tree-vect-details --param
vect-max-version-for-alias-checks=0 -lm -m32
>From gcc-bugs-return-568209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 07:13:52 2017
Return-Path: <gcc-bugs-return-568209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67592 invoked by alias); 10 Jul 2017 07:13: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 65092 invoked by uid 48); 10 Jul 2017 07:13:47 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/27768] [4.1 regression] wrong-code with vectors
Date: Mon, 10 Jul 2017 07:13: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: 4.2.0
X-Bugzilla-Keywords: alias, monitored, wrong-code
X-Bugzilla-Severity: critical
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.1.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-27768-4-tPtF38ryJk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-27768-4@http.gcc.gnu.org/bugzilla/>
References: <bug-27768-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00760.txt.bz2
Content-length: 507
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27768
Bug 27768 depends on bug 19817, which changed state.
Bug 19817 Summary: C++ front-end produces a cast instead of just &a.b (when call the destructor)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19817
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
>From gcc-bugs-return-568208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 07:13:49 2017
Return-Path: <gcc-bugs-return-568208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66574 invoked by alias); 10 Jul 2017 07:13: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 61372 invoked by uid 48); 10 Jul 2017 07:13:43 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/19817] C++ front-end produces a cast instead of just &a.b (when call the destructor)
Date: Mon, 10 Jul 2017 07: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: 4.0.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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: bug_status resolution
Message-ID: <bug-19817-4-jhixySx5s6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-19817-4@http.gcc.gnu.org/bugzilla/>
References: <bug-19817-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00759.txt.bz2
Content-length: 466
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19817
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is not needed any more due to MEM_REF.
>From gcc-bugs-return-568210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 07:14:48 2017
Return-Path: <gcc-bugs-return-568210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116859 invoked by alias); 10 Jul 2017 07:14: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 114085 invoked by uid 48); 10 Jul 2017 07:14:43 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/81340] ICE in compute_bb_dataflow, at var-tracking.c:6877
Date: Mon, 10 Jul 2017 07: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: 8.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 cf_reconfirmed_on cc assigned_to everconfirmed
Message-ID: <bug-81340-4-gDB6YpENvq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81340-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81340-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00761.txt.bz2
Content-length: 656
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81340
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2017-07-10
CC|mliska at suse dot cz |marxin at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Mine.
>From gcc-bugs-return-568211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 07:17:14 2017
Return-Path: <gcc-bugs-return-568211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38809 invoked by alias); 10 Jul 2017 07:17: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 30821 invoked by uid 48); 10 Jul 2017 07:17:08 -0000
From: "abinaya.manikandan at wipro dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/81372] gcc-620 syntax issues
Date: Mon, 10 Jul 2017 07:17: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: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: abinaya.manikandan at wipro dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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-81372-4-EX33pSwBHb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81372-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81372-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00762.txt.bz2
Content-length: 329
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81372
--- Comment #2 from Abinaya <abinaya.manikandan at wipro dot com> ---
Hi Pinski,
Thanks for your quick reply.
Could you please let me know what is the difference between that
--disable-hosted-libstdcxx and --disable-bootstrap.
Why we are using this flag?
Regards,
Abinaya
>From gcc-bugs-return-568212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 07:20:30 2017
Return-Path: <gcc-bugs-return-568212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127669 invoked by alias); 10 Jul 2017 07:20: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 114550 invoked by uid 48); 10 Jul 2017 07:20:23 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/59521] __builtin_expect not effective in switch
Date: Mon, 10 Jul 2017 07:20: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.9.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-59521-4-JfEwglbQk8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59521-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59521-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00763.txt.bz2
Content-length: 473
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59521
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
I'll take a look.
>From gcc-bugs-return-568213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 07:22:19 2017
Return-Path: <gcc-bugs-return-568213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39611 invoked by alias); 10 Jul 2017 07:22: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 39534 invoked by uid 48); 10 Jul 2017 07:22:15 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions
Date: Mon, 10 Jul 2017 07:22: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: 7.1.0
X-Bugzilla-Keywords:
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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81021-4-4VM01XXOmC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00764.txt.bz2
Content-length: 305
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021
--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Avi Kivity from comment #7)
> Hitting something similar-looking on Fedora 26's gcc 7.1.1.
Can you please provide a test-case so that I can verify it's the same issue?
>From gcc-bugs-return-568214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 07:31:10 2017
Return-Path: <gcc-bugs-return-568214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48019 invoked by alias); 10 Jul 2017 07:31: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 47947 invoked by uid 48); 10 Jul 2017 07:31:05 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/81372] gcc-620 syntax issues
Date: Mon, 10 Jul 2017 07:31: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: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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-81372-4-QRjuh7Crtx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81372-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81372-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00765.txt.bz2
Content-length: 459
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81372
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
--disable-hosted-libstdcxx means are not producing a hosted libstdc++ but
compiling GCC requires a hosted C++ Library (for stage 2). Really any native
GCC will require a hosted C++ Library.
There is no reason to use --disable-hosted-libstdcxx except for a cross
compiler where there is another standard C++ library that will be used.
>From gcc-bugs-return-568215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 07:42:05 2017
Return-Path: <gcc-bugs-return-568215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42665 invoked by alias); 10 Jul 2017 07:42: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 42456 invoked by uid 48); 10 Jul 2017 07:42:00 -0000
From: "abinaya.manikandan at wipro dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/81372] gcc-620 syntax issues
Date: Mon, 10 Jul 2017 07:42: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: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: abinaya.manikandan at wipro dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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-81372-4-EDJ848ixBC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81372-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81372-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00766.txt.bz2
Content-length: 213
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81372
--- Comment #4 from Abinaya <abinaya.manikandan at wipro dot com> ---
Thank you so much.
If we need any help will continue on this ticket.
Have a great day:)
>From gcc-bugs-return-568216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 07:46:13 2017
Return-Path: <gcc-bugs-return-568216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56265 invoked by alias); 10 Jul 2017 07:46: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 55570 invoked by uid 48); 10 Jul 2017 07:46:09 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81346] Missed constant propagation into comparison
Date: Mon, 10 Jul 2017 07: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: unknown
X-Bugzilla-Keywords:
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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to
Message-ID: <bug-81346-4-oMv8S0WRzf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81346-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81346-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00767.txt.bz2
Content-length: 406
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81346
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Working on a patch.
>From gcc-bugs-return-568219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 07:56:52 2017
Return-Path: <gcc-bugs-return-568219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102121 invoked by alias); 10 Jul 2017 07:56: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 102039 invoked by uid 48); 10 Jul 2017 07:56:48 -0000
From: "avi@cloudius-systems.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions
Date: Mon, 10 Jul 2017 07:56: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: 7.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: avi@cloudius-systems.com
X-Bugzilla-Status: NEW
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-81021-4-OnjMKgmkQn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00770.txt.bz2
Content-length: 192
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021
--- Comment #10 from Avi Kivity <avi@cloudius-systems.com> ---
Oh, and a binary that triggers it is build/release/tests/view_schema_test.
>From gcc-bugs-return-568217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 07:56:00 2017
Return-Path: <gcc-bugs-return-568217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100046 invoked by alias); 10 Jul 2017 07: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 99963 invoked by uid 48); 10 Jul 2017 07:55:54 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/81360] [8 Regression] ice in estimate_edge_growth, at ipa-inline.h:86
Date: Mon, 10 Jul 2017 07:56: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.0
X-Bugzilla-Keywords: ice-on-valid-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-81360-4-0WDXE1ufml@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81360-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81360-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00768.txt.bz2
Content-length: 510
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81360
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-07-10
Ever confirmed|0 |1
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, started with r250048.
>From gcc-bugs-return-568218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 07:56:17 2017
Return-Path: <gcc-bugs-return-568218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101014 invoked by alias); 10 Jul 2017 07:56: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 100906 invoked by uid 48); 10 Jul 2017 07:56:12 -0000
From: "avi@cloudius-systems.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions
Date: Mon, 10 Jul 2017 07:56: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: 7.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: avi@cloudius-systems.com
X-Bugzilla-Status: NEW
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-81021-4-UWmwGPQhqu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00769.txt.bz2
Content-length: 577
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021
--- Comment #9 from Avi Kivity <avi@cloudius-systems.com> ---
(In reply to Martin Liška from comment #8)
> (In reply to Avi Kivity from comment #7)
> > Hitting something similar-looking on Fedora 26's gcc 7.1.1.
>
> Can you please provide a test-case so that I can verify it's the same issue?
It's https://github.com/scylladb/scylla (see HACKING.md for build instructions;
easiest on Fedora 26).
It needs tons of memory and cpu time to build; I'm also building gcc with the
patch backported to test myself.
>From gcc-bugs-return-568220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 08:01:01 2017
Return-Path: <gcc-bugs-return-568220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105843 invoked by alias); 10 Jul 2017 08:01: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 105351 invoked by uid 48); 10 Jul 2017 08:00:50 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81373] New: [7/8 Regression] Graphite ICE in ssa_default_def at gcc/tree-dfa.c:305
Date: Mon, 10 Jul 2017 08:01: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: 7.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin 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 cc target_milestone
Message-ID: <bug-81373-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00771.txt.bz2
Content-length: 1976
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81373
Bug ID: 81373
Summary: [7/8 Regression] Graphite ICE in ssa_default_def at
gcc/tree-dfa.c:305
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: rguenth at gcc dot gnu.org
Target Milestone: ---
Following fails starting with r239357:
$ gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/graphite/scop-2.c
-fno-tree-scev-cprop -fgraphite-identity -O1
during GIMPLE pass: graphite
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/graphite/scop-2.c: In
function âtotoâ:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/graphite/scop-2.c:3:5:
internal compiler error: Segmentation fault
int toto()
^~~~
0xbd4e9f crash_signal
../../gcc/toplev.c:338
0xc2bb67 ssa_default_def(function*, tree_node*)
../../gcc/tree-dfa.c:305
0xc2e400 get_or_create_ssa_default_def(function*, tree_node*)
../../gcc/tree-dfa.c:362
0xc66dc3 get_reaching_def
../../gcc/tree-into-ssa.c:1227
0xc677a5 rewrite_update_phi_arguments
../../gcc/tree-into-ssa.c:2111
0xc677a5 rewrite_update_dom_walker::before_dom_children(basic_block_def*)
../../gcc/tree-into-ssa.c:2231
0x1395d43 dom_walker::walk(basic_block_def*)
../../gcc/domwalk.c:265
0xc6395f rewrite_blocks
../../gcc/tree-into-ssa.c:2288
0xc6c71c update_ssa(unsigned int)
../../gcc/tree-into-ssa.c:3463
0x13d267c graphite_regenerate_ast_isl(scop*)
../../gcc/graphite-isl-ast-to-gimple.c:3051
0x13c8ed8 graphite_transform_loops()
../../gcc/graphite.c:344
0x13c9820 graphite_transforms
../../gcc/graphite.c:376
0x13c9820 execute
../../gcc/graphite.c:453
>From gcc-bugs-return-568221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 08:04:50 2017
Return-Path: <gcc-bugs-return-568221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113210 invoked by alias); 10 Jul 2017 08:04: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 113131 invoked by uid 48); 10 Jul 2017 08:04:45 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81374] New: [8 Regression] ICE in bb_top_order_cmp, at tree-loop-distribution.c:391
Date: Mon, 10 Jul 2017 08:04: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: 7.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin 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 cc target_milestone
Message-ID: <bug-81374-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00772.txt.bz2
Content-length: 3260
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81374
Bug ID: 81374
Summary: [8 Regression] ICE in bb_top_order_cmp, at
tree-loop-distribution.c:391
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: amker at gcc dot gnu.org
Target Milestone: ---
Starting from r249985 we ICE on:
$ gcc
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx2-vec-mask-bit-not.c
-O3 -fno-tree-scev-cprop
during GIMPLE pass: ldist
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx2-vec-mask-bit-not.c:
In function âtestâ:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx2-vec-mask-bit-not.c:11:1:
internal compiler error: in bb_top_order_cmp, at tree-loop-distribution.c:484
test (void)
^~~~
0xc36db0 bb_top_order_cmp
../../gcc/tree-loop-distribution.c:483
0x74dbc4 get_loop_body_in_custom_order(loop const*, int (*)(void const*, void
const*))
../../gcc/cfgloop.c:914
0xc3832b stmts_from_loop
../../gcc/tree-loop-distribution.c:501
0xc3832b build_rdg
../../gcc/tree-loop-distribution.c:562
0xc3a220 distribute_loop
../../gcc/tree-loop-distribution.c:2386
0xc3d454 execute
../../gcc/tree-loop-distribution.c:2713
Probably the same also happens for:
$ ./xgcc -B.
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx512f-vpunpckldq-2.c
-fno-tree-scev-cprop -mavx512vl -fno-tree-sink -O3
during GIMPLE pass: ldist
In file included from
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx512f-vpunpckldq-2.c:7:0:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx512f-vpunpckldq-2.c:
In function âtest_512â:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx512f-helper.h:108:19:
internal compiler error: in bb_top_order_cmp, at tree-loop-distribution.c:484
#define TEST EVAL(test_, AVX512F_LEN,)
^~~~~
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx512f-helper.h:36:23:
note: in definition of macro âCONCATâ
#define CONCAT(a,b,c) a ## b ## c
^
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx512f-helper.h:108:14:
note: in expansion of macro âEVALâ
#define TEST EVAL(test_, AVX512F_LEN,)
^~~~
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx512f-vpunpckldq-2.c:26:1:
note: in expansion of macro âTESTâ
TEST (void)
^~~~
0xc36db0 bb_top_order_cmp
../../gcc/tree-loop-distribution.c:483
0x74dbc4 get_loop_body_in_custom_order(loop const*, int (*)(void const*, void
const*))
../../gcc/cfgloop.c:914
0xc3832b stmts_from_loop
../../gcc/tree-loop-distribution.c:501
0xc3832b build_rdg
../../gcc/tree-loop-distribution.c:562
0xc3a220 distribute_loop
../../gcc/tree-loop-distribution.c:2386
0xc3d454 execute
../../gcc/tree-loop-distribution.c:2713
Please submit a full bug report,
>From gcc-bugs-return-568222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 08:06:59 2017
Return-Path: <gcc-bugs-return-568222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119836 invoked by alias); 10 Jul 2017 08:06: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 119793 invoked by uid 48); 10 Jul 2017 08:06:55 -0000
From: "kyukhin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/80133] [bootstrap] ICE during build on PPC64-linux.
Date: Mon, 10 Jul 2017 08: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: 7.0.1
X-Bugzilla-Keywords: build, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kyukhin 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-80133-4-ADE8AsoJ86@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80133-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80133-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00773.txt.bz2
Content-length: 535
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80133
Kirill Yukhin <kyukhin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Kirill Yukhin <kyukhin at gcc dot gnu.org> ---
I was trying to build GCC w/ some really old host compiler.
After I upgraded host GCC to 4.6 - issue was resolved.
>From gcc-bugs-return-568223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 08:09:12 2017
Return-Path: <gcc-bugs-return-568223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129573 invoked by alias); 10 Jul 2017 08:09: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 129463 invoked by uid 48); 10 Jul 2017 08:09:03 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81375] New: [6/7/8 Regression] unrecognizable insn
Date: Mon, 10 Jul 2017 08:09: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin 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 cc target_milestone cf_gcchost cf_gcctarget cf_gccbuild
Message-ID: <bug-81375-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00774.txt.bz2
Content-length: 1399
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81375
Bug ID: 81375
Summary: [6/7/8 Regression] unrecognizable insn
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: hjl at gnu dot org
Target Milestone: ---
Host: x86_64-linux-gnu
Target: x86_64-linux-gnu
Build: x86_64-linux-gnu
It's a crappy scenario, but still it ICEs:
gfortran
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/vect/fast-math-vect-8.f90
-march=lakemont -mfpmath=387+sse -m32
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/vect/fast-math-vect-8.f90:60:0:
return
Error: unrecognizable insn:
(insn 78 77 79 6 (set (reg:SF 102 [ _16 ])
(div:SF (reg:SF 218)
(reg:SF 101 [ _15 ])))
"/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/vect/fast-math-vect-8.f90":31
-1
(nil))
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/vect/fast-math-vect-8.f90:60:0:
internal compiler error: in extract_insn, at recog.c:2311
Started with r229082, before that we did:
f951: Error: bad value (lakemont) for -march= switch
f951: Warning: SSE instruction set disabled, using 387 arithmetics
>From gcc-bugs-return-568224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 08:11:06 2017
Return-Path: <gcc-bugs-return-568224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1766 invoked by alias); 10 Jul 2017 08:11: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 1371 invoked by uid 48); 10 Jul 2017 08:11:02 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions
Date: Mon, 10 Jul 2017 08:11: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: 7.1.0
X-Bugzilla-Keywords:
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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81021-4-AggdNHICoZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00775.txt.bz2
Content-length: 347
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021
--- Comment #11 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Avi Kivity from comment #10)
> Oh, and a binary that triggers it is build/release/tests/view_schema_test.
Can you please provide the error from sanitizer, I can investigate the code
whether it's same or not.
>From gcc-bugs-return-568225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 08:23:25 2017
Return-Path: <gcc-bugs-return-568225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35581 invoked by alias); 10 Jul 2017 08:23: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 35540 invoked by uid 55); 10 Jul 2017 08:23:20 -0000
From: "gjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81075] [avr] Move jump-tables out of .text
Date: Mon, 10 Jul 2017 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: 6.2.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gjl at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: gjl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81075-4-Y8esLcuspV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81075-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81075-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00776.txt.bz2
Content-length: 1416
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81075
--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Author: gjl
Date: Mon Jul 10 08:22:47 2017
New Revision: 250091
URL: https://gcc.gnu.org/viewcvs?rev=250091&root=gcc&view=rev
Log:
gcc/
Move jump-tables out of .text again.
PR target/81075
* config/avr/avr.c (ASM_OUTPUT_ADDR_VEC_ELT): Remove function.
(ASM_OUTPUT_ADDR_VEC): New function.
(avr_adjust_insn_length) [JUMP_TABLE_DATA_P]: Return 0.
(avr_final_prescan_insn) [avr_log.insn_addresses]: Dump
INSN_ADDRESSes as asm comment.
* config/avr/avr.h (JUMP_TABLES_IN_TEXT_SECTION): Adjust comment.
(ASM_OUTPUT_ADDR_VEC_ELT): Remove define.
(ASM_OUTPUT_ADDR_VEC): Define to avr_output_addr_vec.
* config/avr/avr.md (*tablejump): Adjust comment.
* config/avr/elf.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
* config/avr/avr-log.c (avr_log_set_avr_log) <insn_addresses>:
New detail.
* config/avr/avr-protos.h (avr_output_addr_vec_elt): Remove proto.
(avr_output_addr_vec): New proto.
(avr_log_t) <insn_addresses>: New field.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr-log.c
trunk/gcc/config/avr/avr-protos.h
trunk/gcc/config/avr/avr.c
trunk/gcc/config/avr/avr.h
trunk/gcc/config/avr/avr.md
trunk/gcc/config/avr/elf.h
>From gcc-bugs-return-568226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 08:31:29 2017
Return-Path: <gcc-bugs-return-568226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108298 invoked by alias); 10 Jul 2017 08:31: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 108066 invoked by uid 48); 10 Jul 2017 08:31:16 -0000
From: "duarte at scylladb dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions
Date: Mon, 10 Jul 2017 08:31: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: 7.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: duarte at scylladb dot com
X-Bugzilla-Status: NEW
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-81021-4-YNUBd5od4H@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00777.txt.bz2
Content-length: 412
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021
--- Comment #12 from Duarte <duarte at scylladb dot com> ---
(In reply to Avi Kivity from comment #10)
> Oh, and a binary that triggers it is build/release/tests/view_schema_test.
Should be build/debug/tests/view_schema_test. For reference, other binaries
affected by this issue are build/debug/tests/mutation_test and
build/debug/tests/schema_change_test.
>From gcc-bugs-return-568227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 08:43:20 2017
Return-Path: <gcc-bugs-return-568227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35967 invoked by alias); 10 Jul 2017 08:43: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 35648 invoked by uid 48); 10 Jul 2017 08:43:12 -0000
From: "avi@cloudius-systems.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions
Date: Mon, 10 Jul 2017 08:43: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: 7.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: avi@cloudius-systems.com
X-Bugzilla-Status: NEW
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-81021-4-NsN1PurJ7h@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00778.txt.bz2
Content-length: 31749
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021
--- Comment #13 from Avi Kivity <avi@cloudius-systems.com> ---
Output:
$ build/debug/tests/view_schema_test_g -- --smp 1 -m 1G
WARNING: debug mode. Not for benchmarking or production
Running 60 test cases...
WARN 2017-07-10 11:41:14,955 seastar - Seastar compiled with default
allocator, heap profiler not supported
==7130==WARNING: ASan doesn't fully support makecontext/swapcontext functions
and may produce false positives in some cases!
INFO 2017-07-10 11:41:15,021 [shard 0] messaging_service - Starting Messaging
Service on port 7000
INFO 2017-07-10 11:41:15,026 [shard 0] database - Row: max_vector_size: 32,
internal_count: 5
INFO 2017-07-10 11:41:15,113 [shard 0] database - Setting compaction strategy
of system_schema.keyspaces to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,138 [shard 0] database - Setting compaction strategy
of system_schema.tables to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,151 [shard 0] database - Setting compaction strategy
of system_schema.columns to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,165 [shard 0] database - Setting compaction strategy
of system_schema.dropped_columns to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,176 [shard 0] database - Setting compaction strategy
of system_schema.triggers to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,200 [shard 0] database - Setting compaction strategy
of system_schema.views to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,211 [shard 0] database - Setting compaction strategy
of system_schema.indexes to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,225 [shard 0] database - Setting compaction strategy
of system_schema.types to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,241 [shard 0] database - Setting compaction strategy
of system_schema.functions to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,253 [shard 0] database - Setting compaction strategy
of system_schema.aggregates to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,263 [shard 0] database - Setting compaction strategy
of system.IndexInfo to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,275 [shard 0] database - Setting compaction strategy
of system.hints to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,287 [shard 0] database - Setting compaction strategy
of system.batchlog to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,301 [shard 0] database - Setting compaction strategy
of system.paxos to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,323 [shard 0] database - Setting compaction strategy
of system.local to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,341 [shard 0] database - Setting compaction strategy
of system.peers to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,350 [shard 0] database - Setting compaction strategy
of system.peer_events to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,360 [shard 0] database - Setting compaction strategy
of system.range_xfers to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,373 [shard 0] database - Setting compaction strategy
of system.compactions_in_progress to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,387 [shard 0] database - Setting compaction strategy
of system.compaction_history to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,401 [shard 0] database - Setting compaction strategy
of system.sstable_activity to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,412 [shard 0] database - Setting compaction strategy
of system.size_estimates to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,426 [shard 0] database - Setting compaction strategy
of system.schema_keyspaces to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,457 [shard 0] database - Setting compaction strategy
of system.schema_columnfamilies to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,473 [shard 0] database - Setting compaction strategy
of system.schema_columns to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,483 [shard 0] database - Setting compaction strategy
of system.schema_triggers to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,497 [shard 0] database - Setting compaction strategy
of system.schema_usertypes to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,512 [shard 0] database - Setting compaction strategy
of system.schema_functions to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,529 [shard 0] database - Setting compaction strategy
of system.schema_aggregates to SizeTieredCompactionStrategy
INFO 2017-07-10 11:41:15,530 [shard 0] database - Populating Keyspace
system_schema
INFO 2017-07-10 11:41:15,531 [shard 0] database - Keyspace system_schema:
Reading CF aggregates
INFO 2017-07-10 11:41:15,572 [shard 0] database - Keyspace system_schema:
Reading CF functions
INFO 2017-07-10 11:41:15,615 [shard 0] database - Keyspace system_schema:
Reading CF indexes
INFO 2017-07-10 11:41:15,658 [shard 0] database - Keyspace system_schema:
Reading CF tables
INFO 2017-07-10 11:41:15,700 [shard 0] database - Keyspace system_schema:
Reading CF dropped_columns
INFO 2017-07-10 11:41:15,743 [shard 0] database - Keyspace system_schema:
Reading CF types
INFO 2017-07-10 11:41:15,787 [shard 0] database - Keyspace system_schema:
Reading CF keyspaces
INFO 2017-07-10 11:41:15,831 [shard 0] database - Keyspace system_schema:
Reading CF columns
INFO 2017-07-10 11:41:15,874 [shard 0] database - Keyspace system_schema:
Reading CF triggers
INFO 2017-07-10 11:41:15,917 [shard 0] database - Keyspace system_schema:
Reading CF views
INFO 2017-07-10 11:41:15,971 [shard 0] database - Populating Keyspace system
INFO 2017-07-10 11:41:15,971 [shard 0] database - Keyspace system: Reading CF
schema_aggregates
INFO 2017-07-10 11:41:16,014 [shard 0] database - Keyspace system: Reading CF
schema_functions
INFO 2017-07-10 11:41:16,057 [shard 0] database - Keyspace system: Reading CF
schema_usertypes
INFO 2017-07-10 11:41:16,099 [shard 0] database - Keyspace system: Reading CF
peers
INFO 2017-07-10 11:41:16,141 [shard 0] database - Keyspace system: Reading CF
schema_triggers
INFO 2017-07-10 11:41:16,184 [shard 0] database - Keyspace system: Reading CF
local
INFO 2017-07-10 11:41:16,226 [shard 0] database - Keyspace system: Reading CF
schema_keyspaces
INFO 2017-07-10 11:41:16,269 [shard 0] database - Keyspace system: Reading CF
paxos
INFO 2017-07-10 11:41:16,312 [shard 0] database - Keyspace system: Reading CF
batchlog
INFO 2017-07-10 11:41:16,354 [shard 0] database - Keyspace system: Reading CF
size_estimates
INFO 2017-07-10 11:41:16,396 [shard 0] database - Keyspace system: Reading CF
IndexInfo
INFO 2017-07-10 11:41:16,439 [shard 0] database - Keyspace system: Reading CF
range_xfers
INFO 2017-07-10 11:41:16,482 [shard 0] database - Keyspace system: Reading CF
compactions_in_progress
INFO 2017-07-10 11:41:16,525 [shard 0] database - Keyspace system: Reading CF
hints
INFO 2017-07-10 11:41:16,569 [shard 0] database - Keyspace system: Reading CF
compaction_history
INFO 2017-07-10 11:41:16,610 [shard 0] database - Keyspace system: Reading CF
peer_events
INFO 2017-07-10 11:41:16,653 [shard 0] database - Keyspace system: Reading CF
sstable_activity
INFO 2017-07-10 11:41:16,696 [shard 0] database - Keyspace system: Reading CF
schema_columnfamilies
INFO 2017-07-10 11:41:16,738 [shard 0] database - Keyspace system: Reading CF
schema_columns
WARN 2017-07-10 11:41:17,636 [shard 0] database - Skipping undefined keyspace:
commitlog.dir
INFO 2017-07-10 11:41:17,681 [shard 0] storage_service - Loading persisted
ring state
INFO 2017-07-10 11:41:17,691 [shard 0] storage_service - load_peer_features:
peer_features size=0
INFO 2017-07-10 11:41:17,691 [shard 0] storage_service - Checking remote
features skipped, since this node is a new seed node which knows nothing about
the cluster
INFO 2017-07-10 11:41:17,823 [shard 0] storage_service - Starting up server
gossip
INFO 2017-07-10 11:41:17,953 [shard 0] messaging_service - Starting Messaging
Service on port 7000
INFO 2017-07-10 11:41:18,057 [shard 0] database - Schema version changed to
59adb24e-f3cd-3e02-97f0-5b395827453f
INFO 2017-07-10 11:41:18,102 [shard 0] storage_service - This node will not
auto bootstrap because it is configured to be a seed node.
INFO 2017-07-10 11:41:18,109 [shard 0] storage_service - Generated random
tokens. tokens are {5277017775470228232, -3149032176503632173,
6918678879915053103, -6214059385919638191, 431518700249747231,
-2795520657113736572, -9171576655963096531, -4236095787031081532,
-862742671094537682, -8786752690166129600, -794561857450593587,
4280499881535802017, -5254270875140267035, 8576469168768206662,
7603559258420162578, 9203421070445168457, 1965934070155273368,
-8714145087808133711, 201509160966781703, 5618298268306836006,
1222683424586290082, -8794375030421978821, 1811798210834461323,
1107322262212111991, -2285242727787964858, -8556080526733354592,
-3737909030439096473, -6723038530593856458, -6531722454757872447,
7609157480713920819, 3223968038723178127, -4920796840658363696,
-6171622099032705176, -3636630340658873271, -3798310933864147217,
3369128621765164656, 3500118117754486898, -1526654947517780574,
284579136422396478, 1961523005439521634, 2456063035677020331,
-2090772194978868834, -4495343564310927573, -6497871392230163591,
4784374479910449914, -553319205009893408, -861694641480896039,
3889323806968516224, 6431810399906284122, -660879007195459292,
-5230356761069292043, 2944864738543723420, 8146340287861716001,
1811314971692508645, 2078317847706225173, -3666082038053298337,
-9194675185869479406, 4963616799241321100, 5611114226450976338,
6153982833108503554, 6763094016138499808, 4074010566085689515,
5113766936376121209, 2321067787764961022, 3013219229139303437,
2379100950945208352, -5362175870843682657, -3060344689905207117,
-4136760943793516623, 4704252142101803275, -4834626097888479167,
-5328822815818541760, -7978118885021032382, -7123134448010757672,
4467206096391582825, 3164753419578643811, -5129852743422530855,
957744560650596721, 1915802836757386300, -3858403897874012575,
-3098097984096299369, -7475220334192342022, 4643101791818822553,
2961284724578411456, -74052646822649718, -3305355950088603673,
-8326161457349473048, 5324380674624003558, 3820204443284041232,
-4953521240695843861, 1591403258715213023, -146190511374040940,
2217095833913961599, 5209600754722468059, -4852904940987897568,
-2608879648961693850, 714472393579150367, -3133878073266057171,
8246635347271898930, -2724471908154653789, -5705685456265636161,
1359956809699057541, -206076922347835399, 6366138749414281464,
6540358945660468872, -631133175253971822, -6628637206719785000,
-2906426982270429430, -8394994385276009641, -8797250288713679045,
3093049289988779517, 2250901526199599924, -1005927695454676467,
7319829808469568663, 8081718430081243705, 5727518238667703436,
-3692789498306194774, 1962812807096680182, -222571430943243441,
5369442114722151154, 3108003686421710978, -2428815741054963959,
-245989541129556317, -362287780358971353, -6314744459329608615,
-6438251120987526228, 8296887618090334790, -8621074758944893441,
5233598531116091025, 7739609218967273266, 1518217212077664801,
5385316569069229535, 3696319673368847556, 8023110829857289340,
-2245747907366892349, -7181966470622069155, -5471566543868058604,
6333139432811292792, 8705423835063178360, -6570305392799039413,
2158313343400598561, 8865082921666912174, -7877916836002986142,
7040916577112724433, -5007528877769182900, -1671538483673809220,
-2552440704217853242, 6736839334881147503, -4514835216881263566,
-6570440945175133226, 1877199639196945732, -1435804309482919606,
9160807649866047676, 9090651636172848294, 7197799920595750043,
3423721910129576296, -8594249671502201188, -4464132814935342123,
197295883190268528, 8403560927793850950, 4530187890895994561,
4664071858863586825, 1364408225948321145, 5035993506645611335,
-2732856538056336220, 539751703024870426, -1406349987842940974,
2187780504945802486, -9000701069265132474, -7855669465753699782,
2150001954001865695, 6913937375009580547, -256832459897465421,
4914935678409409030, -1984921949184022590, 4417126742309622525,
9190620833864259391, -7465177894070855439, 6444360212164351146,
1371800440055610080, -8725628412686165557, 4639621185361894812,
-469742335694819354, -8643774315479598905, 6242805936508052819,
-8854795361548416758, 7898315227689894832, 6694737723790039724,
941568141969804298, -397963969161795303, 654204114074803448,
-8650704849201966023, -3354325394331352329, -3521641320785712809,
3523117924917544910, 91687065838866709, 6421980122092051674,
8378045081182400995, -5389937341498965536, 8959680664522416824,
-863935521696228286, 8590423201507568074, -3973077845070693883,
-3826303978083295704, 9011849040472675929, -1726699824563081126,
-2899374781909880791, 1248046833025584285, 5715774048319627062,
858873693475937886, -6803160176907357231, 4112459414198554355,
-5819119801775748249, 1827951546032884449, -7058479370545777919,
-4677321685401598423, -1334334745567416052, -6938152656691332623,
8918589145301947990, -7181573130144063157, 4647718129660392004,
-7478981417093451087, -4720627975526908736, -2104775542918632938,
-5295543441533960099, -7915856732950957729, -6927416052080866543,
-3907693495779328989, 8654238939157944624, 8343427532792956961,
-4018826674293891761, 7456906641455858038, 1708718365179196219,
3385096500971950349, 1973734113926124692, -8597432305828740208,
-4161795129675830049, -3822168596590714198, 5016775091295446409,
234992356666874853, 3308449546899129755, 7953732782563230068,
1463407973215183128, 8584021837666842398, -3552018655300461689,
-4832509822091931339, 7777341259346398983, 7074072680576302988,
-8220155290136719480, -5180704995802562185, 5275918723393323762,
7960843074958532810, 7972039309090988092, -2082584600391249606,
-7471903590609996799, -1957943304721421766}
INFO 2017-07-10 11:41:18,431 [shard 0] compaction - Compacting
[tmpdir_brV4rt/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-2-Data.db:level=0,
tmpdir_brV4rt/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-1-Data.db:level=0,
tmpdir_brV4rt/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-3-Data.db:level=0,
tmpdir_brV4rt/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-4-Data.db:level=0,
]
INFO 2017-07-10 11:41:18,545 [shard 0] storage_service - Node 127.0.0.1 state
jump to normal
INFO 2017-07-10 11:41:18,686 [shard 0] storage_service - NORMAL: node is now
in normal status
INFO 2017-07-10 11:41:18,686 [shard 0] gossip - Feature RANGE_TOMBSTONES is
enabled
INFO 2017-07-10 11:41:18,686 [shard 0] gossip - Feature LARGE_PARTITIONS is
enabled
INFO 2017-07-10 11:41:18,687 [shard 0] gossip - Feature COUNTERS is enabled
INFO 2017-07-10 11:41:18,687 [shard 0] gossip - Feature MATERIALIZED_VIEWS is
enabled
INFO 2017-07-10 11:41:18,687 [shard 0] gossip - Feature INDEXES is enabled
=================================================================
==7130==ERROR: AddressSanitizer: stack-use-after-scope on address
0x7fc0e6067220 at pc 0x00000a5890e2 bp 0x7fc0e60670f0 sp 0x7fc0e60670e0
WRITE of size 32 at 0x7fc0e6067220 thread T1
#0 0xa5890e1 in
single_node_cql_env::create_keyspace(seastar::basic_sstring<char, unsigned int,
15u>) tests/cql_test_env.cc:247
#1 0xa59e9d6 in
single_node_cql_env::do_with(std::function<seastar::future<> (cql_test_env&)>,
db::config const&)::{lambda()#1}::operator()() const tests/cql_test_env.cc:348
#2 0xa71ba44 in
seastar::apply_helper<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1}, std::tuple<>&&,
std::integer_sequence<unsigned long> >::apply({lambda()#1}&&, std::tuple<>)
seastar/core/apply.hh:36
#3 0xa71bacb in auto
seastar::apply<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config
const&)::{lambda()#1}>(single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1}&&, std::tuple<>&&)
seastar/core/apply.hh:44
#4 0xa71bbec in
std::enable_if<!seastar::is_future<std::result_of<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1} ()>::type>::value,
seastar::future<> >::type
seastar::do_void_futurize_apply_tuple<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1}>(std::result_of&&,
std::tuple<(single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1})...>&&)
seastar/core/future.hh:1270
#5 0xa6a75a8 in seastar::future<>
seastar::futurize<void>::apply<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config
const&)::{lambda()#1}>(single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1}&&, std::tuple<>&&)
seastar/core/future.hh:1290
#6 0xa6381cb in
seastar::futurize<std::result_of<std::decay<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1}>::type ()>::type>::type
seastar::async<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1}>(seastar::thread_attributes,
std::decay&&,
(std::decay<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config
const&)::{lambda()#1}>::type&&)...)::{lambda(seastar::futurize<std::result_of<std::decay<auto:1>::type
()>::type>
seastar::async<{lambda()#1}>(seastar::futurize<std::result_of<std::decay<auto:1>::type
()>::type>::type, seastar::thread_attributes,
std::decay<auto:1>::type&&)::work&)#1}::operator()(seastar::futurize<std::result_of<std::decay<{lambda()#1}>::type
()>::type>
seastar::async<{lambda()#1}>(seastar::futurize<std::result_of<std::decay<{lambda()#1}>::type
()>::type>::type, seastar::thread_attributes,
std::decay<{lambda()#1}>::type&&)::work)::{lambda()#1}::operator()() const
seastar/core/thread.hh:312
#7 0xa797c31 in std::_Function_handler<void (),
seastar::futurize<std::result_of<std::decay<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1}>::type ()>::type>::type
seastar::async<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1}>(seastar::thread_attributes,
std::decay&&,
(std::decay<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config
const&)::{lambda()#1}>::type&&)...)::{lambda(seastar::futurize<std::result_of<std::decay<auto:1>::type
()>::type>
seastar::async<{lambda()#1}>(seastar::futurize<std::result_of<std::decay<auto:1>::type
()>::type>::type, seastar::thread_attributes,
std::decay<auto:1>::type&&)::work&)#1}::operator()(seastar::futurize<std::result_of<std::decay<{lambda()#1}>::type
()>::type>
seastar::async<{lambda()#1}>(seastar::futurize<std::result_of<std::decay<{lambda()#1}>::type
()>::type>::type, seastar::thread_attributes,
std::decay<{lambda()#1}>::type&&)::work)::{lambda()#1}>::_M_invoke(std::_Any_data
const&) /usr/include/c++/7/bits/std_function.h:316
#8 0x787ba9 in std::function<void ()>::operator()() const
/usr/include/c++/7/bits/std_function.h:706
#9 0xc12440 in seastar::thread_context::main() core/thread.cc:300
0x7fc0e6067220 is located 13095456 bytes inside of 13107200-byte region
[0x7fc0e53ea000,0x7fc0e606a000)
allocated by thread T1 here:
#0 0x7fc0f75c74a0 in posix_memalign (/lib64/libasan.so.4+0xdf4a0)
#1 0xaa70d2 in operator new[](unsigned long, seastar::with_alignment)
core/memory.cc:1754
#2 0xc0d590 in seastar::thread_context::make_stack() core/thread.cc:169
#3 0xc0c7b3 in
seastar::thread_context::thread_context(seastar::thread_attributes,
std::function<void ()>) core/thread.cc:153
#4 0xa71bfd2 in std::_MakeUniq<std::decay>::__single_object
std::make_unique<seastar::thread_context, seastar::thread_attributes,
seastar::futurize<std::result_of<std::decay<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1}>::type ()>::type>::type
seastar::async<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1}>(seastar::thread_attributes,
std::decay&&,
(std::decay<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config
const&)::{lambda()#1}>::type&&)...)::{lambda(seastar::futurize<std::result_of<std::decay<auto:1>::type
()>::type> seastar::async<{lambda()#1}>(seastar::thread_attributes,
seastar::futurize<std::result_of<std::decay<auto:1>::type ()>::type>::type,
std::decay<auto:1>::type&&)::work&)#1}::operator()(seastar::futurize<std::result_of<std::decay<{lambda()#1}>::type
()>::type> seastar::async<{lambda()#1}>(seastar::thread_attributes,
seastar::futurize<std::result_of<std::decay<{lambda()#1}>::type
()>::type>::type,
std::decay<{lambda()#1}>::type&&)::work)::{lambda()#1}&>(std::decay<seastar::thread_context>::type&&)
/usr/include/c++/7/bits/unique_ptr.h:825
#5 0xa6a7673 in
_ZN7seastar6threadC2IZZNS_5asyncIZN19single_node_cql_env7do_withESt8functionIFNS_6futureIJEEER12cql_test_envEERKN2db6configEEUlvE_JEEENS_8futurizeINSt9result_ofIFNSt5decayIT_E4typeEDpNSI_IT0_E4typeEEE4typeEE4typeENS_17thread_attributesEOSJ_DpOSM_ENUlRZNS2_ISF_JEEESU_SV_SW_SY_E4workE_clES10_EUlvE_EESV_SJ_
seastar/core/thread.hh:258
#6 0xa636ddf in
seastar::futurize<std::result_of<std::decay<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1}>::type ()>::type>::type
seastar::async<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1}>(seastar::thread_attributes,
std::decay&&,
(std::decay<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config
const&)::{lambda()#1}>::type&&)...)::{lambda(seastar::futurize<std::result_of<std::decay<auto:1>::type
()>::type>
seastar::async<{lambda()#1}>(seastar::futurize<std::result_of<std::decay<auto:1>::type
()>::type>::type, seastar::thread_attributes,
std::decay<auto:1>::type&&)::work&)#1}::operator()(seastar::futurize<std::result_of<std::decay<{lambda()#1}>::type
()>::type>
seastar::async<{lambda()#1}>(seastar::futurize<std::result_of<std::decay<{lambda()#1}>::type
()>::type>::type, seastar::thread_attributes,
std::decay<{lambda()#1}>::type&&)::work) seastar/core/thread.hh:311
#7 0xa639712 in
_ZN7seastar7do_withIZNS_5asyncIZN19single_node_cql_env7do_withESt8functionIFNS_6futureIJEEER12cql_test_envEERKN2db6configEEUlvE_JEEENS_8futurizeINSt9result_ofIFNSt5decayIT_E4typeEDpNSH_IT0_E4typeEEE4typeEE4typeENS_17thread_attributesEOSI_DpOSL_E4workZNS1_ISE_JEEEST_SU_SV_SX_EUlRSY_E_EEDaSV_OT0_
seastar/core/do_with.hh:57
#8 0xa63a04a in
seastar::futurize<std::result_of<std::decay<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1}>::type ()>::type>::type
seastar::async<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1}>(seastar::thread_attributes,
std::decay&&,
(std::decay<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1}>::type&&)...)
seastar/core/thread.hh:317
#9 0xa5db254 in
seastar::futurize<std::result_of<std::decay<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1}>::type ()>::type>::type
seastar::async<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1}>(std::decay&&,
(std::decay<single_node_cql_env::do_with(std::function<seastar::future<>
(cql_test_env&)>, db::config const&)::{lambda()#1}>::type&&)...)
seastar/core/thread.hh:333
#10 0xa5b27aa in
single_node_cql_env::do_with(std::function<seastar::future<> (cql_test_env&)>,
db::config const&) tests/cql_test_env.cc:352
#11 0xa561f3a in do_with_cql_env_thread(std::function<void
(cql_test_env&)>, db::config const&) tests/cql_test_env.cc:372
#12 0xa5621aa in do_with_cql_env_thread(std::function<void
(cql_test_env&)>) tests/cql_test_env.cc:376
#13 0x13e7d4c in test_case_sensitivity::run_test_case()
tests/view_schema_test.cc:75
#14 0xa9e5b23 in operator() seastar/tests/test-utils.cc:47
#15 0xaa09180 in _M_invoke /usr/include/c++/7/bits/std_function.h:302
#16 0x796af7 in std::function<seastar::future<> ()>::operator()() const
/usr/include/c++/7/bits/std_function.h:706
#17 0xab5a345 in operator() seastar/tests/test_runner.cc:76
#18 0xab6132d in _M_invoke /usr/include/c++/7/bits/std_function.h:302
#19 0x796af7 in std::function<seastar::future<> ()>::operator()() const
/usr/include/c++/7/bits/std_function.h:706
#20 0xab5805a in operator() seastar/tests/test_runner.cc:56
#21 0xab5f2dd in do_until_continued<seastar::test_runner::start(int,
char**)::<lambda()> mutable::<lambda()>::<lambda()>,
seastar::test_runner::start(int, char**)::<lambda()>
mutable::<lambda()>::<lambda()> >
/home/avi/urchin/seastar/core/future-util.hh:155
#22 0xab5b364 in do_until<seastar::test_runner::start(int,
char**)::<lambda()> mutable::<lambda()>::<lambda()>,
seastar::test_runner::start(int, char**)::<lambda()>
mutable::<lambda()>::<lambda()> >
/home/avi/urchin/seastar/core/future-util.hh:330
#23 0xab58506 in operator() seastar/tests/test_runner.cc:52
#24 0xab604b1 in _M_invoke /usr/include/c++/7/bits/std_function.h:316
#25 0x787ba9 in std::function<void ()>::operator()() const
/usr/include/c++/7/bits/std_function.h:706
#26 0xbfeb1f in seastar::apply_helper<std::function<void ()>,
std::tuple<>&&, std::integer_sequence<unsigned long>
>::apply(std::function<void ()>&&, std::tuple<>&&)
/home/avi/urchin/seastar/core/apply.hh:36
#27 0xbfeba6 in auto seastar::apply<std::function<void
()>>(std::function<void ()>&&, std::tuple<>&&)
/home/avi/urchin/seastar/core/apply.hh:44
#28 0xbfecc7 in
std::enable_if<!seastar::is_future<std::result_of<std::function<void ()>
()>::type>::value, seastar::future<> >::type
seastar::do_void_futurize_apply_tuple<std::function<void
()>>(std::function<void ()>&&, std::tuple<>&&)
/home/avi/urchin/seastar/core/future.hh:1270
#29 0xbfa1b4 in seastar::future<>
seastar::futurize<void>::apply<std::function<void ()>>(std::function<void
()>&&, std::tuple<>&&) /home/avi/urchin/seastar/core/future.hh:1290
Thread T1 created by T0 here:
#0 0x7fc0f751fa2f in pthread_create (/lib64/libasan.so.4+0x37a2f)
#1 0xaa2d40 in
seastar::posix_thread::posix_thread(seastar::posix_thread::attr,
std::function<void ()>) core/posix.cc:83
#2 0xaa273c in seastar::posix_thread::posix_thread(std::function<void ()>)
core/posix.cc:57
#3 0xab5c267 in make_unique<seastar::posix_thread,
seastar::test_runner::start(int, char**)::<lambda()> >
/usr/include/c++/7/bits/unique_ptr.h:825
#4 0xab59506 in seastar::test_runner::start(int, char**)
seastar/tests/test_runner.cc:49
#5 0xa9e701d in seastar::init_unit_test_suite()
seastar/tests/test-utils.cc:77
#6 0xa981f42 in invoke_init_func
/usr/include/boost/test/impl/framework.ipp:176
#7 0xab1dddf in void boost::_bi::list1<boost::_bi::value<bool (*)()>
>::operator()<void (*)(bool (*)()), boost::_bi::list0>(boost::_bi::type<void>,
void (*&)(bool (*)()), boost::_bi::list0&, int)
/usr/include/boost/bind/bind.hpp:259
#8 0xab106cd in boost::_bi::bind_t<void, void (*)(bool (*)()),
boost::_bi::list1<boost::_bi::value<bool (*)()> > >::operator()()
/usr/include/boost/bind/bind.hpp:1294
#9 0xaafa743 in
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,
void (*)(bool (*)()), boost::_bi::list1<boost::_bi::value<bool (*)()> > >,
void>::invoke(boost::detail::function::function_buffer&)
/usr/include/boost/function/function_template.hpp:159
#10 0x36e8a9b in boost::function0<void>::operator()() const
/usr/include/boost/function/function_template.hpp:770
#11 0xaa400b7 in boost::detail::forward::operator()()
/usr/include/boost/test/impl/execution_monitor.ipp:1300
#12 0xaafe5d8 in
boost::detail::function::function_obj_invoker0<boost::detail::forward,
int>::invoke(boost::detail::function::function_buffer&)
/usr/include/boost/function/function_template.hpp:138
#13 0xaaaa8c7 in boost::function0<int>::operator()() const
/usr/include/boost/function/function_template.hpp:771
#14 0xaa74e61 in int
boost::detail::do_invoke<boost::shared_ptr<boost::detail::translator_holder_base>,
boost::function<int ()>
>(boost::shared_ptr<boost::detail::translator_holder_base> const&,
boost::function<int ()> const&)
/usr/include/boost/test/impl/execution_monitor.ipp:281
#15 0xa993db1 in
boost::execution_monitor::catch_signals(boost::function<int ()> const&)
/usr/include/boost/test/impl/execution_monitor.ipp:864
#16 0xa9942a6 in boost::execution_monitor::execute(boost::function<int ()>
const&) /usr/include/boost/test/impl/execution_monitor.ipp:1203
#17 0xa996b32 in boost::execution_monitor::vexecute(boost::function<void
()> const&) /usr/include/boost/test/impl/execution_monitor.ipp:1309
#18 0xa988d24 in boost::unit_test::framework::init(bool (*)(), int, char**)
/usr/include/boost/test/impl/framework.ipp:1065
#19 0xa9c0960 in boost::unit_test::unit_test_main(bool (*)(), int, char**)
/usr/include/boost/test/impl/unit_test_main.ipp:189
#20 0xa9e7193 in main seastar/tests/test-utils.cc:84
#21 0x7fc0f19cd4d9 in __libc_start_main (/lib64/libc.so.6+0x204d9)
SUMMARY: AddressSanitizer: stack-use-after-scope tests/cql_test_env.cc:247 in
single_node_cql_env::create_keyspace(seastar::basic_sstring<char, unsigned int,
15u>)
Shadow bytes around the buggy address:
0x0ff89cc04df0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0ff89cc04e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0ff89cc04e10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0ff89cc04e20: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f2 f2 f2
0x0ff89cc04e30: f2 f2 f2 f2 00 00 f2 f2 f2 f2 f2 f2 00 00 00 00
=>0x0ff89cc04e40: f2 f2 f2 f2[f8]f8 00 00 f3 f3 f3 f3 00 00 00 00
0x0ff89cc04e50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0ff89cc04e60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0ff89cc04e70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0ff89cc04e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0ff89cc04e90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
Left alloca redzone: ca
Right alloca redzone: cb
==7130==ABORTING
>From gcc-bugs-return-568228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 08:50:50 2017
Return-Path: <gcc-bugs-return-568228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75452 invoked by alias); 10 Jul 2017 08:50: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 72096 invoked by uid 48); 10 Jul 2017 08:50:43 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81374] [8 Regression] ICE in bb_top_order_cmp, at tree-loop-distribution.c:391
Date: Mon, 10 Jul 2017 08: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: 7.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amker at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amker at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to
Message-ID: <bug-81374-4-76mUBobWRh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81374-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81374-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00779.txt.bz2
Content-length: 399
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81374
amker at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |amker at gcc dot gnu.org
--- Comment #1 from amker at gcc dot gnu.org ---
Sorry for the breakage. I will investigate.
>From gcc-bugs-return-568229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 08:57:16 2017
Return-Path: <gcc-bugs-return-568229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42562 invoked by alias); 10 Jul 2017 08:57: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 42490 invoked by uid 48); 10 Jul 2017 08:57:10 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions
Date: Mon, 10 Jul 2017 08:57: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: 7.1.0
X-Bugzilla-Keywords:
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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81021-4-GR78fGXkAO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00780.txt.bz2
Content-length: 236
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021
--- Comment #14 from Martin Liška <marxin at gcc dot gnu.org> ---
Ok, so as the project has quite some dependencies I'm not able to build. Please
try to use patched compiler.
>From gcc-bugs-return-568230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 09:09:48 2017
Return-Path: <gcc-bugs-return-568230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93002 invoked by alias); 10 Jul 2017 09:09: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 92827 invoked by uid 48); 10 Jul 2017 09:09:41 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBjKysvODEzNTldIFs3LzggUmVncmVzc2lvbl0gYm9ndXMgZXJyb3I6?= =?UTF-8?B?IGNvbnN0cnVjdG9yIHJlcXVpcmVkIGJlZm9yZSBub24tc3RhdGljIGRhdGEg?= =?UTF-8?B?bWVtYmVyIGZvciDigJhGb286OkJhcjo6dGVzdOKAmSBoYXMgYmVlbiBwYXJz?= =?UTF-8?B?ZWQ=?Date: Mon, 10 Jul 2017 09: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.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels 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: 7.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc target_milestone everconfirmed
Message-ID: <bug-81359-4-aolLcBp5OU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81359-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81359-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00781.txt.bz2
Content-length: 696
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81359
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Status|UNCONFIRMED |NEW
Last reconfirmed|2017-07-08 00:00:00 |2017-07-10
CC| |redi at gcc dot gnu.org
Target Milestone|--- |7.2
Ever confirmed|0 |1
--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Started with r241330.
>From gcc-bugs-return-568231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 09:11:43 2017
Return-Path: <gcc-bugs-return-568231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95163 invoked by alias); 10 Jul 2017 09: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 95068 invoked by uid 48); 10 Jul 2017 09:11:39 -0000
From: "thayer-public at e dot mail.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/80027] ASAN breaks DT_RPATH $ORIGIN in dlopen()
Date: Mon, 10 Jul 2017 09:11: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: thayer-public at e dot mail.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: cc
Message-ID: <bug-80027-4-gBognmACHl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80027-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80027-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00782.txt.bz2
Content-length: 562
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80027
Michael Thayer <thayer-public at e dot mail.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |thayer-public at e dot mail.de
--- Comment #6 from Michael Thayer <thayer-public at e dot mail.de> ---
Yuri, my initial description should still apply, though I haven't tested this
recently. The follow-up comments were Maxim trying to help me with a
work-around.
>From gcc-bugs-return-568232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 09:26:54 2017
Return-Path: <gcc-bugs-return-568232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19699 invoked by alias); 10 Jul 2017 09:26: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 19337 invoked by uid 48); 10 Jul 2017 09:26:47 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/80676] [DR 2995] basic_stringbuf does not use initial capacity of SSO string
Date: Mon, 10 Jul 2017 09:26: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: redi at gcc dot gnu.org
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc target_milestone short_desc
Message-ID: <bug-80676-4-eN3LwpYSS3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80676-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80676-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00783.txt.bz2
Content-length: 1167
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80676
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |SUSPENDED
CC| |paolo.carlini at oracle dot com
Target Milestone|--- |8.0
Summary|basic_stringbuf does not |[DR 2995] basic_stringbuf
|use initial capacity of SSO |does not use initial
|string |capacity of SSO string
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This change would break a number of tests which were added specifically to
ensure that the sequence pointers are all null after construction:
https://gcc.gnu.org/ml/libstdc++/2004-09/msg00247.html
I've reported a new issue to relax the requirements so we can make this change:
https://wg21.link/lwg2995
This change would also fix Bug 81338 but for now I'll have to fix that in
stringbuf::overflow, rather than optimising it to not call overflow.
>From gcc-bugs-return-568233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 09:30:54 2017
Return-Path: <gcc-bugs-return-568233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24601 invoked by alias); 10 Jul 2017 09:30: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 24514 invoked by uid 48); 10 Jul 2017 09:30:49 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81322] -fsanitizedress ICE in prepare_function_start, at function.c
Date: Mon, 10 Jul 2017 09:30: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.0
X-Bugzilla-Keywords:
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-81322-4-ONIeGUqTpw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81322-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81322-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00784.txt.bz2
Content-length: 1547
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81322
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-07-10
CC| |dmalcolm at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, started when RTL FE was added. What happens is that we need to
create a constructor for a function times_two in:
/home/marxin/Programming/testcases/pr81322.c: In function
â_GLOBAL__sub_I_00099_0_times_twoâ:
/home/marxin/Programming/testcases/pr81322.c:12:1: internal compiler error: in
prepare_function_start, at function.c:4974
}
^
0x8c8aeb prepare_function_start
../../gcc/function.c:4974
0x8c8c8c init_function_start(tree_node*)
../../gcc/function.c:5050
0x78658b cgraph_node::expand()
../../gcc/cgraphunit.c:2039
0x786dc4 cgraph_node::add_new_function(tree_node*, bool)
../../gcc/cgraphunit.c:589
0x9cf644 cgraph_build_static_cdtor_1
../../gcc/ipa.c:935
0xbca7db asan_finish_file()
../../gcc/asan.c:2938
Please submit a full bug report,
Where we have already created following insns:
(gdb) p debug_rtx_list(get_last_insn(), 10)
(note 4 0 0 2 [bb 2] NOTE_INSN_BASIC_BLOCK)
David can you please take a look?
>From gcc-bugs-return-568234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 09:35:36 2017
Return-Path: <gcc-bugs-return-568234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33159 invoked by alias); 10 Jul 2017 09:35: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 33111 invoked by uid 48); 10 Jul 2017 09:35:28 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81374] [8 Regression] ICE in bb_top_order_cmp, at tree-loop-distribution.c:391
Date: Mon, 10 Jul 2017 09:35: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: 7.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amker at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amker at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81374-4-tXgnW0Imm5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81374-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81374-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00785.txt.bz2
Content-length: 296
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81374
--- Comment #2 from amker at gcc dot gnu.org ---
Okay, so bb_top_order_index_size should be inittialized to
last_basic_block_for_fn, rather than number of basic blocks since we don't
reuse index of deleted basic block. I am testing a patch.
>From gcc-bugs-return-568235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 09:37:58 2017
Return-Path: <gcc-bugs-return-568235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39677 invoked by alias); 10 Jul 2017 09:37: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 39601 invoked by uid 48); 10 Jul 2017 09:37:50 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81371] Too many C++ templates output in build error
Date: Mon, 10 Jul 2017 09: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: 5.4.0
X-Bugzilla-Keywords:
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:
Message-ID: <bug-81371-4-jqMXPgflMI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81371-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81371-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00786.txt.bz2
Content-length: 316
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81371
--- Comment #5 from Marc Glisse <glisse at gcc dot gnu.org> ---
Related to PR14912 (and some others). Tools like STLFilt perform this
transformation for standard types (including std::string). Possibly also
related to the recent work on printing template diffs.
>From gcc-bugs-return-568236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 09:40:57 2017
Return-Path: <gcc-bugs-return-568236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45637 invoked by alias); 10 Jul 2017 09:40: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 45454 invoked by uid 48); 10 Jul 2017 09:40:52 -0000
From: "tetra2005 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/80027] ASAN breaks DT_RPATH $ORIGIN in dlopen()
Date: Mon, 10 Jul 2017 09:40: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tetra2005 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-80027-4-mWnn5AogNO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80027-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80027-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00787.txt.bz2
Content-length: 603
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80027
--- Comment #7 from Yuri Gribov <tetra2005 at gmail dot com> ---
(In reply to Michael Thayer from comment #6)
> Yuri, my initial description should still apply, though I haven't tested
> this recently. The follow-up comments were Maxim trying to help me with a
> work-around.
Michael, the core issue is in libasan which is developed in LLVM and then
pulled to GCC. Max mentioned there's already an upstream bugreport
(https://bugs.llvm.org//show_bug.cgi?id=27790). We typically close regressions
caused by upstream packages as RESOLVED MOVED.
>From gcc-bugs-return-568237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 09:48:02 2017
Return-Path: <gcc-bugs-return-568237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4049 invoked by alias); 10 Jul 2017 09:48: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 3925 invoked by uid 48); 10 Jul 2017 09:47:55 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/69908] recognizing idioms that check for a buffer of all-zeros could make *much* better code
Date: Mon, 10 Jul 2017 09:48: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, ssemmx
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:
Message-ID: <bug-69908-4-PTEdUKfvvG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69908-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69908-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00788.txt.bz2
Content-length: 1493
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69908
--- Comment #8 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Yuri Gribov from comment #7)
> Hm, I've just tried r249806 both with -ftree-loop-distribution and
> -fno-tree-loop-distribution on top of flags above without any changes in
> output. This may depend on revision/flags/machine, which ones did you use?
On x86_64
$ cat a.c
void memcpy_(char * __restrict a, char * __restrict b, unsigned n) {
unsigned i;
for (i = 0; i < n; ++i)
a[i] = b[i];
}
$ gcc-7 a.c -O3 -S -fdump-tree-optimized && cat a.c.227t.optimized
[...]
<bb 2> [15.00%]:
if (n_8(D) != 0)
goto <bb 3>; [85.00%]
else
goto <bb 4>; [15.00%]
<bb 3> [12.75%]:
_17 = n_8(D) + 4294967295;
_21 = (sizetype) _17;
_20 = _21 + 1;
__builtin_memcpy (a_10(D), b_9(D), _20); [tail call]
<bb 4> [15.00%]:
return;
[...]
$ gcc-7 a.c -O3 -S -fdump-tree-optimized -fdisable-tree-ldist && cat
a.c.227t.optimized
[...]
<bb 22> [68.85%]:
# ivtmp.21_193 = PHI <ivtmp.21_194(22), 0(21)>
# ivtmp.24_195 = PHI <ivtmp.24_196(22), 0(21)>
vect__4.13_55 = MEM[base: vectp_b.12_52, index: ivtmp.24_195, offset: 0B];
MEM[base: vectp_a.15_56, index: ivtmp.24_195, offset: 0B] = vect__4.13_55;
ivtmp.21_194 = ivtmp.21_193 + 1;
ivtmp.24_196 = ivtmp.24_195 + 16;
if (bnd.8_48 > ivtmp.21_194)
goto <bb 22>; [83.34%]
else
goto <bb 23>; [16.66%]
[...]
(at first glance, the +1 vs +16 is surprising)
>From gcc-bugs-return-568238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 09:49:05 2017
Return-Path: <gcc-bugs-return-568238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8876 invoked by alias); 10 Jul 2017 09: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 8682 invoked by uid 48); 10 Jul 2017 09:49:00 -0000
From: "thayer-public at e dot mail.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/80027] ASAN breaks DT_RPATH $ORIGIN in dlopen()
Date: Mon, 10 Jul 2017 09:49: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: thayer-public at e dot mail.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-80027-4-NeIkDlPTn1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80027-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80027-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00789.txt.bz2
Content-length: 175
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80027
--- Comment #8 from Michael Thayer <thayer-public at e dot mail.de> ---
If that is your normal procedure then please do.
>From gcc-bugs-return-568239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 09:50:01 2017
Return-Path: <gcc-bugs-return-568239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11050 invoked by alias); 10 Jul 2017 09:50: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 10757 invoked by uid 55); 10 Jul 2017 09:49:52 -0000
From: "gjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81268] [avr] Support __gcc_isr pseudo-instruction for more efficient ISR prologues
Date: Mon, 10 Jul 2017 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: unknown
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: gjl at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: gjl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81268-4-7J7Ef7MxNv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81268-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81268-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00790.txt.bz2
Content-length: 3258
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81268
--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Author: gjl
Date: Mon Jul 10 09:49:18 2017
New Revision: 250093
URL: https://gcc.gnu.org/viewcvs?rev=250093&root=gcc&view=rev
Log:
gcc/
Better ISR prologues by supporting GASes __gcc_isr pseudo insn.
PR target/20296
PR target/81268
* configure.ac [target=avr]: Add GAS check for -mgcc-isr.
(HAVE_AS_AVR_MGCCISR_OPTION): If so, AC_DEFINE it.
* config.in: Regenerate.
* configure: Regenerate.
* doc/extend.texi (AVR Function Attributes) <no_gccisr>: Document it.
* doc/invoke.texi (AVR Options) <-mgas-isr-prologues>: Document it.
* config/avr/avr.opt (-mgas-isr-prologues): New option and...
(TARGET_GASISR_PROLOGUES): ...target mask.
* common/config/avr/avr-common.c
(avr_option_optimization_table) [OPT_LEVELS_1_PLUS_NOT_DEBUG]:
Set -mgas-isr-prologues.
* config/avr/avr-passes.def (avr_pass_pre_proep): Add
INSERT_PASS_BEFORE for it.
* config/avr/avr-protos.h (make_avr_pass_pre_proep): New proto.
* config/avr/avr.c (avr_option_override)
[!HAVE_AS_AVR_MGCCISR_OPTION]: Unset TARGET_GASISR_PROLOGUES.
(avr_no_gccisr_function_p, avr_hregs_split_reg): New static functions.
(avr_attribute_table) <no_gccisr>: Add new function attribute.
(avr_set_current_function) <is_no_gccisr>: Init machine field.
(avr_pass_data_pre_proep, avr_pass_pre_proep): New pass data
and rtl_opt_pass.
(make_avr_pass_pre_proep): New function.
(emit_push_sfr) <treg>: Add argument to function and use it
instead of TMP_REG.
(avr_expand_prologue) [machine->gasisr.maybe]: Emit gasisr insn
and set machine->gasisr.yes.
(avr_expand_epilogue) [machine->gasisr.yes]: Similar.
(avr_asm_function_end_prologue) [machine->gasisr.yes]: Add
__gcc_isr.n_pushed to .L__stack_usage.
(TARGET_ASM_FINAL_POSTSCAN_INSN): Define to...
(avr_asm_final_postscan_insn): ...this new static function.
* config/avr/avr.h (machine_function)
<is_no_gccisr, use_L__stack_usage>: New fields.
<gasisr, gasisr.yes, gasisr.maybe, gasisr.regno>: New fields.
* config/avr/avr.md (UNSPECV_GASISR): Add unspecv enum.
(GASISR_Prologue, GASISR_Epilogue, GASISR_Done): New define_constants.
(gasisr, *gasisr): New expander and insn.
* config/avr/gen-avr-mmcu-specs.c (print_mcu)
[HAVE_AS_AVR_MGCCISR_OPTION]: Print asm_gccisr spec.
* config/avr/specs.h (ASM_SPEC) <asm_gccisr>: Add sub spec.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/common/config/avr/avr-common.c
trunk/gcc/config.in
trunk/gcc/config/avr/avr-passes.def
trunk/gcc/config/avr/avr-protos.h
trunk/gcc/config/avr/avr.c
trunk/gcc/config/avr/avr.h
trunk/gcc/config/avr/avr.md
trunk/gcc/config/avr/avr.opt
trunk/gcc/config/avr/gen-avr-mmcu-specs.c
trunk/gcc/config/avr/specs.h
trunk/gcc/configure
trunk/gcc/configure.ac
trunk/gcc/doc/extend.texi
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/gcc.target/avr/isr-test.h
>From gcc-bugs-return-568240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 09:50:01 2017
Return-Path: <gcc-bugs-return-568240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11144 invoked by alias); 10 Jul 2017 09:50: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 10912 invoked by uid 55); 10 Jul 2017 09:49:54 -0000
From: "gjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/20296] Speeding up small interrupts on avr
Date: Mon, 10 Jul 2017 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: 4.1.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: gjl at gcc dot gnu.org
X-Bugzilla-Status: SUSPENDED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-20296-4-FvWoaMZamY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-20296-4@http.gcc.gnu.org/bugzilla/>
References: <bug-20296-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00791.txt.bz2
Content-length: 3258
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20296
--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Author: gjl
Date: Mon Jul 10 09:49:18 2017
New Revision: 250093
URL: https://gcc.gnu.org/viewcvs?rev=250093&root=gcc&view=rev
Log:
gcc/
Better ISR prologues by supporting GASes __gcc_isr pseudo insn.
PR target/20296
PR target/81268
* configure.ac [target=avr]: Add GAS check for -mgcc-isr.
(HAVE_AS_AVR_MGCCISR_OPTION): If so, AC_DEFINE it.
* config.in: Regenerate.
* configure: Regenerate.
* doc/extend.texi (AVR Function Attributes) <no_gccisr>: Document it.
* doc/invoke.texi (AVR Options) <-mgas-isr-prologues>: Document it.
* config/avr/avr.opt (-mgas-isr-prologues): New option and...
(TARGET_GASISR_PROLOGUES): ...target mask.
* common/config/avr/avr-common.c
(avr_option_optimization_table) [OPT_LEVELS_1_PLUS_NOT_DEBUG]:
Set -mgas-isr-prologues.
* config/avr/avr-passes.def (avr_pass_pre_proep): Add
INSERT_PASS_BEFORE for it.
* config/avr/avr-protos.h (make_avr_pass_pre_proep): New proto.
* config/avr/avr.c (avr_option_override)
[!HAVE_AS_AVR_MGCCISR_OPTION]: Unset TARGET_GASISR_PROLOGUES.
(avr_no_gccisr_function_p, avr_hregs_split_reg): New static functions.
(avr_attribute_table) <no_gccisr>: Add new function attribute.
(avr_set_current_function) <is_no_gccisr>: Init machine field.
(avr_pass_data_pre_proep, avr_pass_pre_proep): New pass data
and rtl_opt_pass.
(make_avr_pass_pre_proep): New function.
(emit_push_sfr) <treg>: Add argument to function and use it
instead of TMP_REG.
(avr_expand_prologue) [machine->gasisr.maybe]: Emit gasisr insn
and set machine->gasisr.yes.
(avr_expand_epilogue) [machine->gasisr.yes]: Similar.
(avr_asm_function_end_prologue) [machine->gasisr.yes]: Add
__gcc_isr.n_pushed to .L__stack_usage.
(TARGET_ASM_FINAL_POSTSCAN_INSN): Define to...
(avr_asm_final_postscan_insn): ...this new static function.
* config/avr/avr.h (machine_function)
<is_no_gccisr, use_L__stack_usage>: New fields.
<gasisr, gasisr.yes, gasisr.maybe, gasisr.regno>: New fields.
* config/avr/avr.md (UNSPECV_GASISR): Add unspecv enum.
(GASISR_Prologue, GASISR_Epilogue, GASISR_Done): New define_constants.
(gasisr, *gasisr): New expander and insn.
* config/avr/gen-avr-mmcu-specs.c (print_mcu)
[HAVE_AS_AVR_MGCCISR_OPTION]: Print asm_gccisr spec.
* config/avr/specs.h (ASM_SPEC) <asm_gccisr>: Add sub spec.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/common/config/avr/avr-common.c
trunk/gcc/config.in
trunk/gcc/config/avr/avr-passes.def
trunk/gcc/config/avr/avr-protos.h
trunk/gcc/config/avr/avr.c
trunk/gcc/config/avr/avr.h
trunk/gcc/config/avr/avr.md
trunk/gcc/config/avr/avr.opt
trunk/gcc/config/avr/gen-avr-mmcu-specs.c
trunk/gcc/config/avr/specs.h
trunk/gcc/configure
trunk/gcc/configure.ac
trunk/gcc/doc/extend.texi
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/gcc.target/avr/isr-test.h
>From gcc-bugs-return-568241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 10:01:04 2017
Return-Path: <gcc-bugs-return-568241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58226 invoked by alias); 10 Jul 2017 10:01: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 57624 invoked by uid 48); 10 Jul 2017 10:00:41 -0000
From: "gjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81268] [avr] Support __gcc_isr pseudo-instruction for more efficient ISR prologues
Date: Mon, 10 Jul 2017 10:01: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: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: gjl at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: gjl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-81268-4-T9q6QvsMVG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81268-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81268-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00792.txt.bz2
Content-length: 484
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81268
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |8.0
--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Added in v8.
>From gcc-bugs-return-568242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 10:01:07 2017
Return-Path: <gcc-bugs-return-568242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58541 invoked by alias); 10 Jul 2017 10:01: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 58182 invoked by uid 48); 10 Jul 2017 10:01:01 -0000
From: "gjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/20296] Speeding up small interrupts on avr
Date: Mon, 10 Jul 2017 10:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.1.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: gjl at gcc dot gnu.org
X-Bugzilla-Status: SUSPENDED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
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-20296-4-OEdwwteh84@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-20296-4@http.gcc.gnu.org/bugzilla/>
References: <bug-20296-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00793.txt.bz2
Content-length: 503
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20296
Bug 20296 depends on bug 81268, which changed state.
Bug 81268 Summary: [avr] Support __gcc_isr pseudo-instruction for more efficient ISR prologues
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81268
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
>From gcc-bugs-return-568243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 10:03:52 2017
Return-Path: <gcc-bugs-return-568243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100633 invoked by alias); 10 Jul 2017 10:03: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 100470 invoked by uid 48); 10 Jul 2017 10:03:48 -0000
From: "gjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/20296] Speeding up small interrupts on avr
Date: Mon, 10 Jul 2017 10: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: 4.1.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: gjl at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-20296-4-Egj6Qm5IMY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-20296-4@http.gcc.gnu.org/bugzilla/>
References: <bug-20296-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00794.txt.bz2
Content-length: 654
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20296
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|SUSPENDED |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |8.0
--- Comment #4 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Fixed in v8 by means of PR81268.
Binutils must support
https://sourceware.org/bugzilla/show_bug.cgi?id=21683
in order for the feature to become active. Binutils 2.29 should do.
>From gcc-bugs-return-568244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 10:38:31 2017
Return-Path: <gcc-bugs-return-568244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2613 invoked by alias); 10 Jul 2017 10:38: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 2496 invoked by uid 48); 10 Jul 2017 10:38:26 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/81318] [8 regression] ICE in to_reg_br_prob_base, at profile-count.h:189
Date: Mon, 10 Jul 2017 10:38: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dcb314 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: cc
Message-ID: <bug-81318-4-4Lpv9WEYr1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81318-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81318-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00795.txt.bz2
Content-length: 458
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81318
David Binderman <dcb314 at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dcb314 at hotmail dot com
--- Comment #4 from David Binderman <dcb314 at hotmail dot com> ---
This bug seems to cause the current Linux kernel 4.12 to fail to compile.
>From gcc-bugs-return-568245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 10:44:17 2017
Return-Path: <gcc-bugs-return-568245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14286 invoked by alias); 10 Jul 2017 10:44: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 12504 invoked by uid 48); 10 Jul 2017 10:44:13 -0000
From: "mikpelinux at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/71608] Wrong constant folding
Date: Mon, 10 Jul 2017 10: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: 7.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mikpelinux 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-71608-4-5CTXW3QSJc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71608-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71608-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00796.txt.bz2
Content-length: 173
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71608
--- Comment #5 from Mikael Pettersson <mikpelinux at gmail dot com> ---
This test case was fixed for gcc-7 by r242536.
>From gcc-bugs-return-568246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 10:56:25 2017
Return-Path: <gcc-bugs-return-568246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64488 invoked by alias); 10 Jul 2017 10: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 59399 invoked by uid 48); 10 Jul 2017 10:56:20 -0000
From: "avi@cloudius-systems.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions
Date: Mon, 10 Jul 2017 10:56: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: 7.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: avi@cloudius-systems.com
X-Bugzilla-Status: NEW
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-81021-4-GbBKa0nBhD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00797.txt.bz2
Content-length: 707
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021
--- Comment #15 from Avi Kivity <avi@cloudius-systems.com> ---
Unfortunately, backporting your patch is not enough; it depends on another, and
backporting the dependency generates many conflicts.
There is now a ./install-dependencies.sh in the scylla repositories, so to get
a reproducer, you can (on Fedora)
git clone --recurse-submodules https://github.com/scylladb/scylla
sudo ./install-dependencies.sh # just running yum, honest
./configure.py
ninja build/debug/tests/view_schema_test_g # add -j smallnum if running
out of memory
build/debug/tests/view_schema_test_g -- --smp 1 -m1G # will reproduce the
problem
>From gcc-bugs-return-568247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 11:16:00 2017
Return-Path: <gcc-bugs-return-568247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116699 invoked by alias); 10 Jul 2017 11:15: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 104593 invoked by uid 48); 10 Jul 2017 11:15:35 -0000
From: "drepper.fsp+rhbz at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/81376] New: unnecessary cast before comparison
Date: Mon, 10 Jul 2017 11:15: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: drepper.fsp+rhbz 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-81376-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00798.txt.bz2
Content-length: 1281
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81376
Bug ID: 81376
Summary: unnecessary cast before comparison
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: drepper.fsp+rhbz at gmail dot com
Target Milestone: ---
Take the following code:
typedef double c_t;
typedef int a_t;
int f(a_t a1, a_t a2) {
return (c_t) a1 < (c_t) a2;
}
With IEEE 754 double we have a 52 bits mantissa which is wide enough to
represent all of the 'int' values exactly. No possibility for imprecision and
especially not for Inf or NaN.
Still gcc (trunk as of today but likely older versions as well) generate the
code for the conversion. This is for x86-64 with -O2:
f:
vxorpd %xmm0, %xmm0, %xmm0
vxorpd %xmm1, %xmm1, %xmm1
xorl %eax, %eax
vcvtsi2sd %edi, %xmm0, %xmm0
vcvtsi2sd %esi, %xmm1, %xmm1
vucomisd %xmm0, %xmm1
seta %al
ret
A simple
xorl %eax, %eax
cmpl %esi, %edi
setl %al
ret
is sufficient, just as if c_t above would be defined as 'int'.
>From gcc-bugs-return-568248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 11:44:55 2017
Return-Path: <gcc-bugs-return-568248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101605 invoked by alias); 10 Jul 2017 11:44: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 101528 invoked by uid 48); 10 Jul 2017 11:44:46 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug regression/81331] [8 Regression] FAIL: 21_strings/basic_string/modifiers/insert/char/1.cc execution test
Date: Mon, 10 Jul 2017 11:44: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81331-4-X6V8WMVKpR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81331-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81331-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00799.txt.bz2
Content-length: 13595
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81331
--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
The wrong code is triggered by partitioning. The function is somewhat odd by
requiring an EH edge to finish properly while we predict EH edges are unlikely.
This is however partly undone by the hack in bb-reorder that tries to sanitize
profile insanities. Terminate is called from cxa_throw because of:
// Some sort of unwinding error. Note that terminate is a handler.
__cxa_begin_catch (&header->exc.unwindHeader);
std::terminate ();
I am not quite sure why unwinding fails. I have tracked down the particular BB
movement that triggers the wrong code.
It is moving bb 23 from cold to hot triggers also conssequently promoting of bb
24 because it is a landing pad that is only reached from bb 23.
Either disabling movement of bb 23 or changing also partition of BB 25 solves
the problem. Perhas cxa_begin_catch and cxa_end_catch should not cross
partitions?
cxa_* code is not very well commented to say at least...
I am attaching good.s that is without problematic parittioning bad.s which is
one triggering failure and hacked.s that is the one with fixed movement of bb
25. It would be great to know why bad.s fails.
;; basic block 22, loop depth 0, count 0, freq 0, probably never executed
;; prev block 64, next block 23, flags: (REACHABLE, COLD_PARTITION, RTL,
MODIFIED)
;; pred: 64 [always] count:0 (CROSSING)
;; bb 22 artificial_defs: { }
;; bb 22 artificial_uses: { u-1(6){ }u-1(7){ }u-1(16){ }u-1(20){ }}
;; lr in 6 [bp] 7 [sp] 16 [argp] 20 [frame] 177 178 179
;; lr use 6 [bp] 7 [sp] 16 [argp] 20 [frame] 178 179
;; lr def 0 [ax] 1 [dx] 2 [cx] 4 [si] 5 [di] 8 [st] 9 [st(1)] 10 [st(2)]
11 [st(3)] 12 [st(4)] 13 [st(5)] 14 [st(6)] 15 [st(7)] 17 [flags] 18 [fpsr] 19
[fpcr] 21 [xmm0] 22 [xmm1] 23 [xmm2] 24 [xmm3] 25 [xmm4] 26 [xmm5] 27 [xmm6] 28
[xmm7] 29 [mm0] 30 [mm1] 31 [mm2] 32 [mm3] 33 [mm4] 34 [mm5] 35 [mm6] 36 [mm7]
37 [r8] 38 [r9] 39 [r10] 40 [r11] 45 [xmm8] 46 [xmm9] 47 [xmm10] 48 [xmm11] 49
[xmm12] 50 [xmm13] 51 [xmm14] 52 [xmm15] 53 [] 54 [] 55 [] 56 [] 57 [] 58 [] 59
[] 60 [] 61 [] 62 [] 63 [] 64 [] 65 [] 66 [] 67 [] 68 [] 69 [] 70 [] 71 [] 72
[] 73 [] 74 [] 75 [] 76 [] 77 [] 78 [] 79 [] 80 [] 138 139
;; live in 6 [bp] 7 [sp] 16 [argp] 20 [frame] 177 178 179
;; live gen 0 [ax] 1 [dx] 2 [cx] 4 [si] 5 [di] 37 [r8] 138 139
;; live kill 17 [flags]
(code_label 466 480 156 22 58 (nil) [1 uses])
(note 156 466 157 22 [bb 22] NOTE_INSN_BASIC_BLOCK)
(insn 157 156 158 22 (set (reg:DI 139 [ MEM[(const struct basic_string *)&str02
+ 8B] ])
(mem/c:DI (plus:DI (reg/f:DI 20 frame)
(const_int -88 [0xffffffffffffffa8])) [0 MEM[(const struct
basic_string *)&str02 + 8B]+0 S8 A64]))
"/home/jan/trunk/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc":67
81 {*movdi_internal}
(nil))
(insn 158 157 161 22 (parallel [
(set (reg:DI 138)
(plus:DI (reg:DI 139 [ MEM[(const struct basic_string *)&str02
+ 8B] ])
(const_int 1 [0x1])))
(clobber (reg:CC 17 flags))
])
"/home/jan/trunk/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc":67
218 {*adddi_1}
(expr_list:REG_DEAD (reg:DI 139 [ MEM[(const struct basic_string *)&str02
+ 8B] ])
(expr_list:REG_UNUSED (reg:CC 17 flags)
(expr_list:REG_EQUAL (plus:DI (mem/c:DI (plus:DI (reg/f:DI 20
frame)
(const_int -88 [0xffffffffffffffa8])) [0 MEM[(const
struct basic_string *)&str02 + 8B]+0 S8 A64])
(const_int 1 [0x1]))
(nil)))))
(insn 161 158 162 22 (set (reg:DI 37 r8)
(const_int 5 [0x5]))
"/home/jan/trunk/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc":67
81 {*movdi_internal}
(nil))
(insn 162 161 163 22 (set (reg:DI 2 cx)
(reg:DI 138))
"/home/jan/trunk/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc":67
81 {*movdi_internal}
(expr_list:REG_DEAD (reg:DI 138)
(nil)))
(insn 163 162 164 22 (set (reg:DI 1 dx)
(reg/f:DI 178))
"/home/jan/trunk/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc":67
81 {*movdi_internal}
(expr_list:REG_EQUAL (plus:DI (reg/f:DI 20 frame)
(const_int -96 [0xffffffffffffffa0]))
(nil)))
(insn 164 163 165 22 (set (reg:DI 4 si)
(const_int 0 [0]))
"/home/jan/trunk/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc":67
81 {*movdi_internal}
(nil))
(insn 165 164 166 22 (set (reg:DI 5 di)
(reg/f:DI 179))
"/home/jan/trunk/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc":67
81 {*movdi_internal}
(expr_list:REG_EQUAL (plus:DI (reg/f:DI 20 frame)
(const_int -64 [0xffffffffffffffc0]))
(nil)))
(call_insn 166 165 465 22 (set (reg:DI 0 ax)
(call (mem:QI (symbol_ref:DI
("_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEmRKS4_mm")
[flags 0x41] <function_decl 0x7f3e7d90ee00 insert>) [0 insert S1 A8])
(const_int 0 [0])))
"/home/jan/trunk/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc":67
666 {*call_value}
(expr_list:REG_DEAD (reg:DI 37 r8)
(expr_list:REG_DEAD (reg:DI 5 di)
(expr_list:REG_DEAD (reg:DI 4 si)
(expr_list:REG_DEAD (reg:DI 2 cx)
(expr_list:REG_DEAD (reg:DI 1 dx)
(expr_list:REG_UNUSED (reg:DI 0 ax)
(expr_list:REG_EH_REGION (const_int 11 [0xb])
(expr_list:REG_CALL_DECL (symbol_ref:DI
("_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEmRKS4_mm")
[flags 0x41] <function_decl 0x7f3e7d90ee00 insert>)
(nil)))))))))
(expr_list:DI (use (reg:DI 5 di))
(expr_list:DI (use (reg:DI 4 si))
(expr_list:DI (use (reg:DI 1 dx))
(expr_list:DI (use (reg:DI 2 cx))
(expr_list:DI (use (reg:DI 37 r8))
(nil)))))))
;; succ: 26 [never] count:0 (ABNORMAL,ABNORMAL_CALL,EH)
;; 9 [always (guessed)] count:0 (FALLTHRU)
;; lr out 6 [bp] 7 [sp] 16 [argp] 20 [frame] 177 178 179
;; live out 6 [bp] 7 [sp] 16 [argp] 20 [frame] 177 178 179
;; basic block 23, loop depth 0, count 0, freq 0, probably never executed
;; prev block 22, next block 65, flags: (REACHABLE, COLD_PARTITION, RTL,
MODIFIED)
;; pred: 20 [50.0% (guessed)] count:0 (CROSSING)
;; bb 23 artificial_defs: { }
;; bb 23 artificial_uses: { u-1(6){ }u-1(7){ }u-1(16){ }u-1(20){ }}
;; lr in 6 [bp] 7 [sp] 16 [argp] 20 [frame] 135 177 178 179
;; lr use 6 [bp] 7 [sp] 16 [argp] 20 [frame] 135
;; lr def 0 [ax] 1 [dx] 2 [cx] 4 [si] 5 [di] 8 [st] 9 [st(1)] 10 [st(2)]
11 [st(3)] 12 [st(4)] 13 [st(5)] 14 [st(6)] 15 [st(7)] 17 [flags] 18 [fpsr] 19
[fpcr] 21 [xmm0] 22 [xmm1] 23 [xmm2] 24 [xmm3] 25 [xmm4] 26 [xmm5] 27 [xmm6] 28
[xmm7] 29 [mm0] 30 [mm1] 31 [mm2] 32 [mm3] 33 [mm4] 34 [mm5] 35 [mm6] 36 [mm7]
37 [r8] 38 [r9] 39 [r10] 40 [r11] 45 [xmm8] 46 [xmm9] 47 [xmm10] 48 [xmm11] 49
[xmm12] 50 [xmm13] 51 [xmm14] 52 [xmm15] 53 [] 54 [] 55 [] 56 [] 57 [] 58 [] 59
[] 60 [] 61 [] 62 [] 63 [] 64 [] 65 [] 66 [] 67 [] 68 [] 69 [] 70 [] 71 [] 72
[] 73 [] 74 [] 75 [] 76 [] 77 [] 78 [] 79 [] 80 []
;; live in 6 [bp] 7 [sp] 16 [argp] 20 [frame] 135 177 178 179
;; live gen 0 [ax] 1 [dx] 2 [cx] 4 [si] 5 [di] 37 [r8]
;; live kill
(code_label 465 166 171 23 57 (nil) [1 uses])
(note 171 465 172 23 [bb 23] NOTE_INSN_BASIC_BLOCK)
(insn 172 171 173 23 (set (reg:DI 5 di)
(reg:DI 135))
"/home/jan/trunk/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc":59
81 {*movdi_internal}
(expr_list:REG_DEAD (reg:DI 135)
(nil)))
(call_insn 173 172 174 23 (set (reg:DI 0 ax)
(call (mem:QI (symbol_ref:DI ("__cxa_begin_catch") [flags 0x41]
<function_decl 0x7f3e7d7abc00 __cxa_begin_catch>) [0 __cxa_begin_catch S1 A8])
(const_int 0 [0])))
"/home/jan/trunk/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc":59
666 {*call_value}
(expr_list:REG_DEAD (reg:DI 5 di)
(expr_list:REG_UNUSED (reg:DI 0 ax)
(expr_list:REG_CALL_DECL (symbol_ref:DI ("__cxa_begin_catch")
[flags 0x41] <function_decl 0x7f3e7d7abc00 __cxa_begin_catch>)
(expr_list:REG_EH_REGION (const_int 0 [0])
(nil)))))
(expr_list:DI (use (reg:DI 5 di))
(nil)))
(insn 174 173 175 23 (set (reg:DI 37 r8)
(symbol_ref/f:DI ("*.LC4") [flags 0x2] <var_decl 0x7f3e7886d1b0
*.LC4>))
"/home/jan/trunk/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc":60
81 {*movdi_internal}
(nil))
(insn 175 174 176 23 (set (reg:DI 2 cx)
(symbol_ref:DI ("_ZZ6test01vE19__PRETTY_FUNCTION__") [flags 0x2]
<var_decl 0x7f3e7968f480 __PRETTY_FUNCTION__>))
"/home/jan/trunk/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc":60
81 {*movdi_internal}
(nil))
(insn 176 175 177 23 (set (reg:SI 1 dx)
(const_int 60 [0x3c]))
"/home/jan/trunk/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc":60
82 {*movsi_internal}
(nil))
(insn 177 176 178 23 (set (reg:DI 4 si)
(symbol_ref/f:DI ("*.LC5") [flags 0x2] <var_decl 0x7f3e7886d240
*.LC5>))
"/home/jan/trunk/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc":60
81 {*movdi_internal}
(nil))
(insn 178 177 179 23 (set (reg:DI 5 di)
(symbol_ref/f:DI ("*.LC6") [flags 0x2] <var_decl 0x7f3e7886d2d0
*.LC6>))
"/home/jan/trunk/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc":60
81 {*movdi_internal}
(nil))
(insn 179 178 180 23 (set (reg:QI 0 ax)
(const_int 0 [0]))
"/home/jan/trunk/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc":60
84 {*movqi_internal}
(nil))
(call_insn 180 179 483 23 (set (reg:SI 0 ax)
(call (mem:QI (symbol_ref:DI ("printf") [flags 0x41] <function_decl
0x7f3e7f0afd00 __builtin_printf>) [0 __builtin_printf S1 A8])
(const_int 0 [0])))
"/home/jan/trunk/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc":60
666 {*call_value}
(expr_list:REG_DEAD (reg:DI 37 r8)
(expr_list:REG_DEAD (reg:DI 5 di)
(expr_list:REG_DEAD (reg:DI 4 si)
(expr_list:REG_DEAD (reg:DI 2 cx)
(expr_list:REG_DEAD (reg:SI 1 dx)
(expr_list:REG_UNUSED (reg:SI 0 ax)
(expr_list:REG_EH_REGION (const_int 10 [0xa])
(expr_list:REG_CALL_DECL (symbol_ref:DI
("printf") [flags 0x41] <function_decl 0x7f3e7f0afd00 __builtin_printf>)
(nil)))))))))
(expr_list (use (reg:QI 0 ax))
(expr_list:DI (use (reg:DI 5 di))
(expr_list:DI (use (reg:DI 4 si))
(expr_list:SI (use (reg:SI 1 dx))
(expr_list:DI (use (reg:DI 2 cx))
(expr_list:DI (use (reg:DI 37 r8))
(nil))))))))
;; succ: 24 [never] count:0 (ABNORMAL,ABNORMAL_CALL,EH)
;; 65 [always (guessed)] count:0 (FALLTHRU)
;; lr out 6 [bp] 7 [sp] 16 [argp] 20 [frame] 177 178 179
;; live out 6 [bp] 7 [sp] 16 [argp] 20 [frame] 177 178 179
Block 25 is:
;; basic block 25, loop depth 0, count 0, freq 0, probably never executed
;; prev block 24, next block 26, flags: (REACHABLE, COLD_PARTITION, RTL,
MODIFIED)
;; pred: 24 [always] count:0 (CROSSING)
;; bb 25 artificial_defs: { }
;; bb 25 artificial_uses: { u-1(6){ }u-1(7){ }u-1(16){ }u-1(20){ }}
;; lr in 6 [bp] 7 [sp] 16 [argp] 20 [frame] 143 177 178 179
;; lr use 6 [bp] 7 [sp] 16 [argp] 20 [frame] 143
;; lr def 0 [ax] 1 [dx] 2 [cx] 4 [si] 5 [di] 8 [st] 9 [st(1)] 10 [st(2)]
11 [st(3)] 12 [st(4)] 13 [st(5)] 14 [st(6)] 15 [st(7)] 17 [flags] 18 [fpsr] 19
[fpcr] 21 [xmm0] 22 [xmm1] 23 [xmm2] 24 [xmm3] 25 [xmm4] 26 [xmm5] 27 [xmm6] 28
[xmm7] 29 [mm0] 30 [mm1] 31 [mm2] 32 [mm3] 33 [mm4] 34 [mm5] 35 [mm6] 36 [mm7]
37 [r8] 38 [r9] 39 [r10] 40 [r11] 45 [xmm8] 46 [xmm9] 47 [xmm10] 48 [xmm11] 49
[xmm12] 50 [xmm13] 51 [xmm14] 52 [xmm15] 53 [] 54 [] 55 [] 56 [] 57 [] 58 [] 59
[] 60 [] 61 [] 62 [] 63 [] 64 [] 65 [] 66 [] 67 [] 68 [] 69 [] 70 [] 71 [] 72
[] 73 [] 74 [] 75 [] 76 [] 77 [] 78 [] 79 [] 80 [] 142
;; live in 6 [bp] 7 [sp] 16 [argp] 20 [frame] 143 177 178 179
;; live gen 142
;; live kill
(code_label 183 466 184 25 22 (nil) [1 uses])
(note 184 183 185 25 [bb 25] NOTE_INSN_BASIC_BLOCK)
(call_insn 185 184 186 25 (call (mem:QI (symbol_ref:DI ("__cxa_end_catch")
[flags 0x41] <function_decl 0x7f5737fcfb00 __cxa_end_catch>) [0
__cxa_end_catch S1 A8])
(const_int 0 [0]))
"/home/jan/trunk/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc":59
655 {*call}
(expr_list:REG_EH_REGION (const_int -19 [0xffffffffffffffed])
(expr_list:REG_CALL_DECL (symbol_ref:DI ("__cxa_end_catch") [flags
0x41] <function_decl 0x7f5737fcfb00 __cxa_end_catch>)
(nil)))
(nil))
(insn 186 185 411 25 (set (reg:DI 142)
(reg:DI 143)) 81 {*movdi_internal}
(expr_list:REG_DEAD (reg:DI 143)
(nil)))
>From gcc-bugs-return-568249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 11:45:54 2017
Return-Path: <gcc-bugs-return-568249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106139 invoked by alias); 10 Jul 2017 11:45: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 106055 invoked by uid 48); 10 Jul 2017 11:45:48 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug regression/81331] [8 Regression] FAIL: 21_strings/basic_string/modifiers/insert/char/1.cc execution test
Date: Mon, 10 Jul 2017 11:45: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-81331-4-4WIwhgrlf5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81331-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81331-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00800.txt.bz2
Content-length: 267
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81331
--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Created attachment 41702
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41702&action=edit
Working assembly (without profile sanitization)
>From gcc-bugs-return-568250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 11:48:03 2017
Return-Path: <gcc-bugs-return-568250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111087 invoked by alias); 10 Jul 2017 11:48: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 110932 invoked by uid 48); 10 Jul 2017 11:47:58 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug regression/81331] [8 Regression] FAIL: 21_strings/basic_string/modifiers/insert/char/1.cc execution test
Date: Mon, 10 Jul 2017 11:48: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-81331-4-bSLESoqV7J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81331-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81331-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00801.txt.bz2
Content-length: 266
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81331
--- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Created attachment 41703
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41703&action=edit
broken assembly (generated by revision 250073)
>From gcc-bugs-return-568251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 11:49:30 2017
Return-Path: <gcc-bugs-return-568251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112772 invoked by alias); 10 Jul 2017 11:49: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 112680 invoked by uid 48); 10 Jul 2017 11:49:26 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug regression/81331] [8 Regression] FAIL: 21_strings/basic_string/modifiers/insert/char/1.cc execution test
Date: Mon, 10 Jul 2017 11: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-81331-4-u7sxV4e8e1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81331-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81331-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00802.txt.bz2
Content-length: 290
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81331
--- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Created attachment 41704
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41704&action=edit
Assembly with hacked BB movement (so it passes and is closer to bad.s)
>From gcc-bugs-return-568252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 11:50:11 2017
Return-Path: <gcc-bugs-return-568252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114129 invoked by alias); 10 Jul 2017 11:50: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 113922 invoked by uid 48); 10 Jul 2017 11:50:05 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug regression/81331] [8 Regression] FAIL: 21_strings/basic_string/modifiers/insert/char/1.cc execution test
Date: Mon, 10 Jul 2017 11:50: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-81331-4-oYvKhrIU4i@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81331-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81331-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00803.txt.bz2
Content-length: 245
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81331
--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Created attachment 41705
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41705&action=edit
bbpart dump (bad version)
>From gcc-bugs-return-568253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 11:50:40 2017
Return-Path: <gcc-bugs-return-568253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115289 invoked by alias); 10 Jul 2017 11:50: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 115209 invoked by uid 48); 10 Jul 2017 11:50:35 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug regression/81331] [8 Regression] FAIL: 21_strings/basic_string/modifiers/insert/char/1.cc execution test
Date: Mon, 10 Jul 2017 11:50: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-81331-4-osYPio4Ro9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81331-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81331-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00804.txt.bz2
Content-length: 246
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81331
--- Comment #7 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Created attachment 41706
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41706&action=edit
bbpart dump (good version)
>From gcc-bugs-return-568254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 11:52:42 2017
Return-Path: <gcc-bugs-return-568254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122958 invoked by alias); 10 Jul 2017 11:52: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 121802 invoked by uid 48); 10 Jul 2017 11:52:37 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81346] Missed constant propagation into comparison
Date: Mon, 10 Jul 2017 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: unknown
X-Bugzilla-Keywords:
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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-81346-4-RpLWMEQ87Q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81346-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81346-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00805.txt.bz2
Content-length: 644
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81346
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 41707
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41707&action=edit
gcc8-pr81346-wip.patch
Untested WIP patch. Still no idea how to handle the build_range_check stuff at
GIMPLE, that function is pretty huge. Shall I just always generate the cast to
utype and (acmp (minus (convert:utype @0) { lo; }) { himinuslo; })
after doing the etype/utype computation and verification in (with {...}) and
hope rest of match.pd optimizes that or add matchers for the various
optimizations in there?
>From gcc-bugs-return-568255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 11:53:52 2017
Return-Path: <gcc-bugs-return-568255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52515 invoked by alias); 10 Jul 2017 11: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 45204 invoked by uid 48); 10 Jul 2017 11:53:46 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81196] Number of iterations found for p!=q but not for p<q
Date: Mon, 10 Jul 2017 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.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amker at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amker at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-81196-4-GF7SxhMyx1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81196-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81196-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00806.txt.bz2
Content-length: 401
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81196
amker at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #9 from amker at gcc dot gnu.org ---
Should be fixed.
>From gcc-bugs-return-568257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 11:54:18 2017
Return-Path: <gcc-bugs-return-568257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72687 invoked by alias); 10 Jul 2017 11: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 64257 invoked by uid 48); 10 Jul 2017 11:54:10 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81374] [8 Regression] ICE in bb_top_order_cmp, at tree-loop-distribution.c:391
Date: Mon, 10 Jul 2017 11:54: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: 7.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amker at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amker 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-81374-4-zBnf1nMvYO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81374-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81374-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00808.txt.bz2
Content-length: 385
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81374
amker at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-07-10
Ever confirmed|0 |1
>From gcc-bugs-return-568256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 11:54:02 2017
Return-Path: <gcc-bugs-return-568256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58233 invoked by alias); 10 Jul 2017 11:54: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 55320 invoked by uid 48); 10 Jul 2017 11:53:57 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug regression/81331] [8 Regression] FAIL: 21_strings/basic_string/modifiers/insert/char/1.cc execution test
Date: Mon, 10 Jul 2017 11:54: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-81331-4-8vGCGmIEKX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81331-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81331-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00807.txt.bz2
Content-length: 631
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81331
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ian at airs dot com,
| |jason at redhat dot com,
| |rth at gcc dot gnu.org
--- Comment #8 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Richard, Iant, Jason,
it would be great if at least one of you told me what is wrong with Eh delivery
here ;)
>From gcc-bugs-return-568258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 12:13:02 2017
Return-Path: <gcc-bugs-return-568258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35649 invoked by alias); 10 Jul 2017 12:13: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 33626 invoked by uid 48); 10 Jul 2017 12:12:56 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/81377] New: [nvptx] Add possibility for libgomp nvptx plugin to use ptxas
Date: Mon, 10 Jul 2017 12:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgomp
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: vries 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 cc target_milestone
Message-ID: <bug-81377-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00809.txt.bz2
Content-length: 1809
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81377
Bug ID: 81377
Summary: [nvptx] Add possibility for libgomp nvptx plugin to
use ptxas
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: libgomp
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
CC: jakub at gcc dot gnu.org
Target Milestone: ---
An openacc executable contains ptx code, and uses the libgomp plugin to:
- compile the code using the JIT compiler into a cubin module
- load the cubin module
- execute one or more kernels in the cubin module
[ Context: There is a number of patches pending (
https://gcc.gnu.org/ml/gcc-patches/2017-07/msg00167.html ) which add
environment variables to control this process:
- GOMP_NVPTX_PTXRW=w: Write the embedded ptx to files
- GOMP_NVPTX_PTXRW=r: Ignore the embedded ptx, and read from files instead
- GOMP_NVPTX_JIT: Add opions to JIT command line
- GOMP_NVPTX_SAVE_TEMPS: save the generated cubin module to file
- GOMP_NVPTX_DISASM: disassemble the generated cubin module to stdout
]
Instead of using the JIT compiler, we could use ptxas instead. That way, we can
see if a JIT bug also reproduces with ptxas. Furthermore, it's easier to try
out multiple versions of ptxas, since we don't have to install another driver
version.
We could redefine GOMP_NVPTX_SAVE_TEMPS into GOMP_NVPTX_CUBINRW=w, then add
GOMP_NVPTX_CUBINRW=r and do:
- GOMP_NVPTX_PTRXRW=w
- call ptxas to produce cubin
- GOMP_NVPTX_CUBINRW=r
But it would be easier from user perspective to add handling of a variable
GOMP_NVPTX_PTXAS, f.i. set to "/usr/local/cuda-8.0/bin/ptxas --return-at-end
-O2".
>From gcc-bugs-return-568259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 12:17:22 2017
Return-Path: <gcc-bugs-return-568259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40030 invoked by alias); 10 Jul 2017 12:17: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 33665 invoked by uid 48); 10 Jul 2017 12:17:17 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/81376] unnecessary cast before comparison
Date: Mon, 10 Jul 2017 12:17: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: 8.0
X-Bugzilla-Keywords:
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:
Message-ID: <bug-81376-4-xrZMobGLkG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81376-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81376-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00810.txt.bz2
Content-length: 230
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81376
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
Good timing, Yuri Gribov is working on PR57371 (the case where one side is a
constant), he might be interested.
>From gcc-bugs-return-568260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 12:22:15 2017
Return-Path: <gcc-bugs-return-568260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50039 invoked by alias); 10 Jul 2017 12:22: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 47377 invoked by uid 48); 10 Jul 2017 12:22:11 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions
Date: Mon, 10 Jul 2017 12:22: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: 7.1.0
X-Bugzilla-Keywords:
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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81021-4-W14vS3L33X@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00811.txt.bz2
Content-length: 928
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021
--- Comment #16 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Avi Kivity from comment #15)
> Unfortunately, backporting your patch is not enough; it depends on another,
> and backporting the dependency generates many conflicts.
>
> There is now a ./install-dependencies.sh in the scylla repositories, so to
> get a reproducer, you can (on Fedora)
>
> git clone --recurse-submodules https://github.com/scylladb/scylla
> sudo ./install-dependencies.sh # just running yum, honest
> ./configure.py
> ninja build/debug/tests/view_schema_test_g # add -j smallnum if
> running out of memory
> build/debug/tests/view_schema_test_g -- --smp 1 -m1G # will reproduce
> the problem
Unfortunately I don't have any Fedora system to test it. Do you have any
experience using Docker? This can be good candidate to reproduce that?
>From gcc-bugs-return-568261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 12:25:30 2017
Return-Path: <gcc-bugs-return-568261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102815 invoked by alias); 10 Jul 2017 12:25: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 91612 invoked by uid 48); 10 Jul 2017 12:25:14 -0000
From: "avi@cloudius-systems.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions
Date: Mon, 10 Jul 2017 12:25: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: 7.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: avi@cloudius-systems.com
X-Bugzilla-Status: NEW
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-81021-4-8lNaPsXaon@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00812.txt.bz2
Content-length: 609
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021
--- Comment #17 from Avi Kivity <avi@cloudius-systems.com> ---
(In reply to Martin Liška from comment #16)
>
> Unfortunately I don't have any Fedora system to test it. Do you have any
> experience using Docker? This can be good candidate to reproduce that?
If you run these tree commands:
docker pull fedora:rawhide
docker run -it --rm fedora:rawhide bash
dnf install -y git sudo
then you can continue with the other commands in the container (in fact that's
how I tested that build-dependencies.sh pulls in all dependencies).
>From gcc-bugs-return-568262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 12:34:12 2017
Return-Path: <gcc-bugs-return-568262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20609 invoked by alias); 10 Jul 2017 12:34: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 16097 invoked by uid 48); 10 Jul 2017 12:34:07 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/81378] New: [nvptx] Add openacc testcase using generated ptx but bypassing libgomp
Date: Mon, 10 Jul 2017 12:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgomp
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: vries 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 cc target_milestone
Message-ID: <bug-81378-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00813.txt.bz2
Content-length: 1107
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81378
Bug ID: 81378
Summary: [nvptx] Add openacc testcase using generated ptx but
bypassing libgomp
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: libgomp
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
CC: jakub at gcc dot gnu.org
Target Milestone: ---
An openacc test-case uses libgomp and the libgomp nvptx plugin to offload ptx
code to a cuda device.
When reporting ptx bugs to nvidia, we send standalone test-cases that do not
use libgomp. These test-cases use a harness.c that, not surprisingly, contains
a lot of code from libgomp/plugin/plugin-nvptx.c.
It would be good to add harness.c to libgomp, factor out the common code into a
reusable form, and add a test-case that:
- compiles and runs an openacc test-case
- extracts the ptx
- uses the harness.c to compile and run the ptx, in the same way as the plugin
would do
>From gcc-bugs-return-568263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 12:52:27 2017
Return-Path: <gcc-bugs-return-568263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101185 invoked by alias); 10 Jul 2017 12:52: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 97368 invoked by uid 48); 10 Jul 2017 12:52:20 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81366] pragma omp simd reduce(max:m) not vectorizing
Date: Mon, 10 Jul 2017 12: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.0
X-Bugzilla-Keywords:
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: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-81366-4-F2RQfAa6Xh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81366-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81366-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00814.txt.bz2
Content-length: 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81366
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-07-10
CC| |jakub at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
FRE or similar are unable to sufficiently optimize the mess added because of
the std::max references.
If one uses
m = x[i] < m ? m : x[i];
instead of
m = std::max(x[i], m);
in the loop, then before ifcvt we see:
_21 = GOMP_SIMD_LANE (simduid.1_12(D));
_1 = (long unsigned int) i_35;
_2 = _1 * 8;
_3 = x_22(D) + _2;
_4 = *_3;
_23 = D.2907[_21];
if (_4 < _23)
goto <bb 8>; [50.00%] [count: INV]
else
goto <bb 9>; [50.00%] [count: INV]
<bb 8> [42.50%] [count: INV]:
<bb 9> [85.00%] [count: INV]:
# iftmp.0_6 = PHI <_23(8), _4(7)>
D.2907[_21] = iftmp.0_6;
i_25 = i_35 + 1;
if (n_15(D) > i_25)
and that can be handled just fine.
But with std::max we have:
# i_38 = PHI <0(6), i_25(10)>
_20 = GOMP_SIMD_LANE (simduid.2_12(D));
_1 = (long unsigned int) i_38;
_2 = _1 * 8;
_3 = x_21(D) + _2;
_23 = MEM[(const double &)_3];
_28 = MEM[(const double &)&D.2904][_20];
if (_23 < _28)
goto <bb 8>; [50.00%] [count: INV]
else
goto <bb 9>; [50.00%] [count: INV]
<bb 8> [42.50%] [count: INV]:
_42 = (sizetype) _20;
_7 = _42 * 8;
_22 = &D.2904 + _7;
pretmp_50 = MEM[(const double &)_22];
<bb 9> [85.00%] [count: INV]:
# prephitmp_51 = PHI <_23(7), pretmp_50(8)>
D.2904[_20] = prephitmp_51;
i_25 = i_38 + 1;
if (n_14(D) > i_25)
It figured out that one of the prephitmp_51 arguments is _23, but not that
pretmp_50 = _28;
and thus it wants to generate a masked load.
>From gcc-bugs-return-568264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 13:14:37 2017
Return-Path: <gcc-bugs-return-568264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79655 invoked by alias); 10 Jul 2017 13:14: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 72996 invoked by uid 48); 10 Jul 2017 13:14:32 -0000
From: "gjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81075] [avr] Move jump-tables out of .text
Date: Mon, 10 Jul 2017 13:14: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: 6.2.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gjl at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: gjl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-81075-4-vAJrLK0Thn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81075-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81075-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00815.txt.bz2
Content-length: 484
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81075
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |8.0
--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Fixed in v8.
>From gcc-bugs-return-568265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 13:26:13 2017
Return-Path: <gcc-bugs-return-568265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104406 invoked by alias); 10 Jul 2017 13:26: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 99329 invoked by uid 55); 10 Jul 2017 13:25:59 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/80838] PGO/LTO bootstrapped compiler 5% slower than pure PGO bootstrapped one
Date: Mon, 10 Jul 2017 13:26: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: 7.1.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka 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-80838-4-L6OjKbCqYk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80838-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80838-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00816.txt.bz2
Content-length: 473
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80838
--- Comment #7 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Mon Jul 10 13:25:23 2017
New Revision: 250094
URL: https://gcc.gnu.org/viewcvs?rev=250094&root=gcc&view=rev
Log:
PR lto/80838
* lto-wrapper.c (remove_option): New function.
(merge_and_complain): Merge PIC/PIE options more realistically.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/lto-wrapper.c
>From gcc-bugs-return-568266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 13:49:37 2017
Return-Path: <gcc-bugs-return-568266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5402 invoked by alias); 10 Jul 2017 13:49: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 5323 invoked by uid 55); 10 Jul 2017 13:49:31 -0000
From: "koulang at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/81029] Compiling sketch with arduinodroid
Date: Mon, 10 Jul 2017 13:49: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: normal
X-Bugzilla-Who: koulang 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-81029-4-AHf2ulf5Kx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81029-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81029-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00817.txt.bz2
Content-length: 861
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81029
--- Comment #2 from koulang at gmail dot com ---
hi
source joined
what is the stack size ?
Le 09/06/2017 à 16:58, pinskia at gcc dot gnu.org a écrit :
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81029
>
> Andrew Pinski <pinskia at gcc dot gnu.org> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|UNCONFIRMED |WAITING
> Last reconfirmed| |2017-06-09
> Ever confirmed|0 |1
>
> --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> Can you provide the preprocessed source which is causing the crash? Also can
> you check that the stack size between the two machines?
>
>From gcc-bugs-return-568267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 13:51:23 2017
Return-Path: <gcc-bugs-return-568267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54292 invoked by alias); 10 Jul 2017 13: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 54236 invoked by uid 48); 10 Jul 2017 13:51:19 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/81379] New: autoFDO test failures
Date: Mon, 10 Jul 2017 13:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin 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 cc target_milestone
Message-ID: <bug-81379-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00818.txt.bz2
Content-length: 1435
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81379
Bug ID: 81379
Summary: autoFDO test failures
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov-profile
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: andi-gcc at firstfloor dot org, hubicka at ucw dot cz,
marxin at gcc dot gnu.org
Target Milestone: ---
After I have working create_gcov utility, I see following tests to fail:
FAIL: gcc.dg/tree-prof/indir-call-prof.c scan-ipa-dump afdo "Indirect call ->
direct call.* a1 transformation on insn"
This one is already tracked here: PR71672.
FAIL: gcc.dg/tree-prof/cold_partition_label.c scan-assembler foo[._]+cold[._]+0
FAIL: gcc.dg/tree-prof/cold_partition_label.c scan-assembler size[
\ta-zA-Z0-0]+foo[._]+cold[._]+0
FAIL: gcc.dg/tree-prof/peel-1.c scan-tree-dump cunroll "Peeled loop ., 1 times"
FAIL: gcc.dg/tree-prof/section-attr-3.c scan-assembler .section[\t
]*.text.unlikely[\\n\\r]+[\t ]*.size[\t ]*foo.cold.0
FAIL: gcc.dg/tree-prof/section-attr-1.c scan-assembler .section[\t
]*.text.unlikely[\\n\\r]+[\t ]*.size[\t ]*foo.cold.0
Here, there's problem that:
<bb 2> [0.01%] [count: 17]:
if (path_8(D) != 0)
goto <bb 8>; [50.00%] [count: 9]
else
goto <bb 9>; [50.00%] [count: 9]
>From gcc-bugs-return-568268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 13:59:51 2017
Return-Path: <gcc-bugs-return-568268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6957 invoked by alias); 10 Jul 2017 13:59: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 4698 invoked by uid 48); 10 Jul 2017 13:59:45 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81380] New: basic_stringbuf::seekoff doesn't fail when trying to reposition a null sequence
Date: Mon, 10 Jul 2017 13:59: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: 8.0
X-Bugzilla-Keywords:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-81380-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00819.txt.bz2
Content-length: 870
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81380
Bug ID: 81380
Summary: basic_stringbuf::seekoff doesn't fail when trying to
reposition a null sequence
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: redi at gcc dot gnu.org
Target Milestone: ---
#include <sstream>
#include <cassert>
int main()
{
std::stringbuf sb("foo", std::ios::in);
assert(sb.pubseekoff(1, std::ios::beg) == -1);
assert(sb.pubseekpos(1) == -1);
}
The second assertion should be equivalent to the first ([stringbuf.virtuals]
p13) but it fails:
seekpos: seekpos.cc:8: int main(): Assertion `sb.pubseekpos(1) == -1' failed.
Aborted (core dumped)
>From gcc-bugs-return-568269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 14:00:57 2017
Return-Path: <gcc-bugs-return-568269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40105 invoked by alias); 10 Jul 2017 14:00: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 12450 invoked by uid 48); 10 Jul 2017 14:00:02 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81380] basic_stringbuf::seekoff doesn't fail when trying to reposition a null sequence
Date: Mon, 10 Jul 2017 14: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: 8.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-81380-4-TSQLTiBzGD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81380-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81380-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00820.txt.bz2
Content-length: 489
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81380
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2017-07-10
Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org
Ever confirmed|0 |1
>From gcc-bugs-return-568270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 14:13:59 2017
Return-Path: <gcc-bugs-return-568270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13017 invoked by alias); 10 Jul 2017 14:13: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 12917 invoked by uid 48); 10 Jul 2017 14:13:54 -0000
From: "gnugcc at marino dot st" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/79542] [7/8 regression] GNAT bug box
Date: Mon, 10 Jul 2017 14:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ada
X-Bugzilla-Version: 7.0.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gnugcc at marino dot st
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: 7.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-79542-4-ObN0ayYZ3T@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79542-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00821.txt.bz2
Content-length: 791
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79542
John Marino <gnugcc at marino dot st> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gnugcc at marino dot st
--- Comment #5 from John Marino <gnugcc at marino dot st> ---
I hit this bug using GCC 7.1.0 on the same package but different OS (DragonFly
x86_64 was used).
I understand there is a patch for review to fix this:
https://gcc.gnu.org/ml/gcc-patches/2017-05/msg02049.html
It was submitted in late May, so could somebody with approval authority take a
look at Pierre-Marie's patch? It fixes an ICE and a regression on a release
so in my opinion it's relatively high priority.
>From gcc-bugs-return-568271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 14:17:00 2017
Return-Path: <gcc-bugs-return-568271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43747 invoked by alias); 10 Jul 2017 14: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 32987 invoked by uid 48); 10 Jul 2017 14:16:55 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81381] New: std::basic_stringbuf only works with DefaultConstructible allocators
Date: Mon, 10 Jul 2017 14:16: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: 8.0
X-Bugzilla-Keywords: rejects-valid
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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-81381-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00822.txt.bz2
Content-length: 1170
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81381
Bug ID: 81381
Summary: std::basic_stringbuf only works with
DefaultConstructible allocators
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: redi at gcc dot gnu.org
Target Milestone: ---
#include <memory>
#include <sstream>
#include <cassert>
template<typename T>
struct Alloc : std::allocator<T>
{
template<typename U> struct rebind { using other = Alloc<U>; };
Alloc(int id) : id(id) { }
template<typename U> Alloc(const Alloc<U>& a) : id(a.id) { }
int id;
};
using string = std::basic_string<char, std::char_traits<char>, Alloc<char>>;
struct SB : std::basic_stringbuf<char, std::char_traits<char>, Alloc<char>>
{
SB(const string& s) : basic_stringbuf(s) { }
using basic_stringbuf::overflow;
};
int main()
{
string s(Alloc<char>(1));
SB b(s);
b.overflow('a');
assert( b.str().get_allocator() == s.get_allocator() );
}
>From gcc-bugs-return-568272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 14:17:14 2017
Return-Path: <gcc-bugs-return-568272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54387 invoked by alias); 10 Jul 2017 14:17: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 49278 invoked by uid 48); 10 Jul 2017 14:17:07 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81381] std::basic_stringbuf only works with DefaultConstructible allocators
Date: Mon, 10 Jul 2017 14:17: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.0
X-Bugzilla-Keywords: rejects-valid
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-81381-4-Nth9WOfUc3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81381-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81381-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00823.txt.bz2
Content-length: 489
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81381
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2017-07-10
Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org
Ever confirmed|0 |1
>From gcc-bugs-return-568273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 14:49:31 2017
Return-Path: <gcc-bugs-return-568273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129313 invoked by alias); 10 Jul 2017 14:49: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 127716 invoked by uid 48); 10 Jul 2017 14:49:26 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions
Date: Mon, 10 Jul 2017 14:49: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: 7.1.0
X-Bugzilla-Keywords:
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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81021-4-JnSoCtqNzQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00824.txt.bz2
Content-length: 1746
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021
--- Comment #18 from Martin Liška <marxin at gcc dot gnu.org> ---
I can confirm I can reproduce it. Now with just AddressSanitizer I see:
==5488==ERROR: AddressSanitizer: unknown-crash on address 0x7fa04c0092e0 at pc
0x000005ee3108 bp 0x7fa04c0091b0 sp 0x7fa04c0091a0
WRITE of size 32 at 0x7fa04c0092e0 thread T1
...
SUMMARY: AddressSanitizer: unknown-crash tests/cql_test_env.cc:247 in
single_node_cql_env::create_keyspace(seastar::basic_sstring<char, unsigned int,
15u>)
Shadow bytes around the buggy address:
0x0ff4897f9200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0ff4897f9210: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0ff4897f9220: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0ff4897f9230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0ff4897f9240: f1 f1 f1 f1 00 f2 f2 f2 f2 f2 f2 f2 00 00 f2 f2
=>0x0ff4897f9250: f2 f2 f2 f2 00 00 00 00 f2 f2 f2 f2[00]00 f8 f8
0x0ff4897f9260: f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00
And I realized there's one interesting function in back-trace:
0x7fa04c0092e0 is located 119520 bytes inside of 131072-byte region
[0x7fa04bfec000,0x7fa04c00c000)
allocated by thread T1 here:
#0 0x7fa060d984a0 in posix_memalign (/lib64/libasan.so.4+0xdf4a0)
#1 0x7cef31 in operator new[](unsigned long, seastar::with_alignment)
core/memory.cc:1754
#2 0x8a0704 in seastar::thread_context::make_stack() core/thread.cc:169
#3 0x89ff7d in
seastar::thread_context::thread_context(seastar::thread_attributes,
std::function<void ()>) core/thread.cc:153
Where in #2 there's a call of make_stack. Maybe that does some magic which
breaks a shadow stack? Can you please investigate that?
>From gcc-bugs-return-568274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 14:51:02 2017
Return-Path: <gcc-bugs-return-568274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89756 invoked by alias); 10 Jul 2017 14:51: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 77020 invoked by uid 48); 10 Jul 2017 14:50:56 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/80838] PGO/LTO bootstrapped compiler 5% slower than pure PGO bootstrapped one
Date: Mon, 10 Jul 2017 14:51: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: 7.1.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels 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-80838-4-7CGIyvHuKh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80838-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80838-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00825.txt.bz2
Content-length: 449
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80838
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #8 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Fixed. Thanks.
>From gcc-bugs-return-568276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 14:58:42 2017
Return-Path: <gcc-bugs-return-568276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28395 invoked by alias); 10 Jul 2017 14:58: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 15493 invoked by uid 48); 10 Jul 2017 14:58:36 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/81382] New: glibc deadlock in signal handler
Date: Mon, 10 Jul 2017 14:58: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: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin 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_file_loc bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-81382-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00827.txt.bz2
Content-length: 9504
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81382
Bug ID: 81382
Summary: glibc deadlock in signal handler
Product: gcc
Version: 7.0
URL: https://bugzilla.suse.com/show_bug.cgi?id=1047882
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: driver
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
Target Milestone: ---
I have a stress tester which ends time to time in a deadlock:
#0 __lll_lock_wait_private () at
../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
#1 0x00002b872a9ce818 in _int_free (av=0x2b872acf3ae0 <main_arena>,
p=0x345f4d0, have_lock=0) at malloc.c:3969
#2 0x000000000127128a in
xcallocator<hash_map<mem_alloc_description<mem_usage>::mem_location_hash,
mem_usage*,
simple_hashmap_traits<default_hash_traits<mem_alloc_description<mem_usage>::mem_location_hash>,
mem_usage*> >::hash_entry>::data_free (memory=<optimized out>)
at .././../gcc/hash-table.h:273
#3 hash_table<hash_map<mem_alloc_description<mem_usage>::mem_location_hash,
mem_usage*,
simple_hashmap_traits<default_hash_traits<mem_alloc_description<mem_usage>::mem_location_hash>,
mem_usage*> >::hash_entry, xcallocator>::~hash_table (this=0x345f4a0,
__in_chrg=<optimized out>) at .././../gcc/hash-table.h:628
#4 hash_map<mem_alloc_description<mem_usage>::mem_location_hash, mem_usage*,
simple_hashmap_traits<default_hash_traits<mem_alloc_description<mem_usage>::mem_location_hash>,
mem_usage*> >::~hash_map (this=0x345f4a0, __in_chrg=<optimized out>) at
.././../gcc/hash-map.h:26
#5 mem_alloc_description<mem_usage>::~mem_alloc_description (this=0x1c7c240
<hash_table_usage>, __in_chrg=<optimized out>) at .././../gcc/mem-stats.h:558
#6 0x00002b872a98a638 in __run_exit_handlers (status=status@entry=4,
listp=0x2b872acf35b8 <__exit_funcs>,
run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at
exit.c:83
#7 0x00002b872a98a68a in __GI_exit (status=status@entry=4) at exit.c:105
#8 0x00000000012729c7 in diagnostic_action_after_output
(context=context@entry=0x1c7c2c0 <global_diagnostic_context>,
diag_kind=diag_kind@entry=DK_ICE) at .././../gcc/diagnostic.c:522
#9 0x000000000127343d in error_recursion (context=0x1c7c2c0
<global_diagnostic_context>) at .././../gcc/diagnostic.c:1462
#10 diagnostic_report_diagnostic (context=0x1c7c2c0
<global_diagnostic_context>, diagnostic=diagnostic@entry=0x7fffecaac220) at
.././../gcc/diagnostic.c:903
#11 0x00000000012734bf in diagnostic_impl
(richloc=richloc@entry=0x7fffecaac2a0, opt=opt@entry=-1,
gmsgid=gmsgid@entry=0x137ea4e "%s", ap=ap@entry=0x7fffecaac288,
kind=kind@entry=DK_ICE) at .././../gcc/diagnostic.c:1099
#12 0x00000000012740e5 in internal_error (gmsgid=gmsgid@entry=0x137ea4e "%s")
at .././../gcc/diagnostic.c:1410
#13 0x0000000000b48d80 in crash_signal (signo=6) at .././../gcc/toplev.c:338
#14 <signal handler called>
#15 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#16 0x00002b872a9890c6 in __GI_abort () at abort.c:78
#17 0x00002b872a9c68f1 in __libc_message (do_abort=do_abort@entry=2,
fmt=fmt@entry=0x2b872aac0b18 "*** Error in `%s': %s: 0x%s ***\n") at
../sysdeps/posix/libc_fatal.c:175
#18 0x00002b872a9ccf3b in malloc_printerr (action=<optimized out>,
str=0x2b872aac1210 "malloc(): memory corruption (fast)", ptr=<optimized out>,
ar_ptr=<optimized out>) at malloc.c:5077
#19 0x00002b872a9d0450 in _int_malloc (av=av@entry=0x2b872acf3ae0 <main_arena>,
bytes=bytes@entry=36) at malloc.c:3386
#20 0x00002b872a9d1678 in __GI___libc_malloc (bytes=bytes@entry=36) at
malloc.c:2890
#21 0x00000000012dbe90 in xrealloc (oldmem=oldmem@entry=0x0, size=36) at
.././../libiberty/xmalloc.c:177
#22 0x0000000001277bb6 in va_heap::reserve<(anonymous namespace)::layout_range>
(exact=true, reserve=<optimized out>, v=@0x7fffecaad0a0: 0x0) at
.././../gcc/vec.h:288
#23 vec<(anonymous namespace)::layout_range, va_heap, vl_ptr>::reserve
(exact=true, nelems=<optimized out>, this=0x7fffecaad0a0) at
.././../gcc/vec.h:1473
#24 vec<(anonymous namespace)::layout_range, va_heap, vl_ptr>::reserve_exact
(nelems=<optimized out>, this=0x7fffecaad0a0) at .././../gcc/vec.h:1493
#25 vec<(anonymous namespace)::layout_range, va_heap, vl_ptr>::create
(nelems=<optimized out>, this=0x7fffecaad0a0) at .././../gcc/vec.h:1508
#26 auto_vec<(anonymous namespace)::layout_range, 0>::auto_vec (n=<optimized
out>, this=0x7fffecaad0a0) at .././../gcc/vec.h:1320
#27 (anonymous namespace)::layout::layout (diagnostic_kind=<optimized out>,
richloc=0x7fffecaad1e0, context=0x1c7c2c0 <global_diagnostic_context>,
this=0x7fffecaad020) at .././../gcc/diagnostic-show-locus.c:776
#28 diagnostic_show_locus (context=context@entry=0x1c7c2c0
<global_diagnostic_context>, richloc=0x7fffecaad1e0, diagnostic_kind=<optimized
out>) at .././../gcc/diagnostic-show-locus.c:1815
#29 0x0000000000666468 in c_diagnostic_finalizer (context=0x1c7c2c0
<global_diagnostic_context>, diagnostic=0x7fffecaad160) at
.././../gcc/c-family/c-opts.c:166
#30 0x0000000001273119 in diagnostic_report_diagnostic (context=0x1c7c2c0
<global_diagnostic_context>, diagnostic=diagnostic@entry=0x7fffecaad160) at
.././../gcc/diagnostic.c:979
#31 0x00000000012734bf in diagnostic_impl
(richloc=richloc@entry=0x7fffecaad1e0, opt=opt@entry=-1,
gmsgid=gmsgid@entry=0x137ea4e "%s", ap=ap@entry=0x7fffecaad1c8,
kind=kind@entry=DK_ICE) at .././../gcc/diagnostic.c:1099
#32 0x00000000012740e5 in internal_error (gmsgid=gmsgid@entry=0x137ea4e "%s")
at .././../gcc/diagnostic.c:1410
#33 0x0000000000b48d80 in crash_signal (signo=11) at .././../gcc/toplev.c:338
#34 <signal handler called>
#35 __memmove_avx_unaligned_erms () at
../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:478
#36 0x000000000127614f in (anonymous namespace)::line_corrections::add_hint
(this=this@entry=0x7fffecaad9f0, hint=hint@entry=0x3489e20) at
.././../gcc/diagnostic-show-locus.c:1514
#37 0x0000000001278605 in (anonymous namespace)::layout::print_trailing_fixits
(row=<optimized out>, this=0x7fffecaada10) at
.././../gcc/diagnostic-show-locus.c:1558
#38 (anonymous namespace)::layout::print_line (row=<optimized out>,
this=0x7fffecaada10) at .././../gcc/diagnostic-show-locus.c:1780
#39 diagnostic_show_locus (context=context@entry=0x1c7c2c0
<global_diagnostic_context>, richloc=<optimized out>,
diagnostic_kind=<optimized out>) at .././../gcc/diagnostic-show-locus.c:1827
#40 0x0000000000666468 in c_diagnostic_finalizer (context=0x1c7c2c0
<global_diagnostic_context>, diagnostic=0x7fffecaadb50) at
.././../gcc/c-family/c-opts.c:166
#41 0x0000000001273119 in diagnostic_report_diagnostic (context=0x1c7c2c0
<global_diagnostic_context>, diagnostic=diagnostic@entry=0x7fffecaadb50) at
.././../gcc/diagnostic.c:979
#42 0x00000000012734bf in diagnostic_impl (richloc=<optimized out>, opt=288,
gmsgid=<optimized out>, ap=ap@entry=0x7fffecaadbb8, kind=kind@entry=DK_WARNING)
at .././../gcc/diagnostic.c:1099
#43 0x00000000012739b8 in warning_at_rich_loc (richloc=<optimized out>,
opt=opt@entry=288, gmsgid=gmsgid@entry=0x1309650 "missing braces around
initializer") at .././../gcc/diagnostic.c:1214
#44 0x00000000005c7e62 in pop_init_level (loc=loc@entry=66752,
implicit=implicit@entry=0,
braced_init_obstack=braced_init_obstack@entry=0x7fffecaadd30,
insert_before=insert_before@entry=66976) at .././../gcc/c/c-typeck.c:8069
#45 0x00000000005f332a in c_parser_braced_init
(parser=parser@entry=0x2b872ae9f000, type=type@entry=0x0,
nested_p=nested_p@entry=false, outer_obstack=outer_obstack@entry=0x0) at
.././../gcc/c/c-parser.c:4443
#46 0x00000000005f42dd in c_parser_initializer
(parser=parser@entry=0x2b872ae9f000) at .././../gcc/c/c-parser.c:4365
#47 0x00000000006015ce in c_parser_declaration_or_fndef
(parser=parser@entry=0x2b872ae9f000, fndef_ok=false, fndef_ok@entry=true,
static_assert_ok=static_assert_ok@entry=true, empty_ok=empty_ok@entry=true,
nested=nested@entry=false,
start_attr_ok=start_attr_ok@entry=true,
objc_foreach_object_declaration=<optimized out>, omp_declare_simd_clauses=...,
oacc_routine_data=<optimized out>, fallthru_attr_p=<optimized out>) at
.././../gcc/c/c-parser.c:1933
#48 0x000000000060a334 in c_parser_external_declaration (parser=0x2b872ae9f000)
at .././../gcc/c/c-parser.c:1470
#49 0x000000000060adaa in c_parser_translation_unit (parser=<optimized out>) at
.././../gcc/c/c-parser.c:1351
#50 c_parse_file () at .././../gcc/c/c-parser.c:18168
#51 0x0000000000669067 in c_common_parse_file () at
.././../gcc/c-family/c-opts.c:1104
#52 0x0000000000b48ddf in compile_file () at .././../gcc/toplev.c:468
#53 0x000000000057cff1 in do_compile () at .././../gcc/toplev.c:2021
#54 toplev::main (this=this@entry=0x7fffecaae14e, argc=<optimized out>,
argc@entry=23, argv=<optimized out>, argv@entry=0x7fffecaae248) at
.././../gcc/toplev.c:2155
#55 0x000000000057f3fb in main (argc=23, argv=0x7fffecaae248) at
.././../gcc/main.c:39
I've already discussed that slightly in openSUSE bugzilla and it shows that we
allocate a memory in a signal handler. Which is prohibited by glibc.
>From gcc-bugs-return-568275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 14:58:27 2017
Return-Path: <gcc-bugs-return-568275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8303 invoked by alias); 10 Jul 2017 14:58: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 2012 invoked by uid 48); 10 Jul 2017 14:58:22 -0000
From: "avi@cloudius-systems.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions
Date: Mon, 10 Jul 2017 14:58: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: 7.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: avi@cloudius-systems.com
X-Bugzilla-Status: NEW
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-81021-4-H03ZyryIhK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00826.txt.bz2
Content-length: 2126
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021
--- Comment #19 from Avi Kivity <avi@cloudius-systems.com> ---
(In reply to Martin Liška from comment #18)
> I can confirm I can reproduce it. Now with just AddressSanitizer I see:
>
> ==5488==ERROR: AddressSanitizer: unknown-crash on address 0x7fa04c0092e0 at
> pc 0x000005ee3108 bp 0x7fa04c0091b0 sp 0x7fa04c0091a0
> WRITE of size 32 at 0x7fa04c0092e0 thread T1
>
> ...
>
> SUMMARY: AddressSanitizer: unknown-crash tests/cql_test_env.cc:247 in
> single_node_cql_env::create_keyspace(seastar::basic_sstring<char, unsigned
> int, 15u>)
> Shadow bytes around the buggy address:
> 0x0ff4897f9200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 0x0ff4897f9210: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 0x0ff4897f9220: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 0x0ff4897f9230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 0x0ff4897f9240: f1 f1 f1 f1 00 f2 f2 f2 f2 f2 f2 f2 00 00 f2 f2
> =>0x0ff4897f9250: f2 f2 f2 f2 00 00 00 00 f2 f2 f2 f2[00]00 f8 f8
> 0x0ff4897f9260: f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00
>
> And I realized there's one interesting function in back-trace:
>
> 0x7fa04c0092e0 is located 119520 bytes inside of 131072-byte region
> [0x7fa04bfec000,0x7fa04c00c000)
> allocated by thread T1 here:
> #0 0x7fa060d984a0 in posix_memalign (/lib64/libasan.so.4+0xdf4a0)
> #1 0x7cef31 in operator new[](unsigned long, seastar::with_alignment)
> core/memory.cc:1754
> #2 0x8a0704 in seastar::thread_context::make_stack() core/thread.cc:169
> #3 0x89ff7d in
> seastar::thread_context::thread_context(seastar::thread_attributes,
> std::function<void ()>) core/thread.cc:153
>
> Where in #2 there's a call of make_stack. Maybe that does some magic which
> breaks a shadow stack? Can you please investigate that?
The code uses user-level threads (makecontext/setcontext etc). It annotates the
new stack during the switch, see for example
https://github.com/scylladb/seastar/blob/master/core/thread.cc#L66. Supposedly
it's correct, but perhaps something is missing.
>From gcc-bugs-return-568277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 15:02:33 2017
Return-Path: <gcc-bugs-return-568277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112047 invoked by alias); 10 Jul 2017 15: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 111822 invoked by uid 48); 10 Jul 2017 15:02:22 -0000
From: "avi@cloudius-systems.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions
Date: Mon, 10 Jul 2017 15:02: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: 7.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: avi@cloudius-systems.com
X-Bugzilla-Status: NEW
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-81021-4-I2kM5SC33g@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00828.txt.bz2
Content-length: 443
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021
--- Comment #20 from Avi Kivity <avi@cloudius-systems.com> ---
btw, you can try pulling from https://github.com/avikivity/scylla/tree/2546; it
has some fixes (specifically
https://github.com/avikivity/scylla/commit/408d540eda30b557ecc0ab07ac3d39b617b37c4c)
that fixed failures in that area. They're not merged to master because I'm not
sure whether they are bugs in the code or gcc.
>From gcc-bugs-return-568278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 15:55:57 2017
Return-Path: <gcc-bugs-return-568278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115949 invoked by alias); 10 Jul 2017 15:55: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 115554 invoked by uid 48); 10 Jul 2017 15:55:50 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/81383] New: -fstack-protector doesn't work well
Date: Mon, 10 Jul 2017 15:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgcc
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools 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-81383-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00829.txt.bz2
Content-length: 5442
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81383
Bug ID: 81383
Summary: -fstack-protector doesn't work well
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcc
Assignee: unassigned at gcc dot gnu.org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
[hjl@gnu-6 tmp]$ cat ssp-1.c
#ifndef LOOP
#define LOOP 400
#endif
int main (void)
{
int i = 0;
char foo[30];
/* Overflow buffer. */
for (i = 0; i < LOOP; i++)
foo[i] = 42;
return 1; /* fail */
}
[hjl@gnu-6 tmp]$ gcc ssp-1.c -g -fstack-protector
[hjl@gnu-6 tmp]$ ./a.out
Segmentation fault
[hjl@gnu-6 tmp]$ gdb a.out
GNU gdb (GDB) Fedora 8.0-13.0.fc25
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from a.out...done.
(gdb) r
Starting program: /tmp/a.out
Missing separate debuginfos, use: dnf debuginfo-install
glibc-2.24-9.0.fc25.x86_64
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7a4912d in getenv () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ffff7a4912d in getenv () from /lib64/libc.so.6
#1 0x00007ffff7a8847d in __libc_message () from /lib64/libc.so.6
#2 0x00007ffff7b2a387 in __fortify_fail () from /lib64/libc.so.6
#3 0x00007ffff7b2a350 in __stack_chk_fail () from /lib64/libc.so.6
#4 0x000000000040057d in main () at ssp-1.c:15
(gdb) q
A debugging session is active.
Inferior 1 [process 23361] will be killed.
Quit anyway? (y or n) y
[hjl@gnu-6 tmp]$ gcc ssp-1.c -g -fstack-protector -DLOOP=50
[hjl@gnu-6 tmp]$ ./a.out
*** stack smashing detected ***: ./a.out terminated
======= Backtrace: =========
/lib64/libc.so.6(+0x796eb)[0x7f6725a696eb]
/lib64/libc.so.6(__fortify_fail+0x37)[0x7f6725b0b387]
/lib64/libc.so.6(__fortify_fail+0x0)[0x7f6725b0b350]
./a.out[0x40057a]
/lib64/libc.so.6(__libc_start_main+0xf1)[0x7f6725a10931]
./a.out[0x40045a]
======= Memory map: ========
00400000-00401000 r-xp 00000000 08:02 787116
/tmp/a.out
00600000-00601000 r--p 00000000 08:02 787116
/tmp/a.out
00601000-00602000 rw-p 00001000 08:02 787116
/tmp/a.out
00ca3000-00cc4000 rw-p 00000000 00:00 0 [heap]
7f67257d9000-7f67257ef000 r-xp 00000000 08:02 148033
/usr/lib64/libgcc_s-6.3.1-20170216.so.1
7f67257ef000-7f67259ee000 ---p 00016000 08:02 148033
/usr/lib64/libgcc_s-6.3.1-20170216.so.1
7f67259ee000-7f67259ef000 r--p 00015000 08:02 148033
/usr/lib64/libgcc_s-6.3.1-20170216.so.1
7f67259ef000-7f67259f0000 rw-p 00016000 08:02 148033
/usr/lib64/libgcc_s-6.3.1-20170216.so.1
7f67259f0000-7f6725baf000 r-xp 00000000 08:02 135671
/usr/lib64/libc-2.24.so
7f6725baf000-7f6725dae000 ---p 001bf000 08:02 135671
/usr/lib64/libc-2.24.so
7f6725dae000-7f6725db2000 r--p 001be000 08:02 135671
/usr/lib64/libc-2.24.so
7f6725db2000-7f6725db4000 rw-p 001c2000 08:02 135671
/usr/lib64/libc-2.24.so
7f6725db4000-7f6725db8000 rw-p 00000000 00:00 0
7f6725db8000-7f6725dde000 r-xp 00000000 08:02 134046
/usr/lib64/ld-2.24.so
7f6725faa000-7f6725fac000 rw-p 00000000 00:00 0
7f6725fda000-7f6725fdd000 rw-p 00000000 00:00 0
7f6725fdd000-7f6725fde000 r--p 00025000 08:02 134046
/usr/lib64/ld-2.24.so
7f6725fde000-7f6725fdf000 rw-p 00026000 08:02 134046
/usr/lib64/ld-2.24.so
7f6725fdf000-7f6725fe0000 rw-p 00000000 00:00 0
7ffd73573000-7ffd73594000 rw-p 00000000 00:00 0
[stack]
7ffd735d9000-7ffd735db000 r--p 00000000 00:00 0 [vvar]
7ffd735db000-7ffd735dd000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
[vsyscall]
Aborted
[hjl@gnu-6 tmp]$
>From gcc-bugs-return-568279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 16:18:37 2017
Return-Path: <gcc-bugs-return-568279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88091 invoked by alias); 10 Jul 2017 16:18: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 87982 invoked by uid 48); 10 Jul 2017 16:18:33 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/81383] -fstack-protector doesn't work well
Date: Mon, 10 Jul 2017 16:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgcc
X-Bugzilla-Version: 8.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-81383-4-wJRkuE5J5u@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81383-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81383-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00830.txt.bz2
Content-length: 472
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81383
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> ---
__stack_chk_fail was called so this is not a bug.
>From gcc-bugs-return-568280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 16:22:29 2017
Return-Path: <gcc-bugs-return-568280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98966 invoked by alias); 10 Jul 2017 16:22: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 98661 invoked by uid 48); 10 Jul 2017 16:22:23 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/81383] -fstack-protector doesn't work well
Date: Mon, 10 Jul 2017 16:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgcc
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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 resolution everconfirmed
Message-ID: <bug-81383-4-UElFxXczfa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81383-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81383-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00831.txt.bz2
Content-length: 728
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81383
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Last reconfirmed| |2017-07-10
Resolution|INVALID |---
Ever confirmed|0 |1
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Andrew Pinski from comment #1)
> __stack_chk_fail was called so this is not a bug.
The problem is
[hjl@gnu-6 tmp]$ gcc ssp-1.c -g -fstack-protector
[hjl@gnu-6 tmp]$ ./a.out
Segmentation fault
>From gcc-bugs-return-568281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 16:24:53 2017
Return-Path: <gcc-bugs-return-568281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101928 invoked by alias); 10 Jul 2017 16:24: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 101781 invoked by uid 48); 10 Jul 2017 16:24:39 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/81383] -fstack-protector doesn't work well
Date: Mon, 10 Jul 2017 16:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgcc
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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-81383-4-tO8KTt84PB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81383-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81383-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00832.txt.bz2
Content-length: 687
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81383
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |WONTFIX
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to H.J. Lu from comment #2)
> The problem is
>
> [hjl@gnu-6 tmp]$ gcc ssp-1.c -g -fstack-protector
> [hjl@gnu-6 tmp]$ ./a.out
> Segmentation fault
Yes and the segfault is after __stack_chk_fail is called. There is nothing GCC
could do better.
>From gcc-bugs-return-568282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 16:34:53 2017
Return-Path: <gcc-bugs-return-568282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88966 invoked by alias); 10 Jul 2017 16:34: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 79827 invoked by uid 48); 10 Jul 2017 16:34:46 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/81383] -fstack-protector doesn't work well
Date: Mon, 10 Jul 2017 16:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgcc
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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 resolution
Message-ID: <bug-81383-4-kIWyhqQb8U@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81383-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81383-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00833.txt.bz2
Content-length: 2415
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81383
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WONTFIX |---
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-6 tmp]$ cat ssp-1.c
#ifndef LOOP
#define LOOP 400
#endif
int main (void)
{
int i = 0;
char foo[255];
/* Overflow buffer. */
for (i = 0; i < LOOP; i++)
foo[i] = 42;
return 1; /* fail */
}
[hjl@gnu-6 tmp]$ gcc ssp-1.c -g -fstack-protector
[hjl@gnu-6 tmp]$ gdb a.out
GNU gdb (GDB) Fedora 8.0-13.0.fc25
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from a.out...done.
(gdb) r
Starting program: /tmp/a.out
Missing separate debuginfos, use: dnf debuginfo-install
glibc-2.24-9.0.fc25.x86_64
*** stack smashing detected ***: /tmp/a.out terminated
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7806c8b in ?? () from /lib64/libgcc_s.so.1
Missing separate debuginfos, use: dnf debuginfo-install
libgcc-6.3.1-3.2.fc25.x86_64
(gdb) bt
#0 0x00007ffff7806c8b in ?? () from /lib64/libgcc_s.so.1
#1 0x00007ffff7808628 in _Unwind_Backtrace () from /lib64/libgcc_s.so.1
#2 0x00007ffff7b26b8f in backtrace () from /lib64/libc.so.6
#3 0x00007ffff7a2efb6 in backtrace_and_maps () from /lib64/libc.so.6
#4 0x00007ffff7a886eb in __libc_message () from /lib64/libc.so.6
#5 0x00007ffff7b2a387 in __fortify_fail () from /lib64/libc.so.6
#6 0x00007ffff7b2a350 in __stack_chk_fail () from /lib64/libc.so.6
#7 0x0000000000400592 in main () at ssp-1.c:15
(gdb)
_Unwind_Backtrace shouldn't crash
>From gcc-bugs-return-568284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 17:01:29 2017
Return-Path: <gcc-bugs-return-568284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107838 invoked by alias); 10 Jul 2017 17:01: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 107768 invoked by uid 48); 10 Jul 2017 17:01:25 -0000
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81362] [8.0 regression] FAIL: gcc.dg/vect/no-vfa-vect-57.c execution test
Date: Mon, 10 Jul 2017 17:01: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: schwab@linux-m68k.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: attachments.created
Message-ID: <bug-81362-4-Q3xkfQHTY9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81362-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81362-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00835.txt.bz2
Content-length: 244
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81362
--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
Created attachment 41708
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41708&action=edit
no-vfa-vect-57.c.159t.vect
>From gcc-bugs-return-568283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 17:01:20 2017
Return-Path: <gcc-bugs-return-568283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107111 invoked by alias); 10 Jul 2017 17:01: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 107053 invoked by uid 55); 10 Jul 2017 17:01:15 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/81358] libatomic not automatically linked with C11 code
Date: Mon, 10 Jul 2017 17:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: driver
X-Bugzilla-Version: 7.1.1
X-Bugzilla-Keywords: link-failure
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery 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-81358-4-PCW5noJgQX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81358-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81358-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00834.txt.bz2
Content-length: 594
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358
--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
See what I said in
<https://gcc.gnu.org/ml/gcc-patches/2013-11/msg02605.html> - I think
linking --as-needed -latomic --no-as-needed makes sense by default when
--as-needed is supported. The problem would be any platforms where (a)
there is no --as-needed support, but (b) shared libraries are supported
and linking with a shared library introduces a dependency into the binary
even if no symbols from that shared library are used.
>From gcc-bugs-return-568285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 17:02:19 2017
Return-Path: <gcc-bugs-return-568285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109203 invoked by alias); 10 Jul 2017 17:02: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 109143 invoked by uid 48); 10 Jul 2017 17:02:15 -0000
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81362] [8.0 regression] FAIL: gcc.dg/vect/no-vfa-vect-57.c execution test
Date: Mon, 10 Jul 2017 17:02: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: schwab@linux-m68k.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: attachments.created
Message-ID: <bug-81362-4-RyE62HPTjr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81362-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81362-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00836.txt.bz2
Content-length: 234
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81362
--- Comment #3 from Andreas Schwab <schwab@linux-m68k.org> ---
Created attachment 41709
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41709&action=edit
no-vfa-vect-57.s
>From gcc-bugs-return-568286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 17:02:54 2017
Return-Path: <gcc-bugs-return-568286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110515 invoked by alias); 10 Jul 2017 17:02: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 110430 invoked by uid 55); 10 Jul 2017 17:02:50 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/81358] libatomic not automatically linked with C11 code
Date: Mon, 10 Jul 2017 17:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: driver
X-Bugzilla-Version: 7.1.1
X-Bugzilla-Keywords: link-failure
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery 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-81358-4-8OW6nm48F7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81358-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81358-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00837.txt.bz2
Content-length: 379
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358
--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
In the libm case, POSIX has an explicit list of headers whose functions
may require particular libraries to be linked in. libatomic is required
for use of language features without any reference to functions from any
header.
>From gcc-bugs-return-568287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 17:04:38 2017
Return-Path: <gcc-bugs-return-568287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112723 invoked by alias); 10 Jul 2017 17:04: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 112669 invoked by uid 48); 10 Jul 2017 17:04:31 -0000
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81362] [8.0 regression] FAIL: gcc.dg/vect/no-vfa-vect-57.c execution test
Date: Mon, 10 Jul 2017 17:04: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: schwab@linux-m68k.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-81362-4-lzEpPganq6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81362-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81362-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-07/txt/msg00838.txt.bz2
Content-length: 140
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81362
--- Comment #4 from Andreas Schwab <schwab@linux-m68k.org> ---
There is no VSX on G5.
>From gcc-bugs-return-568288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 10 17:30:52 2017
Return-Path: <gcc-bugs-return-568288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27460 invoked by alias); 10 Jul 2017 17:30: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 16523 invoked by uid 89); 10 Jul 2017 17:30:41 -0000
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.9 required=5.0 tests=AWL,BAYES_00,FORGED_MUA_MOZILLA,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,RP_MATCHES_RCVD,SPF_PASS autolearn=no version=3.3.2 spammy=H*r:66.163.185, H*x:5.0, H*R:D*yahoo.com, H*M:yahoo
X-HELO: sonic329-24.consmr.mail.ne1.yahoo.com
Received: from sonic329-24.consmr.mail.ne1.yahoo.com (HELO sonic329-24.consmr.mail.ne1.yahoo.com) (66.163.185.86) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 10 Jul 2017 17:30:40 +0000
Received: from sonic.gate.mail.ne1.yahoo.com by sonic329.consmr.mail.ne1.yahoo.com with HTTP; Mon, 10 Jul 2017 17:30:36 +0000
Date: Mon, 10 Jul 2017 17:30:00 -0000
From: "George R Goffe via gcc-bugs" <gcc-bugs@gcc.gnu.org>
Reply-To: George R Goffe <grgoffe@yahoo.com>
Reply-To: George R Goffe <grgoffe@yahoo.com>
To: "gcc-bugs@gcc.gnu.org" <gcc-bugs@gcc.gnu.org>
Message-ID: <354079210.2637847.1499707798303@mail.yahoo.com>
Subject: sanitizer bug maybe.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
References: <354079210.2637847.1499707798303.ref@mail.yahoo.com>
X-IsSubscribed: yes
X-SW-Source: 2017-07/txt/msg00839.txt.bz2
Content-length: 2205
Hi,
I'm hoping this is a bug and NOT a UFU (user foul up).
Thanks!
George...
checking for clock_gettime... libtool: compile: /tools/gcc/obj-x86_64-pc-linux-gnu/./gcc/xgcc -shared-libgcc -B/tools/gcc/obj-x86_64-pc-linux-gnu/./gcc -nostdinc++ -L/tools/gcc/obj-x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/libstdc++-v3/src -L/tools/gcc/obj-x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/tools/gcc/obj-x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -B/usr/lsd/Linux/x86_64-pc-linux-gnu/bin/ -B/usr/lsd/Linux/x86_64-pc-linux-gnu/lib/ -isystem /usr/lsd/Linux/x86_64-pc-linux-gnu/include -isystem /usr/lsd/Linux/x86_64-pc-linux-gnu/sys-include -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -I. -I../../../../gcc/libsanitizer/sanitizer_common -I.. -I ../../../../gcc/libsanitizer/include -isystem ../../../../gcc/libsanitizer/include/system -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fPIC -fno-builtin -fno-exceptions -fno-rtti -fomit-frame-pointer -funwind-tables -fvisibility=hidden -Wno-variadic-macros -I../../libstdc++-v3/include -I../../libstdc++-v3/include/x86_64-pc-linux-gnu -I../../../../gcc/libsanitizer/../libstdc++-v3/libsupc++ -std=gnu++11 -DSANITIZER_LIBBACKTRACE -DSANITIZER_CP_DEMANGLE -I ../../../../gcc/libsanitizer/../libbacktrace -I ../libbacktrace -I ../../../../gcc/libsanitizer/../include -include ../../../../gcc/libsanitizer/libbacktrace/backtrace-rename.h -g -O2 -D_GNU_SOURCE -MT sanitizer_suppressions.lo -MD -MP -MF .deps/sanitizer_suppressions.Tpo -c ../../../../gcc/libsanitizer/sanitizer_common/sanitizer_suppressions.cc -fPIC -DPIC -o .libs/sanitizer_suppressions.o
../../../../gcc/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: In function âint __sanitizer::TracerThread(void*)â:
../../../../gcc/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc:276:22: error: aggregate âsigaltstack handler_stackâ has incomplete type and cannot be defined
struct sigaltstack handler_stack;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-07-09 13:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-81033-4@http.gcc.gnu.org/bugzilla/>
2017-07-09 13:13 ` [Bug bootstrap/81033] [8 Regression] Revision r249019 breaks bootstrap on darwin simon at pushface dot 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).