From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 130312 invoked by alias); 22 Apr 2016 13:22:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 130180 invoked by uid 48); 22 Apr 2016 13:22:29 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70755] [ARM] excessive struct alignment for globals Date: Fri, 22 Apr 2016 13: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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha 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: cf_gcctarget bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02199.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70755 Richard Earnshaw changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |arm Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from Richard Earnshaw --- This is a deliberate design choice. By doing this we gain significant bene= fits from having aligned objects, which helps with data copying and other optimizations. Consider, for example, the object struct x { char a; char b; char c; char d; }; struct x A, B; f() { B =3D A; } Since the objects are aligned then this function can be optimized to single 32-bit load and store operations that work very efficiently. As you've noticed, it is possible to force the alignment down to the architectural minimums by annotations, but for most users it makes little difference and the defaults are preferable. >>From gcc-bugs-return-522987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 14:11:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66504 invoked by alias); 22 Apr 2016 14:11:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66407 invoked by uid 48); 22 Apr 2016 14:11:30 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70739] VALUE attribute interpretation in a non-interoperable procedure Date: Fri, 22 Apr 2016 14:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02200.txt.bz2 Content-length: 1041 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70739 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2016-04-22 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- > Steve Lionel's comment to discuss here: > - [...]For a non-interoperable procedure, one without BIND(C), VALUE caus= es > a writable, temporary copy of the argument to be passed by reference. > So in zmi's case, the call through the procedure pointer, defined with > an interface that did not have BIND(C), caused the address of a copy > of "length" to be passed. This interpretation looks very weird. I had a quick look to the standard, b= ut did not find anything to support it. Would it be possible to have an exact pointer to where it is stated? >>From gcc-bugs-return-522988-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 14:15:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98508 invoked by alias); 22 Apr 2016 14:15:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98317 invoked by uid 48); 22 Apr 2016 14:15:40 -0000 From: "simon at pushface dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/62236] : error: aggregate value used where an integer was expected Date: Fri, 22 Apr 2016 14:15: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: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simon at pushface dot 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02201.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D62236 simon at pushface dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simon at pushface dot org --- Comment #6 from simon at pushface dot org --- Not fixed in gcc-6.0.1-RC-20160415 >>From gcc-bugs-return-522989-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 14:30:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62785 invoked by alias); 22 Apr 2016 14:30:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62647 invoked by uid 48); 22 Apr 2016 14:30:30 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70763] New: Use SSE for DImode load/store Date: Fri, 22 Apr 2016 14:30: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: 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 cc target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02202.txt.bz2 Content-length: 3092 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70763 Bug ID: 70763 Summary: Use SSE for DImode load/store Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: ienkovich at gcc dot gnu.org Target Milestone: --- Target: i386 On i386, we should use SSE for DImode load/store: [hjl@gnu-6 pr70155d]$ cat x1.i extern long long a, b; void foo (void) { a =3D b; } [hjl@gnu-6 pr70155d]$ cat x2.i struct foo { long long i; }__attribute__ ((packed)); extern struct foo x, y; void foo (void) { x =3D y; } [hjl@gnu-6 pr70155d]$ cat x5.i extern long long a; void foo (void) { a =3D 0; } [hjl@gnu-6 pr70155d]$ cat x6.i extern long long a; void foo (void) { a =3D -1; } [hjl@gnu-6 pr70155d]$ make x1.s x2.s x5.s x6.s /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O2 -msse2 -m32 -fno-asynchronous-unwind-tables -S -o x1.s x1.i /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O2 -msse2 -m32 -fno-asynchronous-unwind-tables -S -o x2.s x2.i /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O2 -msse2 -m32 -fno-asynchronous-unwind-tables -S -o x5.s x5.i /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O2 -msse2 -m32 -fno-asynchronous-unwind-tables -S -o x6.s x6.i [hjl@gnu-6 pr70155d]$ cat x1.s x2.s x5.s x6.s .file "x1.i" .text .p2align 4,,15 .globl foo .type foo, @function foo: movl b, %eax movl b+4, %edx movl %eax, a movl %edx, a+4 ret .size foo, .-foo .ident "GCC: (GNU) 7.0.0 20160422 (experimental)" .section .note.GNU-stack,"",@progbits .file "x2.i" .text .p2align 4,,15 .globl foo .type foo, @function foo: movl y, %eax movl y+4, %edx movl %eax, x movl %edx, x+4 ret .size foo, .-foo .ident "GCC: (GNU) 7.0.0 20160422 (experimental)" .section .note.GNU-stack,"",@progbits .file "x5.i" .text .p2align 4,,15 .globl foo .type foo, @function foo: movl $0, a movl $0, a+4 ret .size foo, .-foo .ident "GCC: (GNU) 7.0.0 20160422 (experimental)" .section .note.GNU-stack,"",@progbits .file "x6.i" .text .p2align 4,,15 .globl foo .type foo, @function foo: movl $-1, a movl $-1, a+4 ret .size foo, .-foo .ident "GCC: (GNU) 7.0.0 20160422 (experimental)" .section .note.GNU-stack,"",@progbits [hjl@gnu-6 pr70155d]$=20 They all can use SSE loa/store. >>From gcc-bugs-return-522990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 14:33:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68227 invoked by alias); 22 Apr 2016 14:33:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67807 invoked by uid 48); 22 Apr 2016 14:33:07 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70098] PowerPC64: eigen hits ICE following invalid register assignment Date: Fri, 22 Apr 2016 14:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02204.txt.bz2 Content-length: 444 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70098 Bill Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markos at freevec dot org --- Comment #9 from Bill Schmidt --- *** Bug 70761 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-522992-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 14:33:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69667 invoked by alias); 22 Apr 2016 14:33:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68521 invoked by uid 48); 22 Apr 2016 14:33:21 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70762] FAIL: experimental/filesystem/operations/copy.cc execution test on x86_64-apple-darwin1* Date: Fri, 22 Apr 2016 14:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02205.txt.bz2 Content-length: 599 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70762 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-22 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres --- The test also fails on armv6-unknown-freebsd11.0, see https://gcc.gnu.org/ml/gcc-testresults/2016-04/msg02071.html. >>From gcc-bugs-return-522991-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 14:33:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68245 invoked by alias); 22 Apr 2016 14:33:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67720 invoked by uid 48); 22 Apr 2016 14:33:05 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70761] C++ ICE on ppc64le and ppc64 with -m64 Date: Fri, 22 Apr 2016 14:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02203.txt.bz2 Content-length: 653 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70761 Bill Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Bill Schmidt --- This was fixed in GCC 6 but not yet backported. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70098. I'll get a backport = of Segher's patch in the works soon. *** This bug has been marked as a duplicate of bug 70098 *** >>From gcc-bugs-return-522993-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 14:35:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80543 invoked by alias); 22 Apr 2016 14:35:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78495 invoked by uid 48); 22 Apr 2016 14:35:14 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70762] FAIL: experimental/filesystem/operations/copy.cc execution test on x86_64-apple-darwin1* Date: Fri, 22 Apr 2016 14:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02206.txt.bz2 Content-length: 227 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70762 --- Comment #3 from Dominique d'Humieres --- Also on i386-unknown-freebsd10.3, see https://gcc.gnu.org/ml/gcc-testresults/2016-04/msg02065.html. >>From gcc-bugs-return-522994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 14:45:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18491 invoked by alias); 22 Apr 2016 14:45:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18380 invoked by uid 48); 22 Apr 2016 14:45:46 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70762] FAIL: experimental/filesystem/operations/copy.cc execution test on x86_64-apple-darwin1* Date: Fri, 22 Apr 2016 14:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02207.txt.bz2 Content-length: 173 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70762 --- Comment #4 from Jonathan Wakely --- Ah cool, I should be able to reproduce that, thanks. >>From gcc-bugs-return-522995-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 14:46:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19411 invoked by alias); 22 Apr 2016 14:46:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19300 invoked by uid 48); 22 Apr 2016 14:46:25 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/70764] New: PASS->FAIL: gcc.dg/guality/pr41447-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none Date: Fri, 22 Apr 2016 14:46: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: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02208.txt.bz2 Content-length: 1742 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70764 Bug ID: 70764 Summary: PASS->FAIL: gcc.dg/guality/pr41447-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org Target Milestone: --- Target: aarch64-none-linux-gnu After: Author: nickc Date: Thu Mar 10 17:24:16 2016 +0000 PR target/7044 * config/aarch64/aarch64.c (aarch64_override_options_after_change_1): When forcing flag_omit_frame_pointer to be true, use a special value that can be detected if this function is called again, thus preventing flag_omit_leaf_frame_pointer from being forced to be false. * gcc.target/aarch64/pr70044.c: New test. The test: gcc.dg/guality/pr41447-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone started to fail on aarch64-linux. Note that this test was already failing for other optimisation levels before that change: FAIL: gcc.dg/guality/pr41447-1.c -O2 execution test FAIL: gcc.dg/guality/pr41447-1.c -O3 -g execution test FAIL: gcc.dg/guality/pr41447-1.c -Os execution test That patch controlled the way -fomit-frame-pointer is turned on, which prob= ably affected debug info generation, so it is very likely that the patch just triggered the same issue that caused the failure on the other optimisation levels in this test. Nick, do you have any experience with the guality tests to comment? >>From gcc-bugs-return-522996-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 14:58:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25226 invoked by alias); 22 Apr 2016 14:58:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25104 invoked by uid 48); 22 Apr 2016 14:58:38 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70762] FAIL: experimental/filesystem/operations/copy.cc execution test on x86_64-apple-darwin1* Date: Fri, 22 Apr 2016 14:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02209.txt.bz2 Content-length: 329 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70762 --- Comment #5 from Dominique d'Humieres --- Created attachment 38327 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38327&action=3Dedit Compressed preprocessed file Note that the problems are located in the procedures test02 and test03. >>From gcc-bugs-return-522997-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 14:59:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27930 invoked by alias); 22 Apr 2016 14:59:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27783 invoked by uid 48); 22 Apr 2016 14:59:18 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66543] False positive warning "variable set but not used" Date: Fri, 22 Apr 2016 14:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution assigned_to target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02210.txt.bz2 Content-length: 569 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66543 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gn= u.org Target Milestone|--- |6.0 --- Comment #5 from Jason Merrill --- Fixed for GCC 6. >>From gcc-bugs-return-522998-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 15:05:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64791 invoked by alias); 22 Apr 2016 15:05:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64609 invoked by uid 48); 22 Apr 2016 15:05:15 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70762] FAIL: experimental/filesystem/operations/copy.cc execution test on x86_64-apple-darwin1* Date: Fri, 22 Apr 2016 15:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02211.txt.bz2 Content-length: 1078 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70762 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #38327|0 |1 is obsolete| | --- Comment #6 from Dominique d'Humieres --- Created attachment 38328 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38328&action=3Dedit Compressed preprocessed file This time with the original test. Compile it with something such as g++ -L/opt/gcc/build_w/x86_64-apple-darwin15.4.0/libstdc++-v3/src/.libs -L/opt/gcc/build_w/x86_64-apple-darwin15.4.0/libstdc++-v3/libsupc++/.libs -D_GLIBCXX_ASSERT -DLOCALEDIR=3D"." -nostdinc++ -std=3Dgnu++11 -lstdc++fs /opt/gcc/build_w/x86_64-apple-darwin15.4.0/libstdc++-v3/testsuite/normal1/l= ibtestc++.a copy.ii where /opt/gcc/build_w/x86_64-apple-darwin15.4.0/libstdc++-v3/testsuite/normal1/l= ibtestc++.a has been produced during the libstdc++ tests. >>From gcc-bugs-return-522999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 15:35:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52887 invoked by alias); 22 Apr 2016 15:35:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51149 invoked by uid 48); 22 Apr 2016 15:35:05 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70738] Add -minteger-only option Date: Fri, 22 Apr 2016 15:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02212.txt.bz2 Content-length: 209 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70738 --- Comment #1 from Richard Earnshaw --- AArch64 already has a similar option already. We've called it -mgeneral-regs-only. >>From gcc-bugs-return-523001-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 15:39:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108204 invoked by alias); 22 Apr 2016 15:39:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107950 invoked by uid 55); 22 Apr 2016 15:39:29 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70522] Hidden friend functions block qualified name lookup into nested unnamed namespace Date: Fri, 22 Apr 2016 15:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02214.txt.bz2 Content-length: 582 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70522 --- Comment #3 from Jason Merrill --- Author: jason Date: Fri Apr 22 15:38:57 2016 New Revision: 235368 URL: https://gcc.gnu.org/viewcvs?rev=3D235368&root=3Dgcc&view=3Drev Log: PR c++/70522 - fix N4381 customization points * name-lookup.c (qualified_lookup_using_namespace): Look through hidden names. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/lookup/friend18.C Modified: branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/name-lookup.c >>From gcc-bugs-return-523000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 15:39:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108168 invoked by alias); 22 Apr 2016 15:39:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108068 invoked by uid 55); 22 Apr 2016 15:39:35 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68206] ICE: unimplemented: unexpected AST of kind loop_expr in potential_constant_expression_1 Date: Fri, 22 Apr 2016 15:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02213.txt.bz2 Content-length: 616 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68206 --- Comment #2 from Jason Merrill --- Author: jason Date: Fri Apr 22 15:39:03 2016 New Revision: 235369 URL: https://gcc.gnu.org/viewcvs?rev=3D235369&root=3Dgcc&view=3Drev Log: PR c++/68206 - Fix constexpr diagnostics with loops. PR c++/68530 * constexpr.c (potential_constant_expression_1): Handle LOOP_EXPR and GOTO_EXPR. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/constexpr-loop5.C Modified: branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/constexpr.c >>From gcc-bugs-return-523004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 15:40:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111846 invoked by alias); 22 Apr 2016 15:40:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110407 invoked by uid 48); 22 Apr 2016 15:40:06 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70522] Hidden friend functions block qualified name lookup into nested unnamed namespace Date: Fri, 22 Apr 2016 15:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02216.txt.bz2 Content-length: 807 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70522 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |6.0 --- Comment #4 from Jason Merrill --- (In reply to Casey Carter from comment #2) > This is a regression of sorts, FWIW, gcc 4.3 compiled it correctly > (http://melpon.org/wandbox/permlink/Efjfvay0U5sZvZP8) back in the day. I > assume that's not quite "regressive" enough for the 6 branch? I was thinking of putting it in anyway, but that definitely strengthens the case. :) >>From gcc-bugs-return-523003-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 15:40:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110547 invoked by alias); 22 Apr 2016 15:40:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110490 invoked by uid 48); 22 Apr 2016 15:40:10 -0000 From: "nickc at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/70764] PASS->FAIL: gcc.dg/guality/pr41447-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none Date: Fri, 22 Apr 2016 15:40: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: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nickc at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02215.txt.bz2 Content-length: 1108 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70764 Nick Clifton changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nickc at gcc dot gnu.org --- Comment #1 from Nick Clifton --- Hi Kyrylo, > Nick, do you have any experience with the guality tests to comment? Sorry no. I do not have an aarch64 executable environment, only a simulato= r, so I am not able to run these tests. I think that you are right however in that the patch has probably exposed an underlying problem, especially since the test was already failing at other optimization levels. How does the test fail ? Ie what, specifically is wrong. I suspect that it will be something along the lines of GDB being unable to find the named variable, possibly because it is being held in a register and not on the st= ack. Or maybe the debug information is corrupt and GDB is looking in the wrong place for the value of the variable. Cheers Nick >>From gcc-bugs-return-523002-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 15:39:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108264 invoked by alias); 22 Apr 2016 15:39:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108071 invoked by uid 55); 22 Apr 2016 15:39:35 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68530] [C++14] sorry, unimplemented: unexpected AST of kind loop_expr Date: Fri, 22 Apr 2016 15:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02217.txt.bz2 Content-length: 616 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68530 --- Comment #2 from Jason Merrill --- Author: jason Date: Fri Apr 22 15:39:03 2016 New Revision: 235369 URL: https://gcc.gnu.org/viewcvs?rev=3D235369&root=3Dgcc&view=3Drev Log: PR c++/68206 - Fix constexpr diagnostics with loops. PR c++/68530 * constexpr.c (potential_constant_expression_1): Handle LOOP_EXPR and GOTO_EXPR. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/constexpr-loop5.C Modified: branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/constexpr.c >>From gcc-bugs-return-523005-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 15:41:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116562 invoked by alias); 22 Apr 2016 15:41:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 116427 invoked by uid 48); 22 Apr 2016 15:41:08 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68206] ICE: unimplemented: unexpected AST of kind loop_expr in potential_constant_expression_1 Date: Fri, 22 Apr 2016 15:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02218.txt.bz2 Content-length: 476 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68206 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |6.0 --- Comment #3 from Jason Merrill --- Fixed. >>From gcc-bugs-return-523006-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 15:41:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116593 invoked by alias); 22 Apr 2016 15:41:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 116453 invoked by uid 48); 22 Apr 2016 15:41:09 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/55004] [meta-bug] constexpr issues Date: Fri, 22 Apr 2016 15:41: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.8.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: jason 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 resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02219.txt.bz2 Content-length: 515 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55004 Bug 55004 depends on bug 68206, which changed state. Bug 68206 Summary: ICE: unimplemented: unexpected AST of kind loop_expr in = potential_constant_expression_1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68206 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-523007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 15:43:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10054 invoked by alias); 22 Apr 2016 15:43:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9838 invoked by uid 48); 22 Apr 2016 15:43:46 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/70764] PASS->FAIL: gcc.dg/guality/pr41447-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none Date: Fri, 22 Apr 2016 15:43: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: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02220.txt.bz2 Content-length: 630 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70764 --- Comment #2 from ktkachov at gcc dot gnu.org --- I think so. gcc.log contains: PASS: a is 0 FAIL: tmp is -1, not 0 FAIL: tmp2 is -1, not 0 PASS: a is 0 FAIL: tmp is -1, not 0 FAIL: tmp2 is -1, not 0 FAIL: tmp3 is -1, not 0 FAIL: 2 PASS, 5 FAIL, 0 UNRESOLVED FAIL: gcc.dg/guality/pr41447-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone execution test There are optimisation levels where the test passes though. For example: PASS: gcc.dg/guality/pr41447-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects. Perhaps we should XFAIL the test for aarch64? >>From gcc-bugs-return-523008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 15:54:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37496 invoked by alias); 22 Apr 2016 15:54:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36699 invoked by uid 48); 22 Apr 2016 15:54:35 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/70719] the libjava testsuite does not work with dejagnu 1.6 Date: Fri, 22 Apr 2016 15:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02221.txt.bz2 Content-length: 197 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70719 --- Comment #2 from Dominique d'Humieres --- Would it be possible to back port the fix to the other open branches? >>From gcc-bugs-return-523009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 16:19:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129673 invoked by alias); 22 Apr 2016 16:19:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129530 invoked by uid 55); 22 Apr 2016 16:19:02 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/65083] Can not indirectly call some C11 atomic library functions Date: Fri, 22 Apr 2016 16:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery 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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02222.txt.bz2 Content-length: 256 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65083 --- Comment #6 from joseph at codesourcery dot com --- It's basically a matter of whether you consider adding a new symbol=20 version to be appropriate in a backport. >>From gcc-bugs-return-523010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 16:27:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18341 invoked by alias); 22 Apr 2016 16:27:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18253 invoked by uid 48); 22 Apr 2016 16:27:02 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/16358] -Wno-system-headers hides warning caused by user header vs system header conflict Date: Fri, 22 Apr 2016 16:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 3.2.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02223.txt.bz2 Content-length: 1503 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D16358 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #10 from Martin Sebor --- (In reply to niva from comment #9) -Werror turns the warning GCC issues for a macro redefinition into an error= . A part of the problem is that warnings in system headers are suppressed by default, without -Wsystem-headers, so -Werror alone doesn't help. What is also missing, though, is a mechanism/option to silence the macro redefinition warning without also suppressing all other warnings (i.e., an option other that -w). For example, there is no way to suppress the warning in the example below without also suppressing the -Wcpp warning. In contrast to GCC, Clang prov= ides the -Wmacro-redefined option that makes it possible to control just the mac= ro redefinition warning. Providing the same feature in GCC might help resolve this problem by enabli= ng warnings for macro redefinitions in user headers without also enabling all other warnings in them. $ cat t.c && gcc -S t.c #define A 1 #define A 2 #warning foo t.c:2:0: warning: "A" redefined #define A 2 t.c:1:0: note: this is the location of the previous definition #define A 1 t.c:3:2: warning: #warning foo [-Wcpp] #warning foo ^~~~~~~ >>From gcc-bugs-return-523011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 18:05:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37935 invoked by alias); 22 Apr 2016 18:05:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32250 invoked by uid 48); 22 Apr 2016 18:05:46 -0000 From: "mike at conlen dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70765] New: GCC fails to detect possibly uninitialized variable Date: Fri, 22 Apr 2016 18:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mike at conlen 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 attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02224.txt.bz2 Content-length: 1506 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70765 Bug ID: 70765 Summary: GCC fails to detect possibly uninitialized variable Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: mike at conlen dot org Target Milestone: --- Created attachment 38329 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38329&action=3Dedit main() .i file GCC without an optimization option does not catch a situation where a varia= ble is used uninitialized (with -Wall -Werror). I can cause gcc to catch this situation by making the function call which involves passing the unused variable a call to a function in another translation unit.=20 Compiler:=20 $ gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/home/mconlen/libexec/gcc/x86_64-unknown-linux-gnu/5.= 3.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-5.3.0/configure --prefix=3D/home/mconlen --enable-languages=3Dall Thread model: posix gcc version 5.3.0 (GCC)=20 $ System Type:=20 $ uname -a Linux bos-lprll 3.13.0-83-generic #127-Ubuntu SMP Fri Mar 11 00:25:37 UTC 2= 016 x86_64 x86_64 x86_64 GNU/Linux $ Building commands:=20 $ gcc -Wall -Wextra -Werror -save-temps -c test.c $ gcc -Wall -Wextra -Werror -save-temps -c af.c $ gcc -Wall -Werror -o test test.o af.o Compiler output: None .i files: attached >>From gcc-bugs-return-523012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 18:07:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47461 invoked by alias); 22 Apr 2016 18:07:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47149 invoked by uid 48); 22 Apr 2016 18:07:10 -0000 From: "mike at conlen dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70765] GCC fails to detect possibly uninitialized variable Date: Fri, 22 Apr 2016 18:07: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mike at conlen 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02225.txt.bz2 Content-length: 335 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70765 --- Comment #1 from Mike Conlen --- Created attachment 38330 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38330&action=3Dedit a second translation unit Using the second translation unit will cause the compilation to error (as expected) with -O3 >>From gcc-bugs-return-523013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 18:08:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48845 invoked by alias); 22 Apr 2016 18:08:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48643 invoked by uid 48); 22 Apr 2016 18:08:03 -0000 From: "mike at conlen dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70765] GCC fails to detect possibly uninitialized variable Date: Fri, 22 Apr 2016 18:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mike at conlen 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02226.txt.bz2 Content-length: 615 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70765 --- Comment #2 from Mike Conlen --- If I compile with -O3 the compiler produces (as expected) $ gcc -Wall -Wextra -Werror -save-temps -O3 -c test.c test.c: In function 'try_to_fail': test.c:25:2: error: 'data' is used uninitialized in this function [-Werror=3Duninitialized] arbitrary_function(data); ^ test.c: In function 'main': test.c:25:2: error: 'data' is used uninitialized in this function [-Werror=3Duninitialized] test.c:18:7: note: 'data' was declared here int *data; ^ cc1: all warnings being treated as errors >>From gcc-bugs-return-523014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 19:06:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37261 invoked by alias); 22 Apr 2016 19:06:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37044 invoked by uid 48); 22 Apr 2016 19:06:12 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure Date: Fri, 22 Apr 2016 19:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 6.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02227.txt.bz2 Content-length: 818 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70704 --- Comment #37 from Jakub Jelinek --- Marek tried to reproduce this using the RC1 tarball, but it seems it went through comparison just fine; configure line has been: /home/xxxxxxx/gcc-6.0.1-RC-20160415/configure --prefix=3D/home/xxxxxxx/rc --enable-checking=3Drelease --with-gmp=3D/opt/cfarm/gmp-latest/ --with-mpc=3D/opt/cfarm/mpc-latest/ --with-mpfr=3D/opt/cfarm/mpfr-latest/ In the failed build tree, can you please do: cd gcc for i in gt-* gtype*.[ch]; do diff ../stage1-gcc/$i $i; done cd ../prev-gcc for i in gt-* gtype*.[ch]; do diff ../stage1-gcc/$i $i; done (or change cd gcc and cd ../prev-gcc to cd stage3-gcc and cd ../stage2-gcc = if upon the failure the dirs stay named stage{1,2,3}-gcc instead of {stage1-,prev-,}gcc ? >>From gcc-bugs-return-523015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 20:34:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30114 invoked by alias); 22 Apr 2016 20:34:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29632 invoked by uid 48); 22 Apr 2016 20:33:53 -0000 From: "dje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure Date: Fri, 22 Apr 2016 20:34: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02228.txt.bz2 Content-length: 359 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70704 --- Comment #38 from David Edelsohn --- The gt* files don't differ. I normally use --disable-werror --enable-languages=3Dc,c++,fortran,objc --with-gmp=3D/opt/= cfarm --with-libiconv-prefix=3D/opt/cfarm --disable-libstdcxx-pch --with-included-gettext --enable-checking=3Drelease >>From gcc-bugs-return-523016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 21:12:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2127 invoked by alias); 22 Apr 2016 21:12:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1973 invoked by uid 55); 22 Apr 2016 21:12:23 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70733] Wrong code with nested structs and bit field. Date: Fri, 22 Apr 2016 21: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: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02229.txt.bz2 Content-length: 644 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70733 --- Comment #4 from joseph at codesourcery dot com --- This bug report is for C++, where bit-field width is explicitly not part=20 of the type and bit-field types wider than int are not extensions, not for= =20 C, where there is a line of C90 DRs treating the width as part of the type= =20 and things that are not defined at all if it is not part of the type.=20=20 The C++ front end should already convert bit-fields to their declared=20 types when needed (convert_bitfield_to_declared_type). So I don't agree=20 with the stated rationale for closure. >>From gcc-bugs-return-523017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 21:30:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63920 invoked by alias); 22 Apr 2016 21:30:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63697 invoked by uid 55); 22 Apr 2016 21:29:56 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70742] Support div as a builtin Date: Fri, 22 Apr 2016 21:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02230.txt.bz2 Content-length: 960 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70742 --- Comment #12 from joseph at codesourcery dot com --- A script that assumes build =3D host =3D target is obviously unacceptable. You can't do any compilations for $target at all when configuring GCC,=20 only when configuring its runtime libraries such as libgcc, because there=20 may not be a pre-existing compiler for $target at all. You can grep=20 target headers if they are available at configure time, but that's all,=20 and they may not be available. I think you'd need to defer associating a declaration with a built-in=20 function until after the declaration of div in a system header has been=20 seen, at which point you have the header's declaration of div_t available=20 (ISO C doesn't allow calling div without including the header that=20 declares it). This delayed declaration does of course make it different=20 from all existing built-in functions. >>From gcc-bugs-return-523018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 21:33:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67750 invoked by alias); 22 Apr 2016 21:33:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66738 invoked by uid 48); 22 Apr 2016 21:32:56 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65705] ICE: SIGSEGV in contains_struct_check with -fsanitize=null -fcheck-pointer-bounds Date: Fri, 22 Apr 2016 21:33: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: 5.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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 cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02231.txt.bz2 Content-length: 1390 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65705 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-22 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 Known to fail| |6.0 --- Comment #2 from Martin Sebor --- Confirmed with 6.0: $ cat v.c && gcc -S -fsanitize=3Dnull -fcheck-pointer-bounds -mmpx -xc v.c int foo (int *p) { return *p; } v.c:5:1: internal compiler error: Segmentation fault } ^ 0xe3bfe8 crash_signal /home/msebor/scm/fsf/gcc-69517/gcc/toplev.c:335 0x752dea contains_struct_check(tree_node*, tree_node_structure_enum, char const*, int, char const*) /home/msebor/scm/fsf/gcc-69517/gcc/tree.h:3119 0xf296f9 chkp_walk_pointer_assignments /home/msebor/scm/fsf/gcc-69517/gcc/tree-chkp.c:3725 0xf29f9d chkp_finish_file() /home/msebor/scm/fsf/gcc-69517/gcc/tree-chkp.c:3835 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-523019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 22:01:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78465 invoked by alias); 22 Apr 2016 22:01:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78313 invoked by uid 48); 22 Apr 2016 22:01:15 -0000 From: "Casey at Carter dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70522] Hidden friend functions block qualified name lookup into nested unnamed namespace Date: Fri, 22 Apr 2016 22: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Casey at Carter dot net X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02232.txt.bz2 Content-length: 685 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70522 --- Comment #5 from Casey Carter --- (In reply to Jason Merrill from comment #4) > (In reply to Casey Carter from comment #2) > > This is a regression of sorts, FWIW, gcc 4.3 compiled it correctly > > (http://melpon.org/wandbox/permlink/Efjfvay0U5sZvZP8) back in the day. I > > assume that's not quite "regressive" enough for the 6 branch? >=20 > I was thinking of putting it in anyway, but that definitely strengthens t= he > case. :) Clearly GCC6 MUST NOT SHIP until this critical bug - which has gone unnotic= ed for years - is fixed. I would suggest elevating to P0 if it wasn't already resolved ;) >>From gcc-bugs-return-523020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 22:14:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4708 invoked by alias); 22 Apr 2016 22:14:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128011 invoked by uid 48); 22 Apr 2016 22:14:07 -0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/69143] PowerPC64: aggregate results are badly handled Date: Fri, 22 Apr 2016 22: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.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ramana at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02233.txt.bz2 Content-length: 1293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69143 Ramana Radhakrishnan changed: What |Removed |Added ---------------------------------------------------------------------------- Target|powerpc64le-linux |powerpc64le-linux, | |aarch64-none-linux-gnu CC| |ramana at gcc dot gnu.org --- Comment #2 from Ramana Radhakrishnan --- I'm not sure if this is target specific or not but on aarch64 and on armhf = as well the code is badly optimized fmov x1, d1 fmov x0, d0 bfi x0, x1, 32, 32 ubfx x1, x0, 0, 32 ubfx x0, x0, 32, 32 fmov s1, w0 fmov s0, w1 ret On ARM it's even more fun sub sp, sp, #24 add r3, sp, #8 vstr.32 s0, [sp, #8] vstr.32 s1, [sp, #12] ldm r3, {r0, r1} add r3, sp, #24 stmdb r3, {r0, r1} vldr.32 s0, [sp, #16] vldr.32 s1, [sp, #20] add sp, sp, #24 @ sp needed bx lr And this is just saving and restoring the values that came in in s0 and s1 = from the stack. >>From gcc-bugs-return-523021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 22:46:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48095 invoked by alias); 22 Apr 2016 22:45:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47901 invoked by uid 48); 22 Apr 2016 22:45:47 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70717] missing warning on trivial buffer overflow Date: Fri, 22 Apr 2016 22:45: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: msebor 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 component short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02234.txt.bz2 Content-length: 1888 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70717 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-22 CC| |msebor at gcc dot gnu.org Component|sanitizer |tree-optimization Summary|-fsanitize=3Dobject-size as |missing warning on trivi= al |warning |buffer overflow Ever confirmed|0 |1 --- Comment #3 from Martin Sebor --- I agree there's an opportunity to diagnose a subset of buffer overflows and other simple out-of-bounds accesses during translation and without optimization. For example, in the slightly less trivial example below, the call to memcpy() clearly overwrites the destination buffer and could be diagnosed (it is neither diagnosed nor prevented with _FORTIFY_SOURCE): void f (unsigned N) { int a [N]; read (0, a, sizeof a); char b [N]; memcpy (b, a, sizeof a); write (1, b, sizeof a); } Rather than in the sanitizer which typically involves run-time instrumentat= ion and has a considerable performance overhead, I think it would be better don= e in GCC under the -Warray-bounds option (without requiring optimization for the simple cases). -Warray-bounds doesn't warn about code like the above even = when the value of N is a known (including a constant expression). _FORTIFY_SOURCE could also be enhanced to detect this problem. Since this latter part is something I'm supposed to be looking into I'll confirm this request, adjust the Summary, and for lack of a better alternative set the Component to tree-optimization. >>From gcc-bugs-return-523022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 23:14:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79927 invoked by alias); 22 Apr 2016 23:14:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79701 invoked by uid 48); 22 Apr 2016 23:14:44 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/57137] spurious "format string is not literal" when the format string is marked with __attribute__((format)) Date: Fri, 22 Apr 2016 23:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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 cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02235.txt.bz2 Content-length: 1255 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57137 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-22 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 Known to fail| |4.9.3, 5.3.0, 6.0 --- Comment #6 from Martin Sebor --- Confirmed. In addition, as the example below illustrates, the warning in t= his case is issued for the call where it could be avoided (in function g) and n= ot for the call that should be diagnosed (in function h). $ cat v.c && gcc -S -Wformat -Wformat-nonliteral v.c void f (const char*, ...) __attribute__ ((format (printf, 1, 2))); void g (const char*) __attribute__ ((format (printf, 1, 0))); void g (const char *fmt) { f (fmt, "xxx"); } void h (const char *fmt) { g (fmt); } v.c: In function =E2=80=98g=E2=80=99: v.c:6:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] f (fmt, "xxx"); ^ >>From gcc-bugs-return-523023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 22 23:31:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126216 invoked by alias); 22 Apr 2016 23:31:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126118 invoked by uid 48); 22 Apr 2016 23:31:37 -0000 From: "rs2740 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70766] New: stream iterators, shared_lock, and atomic should all use addressof and not & Date: Fri, 22 Apr 2016 23:31: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rs2740 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02236.txt.bz2 Content-length: 829 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70766 Bug ID: 70766 Summary: stream iterators, shared_lock, and atomic should all use addressof and not & Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: rs2740 at gmail dot com Target Milestone: --- 1) istream_iterator and ostream_iterator's constructors and istream_iterato= r's operator-> should use __addressof (this is LWG issue 2576). 2) shared_lock's constructors should use addressof (LWG issue 2577). unique_lock's constructors already do that. 3) The primary atomic<_Tp> template uses & in many places where it should be using addressof. >>From gcc-bugs-return-523024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 00:27:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101020 invoked by alias); 23 Apr 2016 00:27:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100800 invoked by uid 48); 23 Apr 2016 00:27:01 -0000 From: "wkaras at yahoo dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70767] New: std::numeric_limits::digits is wrong unless --std=c++11 used Date: Sat, 23 Apr 2016 00:27: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: 4.8.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wkaras at yahoo dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02237.txt.bz2 Content-length: 833 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70767 Bug ID: 70767 Summary: std::numeric_limits::digits is wrong unless --std=3Dc++11 used Product: gcc Version: 4.8.5 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: wkaras at yahoo dot com Target Milestone: --- Created attachment 38331 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38331&action=3Dedit bash script, see bug description The value is not 8. The problem also exists in version 4.9.3. The attachm= ent is a bash script that creates the file ex.cpp. It then compiles several ti= mes to show the cases where the bug does and does not happen. >>From gcc-bugs-return-523025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 03:57:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13566 invoked by alias); 23 Apr 2016 03:57:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13444 invoked by uid 48); 23 Apr 2016 03:57:12 -0000 From: "jamrial at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70768] New: Increased compilation time Date: Sat, 23 Apr 2016 03:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamrial at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02238.txt.bz2 Content-length: 7101 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70768 Bug ID: 70768 Summary: Increased compilation time Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jamrial at gmail dot com Target Milestone: --- Created attachment 38332 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38332&action=3Dedit Preprocessed output The attached preprocessed output (Created from the source using GCC 5, 6 an= d 7 for the purpose of this ticket) takes almost twice as long to compile using= GCC 6.0.1 RC and especially GCC 7.0 compared to GCC 5.3 on a linux x86_64 machi= ne with 2gb of RAM. > GCC 5.3.0, ArchLinux package [jamrial@ArchVM ~]$ gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/lto-wrapp= er Target: x86_64-unknown-linux-gnu Configured with: /build/gcc/src/gcc-5-20160209/configure --prefix=3D/usr --libdir=3D/usr/lib --libexecdir=3D/usr/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-bugurl=3Dhttps://bugs.archlinux.org/ --enable-languages=3Dc,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=3Dposix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=3Dgnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=3Dgnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=3Drelease Thread model: posix gcc version 5.3.0 (GCC) [jamrial@ArchVM ~]$ time c++ -ftemplate-backtrace-limit=3D0 -Wall -Wextra -pedantic -Werror -pedantic-errors -Wno-error=3Ddeprecated-declarations -Wno-missing-field-initializers -Wno-unused-parameter -march=3Dhaswell -Ofa= st -g0 -std=3Dgnu++14 -o transform_gcc5.o -c transform_gcc5.ii real 1m13.380s user 1m11.920s sys 0m0.793s [jamrial@ArchVM ~]$ time c++ -ftemplate-backtrace-limit=3D0 -Wall -Wextra -pedantic -Werror -pedantic-errors -Wno-error=3Ddeprecated-declarations -Wno-missing-field-initializers -Wno-unused-parameter -march=3Dhaswell -Ofa= st -g0 -std=3Dgnu++14 -o transform_gcc6.o -c transform_gcc6.ii real 1m32.820s user 1m23.093s sys 0m1.457s [jamrial@ArchVM ~]$ time c++ -ftemplate-backtrace-limit=3D0 -Wall -Wextra -pedantic -Werror -pedantic-errors -Wno-error=3Ddeprecated-declarations -Wno-missing-field-initializers -Wno-unused-parameter -march=3Dhaswell -Ofa= st -g0 -std=3Dgnu++14 -o transform_gcc7.o -c transform_gcc7.ii real 1m31.705s user 1m20.663s sys 0m1.490s > GCC 6.0.1 RC [jamrial@ArchVM ~]$ gcc-6 -v Using built-in specs. COLLECT_GCC=3Dgcc-6 COLLECT_LTO_WRAPPER=3D/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.0.1/lto-wrap= per Target: x86_64-pc-linux-gnu Configured with: /home/jamrial/gcc-svn/configure --prefix=3D/usr/local --libdir=3D/usr/local/lib --libexecdir=3D/usr/local/lib --mandir=3D/usr/local/share/man --infodir=3D/usr/local/share/info --enable-languages=3Dc,c++,lto --enable-shared --enable-threads=3Dposix --enable-libmpx --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=3Dgnu --disable-libstdcxx-p= ch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=3Dgnu --enable-gnu-indirect-function --disable-mul= tilib --disable-bootstrap --disable-werror Thread model: posix gcc version 6.0.1 20160415 (prerelease) (GCC) [jamrial@ArchVM ~]$ time c++-6 -ftemplate-backtrace-limit=3D0 -Wall -Wextra -pedantic -Werror -pedantic-errors -Wno-error=3Ddeprecated-declarations -Wno-missing-field-initializers -Wno-unused-parameter -march=3Dhaswell -Ofa= st -g0 -std=3Dgnu++14 -o transform_gcc5.o -c transform_gcc5.ii real 1m14.796s user 1m13.520s sys 0m0.787s [jamrial@ArchVM ~]$ time c++-6 -ftemplate-backtrace-limit=3D0 -Wall -Wextra -pedantic -Werror -pedantic-errors -Wno-error=3Ddeprecated-declarations -Wno-missing-field-initializers -Wno-unused-parameter -march=3Dhaswell -Ofa= st -g0 -std=3Dgnu++14 -o transform_gcc6.o -c transform_gcc6.ii real 2m29.020s user 1m25.240s sys 0m6.537s [jamrial@ArchVM ~]$ time c++-6 -ftemplate-backtrace-limit=3D0 -Wall -Wextra -pedantic -Werror -pedantic-errors -Wno-error=3Ddeprecated-declarations -Wno-missing-field-initializers -Wno-unused-parameter -march=3Dhaswell -Ofa= st -g0 -std=3Dgnu++14 -o transform_gcc7.o -c transform_gcc7.ii real 2m27.268s user 1m23.977s sys 0m7.167s > GCC 7.0 [jamrial@ArchVM ~]$ gcc-7 -v Using built-in specs. COLLECT_GCC=3Dgcc-7 COLLECT_LTO_WRAPPER=3D/usr/local/lib/gcc/x86_64-pc-linux-gnu/7.0.0/lto-wrap= per Target: x86_64-pc-linux-gnu Configured with: /home/jamrial/gcc-svn/configure --prefix=3D/usr/local --libdir=3D/usr/local/lib --libexecdir=3D/usr/local/lib --mandir=3D/usr/local/share/man --infodir=3D/usr/local/share/info --enable-languages=3Dc,c++,lto --enable-shared --enable-threads=3Dposix --enable-libmpx --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=3Dgnu --disable-libstdcxx-p= ch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=3Dgnu --enable-gnu-indirect-function --disable-mul= tilib --disable-bootstrap --disable-werror Thread model: posix gcc version 7.0.0 20160422 (experimental) (GCC) [jamrial@ArchVM ~]$ time c++-7 -ftemplate-backtrace-limit=3D0 -Wall -Wextra -pedantic -Werror -pedantic-errors -Wno-error=3Ddeprecated-declarations -Wno-missing-field-initializers -Wno-unused-parameter -march=3Dhaswell -Ofa= st -g0 -std=3Dgnu++14 -o transform_gcc5.o -c transform_gcc5.ii real 1m57.807s user 1m56.673s sys 0m1.057s [jamrial@ArchVM ~]$ time c++-7 -ftemplate-backtrace-limit=3D0 -Wall -Wextra -pedantic -Werror -pedantic-errors -Wno-error=3Ddeprecated-declarations -Wno-missing-field-initializers -Wno-unused-parameter -march=3Dhaswell -Ofa= st -g0 -std=3Dgnu++14 -o transform_gcc6.o -c transform_gcc6.ii real 2m20.146s user 2m19.220s sys 0m0.817s [jamrial@ArchVM ~]$ time c++-7 -ftemplate-backtrace-limit=3D0 -Wall -Wextra -pedantic -Werror -pedantic-errors -Wno-error=3Ddeprecated-declarations -Wno-missing-field-initializers -Wno-unused-parameter -march=3Dhaswell -Ofa= st -g0 -std=3Dgnu++14 -o transform_gcc7.o -c transform_gcc7.ii real 2m22.689s user 2m21.773s sys 0m0.860s GCC 5.3 performed the best for all three preprocessed files. GCC 6.0.1 performed about the same as GCC 5.3 using the gcc5 preprocessed f= ile. It however trashed my HDD a lot trying to compile the preprocessed output f= rom both GCC 6 and GCC 7, and took longer to finish them. This may hint at increased RAM usage and explain the odd time values, but i didn't check. GCC 7 performed the worst across the table, even with the gcc5 preprocessed file. >>From gcc-bugs-return-523026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 03:59:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17050 invoked by alias); 23 Apr 2016 03:59:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16718 invoked by uid 55); 23 Apr 2016 03:59:15 -0000 From: "timshen at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70745] Wrong handling of regex_constant::match_not_eow and regex_constant::match_not_bow Date: Sat, 23 Apr 2016 03:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: timshen at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: timshen at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02239.txt.bz2 Content-length: 631 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70745 --- Comment #2 from Tim Shen --- Author: timshen Date: Sat Apr 23 03:58:37 2016 New Revision: 235382 URL: https://gcc.gnu.org/viewcvs?rev=3D235382&root=3Dgcc&view=3Drev Log: PR libstdc++/70745 * include/bits/regex_executor.tcc (_Executor<>::_M_word_boundary): Fix the match_not_bow and match_not_eow behavior. * testsuite/28_regex/regression.cc: Add testcase. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/regex_executor.tcc trunk/libstdc++-v3/testsuite/28_regex/regression.cc >>From gcc-bugs-return-523027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 05:29:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40095 invoked by alias); 23 Apr 2016 05:29:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39921 invoked by uid 55); 23 Apr 2016 05:28:52 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70712] False positive from AddressSanitizer with use of 'alignas' Date: Sat, 23 Apr 2016 05:29: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: 6.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02240.txt.bz2 Content-length: 543 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70712 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Sat Apr 23 05:28:16 2016 New Revision: 235384 URL: https://gcc.gnu.org/viewcvs?rev=3D235384&root=3Dgcc&view=3Drev Log: PR sanitizer/70712 * cfgexpand.c (expand_stack_vars): Fix typo. * c-c++-common/asan/pr70712.c: New test. Added: trunk/gcc/testsuite/c-c++-common/asan/pr70712.c Modified: trunk/gcc/ChangeLog trunk/gcc/cfgexpand.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 06:52:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110812 invoked by alias); 23 Apr 2016 06:52:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110711 invoked by uid 48); 23 Apr 2016 06:52:24 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70768] Increased compilation time Date: Sat, 23 Apr 2016 06: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02241.txt.bz2 Content-length: 1643 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70768 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |trippels at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Markus Trippelsdorf --- (In reply to James Almer from comment #0) > Created attachment 38332 [details] > Preprocessed output >=20 > The attached preprocessed output (Created from the source using GCC 5, 6 = and > 7 for the purpose of this ticket) takes almost twice as long to compile > using GCC 6.0.1 RC and especially GCC 7.0 compared to GCC 5.3 on a linux > x86_64 machine with 2gb of RAM. >=20 > GCC 5.3 performed the best for all three preprocessed files. > GCC 6.0.1 performed about the same as GCC 5.3 using the gcc5 preprocessed > file. It however trashed my HDD a lot trying to compile the preprocessed > output from both GCC 6 and GCC 7, and took longer to finish them. This may > hint at increased RAM usage and explain the odd time values, but i didn't > check. > GCC 7 performed the worst across the table, even with the gcc5 preprocess= ed > file. Well, you simply need more RAM to compile this testcase, because gcc-6 uses slightly over 2GB peak, so your machine starts swapping. On my machine (with 8GB RAM) gcc-6 is actually slightly faster. (For gcc-7 you need to configure it with --enable-checking=3Drelease to com= pare timings.) >>From gcc-bugs-return-523029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 06:55:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120308 invoked by alias); 23 Apr 2016 06:55:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120204 invoked by uid 48); 23 Apr 2016 06:54:47 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70767] std::numeric_limits::digits is wrong unless --std=c++11 used Date: Sat, 23 Apr 2016 06:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.5 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02242.txt.bz2 Content-length: 323 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70767 --- Comment #1 from Marc Glisse --- http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#559 It has status CD1, I don't remember if that means it applies retroactively = or not. (by the way, the 4.8 branch is not maintained anymore) >>From gcc-bugs-return-523030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 08:44:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70896 invoked by alias); 23 Apr 2016 08:44:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70768 invoked by uid 48); 23 Apr 2016 08:44:09 -0000 From: "fourmisain+gcc at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70769] New: function definition wrongfully allowed inside comma separated member declaration list Date: Sat, 23 Apr 2016 08:44: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: fourmisain+gcc 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02243.txt.bz2 Content-length: 2086 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70769 Bug ID: 70769 Summary: function definition wrongfully allowed inside comma separated member declaration list Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fourmisain+gcc at gmail dot com Target Milestone: --- This code should not compile while it does: class C { int n, f(int) { return 42; } }; To break it down (using C++14 standard draft n4140), the only member-declaration (=C2=A79.2) which declares multiple members at once is o= f the form attribute-specifier-seq(opt) decl-specifier-seq(opt) member-declarator-list(opt); Note that in the above code, the required semicolon at the end is missing, = so this is already in violation of the standard, but the code still compiles without even a warning (using -std=3Dc++14 -Wall -pedantic) if you add that missing semicolon. So continuing the argument, "int n, f(int) {return 42;}" would have to be a member-declarator-list, so "f(int){return 42;}" would have to be a member-declarator and since it does not contain a colon it is one of the tw= o: declarator virt-specifier-seq(opt) pure-specifier(opt) declarator brace-or-equal-initializer(opt) Since "{return 42;}" is not a valid brace-or-equal-initializer, "f(int){ret= urn 42;}" has to be a declarator. Afaik, this is not true and it also conflicts with the following: If it were a declarator, you would be allowed to use it inside a init-declarator-list, therefore the following code would have to compile: int n, f(int) { return 42; } But it (rightfully) does not: "error: a function-definition is not allowed here before '{' token" So this error message needs to be applied to the above class case. -------- I was made aware that the above "hack" is often used on CodeFights to save precious characters. They seems to wrap code into a class and compile it wi= th g++ 5.0. >>From gcc-bugs-return-523031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 11:23:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21619 invoked by alias); 23 Apr 2016 11:23:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21479 invoked by uid 48); 23 Apr 2016 11:22:55 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure Date: Sat, 23 Apr 2016 11:23: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: 6.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02244.txt.bz2 Content-length: 742 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70704 --- Comment #39 from Jakub Jelinek --- (In reply to David Edelsohn from comment #38) > The gt* files don't differ. >=20 > I normally use >=20 > --disable-werror --enable-languages=3Dc,c++,fortran,objc --with-gmp=3D/op= t/cfarm > --with-libiconv-prefix=3D/opt/cfarm --disable-libstdcxx-pch > --with-included-gettext --enable-checking=3Drelease Used /home/jakub/gcc-6.0.1-RC-20160415/configure --disable-werror --enable-languages=3Dc,c++,fortran,objc --with-gmp=3D/opt/cfarm --with-libiconv-prefix=3D/opt/cfarm --disable-libstdcxx-pch --with-included-gettext --enable-checking=3Drelease myself now (inside of /home/jakub/rc1/) and it bootstrapped just fine too. >>From gcc-bugs-return-523032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 11:25:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27112 invoked by alias); 23 Apr 2016 11:25:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26418 invoked by uid 48); 23 Apr 2016 11:25:00 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70759] Ada rts fails to build with -mabi=ilp32 Date: Sat, 23 Apr 2016 11:25: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: 6.0 X-Bugzilla-Keywords: assemble-failure, build X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02245.txt.bz2 Content-length: 607 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70759 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-23 CC| |ebotcazou at gcc dot gnu.o= rg Ever confirmed|0 |1 --- Comment #2 from Eric Botcazou --- internal_reference_types probably needs to go away. >>From gcc-bugs-return-523033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 15:27:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114658 invoked by alias); 23 Apr 2016 15:27:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114576 invoked by uid 48); 23 Apr 2016 15:27:41 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/69143] PowerPC64: aggregate results are badly handled Date: Sat, 23 Apr 2016 15:27: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.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02246.txt.bz2 Content-length: 146 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69143 --- Comment #3 from H.J. Lu --- Similar to PR 28831, PR 23782? >>From gcc-bugs-return-523034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 16:39:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11519 invoked by alias); 23 Apr 2016 16:39:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11287 invoked by uid 48); 23 Apr 2016 16:39:18 -0000 From: "dje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure Date: Sat, 23 Apr 2016 16:39: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02247.txt.bz2 Content-length: 257 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70704 --- Comment #40 from David Edelsohn --- I see that you did not have /opt/freeware/bin in your path on AIX. How did = it even build without GNU Make and other build requirements? >>From gcc-bugs-return-523035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 16:48:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32515 invoked by alias); 23 Apr 2016 16:48:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32322 invoked by uid 48); 23 Apr 2016 16:47:47 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure Date: Sat, 23 Apr 2016 16:48: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: 6.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02248.txt.bz2 Content-length: 676 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70704 --- Comment #41 from Jakub Jelinek --- (In reply to David Edelsohn from comment #40) > I see that you did not have /opt/freeware/bin in your path on AIX. How did > it even build without GNU Make and other build requirements? I've used gmake -j64 instead of make -j64. I can retry with PATH=3D/opt/freeware/bin:$PATH instead, sure. Do you use relative or absolute path from the build dir to the source dir b= tw? On my boxes I almost always create a subdir of the source dir and do ../configure ..., but on this box I've placed the build dir next to the sou= rce dir and used absolute pathname. >>From gcc-bugs-return-523036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 16:49:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33975 invoked by alias); 23 Apr 2016 16:49:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33762 invoked by uid 48); 23 Apr 2016 16:48:55 -0000 From: "mmehlich at semanticdesigns dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66256] noexcept evaluation done before end of class Date: Sat, 23 Apr 2016 16:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mmehlich at semanticdesigns 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02249.txt.bz2 Content-length: 1153 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66256 Michael Mehlich changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mmehlich at semanticdesign= s dot co | |m --- Comment #1 from Michael Mehlich -= -- I agree, name resolution should consider all declarations in the class, but apparently gcc does name resolution on the exception specification way = too early. An example where this causes no error message being created for obviously w= rong code is the swap function in the pair template in the header file bits/stl_pair.h (for gcc 5.3.0/cygwin), which is declared as void swap(pair& __p) noexcept(noexcept(swap(first, __p.first)) && noexcept(swap(second, __p.second))) clang 3.7.1. properly reports an error for the swap in the exception specification. BTW: The header file could be fixed easily by adding std:: in front of these swap occurrences. >>From gcc-bugs-return-523037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 17:06:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88783 invoked by alias); 23 Apr 2016 17:06:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88648 invoked by uid 48); 23 Apr 2016 17:06:26 -0000 From: "mira.fontan at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70770] New: constexpr expansion Internal compiler error Date: Sat, 23 Apr 2016 17:06: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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mira.fontan 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02250.txt.bz2 Content-length: 2366 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70770 Bug ID: 70770 Summary: constexpr expansion Internal compiler error Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mira.fontan at gmail dot com Target Milestone: --- Command line: /usr/bin/g++ -DDEBUG -DRUN_UNITTEST -DUNDER_LINUX -D_GLIBCXX_USE_CXX11_AB= I=3D0 -I../. -I. -fno-common -ffunction-sections -fdata-sections -fno-rtti -pedan= tic -pthread -Wvariadic-macros -fsigned-char -Wabi -Wabi-tag -Wall -Warray-boun= ds -Wbool-compare -Wcast-align -Wcomment -Wconversion -Wdeprecated-declarations -Wdelete-incomplete -Wdisabled-optimization -Wempty-body -Wenum-compare -We= xtra -Wformat -Wformat-extra-args -Wformat-security -Wformat-zero-length -Wchar-subscripts -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wlogical-not-parentheses -Wlogical-op -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wno-inline -Wno-long-long -Wunknown-pragmas -Wnonnull -Wodr -Woverflow -Wpacked -Wparentheses -Wpointer-arith -Wredundant-decls -Wreturn-type -Wsequence-point -Wshadow -Wshift-count-negative -Wshift-count-overflow -Wsign-compare -Wsign-conversion -Wsizeof-array-argument -Wsizeof-pointer-memaccess -Wstrict-aliasing -Wstrict-overflow -Wswitch -Wswitch-bool -Wswitch-default -Wswitch-enum -Wtrigraphs -Wundef -Wuninitialized -O0 -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wunknown-pragmas -Wunreachable-code -Wwrite-strings -Wabi-tag -Wcast-qual -Wdelete-non-virtual-dtor -Wdeprecated -Wno-format-nonliteral -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-vir= tual -Wreorder -Wsign-promo -Wsuggest-final-methods -Wsuggest-final-types -Wunused-macros -ftrapv -fno-omit-frame-pointer -fstack-protector -fstack-protector-all -Wstack-protector -O0 -fsanitize=3Daddress -Wno-exit-time-destructors -Wno-global-constructors -Wno-format-nonliteral -Wno-missing-format-attribute -ansi -std=3Dc++14 -Werror -g -MMD -MT game/CMakeFiles/game.dir/ray.cpp.o -MF game/CMakeFiles/game.dir/ray.cpp.o.d= -o game/CMakeFiles/game.dir/ray.cpp.o -c ../game/ray.cpp -v -save-temps >>From gcc-bugs-return-523038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 17:07:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103654 invoked by alias); 23 Apr 2016 17:07:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99964 invoked by uid 48); 23 Apr 2016 17:07:14 -0000 From: "mira.fontan at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70770] constexpr expansion Internal compiler error Date: Sat, 23 Apr 2016 17:07: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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mira.fontan 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02251.txt.bz2 Content-length: 11142 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70770 --- Comment #1 from Mira Fontan --- Command line output: Using built-in specs. COLLECT_GCC=3D/usr/bin/g++ Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion=3D'Ubuntu 5.3.1-14ub= untu2' --with-bugurl=3Dfile:///usr/share/doc/gcc-5/README.Bugs --enable-languages=3Dc,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=3D/u= sr --program-suffix=3D-5 --enable-shared --enable-linker-build-id --libexecdir=3D/usr/lib --without-included-gettext --enable-threads=3Dposix --libdir=3D/usr/lib --enable-nls --with-sysroot=3D/ --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-libstdcxx-time=3Dyes --with-default-libstdcxx-abi=3Dnew --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=3Dgtk --enable-gtk-cairo --with-java-home=3D/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-ho= me --with-jvm-root-dir=3D/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=3D/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=3Damd64 --with-ecj-jar=3D/usr/share/java/eclipse-ecj.= jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=3Di686 --with-abi=3Dm64 --with-multilib-list=3Dm32,m64,mx32 --enable-multilib --with-tune=3Dgeneric --enable-checking=3Drelease --build=3Dx86_64-linux-gnu --host=3Dx86_64-linux-gnu --target=3Dx86_64-linux-gnu Thread model: posix gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2)=20 COLLECT_GCC_OPTIONS=3D'-D' 'DEBUG' '-D' 'RUN_UNITTEST' '-D' 'UNDER_LINUX' '= -D' '_GLIBCXX_USE_CXX11_ABI=3D0' '-I' '../.' '-I' '.' '-fno-common' '-ffunction-sections' '-fdata-sections' '-fno-rtti' '-Wpedantic' '-pthread' '-Wvariadic-macros' '-fsigned-char' '-Wabi' '-Wall' '-Warray-bounds' '-Wbool-compare' '-Wcast-align' '-Wcomment' '-Wconversion' '-Wdeprecated-declarations' '-Wdelete-incomplete' '-Wdisabled-optimization' '-Wempty-body' '-Wenum-compare' '-Wextra' '-Wformat=3D1' '-Wformat-extra-ar= gs' '-Wformat-security' '-Wformat-zero-length' '-Wchar-subscripts' '-Winit-self' '-Wint-to-pointer-cast' '-Winvalid-pch' '-Wlogical-not-parentheses' '-Wlogical-op' '-Wmissing-braces' '-Wmissing-field-initializers' '-Wsuggest-attribute=3Dnoreturn' '-Wno-inline' '-Wno-long-long' '-Wnonnull' '-Wodr' '-Woverflow' '-Wpacked' '-Wparentheses' '-Wpointer-arith' '-Wredundant-decls' '-Wreturn-type' '-Wsequence-point' '-Wshadow' '-Wshift-count-negative' '-Wshift-count-overflow' '-Wsign-compare' '-Wsign-conversion' '-Wsizeof-array-argument' '-Wsizeof-pointer-memaccess' '-Wstrict-aliasing' '-Wstrict-overflow' '-Wswitch' '-Wswitch-bool' '-Wswitch-default' '-Wswitch-enum' '-Wtrigraphs' '-Wundef' '-Wuninitialized' '-O0' '-Wunused-but-set-parameter' '-Wunused-but-set-variable' '-Wunused-function' '-Wunused-label' '-Wunused-parameter' '-Wunused-value' '-Wunused-variable' '-Wunknown-pragmas' '-Wwrite-strings' '-Wabi-tag' '-Wcast-qual' '-Wdelete-non-virtual-dtor' '-Wdeprecated' '-Wnon-virtual-dto= r' '-Wold-style-cast' '-Woverloaded-virtual' '-Wreorder' '-Wsign-promo' '-Wsuggest-final-methods' '-Wsuggest-final-types' '-Wunused-macros' '-ftrap= v' '-fno-omit-frame-pointer' '-fstack-protector' '-fstack-protector-all' '-Wstack-protector' '-O0' '-fsanitize=3Daddress' '-Wno-exit-time-destructor= s' '-Wno-global-constructors' '-Wno-format-nonliteral' '-Wno-suggest-attribute=3Dformat' '-ansi' '-std=3Dc++14' '-Werror' '-g' '-M= MD' '-MT' 'game/CMakeFiles/game.dir/ray.cpp.o' '-MF' 'game/CMakeFiles/game.dir/ray.cpp.o.d' '-o' 'game/CMakeFiles/game.dir/ray.cpp.o' '-c' '-v' '-save-temps' '-shared-libgc= c' '-mtune=3Dgeneric' '-march=3Dx86-64' /usr/lib/gcc/x86_64-linux-gnu/5/cc1plus -E -quiet -v -I ../. -I . -imultia= rch x86_64-linux-gnu -MMD game/CMakeFiles/game.dir/ray.cpp.d -MF game/CMakeFiles/game.dir/ray.cpp.o.d -MT game/CMakeFiles/game.dir/ray.cpp.o -D_GNU_SOURCE -D_REENTRANT -D DEBUG -D RUN_UNITTEST -D UNDER_LINUX -D _GLIBCXX_USE_CXX11_ABI=3D0 ../game/ray.cpp -mtune=3Dgeneric -march=3Dx86-64= -ansi -std=3Dc++14 -Wpedantic -Wvariadic-macros -Wabi -Wall -Warray-bounds -Wbool-compare -Wcast-align -Wcomment -Wconversion -Wdeprecated-declarations -Wdelete-incomplete -Wdisabled-optimization -Wempty-body -Wenum-compare -We= xtra -Wformat=3D1 -Wformat-extra-args -Wformat-security -Wformat-zero-length -Wchar-subscripts -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wlogical-not-parentheses -Wlogical-op -Wmissing-braces -Wmissing-field-initializers -Wsuggest-attribute=3Dnoreturn -Wno-inline -Wno-long-long -Wnonnull -Wodr -Woverflow -Wpacked -Wparentheses -Wpointer-arith -Wredundant-decls -Wreturn-type -Wsequence-point -Wshadow -Wshift-count-negative -Wshift-count-overflow -Wsign-compare -Wsign-convers= ion -Wsizeof-array-argument -Wsizeof-pointer-memaccess -Wstrict-aliasing -Wstrict-overflow -Wswitch -Wswitch-bool -Wswitch-default -Wswitch-enum -Wtrigraphs -Wundef -Wuninitialized -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-paramet= er -Wunused-value -Wunused-variable -Wunknown-pragmas -Wwrite-strings -Wabi-tag -Wcast-qual -Wdelete-non-virtual-dtor -Wdeprecated -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wreorder -Wsign-promo -Wsuggest-final-methods -Wsuggest-final-types -Wunused-macros -Wstack-prote= ctor -Wno-exit-time-destructors -Wno-global-constructors -Wno-format-nonliteral -Wno-suggest-attribute=3Dformat -Werror -fno-common -ffunction-sections -fdata-sections -fno-rtti -fsigned-char -ftrapv -fno-omit-frame-pointer -fstack-protector -fstack-protector-all -fsanitize=3Daddress -g -fworking-directory -O0 -O0 -fpch-preprocess -Wformat-security -o ray.ii ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/5" ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/5/../../../../x86_64-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: ../. . /usr/include/c++/5 /usr/include/x86_64-linux-gnu/c++/5 /usr/include/c++/5/backward /usr/lib/gcc/x86_64-linux-gnu/5/include /usr/local/include /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed /usr/include/x86_64-linux-gnu /usr/include End of search list. COLLECT_GCC_OPTIONS=3D'-D' 'DEBUG' '-D' 'RUN_UNITTEST' '-D' 'UNDER_LINUX' '= -D' '_GLIBCXX_USE_CXX11_ABI=3D0' '-I' '../.' '-I' '.' '-fno-common' '-ffunction-sections' '-fdata-sections' '-fno-rtti' '-Wpedantic' '-pthread' '-Wvariadic-macros' '-fsigned-char' '-Wabi' '-Wall' '-Warray-bounds' '-Wbool-compare' '-Wcast-align' '-Wcomment' '-Wconversion' '-Wdeprecated-declarations' '-Wdelete-incomplete' '-Wdisabled-optimization' '-Wempty-body' '-Wenum-compare' '-Wextra' '-Wformat=3D1' '-Wformat-extra-ar= gs' '-Wformat-security' '-Wformat-zero-length' '-Wchar-subscripts' '-Winit-self' '-Wint-to-pointer-cast' '-Winvalid-pch' '-Wlogical-not-parentheses' '-Wlogical-op' '-Wmissing-braces' '-Wmissing-field-initializers' '-Wsuggest-attribute=3Dnoreturn' '-Wno-inline' '-Wno-long-long' '-Wnonnull' '-Wodr' '-Woverflow' '-Wpacked' '-Wparentheses' '-Wpointer-arith' '-Wredundant-decls' '-Wreturn-type' '-Wsequence-point' '-Wshadow' '-Wshift-count-negative' '-Wshift-count-overflow' '-Wsign-compare' '-Wsign-conversion' '-Wsizeof-array-argument' '-Wsizeof-pointer-memaccess' '-Wstrict-aliasing' '-Wstrict-overflow' '-Wswitch' '-Wswitch-bool' '-Wswitch-default' '-Wswitch-enum' '-Wtrigraphs' '-Wundef' '-Wuninitialized' '-O0' '-Wunused-but-set-parameter' '-Wunused-but-set-variable' '-Wunused-function' '-Wunused-label' '-Wunused-parameter' '-Wunused-value' '-Wunused-variable' '-Wunknown-pragmas' '-Wwrite-strings' '-Wabi-tag' '-Wcast-qual' '-Wdelete-non-virtual-dtor' '-Wdeprecated' '-Wnon-virtual-dto= r' '-Wold-style-cast' '-Woverloaded-virtual' '-Wreorder' '-Wsign-promo' '-Wsuggest-final-methods' '-Wsuggest-final-types' '-Wunused-macros' '-ftrap= v' '-fno-omit-frame-pointer' '-fstack-protector' '-fstack-protector-all' '-Wstack-protector' '-O0' '-fsanitize=3Daddress' '-Wno-exit-time-destructor= s' '-Wno-global-constructors' '-Wno-format-nonliteral' '-Wno-suggest-attribute=3Dformat' '-ansi' '-std=3Dc++14' '-Werror' '-g' '-M= MD' '-MT' 'game/CMakeFiles/game.dir/ray.cpp.o' '-MF' 'game/CMakeFiles/game.dir/ray.cpp.o.d' '-o' 'game/CMakeFiles/game.dir/ray.cpp.o' '-c' '-v' '-save-temps' '-shared-libgc= c' '-mtune=3Dgeneric' '-march=3Dx86-64' /usr/lib/gcc/x86_64-linux-gnu/5/cc1plus -fpreprocessed ray.ii -quiet -dump= base ray.cpp -mtune=3Dgeneric -march=3Dx86-64 -auxbase-strip game/CMakeFiles/game.dir/ray.cpp.o -g -O0 -O0 -Wpedantic -Wvariadic-macros -Wabi -Wall -Warray-bounds -Wbool-compare -Wcast-align -Wcomment -Wconversi= on -Wdeprecated-declarations -Wdelete-incomplete -Wdisabled-optimization -Wempty-body -Wenum-compare -Wextra -Wformat=3D1 -Wformat-extra-args -Wformat-security -Wformat-zero-length -Wchar-subscripts -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wlogical-not-parentheses -Wlogical-op -Wmissing-braces -Wmissing-field-initializers -Wsuggest-attribute=3Dnoreturn -Wno-inline -Wno-long-long -Wnonnull -Wodr -Woverflow -Wpacked -Wparentheses -Wpointer-arith -Wredundant-decls -Wreturn-type -Wsequence-point -Wshadow -Wshift-count-negative -Wshift-count-overflow -Wsign-compare -Wsign-convers= ion -Wsizeof-array-argument -Wsizeof-pointer-memaccess -Wstrict-aliasing -Wstrict-overflow -Wswitch -Wswitch-bool -Wswitch-default -Wswitch-enum -Wtrigraphs -Wundef -Wuninitialized -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-paramet= er -Wunused-value -Wunused-variable -Wunknown-pragmas -Wwrite-strings -Wabi-tag -Wcast-qual -Wdelete-non-virtual-dtor -Wdeprecated -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wreorder -Wsign-promo -Wsuggest-final-methods -Wsuggest-final-types -Wunused-macros -Wstack-prote= ctor -Wno-exit-time-destructors -Wno-global-constructors -Wno-format-nonliteral -Wno-suggest-attribute=3Dformat -Werror -ansi -std=3Dc++14 -version -fno-co= mmon -ffunction-sections -fdata-sections -fno-rtti -fsigned-char -ftrapv -fno-omit-frame-pointer -fstack-protector -fstack-protector-all -fsanitize=3Daddress -Wformat-security -o ray.s GNU C++14 (Ubuntu 5.3.1-14ubuntu2) version 5.3.1 20160413 (x86_64-linux-gnu) compiled by GNU C version 5.3.1 20160413, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU C++14 (Ubuntu 5.3.1-14ubuntu2) version 5.3.1 20160413 (x86_64-linux-gnu) compiled by GNU C version 5.3.1 20160413, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: a544146c1c8bd944ae4c4ff6181f339e In file included from ../game/ray.cpp:8:0: .././game/ray.h:134:43: in constexpr expansion of =E2=80=98OneThreat()=E2= =80=99 .././game/ray.h:134:43: internal compiler error: Segmentation fault mutable OneThreat m_tsv[kMaxBoard] =3D {}; /**< threats on ray */ ^ >>From gcc-bugs-return-523039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 17:10:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110324 invoked by alias); 23 Apr 2016 17:10:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110101 invoked by uid 48); 23 Apr 2016 17:10:03 -0000 From: "mira.fontan at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70770] constexpr expansion Internal compiler error Date: Sat, 23 Apr 2016 17:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mira.fontan 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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02252.txt.bz2 Content-length: 239 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70770 --- Comment #2 from Mira Fontan --- Created attachment 38333 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38333&action=3Dedit preprocessed file >>From gcc-bugs-return-523040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 17:55:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 483 invoked by alias); 23 Apr 2016 17:55:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123908 invoked by uid 48); 23 Apr 2016 17:55:35 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70771] New: ICE on valid code at -O3 on x86_64-linux-gnu in operator[], at vec.h:714 Date: Sat, 23 Apr 2016 17:55: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: su at cs dot ucdavis.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02253.txt.bz2 Content-length: 2732 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70771 Bug ID: 70771 Summary: ICE on valid code at -O3 on x86_64-linux-gnu in operator[], at vec.h:714 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: su at cs dot ucdavis.edu Target Milestone: --- The following code causes an ICE when compiled with the current gcc trunk at -O3 on x86_64-linux-gnu in both 32-bit and 64-bit modes. It is a regression from 5.3.x. $ gcc-trunk -v Using built-in specs. COLLECT_GCC=3Dgcc-trunk COLLECT_LTO_WRAPPER=3D/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/= 7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=3Dc,c++,l= to --prefix=3D/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20160423 (experimental) [trunk revision 235384] (GCC) $ $ gcc-trunk -O2 small.c; ./a.out $ gcc-5.3 -O3 small.c; ./a.out $ $ gcc-trunk -O3 small.c small.c: In function =E2=80=98main=E2=80=99: small.c:18:1: internal compiler error: in operator[], at vec.h:714 main () ^~~~ 0xba5e89 vec::operator[](unsigned int) ../../gcc-source-trunk/gcc/vec.h:714 0xba5e89 gimple_phi_arg_edge ../../gcc-source-trunk/gcc/gimple.h:4339 0xba5e89 replace_uses_by(tree_node*, tree_node*) ../../gcc-source-trunk/gcc/tree-cfg.c:1818 0xba60b1 gimple_merge_blocks ../../gcc-source-trunk/gcc/tree-cfg.c:1938 0x74cf75 merge_blocks(basic_block_def*, basic_block_def*) ../../gcc-source-trunk/gcc/cfghooks.c:787 0xbaecc4 cleanup_tree_cfg_bb ../../gcc-source-trunk/gcc/tree-cfgcleanup.c:660 0xbaf598 cleanup_tree_cfg_1 ../../gcc-source-trunk/gcc/tree-cfgcleanup.c:710 0xbaf598 cleanup_tree_cfg_noloop ../../gcc-source-trunk/gcc/tree-cfgcleanup.c:761 0xbaf598 cleanup_tree_cfg() ../../gcc-source-trunk/gcc/tree-cfgcleanup.c:812 0xa9ad74 execute_function_todo ../../gcc-source-trunk/gcc/passes.c:1921 0xa9b7cb execute_todo ../../gcc-source-trunk/gcc/passes.c:2020 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ ------------------------------------ int a, b, c, d; static void fn1 () {=20 for (b =3D 0; b < 1; b++) for (c =3D 0; c < 1; c++) {=20 if (a) break; b =3D 1; } for (;;) ; } int main () {=20 if (d) fn1 (); return 0; } >>From gcc-bugs-return-523041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 18:40:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120100 invoked by alias); 23 Apr 2016 18:40:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119899 invoked by uid 48); 23 Apr 2016 18:39:53 -0000 From: "ch3root at openwall dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70772] New: Wrong warning about unspecified behavior for comparison with string literal Date: Sat, 23 Apr 2016 18:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ch3root at openwall 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02254.txt.bz2 Content-length: 1240 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70772 Bug ID: 70772 Summary: Wrong warning about unspecified behavior for comparison with string literal Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ch3root at openwall dot com Target Milestone: --- While compiling such program: int main() { "abc" =3D=3D "def"; } I get this warning: $ gcc -Wall -Wno-unused-value example.c=20 example.c: In function =E2=80=98main=E2=80=99: example.c:3:9: warning: comparison with string literal results in unspecifi= ed behavior [-Waddress] "abc" =3D=3D "def"; ^~ The warning is wrong, this equality cannot be true. I understand that the warning is intended to catch comparisons like "abc" = =3D=3D "abc" which indeed have an unspecified result. But the current warning is t= oo promiscuous. The easy fix is to reformulate closer to "comparison with string literal is always false or has an unspecified result". The more thorough fix is to separately catch cases that could be proved to = be false at compile time. >>From gcc-bugs-return-523042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 18:40:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120355 invoked by alias); 23 Apr 2016 18:40:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119930 invoked by uid 48); 23 Apr 2016 18:39:55 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows Date: Sat, 23 Apr 2016 18:40: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02255.txt.bz2 Content-length: 636 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70684 --- Comment #15 from Jerry DeLisle --- (In reply to Andy May from comment #14) --- snip --- >=20 > Of course, I really appreciate the work that goes into this. I've already > made a local patch file with your fix so that the mxe.cc gcc builds with = it > and now our program runs correctly. >=20 Your testing and confirming the original issue is fixed helps greatly, than= ks. > I look after a project with ~2.5 million lines of Fortran, some which were > written 40 years ago on punch cards. So many of us learned on those punch cards. (yeeehah!) >>From gcc-bugs-return-523043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 18:46:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126704 invoked by alias); 23 Apr 2016 18:46:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126357 invoked by uid 55); 23 Apr 2016 18:45:52 -0000 From: "ch3root at openwall dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70772] Wrong warning about unspecified behavior for comparison with string literal Date: Sat, 23 Apr 2016 18:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ch3root at openwall 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02256.txt.bz2 Content-length: 190 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70772 --- Comment #1 from Alexander Cherepanov --- clang bug -- https://llvm.org/bugs/show_bug.cgi?id=3D27495 . >>From gcc-bugs-return-523044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 19:05:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26934 invoked by alias); 23 Apr 2016 19:05:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26693 invoked by uid 48); 23 Apr 2016 19:05:40 -0000 From: "bruck.michael at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70755] [ARM] excessive struct alignment for globals Date: Sat, 23 Apr 2016 19:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bruck.michael at googlemail 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02257.txt.bz2 Content-length: 1206 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70755 --- Comment #2 from Michael Bruck --- (In reply to Richard Earnshaw from comment #1) > This is a deliberate design choice. By doing this we gain significant > benefits from having aligned objects, which helps with data copying and > other optimizations. >=20 > Consider, for example, the object >=20 > struct x > { > char a; > char b; > char c; > char d; > }; >=20 > struct x A, B; >=20 > f() > { > B =3D A; > } >=20 > Since the objects are aligned then this function can be optimized to sing= le > 32-bit load and store operations that work very efficiently. >=20 > As you've noticed, it is possible to force the alignment down to the > architectural minimums by annotations, but for most users it makes little > difference and the defaults are preferable. "for most users" Maybe I should have specified -mcortex-m0 on the command line to illustrate= the point. For most Cortex-M0 users with 16 kB this 300% memory waste is a bad trade-off. Can you implement a command line option to deactivate this behavior? Your reply did not address b) and c), should I open a separate bug to discu= ss these? >>From gcc-bugs-return-523045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 19:09:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40612 invoked by alias); 23 Apr 2016 19:09:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40456 invoked by uid 48); 23 Apr 2016 19:09:01 -0000 From: "bruck.michael at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70755] [ARM] excessive struct alignment for globals Date: Sat, 23 Apr 2016 19: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: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bruck.michael at googlemail 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02258.txt.bz2 Content-length: 2385 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70755 --- Comment #3 from Michael Bruck --- (In reply to Michael Bruck from comment #2) > (In reply to Richard Earnshaw from comment #1) > > This is a deliberate design choice. By doing this we gain significant > > benefits from having aligned objects, which helps with data copying and > > other optimizations. > >=20 > > Consider, for example, the object > >=20 > > struct x > > { > > char a; > > char b; > > char c; > > char d; > > }; > >=20 > > struct x A, B; > >=20 > > f() > > { > > B =3D A; > > } > >=20 > > Since the objects are aligned then this function can be optimized to si= ngle > > 32-bit load and store operations that work very efficiently. > >=20 > > As you've noticed, it is possible to force the alignment down to the > > architectural minimums by annotations, but for most users it makes litt= le > > difference and the defaults are preferable. >=20 > "for most users" >=20 > Maybe I should have specified -mcortex-m0 on the command line to illustra= te > the point. For most Cortex-M0 users with 16 kB this 300% memory waste is a > bad trade-off. >=20 > Can you implement a command line option to deactivate this behavior? >=20 > Your reply did not address b) and c), should I open a separate bug to > discuss these? A struct with only one bool does not derive the benefits described in your example and should be exempted from this modified alignment for this reason alone.(In reply to Richard Earnshaw from comment #1) > This is a deliberate design choice. By doing this we gain significant > benefits from having aligned objects, which helps with data copying and > other optimizations. >=20 > Consider, for example, the object >=20 > struct x > { > char a; > char b; > char c; > char d; > }; >=20 > struct x A, B; >=20 > f() > { > B =3D A; > } >=20 > Since the objects are aligned then this function can be optimized to sing= le > 32-bit load and store operations that work very efficiently. >=20 > As you've noticed, it is possible to force the alignment down to the > architectural minimums by annotations, but for most users it makes little > difference and the defaults are preferable. A struct with only one bool does not derive the benefits described in your example and should be exempted from this modified alignment for this reason alone. >>From gcc-bugs-return-523046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 19:13:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44851 invoked by alias); 23 Apr 2016 19:13:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44660 invoked by uid 48); 23 Apr 2016 19:13:02 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure Date: Sat, 23 Apr 2016 19:13: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: 6.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02259.txt.bz2 Content-length: 554 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70704 --- Comment #42 from Jakub Jelinek --- Even PATH=3D/opt/freeware/bin/:$PATH /home/jakub/gcc-6.0.1-RC-20160415/configure --disable-werror --enable-languages=3Dc,c++,fortran,objc --with-gmp=3D/opt/= cfarm --with-libiconv-prefix=3D/opt/cfarm --disable-libstdcxx-pch --with-included-gettext --enable-checking=3Drelease PATH=3D/opt/freeware/bin/:$PATH make -j48 > LOG 2>&1 & got through comparison without failure (still finishing bootstrap, but comp= are file already exists). >>From gcc-bugs-return-523047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 19:37:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109126 invoked by alias); 23 Apr 2016 19:37:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109011 invoked by uid 48); 23 Apr 2016 19:37:04 -0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/69143] PowerPC64: aggregate results are badly handled Date: Sat, 23 Apr 2016 19:37: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.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ramana 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02260.txt.bz2 Content-length: 295 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69143 --- Comment #4 from Ramana Radhakrishnan --- (In reply to H.J. Lu from comment #3) > Similar to PR 28831, PR 23782? Indeed, though looks more like a base case for PR28831 than PR23782 at first glance.=20 Ramana >>From gcc-bugs-return-523048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 20:13:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17439 invoked by alias); 23 Apr 2016 20:13:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17217 invoked by uid 48); 23 Apr 2016 20:13:12 -0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70751] [7 Regression] FAIL: gcc.target/arm/eliminate.c scan-assembler-times r0,[\\t ]*sp 3 since r235184 Date: Sat, 23 Apr 2016 20:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: ramana 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.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02261.txt.bz2 Content-length: 569 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70751 Ramana Radhakrishnan changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-23 CC| |ramana at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Ramana Radhakrishnan --- Confirmed. >>From gcc-bugs-return-523049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 20:19:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24802 invoked by alias); 23 Apr 2016 20:19:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24576 invoked by uid 48); 23 Apr 2016 20:19:05 -0000 From: "jamrial at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70768] Increased compilation time Date: Sat, 23 Apr 2016 20:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamrial at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02262.txt.bz2 Content-length: 724 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70768 --- Comment #2 from James Almer --- (In reply to Markus Trippelsdorf from comment #1) > Well, you simply need more RAM to compile this testcase, because gcc-6 us= es > slightly over 2GB peak, so your machine starts swapping. > On my machine (with 8GB RAM) gcc-6 is actually slightly faster. >=20 > (For gcc-7 you need to configure it with --enable-checking=3Drelease to > compare timings.) Tried to assign more RAM to the vm and it indeed fixed the trashing and slowness with gcc-6 and newer. gcc-6/7 uses like 2.1GB of RAM to compile this file whereas gcc-5 uses only 1.6GB. Is this intended/expected, or can it be considered a memory hog? >>From gcc-bugs-return-523050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 20:48:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79361 invoked by alias); 23 Apr 2016 20:48:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79018 invoked by uid 48); 23 Apr 2016 20:48:03 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70768] Increased compilation time Date: Sat, 23 Apr 2016 20:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02263.txt.bz2 Content-length: 2190 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70768 --- Comment #3 from Markus Trippelsdorf --- (In reply to James Almer from comment #2) > (In reply to Markus Trippelsdorf from comment #1) > > Well, you simply need more RAM to compile this testcase, because gcc-6 = uses > > slightly over 2GB peak, so your machine starts swapping. > > On my machine (with 8GB RAM) gcc-6 is actually slightly faster. > >=20 > > (For gcc-7 you need to configure it with --enable-checking=3Drelease to > > compare timings.) >=20 > Tried to assign more RAM to the vm and it indeed fixed the trashing and > slowness with gcc-6 and newer. >=20 > gcc-6/7 uses like 2.1GB of RAM to compile this file whereas gcc-5 uses on= ly > 1.6GB. Is this intended/expected, or can it be considered a memory hog? Maybe. gcc-5: phase lang. deferred : 66.28 (84%) usr 2.57 (69%) sys 68.88 (83%) w= all 2722388 kB (82%) ggc phase opt and generate : 12.25 (15%) usr 0.92 (25%) sys 13.19 (16%) w= all=20 469818 kB (14%) ggc phase finalize : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) w= all=20 0 kB ( 0%) ggc |name lookup : 1.80 ( 2%) usr 0.12 ( 3%) sys 1.99 ( 2%) w= all=20 279075 kB ( 8%) ggc |overload resolution : 58.89 (74%) usr 2.53 (68%) sys 61.26 (74%) w= all 2619094 kB (79%) ggc template instantiation : 60.34 (76%) usr 2.66 (72%) sys 62.90 (76%) w= all 2791073 kB (84%) ggc TOTAL : 79.35 3.72 83.14=20=20=20= =20=20=20=20=20=20=20=20 3325932 kB gcc-6: phase lang. deferred : 74.36 (87%) usr 3.38 (72%) sys 77.73 (86%) w= all 3725459 kB (84%) ggc phase opt and generate : 10.30 (12%) usr 1.17 (25%) sys 11.46 (13%) w= all=20 572078 kB (13%) ggc |name lookup : 2.18 ( 3%) usr 0.27 ( 6%) sys 2.19 ( 2%) w= all=20 134001 kB ( 3%) ggc |overload resolution : 62.60 (73%) usr 3.25 (69%) sys 66.14 (73%) w= all 3543436 kB (80%) ggc template instantiation : 64.42 (75%) usr 3.42 (72%) sys 67.78 (75%) w= all 3798026 kB (86%) ggc TOTAL : 85.52 4.72 90.24=20=20=20= =20=20=20=20=20=20=20=20 4424695 kB >>From gcc-bugs-return-523051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 20:51:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85919 invoked by alias); 23 Apr 2016 20:51:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82146 invoked by uid 48); 23 Apr 2016 20:51:18 -0000 From: "tulipawn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/70773] New: Profiling makes sudoku solver slower Date: Sat, 23 Apr 2016 20: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tulipawn at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02264.txt.bz2 Content-length: 988 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70773 Bug ID: 70773 Summary: Profiling makes sudoku solver slower Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: tulipawn at gmail dot com Target Milestone: --- Created attachment 38334 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38334&action=3Dedit .c, .i and .gcda files Compiling the attached sudoku solver the usual way and running the benchmar= k: $ gcc -O3 -Wall sudoku.c -o sudokuC $ time ./sudokuC 1>&2 > /dev/null takes 1.25s, whereas doing a profile build: $ gcc -O3 -Wall sudoku.c -o sudokuC -fprofile-generate $ time ./sudokuC 1>&2 > /dev/null $ gcc -O3 -Wall sudoku.c -o sudokuC -fprofile-use $ time ./sudokuC 1>&2 > /dev/null takes 1.5s which means it's 20% slower. Probably shouldn't happen. >>From gcc-bugs-return-523052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 20:52:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111106 invoked by alias); 23 Apr 2016 20:52:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110876 invoked by uid 48); 23 Apr 2016 20:52:34 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70768] Increased compilation time Date: Sat, 23 Apr 2016 20: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02265.txt.bz2 Content-length: 242 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70768 --- Comment #4 from Markus Trippelsdorf --- This is the file in question: https://github.com/ericniebler/range-v3/blob/master/test/algorithm/transfor= m.cpp >>From gcc-bugs-return-523053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 21:06:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130331 invoked by alias); 23 Apr 2016 21:06:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130172 invoked by uid 48); 23 Apr 2016 21:06:11 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70353] [5 regression] ICE on __PRETTY_FUNCTION__ in a constexpr function Date: Sat, 23 Apr 2016 21:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02266.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70353 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mira.fontan at gmail dot c= om --- Comment #21 from Markus Trippelsdorf --- *** Bug 70770 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-523054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 21:06:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130354 invoked by alias); 23 Apr 2016 21:06:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130093 invoked by uid 48); 23 Apr 2016 21:06:09 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70770] [5 Regression] constexpr expansion Internal compiler error Date: Sat, 23 Apr 2016 21:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02267.txt.bz2 Content-length: 788 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70770 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |trippels at gcc dot gnu.org Resolution|--- |DUPLICATE Summary|constexpr expansion |[5 Regression] constexpr |Internal compiler error |expansion Internal compiler | |error --- Comment #3 from Markus Trippelsdorf --- dup. *** This bug has been marked as a duplicate of bug 70353 *** >>From gcc-bugs-return-523055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 23 23:47:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25456 invoked by alias); 23 Apr 2016 23:47:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25014 invoked by uid 48); 23 Apr 2016 23:47:16 -0000 From: "steven.spark at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70774] New: constexpr function with reference parameter gives reinterpret_cast from integer to pointer error Date: Sat, 23 Apr 2016 23:47: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: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: steven.spark 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02268.txt.bz2 Content-length: 2940 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70774 Bug ID: 70774 Summary: constexpr function with reference parameter gives reinterpret_cast from integer to pointer error Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: steven.spark at gmail dot com Target Milestone: --- Here is the simplified code: -------------- #define PORTX (*(volatile unsigned char *)(0x1B)) constexpr volatile unsigned char * testRef(volatile unsigned char & x) { return &x; } volatile unsigned char* addr =3D testRef(PORTX); /// OK constexpr volatile unsigned char* addr2 =3D testRef(PORTX); /// error:=20 /// reinterpret_cast from integer to pointer -------------- This compiled without problem with gcc 4.8.1, but fails with 4.9.2. Using built-in specs. COLLECT_GCC=3Davr-g++.exe Target: avr Configured with: /home/toolsbuild/workspace/avr8-gnu-toolchain/src/gcc/configure LDFLAGS=3D-L/home/toolsbuild/workspace/avr8-gnu-toolchain/avr8-gnu-toolchai= n-win32_x86-hostlibs/lib CPPFLAGS=3D --target=3Davr --host=3Di686-w64-mingw32 --build=3Dx86_64-pc-li= nux-gnu --prefix=3D/home/toolsbuild/workspace/avr8-gnu-toolchain/avr8-gnu-toolchain= -win32_x86 --libdir=3D/home/toolsbuild/workspace/avr8-gnu-toolchain/avr8-gnu-toolchain= -win32_x86/lib --enable-languages=3Dc,c++ --with-dwarf2 --enable-doc --disable-shared --disable-libada --disable-libssp --disable-nls --with-avrlibc=3Dyes --with-mpfr=3D/home/toolsbuild/workspace/avr8-gnu-toolchain/avr8-gnu-toolch= ain-win32_x86-hostlibs --with-gmp=3D/home/toolsbuild/workspace/avr8-gnu-toolchain/avr8-gnu-toolcha= in-win32_x86-hostlibs --with-mpc=3D/home/toolsbuild/workspace/avr8-gnu-toolchain/avr8-gnu-toolcha= in-win32_x86-hostlibs --enable-win32-registry=3Davrtoolchain --with-pkgversion=3DAVR_8_bit_GNU_Toolchain_3.5.0_1662 --with-bugurl=3Dhttp://www.atmel.com Thread model: single gcc version 4.9.2 (AVR_8_bit_GNU_Toolchain_3.5.0_1662)=20 I'm writing code for AVR micro controller where every byte counts, so compi= le time evaluation is key. I was trying out the new Atmel Studio 7 IDE which c= omes with the new 4.9.2 gcc when I came across this problem. In my real world co= de I'm using constexpr constructor and constexpr instances of my pin handler c= lass - to make life easier and encapsulate port, data direction and other regist= ers.=20 Note: If I use pointer instead of reference then it compiles fine: constexpr volatile unsigned char * testAddr(volatile unsigned char * x) { return x; } constexpr volatile unsigned char* addr3 =3D testAddr(&PORTX); /// OK Why is this? Am I doing something wrong? How can I use (port) references in constexpr functions? This also does NOT work: constexpr volatile unsigned char& ref5 =3D PORTX; /// error >>From gcc-bugs-return-523056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 01:17:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69013 invoked by alias); 24 Apr 2016 01:17:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59575 invoked by uid 48); 24 Apr 2016 01:17:22 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70775] New: ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault Date: Sun, 24 Apr 2016 01:17: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: su at cs dot ucdavis.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02269.txt.bz2 Content-length: 2801 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70775 Bug ID: 70775 Summary: ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: su at cs dot ucdavis.edu Target Milestone: --- The following code causes an ICE when compiled with the current gcc trunk at -O3 on x86_64-linux-gnu in both 32-bit and 64-bit modes. It is a regression from 5.3.x. $ gcc-trunk -v Using built-in specs. COLLECT_GCC=3Dgcc-trunk COLLECT_LTO_WRAPPER=3D/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/= 7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=3Dc,c++,l= to --prefix=3D/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20160423 (experimental) [trunk revision 235384] (GCC)=20 $=20 $ gcc-trunk -O2 -c small.c $ gcc-5.3 -O3 -c small.c $=20 $ gcc-trunk -O3 -c small.c small.c: In function =E2=80=98fn2=E2=80=99: small.c:17:1: internal compiler error: Segmentation fault fn2 () ^~~ 0xb6718f crash_signal ../../gcc-source-trunk/gcc/toplev.c:333 0x74e89c vec_safe_length ../../gcc-source-trunk/gcc/vec.h:524 0x74e89c loop_depth ../../gcc-source-trunk/gcc/cfgloop.h:444 0x74e89c flow_loop_nested_p(loop const*, loop const*) ../../gcc-source-trunk/gcc/cfgloop.c:64 0xdb7837 vect_is_simple_reduction ../../gcc-source-trunk/gcc/tree-vect-loop.c:2627 0xdb9011 vect_force_simple_reduction ../../gcc-source-trunk/gcc/tree-vect-loop.c:3026 0xdb9011 vect_analyze_scalar_cycles_1 ../../gcc-source-trunk/gcc/tree-vect-loop.c:865 0xdbc807 vect_analyze_scalar_cycles ../../gcc-source-trunk/gcc/tree-vect-loop.c:939 0xdbc807 vect_analyze_loop_2 ../../gcc-source-trunk/gcc/tree-vect-loop.c:1845 0xdbc807 vect_analyze_loop(loop*) ../../gcc-source-trunk/gcc/tree-vect-loop.c:2264 0xdd7611 vectorize_loops() ../../gcc-source-trunk/gcc/tree-vectorizer.c:532 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $=20 $=20 ------------------------------------------ struct S { int f1; int f2; } a; int b, c, d, e; short f; int fn1 (int p1, unsigned p2) { return p1 + p2; } void fn2 () { struct S g; int h; for (; c; c++) for (f =3D -3; f < 3; f =3D fn1 (f, 8)) { a.f1 =3D e; if (b) a =3D g; else for (; h; h++) d =3D b; } } >>From gcc-bugs-return-523057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 03:13:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43929 invoked by alias); 24 Apr 2016 03:13:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42142 invoked by uid 48); 24 Apr 2016 03:10:37 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70776] New: ICE on invalid code on x86_64-linux-gnu: Segmentation fault (program cc1plus) Date: Sun, 24 Apr 2016 03:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: su at cs dot ucdavis.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02270.txt.bz2 Content-length: 1578 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70776 Bug ID: 70776 Summary: ICE on invalid code on x86_64-linux-gnu: Segmentation fault (program cc1plus) Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: su at cs dot ucdavis.edu Target Milestone: --- The following code causes an ICE when compiled with the current GCC trunk on x86_64-linux-gnu in both 32-bit and 64-bit modes.=20 It seems to affect at least all GCC versions 4.4.x and later.=20 $ g++-trunk -v Using built-in specs. COLLECT_GCC=3Dg++-trunk COLLECT_LTO_WRAPPER=3D/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/= 7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=3Dc,c++,l= to --prefix=3D/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20160423 (experimental) [trunk revision 235384] (GCC)=20 $=20 $ g++-trunk small.cpp -c g++-trunk: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. $=20 ---------------------------------------------------- template < int > struct A; template < typename, typename =3D void > struct B; template < typename T >=20 struct B < T, typename A < B < T >::value >::type > { B < int > b; // OK: B < int > *b;=20 }; >>From gcc-bugs-return-523058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 05:12:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34319 invoked by alias); 24 Apr 2016 05:12:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34089 invoked by uid 55); 24 Apr 2016 05:12:04 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows Date: Sun, 24 Apr 2016 05:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02271.txt.bz2 Content-length: 729 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70684 --- Comment #16 from Jerry DeLisle --- Author: jvdelisle Date: Sun Apr 24 05:07:21 2016 New Revision: 235391 URL: https://gcc.gnu.org/viewcvs?rev=3D235391&root=3Dgcc&view=3Drev Log: 2016-04-23 Jerry DeLisle PR libgfortran/70684 * io/list_read (check_buffers): Add '\r' to check for end of line. factor. * gfortran.dg/list_read_14.f90: New test. Added: branches/gcc-6-branch/gcc/testsuite/gfortran.dg/list_read_14.f90 Modified: branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/libgfortran/ChangeLog branches/gcc-6-branch/libgfortran/io/list_read.c >>From gcc-bugs-return-523059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 07:39:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110532 invoked by alias); 24 Apr 2016 07:39:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109581 invoked by uid 48); 24 Apr 2016 07:39:29 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70774] constexpr function with reference parameter gives reinterpret_cast from integer to pointer error Date: Sun, 24 Apr 2016 07:39: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: 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02272.txt.bz2 Content-length: 184 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70774 --- Comment #1 from Andreas Schwab --- The correct place to ask such questions is . >>From gcc-bugs-return-523060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 10:00:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107788 invoked by alias); 24 Apr 2016 10:00:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107295 invoked by uid 48); 24 Apr 2016 09:59:56 -0000 From: "suckfish at ihug dot co.nz" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70777] New: x*x pessimised to pow(x,2) with -Og -ffast-math Date: Sun, 24 Apr 2016 10:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: suckfish at ihug dot co.nz 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02273.txt.bz2 Content-length: 945 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70777 Bug ID: 70777 Summary: x*x pessimised to pow(x,2) with -Og -ffast-math Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: suckfish at ihug dot co.nz Target Milestone: --- Compiling the function double foo(double x) { return x*x; } on x86_64 with "gcc -Og -ffast-math" converts the multiplication to a call = to pow(): foo: .LFB0: .cfi_startproc subq $8, %rsp .cfi_def_cfa_offset 16 movsd .LC0(%rip), %xmm1 call pow addq $8, %rsp .cfi_def_cfa_offset 8 ret Removing the -ffast-math or using -O/-O2/-O3 with -ffast-math, the multiplication compiles to a multiply instruction. Observed with gcc 4.8.3, 5.4.1 and 6.0. >>From gcc-bugs-return-523061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 11:52:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47133 invoked by alias); 24 Apr 2016 11:52:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46990 invoked by uid 48); 24 Apr 2016 11:51:52 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70777] x*x pessimised to pow(x,2) with -Og -ffast-math Date: Sun, 24 Apr 2016 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: 6.0 X-Bugzilla-Keywords: 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: bug_status cf_reconfirmed_on component everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02274.txt.bz2 Content-length: 709 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70777 Marc Glisse changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-24 Component|c |tree-optimization Ever confirmed|0 |1 --- Comment #1 from Marc Glisse --- fold-const.c: /* Canonicalize x*x as pow(x,2.0), which is expanded as x*x. */ But this isn't quite true. pow is lowered to x*x in the sincos pass, which doesn't run at -Og. >>From gcc-bugs-return-523063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 13:08:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107359 invoked by alias); 24 Apr 2016 13:08:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107206 invoked by uid 48); 24 Apr 2016 13:08:23 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70766] stream iterators, shared_lock, and atomic should all use addressof and not & Date: Sun, 24 Apr 2016 13:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02276.txt.bz2 Content-length: 402 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70766 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-24 Ever confirmed|0 |1 >>From gcc-bugs-return-523062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 13:08:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106501 invoked by alias); 24 Apr 2016 13:08:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106396 invoked by uid 48); 24 Apr 2016 13:07:59 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70769] function definition wrongfully allowed inside comma separated member declaration list Date: Sun, 24 Apr 2016 13:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: trivial X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02275.txt.bz2 Content-length: 402 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70769 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-24 Ever confirmed|0 |1 >>From gcc-bugs-return-523064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 14:02:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12917 invoked by alias); 24 Apr 2016 14:02:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12810 invoked by uid 48); 24 Apr 2016 14:02:30 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70350] [5 Regression] ICE with -fcheck=all and array initialization Date: Sun, 24 Apr 2016 14:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02277.txt.bz2 Content-length: 373 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70350 --- Comment #3 from janus at gcc dot gnu.org --- Unfortunately this bug affects versions shipping with Debian and Ubuntu, e.= g. gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) which is the version included in the lastest Ubuntu release 16.04. See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D819367 >>From gcc-bugs-return-523065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 14:09:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17282 invoked by alias); 24 Apr 2016 14:09:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17096 invoked by uid 48); 24 Apr 2016 14:09:12 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70350] [5 Regression] ICE with -fcheck=all and array initialization Date: Sun, 24 Apr 2016 14:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02278.txt.bz2 Content-length: 134 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70350 --- Comment #4 from janus at gcc dot gnu.org --- Looks very related to PR 69385 >>From gcc-bugs-return-523066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 14:20:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24202 invoked by alias); 24 Apr 2016 14:20:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24100 invoked by uid 48); 24 Apr 2016 14:20:19 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/53557] Cross compiling for m68k-linux fails as doesn't exist Date: Sun, 24 Apr 2016 14:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02279.txt.bz2 Content-length: 518 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53557 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |law at redhat dot com Resolution|--- |FIXED --- Comment #1 from Jeffrey A. Law --- Fixed on the trunk a few days ago. >>From gcc-bugs-return-523067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 14:39:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112286 invoked by alias); 24 Apr 2016 14:39:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112094 invoked by uid 48); 24 Apr 2016 14:39:40 -0000 From: "ch3root at openwall dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/32667] block copy with exact overlap is expanded as memcpy Date: Sun, 24 Apr 2016 14:39: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.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ch3root at openwall 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02280.txt.bz2 Content-length: 600 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D32667 Alexander Cherepanov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ch3root at openwall dot com --- Comment #13 from Alexander Cherepanov --- This bug could be reproduced with gcc 7.0.0 20160424 on x86-64 with this example: int main() { volatile struct { char s[8193]; // gcc //char s[129]; // clang } s =3D {""}; s =3D s; } >>From gcc-bugs-return-523068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 15:57:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81269 invoked by alias); 24 Apr 2016 15:57:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81152 invoked by uid 48); 24 Apr 2016 15:57:16 -0000 From: "lopresti at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/32667] block copy with exact overlap is expanded as memcpy Date: Sun, 24 Apr 2016 15:57: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.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: lopresti 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02281.txt.bz2 Content-length: 759 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D32667 --- Comment #14 from Patrick J. LoPresti --- D Hugh Redelmeier in comment 12 is mistaken... memcpy is a reserved identif= ier (see e.g. http://stackoverflow.com/a/23841970), so the user cannot legally redefine it. That said, this is clearly a real bug in GCC. memcpy has a well-defined interface; GCC emits calls violating that interface; therefore GCC is buggy= . I do not see why this is even controversial. (Also see Julian Seward's description of real-world problems in comment 5.) GCC either needs to provide its own mempcy or it needs to respect the interface. The cost of the latter is surely trivial, especially since many cases could be optimized by alias analysis. >>From gcc-bugs-return-523069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 16:39:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14767 invoked by alias); 24 Apr 2016 16:39:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14628 invoked by uid 48); 24 Apr 2016 16:39:39 -0000 From: "morwenn29 at hotmail dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70328] default generated destructors cause 'inlining failed' warnings. Date: Sun, 24 Apr 2016 16:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.4 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: morwenn29 at hotmail dot fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02282.txt.bz2 Content-length: 730 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70328 Morwenn changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |morwenn29 at hotmail dot fr --- Comment #1 from Morwenn --- I have the same problem from time to time (g++ 5.3). It generally happens w= hen I am deep in the function call stack. The symptoms are the same and the resolution is the same. To be honest, since there is nowhere in my project = any request to force inlining anywhere, this -Winline diagnostic for automatica= lly generated destructors feels a bit bogus. >>From gcc-bugs-return-523071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 18:07:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123827 invoked by alias); 24 Apr 2016 18:07:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118705 invoked by uid 48); 24 Apr 2016 18:07:45 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70762] FAIL: experimental/filesystem/operations/copy.cc execution test on x86_64-apple-darwin1* Date: Sun, 24 Apr 2016 18:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02284.txt.bz2 Content-length: 498 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70762 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |7.0 --- Comment #8 from Jonathan Wakely --- Should be fixed at r235395 >>From gcc-bugs-return-523070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 18:07:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116886 invoked by alias); 24 Apr 2016 18:07:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98179 invoked by uid 55); 24 Apr 2016 18:07:29 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70762] FAIL: experimental/filesystem/operations/copy.cc execution test on x86_64-apple-darwin1* Date: Sun, 24 Apr 2016 18:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02283.txt.bz2 Content-length: 589 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70762 --- Comment #7 from Jonathan Wakely --- Author: redi Date: Sun Apr 24 18:06:54 2016 New Revision: 235395 URL: https://gcc.gnu.org/viewcvs?rev=3D235395&root=3Dgcc&view=3Drev Log: libstdc++/70762 fix fallback implementation of nonexistent_path PR libstdc++/70762 * testsuite/util/testsuite_fs.h (__gnu_test::nonexistent_path): Use static counter to return a different path on every call. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/testsuite/util/testsuite_fs.h >>From gcc-bugs-return-523072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 18:14:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130844 invoked by alias); 24 Apr 2016 18:14:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130337 invoked by uid 48); 24 Apr 2016 18:14:17 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70776] [4.9/5/6/7 Regression] ICE on invalid code on x86_64-linux-gnu: Segmentation fault (program cc1plus) Date: Sun, 24 Apr 2016 18:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02285.txt.bz2 Content-length: 908 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70776 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org Target Milestone|--- |4.9.4 Summary|ICE on invalid code on |[4.9/5/6/7 Regression] ICE |x86_64-linux-gnu: |on invalid code on |Segmentation fault (program |x86_64-linux-gnu: |cc1plus) |Segmentation fault (program | |cc1plus) --- Comment #1 from Jakub Jelinek --- r72500 compiles this fine (but doesn't reject), r75000 already ICEs; don't = have bisect stuff for this old revisions in between. >>From gcc-bugs-return-523073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 18:34:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19917 invoked by alias); 24 Apr 2016 18:34:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19789 invoked by uid 48); 24 Apr 2016 18:34:00 -0000 From: "jacques-henri.jourdan at inria dot Fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/67784] Incorrect parsing when using declarations in for loops and typedefs Date: Sun, 24 Apr 2016 18:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jacques-henri.jourdan at inria dot Fr X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02286.txt.bz2 Content-length: 710 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67784 Jacques-Henri Jourdan changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #9 from Jacques-Henri Jourdan --- I am sorry, but it appears a similar bug is still in the 6.1 RC, with the following variant of my first example: typedef int T; void f(void) { if(sizeof(enum { T }) =3D=3D 0); T x; // T should be resolved outside of the scope of "if" x =3D 0; } >>From gcc-bugs-return-523074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 18:54:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108555 invoked by alias); 24 Apr 2016 18:54:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108257 invoked by uid 48); 24 Apr 2016 18:54:18 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70765] GCC fails to detect possibly uninitialized variable Date: Sun, 24 Apr 2016 18:54: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02287.txt.bz2 Content-length: 635 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70765 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- Why do you think that is a bug? GCC is not a static analyzer, but a compil= er, and to detect this case the functions need to be inlined, which is an optimization that is not performed at -O0 (unless the function is inline __attribute__((always_inline)) ). >>From gcc-bugs-return-523075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 20:27:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83716 invoked by alias); 24 Apr 2016 20:27:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83567 invoked by uid 48); 24 Apr 2016 20:26:59 -0000 From: "bastien.penavayre at epitech dot eu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70778] New: internal compiler error: in tsubst, at cp/pt.c:12158 Date: Sun, 24 Apr 2016 20:27: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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: bastien.penavayre at epitech dot eu 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02288.txt.bz2 Content-length: 1024 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70778 Bug ID: 70778 Summary: internal compiler error: in tsubst, at cp/pt.c:12158 Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bastien.penavayre at epitech dot eu Target Milestone: --- Created attachment 38335 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38335&action=3Dedit file compiled with -v -save-temps When compiled the given file result in this error : test.cpp: In function =E2=80=98int main()=E2=80=99: test.cpp:20:62: internal compiler error: in tsubst, at cp/pt.c:12158 using result =3D Stuff::AddToFront<0, Holder<24>>::type; ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >>From gcc-bugs-return-523076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 20:29:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86275 invoked by alias); 24 Apr 2016 20:29:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86143 invoked by uid 48); 24 Apr 2016 20:29:03 -0000 From: "bastien.penavayre at epitech dot eu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70778] internal compiler error: in tsubst, at cp/pt.c:12158 Date: Sun, 24 Apr 2016 20:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: bastien.penavayre at epitech dot eu 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02289.txt.bz2 Content-length: 266 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70778 --- Comment #1 from bastien penavayre = --- Created attachment 38336 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38336&action=3Dedit full output of -v -save-temps >>From gcc-bugs-return-523077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 20:32:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90209 invoked by alias); 24 Apr 2016 20:32:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89868 invoked by uid 48); 24 Apr 2016 20:32:22 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70771] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in operator[], at vec.h:714 Date: Sun, 24 Apr 2016 20:32: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: 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc version target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02290.txt.bz2 Content-length: 953 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70771 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-24 CC| |jakub at gcc dot gnu.org Version|6.0 |7.0 Target Milestone|--- |7.0 Summary|ICE on valid code at -O3 on |[7 Regression] ICE on valid |x86_64-linux-gnu in |code at -O3 on |operator[], at vec.h:714 |x86_64-linux-gnu in | |operator[], at vec.h:714 Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Started with r235292. >>From gcc-bugs-return-523078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 20:33:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99164 invoked by alias); 24 Apr 2016 20:33:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91860 invoked by uid 48); 24 Apr 2016 20:33:25 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70775] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault Date: Sun, 24 Apr 2016 20:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc version target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02291.txt.bz2 Content-length: 945 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70775 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-24 CC| |jakub at gcc dot gnu.org Version|6.0 |7.0 Target Milestone|--- |7.0 Summary|ICE on valid code at -O3 on |[7 Regression] ICE on valid |x86_64-linux-gnu: |code at -O3 on |Segmentation fault |x86_64-linux-gnu: | |Segmentation fault Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Started with r235292. >>From gcc-bugs-return-523079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 21:44:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120997 invoked by alias); 24 Apr 2016 21:44:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120726 invoked by uid 48); 24 Apr 2016 21:44:46 -0000 From: "tulipawn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/70773] Profiling makes sudoku solver slower Date: Sun, 24 Apr 2016 21:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tulipawn 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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02292.txt.bz2 Content-length: 241 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70773 --- Comment #1 from PeteVine --- Created attachment 38337 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38337&action=3Dedit the two assembly versions >>From gcc-bugs-return-523080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 21:52:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4852 invoked by alias); 24 Apr 2016 21:52:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4712 invoked by uid 48); 24 Apr 2016 21:51:49 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70773] Profiling makes sudoku solver slower Date: Sun, 24 Apr 2016 21:52: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: 5.3.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02293.txt.bz2 Content-length: 249 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70773 --- Comment #2 from Andrew Pinski --- Looks like for some reason with profiling __aeabi_idiv/__aeabi_idivmod is b= eing used in one place. Most likely for pos / 9 . >>From gcc-bugs-return-523081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 22:18:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101113 invoked by alias); 24 Apr 2016 22:18:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100926 invoked by uid 48); 24 Apr 2016 22:18:04 -0000 From: "tulipawn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70773] Profiling makes sudoku solver slower Date: Sun, 24 Apr 2016 22:18: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: 5.3.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: tulipawn 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02294.txt.bz2 Content-length: 313 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70773 --- Comment #3 from PeteVine --- Oh, a divmod issue. At least it's not using modsi3 ;) (llvm #26450) BTW, the attached assembly files were generated with lto and NEON enabled b= ut the 20% difference stayed the same. (1s vs 1.2s) >>From gcc-bugs-return-523082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 22:22:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105321 invoked by alias); 24 Apr 2016 22:22:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105133 invoked by uid 48); 24 Apr 2016 22:22:16 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/19204] [m68k] pea can force reloads that cause inefficient code Date: Sun, 24 Apr 2016 22:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02295.txt.bz2 Content-length: 681 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D19204 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Status|SUSPENDED |RESOLVED Resolution|--- |INVALID --- Comment #7 from Jeffrey A. Law --- A bug like this without a testcase is pointless. Even more so when it's specific to a dead target. Andreas may not like closing, but it's the right thing to do. Obviously if someone comes up with a testcase, then a new bug can be opened and handled appropriately. >>From gcc-bugs-return-523083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 24 22:23:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106765 invoked by alias); 24 Apr 2016 22:23:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106664 invoked by uid 48); 24 Apr 2016 22:23:15 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/19205] [m68k] avoid converting INDEX to SI mode if a narrower mode suffices Date: Sun, 24 Apr 2016 22: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: unknown X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02296.txt.bz2 Content-length: 681 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D19205 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Status|SUSPENDED |RESOLVED Resolution|--- |INVALID --- Comment #8 from Jeffrey A. Law --- A bug like this without a testcase is pointless. Even more so when it's specific to a dead target. Andreas may not like closing, but it's the right thing to do. Obviously if someone comes up with a testcase, then a new bug can be opened and handled appropriately. >>From gcc-bugs-return-523084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 02:25:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125952 invoked by alias); 25 Apr 2016 02:25:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124955 invoked by uid 48); 25 Apr 2016 02:25:19 -0000 From: "igodard at pacbell dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70779] New: -trapv does not generate trapping vode for integer conversions Date: Mon, 25 Apr 2016 02:25: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: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: igodard at pacbell dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02297.txt.bz2 Content-length: 832 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70779 Bug ID: 70779 Summary: -trapv does not generate trapping vode for integer conversions Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: igodard at pacbell dot net Target Milestone: --- This source: extern int si; extern unsigned ui; int main(int argc, char** argv) { return argc=3D=3D0?si:ui; } compiled with this command line: gcc -S -O3 -ftrapv src/test2.c gets this code: main: .LFB0: .cfi_startproc testl %edi, %edi movl ui(%rip), %eax cmove si(%rip), %eax ret .cfi_endproc Note that there is no check for overflow. >>From gcc-bugs-return-523085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 02:50:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34361 invoked by alias); 25 Apr 2016 02:50:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33135 invoked by uid 48); 25 Apr 2016 02:49:32 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70780] New: wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Mon, 25 Apr 2016 02:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: su at cs dot ucdavis.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02298.txt.bz2 Content-length: 1424 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70780 Bug ID: 70780 Summary: wrong code at -O2 and -O3 on x86_64-linux-gnu Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: su at cs dot ucdavis.edu Target Milestone: --- The current gcc trunk miscompiles the following code on x86_64-linux-gnu at= -O2 and -O3 in both 32-bit and 64-bit modes. This is a regression from 5.3.x.=20 $ gcc-trunk -v Using built-in specs. COLLECT_GCC=3Dgcc-trunk COLLECT_LTO_WRAPPER=3D/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/= 7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=3Dc,c++,l= to --prefix=3D/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20160424 (experimental) [trunk revision 235394] (GCC)=20 $=20 $ gcc-trunk -Os small.c; ./a.out $ gcc-5.3 -O2 small.c; ./a.out $=20 $ gcc-trunk -O2 small.c $ ./a.out Segmentation fault (core dumped) $=20 -------------------------------- int a, b, c, *d, e; static int fn1 ()=20 { if (a) goto l1; l2: while (b) if (*d) return c; for (e =3D 0; e; e++) { goto l2; l1:; } return 0;=20 } int main () { fn1 (); return 0;=20 } >>From gcc-bugs-return-523086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 03:04:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105103 invoked by alias); 25 Apr 2016 03:04:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 104784 invoked by uid 48); 25 Apr 2016 03:04:19 -0000 From: "dje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure Date: Mon, 25 Apr 2016 03:04: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02299.txt.bz2 Content-length: 474 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70704 --- Comment #43 from David Edelsohn --- I tried RC2 and it again failed. I configured again with your configure command and what appears to be your build command, and it succeeded. One difference is my normal bootstrap script still use the contrib/gcc_build shell script, which invokes "make -jX bootstrap". I am testing if the "bootstrap" target specifically elicits the comparison failure. >>From gcc-bugs-return-523087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 03:14:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4380 invoked by alias); 25 Apr 2016 03:14:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4182 invoked by uid 48); 25 Apr 2016 03:14:01 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70781] New: ICE on invalid C++ code with lambda expressions on x86_64-linux-gnu in finish_expr_stmt, at cp/semantics.c:677 Date: Mon, 25 Apr 2016 03:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: su at cs dot ucdavis.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02300.txt.bz2 Content-length: 3801 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70781 Bug ID: 70781 Summary: ICE on invalid C++ code with lambda expressions on x86_64-linux-gnu in finish_expr_stmt, at cp/semantics.c:677 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: su at cs dot ucdavis.edu Target Milestone: --- The following code causes an ICE when compiled with the current GCC trunk on x86_64-linux-gnu in both 32-bit and 64-bit modes.=20 It is a regression from 5.3.x.=20 $ g++-trunk -v Using built-in specs. COLLECT_GCC=3Dg++-trunk COLLECT_LTO_WRAPPER=3D/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/= 7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=3Dc,c++,l= to --prefix=3D/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20160424 (experimental) [trunk revision 235394] (GCC)=20 $=20 $ g++-5.3 -c small.cpp -std=3Dc++11 small.cpp: In function =E2=80=98void foo()=E2=80=99: small.cpp:5:5: error: expected primary-expression before =E2=80=98(=E2=80= =99 token T ([=3D] (S) { [=3D] {}; });=20 ^ small.cpp:5:11: error: =E2=80=98S=E2=80=99 has not been declared T ([=3D] (S) { [=3D] {}; });=20 ^ $ g++-trunk -c small.cpp -std=3Dc++11=20 small.cpp: In lambda function: small.cpp:5:22: internal compiler error: in finish_expr_stmt, at cp/semantics.c:677 T ([=3D] (S) { [=3D] {}; }); ^ 0x7b4c50 finish_expr_stmt(tree_node*) ../../gcc-source-trunk/gcc/cp/semantics.c:677 0x745722 cp_parser_expression_statement ../../gcc-source-trunk/gcc/cp/parser.c:10720 0x73343b cp_parser_statement ../../gcc-source-trunk/gcc/cp/parser.c:10534 0x7340ec cp_parser_statement_seq_opt ../../gcc-source-trunk/gcc/cp/parser.c:10806 0x734bde cp_parser_lambda_body ../../gcc-source-trunk/gcc/cp/parser.c:10272 0x734bde cp_parser_lambda_expression ../../gcc-source-trunk/gcc/cp/parser.c:9756 0x735d8c cp_parser_primary_expression ../../gcc-source-trunk/gcc/cp/parser.c:4933 0x737e16 cp_parser_postfix_expression ../../gcc-source-trunk/gcc/cp/parser.c:6690 0x740f3c cp_parser_unary_expression ../../gcc-source-trunk/gcc/cp/parser.c:7988 0x741797 cp_parser_cast_expression ../../gcc-source-trunk/gcc/cp/parser.c:8665 0x741d95 cp_parser_binary_expression ../../gcc-source-trunk/gcc/cp/parser.c:8767 0x742680 cp_parser_assignment_expression ../../gcc-source-trunk/gcc/cp/parser.c:9055 0x7441c6 cp_parser_parenthesized_expression_list ../../gcc-source-trunk/gcc/cp/parser.c:7459 0x744c31 cp_parser_functional_cast ../../gcc-source-trunk/gcc/cp/parser.c:25943 0x737d0a cp_parser_postfix_expression ../../gcc-source-trunk/gcc/cp/parser.c:6615 0x740f3c cp_parser_unary_expression ../../gcc-source-trunk/gcc/cp/parser.c:7988 0x741797 cp_parser_cast_expression ../../gcc-source-trunk/gcc/cp/parser.c:8665 0x741d95 cp_parser_binary_expression ../../gcc-source-trunk/gcc/cp/parser.c:8767 0x742680 cp_parser_assignment_expression ../../gcc-source-trunk/gcc/cp/parser.c:9055 0x744f59 cp_parser_expression ../../gcc-source-trunk/gcc/cp/parser.c:9222 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $=20 --------------------------------------------- template < typename T >=20=20 // OK: template < typename T, typename S >=20 void foo () { T ([=3D] (S) { [=3D] {}; });=20 } >>From gcc-bugs-return-523088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 04:18:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104425 invoked by alias); 25 Apr 2016 04:18:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 104234 invoked by uid 48); 25 Apr 2016 04:18:32 -0000 From: "jhaberman at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70782] New: zero-initialized union returned by value generates useless stores/loads to the stack Date: Mon, 25 Apr 2016 04:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jhaberman 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02301.txt.bz2 Content-length: 2389 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70782 Bug ID: 70782 Summary: zero-initialized union returned by value generates useless stores/loads to the stack Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jhaberman at gmail dot com Target Milestone: --- Test case: -- #include typedef union { char ch; float fl; double dbl; } u; u f(const void *p, int type) { u v; memset(&v, 0, 8); if (type =3D=3D 1) { memcpy(&v, p, 1); } else if (type <=3D 5) { memcpy(&v, p, 4); } else if (type <=3D 8) { memcpy(&v, p, 8); } return v; } -- With gcc 5.2.1 on Ubuntu, compiled with -O3 -fno-stack-protect I get: -- 0000000000000000 : 0: 83 fe 01 cmp esi,0x1 3: 48 c7 44 24 e8 00 00 mov QWORD PTR [rsp-0x18],0x0 a: 00 00=20 c: 74 32 je 40 e: 83 fe 05 cmp esi,0x5 11: 7e 1d jle 30 13: 83 fe 08 cmp esi,0x8 16: 7f 08 jg 20 18: 48 8b 07 mov rax,QWORD PTR [rdi] 1b: 48 89 44 24 e8 mov QWORD PTR [rsp-0x18],rax 20: 48 8b 44 24 e8 mov rax,QWORD PTR [rsp-0x18] 25: c3 ret=20=20=20=20 26: 66 2e 0f 1f 84 00 00 nop WORD PTR cs:[rax+rax*1+0x0] 2d: 00 00 00=20 30: 8b 07 mov eax,DWORD PTR [rdi] 32: 89 44 24 e8 mov DWORD PTR [rsp-0x18],eax 36: 48 8b 44 24 e8 mov rax,QWORD PTR [rsp-0x18] 3b: c3 ret=20=20=20=20 3c: 0f 1f 40 00 nop DWORD PTR [rax+0x0] 40: 0f b6 07 movzx eax,BYTE PTR [rdi] 43: 88 44 24 e8 mov BYTE PTR [rsp-0x18],al 47: 48 8b 44 24 e8 mov rax,QWORD PTR [rsp-0x18] 4c: c3 ret -- In every code path it saves the read value to the stack, only to read it ba= ck.=20 None of these operations are actually necessary, since the code is already zeroing the other parts of rax. This function shouldn't need to use any st= ack space at all. >>From gcc-bugs-return-523089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 04:35:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11947 invoked by alias); 25 Apr 2016 04:35:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11748 invoked by uid 48); 25 Apr 2016 04:34:58 -0000 From: "jhaberman at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70782] zero-initialized long returned by value generates useless stores/loads to the stack Date: Mon, 25 Apr 2016 04:35: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jhaberman 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: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02302.txt.bz2 Content-length: 1002 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70782 Josh Haberman changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|zero-initialized union |zero-initialized long |returned by value generates |returned by value generates |useless stores/loads to the |useless stores/loads to the |stack |stack --- Comment #1 from Josh Haberman --- I just realized that the union has nothing to do with it. I get exactly the same results if the function returns a long: -- #include long f(const void *p, int type) { long v; memset(&v, 0, 8); if (type =3D=3D 1) { memcpy(&v, p, 1); } else if (type <=3D 5) { memcpy(&v, p, 4); } else if (type <=3D 8) { memcpy(&v, p, 8); } return v; } -- I've retitled the bug accordingly. >>From gcc-bugs-return-523090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 07:07:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37698 invoked by alias); 25 Apr 2016 07:07:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37533 invoked by uid 48); 25 Apr 2016 07:07:46 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70780] [6/7 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Mon, 25 Apr 2016 07:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02303.txt.bz2 Content-length: 826 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70780 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-25 CC| |jakub at gcc dot gnu.org Target Milestone|--- |6.0 Summary|wrong code at -O2 and -O3 |[6/7 Regression] wrong code |on x86_64-linux-gnu |at -O2 and -O3 on | |x86_64-linux-gnu Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Started with r234970. >>From gcc-bugs-return-523091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 07:11:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44005 invoked by alias); 25 Apr 2016 07:11:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43831 invoked by uid 48); 25 Apr 2016 07:11:39 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70781] [6/7 Regression] ICE on invalid C++ code with lambda expressions on x86_64-linux-gnu in finish_expr_stmt, at cp/semantics.c:677 Date: Mon, 25 Apr 2016 07:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02304.txt.bz2 Content-length: 1113 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70781 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-25 CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org Target Milestone|--- |6.0 Summary|ICE on invalid C++ code |[6/7 Regression] ICE on |with lambda expressions on |invalid C++ code with |x86_64-linux-gnu in |lambda expressions on |finish_expr_stmt, at |x86_64-linux-gnu in |cp/semantics.c:677 |finish_expr_stmt, at | |cp/semantics.c:677 Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Started with r233183. >>From gcc-bugs-return-523092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 07:39:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61567 invoked by alias); 25 Apr 2016 07:39:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61426 invoked by uid 48); 25 Apr 2016 07:39:07 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70780] [6/7 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Mon, 25 Apr 2016 07:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02305.txt.bz2 Content-length: 604 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70780 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 --- Comment #2 from Jakub Jelinek --- Seems starting with that revision we hoist *d before the loop (which would = be ok only if it is guarded by if (b), as if b is false, it is completely valid that d is NULL or uninitialized etc. and causes trap). Richard, can you please have a look? >>From gcc-bugs-return-523093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 07:46:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85470 invoked by alias); 25 Apr 2016 07:46:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85288 invoked by uid 48); 25 Apr 2016 07:46:30 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70763] Use SSE for DImode load/store Date: Mon, 25 Apr 2016 07:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02306.txt.bz2 Content-length: 370 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70763 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Severity|normal |enhancement >>From gcc-bugs-return-523094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 07:48:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87330 invoked by alias); 25 Apr 2016 07:48:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87212 invoked by uid 48); 25 Apr 2016 07:48:18 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70768] [6/7 Regression] Increased compilation time Date: Mon, 25 Apr 2016 07:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: compile-time-hog, memory-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on resolution target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02307.txt.bz2 Content-length: 906 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70768 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |compile-time-hog, | |memory-hog Status|RESOLVED |REOPENED Last reconfirmed| |2016-04-25 Resolution|INVALID |--- Target Milestone|--- |6.2 Summary|Increased compilation time |[6/7 Regression] Increased | |compilation time Ever confirmed|0 |1 --- Comment #5 from Richard Biener --- I think this kind of memory usage increase is a bug. >>From gcc-bugs-return-523095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 07:49:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96085 invoked by alias); 25 Apr 2016 07:49:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95968 invoked by uid 48); 25 Apr 2016 07:49:36 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70771] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in operator[], at vec.h:714 Date: Mon, 25 Apr 2016 07:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02308.txt.bz2 Content-length: 366 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70771 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 CC| |amker at gcc dot gnu.org >>From gcc-bugs-return-523096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 07:50:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97045 invoked by alias); 25 Apr 2016 07:50:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96944 invoked by uid 48); 25 Apr 2016 07:50:10 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70772] Wrong warning about unspecified behavior for comparison with string literal Date: Mon, 25 Apr 2016 07:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02309.txt.bz2 Content-length: 544 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70772 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-25 Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- Confirmed. >>From gcc-bugs-return-523097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 07:51:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98073 invoked by alias); 25 Apr 2016 07:51:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97971 invoked by uid 48); 25 Apr 2016 07:51:04 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70773] Profiling makes sudoku solver slower Date: Mon, 25 Apr 2016 07:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02310.txt.bz2 Content-length: 258 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70773 --- Comment #4 from Richard Biener --- It possibly does value profiling figuring out a common division/modulo value and then making all other values unlikely (and thus cold). >>From gcc-bugs-return-523098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 07:52:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102185 invoked by alias); 25 Apr 2016 07:52:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102033 invoked by uid 48); 25 Apr 2016 07:52:35 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70775] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault Date: Mon, 25 Apr 2016 07:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02311.txt.bz2 Content-length: 537 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70775 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 CC| |amker at gcc dot gnu.org, | |rguenth at gcc dot gnu.org --- Comment #2 from Richard Biener --- Probably a latent issue. >>From gcc-bugs-return-523099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 07:56:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123410 invoked by alias); 25 Apr 2016 07:56:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119458 invoked by uid 48); 25 Apr 2016 07:55:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70776] [4.9/5/6/7 Regression] ICE on invalid code on x86_64-linux-gnu: Segmentation fault (program cc1plus) Date: Mon, 25 Apr 2016 07:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02312.txt.bz2 Content-length: 3650 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70776 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-25 Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- Confirmed. Infinite recursion via #0 0x0000000000b0051e in ggc_internal_alloc ( size=3D, f=3D,=20 s=3D, n=3D) at /space/rguenther/src/svn/trunk/gcc/ggc-page.c:1267 #1 0x0000000000d3e569 in ggc_internal_cleared_alloc (size=3D40, f=3D0x0, s= =3D0, n=3D1) at /space/rguenther/src/svn/trunk/gcc/ggc-common.c:116 #2 0x00000000013e9456 in ggc_internal_cleared_alloc (s=3D40) at /space/rguenther/src/svn/trunk/gcc/ggc.h:148 #3 0x00000000013e948a in ggc_alloc_cleared_tree_node_stat (s=3D40) at /space/rguenther/src/svn/trunk/gcc/ggc.h:292 #4 0x00000000013ef8c2 in make_tree_vec_stat (len=3D2) at /space/rguenther/src/svn/trunk/gcc/tree.c:2281 #5 0x000000000081467f in coerce_template_parms ( parms=3D, args=3D,=20 in_decl=3D, complain=3D0,=20 require_all_args=3Dtrue, use_default_args=3Dtrue) at /space/rguenther/src/svn/trunk/gcc/cp/pt.c:7594 #6 0x00000000008151a1 in coerce_innermost_template_parms ( parms=3D, args=3D,=20 in_decl=3D, complain=3D0,=20 require_all_args=3Dtrue, use_default_args=3Dtrue) at /space/rguenther/src/svn/trunk/gcc/cp/pt.c:7820 #7 0x0000000000817ceb in lookup_template_class_1 ( d1=3D, arglist=3D,=20 in_decl=3D, context=3D,= =20 entering_scope=3D0, complain=3D0) at /space/rguenther/src/svn/trunk/gcc/cp/pt.c:8297 #8 0x000000000081ae6b in lookup_template_class ( d1=3D, arglist=3D,=20 in_decl=3D, context=3D,= =20 entering_scope=3D0, complain=3D0) at /space/rguenther/src/svn/trunk/gcc/cp/pt.c:8638 #9 0x00000000008274a3 in tsubst_aggr_type (t=3D,=20 args=3D, complain=3D0, in_decl=3D,=20 entering_scope=3D0) at /space/rguenther/src/svn/trunk/gcc/cp/pt.c:11425 #10 0x000000000082fe5d in tsubst (t=3D,=20 args=3D, complain=3D0, in_decl=3D) at /space/rguenther/src/svn/trunk/gcc/cp/pt.c:12895 #11 0x0000000000833e7d in tsubst_qualified_id ( qualified_id=3D, args=3D,=20 complain=3D0, in_decl=3D, done=3Dtrue, address_p=3Dfalse) at /space/rguenther/src/svn/trunk/gcc/cp/pt.c:13734 ... Clang detects: > clang++ -S t.ii t.ii:6:34: fatal error: recursive template instantiation exceeded maximum d= epth of 256 Not sure if the testcase is thus invalid (but we should diagnose it instead of crashing). >>From gcc-bugs-return-523100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 07:59:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1982 invoked by alias); 25 Apr 2016 07:59:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1450 invoked by uid 48); 25 Apr 2016 07:59:00 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70777] x*x pessimised to pow(x,2) with -Og -ffast-math Date: Mon, 25 Apr 2016 07:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02313.txt.bz2 Content-length: 650 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70777 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org --- Comment #2 from Richard Biener --- Mine. We should remove the canonicalization done in fold as reassoc does it now (and better). Probably not going to be fixed for older releases (though we could gate the transform appropriately). >>From gcc-bugs-return-523101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 08:01:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4970 invoked by alias); 25 Apr 2016 08:01:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4061 invoked by uid 48); 25 Apr 2016 08:00:48 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70778] internal compiler error: in tsubst, at cp/pt.c:12158 Date: Mon, 25 Apr 2016 08: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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02314.txt.bz2 Content-length: 553 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70778 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-25 Ever confirmed|0 |1 Known to fail| |4.8.5, 7.0 --- Comment #2 from Richard Biener --- Confirmed on trunk. >>From gcc-bugs-return-523102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 08:02:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10188 invoked by alias); 25 Apr 2016 08:02:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6229 invoked by uid 48); 25 Apr 2016 08:02:07 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70779] -trapv does not generate trapping vode for integer conversions Date: Mon, 25 Apr 2016 08:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02315.txt.bz2 Content-length: 617 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70779 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Richard Biener --- conversions from unsigned to signed are not undefined but implementation defined and not covered by -ftrapv. Instead GCC documents its implementation defin= ed behavior as modulo-2 reduction. >>From gcc-bugs-return-523103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 08:03:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37627 invoked by alias); 25 Apr 2016 08:03:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37482 invoked by uid 48); 25 Apr 2016 08:03:51 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70777] x*x pessimised to pow(x,2) with -Og -ffast-math Date: Mon, 25 Apr 2016 08:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02316.txt.bz2 Content-length: 445 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70777 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- Well, we could also optimize pow (x, 2) to x * x at expansion time. >>From gcc-bugs-return-523104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 08:06:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44257 invoked by alias); 25 Apr 2016 08:06:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44194 invoked by uid 48); 25 Apr 2016 08:06:52 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70780] [6/7 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Mon, 25 Apr 2016 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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02317.txt.bz2 Content-length: 470 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70780 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org --- Comment #3 from Richard Biener --- Will have a look. >>From gcc-bugs-return-523105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 08:16:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5165 invoked by alias); 25 Apr 2016 08:16:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4967 invoked by uid 55); 25 Apr 2016 08:15:55 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70777] x*x pessimised to pow(x,2) with -Og -ffast-math Date: Mon, 25 Apr 2016 08: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02318.txt.bz2 Content-length: 801 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70777 --- Comment #4 from rguenther at suse dot de --- On Mon, 25 Apr 2016, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70777 >=20 > Jakub Jelinek changed: >=20 > What |Removed |Added > -------------------------------------------------------------------------= --- > CC| |jakub at gcc dot gnu.org >=20 > --- Comment #3 from Jakub Jelinek --- > Well, we could also optimize pow (x, 2) to x * x at expansion time. We did in the past but removed that "feature". We could also canonicalize to POWI instead (not losing the fact x * x didn't set errno, etc.). >>From gcc-bugs-return-523106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 08:22:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11427 invoked by alias); 25 Apr 2016 08:22:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11281 invoked by uid 48); 25 Apr 2016 08:22:00 -0000 From: "nickc at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/70764] PASS->FAIL: gcc.dg/guality/pr41447-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none Date: Mon, 25 Apr 2016 08:22: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: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nickc 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02319.txt.bz2 Content-length: 725 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70764 --- Comment #3 from Nick Clifton --- Hi Kyrylo, > FAIL: tmp is -1, not 0 > FAIL: tmp2 is -1, not 0 > FAIL: gcc.dg/guality/pr41447-1.c -O2 -flto -fno-use-linker-plugin > -flto-partition=3Dnone execution test Would you mind uploading this binary so that I can have a look at it ? > There are optimisation levels where the test passes though. > For example: > PASS: gcc.dg/guality/pr41447-1.c -O2 -flto -fuse-linker-plugin > -fno-fat-lto-objects. Could you upload this one too, so that I can compare it ? > Perhaps we should XFAIL the test for aarch64? Not yet - we need to know why the test is failing for the aarch64. Cheers Nick >>From gcc-bugs-return-523107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 08:38:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75933 invoked by alias); 25 Apr 2016 08:38:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75762 invoked by uid 48); 25 Apr 2016 08:38:43 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70780] [6/7 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Mon, 25 Apr 2016 08:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02320.txt.bz2 Content-length: 382 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70780 --- Comment #4 from Richard Biener --- Ok, so we now find (properly) that *d is loop invariant in while (b) but fa= il to detect *d as possibly trapping. That is supposed to be prevented (in PR= E) by the loop exit but I messed up iteration and thus the solution we use for insertion is not final. >>From gcc-bugs-return-523108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 09:13:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48302 invoked by alias); 25 Apr 2016 09:13:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48189 invoked by uid 48); 25 Apr 2016 09:13:02 -0000 From: "michael.haubenwallner@ssi-schaefer.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure Date: Mon, 25 Apr 2016 09:13: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: michael.haubenwallner@ssi-schaefer.com 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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02321.txt.bz2 Content-length: 1084 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70704 Michael Haubenwallner changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michael.haubenwallner@ssi-s | |chaefer.com --- Comment #44 from Michael Haubenwallner --- Created attachment 38338 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38338&action=3Dedit FLEX listens to M4 envvar, unset. Does it help to set M4=3D/opt/freeware/bin/m4 in the environment, so config= ure is forced to take GNU m4? Once upon a time, I've had similar problems here, although with older gcc, = and use attached patch to fix it - maybe it is of some help here as well. Problem is that flex does listen to the M4 environment variable. Dependent = on PATH, configure may find AIX m4 (/usr/bin) or GNU m4 (/opt/freeware/bin). When M4=3DAIX-m4, flex-generated code breaks. >>From gcc-bugs-return-523109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 09:15:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76704 invoked by alias); 25 Apr 2016 09:15:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76418 invoked by uid 48); 25 Apr 2016 09:15:33 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70771] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in operator[], at vec.h:714 Date: Mon, 25 Apr 2016 09:15: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: amker at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02322.txt.bz2 Content-length: 385 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70771 --- Comment #2 from amker at gcc dot gnu.org --- Also like PR70775, this case failed the change allows single argument PHIs = in if-cvt now. It looks like there is something wrong when handling single argument PHIs. Before the change, we simple return false in ifcvt_convertible_phi_p and skip if-conversion for such form loops. >>From gcc-bugs-return-523110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 09:21:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2798 invoked by alias); 25 Apr 2016 09:21:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130163 invoked by uid 48); 25 Apr 2016 09:21:32 -0000 From: "andreas.g.jhoss at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/70783] New: -spec option behavior is different to implicit spec file Date: Mon, 25 Apr 2016 09:21: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: 4.8.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andreas.g.jhoss at gmx dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02323.txt.bz2 Content-length: 1926 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70783 Bug ID: 70783 Summary: -spec option behavior is different to implicit spec file Product: gcc Version: 4.8.5 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: andreas.g.jhoss at gmx dot de Target Milestone: --- Created attachment 38339 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38339&action=3Dedit The failing specs file I can verify that easily on every Linux system with native compiler Anyway I am using a gcc backcross compiler (Linux->Windows-Linux) with one substitute rule. Is this a lack of documentation or a bug ? I put a spec file in /usr/lib/gcc/i686-pc-linux-gnu/4.8.5/specs or wherever= the specfile is searched and add a substitute rule (See attached file) But the substitue rule is only recognized if I do the gcc call with option -specs=3D.... Working : g++ r:\test.cpp -nojhdefaultlibs -o r:\test=20 -specs=3Dq:/gnuwinh5/bin/../lib/gcc/i686-pc-linux-gnu/4.8.5/ Reading specs from q:/gnuwinh5/bin/../lib/gcc/i686-pc-linux-gnu/4.8.5/specs Reading specs from q:/gnuwinh5/bin/../lib/gcc/i686-pc-linux-gnu/4.8.5/specs COLLECT_GCC=3Dg++ COLLECT_LTO_WRAPPER=3Dq:/gnuwinh5/bin/../libexec/gcc/i686-pc-linux-gnu/4.8.= 5/lto-wrapper.exe Target: i686-pc-linux-gnu ...... Not Working : If am using the implicit specs file with same path but option is not recognized. Reading specs from q:/gnuwinh5/bin/../lib/gcc/i686-pc-linux-gnu/4.8.5/specs COLLECT_GCC=3Dg++ COLLECT_LTO_WRAPPER=3Dq:/gnuwinh5/bin/../libexec/gcc/i686-pc-linux-gnu/4.8.= 5/lto-wrapper.exe g++: error: unrecognized command line option '-nojhdefaultlibs' Target: i686-pc-linux-gnu ...... It doesn't matter what substitute rule I define and also where I define it makes no difference >>From gcc-bugs-return-523111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 09:28:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89258 invoked by alias); 25 Apr 2016 09:28:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89174 invoked by uid 48); 25 Apr 2016 09:28:08 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70784] New: Merge multiple short stores of immediates into wider stores Date: Mon, 25 Apr 2016 09:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02324.txt.bz2 Content-length: 1691 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70784 Bug ID: 70784 Summary: Merge multiple short stores of immediates into wider stores Product: gcc Version: unknown Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org CC: ramana at gcc dot gnu.org Target Milestone: --- Consider the code: struct bar { int a; char b; char c; char d; char e; char f; char g; }; // packed 64-bit structure void foozero (struct bar *p) { p->b =3D 0; p->a =3D 0; p->c =3D 0; p->d =3D 0; p->e =3D 0; } On aarch64 we currently generate: foozero: str wzr, [x0] strb wzr, [x0, 4] strb wzr, [x0, 5] strb wzr, [x0, 6] strb wzr, [x0, 7] ret But could generate a single 64-bit store: foozero: str xzr, [x0] ret Also, for: void foo (struct bar *p) { p->b =3D 0; p->a =3D 0; p->c =3D 0; p->d =3D 1; p->e =3D 0; } we could generate: foo: mov x1, #0x1000000000000 str x1, [x0] Other targets could benefit from this too. x86_64 currently generates for 'foo': foo: .LFB0: .cfi_startproc movl $0, (%rdi) movb $0, 4(%rdi) movb $0, 5(%rdi) movb $1, 6(%rdi) movb $0, 7(%rdi) ret but could genereate: foo: .LFB0: .cfi_startproc movabsq $281474976710656, %rax movq %rax, (%rdi) ret >>From gcc-bugs-return-523112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 09:30:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101784 invoked by alias); 25 Apr 2016 09:30:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96223 invoked by uid 48); 25 Apr 2016 09:30:06 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70784] Merge multiple short stores of immediates into wider stores Date: Mon, 25 Apr 2016 09:30: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: unknown X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02325.txt.bz2 Content-length: 757 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70784 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-04-25 Assignee|unassigned at gcc dot gnu.org |ktkachov at gcc dot= gnu.org Ever confirmed|0 |1 --- Comment #1 from ktkachov at gcc dot gnu.org --- I have an idea to implement this at the RTL level by finding consecutive st= ores of immediates, creating a byte vector resulting from the merged immediate values, and re-emitting it using a new wider (and shorter) sequence. >>From gcc-bugs-return-523113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 09:41:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39472 invoked by alias); 25 Apr 2016 09:41:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39376 invoked by uid 48); 25 Apr 2016 09:41:43 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70784] Merge multiple short stores of immediates into wider stores Date: Mon, 25 Apr 2016 09:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02326.txt.bz2 Content-length: 731 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70784 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- Please see PR22141 which even had a RTL implementation (in the DSE pass). I think it would be much better handling this (together with bitfields) in = some late GIMPLE pass as opposed to RTL pass. And note that using movabsq instead of two movls on x86_64 is very likely a pessimization as opposed to optimization, so one needs to watch the costs t= oo. >>From gcc-bugs-return-523114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 09:43:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67909 invoked by alias); 25 Apr 2016 09:43:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67777 invoked by uid 48); 25 Apr 2016 09:43:38 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70784] Merge multiple short stores of immediates into wider stores Date: Mon, 25 Apr 2016 09:43: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: unknown X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02327.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70784 --- Comment #3 from Jakub Jelinek --- Also note that finding the heuristics when to use this (for -Os it is of co= urse clearer) is hard, if the pointer is sufficiently aligned or if the target is strict alignment it is of course easier. And the RTL DSE patch caused some SPEC regressions on powerpc*. >>From gcc-bugs-return-523115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 09:44:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69624 invoked by alias); 25 Apr 2016 09:44:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69490 invoked by uid 48); 25 Apr 2016 09:44:20 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70767] std::numeric_limits::digits is wrong unless --std=c++11 used Date: Mon, 25 Apr 2016 09:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.9.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on component target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02328.txt.bz2 Content-length: 1167 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70767 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-25 Component|c++ |libstdc++ Target Milestone|--- |7.0 Ever confirmed|0 |1 --- Comment #2 from Jonathan Wakely --- (In reply to Marc Glisse from comment #1) > http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#559 > It has status CD1, I don't remember if that means it applies retroactively > or not. LWG is less consistent than CWG about stating which issue resolutions are considered DRs, and so apply retroactively. The libstdc++ policy is to treat most of them as applying retroactively anyway, because that's the most usef= ul approach. Although our current behaviour is correct according to C++98, I see no reas= on not to define the specializations for cv-qualified types in C++98. >>From gcc-bugs-return-523116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 10:18:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66860 invoked by alias); 25 Apr 2016 10:18:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65483 invoked by uid 48); 25 Apr 2016 10:18:44 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70784] Merge multiple short stores of immediates into wider stores Date: Mon, 25 Apr 2016 10:18: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: unknown X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02329.txt.bz2 Content-length: 2052 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70784 --- Comment #4 from ktkachov at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #3) > Also note that finding the heuristics when to use this (for -Os it is of > course clearer) is hard, if the pointer is sufficiently aligned or if the > target is strict alignment it is of course easier. And the RTL DSE patch > caused some SPEC regressions on powerpc*. Thanks for pointing me to PR22141. I was hoping to structure this in such a way as to pass down the merged byte sequence to a target hook together with information about the original store+setup sequence and have the target emit the most profitable sequence using any target-specific knowledge and tricks it may have (like prefer two movls isntead of movabsq in your example above). We could provide some help= er functions for extracting immediates from the byte vector (like dse_decode_i= nt in your patch or a wrapper around builtin_strncpy_read_str from builtins.c). The default implementation of the hook would be a conservative sequence that emits a sequence of stores up to word_mode in width (avoiding unaligned sto= res for STRICT_ALIGN or SLOW_UNALIGNED_ACCESS targets), perhaps reusing some store_by_pieces infrastructure. For the heuristics question I've found tracking setup instructions as well = as stores to work well. That is, from the original store sequence keep track n= ot only of the store insns but also the instructions that move immediates into= the registers to be stored. And the new sequence would be rejected if the total number of stores is not smaller, or if the total store+setup cost is higher than the old store+setup cost. Of course, that would depend on the backend estimating the cost of synthesising immediates, which the aarch64 target (at least) does. I think a gimple implementation of this would suffer from such a drawback, = in that it would not know whether the new wider immediates are actually profit= able unless it consulted RTX costs, which we wouldn't want at gimple level. >>From gcc-bugs-return-523117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 10:44:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16196 invoked by alias); 25 Apr 2016 10:44:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16070 invoked by uid 48); 25 Apr 2016 10:44:48 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70784] Merge multiple short stores of immediates into wider stores Date: Mon, 25 Apr 2016 10:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02330.txt.bz2 Content-length: 980 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70784 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |DUPLICATE --- Comment #5 from Richard Biener --- Dup. Note we already have two passes that can do related transforms. 1) bswap which can detect adjacent loads (that then feed a (non-)bswap sequence to build a larger value) 2) basic-block vectorization (which does not consider (all) non-vector types for BLKmode vectorization) 2) has the additional limitation to only consider same-sized sub-stores so doing this in the general framework of 1) may be easier. Adding a new pass only considering adjacent stores may also be possible. *** This bug has been marked as a duplicate of bug 22141 *** >>From gcc-bugs-return-523118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 10:45:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17441 invoked by alias); 25 Apr 2016 10:45:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16477 invoked by uid 48); 25 Apr 2016 10:44:55 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/22141] [4.9/5/6/7 Regression] Missing optimization when storing structures Date: Mon, 25 Apr 2016 10:45: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.0.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: minor X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02331.txt.bz2 Content-length: 449 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D22141 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ktkachov at gcc dot gnu.org --- Comment #34 from Richard Biener --- *** Bug 70784 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-523119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 10:50:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76125 invoked by alias); 25 Apr 2016 10:50:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75921 invoked by uid 55); 25 Apr 2016 10:50:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70780] [6/7 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Mon, 25 Apr 2016 10:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02332.txt.bz2 Content-length: 787 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70780 --- Comment #5 from Richard Biener --- Author: rguenth Date: Mon Apr 25 10:49:55 2016 New Revision: 235407 URL: https://gcc.gnu.org/viewcvs?rev=3D235407&root=3Dgcc&view=3Drev Log: 2016-04-25 Richard Biener PR tree-optimization/70780 * tree-ssa-pre.c (compute_antic_aux): Also return true if the block wasn't visited yet. (compute_antic): Mark blocks with abnormal preds as visited as they have a final empty antic-in solution already. * gcc.dg/torture/pr70780.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr70780.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-pre.c >>From gcc-bugs-return-523120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 10:51:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92083 invoked by alias); 25 Apr 2016 10:51:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84615 invoked by uid 48); 25 Apr 2016 10:50:55 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70780] [6/7 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Mon, 25 Apr 2016 10: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02333.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70780 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Richard Biener --- Fixed. >>From gcc-bugs-return-523121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 10:51:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95193 invoked by alias); 25 Apr 2016 10:51:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94967 invoked by uid 55); 25 Apr 2016 10:51:22 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70780] [6/7 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Mon, 25 Apr 2016 10: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02334.txt.bz2 Content-length: 851 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70780 --- Comment #7 from Richard Biener --- Author: rguenth Date: Mon Apr 25 10:50:46 2016 New Revision: 235408 URL: https://gcc.gnu.org/viewcvs?rev=3D235408&root=3Dgcc&view=3Drev Log: 2016-04-25 Richard Biener PR tree-optimization/70780 * tree-ssa-pre.c (compute_antic_aux): Also return true if the block wasn't visited yet. (compute_antic): Mark blocks with abnormal preds as visited as they have a final empty antic-in solution already. * gcc.dg/torture/pr70780.c: New testcase. Added: branches/gcc-6-branch/gcc/testsuite/gcc.dg/torture/pr70780.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/tree-ssa-pre.c >>From gcc-bugs-return-523122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 11:20:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130186 invoked by alias); 25 Apr 2016 11:20:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129331 invoked by uid 48); 25 Apr 2016 11:20:40 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70771] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in operator[], at vec.h:714 Date: Mon, 25 Apr 2016 11:20: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: amker at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02335.txt.bz2 Content-length: 171 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70771 --- Comment #3 from amker at gcc dot gnu.org --- Had patch for this and PR70775, will send for review after testing. >>From gcc-bugs-return-523123-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 11:38:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111608 invoked by alias); 25 Apr 2016 11:38:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111417 invoked by uid 48); 25 Apr 2016 11:38:26 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70760] [6/7 regression] wrong generated code for std::make_unique with -fipa-pta Date: Mon, 25 Apr 2016 11:38: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02336.txt.bz2 Content-length: 494 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 --- Comment #2 from Richard Biener --- First DCE after IPA PTA does @@ -18217,7 +9762,6 @@ MEM[(struct ParameterDescription *)_5].D.481734.D.343802._vptr.ParameterDescriptionNode =3D &MEM[(void *)&_ZTVN3edm20ParameterDescriptionIiEE + 16B]; _18 =3D *__args#1_7(D); MEM[(struct ParameterDescription *)_5].value_ =3D _18; - MEM[(struct _Head_base *)_1(D)]._M_head_impl =3D _5; return _1(D); : >>From gcc-bugs-return-523124-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 12:29:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127419 invoked by alias); 25 Apr 2016 12:29:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127186 invoked by uid 48); 25 Apr 2016 12:29:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70760] [6/7 regression] wrong generated code for std::make_unique with -fipa-pta Date: Mon, 25 Apr 2016 12:29: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02337.txt.bz2 Content-length: 2556 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 --- Comment #3 from Richard Biener --- Where _1(D) is # PT =3D struct __single_object & _1(D) =3D ; This is in a function deemed local (a ISRA specialization) and thus it looks like we think there are no callers. There are indeed callers but to different ISRA specializations. I suppose (again) it is IPA ICF that merges them. There seems to be a disconnect between what versioning does to DECL_RESULT (and DECL_BY_REFERENCE) and what IPA PTA does vs. non-IPA PTA with regard to such results. non-IPA just looks at gimple_call_return_slot_opt_p while IPA only looks at DECL_BY_REFERENCE. Index: gcc/tree-ssa-structalias.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/tree-ssa-structalias.c (revision 235404) +++ gcc/tree-ssa-structalias.c (working copy) @@ -4658,9 +4658,11 @@ find_func_aliases_for_call (struct funct /* If we pass the result decl by reference, honor that. */ if (lhsop - && fndecl - && DECL_RESULT (fndecl) - && DECL_BY_REFERENCE (DECL_RESULT (fndecl))) + && ((fndecl + && DECL_RESULT (fndecl) + && DECL_BY_REFERENCE (DECL_RESULT (fndecl))) + || (gimple_call_return_slot_opt_p (t) + && TREE_ADDRESSABLE (TREE_TYPE (lhsop))))) { struct constraint_expr lhs; struct constraint_expr *rhsp; fixes that but the following should also work (but is obviously less safe). Index: gcc/tree-ssa-structalias.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/tree-ssa-structalias.c (revision 235404) +++ gcc/tree-ssa-structalias.c (working copy) @@ -4658,9 +4658,8 @@ find_func_aliases_for_call (struct funct /* If we pass the result decl by reference, honor that. */ if (lhsop - && fndecl - && DECL_RESULT (fndecl) - && DECL_BY_REFERENCE (DECL_RESULT (fndecl))) + && gimple_call_return_slot_opt_p (t) + && TREE_ADDRESSABLE (TREE_TYPE (lhsop))) { struct constraint_expr lhs; struct constraint_expr *rhsp; so can you test the latter on your app? I'm giving it IPA PTA + LTO bootst= rap testing. >>From gcc-bugs-return-523125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 12:33:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8151 invoked by alias); 25 Apr 2016 12:33:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7978 invoked by uid 48); 25 Apr 2016 12:33:42 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70697] ICE on EVENT WAIT with array element UNTIL_COUNT argument Date: Mon, 25 Apr 2016 12:33: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02338.txt.bz2 Content-length: 790 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70697 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-25 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres --- Confirmed from 5.3.1 up to trunk (7.0). 5.3.0 gives the errors pr70697.f90:3:18: type(event_type) done[*] 1 Error: Derived type 'event_type' at (1) is being used before it is defined pr70697.f90:4:2: event wait(done,until_count=3Dnc(1)) 1 Error: Unclassifiable statement at (1) >>From gcc-bugs-return-523126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 12:36:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11112 invoked by alias); 25 Apr 2016 12:36:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10982 invoked by uid 48); 25 Apr 2016 12:36:02 -0000 From: "david.abdurachmanov at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70760] [6/7 regression] wrong generated code for std::make_unique with -fipa-pta Date: Mon, 25 Apr 2016 12:36: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: david.abdurachmanov at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02339.txt.bz2 Content-length: 226 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 --- Comment #4 from David Abdurachmanov --- I will test the second patch. Will take a few hours (it's millions of lines= in C++). >>From gcc-bugs-return-523127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 12:42:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47031 invoked by alias); 25 Apr 2016 12:42:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46854 invoked by uid 55); 25 Apr 2016 12:42:16 -0000 From: "hjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70454] --with-arch=native isn't applied to 32-bit x86 target library Date: Mon, 25 Apr 2016 12:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02340.txt.bz2 Content-length: 576 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70454 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 25 12:41:43 2016 New Revision: 235411 URL: https://gcc.gnu.org/viewcvs?rev=3D235411&root=3Dgcc&view=3Drev Log: Revert the last change in libatomic Need to properly check if -march=3Di486 is really needed for -m32 build of libatomic on Linux/x86 and Linux/x86-64. PR target/70454 * configure.tgt (XCFLAGS): Revert the last change. Modified: trunk/libatomic/ChangeLog trunk/libatomic/configure.tgt >>From gcc-bugs-return-523128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 12:55:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95009 invoked by alias); 25 Apr 2016 12:55:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94845 invoked by uid 48); 25 Apr 2016 12:55:40 -0000 From: "niva at niisi dot msk.ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/16358] -Wno-system-headers hides warning caused by user header vs system header conflict Date: Mon, 25 Apr 2016 12:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 3.2.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: niva at niisi dot msk.ru X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02341.txt.bz2 Content-length: 275 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D16358 --- Comment #11 from niva at niisi dot msk.ru --- (in reply to Martin Sebor in comment #10) Implementation of -Wmacro-redefined (with possibility of turning this warni= ng to error) would solve the problem of our users. >>From gcc-bugs-return-523129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 12:56:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96347 invoked by alias); 25 Apr 2016 12:56:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95146 invoked by uid 55); 25 Apr 2016 12:55:54 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70760] [6/7 regression] wrong generated code for std::make_unique with -fipa-pta Date: Mon, 25 Apr 2016 12: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02342.txt.bz2 Content-length: 708 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 --- Comment #5 from rguenther at suse dot de --- On Mon, 25 Apr 2016, david.abdurachmanov at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 >=20 > --- Comment #4 from David Abdurachmanov --- > I will test the second patch. Will take a few hours (it's millions of lin= es in > C++). Thanks. Just in case also test the first variant - the second (not sure what unpatched GCC does) runs into a miscompile when LTO bootstrapping with IPA PTA enabled. This all looks a bit fishy (and I failed to create a small testcase even though I tried for half an hour) >>From gcc-bugs-return-523130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 13:04:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16017 invoked by alias); 25 Apr 2016 13:04:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9220 invoked by uid 48); 25 Apr 2016 13:04:04 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure Date: Mon, 25 Apr 2016 13:04: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: 6.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02343.txt.bz2 Content-length: 932 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70704 --- Comment #45 from Jakub Jelinek --- I don't think M4 env var should make a difference in this case, in the rele= ase tarballs the gengtype-lex.c file is already built (on x86_64-linux) and not= hing should be changing that. That said, I've managed to reproduce the miscompare on build/ggc-none.o as = an example of very small source file, even with -g0. But it looks really weir= d. First of all, it seems that the system g++ 4.8 and g++ 6.1-rc2 is probably = ABI incompatible, at least my attempts to mix stage1 and stage2 objects into the same binary failed miserably. I've rebuilt stage2-gcc/ cc1plus with CXXFLAGS=3D'-g -O0', thus most if not all *.o files linked into it should be (like in stage1) built without optimizations, and still see the differences. Trying to find out where the differences start now using parallel gdb sessi= ons. >>From gcc-bugs-return-523131-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 13:21:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107977 invoked by alias); 25 Apr 2016 13:21:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107807 invoked by uid 48); 25 Apr 2016 13:21:23 -0000 From: "david.abdurachmanov at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70760] [6/7 regression] wrong generated code for std::make_unique with -fipa-pta Date: Mon, 25 Apr 2016 13:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: david.abdurachmanov at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02344.txt.bz2 Content-length: 188 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 --- Comment #6 from David Abdurachmanov --- Will do, results will be late today or tomorrow. >>From gcc-bugs-return-523133-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 13:22:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110446 invoked by alias); 25 Apr 2016 13:22:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110379 invoked by uid 48); 25 Apr 2016 13:22:36 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/67784] Incorrect parsing when using declarations in for loops and typedefs Date: Mon, 25 Apr 2016 13: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02346.txt.bz2 Content-length: 166 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67784 --- Comment #10 from Marek Polacek --- Sorry about that. I'll have another look. >>From gcc-bugs-return-523132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 13:22:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109250 invoked by alias); 25 Apr 2016 13:22:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109040 invoked by uid 48); 25 Apr 2016 13:22:10 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70760] [6/7 regression] wrong generated code for std::make_unique with -fipa-pta Date: Mon, 25 Apr 2016 13:22: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02345.txt.bz2 Content-length: 1667 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 --- Comment #7 from Richard Biener --- It looks to me we are using the wrong predicates but maybe the GIMPLE side = is somewhat disconnected here. Index: gcc/tree-ssa-structalias.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/tree-ssa-structalias.c (revision 235404) +++ gcc/tree-ssa-structalias.c (working copy) @@ -4642,9 +4642,7 @@ find_func_aliases_for_call (struct funct get_constraint_for (lhsop, &lhsc); rhs =3D get_function_part_constraint (fi, fi_result); - if (fndecl - && DECL_RESULT (fndecl) - && DECL_BY_REFERENCE (DECL_RESULT (fndecl))) + if (aggregate_value_p (lhsop, gimple_call_fntype (t))) { auto_vec tem; tem.quick_push (rhs); @@ -4658,9 +4656,7 @@ find_func_aliases_for_call (struct funct /* If we pass the result decl by reference, honor that. */ if (lhsop - && fndecl - && DECL_RESULT (fndecl) - && DECL_BY_REFERENCE (DECL_RESULT (fndecl))) + && aggregate_value_p (lhsop, gimple_call_fntype (t))) { struct constraint_expr lhs; struct constraint_expr *rhsp; looks correct to me and would also work for indirect calls (though those are probably "safe" because we don't optimize them very well as we think having its address taken makes optimization not possible - sth where IPA PTA needs to be improved). >>From gcc-bugs-return-523135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 13:23:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112993 invoked by alias); 25 Apr 2016 13:23:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111900 invoked by uid 48); 25 Apr 2016 13:23:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70785] LTO bootstrap with IPA PTA is broken Date: Mon, 25 Apr 2016 13:23: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: 6.0 X-Bugzilla-Keywords: lto, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02348.txt.bz2 Content-length: 569 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70785 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-04-25 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Mine. >>From gcc-bugs-return-523134-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 13:23:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111634 invoked by alias); 25 Apr 2016 13:23:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111340 invoked by uid 48); 25 Apr 2016 13:23:03 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70785] New: LTO bootstrap with IPA PTA is broken Date: Mon, 25 Apr 2016 13:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: lto, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02347.txt.bz2 Content-length: 481 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70785 Bug ID: 70785 Summary: LTO bootstrap with IPA PTA is broken Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: lto, wrong-code Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- gen* in stage2 are miscompiled. >>From gcc-bugs-return-523136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 13:31:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9251 invoked by alias); 25 Apr 2016 13:31:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8144 invoked by uid 48); 25 Apr 2016 13:31:05 -0000 From: "david.abdurachmanov at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70760] [6/7 regression] wrong generated code for std::make_unique with -fipa-pta Date: Mon, 25 Apr 2016 13:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: david.abdurachmanov at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02349.txt.bz2 Content-length: 269 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 --- Comment #8 from David Abdurachmanov --- Should I continue testing the 2nd patch, or dump whatever is currently built and restart with the patch from your latest comment? >>From gcc-bugs-return-523137-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 13:32:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10840 invoked by alias); 25 Apr 2016 13:32:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10638 invoked by uid 48); 25 Apr 2016 13:32:03 -0000 From: "kyukhin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68030] Redundant address calculations in vectorized loop Date: Mon, 25 Apr 2016 13:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kyukhin 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02350.txt.bz2 Content-length: 454 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68030 Kirill Yukhin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amker.cheng at gmail dot c= om --- Comment #4 from Kirill Yukhin --- Hello Bin, Is it possible to handle the issue using current ivopt? >>From gcc-bugs-return-523138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 13:36:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64117 invoked by alias); 25 Apr 2016 13:36:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59423 invoked by uid 48); 25 Apr 2016 13:36:01 -0000 From: "ktamp at chem dot uoa.gr" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70786] New: Missing "not" breaks Ada.Text_IO.Get_Immediate(File, Item, Available) Date: Mon, 25 Apr 2016 13:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktamp at chem dot uoa.gr 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02351.txt.bz2 Content-length: 1199 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70786 Bug ID: 70786 Summary: Missing "not" breaks Ada.Text_IO.Get_Immediate(File, Item, Available) Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: ktamp at chem dot uoa.gr Target Milestone: --- OS: Arch Linux x64 GCC version: 5.3.0 Missing "not" in line #671 of a-textio.adb causes Get_Immediate(File, Item, Available) to throw an exception when key "[" is pressed. This also affects processing of keypresses when function keys F5 to F12 are pressed. Get_Immediate(File, Item) does not have the same issue because "not" is the= re (line #611): "(if not Is_Start_Of_Encoding (Character'Val (ch), File.WC_Method)" Example code (run and press e.g. key F12): with Ada.Text_IO; use Ada.Text_IO; procedure Test is C : Character; Available : Boolean; begin Get_Immediate (C); loop Put (Integer'Image (Character'Pos (C))); Get_Immediate (C, Available); exit when not Available; end loop; end Test; >>From gcc-bugs-return-523139-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 13:44:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88662 invoked by alias); 25 Apr 2016 13:44:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87798 invoked by uid 48); 25 Apr 2016 13:44:32 -0000 From: "vogt at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/70787] New: No time and child info with -pg and gccgo Date: Mon, 25 Apr 2016 13:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vogt at linux dot vnet.ibm.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02352.txt.bz2 Content-length: 1727 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70787 Bug ID: 70787 Summary: No time and child info with -pg and gccgo Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: vogt at linux dot vnet.ibm.com CC: cmang at google dot com, krebbel at gcc dot gnu.org Target Milestone: --- It looks like the -pg option does something wrong for Go programs. Example: This program just wastes time in sub functions: -- main.go -- package main func foo () { var i int i =3D 0 for (i < 1000) { i++ } } func bar () { var i int i =3D 0 for (i < 1000) { i++ } } func main () { var i int i =3D 0 for (i < 1000000) { foo(); foo(); bar(); i++ } } -- snip -- $ gccgo -pg -O0 main.go $ ./a.out $ prof ./a.out gmoun.out=20 =3D> index % time self children called name 0.00 0.00 3000000/3000000 main.main [8] [1] 0.0 0.00 0.00 3000000 frame_dummy [1] ^^^ ^^^^ ^^^^ (actual run time was about 5 seconds) Even for this very simple program without Go library dependencies, no timing information seems to be dumped into the gmon.out file. Function calls have= all been counted in the "frame_dummy" bucket (double checked that functios have= not been inlied). My vague first guess is that maybe the timing information is written to to = some place in memory but is read from a different place when generating gmon.out because the profiling code is not aware of Gccgo's threading model(?). >>From gcc-bugs-return-523140-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 13:50:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95218 invoked by alias); 25 Apr 2016 13:50:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95090 invoked by uid 48); 25 Apr 2016 13:50:13 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68030] Redundant address calculations in vectorized loop Date: Mon, 25 Apr 2016 13:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02353.txt.bz2 Content-length: 880 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68030 amker at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amker at gcc dot gnu.org --- Comment #5 from amker at gcc dot gnu.org --- (In reply to Kirill Yukhin from comment #4) > Hello Bin, > Is it possible to handle the issue using current ivopt? Not yet I think. IIUC, this is the same issue as PR69710. We need to teach vectorizer about CSE opportunities. I had a scratch patch fixing it in a w= ay just as mentioned in #comment2, I will revisit it after work on if-conversi= on.=20 According to Richard's comment, I may need to make it a general fix, for example, share this facility among different optimizers that need to insert code in pre-header. Thanks. >>From gcc-bugs-return-523141-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 13:54:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100413 invoked by alias); 25 Apr 2016 13:54:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100278 invoked by uid 48); 25 Apr 2016 13:54:18 -0000 From: "vogt at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/70787] No time and child info with -pg and gccgo Date: Mon, 25 Apr 2016 13:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vogt at linux dot vnet.ibm.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02354.txt.bz2 Content-length: 291 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70787 --- Comment #1 from Dominik Vogt --- (I've also tried setting GMON_OUT_PREFIX so that the gmon.out file does not= get overwritten by different threads, but in either case only one dump file is created.) >>From gcc-bugs-return-523142-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 14:12:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121483 invoked by alias); 25 Apr 2016 14:12:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121283 invoked by uid 55); 25 Apr 2016 14:12:05 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70760] [6/7 regression] wrong generated code for std::make_unique with -fipa-pta Date: Mon, 25 Apr 2016 14:12: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02355.txt.bz2 Content-length: 595 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 --- Comment #9 from rguenther at suse dot de --- On Mon, 25 Apr 2016, david.abdurachmanov at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 >=20 > --- Comment #8 from David Abdurachmanov --- > Should I continue testing the 2nd patch, or dump whatever is currently bu= ilt > and restart with the patch from your latest comment? I think the patch from the last comment is most correct, the 2nd is wrong. The first one is safest at this point. >>From gcc-bugs-return-523143-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 14:13:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124700 invoked by alias); 25 Apr 2016 14:13:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124554 invoked by uid 48); 25 Apr 2016 14:13:05 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure Date: Mon, 25 Apr 2016 14:13: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: 6.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02356.txt.bz2 Content-length: 839 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70704 --- Comment #46 from Jakub Jelinek --- So, my current thinking is that this is related to make -jN bootstrap doing stage1 checking by default. Guess with --enable-stage1-checking=3Drelease it would bootstrap fine, but haven't verified that. But, what I see is that if I build build/ggc-none.o with stage1 cc1plus with additional -fno-checking -g0, the result is the same as when it is built wi= th stage2 cc1plus -g0, and similarly if it is built with stage1 cc1plus with -= g0, the result is the same when it is built with stage2 cc1plus -g0 -fchecking. I've applied the https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70594#c20 h= ack (only the tree.c part of it) and I can see that with -fchecking there are different DECL_UIDs (more of them too) created. >>From gcc-bugs-return-523144-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 14:34:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97850 invoked by alias); 25 Apr 2016 14:34:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97604 invoked by uid 55); 25 Apr 2016 14:34:12 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/32667] block copy with exact overlap is expanded as memcpy Date: Mon, 25 Apr 2016 14:34: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.2.0 X-Bugzilla-Keywords: wrong-code 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02357.txt.bz2 Content-length: 1134 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D32667 --- Comment #15 from joseph at codesourcery dot com --- On Sun, 24 Apr 2016, lopresti at gmail dot com wrote: > That said, this is clearly a real bug in GCC. memcpy has a well-defined > interface; GCC emits calls violating that interface; therefore GCC is bug= gy. I > do not see why this is even controversial. (Also see Julian Seward's > description of real-world problems in comment 5.) As far as I know, that does not describe real-world problems on any target= =20 supported by GCC. > GCC either needs to provide its own mempcy or it needs to respect the > interface. The cost of the latter is surely trivial, especially since many > cases could be optimized by alias analysis. Or it could simply document an additional requirement on the C library=20 used with GCC (that the case of exact overlap works), just as it documents= =20 the requirement that some functions such as memcpy be provided even in the= =20 freestanding case. The compiler and library implementations need to=20 cooperate to produce a conforming C implementation. >>From gcc-bugs-return-523145-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 14:37:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120022 invoked by alias); 25 Apr 2016 14:37:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119586 invoked by uid 48); 25 Apr 2016 14:37:25 -0000 From: "rogero at howzatt dot demon.co.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70712] False positive from AddressSanitizer with use of 'alignas' Date: Mon, 25 Apr 2016 14: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rogero at howzatt dot demon.co.uk X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02358.txt.bz2 Content-length: 239 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70712 --- Comment #5 from Roger Orr --- Thank you. I can confirm that the fix also resolves the original problem from which I derived the sample program. >>From gcc-bugs-return-523146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 14:46:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14314 invoked by alias); 25 Apr 2016 14:46:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14219 invoked by uid 48); 25 Apr 2016 14:46:12 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70788] New: LaTeX formulae in doxygen comments should be suppressed in man-page output Date: Mon, 25 Apr 2016 14:46: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: 7.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: minor 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02359.txt.bz2 Content-length: 662 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70788 Bug ID: 70788 Summary: LaTeX formulae in doxygen comments should be suppressed in man-page output Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: documentation Severity: minor Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- Doxygen's formula support only works for HTML and LaTeX output, so the generated man pages contain garbled LaTeX such as "x_{i+1}tarrow(ax_{i} + c= ) d ]" >>From gcc-bugs-return-523147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 14:48:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18959 invoked by alias); 25 Apr 2016 14:48:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17539 invoked by uid 48); 25 Apr 2016 14:47:57 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70788] LaTeX formulae in doxygen comments should be suppressed in man-page output Date: Mon, 25 Apr 2016 14:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: minor X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02360.txt.bz2 Content-length: 3941 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70788 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-25 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely --- Errors from the Debian package include several due to this issue: usr/share/man/man3/__gnu_cxx.3cxx.gz 1319: a space character is not all= owed in an escape name usr/share/man/man3/__gnu_debug::_Safe_unordered_container_base.3cxx.gz = 111: warning [p 2, 2.2i]: can't break line usr/share/man/man3/__gnu_parallel.3cxx.gz 2415: warning: numeric expres= sion expected (got `r') =20=20=20 usr/share/man/man3/__gnu_pbds::detail::left_child_next_sibling_heap_const_i= terator_.3cxx.gz 11: warning [p 1, 1.8i]: can't break line =20=20=20 usr/share/man/man3/__gnu_pbds::detail::left_child_next_sibling_heap_node_po= int_const_iterator_.3cxx.gz 5: warning [p 1, 0.8i]: can't break line usr/share/man/man3/std::_Hashtable.3cxx.gz 211: warning [p 2, 7.2i]: ca= n't break line usr/share/man/man3/std::__debug::map.3cxx.gz 200: warning [p 2, 4.8i]: can't break line usr/share/man/man3/std::__debug::multimap.3cxx.gz 200: warning [p 2, 5.= 0i]: can't break line usr/share/man/man3/std::__debug::unordered_map.3cxx.gz 209: warning [p = 2, 6.3i]: can't break line usr/share/man/man3/std::__debug::unordered_multimap.3cxx.gz 209: warnin= g [p 2, 6.7i]: can't break line usr/share/man/man3/std::__profile::map.3cxx.gz 182: warning [p 2, 4.0i]: can't break line usr/share/man/man3/std::__profile::multimap.3cxx.gz 176: warning [p 2, 3.7i]: can't break line usr/share/man/man3/std::__profile::unordered_map.3cxx.gz 119: warning [= p 2, 0.0i]: can't break line usr/share/man/man3/std::__profile::unordered_multimap.3cxx.gz 116: warn= ing [p 2, 0.0i]: can't break line usr/share/man/man3/std::error_condition.3cxx.gz 17: warning [p 1, 2.0i]: can't break line usr/share/man/man3/std::exponential_distribution.3cxx.gz 30: warning: numeric expression expected (got `m') usr/share/man/man3/std::extreme_value_distribution.3cxx.gz 94: a space character is not allowed in an escape name usr/share/man/man3/std::fisher_f_distribution.3cxx.gz 103: a space character is not allowed in an escape name usr/share/man/man3/std::gamma_distribution.3cxx.gz 30: normal or special character expected (got `\&') usr/share/man/man3/std::linear_congruential_engine.3cxx.gz 97: a space character is not allowed in an escape name usr/share/man/man3/std::lognormal_distribution.3cxx.gz 99: a space character is not allowed in an escape name usr/share/man/man3/std::map.3cxx.gz 179: warning [p 2, 4.7i]: can't bre= ak line usr/share/man/man3/std::multimap.3cxx.gz 172: warning [p 2, 4.2i]: can't break line usr/share/man/man3/std::normal_distribution.3cxx.gz 102: a space charac= ter is not allowed in an escape name usr/share/man/man3/std::queue.3cxx.gz 197: warning: macro `c'' not defi= ned usr/share/man/man3/std::regex_iterator.3cxx.gz 42: warning [p 1, 4.0i]: can't break line usr/share/man/man3/std::regex_token_iterator.3cxx.gz 51: warning [p 1, 5.8i]: can't break line usr/share/man/man3/std::student_t_distribution.3cxx.gz 100: a space character is not allowed in an escape name usr/share/man/man3/std::subtract_with_carry_engine.3cxx.gz 99: a space character is not allowed in an escape name usr/share/man/man3/std::unordered_map.3cxx.gz 306: warning [p 3, 6.0i]: can't break line usr/share/man/man3/std::unordered_multimap.3cxx.gz 306: warning [p 3, 6.8i]: can't break line usr/share/man/man3/std::weibull_distribution.3cxx.gz 94: a space charac= ter is not allowed in an escape name >>From gcc-bugs-return-523148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 14:52:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28489 invoked by alias); 25 Apr 2016 14:52:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28328 invoked by uid 48); 25 Apr 2016 14:52:23 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure Date: Mon, 25 Apr 2016 14:52: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: 6.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02361.txt.bz2 Content-length: 3961 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70704 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #47 from Jakub Jelinek --- So, I believe it is the: /* When checking, try to get a constant value for all non-dependent expressions in order to expose bugs in *_dependent_expression_p and constexpr. */ if (flag_checking && cxx_dialect >=3D cxx11 /* Don't do this during nsdmi parsing as it can lead to unexpected recursive instantiations. */ && !parsing_nsdmi ()) fold_non_dependent_expr (expr); hunk in cp/pt.c (build_nondependent_expr), which results both in some extra DECL_UIDs being created (in theory it could be fine), but also in funcdef_no differences etc.: #0 _Z24allocate_struct_functionP9tree_nodeb (fndecl=3D0x7061b280, abstract_p=3Dfalse) at /home/dje/src/gcc-6.0.1-RC2/gcc/function.c:4874 #1 0x10070e60 in _Z24start_preparsed_functionP9tree_nodeS0_i (decl1=3D0x7061b280, attrs=3D0x0, flags=3D1) at /home/dje/src/gcc-6.0.1-RC2/gcc/cp/decl.c:14059 #2 0x105feb9c in _Z16instantiate_declP9tree_nodeib (d=3D0x7061b280, defer_= ok=3D0, expl_inst_class_mem_p=3Dfalse) at /home/dje/src/gcc-6.0.1-RC2/gcc/cp/pt.c:21969 #3 0x1094fd38 in _Z9mark_usedP9tree_nodei (decl=3D0x7061b280, complain=3D0= ) at /home/dje/src/gcc-6.0.1-RC2/gcc/cp/decl2.c:5273 #4 0x1023262c in _ZL15build_over_callP11z_candidateii (cand=3D0x306323c0, flags=3D262145, complain=3D0) at /home/dje/src/gcc-6.0.1-RC2/gcc/cp/call.c:7707 #5 0x10221f8c in _Z23build_new_function_callP9tree_nodePP3vecIS0_5va_gc8vl_embedEbi (fn=3D0x7045e468, args=3D0x2ff200f0, koenig_p=3Dfalse, complain=3D0) at /home/dje/src/gcc-6.0.1-RC2/gcc/cp/call.c:4152 #6 0x100dba64 in _Z16finish_call_exprP9tree_nodePP3vecIS0_5va_gc8vl_embedE= bbi (fn=3D0x7045e468, args=3D0x2ff200f0, disallow_virtual=3Dfalse,=20 koenig_p=3Dfalse, complain=3D0) at /home/dje/src/gcc-6.0.1-RC2/gcc/cp/semantics.c:2461 #7 0x105e30ac in _Z21tsubst_copy_and_buildP9tree_nodeS0_iS0_bb (t=3D0x7061= e180, args=3D0x0, complain=3D0, in_decl=3D0x0, function_p=3Dfalse,=20 integral_constant_expression_p=3Dtrue) at /home/dje/src/gcc-6.0.1-RC2/gcc/cp/pt.c:16629 #8 0x105a4bf8 in _Z39instantiate_non_dependent_expr_internalP9tree_nodei (expr=3D0x7061e180, complain=3D0) at /home/dje/src/gcc-6.0.1-RC2/gcc/cp/pt.c:5640 #9 0x114c1278 in _Z23fold_non_dependent_exprP9tree_node (t=3D0x7061e180) at /home/dje/src/gcc-6.0.1-RC2/gcc/cp/constexpr.c:4388 #10 0x10606e08 in _Z24build_non_dependent_exprP9tree_node (expr=3D0x7061e18= 0) at /home/dje/src/gcc-6.0.1-RC2/gcc/cp/pt.c:23631 As stage1 is built with the default --enable-stage1-checking, the result between stage1 and stage2 auto-host.h is: CHECKING_P, ENABLE_GC_CHECKING, ENABLE_GIMPLE_CHECKING, ENABLE_RTL_FLAG_CHECKING, ENABLE_TREE_CHECKING, ENABLE_TYPES_CHECKING, and allocate_struct_function allocates a new cfun->funcdef_no, which is then emitted in the LFB..*/LFE..* labels, seems to affect the debug info (which = on AIX is emitted in both stage2 and stage3) etc. Additionally, wonder if retrieve_specialization's if (flag_checking) verify_unstripped_args (args); couldn't also affect bootstrap, but haven't seen that during bootstrap. The question is what to do, comment out the fold_non_dependent_expr stuff altogether on the release branch (at least temporarily), guard with some ot= her option (which unlike -fchecking would be documented to possibly affect code generation and which would be based on some other configure checking flag (= and the default for that flag would be always the same between stage1 and later stages), something different? I'm in any case starting a bootstrap now with the fold_non_dependent_expr c= all commented out. >>From gcc-bugs-return-523149-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 16:12:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34651 invoked by alias); 25 Apr 2016 16:12:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34137 invoked by uid 48); 25 Apr 2016 16:12:25 -0000 From: "lopresti at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/32667] block copy with exact overlap is expanded as memcpy Date: Mon, 25 Apr 2016 16:12: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.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: lopresti 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02362.txt.bz2 Content-length: 469 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D32667 --- Comment #16 from Patrick J. LoPresti --- Well, Valgrind itself is another real-world example. Tools like Valgrind ca= nnot distinguish invalid memcpy() calls by the programmer from invalid memcpy() calls emitted by GCC. You can, of course, redefine every standard interface you like and simply document it. That would be awful engineering -- as in this case -- but you could do it. >>From gcc-bugs-return-523150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 16:54:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31658 invoked by alias); 25 Apr 2016 16:54:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31442 invoked by uid 48); 25 Apr 2016 16:53:59 -0000 From: "aurelien at aurel32 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68273] [5/6/7 Regression] Wrong code on mips/mipsel due to (invalid?) peeking at alignments in function_arg. Date: Mon, 25 Apr 2016 16:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: ABI, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: aurelien at aurel32 dot net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02363.txt.bz2 Content-length: 513 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68273 --- Comment #33 from Aurelien Jarno --- (In reply to Hector Oron from comment #32) > (In reply to Richard Biener from comment #31) > > eipa_sra introduces the remaining SSA name with non-default alignment v= ia >=20 > [PATCH] >=20 For the record, Debian now have the patch from comment #32 in its version of GCC 5 and 6. This fixes a few more issues than reported here, in addition to graphviz, it also fixes subversion and jq. >>From gcc-bugs-return-523151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 17:33:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 131029 invoked by alias); 25 Apr 2016 17:33:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88412 invoked by uid 48); 25 Apr 2016 17:33:36 -0000 From: "tower120 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67247] ICE on std::forward args&& inside nested lambda function Date: Mon, 25 Apr 2016 17:33: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.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tower120 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: cf_known_to_work Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02364.txt.bz2 Content-length: 875 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67247 tower120 changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |6.0 --- Comment #4 from tower120 --- Reduced case [Forwarding captured variadic arguments inside lambda] : https://godbolt.org/g/D7lXEA template int g(T... t) { return 0; } template void f(Args&&... args) {=20=20=20=20 auto lm =3D [&](auto&&..._args) {=20 auto f =3D [&]{g(std::forward(_args)...);}; //auto f =3D [&]{g(_args...);}; /* THIS ONE OK */ return f();=20 }; lm(args...); } int main() { f(2, 5, 7); } Error "_args was not declared" on 4.9.x ICE on 5.x Ok on 6.x >>From gcc-bugs-return-523152-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 17:36:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124525 invoked by alias); 25 Apr 2016 17:36:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123132 invoked by uid 48); 25 Apr 2016 17:36:33 -0000 From: "bernds at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70789] New: cilk test fib-tplt.cc occasionally fails Date: Mon, 25 Apr 2016 17:36: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.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bernds 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 cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02365.txt.bz2 Content-length: 1121 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70789 Bug ID: 70789 Summary: cilk test fib-tplt.cc occasionally fails Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bernds at gcc dot gnu.org Target Milestone: --- Target: x86_64-pc-linux-gnu I've had a test run fail with FAIL: g++.dg/cilk-plus/CK/fib-tplt.cc -g -fcilkplus execution test This was while testing the -m32 variant. I've let the test run in a loop fo= r a few hours, and it seems to fail sporadically with a segfault, almost certai= nly not because of the fairly harmless patch I was testing. I've tried to load = the coredump into gdb, unfortunately it's not very informative. (gdb) bt #0 0x00001c46 in ?? () #1 0xf76d3587 in ?? () #2 0xf76d3347 in ?? () #3 0x00000000 in ?? () Tagging it as wrong-code although I'm not sure whether the testcase is vali= d. We seem not to have a libcilkrts component. >>From gcc-bugs-return-523153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 17:44:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61227 invoked by alias); 25 Apr 2016 17:44:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59528 invoked by uid 48); 25 Apr 2016 17:44:12 -0000 From: "lolisamurai at waifu dot club" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/12245] [4.9/5/6/7 regression] Uses lots of memory when compiling large initialized arrays Date: Mon, 25 Apr 2016 17:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 3.3.1 X-Bugzilla-Keywords: memory-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: lolisamurai at waifu dot club 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: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02366.txt.bz2 Content-length: 507 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D12245 Franc[e]sco changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lolisamurai at waifu dot c= lub --- Comment #59 from Franc[e]sco --- I can confirm this still happens in gcc 4.9.3 (gentoo linux, amd64), here's= an example: https://ideone.com/J699eJ >>From gcc-bugs-return-523154-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 18:24:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104588 invoked by alias); 25 Apr 2016 18:24:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 104420 invoked by uid 48); 25 Apr 2016 18:23:48 -0000 From: "dje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure Date: Mon, 25 Apr 2016 18:24: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02367.txt.bz2 Content-length: 248 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70704 --- Comment #48 from David Edelsohn --- Commenting out the fold_non_dependent_expr call seems to work for me using = the build method that regularly was failing before. >>From gcc-bugs-return-523155-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 19:13:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95361 invoked by alias); 25 Apr 2016 19:13:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95205 invoked by uid 48); 25 Apr 2016 19:13:22 -0000 From: "dje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure Date: Mon, 25 Apr 2016 19:13: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02368.txt.bz2 Content-length: 254 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70704 --- Comment #49 from David Edelsohn --- Can we add some testcases to ensure that -fchecking and similar flags don't accidentally affect code generation due to future changes? >>From gcc-bugs-return-523156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 19:15:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111939 invoked by alias); 25 Apr 2016 19:15:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108195 invoked by uid 48); 25 Apr 2016 19:15:17 -0000 From: "tulipawn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70773] Profiling makes sudoku solver slower Date: Mon, 25 Apr 2016 19:15: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: 5.3.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: tulipawn 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02369.txt.bz2 Content-length: 530 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70773 --- Comment #5 from PeteVine --- The issue seems to be purely about soft division. (I was either using no -m= cpu or -mcpu=3Dcortex-a5)=20=20 Compiling for e.g Cortex-A7, doesn't need to lower any library calls and ev= en though hardware division is not used in the vanilla case, it is after profiling.=20 The profiled binary even shows a benefit under qemu-arm so I can safely gue= ss the issue is non-existent when targeting similar ARM parts. >>From gcc-bugs-return-523157-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 19:27:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51734 invoked by alias); 25 Apr 2016 19:27:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51559 invoked by uid 48); 25 Apr 2016 19:27:18 -0000 From: "eric.niebler at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70790] New: Can't mangle noexcept expressions Date: Mon, 25 Apr 2016 19:27: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eric.niebler 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02370.txt.bz2 Content-length: 952 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70790 Bug ID: 70790 Summary: Can't mangle noexcept expressions Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: eric.niebler at gmail dot com Target Milestone: --- #include template void foo(T, typename std::enable_if())), int>::t= ype) { } int main() { foo(0,0); } Results in: Test.cpp: In instantiation of =E2=80=98void foo(T, typename std::enable_if<= noexcept ((T)(declval())), int>::type) [with T =3D int; typename std::enable_if())), int>::type =3D int]=E2=80=99: Test.cpp:19:6: sorry, unimplemented: mangling noexcept_expr void foo(T, typename std::enable_if())), int>::type) ^ >>From gcc-bugs-return-523158-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 19:42:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96454 invoked by alias); 25 Apr 2016 19:42:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96131 invoked by uid 55); 25 Apr 2016 19:42:32 -0000 From: "ch3root at openwall dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/32667] block copy with exact overlap is expanded as memcpy Date: Mon, 25 Apr 2016 19:42: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.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ch3root at openwall 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02371.txt.bz2 Content-length: 1493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D32667 --- Comment #17 from Alexander Cherepanov --- On 2016-04-25 17:34, joseph at codesourcery dot com wrote: > Or it could simply document an additional requirement on the C library > used with GCC (that the case of exact overlap works), just as it documents > the requirement that some functions such as memcpy be provided even in the > freestanding case. The compiler and library implementations need to > cooperate to produce a conforming C implementation. 1. Is glibc community ready to provide such guarantee? The doc[1]=20 doesn't currently mention an exception for exact overlap. [1]=20 https://www.gnu.org/software/libc/manual/html_node/Copying-Strings-and-Arra= ys.html#index-memcpy 2. I agree that it should be documented. Together with the assumption=20 that memcpy doesn't clobber errno. 3. The decision affects the whole Free Software community. If memcpy=20 with exact overlap inserted be gcc are legitimized then users cannot use=20 tools like valgrind to catch such cases in their own code. (And neither=20 _FORTIFY_SOURCE nor UBSan seem to catch overlapping memcpy now.) So it=20 effectively leads to legitimizing such memcpy in user's code too. Making=20 memcpy closer to a simple assignment (C11, 6.5.16.1p3) could be a good=20 thing. Maybe even fix C std or POSIX? BTW llvm bug is here: https://llvm.org/bugs/show_bug.cgi?id=3D11763 . It=20 also contains links to valgrind discussions. >>From gcc-bugs-return-523159-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 20:06:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88354 invoked by alias); 25 Apr 2016 20:06:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87662 invoked by uid 48); 25 Apr 2016 20:05:48 -0000 From: "egall at gwmail dot gwu.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70791] New: -Wnested-externs prints inconsistent column number Date: Mon, 25 Apr 2016 20:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egall at gwmail dot gwu.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget cf_gccbuild Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02372.txt.bz2 Content-length: 3023 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70791 Bug ID: 70791 Summary: -Wnested-externs prints inconsistent column number Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: egall at gwmail dot gwu.edu Target Milestone: --- Host: i386-apple-darwin9.8.0 Target: i386-apple-darwin9.8.0 Build: i386-apple-darwin9.8.0 Say I have the following file: $ cat undeclared.c char *foo(char *); int bar(void) { char *baz =3D foo(UNDECLARED_MACRO("")); } When I compile it like this, gcc says: $ /usr/local/bin/gcc -c -Wimplicit -Wnested-externs -Wint-conversion undeclared.c undeclared.c: In function =E2=80=98bar=E2=80=99: undeclared.c:4:18: warning: implicit declaration of function =E2=80=98UNDEC= LARED_MACRO=E2=80=99 [-Wimplicit-function-declaration] char *baz =3D foo(UNDECLARED_MACRO("")); ^ undeclared.c:4:2: warning: nested extern declaration of =E2=80=98UNDECLARED= _MACRO=E2=80=99 [-Wnested-externs] char *baz =3D foo(UNDECLARED_MACRO("")); ^ undeclared.c:4:18: warning: passing argument 1 of =E2=80=98foo=E2=80=99 mak= es pointer from integer without a cast [-Wint-conversion] char *baz =3D foo(UNDECLARED_MACRO("")); ^ undeclared.c:1:7: note: expected =E2=80=98char *=E2=80=99 but argument is o= f type =E2=80=98int=E2=80=99 char *foo(char *); ^ I would expect the warning from -Wnested-externs to point to the same colum= n as the other 2 warnings.=20 (Of course, ideally the 3 would be combined into a single warning, but that= 's a separate issue) My gcc version info: $ /usr/local/bin/gcc -v Using built-in specs. COLLECT_GCC=3D/usr/local/bin/gcc COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc/i386-apple-darwin9.8.0/6.0.0/l= to-wrapper Target: i386-apple-darwin9.8.0 Configured with: ../configure --disable-werror --enable-languages=3Dc,c++,lto,objc,obj-c++ --enable-stage1-checking=3Drele= ase -C --with-system-libunwind --enable-secureplt --enable-frame-pointer --enable-version-specific-runtime-libs --enable-assert --enable-fat --enable-portable-binary --enable-browser-plugin --enable-gconf-peer --enable-libgcj-debug --enable-gc-debug --enable-interpreter --enable-aot-compile-rpm --enable-java-home --with-x --enable-collections --enable-gstreamer-peer --enable-xmlj --enable-qt-peer --enable-debug --enable-local-sockets --without-isl --enable-objc-gc --enable-maintainer-m= ode --enable-host-shared CC=3D/usr/local/bin/gcc CXX=3D/usr/local/bin/g++ AUTOCONF=3D/usr/local/bin/autoconf AUTOHEADER=3D/usr/local/bin/autoheader AUTOM4TE=3D/usr/local/bin/autom4te AUTORECONF=3D/usr/local/bin/autoreconf AUTOSCAN=3D/usr/local/bin/autoscan AUTOUPDATE=3D/usr/local/bin/autoupdate IFNAMES=3D/usr/local/bin/ifnames Thread model: posix gcc version 6.0.0 20151007 (experimental) (GCC) >>From gcc-bugs-return-523160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 20:06:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90245 invoked by alias); 25 Apr 2016 20:06:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88833 invoked by uid 48); 25 Apr 2016 20:06:04 -0000 From: "lefticus at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70792] New: Incorrect sequence point warning with uniform initializer syntax Date: Mon, 25 Apr 2016 20:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lefticus 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02373.txt.bz2 Content-length: 2067 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70792 Bug ID: 70792 Summary: Incorrect sequence point warning with uniform initializer syntax Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lefticus at gmail dot com Target Milestone: --- The following code: #include struct Do_Call { template Do_Call(const Func &f, T && ... t) { f(std::forward(t)...); } }; int main() { const auto sum =3D [](int w, int x, int y, int z) { return w + x + y + z; }; int i =3D 0; Do_Call{sum, ++i, ++i, ++i, ++i}; } Generates the -Wsequence-point warning for the variable 'i'. However, the standard states: "Within the initializer-list of a braced-init-list, the initializer-clauses, including any that result from pack expansions (14.5.3), are evaluated in t= he order in which they appear. That is, every value computation and side effect associated with a given initializer-clause is sequenced before every value computation and side effect associated with any initializer-clause that fol= lows it in the comma-separated list of the initializer-list. [Note: This evaluat= ion ordering holds regardless of the semantics of the initialization; for examp= le, it applies when the elements of the initializer-list are interpreted as arguments of a constructor call, even though ordinarily there are no sequen= cing constraints on the arguments of a call. =E2=80=94end note ]" The "Note: This evaluation ordering holds regardless of the semantics of the initialization; for example, it applies when the elements of the initializer-list are interpreted as arguments of a constructor call, even though ordinarily there are no sequencing constraints on the arguments of a call. =E2=80=94end note" is the most applicable to this bug report. This occurs in all versions tested between 4.7.3->6 >>From gcc-bugs-return-523161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 20:37:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105077 invoked by alias); 25 Apr 2016 20:37:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 104906 invoked by uid 48); 25 Apr 2016 20:37:35 -0000 From: "lefticus at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70792] Incorrect sequence point warning with uniform initializer syntax Date: Mon, 25 Apr 2016 20: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lefticus 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02374.txt.bz2 Content-length: 261 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70792 --- Comment #1 from Jason Turner --- Note: I tested this code further and the compiler seems to be generating incorrect code based on this standard, not just warning incorrectly. >>From gcc-bugs-return-523162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 20:39:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110854 invoked by alias); 25 Apr 2016 20:39:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110791 invoked by uid 48); 25 Apr 2016 20:39:13 -0000 From: "jpmarath at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70793] New: g++ does not accept some forms of "friend" declaration for builtin types Date: Mon, 25 Apr 2016 20:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jpmarath 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02375.txt.bz2 Content-length: 841 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70793 Bug ID: 70793 Summary: g++ does not accept some forms of "friend" declaration for builtin types Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jpmarath at gmail dot com Target Milestone: --- This fails to compile: struct S { friend short ; } s; with gcc 5.3.1, the reported error is (compile with -std=3Dc++14): --- 2 : error: friend declaration does not name a class or function friend short ; ^ Compilation failed --- The strange thing is that g++ accepts "friend short int;" : struct S { friend short int; } s; clang++ 3.8 accepts both forms. >>From gcc-bugs-return-523163-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 22:29:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4679 invoked by alias); 25 Apr 2016 22:29:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3545 invoked by uid 55); 25 Apr 2016 22:29:12 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70098] PowerPC64: eigen hits ICE following invalid register assignment Date: Mon, 25 Apr 2016 22:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02376.txt.bz2 Content-length: 1352 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70098 --- Comment #10 from Bill Schmidt --- Author: wschmidt Date: Mon Apr 25 22:28:36 2016 New Revision: 235423 URL: https://gcc.gnu.org/viewcvs?rev=3D235423&root=3Dgcc&view=3Drev Log: [gcc] 2016-04-25 Bill Schmidt Backport from mainline 2016-03-14 Segher Boessenkool PR target/70098 * config/rs6000/rs6000.md (*ctr_internal1, *ctr_interna= l2, *ctr_internal5, *ctr_internal6): Also allow "d" as outp= ut. (define_split for the GPR case): Use int_reg_operand instead of gpc_reg_operand for the output. [gcc/testsuite] 2016-04-25 Bill Schmidt Backport from mainline 2016-03-14 Segher Boessenkool PR target/70098 * lib/target-supports.exp (check_effective_target_powerpc64_no_dm): New function. * g++.dg/pr70098.C: New testcase. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/pr70098.C Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/rs6000/rs6000.md branches/gcc-5-branch/gcc/testsuite/ChangeLog branches/gcc-5-branch/gcc/testsuite/lib/target-supports.exp >>From gcc-bugs-return-523164-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 22:30:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7271 invoked by alias); 25 Apr 2016 22:30:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7094 invoked by uid 55); 25 Apr 2016 22:30:21 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70098] PowerPC64: eigen hits ICE following invalid register assignment Date: Mon, 25 Apr 2016 22:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02377.txt.bz2 Content-length: 1362 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70098 --- Comment #11 from Bill Schmidt --- Author: wschmidt Date: Mon Apr 25 22:29:49 2016 New Revision: 235424 URL: https://gcc.gnu.org/viewcvs?rev=3D235424&root=3Dgcc&view=3Drev Log: [gcc] 2016-04-25 Bill Schmidt Backport from mainline 2016-03-14 Segher Boessenkool PR target/70098 * config/rs6000/rs6000.md (*ctr_internal1, *ctr_interna= l2, *ctr_internal5, *ctr_internal6): Also allow "d" as outp= ut. (define_split for the GPR case): Use int_reg_operand instead of gpc_reg_operand for the output. [gcc/testsuite] 2016-04-25 Bill Schmidt Backport from mainline 2016-03-14 Segher Boessenkool PR target/70098 * lib/target-supports.exp (check_effective_target_powerpc64_no_dm): New function. * g++.dg/pr70098.C: New testcase. Added: branches/gcc-4_9-branch/gcc/testsuite/g++.dg/pr70098.C Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/config/rs6000/rs6000.md branches/gcc-4_9-branch/gcc/testsuite/ChangeLog branches/gcc-4_9-branch/gcc/testsuite/lib/target-supports.exp >>From gcc-bugs-return-523165-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 23:34:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97431 invoked by alias); 25 Apr 2016 23:34:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97248 invoked by uid 48); 25 Apr 2016 23:34:41 -0000 From: "lefticus at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70792] Incorrect sequence point warning with uniform initializer syntax Date: Mon, 25 Apr 2016 23:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lefticus 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02378.txt.bz2 Content-length: 374 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70792 --- Comment #2 from Jason Turner --- Follow up, this is a better test case that does not pass by && struct MyType { MyType(int i, int j, int k, int l) : sum(i + j + k + l) { } int sum; }; int main() { int i =3D 0; std::cout << MyType{ ++i, ++i, ++i, ++i }.sum << '\n'; } >>From gcc-bugs-return-523166-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 25 23:45:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1855 invoked by alias); 25 Apr 2016 23:45:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1401 invoked by uid 48); 25 Apr 2016 23:44:58 -0000 From: "numien at deathwyrm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70794] New: vector.push_back() crashes with std::bad_alloc after 2^32 calls Date: Mon, 25 Apr 2016 23:45: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: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: numien at deathwyrm dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02379.txt.bz2 Content-length: 978 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70794 Bug ID: 70794 Summary: vector.push_back() crashes with std::bad_alloc after 2^32 calls Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: minor Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: numien at deathwyrm dot com Target Milestone: --- Created attachment 38340 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38340&action=3Dedit Minimal test program Despite std::vector::max_size() returning 18446744073709551615, a test prog= ram to repeatedly call std::vector::push_back() crashes on the 4294967297th iteration with a std::bad_alloc exception. I am compiling in 64-bit mode, and my system should have plenty of memory. = The fact it's reaching exactly 2^32 indicates to me that it's likely a bug. The test program I used is attached. >>From gcc-bugs-return-523167-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 00:30:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60465 invoked by alias); 26 Apr 2016 00:30:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60271 invoked by uid 48); 26 Apr 2016 00:30:26 -0000 From: "danglin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70795] New: [7 Regression] gcc/libjava/interpret.cc:1948:1: ICE: in binds_to_current_def_p, at symtab.c:2232 Date: Tue, 26 Apr 2016 00:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget cf_gccbuild Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02380.txt.bz2 Content-length: 3116 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70795 Bug ID: 70795 Summary: [7 Regression] gcc/libjava/interpret.cc:1948:1: ICE: in binds_to_current_def_p, at symtab.c:2232 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa2.0w-hp-hpux11.11 Target: hppa2.0w-hp-hpux11.11 Build: hppa2.0w-hp-hpux11.11 libtool: compile: /test/gnu/gcc/objdir/./gcc/xgcc -shared-libgcc -B/test/gnu/gcc/objdir/./gcc -nostdinc++ -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc+ +-v3/src -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/libsupc++/.libs -B/opt/gnu/gcc/gcc-7/hppa2.0w-hp-hpux11.11/bin/ -B/opt/gnu/gcc/gcc-7/hppa2.0w-hp-hpux11.1 1/lib/ -isystem /opt/gnu/gcc/gcc-7/hppa2.0w-hp-hpux11.11/include -isystem /opt/gnu/gcc/gcc-7/hppa2.0w-hp-hpux11.11/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc/libjava -I./include -I./gcj -I../../../gcc/libjava -Iinclude -I../../../gcc/li bjava/include -I../../../gcc/libjava/classpath/include -Iclasspath/include -I../../../gcc/libjava/classpath/native/fdlibm -I../../../gcc/libjava/../boehm-gc/include -I../boehm-gc/include -I../../../gcc/libjava/libltdl -I../../../gcc/libjava /libltdl -I../../../gcc/libjava/.././libjava/../libgcc -I../../../gcc/libjava/../zlib -I../../../gcc/libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -pthread -fdollars-in-identifiers -Wswitch-enum -D_FILE_OFFSE T_BITS=3D64 -Wextra -Wall -D_GNU_SOURCE -DPREFIX=3D\"/opt/gnu/gcc/gcc-7\" -DTOOLEXEC LIBDIR=3D\"/opt/gnu/gcc/gcc-7/lib\" -DJAVA_HOME=3D\"/opt/gnu/gcc/gcc-7\" -DBOOT_CLAS S_PATH=3D\"/opt/gnu/gcc/gcc-7/share/java/libgcj-7.0.0.jar\" -DJAVA_EXT_DIRS=3D\"/opt /gnu/gcc/gcc-7/share/java/ext\" -DGCJ_ENDORSED_DIRS=3D\"/opt/gnu/gcc/gcc-7/share/j ava/gcj-endorsed\" -DGCJ_VERSIONED_LIBDIR=3D\"/opt/gnu/gcc/gcc-7/lib/gcj-7.0.0-17\ " -DPATH_SEPARATOR=3D\":\" -DECJ_JAR_FILE=3D\"\" -DLIBGCJ_DEFAULT_DATABASE=3D\"/opt/gn u/gcc/gcc-7/lib/gcj-7.0.0-17/classmap.db\" -DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=3D\ "gcj-7.0.0-17/classmap.db\" -fwrapv -g -O2 -MT interpret.lo -MD -MP -MF .deps/in terpret.Tpo -c ../../../gcc/libjava/interpret.cc -fPIC -DPIC -o .libs/interpret.o _GLOBAL__I_65535_0_.._.._.._gcc_libjava_interpret.cc_E29B42DF_0x4efdcb59/11= 00 () @7aeeb5e8 Type: function definition analyzed Visibility: force_output public artificial constructor References:=20 Referring:=20 Availability: available First run: 0 Function flags: body static_constructor (priority:65535) Called by:=20 Calls: _GLOBAL__sub_I_interpret.cc/861 (1.00 per call)=20 ../../../gcc/libjava/interpret.cc: In function '': ../../../gcc/libjava/interpret.cc:1948:1: internal compiler error: in binds_to_current_def_p, at symtab.c:2232 } ^ This is revision 235394. >>From gcc-bugs-return-523168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 03:25:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3420 invoked by alias); 26 Apr 2016 03:25:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3274 invoked by uid 48); 26 Apr 2016 03:25:31 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66561] __builtin_LINE at al. should yield constant expressions Date: Tue, 26 Apr 2016 03:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02381.txt.bz2 Content-length: 653 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66561 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-04-26 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot g= nu.org Ever confirmed|0 |1 Known to fail| |4.9.3, 5.3.0, 6.0 --- Comment #1 from Martin Sebor --- Working on a patch for GCC 7. >>From gcc-bugs-return-523169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 05:43:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 573 invoked by alias); 26 Apr 2016 05:43:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 411 invoked by uid 48); 26 Apr 2016 05:43:07 -0000 From: "rs2740 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70796] New: [DR 1030] Initialization order with braced-init-lists still broken Date: Tue, 26 Apr 2016 05:43: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rs2740 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02382.txt.bz2 Content-length: 874 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70796 Bug ID: 70796 Summary: [DR 1030] Initialization order with braced-init-lists still broken Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rs2740 at gmail dot com Target Milestone: --- The following modified test case (replacing postfix ++ with prefix and adjusting the expected values accordingly) from PR61382 still aborts on Wan= dbox (http://melpon.org/wandbox/permlink/IQojTl16DtIxCd2M) and also gives a bogus -Wsequence-point warning: struct A { int i,j; A(int i,int j):i(i),j(j){} }; int main() { int i =3D 0; A a{++i, ++i}; if (a.i !=3D 1 || a.j !=3D 2) __builtin_abort(); } >>From gcc-bugs-return-523170-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 06:10:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84682 invoked by alias); 26 Apr 2016 06:10:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83883 invoked by uid 55); 26 Apr 2016 06:09:19 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure Date: Tue, 26 Apr 2016 06:10: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: 6.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02383.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70704 --- Comment #50 from Jakub Jelinek --- Author: jakub Date: Tue Apr 26 06:08:20 2016 New Revision: 235429 URL: https://gcc.gnu.org/viewcvs?rev=3D235429&root=3Dgcc&view=3Drev Log: PR bootstrap/70704 * pt.c (build_non_dependent_expr): Temporarily disable flag_checking guarded code. Modified: branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/pt.c >>From gcc-bugs-return-523171-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 06:14:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89445 invoked by alias); 26 Apr 2016 06:14:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87893 invoked by uid 55); 26 Apr 2016 06:12:38 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure Date: Tue, 26 Apr 2016 06:14: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: 6.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02384.txt.bz2 Content-length: 1389 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70704 --- Comment #51 from Jakub Jelinek --- Author: jakub Date: Tue Apr 26 06:10:43 2016 New Revision: 235430 URL: https://gcc.gnu.org/viewcvs?rev=3D235430&root=3Dgcc&view=3Drev Log: PR bootstrap/70704 * configure.ac (--enable-stage1-checking): For --disable-checking or implicit --enable-checking, make sure extra flag matches in between stage1 and later checking. * configure: Regenerated. gcc/ * configure.ac (--enable-checking): Document extra flag, for non-release builds default to --enable-checking=3Dyes,extra. If misc checking and extra checking, define CHECKING_P to 2 instead of 1. * common.opt (fchecking=3D): Add. * doc/invoke.texi (-fchecking=3D): Document. * doc/install.texi: Document --enable-checking changes. * configure: Regenerated. * config.in: Regenerated. gcc/cp/ * pt.c (build_non_dependent_expr): Use flag_checking > 1 instead of just flag_checking. Modified: trunk/ChangeLog trunk/configure trunk/configure.ac trunk/gcc/ChangeLog trunk/gcc/common.opt trunk/gcc/config.in trunk/gcc/configure trunk/gcc/configure.ac trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/doc/install.texi trunk/gcc/doc/invoke.texi >>From gcc-bugs-return-523172-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 06:20:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107445 invoked by alias); 26 Apr 2016 06:20:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107092 invoked by uid 48); 26 Apr 2016 06:20:29 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure Date: Tue, 26 Apr 2016 06:20: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02385.txt.bz2 Content-length: 631 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70704 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #52 from Jakub Jelinek --- Fixed. As for adding testcases, that is not trivial, we'd need to add a new framework for that that would compile some tests both with -fchecking and -fno-checking, and strip/sanitize the result and compare that. >>From gcc-bugs-return-523173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 07:30:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106041 invoked by alias); 26 Apr 2016 07:30:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105842 invoked by uid 48); 26 Apr 2016 07:29:49 -0000 From: "abhijithr1 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58211] gcc: internal compiler error: Segmentation fault (program as) Date: Tue, 26 Apr 2016 07:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.6.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: abhijithr1 at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02386.txt.bz2 Content-length: 712 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58211 Abhijith Raghavendra changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |abhijithr1 at gmail dot com --- Comment #7 from Abhijith Raghavendra --- I have installed DJGPP in MS DOS operating system (X86 machine), when i try= to compile the source i am getting the following . gcc 2.c gcc.exe: internal compiler error: (program as) Please submit a full bug report, with prepocessed source if appropriate. see for instructions. >>From gcc-bugs-return-523174-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 07:30:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111407 invoked by alias); 26 Apr 2016 07:30:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107643 invoked by uid 48); 26 Apr 2016 07:30:18 -0000 From: "abhijithr1 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70797] New: gcc.exe: Internal compiler error: (program as) Date: Tue, 26 Apr 2016 07:30: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: abhijithr1 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02387.txt.bz2 Content-length: 738 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70797 Bug ID: 70797 Summary: gcc.exe: Internal compiler error: (program as) Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: abhijithr1 at gmail dot com Target Milestone: --- I have installed DJGPP in MS DOS operating system (X86 machine), when i try= to compile the source i am getting the following . gcc 2.c gcc.exe: internal compiler error: (program as) Please submit a full bug report, with prepocessed source if appropriate. see for instructions. >>From gcc-bugs-return-523175-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 08:19:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28994 invoked by alias); 26 Apr 2016 08:19:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28804 invoked by uid 48); 26 Apr 2016 08:18:55 -0000 From: "knakahara at netbsd dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70798] New: optimize-strlen generate infinite recursion code when the program has own "calloc" function Date: Tue, 26 Apr 2016 08:19: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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: knakahara at netbsd 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 attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02388.txt.bz2 Content-length: 3432 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70798 Bug ID: 70798 Summary: optimize-strlen generate infinite recursion code when the program has own "calloc" function Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: knakahara at netbsd dot org Target Milestone: --- Created attachment 38341 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38341&action=3Dedit reproduction code COMPILER VERSION: % gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion=3D'Ubuntu 5.3.1-14ub= untu2' --with-bugurl=3Dfile:///usr/share/doc/gcc-5/README.Bugs --enable-languages=3Dc,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=3D/u= sr --program-suffix=3D-5 --enable-shared --enable-linker-build-id --libexecdir=3D/usr/lib --without-included-gettext --enable-threads=3Dposix --libdir=3D/usr/lib --enable-nls --with-sysroot=3D/ --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-libstdcxx-time=3Dyes --with-default-libstdcxx-abi=3Dnew --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=3Dgtk --enable-gtk-cairo --with-java-home=3D/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-ho= me --with-jvm-root-dir=3D/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=3D/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=3Damd64 --with-ecj-jar=3D/usr/share/java/eclipse-ecj.= jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=3Di686 --with-abi=3Dm64 --with-multilib-list=3Dm32,m64,mx32 --enable-multilib --with-tune=3Dgeneric --enable-checking=3Drelease --build=3Dx86_64-linux-gnu --host=3Dx86_64-linux-gnu --target=3Dx86_64-linux-gnu Thread model: posix gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) SYSTEM TYPE: Ubuntu 16.04, here is the detail. % uname -srvmpio Linux 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux WHAT HAPPENS 1: When I compile the attached source code with "-O2" option, the output executable file segmentation faulted. Here is the command line log. % gcc -Wall -O2 calloc.c -o calloc % ./calloc zsh: segmentation fault (core dumped) ./calloc % gdb calloc core (gdb) bt #0 0x0000000000400625 in calloc () #1 0x000000000040062a in calloc () #2 0x000000000040062a in calloc () #3 0x000000000040062a in calloc () #4 0x000000000040062a in calloc () #5 0x000000000040062a in calloc () #6 0x000000000040062a in calloc () #7 0x000000000040062a in calloc () #8 0x000000000040062a in calloc () #9 0x000000000040062a in calloc () : : continue until stack overflow WHAT HAPPENS 2: In contrast, I compile with the attached source code with "-O2" and "-fno-optimize-strlen", the oputput executable file did not segmentation fa= ult. Here is the command line log. % gcc -Wall -O2 -fno-optimize-strlen calloc.c -o calloc % ./calloc aaaa=3D0x229e010 EXPECTED BEHAVIOR: Even when I compile with "-O2" only, the oputput executable file did not segmentation fault. SUPPLEMENT: I also get this problem in gcc 5.3.0 on NetBSD-current(7.99.28). Regards, >>From gcc-bugs-return-523176-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 08:55:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56430 invoked by alias); 26 Apr 2016 08:55:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36211 invoked by uid 55); 26 Apr 2016 08:55:36 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/60290] 32-bit g++.dg/cilk-plus/CK/catch_exc.cc FAILs on Solaris/x86 Date: Tue, 26 Apr 2016 08:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02389.txt.bz2 Content-length: 537 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60290 --- Comment #8 from Rainer Orth --- Author: ro Date: Tue Apr 26 08:55:02 2016 New Revision: 235432 URL: https://gcc.gnu.org/viewcvs?rev=3D235432&root=3Dgcc&view=3Drev Log: Compile libcilkrts with -funwind-tables (PR target/60290) PR target/60290 * Makefile.am (GENERAL_FLAGS): Add -funwind-tables. * Makefile.in: Regenerate. Modified: trunk/libcilkrts/ChangeLog trunk/libcilkrts/Makefile.am trunk/libcilkrts/Makefile.in >>From gcc-bugs-return-523177-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 08:59:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5600 invoked by alias); 26 Apr 2016 08:59:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4495 invoked by uid 48); 26 Apr 2016 08:59:36 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/60290] 32-bit g++.dg/cilk-plus/CK/catch_exc.cc FAILs on Solaris/x86 Date: Tue, 26 Apr 2016 08:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02390.txt.bz2 Content-length: 129 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60290 --- Comment #9 from Rainer Orth --- Fixed for 7.1. >>From gcc-bugs-return-523178-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 09:10:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20673 invoked by alias); 26 Apr 2016 09:10:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20425 invoked by uid 48); 26 Apr 2016 09:10:13 -0000 From: "david.abdurachmanov at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70760] [6/7 regression] wrong generated code for std::make_unique with -fipa-pta Date: Tue, 26 Apr 2016 09:10: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: david.abdurachmanov at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02391.txt.bz2 Content-length: 448 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 --- Comment #10 from David Abdurachmanov --- I did a quick test (still took several hours) with #1 and #3 patches and bo= th seem to solve the issue. Patches were tested on top of r235408. Just in case I will run patch #3 (for now) again, but will force the whole world to be recompiled starting GCC. That is a more extensive, but also expensive test. >>From gcc-bugs-return-523179-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 09:20:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42464 invoked by alias); 26 Apr 2016 09:20:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42372 invoked by uid 48); 26 Apr 2016 09:20:35 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70799] New: STV pass does not convert DImode shifts and rotates Date: Tue, 26 Apr 2016 09:20: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: enhancement X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02392.txt.bz2 Content-length: 914 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70799 Bug ID: 70799 Summary: STV pass does not convert DImode shifts and rotates Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ubizjak at gmail dot com CC: hjl.tools at gmail dot com, ienkovich at gcc dot gnu.org Target Milestone: --- These should all be converted to DImode vector shifts for SSE2/AVX2 32bit target (and similar for rotates): long long a, b; void test_ll (void) { a =3D b << 1; } void test_llv (int c) { a =3D b << c; } unsigned long long d, e; void test_lr (void) { d =3D e >> 1; } void test_lrv (int c) { d =3D e >> c; } void test_ar (void) { a =3D b >> 1; } void test_arv (int c) { a =3D b >> c; } >>From gcc-bugs-return-523180-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 09:25:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74091 invoked by alias); 26 Apr 2016 09:25:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73535 invoked by uid 48); 26 Apr 2016 09:24:52 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/12245] [4.9/5/6/7 regression] Uses lots of memory when compiling large initialized arrays Date: Tue, 26 Apr 2016 09:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 3.3.1 X-Bugzilla-Keywords: memory-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02393.txt.bz2 Content-length: 448 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D12245 --- Comment #60 from Richard Biener --- GCC 5 should have improved things a bit by wide-ints as small INTEGER_CSTs = now use 8 bytes less memory. A quick check with GCC 6 shows around ~200MB memo= ry use for the attached testcase. Note that your last example uses C++ initializer lists which have its own issue (quite expensive wrapping) and separate bugreports. >>From gcc-bugs-return-523181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 09:29:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83419 invoked by alias); 26 Apr 2016 09:29:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82387 invoked by uid 55); 26 Apr 2016 09:29:12 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70760] [6/7 regression] wrong generated code for std::make_unique with -fipa-pta Date: Tue, 26 Apr 2016 09:29: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02394.txt.bz2 Content-length: 691 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 --- Comment #11 from rguenther at suse dot de --- On Tue, 26 Apr 2016, david.abdurachmanov at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 >=20 > --- Comment #10 from David Abdurachmanov --- > I did a quick test (still took several hours) with #1 and #3 patches and = both > seem to solve the issue. Patches were tested on top of r235408. >=20 > Just in case I will run patch #3 (for now) again, but will force the whole > world to be recompiled starting GCC. That is a more extensive, but also > expensive test. Thanks for the effort! >>From gcc-bugs-return-523184-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 09:34:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92390 invoked by alias); 26 Apr 2016 09:34:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92343 invoked by uid 48); 26 Apr 2016 09:34:29 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70795] [7 Regression] gcc/libjava/interpret.cc:1948:1: ICE: in binds_to_current_def_p, at symtab.c:2232 Date: Tue, 26 Apr 2016 09:34: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02396.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70795 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 >>From gcc-bugs-return-523182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 09:34:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90821 invoked by alias); 26 Apr 2016 09:34:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90133 invoked by uid 48); 26 Apr 2016 09:33:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/56888] memcpy implementation optimized as a call to memcpy Date: Tue, 26 Apr 2016 09:34: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.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02395.txt.bz2 Content-length: 449 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56888 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |knakahara at netbsd dot org --- Comment #36 from Richard Biener --- *** Bug 70798 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-523183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 09:34:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90883 invoked by alias); 26 Apr 2016 09:34:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89666 invoked by uid 48); 26 Apr 2016 09:33:55 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70798] optimize-strlen generate infinite recursion code when the program has own "calloc" function Date: Tue, 26 Apr 2016 09:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02397.txt.bz2 Content-length: 499 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70798 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Richard Biener --- Duplicate. *** This bug has been marked as a duplicate of bug 56888 *** >>From gcc-bugs-return-523185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 09:50:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98005 invoked by alias); 26 Apr 2016 09:50:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94887 invoked by uid 48); 26 Apr 2016 09:50:06 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70799] STV pass does not convert DImode shifts and rotates Date: Tue, 26 Apr 2016 09:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02398.txt.bz2 Content-length: 646 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70799 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- I've been also surprised that the STV pass punts on moves of constants into DImode registers, if it is not 0, sure, it has higher cost, because it need= s to be loaded from memory, but in the end together with enough other DImode operations it can be still beneficial. >>From gcc-bugs-return-523186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 10:07:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122479 invoked by alias); 26 Apr 2016 10:07:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122233 invoked by uid 55); 26 Apr 2016 10:06:49 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/59407] gcc.target/i386/pr58218.c FAILs with Sun as Date: Tue, 26 Apr 2016 10: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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02399.txt.bz2 Content-length: 1127 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59407 --- Comment #5 from Rainer Orth --- Author: ro Date: Tue Apr 26 10:06:16 2016 New Revision: 235434 URL: https://gcc.gnu.org/viewcvs?rev=3D235434&root=3Dgcc&view=3Drev Log: Support .lbss etc. sections with Solaris as (PR target/59407) PR target/59407 * config/i386/i386.c (SECTION_LARGE): Define. (x86_64_elf_select_section): Set it for large data/bss sections. Only clear SECTION_WRITE for .lrodata. (x86_64_elf_section_type_flags): Set SECTION_LARGE for large data/bss sections. * config/i386/sol2.h (MACH_DEP_SECTION_ASM_FLAG): Define. * varasm.c (default_elf_asm_named_section): Grow flagchars. [MACH_DEP_SECTION_ASM_FLAG] Emit MACH_DEP_SECTION_ASM_FLAG for SECTION_MACH_DEP. * doc/tm.texi.in (Sections, MACH_DEP_SECTION_ASM_FLAG): Describe. * doc/tm.texi: Regenerate. Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/config/i386/sol2.h trunk/gcc/doc/tm.texi trunk/gcc/doc/tm.texi.in trunk/gcc/varasm.c >>From gcc-bugs-return-523187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 10:11:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81627 invoked by alias); 26 Apr 2016 10:11:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81404 invoked by uid 55); 26 Apr 2016 10:11:12 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/61821] gcc.target/i386/pr61599-1.c FAILs with Sun as Date: Tue, 26 Apr 2016 10:11: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02400.txt.bz2 Content-length: 1139 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61821 --- Comment #5 from Rainer Orth --- Author: ro Date: Tue Apr 26 10:10:33 2016 New Revision: 235435 URL: https://gcc.gnu.org/viewcvs?rev=3D235435&root=3Dgcc&view=3Drev Log: Support .largecomm with Solaris as (PR target/61821) PR target/61821 * config/i386/i386.c (LARGECOMM_SECTION_ASM_OP): Define default. (x86_elf_aligned_common): Rename to ... (x86_elf_aligned_decl_common): ... this. Add decl arg. Switch to .lbss for largecomm object. Use LARGECOMM_SECTION_ASM_OP. * config/i386/i386-protos.h (x86_elf_aligned_common): Reflect renaming. * config/i386/x86-64.h (ASM_OUTPUT_ALIGNED_COMMON): Rename to ... (ASM_OUTPUT_ALIGNED_DECL_COMMON): ... this. Pass new decl arg. * config/i386/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. [!USE_GAS] (LARGECOMM_SECTION_ASM_OP): Define. Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386-protos.h trunk/gcc/config/i386/i386.c trunk/gcc/config/i386/sol2.h trunk/gcc/config/i386/x86-64.h >>From gcc-bugs-return-523188-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 10:12:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85158 invoked by alias); 26 Apr 2016 10:12:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85038 invoked by uid 48); 26 Apr 2016 10:12:28 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/61821] gcc.target/i386/pr61599-1.c FAILs with Sun as Date: Tue, 26 Apr 2016 10:12: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02401.txt.bz2 Content-length: 469 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61821 Bug 61821 depends on bug 59407, which changed state. Bug 59407 Summary: gcc.target/i386/pr58218.c FAILs with Sun as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59407 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-523189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 10:12:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85167 invoked by alias); 26 Apr 2016 10:12:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85016 invoked by uid 48); 26 Apr 2016 10:12:27 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/59407] gcc.target/i386/pr58218.c FAILs with Sun as Date: Tue, 26 Apr 2016 10:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02402.txt.bz2 Content-length: 474 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59407 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |7.0 --- Comment #6 from Rainer Orth --- Fixed for 7.1. >>From gcc-bugs-return-523190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 10:13:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86791 invoked by alias); 26 Apr 2016 10:13:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86702 invoked by uid 48); 26 Apr 2016 10:13:03 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/61821] gcc.target/i386/pr61599-1.c FAILs with Sun as Date: Tue, 26 Apr 2016 10: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02403.txt.bz2 Content-length: 474 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61821 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|5.4 |7.0 --- Comment #6 from Rainer Orth --- Fixed for 7.1. >>From gcc-bugs-return-523191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 10:32:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64766 invoked by alias); 26 Apr 2016 10:32:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64417 invoked by uid 48); 26 Apr 2016 10:32:23 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/70800] New: libgcc/config/libbid/bid_binarydecimal.c: suspicious comparison ? Date: Tue, 26 Apr 2016 10:32: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: 6.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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02404.txt.bz2 Content-length: 857 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70800 Bug ID: 70800 Summary: libgcc/config/libbid/bid_binarydecimal.c: suspicious comparison ? Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- trunk/libgcc/config/libbid/bid_binarydecimal.c:143934]: (style) Expression = '(X & 0xffff) > 0xf423f' is always false. Source code is nan(s,((((x) & 0xFFFFul) > 999999ul) ? 0 : = \ (((unsigned long long) x) << 44)),0ull);=20=20=20=20=20 Masking something with 0xFFFFul would appear to limit it to [0..64K), so it should always be < 999999ul. >>From gcc-bugs-return-523192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 10:58:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10852 invoked by alias); 26 Apr 2016 10:58:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8174 invoked by uid 48); 26 Apr 2016 10:58:38 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70794] vector.push_back() crashes with std::bad_alloc after 2^32 calls Date: Tue, 26 Apr 2016 10:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02405.txt.bz2 Content-length: 861 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70794 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2016-04-26 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely --- I can't reproduce this on x86_64 GNU/Linux. I see a very slight pause around the 4GB mark, and again at 8GB (probably as the allocated pages actually get touched) but it keeps going well past that. This is a 64GB machine, so it suggests that the problem is local to your system. Please provide the missing information requested when you created this bug,= see https://gcc.gnu.org/bugs/ >>From gcc-bugs-return-523193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 10:59:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13425 invoked by alias); 26 Apr 2016 10:59:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13291 invoked by uid 48); 26 Apr 2016 10:59:40 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70794] vector.push_back() crashes with std::bad_alloc after 2^32 calls Date: Tue, 26 Apr 2016 10:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02406.txt.bz2 Content-length: 156 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70794 --- Comment #2 from Jonathan Wakely --- Also, check your 'ulimit -m' value. >>From gcc-bugs-return-523194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 11:06:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24191 invoked by alias); 26 Apr 2016 11:06:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23783 invoked by uid 48); 26 Apr 2016 11:06:28 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70794] vector.push_back() crashes with std::bad_alloc after 2^32 calls Date: Tue, 26 Apr 2016 11:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02407.txt.bz2 Content-length: 136 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70794 --- Comment #3 from Jonathan Wakely --- And 'ulimit -v' >>From gcc-bugs-return-523196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 11:11:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123931 invoked by alias); 26 Apr 2016 11:11:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123568 invoked by uid 55); 26 Apr 2016 11:11:28 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70771] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in operator[], at vec.h:714 Date: Tue, 26 Apr 2016 11:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amker at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02409.txt.bz2 Content-length: 1015 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70771 --- Comment #4 from amker at gcc dot gnu.org --- Author: amker Date: Tue Apr 26 11:10:47 2016 New Revision: 235436 URL: https://gcc.gnu.org/viewcvs?rev=3D235436&root=3Dgcc&view=3Drev Log: PR tree-optimization/70771 PR tree-optimization/70775 * tree-if-conv.c (if_convertible_phi_p): Remove check on special virtual PHI nodes. Delete parameter. (if_convertible_loop_p_1): Delete argument to above function. (predicate_all_scalar_phis): Delete code handling single-argument PHIs. (tree_if_conversion): Mark and update virtual SSA. gcc/testsuite/ChangeLog PR tree-optimization/70771 PR tree-optimization/70775 * gcc.dg/pr70771.c: New test. * gcc.dg/pr70771.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr70771.c trunk/gcc/testsuite/gcc.dg/pr70775.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-if-conv.c >>From gcc-bugs-return-523195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 11:11:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123919 invoked by alias); 26 Apr 2016 11:11:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123606 invoked by uid 55); 26 Apr 2016 11:11:29 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70775] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault Date: Tue, 26 Apr 2016 11:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amker at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02408.txt.bz2 Content-length: 1015 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70775 --- Comment #3 from amker at gcc dot gnu.org --- Author: amker Date: Tue Apr 26 11:10:47 2016 New Revision: 235436 URL: https://gcc.gnu.org/viewcvs?rev=3D235436&root=3Dgcc&view=3Drev Log: PR tree-optimization/70771 PR tree-optimization/70775 * tree-if-conv.c (if_convertible_phi_p): Remove check on special virtual PHI nodes. Delete parameter. (if_convertible_loop_p_1): Delete argument to above function. (predicate_all_scalar_phis): Delete code handling single-argument PHIs. (tree_if_conversion): Mark and update virtual SSA. gcc/testsuite/ChangeLog PR tree-optimization/70771 PR tree-optimization/70775 * gcc.dg/pr70771.c: New test. * gcc.dg/pr70771.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr70771.c trunk/gcc/testsuite/gcc.dg/pr70775.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-if-conv.c >>From gcc-bugs-return-523197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 11:28:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32806 invoked by alias); 26 Apr 2016 11:28:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32722 invoked by uid 48); 26 Apr 2016 11:28:32 -0000 From: "wdijkstr at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70801] New: IRA caller-saves does not support rematerialization Date: Tue, 26 Apr 2016 11:28: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wdijkstr at arm 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02410.txt.bz2 Content-length: 2372 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70801 Bug ID: 70801 Summary: IRA caller-saves does not support rematerialization Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: wdijkstr at arm dot com Target Milestone: --- GCC emits the same code for caller-saves in all cases, even if the caller-s= ave is an immediate which can be trivially rematerialized. The caller-save code should support rematerialization directly by omitting saves and emitting the init value for restores. This allows the cost of rematerializeable caller-s= aves to be lowered and avoids a stack slot.=20 Alternatively given the spill code already supports rematerialization, it m= ay be possible to stop immediates from being caller-saved by increasing their caller-save cost significantly. void g(void); float bad_remat(float x) { x +=3D 3.0f; g(); x *=3D 3.0f; x *=3D (3.0f + x); g(); x *=3D 3.0f; x *=3D (3.0f + x); return x; } AArch64 gives with -O2 -fomit-frame-pointer -ffixed-d8 -ffixed-d9 -ffixed-d= 10 -ffixed-d11 -ffixed-d12 -ffixed-d13 -ffixed-d14 -ffixed-d15: fmov s1, 3.0e+0 str x30, [sp, -32]! fadd s0, s0, s1 stp s0, s1, [sp, 24] bl g ldp s0, s1, [sp, 24] fmul s0, s0, s1 fadd s2, s0, s1 fmul s0, s0, s2 str s0, [sp, 24] bl g ldp s0, s1, [sp, 24] ldr x30, [sp], 32 fmul s0, s0, s1 fadd s1, s0, s1 fmul s0, s0, s1 ret x86_64 with plain -O2: subq $24, %rsp movss .LC0(%rip), %xmm1 addss %xmm1, %xmm0 movss %xmm1, 12(%rsp) movss %xmm0, 8(%rsp) call g movss 8(%rsp), %xmm0 movaps %xmm0, %xmm2 movss 12(%rsp), %xmm1 mulss %xmm1, %xmm2 movaps %xmm2, %xmm0 addss %xmm1, %xmm0 mulss %xmm2, %xmm0 movss %xmm0, 8(%rsp) call g movss 12(%rsp), %xmm1 movss 8(%rsp), %xmm0 addq $24, %rsp mulss %xmm1, %xmm0 addss %xmm0, %xmm1 mulss %xmm1, %xmm0 ret >>From gcc-bugs-return-523198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 11:33:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57699 invoked by alias); 26 Apr 2016 11:33:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57413 invoked by uid 55); 26 Apr 2016 11:33:00 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70744] preincrements possibly double-evaluated in GNU ternaries Date: Tue, 26 Apr 2016 11:33: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.2.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02411.txt.bz2 Content-length: 7896 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70744 --- Comment #7 from Marek Polacek --- Author: mpolacek Date: Tue Apr 26 11:32:26 2016 New Revision: 235438 URL: https://gcc.gnu.org/viewcvs?rev=3D235438&root=3Dgcc&view=3Drev Log: Bootstrapped/regtested on x86_64-linux, ok for trunk? 2016-04-25 Marek Polacek PR c++/70744 * call.c (build_conditional_expr_1): Call cp_stabilize_reference instead of stabilize_reference. (build_over_call): Likewise. * cp-tree.h (cp_stabilize_reference): Declare. * tree.c (cp_stabilize_reference): New function. * typeck.c (cp_build_unary_op): Call cp_stabilize_reference instead= of stabilize_reference. (unary_complex_lvalue): Likewise. (cp_build_modify_expr): Likewise. * g++.dg/ext/cond2.C: New test. diff --git gcc/cp/call.c gcc/cp/call.c index 11f2d42..476e806 100644 --- gcc/cp/call.c +++ gcc/cp/call.c @@ -4634,7 +4634,7 @@ build_conditional_expr_1 (location_t loc, tree arg1, = tree arg2, tree arg3, /* Make sure that lvalues remain lvalues. See g++.oliva/ext1.C. */ if (real_lvalue_p (arg1)) - arg2 =3D arg1 =3D stabilize_reference (arg1); + arg2 =3D arg1 =3D cp_stabilize_reference (arg1); else arg2 =3D arg1 =3D save_expr (arg1); } @@ -7644,8 +7644,9 @@ build_over_call (struct z_candidate *cand, int flags, tsubst_flags_t complain) || (TREE_CODE (arg) =3D=3D TARGET_EXPR && !unsafe_copy_elision_p (fa, arg))) { - tree to =3D stabilize_reference (cp_build_indirect_ref (fa, RO_NU= LL, - complain)); + tree to =3D cp_stabilize_reference (cp_build_indirect_ref (fa, + RO_NULL, + complain= )); val =3D build2 (INIT_EXPR, DECL_CONTEXT (fn), to, arg); return val; @@ -7655,7 +7656,7 @@ build_over_call (struct z_candidate *cand, int flags, tsubst_flags_t complain) && trivial_fn_p (fn) && !DECL_DELETED_FN (fn)) { - tree to =3D stabilize_reference + tree to =3D cp_stabilize_reference (cp_build_indirect_ref (argarray[0], RO_NULL, complain)); tree type =3D TREE_TYPE (to); tree as_base =3D CLASSTYPE_AS_BASE (type); diff --git gcc/cp/cp-tree.h gcc/cp/cp-tree.h index ec92718..0e46ae1 100644 --- gcc/cp/cp-tree.h +++ gcc/cp/cp-tree.h @@ -6494,6 +6494,7 @@ extern cp_lvalue_kind real_lvalue_p=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 (const_tree); extern cp_lvalue_kind lvalue_kind (const_tree); extern bool lvalue_or_rvalue_with_address_p (const_tree); extern bool xvalue_p (const_tree); +extern tree cp_stabilize_reference (tree); extern bool builtin_valid_in_constant_expr_p (const_tree); extern tree build_min (enum tree_code, tree, ...); extern tree build_min_nt_loc (location_t, enum tree_code, diff --git gcc/cp/tree.c gcc/cp/tree.c index 112c8c7..137186f 100644 --- gcc/cp/tree.c +++ gcc/cp/tree.c @@ -296,6 +296,46 @@ xvalue_p (const_tree ref) return (lvalue_kind (ref) =3D=3D clk_rvalueref); } +/* C++-specific version of stabilize_reference. */ + +tree +cp_stabilize_reference (tree ref) +{ + switch (TREE_CODE (ref)) + { + /* We need to treat specially anything stabilize_reference doesn't + handle specifically. */ + case VAR_DECL: + case PARM_DECL: + case RESULT_DECL: + CASE_CONVERT: + case FLOAT_EXPR: + case FIX_TRUNC_EXPR: + case INDIRECT_REF: + case COMPONENT_REF: + case BIT_FIELD_REF: + case ARRAY_REF: + case ARRAY_RANGE_REF: + case COMPOUND_EXPR: + case ERROR_MARK: + break; + default: + cp_lvalue_kind kind =3D lvalue_kind (ref); + if ((kind & ~clk_class) !=3D clk_none) + { + tree type =3D unlowered_expr_type (ref); + bool rval =3D !!(kind & clk_rvalueref); + type =3D cp_build_reference_type (type, rval); + /* This inhibits warnings in, eg, cxx_mark_addressable + (c++/60955). */ + warning_sentinel s (extra_warnings); + ref =3D build_static_cast (type, ref, tf_error); + } + } + + return stabilize_reference (ref); +} + /* Test whether DECL is a builtin that may appear in a constant-expression. */ diff --git gcc/cp/typeck.c gcc/cp/typeck.c index cef5604..7e12009 100644 --- gcc/cp/typeck.c +++ gcc/cp/typeck.c @@ -5912,7 +5912,7 @@ cp_build_unary_op (enum tree_code code, tree xarg, int noconvert, { tree real, imag; - arg =3D stabilize_reference (arg); + arg =3D cp_stabilize_reference (arg); real =3D cp_build_unary_op (REALPART_EXPR, arg, 1, complain); imag =3D cp_build_unary_op (IMAGPART_EXPR, arg, 1, complain); real =3D cp_build_unary_op (code, real, 1, complain); @@ -6112,7 +6112,7 @@ unary_complex_lvalue (enum tree_code code, tree arg) tree lvalue =3D TREE_OPERAND (arg, 0); if (TREE_SIDE_EFFECTS (lvalue)) { - lvalue =3D stabilize_reference (lvalue); + lvalue =3D cp_stabilize_reference (lvalue); arg =3D build2 (TREE_CODE (arg), TREE_TYPE (arg), lvalue, TREE_OPERAND (arg, 1)); } @@ -7496,7 +7496,7 @@ cp_build_modify_expr (tree lhs, enum tree_code modifycode, tree rhs, case PREINCREMENT_EXPR: if (TREE_SIDE_EFFECTS (TREE_OPERAND (lhs, 0))) lhs =3D build2 (TREE_CODE (lhs), TREE_TYPE (lhs), - stabilize_reference (TREE_OPERAND (lhs, 0)), + cp_stabilize_reference (TREE_OPERAND (lhs, 0)), TREE_OPERAND (lhs, 1)); newrhs =3D cp_build_modify_expr (TREE_OPERAND (lhs, 0), modifycode, rhs, complain); @@ -7516,7 +7516,7 @@ cp_build_modify_expr (tree lhs, enum tree_code modifycode, tree rhs, case MODIFY_EXPR: if (TREE_SIDE_EFFECTS (TREE_OPERAND (lhs, 0))) lhs =3D build2 (TREE_CODE (lhs), TREE_TYPE (lhs), - stabilize_reference (TREE_OPERAND (lhs, 0)), + cp_stabilize_reference (TREE_OPERAND (lhs, 0)), TREE_OPERAND (lhs, 1)); newrhs =3D cp_build_modify_expr (TREE_OPERAND (lhs, 0), modifycode, = rhs, complain); @@ -7665,7 +7665,7 @@ cp_build_modify_expr (tree lhs, enum tree_code modifycode, tree rhs, not intervene between the lvalue-to-rvalue conversion and the side effect associated with any single compound assignment operator. -- end note ] */ - lhs =3D stabilize_reference (lhs); + lhs =3D cp_stabilize_reference (lhs); rhs =3D rvalue (rhs); rhs =3D stabilize_expr (rhs, &init); newrhs =3D cp_build_binary_op (input_location, diff --git gcc/testsuite/g++.dg/ext/cond2.C gcc/testsuite/g++.dg/ext/cond2.C index e69de29..d9f1d59 100644 --- gcc/testsuite/g++.dg/ext/cond2.C +++ gcc/testsuite/g++.dg/ext/cond2.C @@ -0,0 +1,28 @@ +// PR c++/70744 +// { dg-do run } +// { dg-options "" } + +static void +fn1 (void) +{ + int x =3D 2; + ++x ? : 42; + if (x !=3D 3) + __builtin_abort (); + --x ? : 42; + if (x !=3D 2) + __builtin_abort (); + x++ ? : 42; + if (x !=3D 3) + __builtin_abort (); + x-- ? : 42; + if (x !=3D 2) + __builtin_abort (); +} + +int +main () +{ + fn1 (); + return 0; +} Added: trunk/gcc/testsuite/g++.dg/ext/cond2.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/call.c trunk/gcc/cp/cp-tree.h trunk/gcc/cp/tree.c trunk/gcc/cp/typeck.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 11:35:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60814 invoked by alias); 26 Apr 2016 11:35:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60481 invoked by uid 48); 26 Apr 2016 11:34:59 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70744] preincrements possibly double-evaluated in GNU ternaries Date: Tue, 26 Apr 2016 11:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02412.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70744 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Marek Polacek --- Fixed for GCC 7. >>From gcc-bugs-return-523200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 11:38:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91616 invoked by alias); 26 Apr 2016 11:38:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91436 invoked by uid 48); 26 Apr 2016 11:38:42 -0000 From: "vogt at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/70787] No time and child info with -pg and gccgo Date: Tue, 26 Apr 2016 11:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vogt at linux dot vnet.ibm.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02413.txt.bz2 Content-length: 1342 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70787 --- Comment #2 from Dominik Vogt --- The Go runtime seems to register a handler for SIGPROF even if it does not = want to profile. So it always uninstalls the handler installed by Glibc on beha= lf of the -pg option. To me it looks like -pg actually enables the profiling = from libgo instead. Some ways to circumvent this: 1) Don't install a SIGPROF handler in the Go runtime if another is already installed (possibly emit a warning or a fatal error if the program attempts= to enable the Go profiling). =3D> Simple to implement. 2) Install the SIGPROF handler on the fly when it's needed instead of unconditionally at Go runtime startup. Possibly emit a warning if an exist= ing signal handler is uninstalled in the process. =3D> Cleanest solution. 3) Store the previous signal handler and call it at the start of the Go run= time signal handler. However, this introduces a number several problems (the Go runtime won't notice if the original profiling code wants to uninstall the handler or install a new one or it might overwrite the Go runtime handler; also, the two profiling systems will probably not agree on a common timing interval). =3D> May allow to run Glibc and libgo profiling in parallel but probably ha= s some unfixable issues. >>From gcc-bugs-return-523201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 12:13:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4872 invoked by alias); 26 Apr 2016 12:13:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4772 invoked by uid 48); 26 Apr 2016 12:13:32 -0000 From: "wdijkstr at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70802] New: IRA memory cost calculation incorrect for immediates Date: Tue, 26 Apr 2016 12:13: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wdijkstr at arm 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02414.txt.bz2 Content-length: 3231 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70802 Bug ID: 70802 Summary: IRA memory cost calculation incorrect for immediates Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: wdijkstr at arm dot com Target Milestone: --- The following code in ira-costs.c tries to improve the memory cost for rematerializeable loads. There are several issues with this though: 1. The memory cost can become negative, forcing a spill, which is known to cause incorrect code (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64242) 2. The code only handles a subset of immediate loads, not all rematerialize= able values 3. The cost adjustment is not sufficient to make better decisions between allocating an immediate to a callee-save register and spill a variable, or allocate the variable and rematerialize the immediate As an example of (3), if there is only one callee-save register free, IRA w= ill use it to allocate the immediate rather than the variable: float bad_alloc(float x) { x +=3D 3.0f; g(); x *=3D 3.0f; return x; } With -O2 -fomit-frame-pointer -ffixed-d8 -ffixed-d9 -ffixed-d10 -ffixed-d11 -ffixed-d12 -ffixed-d13 -ffixed-d14: str x30, [sp, -32]! str d15, [sp, 8] fmov s15, 3.0e+0 fadd s0, s0, s15 str s0, [sp, 28] bl g ldr s0, [sp, 28] fmul s0, s0, s15 ldr d15, [sp, 8] ldr x30, [sp], 32 ret a0(r76,l0) costs: CALLER_SAVE_REGS:15000,15000 GENERAL_REGS:15000,15000 FP_REGS:0,0 ALL_REGS:15000,15000 MEM:12000,12000 a1(r73,l0) costs: CALLER_SAVE_REGS:10000,10000 GENERAL_REGS:10000,10000 FP_REGS:0,0 ALL_REGS:10000,10000 MEM:8000,8000 The immediate value r76 is counted as 1 def and 2 uses, so memory cost of 12000, while r73 has 1 def and 1 use, so memory cost of 8000. However the worst-case rematerialization cost of r76 would be 2 moves, one which already exists of course, so the memory cost should have been 4000... ira-costs.c, ~line 1458: if (set !=3D 0 && REG_P (SET_DEST (set)) && MEM_P (SET_SRC (set)) && (note =3D find_reg_note (insn, REG_EQUIV, NULL_RTX)) !=3D NULL_RTX && ((MEM_P (XEXP (note, 0)) && !side_effects_p (SET_SRC (set))) || (CONSTANT_P (XEXP (note, 0)) && targetm.legitimate_constant_p (GET_MODE (SET_DEST (set)), XEXP (note, 0)) && REG_N_SETS (REGNO (SET_DEST (set))) =3D=3D 1)) && general_operand (SET_SRC (set), GET_MODE (SET_SRC (set)))) { enum reg_class cl =3D GENERAL_REGS; rtx reg =3D SET_DEST (set); int num =3D COST_INDEX (REGNO (reg)); COSTS (costs, num)->mem_cost -=3D ira_memory_move_cost[GET_MODE (reg)][cl][1] * frequency; record_address_regs (GET_MODE (SET_SRC (set)), MEM_ADDR_SPACE (SET_SRC (set)), XEXP (SET_SRC (set), 0), 0, MEM, SCRATCH, frequency * 2); counted_mem =3D true; } >>From gcc-bugs-return-523202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 12:35:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118093 invoked by alias); 26 Apr 2016 12:35:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 117892 invoked by uid 48); 26 Apr 2016 12:35:30 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70803] New: gcc.dg/vect/pr56625.c FAILs Date: Tue, 26 Apr 2016 12:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro 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 attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02415.txt.bz2 Content-length: 999 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70803 Bug ID: 70803 Summary: gcc.dg/vect/pr56625.c FAILs Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: amker at gcc dot gnu.org Target Milestone: --- Host: sparc*-sun-solaris2.* Target: sparc*-sun-solaris2.* Build: sparc*-sun-solaris2.* Created attachment 38342 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38342&action=3Dedit pr56625.c.148t.vect The new gcc.dg/vect/pr56625.c testcase FAILs on 32 and 64-bit Solaris/SPARC: FAIL: gcc.dg/vect/pr56625.c -flto -ffat-lto-objects scan-tree-dump-times v= ect "vectorized 1 loops" 1 FAIL: gcc.dg/vect/pr56625.c scan-tree-dump-times vect "vectorized 1 loops" 1 I'm attaching the dump. Rainer >>From gcc-bugs-return-523203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 12:36:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120796 invoked by alias); 26 Apr 2016 12:36:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118968 invoked by uid 48); 26 Apr 2016 12:36:18 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70803] gcc.dg/vect/pr56625.c FAILs Date: Tue, 26 Apr 2016 12:36: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02416.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70803 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 >>From gcc-bugs-return-523204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 12:44:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105893 invoked by alias); 26 Apr 2016 12:44:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105566 invoked by uid 55); 26 Apr 2016 12:44:17 -0000 From: "bernds at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/57193] [4.9/5/6/7 Regression] suboptimal register allocation for SSE registers Date: Tue, 26 Apr 2016 12:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: bernds at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: vmakarov at redhat dot com X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02417.txt.bz2 Content-length: 586 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57193 --- Comment #11 from Bernd Schmidt --- Author: bernds Date: Tue Apr 26 12:43:42 2016 New Revision: 235442 URL: https://gcc.gnu.org/viewcvs?rev=3D235442&root=3Dgcc&view=3Drev Log: Enable -frename-registers at -O2. PR rtl-optimization/57193 * opts.c (default_options_table): Add OPT_frename_registers at -O2 and above. * doc/invoke.texi (-frename-registers, -O2): Update documentation. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/invoke.texi trunk/gcc/opts.c >>From gcc-bugs-return-523205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 13:05:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87816 invoked by alias); 26 Apr 2016 13:05:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87706 invoked by uid 48); 26 Apr 2016 13:05:39 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70803] gcc.dg/vect/pr56625.c FAILs Date: Tue, 26 Apr 2016 13:05: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: 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02418.txt.bz2 Content-length: 206 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70803 --- Comment #1 from amker at gcc dot gnu.org --- Thanks for reporting this, I will check it. Maybe a simple "vect_int_mult"= to skip on some targets. >>From gcc-bugs-return-523206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 13:07:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92541 invoked by alias); 26 Apr 2016 13:07:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92407 invoked by uid 48); 26 Apr 2016 13:07:09 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/65734] Yet another case of lost alignment by stor_layout Date: Tue, 26 Apr 2016 13:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02419.txt.bz2 Content-length: 291 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65734 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |5.3 >>From gcc-bugs-return-523207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 13:23:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113940 invoked by alias); 26 Apr 2016 13:23:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88127 invoked by uid 48); 26 Apr 2016 13:23:33 -0000 From: "david.abdurachmanov at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70760] [6/7 regression] wrong generated code for std::make_unique with -fipa-pta Date: Tue, 26 Apr 2016 13:23: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: david.abdurachmanov at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02420.txt.bz2 Content-length: 274 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 --- Comment #12 from David Abdurachmanov --- I have re-tested #3 patch by recompiling 316 RPMs (from GCC to our software= -- top package). Have not seen those strange segfaults. >>From gcc-bugs-return-523208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 13:33:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103335 invoked by alias); 26 Apr 2016 13:33:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102368 invoked by uid 48); 26 Apr 2016 13:33:16 -0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70804] New: Missed tail-call Date: Tue, 26 Apr 2016 13:33: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ramana 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02421.txt.bz2 Content-length: 3871 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70804 Bug ID: 70804 Summary: Missed tail-call Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ramana at gcc dot gnu.org Target Milestone: --- Given.=20 struct E { virtual ~E() { destroy(); } virtual E *clone() =3D 0; void destroy(); }; struct B: public E { virtual ~B() {} virtual B *clone() { return 0; } virtual void bar() {} }; void f(void) { B b; } Notice the missing tail call to E:destroy from f.=20 .file "m.cpp" .section=20=20=20=20=20=20=20 .text._ZN1B5cloneEv,"axG",%progbits,_ZN1B5cloneEv,comdat .align 2 .p2align 3,,7 .weak _ZN1B5cloneEv .type _ZN1B5cloneEv, %function _ZN1B5cloneEv: .LFB8: .cfi_startproc mov x0, 0 ret .cfi_endproc .LFE8: .size _ZN1B5cloneEv, .-_ZN1B5cloneEv .section .text._ZN1B3barEv,"axG",%progbits,_ZN1B3barEv,comdat .align 2 .p2align 3,,7 .weak _ZN1B3barEv .type _ZN1B3barEv, %function _ZN1B3barEv: .LFB9: .cfi_startproc ret .cfi_endproc .LFE9: .size _ZN1B3barEv, .-_ZN1B3barEv .section .text._ZN1BD2Ev,"axG",%progbits,_ZN1BD5Ev,comdat .align 2 .p2align 3,,7 .weak _ZN1BD2Ev .type _ZN1BD2Ev, %function _ZN1BD2Ev: .LFB5: .cfi_startproc ldr x1, .LC0 str x1, [x0] b _ZN1E7destroyEv .cfi_endproc .LFE5: .size _ZN1BD2Ev, .-_ZN1BD2Ev .align 3 .LC0: .xword _ZTV1E+16 .weak _ZN1BD1Ev _ZN1BD1Ev =3D _ZN1BD2Ev .section .text._ZN1BD0Ev,"axG",%progbits,_ZN1BD5Ev,comdat .align 2 .p2align 3,,7 .weak _ZN1BD0Ev .type _ZN1BD0Ev, %function _ZN1BD0Ev: .LFB7: .cfi_startproc stp x19, x30, [sp, -16]! .cfi_def_cfa_offset 16 .cfi_offset 19, -16 .cfi_offset 30, -8 ldr x1, .LC1 mov x19, x0 str x1, [x0] bl _ZN1E7destroyEv mov x0, x19 ldp x19, x30, [sp], 16 .cfi_restore 30 .cfi_restore 19 .cfi_def_cfa_offset 0 b _ZdlPv .cfi_endproc .LFE7: .size _ZN1BD0Ev, .-_ZN1BD0Ev .align 3 .LC1: .xword _ZTV1E+16 .text .align 2 .p2align 3,,7 .global _Z1fv .type _Z1fv, %function _Z1fv: .LFB10: .cfi_startproc str x30, [sp, -32]! .cfi_def_cfa_offset 32 .cfi_offset 30, -32 ldr x1, .LC2 add x0, sp, 32 str x1, [x0, -8]! bl _ZN1E7destroyEv ldr x30, [sp], 32 .cfi_restore 30 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE10: .size _Z1fv, .-_Z1fv .align 3 .LC2: .xword _ZTV1E+16 .weak _ZTS1E .section .rodata._ZTS1E,"aG",%progbits,_ZTS1E,comdat .align 3 .type _ZTS1E, %object .size _ZTS1E, 3 _ZTS1E: .string "1E" .weak _ZTI1E .section .rodata._ZTI1E,"aG",%progbits,_ZTI1E,comdat .align 3 .type _ZTI1E, %object .size _ZTI1E, 16 _ZTI1E: .xword _ZTVN10__cxxabiv117__class_type_infoE+16 .xword _ZTS1E .weak _ZTV1E .section .rodata._ZTV1E,"aG",%progbits,_ZTV1E,comdat .align 3 .type _ZTV1E, %object .size _ZTV1E, 40 _ZTV1E: .xword 0 .xword _ZTI1E .xword 0 .xword 0 .xword __cxa_pure_virtual >>From gcc-bugs-return-523209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 13:33:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104106 invoked by alias); 26 Apr 2016 13:33:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 104062 invoked by uid 48); 26 Apr 2016 13:33:43 -0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70804] Missed tail-call Date: Tue, 26 Apr 2016 13:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ramana 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: cf_gcctarget Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02422.txt.bz2 Content-length: 390 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70804 Ramana Radhakrishnan changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |aarch64 --- Comment #1 from Ramana Radhakrishnan --- Update target >>From gcc-bugs-return-523210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 13:42:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123962 invoked by alias); 26 Apr 2016 13:42:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123031 invoked by uid 48); 26 Apr 2016 13:42:03 -0000 From: "graham.frye at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/21057] iso C99 complex double: problems with g++ Date: Tue, 26 Apr 2016 13:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 3.3.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: graham.frye at hotmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02423.txt.bz2 Content-length: 1029 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D21057 Graham Frye changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |graham.frye at hotmail dot= com --- Comment #5 from Graham Frye --- Created attachment 38343 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38343&action=3Dedit stack misalignment using complex #include #include //changes typedef std::complex Cx; Cx foo(int kojack) { double x=3D3, y=3Dkojack; return (x, y); } int main(int argc, char *argv[]) { Cx z1(3.0, 4.0); Cx z2(foo(4)); std::cout << "z1=3D" << z1 << std::endl; std::cout << "z2=3D" << z2 << std::endl; // compiled with gcc 4.8.4 on lxle // g++ -o bug bug.cpp //output: //z1=3D(3,4) //z2=3D(4,0) } ////////////end >>From gcc-bugs-return-523212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 13:50:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30191 invoked by alias); 26 Apr 2016 13:50:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21049 invoked by uid 48); 26 Apr 2016 13:50:47 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70797] gcc.exe: Internal compiler error: (program as) Date: Tue, 26 Apr 2016 13:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc component bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02425.txt.bz2 Content-length: 627 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70797 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org Component|c |target Severity|critical |normal --- Comment #1 from Marek Polacek --- Something in your installation is wrong, then, but it's hard to say anything without more details. Anyway, hardly a C FE issue. >>From gcc-bugs-return-523211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 13:50:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15407 invoked by alias); 26 Apr 2016 13:50:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11450 invoked by uid 48); 26 Apr 2016 13:50:23 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/70805] New: libgomp.c/for-5.c and libgomp.c++/for-13.C FAIL Date: Tue, 26 Apr 2016 13:50: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02424.txt.bz2 Content-length: 1669 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70805 Bug ID: 70805 Summary: libgomp.c/for-5.c and libgomp.c++/for-13.C FAIL Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- Host: sparc*-sun-solaris2.* Target: sparc*-sun-solaris2.* Build: sparc*-sun-solaris2.* The libgomp.c/for-5.c and libgomp.c++/for-13.C tests FAIL on 1.2 GHz UltraS= PARC T2 systems running Solaris 1[0-2]: WARNING: program timed out. FAIL: libgomp.c/for-5.c (test for excess errors) WARNING: libgomp.c/for-5.c compilation failed to produce executable WARNING: program timed out. FAIL: libgomp.c++/for-13.C (test for excess errors) WARNING: libgomp.c++/for-13.C compilation failed to produce executable It turns out that even on an otherwise idle system, compilation times are dangerously close to the default testcase timeout of 300s: real 3:28.01 user 3:25.67 sys 0.71 real 3:30.60 user 3:27.88 sys 0.71 On a 2.27 GHz Xeon X5520, I get instead: real 30.12 user 28.59 sys 0.38 real 30.65 user 28.93 sys 0.39 I long didn't noticed this because I had doubled the default timeout to 600= s, but those two tests are almost the only ones where this makes a difference. I wonder if one should either use dg-timeout-factor 2 or something else. Rainer >>From gcc-bugs-return-523213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 13:51:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35918 invoked by alias); 26 Apr 2016 13:51:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29284 invoked by uid 48); 26 Apr 2016 13:50:57 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/70805] libgomp.c/for-5.c and libgomp.c++/for-13.C FAIL Date: Tue, 26 Apr 2016 13:51: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02426.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70805 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 >>From gcc-bugs-return-523214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 13:52:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49160 invoked by alias); 26 Apr 2016 13:52:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49032 invoked by uid 48); 26 Apr 2016 13:52:17 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70753] missing diagnostic in C11 mode: sizeof, _Alignof of function type Date: Tue, 26 Apr 2016 13: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: 6.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02427.txt.bz2 Content-length: 431 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70753 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME --- Comment #4 from Marek Polacek --- =2E >>From gcc-bugs-return-523216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 14:02:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76338 invoked by alias); 26 Apr 2016 14:02:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75433 invoked by uid 48); 26 Apr 2016 14:02:41 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/51153] OpenACC implementation Date: Tue, 26 Apr 2016 14:02: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: 5.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: enhancement X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02429.txt.bz2 Content-length: 1000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51153 Thomas Schwinge changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |6.0 --- Comment #6 from Thomas Schwinge --- (In reply to Tobias Burnus from comment #4) > The basic implementation is now (=3D GCC 5) in: > See also https://gcc.gnu.org/wiki/OpenACC Compared to GCC 5, the GCC 6 release series includes a much improved implementation of the OpenACC 2.0a specification. See or the OpenACC wiki page for a high-level overview. > I think this PR can now be closed > and instead one could concentrate on the remaining issues elsewhere (PRs > with 'openacc' keyword, pending patches). ACK. >>From gcc-bugs-return-523215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 14:02:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75517 invoked by alias); 26 Apr 2016 14:02:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73374 invoked by uid 48); 26 Apr 2016 14:02:29 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70791] -Wnested-externs prints inconsistent column number Date: Tue, 26 Apr 2016 14:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02428.txt.bz2 Content-length: 719 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70791 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-04-26 CC| |mpolacek at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org Target Milestone|--- |7.0 Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Patch should be trivial. >>From gcc-bugs-return-523217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 14:06:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93660 invoked by alias); 26 Apr 2016 14:06:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93575 invoked by uid 48); 26 Apr 2016 14:06:46 -0000 From: "andras.szilard at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70495] false warning: comparison between signed and unsigned integer expressions Date: Tue, 26 Apr 2016 14:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: andras.szilard 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: version Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02430.txt.bz2 Content-length: 1145 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70495 Andr=C3=A1s changed: What |Removed |Added ---------------------------------------------------------------------------- Version|5.3.0 |6.1.0 --- Comment #7 from Andr=C3=A1s --- Presents in latest GCC/C++. https://gcc.godbolt.org/#compilers:!((compiler:g6,options:'-Wall',sourcez:M= QSwdgxgNgrgJgUwAQB4IGcAudyYHwBQBuSAtgIbgAUuANEhABbkBOAVANoC6AlAQN4EkwpDFwBm= AEwB9TEnJIAvEgAMAbiEixYTAA5ZSAEZLVGzcJAAzJFQUojPJP2EB6F0jAB7JAHdWYcABzcxFhF= gRMGBYwJABGDVCAXyJQqxs7IyQAagcnV3cvX38gkNDwyOikSQSRZNCQtNtUTJzjVsdnJDckQKyc= wJAANwR0IuiggC4GT1IAB1YQdE8YwwifBAQY9BBAsAQ4eTADmDBt3f2kXARAhBYkBAAPWfD0beX= 0UpFyqJjxGuFkiFuj5PCwANasTwnA7AWINaxNexYciYEAQaQQchYFDaPSyPBUNotBwdfIebx%2B= cZgYKhMoRH5IP4hQGhYGgiEsKFHJDASTw9LNZGo9GY7G4/T4QnZXLtPJdAoU4rUz5hemVJlJFIi= bpYFjkanIEHgyHQnlw1IIjJE63SlQwUny8ljALK2lfNUxAAs/yQLO17l1%2BpuvnZJu5vP5iOJN= pysRgSAAtHF7XLuoVKS6aW6kN9Kt7mVrVRUYuoCMkgAA%3D%3D)),filterAsm:(colouriseAs= m:!t,commentOnly:!t,directives:!t,labels:!t),version:3 >>From gcc-bugs-return-523218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 14:15:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38469 invoked by alias); 26 Apr 2016 14:15:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38341 invoked by uid 48); 26 Apr 2016 14:15:41 -0000 From: "emil.styrke at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70806] New: Missing deallocation of exception handler emergency pool breaks -static-libstdc++ with dlopen Date: Tue, 26 Apr 2016 14:15: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: emil.styrke 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02431.txt.bz2 Content-length: 2486 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70806 Bug ID: 70806 Summary: Missing deallocation of exception handler emergency pool breaks -static-libstdc++ with dlopen Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: emil.styrke at gmail dot com Target Milestone: --- There are multiple reports of benign "memory leaks" (still reachable bytes)= in eh_alloc.c, for example https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D6543= 4. And even a request for a hook to manually deallocate this memory in valgrind and similar tools: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69945 However, my use case is slightly different: Firstly, I build dynamic librar= ies with -static-libstdc++ to be able to run on systems with libstdc++ older th= an on the build machine. Secondly, I load such libraries as plugins with dlopen/dlclose. This works fine in GCC 4.9, but leaks memory in GCC 5. Each time the library is dlopened a new pool object is created, and after dlclose it will not have any references left. Valgrind shows this (after looping the dlopen/dlsym/dlclose part a few times): =3D=3D3679=3D=3D 3,707,904 bytes in 51 blocks are definitely lost in loss r= ecord 106 of 106 =3D=3D3679=3D=3D at 0x4C2BBCF: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) =3D=3D3679=3D=3D by 0x77335EF: _GLOBAL__sub_I_eh_alloc.cc (in [...]/libmock_di_plugin.so) =3D=3D3679=3D=3D by 0x40105B9: call_init.part.0 (dl-init.c:72) =3D=3D3679=3D=3D by 0x40106CA: call_init (dl-init.c:30) =3D=3D3679=3D=3D by 0x40106CA: _dl_init (dl-init.c:120) =3D=3D3679=3D=3D by 0x4015586: dl_open_worker (dl-open.c:579) =3D=3D3679=3D=3D by 0x4010463: _dl_catch_error (dl-error.c:187) =3D=3D3679=3D=3D by 0x40149A2: _dl_open (dl-open.c:663) =3D=3D3679=3D=3D by 0x6B94FC8: dlopen_doit (dlopen.c:66) =3D=3D3679=3D=3D by 0x4010463: _dl_catch_error (dl-error.c:187) =3D=3D3679=3D=3D by 0x6B9562C: _dlerror_run (dlerror.c:163) =3D=3D3679=3D=3D by 0x6B95060: dlopen@@GLIBC_2.2.5 (dlopen.c:87) =3D=3D3679=3D=3D by 0x4F303E6: load_library (dipluginhandlerimpl.cpp:60) Is there any solution to this, other than me manually calling __gnu_cxx::__freeres (mentioned in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69945) before calling dlclos= e? >>From gcc-bugs-return-523219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 14:31:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97086 invoked by alias); 26 Apr 2016 14:31:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96917 invoked by uid 48); 26 Apr 2016 14:31:06 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70786] Missing "not" breaks Ada.Text_IO.Get_Immediate(File, Item, Available) Date: Tue, 26 Apr 2016 14:31: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02432.txt.bz2 Content-length: 616 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70786 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-26 CC| |ebotcazou at gcc dot gnu.o= rg Ever confirmed|0 |1 --- Comment #1 from Eric Botcazou --- Ouch. Thanks for reporting the issue and providing the fix. >>From gcc-bugs-return-523220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 14:39:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118647 invoked by alias); 26 Apr 2016 14:39:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118491 invoked by uid 48); 26 Apr 2016 14:39:37 -0000 From: "lefticus at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70796] [DR 1030] Initialization order with braced-init-lists still broken Date: Tue, 26 Apr 2016 14:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lefticus at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02433.txt.bz2 Content-length: 445 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70796 Jason Turner changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lefticus at gmail dot com --- Comment #1 from Jason Turner --- Also related: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70792 >>From gcc-bugs-return-523221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 15:00:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1683 invoked by alias); 26 Apr 2016 15:00:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128396 invoked by uid 55); 26 Apr 2016 15:00:22 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/67784] Incorrect parsing when using declarations in for loops and typedefs Date: Tue, 26 Apr 2016 15:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02434.txt.bz2 Content-length: 913 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67784 --- Comment #11 from Marek Polacek --- Author: mpolacek Date: Tue Apr 26 14:59:40 2016 New Revision: 235446 URL: https://gcc.gnu.org/viewcvs?rev=3D235446&root=3Dgcc&view=3Drev Log: PR c/67784 * c-parser.c (c_parser_maybe_reclassify_token): New function factor= ed out of ... (c_parser_for_statement): ... here. (c_parser_if_statement): Use it. (c_parser_switch_statement): Use it. (c_parser_while_statement): Use it. * gcc.dg/pr67784-3.c: New test. * gcc.dg/pr67784-4.c: New test. * gcc.dg/pr67784-5.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr67784-3.c trunk/gcc/testsuite/gcc.dg/pr67784-4.c trunk/gcc/testsuite/gcc.dg/pr67784-5.c Modified: trunk/gcc/c/ChangeLog trunk/gcc/c/c-parser.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 15:01:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26246 invoked by alias); 26 Apr 2016 15:01:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26014 invoked by uid 55); 26 Apr 2016 15:01:41 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70791] -Wnested-externs prints inconsistent column number Date: Tue, 26 Apr 2016 15: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: 6.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02436.txt.bz2 Content-length: 546 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70791 --- Comment #2 from Marek Polacek --- Author: mpolacek Date: Tue Apr 26 15:01:09 2016 New Revision: 235447 URL: https://gcc.gnu.org/viewcvs?rev=3D235447&root=3Dgcc&view=3Drev Log: PR c/70791 * c-decl.c (pushdecl): Pass LOCUS down to warning. * gcc.dg/Wnested-externs-2.c: New test. Added: trunk/gcc/testsuite/gcc.dg/Wnested-externs-2.c Modified: trunk/gcc/c/ChangeLog trunk/gcc/c/c-decl.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 15:01:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26218 invoked by alias); 26 Apr 2016 15:01:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26022 invoked by uid 48); 26 Apr 2016 15:01:41 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70807] New: fwprop pass doesn't with incoming CDI_DOMINATORS Date: Tue, 26 Apr 2016 15:01: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: 7.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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02435.txt.bz2 Content-length: 756 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70807 Bug ID: 70807 Summary: fwprop pass doesn't with incoming CDI_DOMINATORS Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- When calculate_dominance_info (CDI_DOMINATORS); is called before fwprop pass, fwprop pass will ICE if free_dominance_info (CDI_DOMINATORS); isn't called before fwprop pass: https://gcc.gnu.org/ml/gcc/2016-03/msg00143.html I will provide a patch to trigger ICE in libgcc build on x86-64 after PR target/70155 is fixed. >>From gcc-bugs-return-523224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 15:02:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27754 invoked by alias); 26 Apr 2016 15:02:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26898 invoked by uid 48); 26 Apr 2016 15:01:56 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/67784] Incorrect parsing when using declarations in for loops and typedefs Date: Tue, 26 Apr 2016 15:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02437.txt.bz2 Content-length: 436 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67784 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #12 from Marek Polacek --- Fixed again. >>From gcc-bugs-return-523225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 15:03:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29544 invoked by alias); 26 Apr 2016 15:03:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28962 invoked by uid 48); 26 Apr 2016 15:02:49 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70791] -Wnested-externs prints inconsistent column number Date: Tue, 26 Apr 2016 15:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02438.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70791 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Marek Polacek --- Fixed. >>From gcc-bugs-return-523226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 15:47:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35947 invoked by alias); 26 Apr 2016 15:47:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35595 invoked by uid 48); 26 Apr 2016 15:46:53 -0000 From: "lucdanton at free dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70808] New: Spurious -Wzero-as-null-pointer-constant for nullptr_t Date: Tue, 26 Apr 2016 15:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lucdanton at free dot fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02439.txt.bz2 Content-length: 896 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70808 Bug ID: 70808 Summary: Spurious -Wzero-as-null-pointer-constant for nullptr_t Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lucdanton at free dot fr Target Milestone: --- The following program emits a warning when compiled with -Wzero-as-null-pointer-constant: int main() { int* no_warn =3D {}; // main.cpp:5:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] decltype( nullptr ) warn =3D {}; } Unless I'm mistaken, this is not intended as demonstrated by the innocuous no_warn variable. Happens on a variety of versions, e.g. 5.3.1 and 6, as well as multiple -std settings, e.g. c++11 and c++1z. >>From gcc-bugs-return-523227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 15:57:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87049 invoked by alias); 26 Apr 2016 15:57:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86848 invoked by uid 48); 26 Apr 2016 15:57:26 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/69489] missed vectorization for boolean loop, missed if-conversion Date: Tue, 26 Apr 2016 15:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: missed-optimization 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02440.txt.bz2 Content-length: 238 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69489 --- Comment #15 from amker at gcc dot gnu.org --- Also the case is reported not vectorized on Solaris/SPARC in PR70803. I wi= ll investigate and follow up it in that ticket. Thanks. >>From gcc-bugs-return-523228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 16:19:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22589 invoked by alias); 26 Apr 2016 16:19:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22405 invoked by uid 48); 26 Apr 2016 16:18:50 -0000 From: "egall at gwmail dot gwu.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70791] -Wnested-externs prints inconsistent column number Date: Tue, 26 Apr 2016 16:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egall at gwmail dot gwu.edu X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02441.txt.bz2 Content-length: 216 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70791 --- Comment #4 from Eric Gallager --- (In reply to Marek Polacek from comment #3) > Fixed. Thanks for the speedy response and fix! >>From gcc-bugs-return-523229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 16:25:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60996 invoked by alias); 26 Apr 2016 16:25:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60366 invoked by uid 48); 26 Apr 2016 16:24:57 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/69945] Provide an equivalent of __libc_freeres to release emergency EH pool memory Date: Tue, 26 Apr 2016 16:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cf_known_to_work everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02442.txt.bz2 Content-length: 455 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69945 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-26 Known to work| |6.0 Ever confirmed|0 |1 >>From gcc-bugs-return-523230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 17:04:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117192 invoked by alias); 26 Apr 2016 17:04:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115941 invoked by uid 48); 26 Apr 2016 17:04:13 -0000 From: "jgreenhalgh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70809] New: [AArch64] aarch64_vmls pattern should be rejected if -ffp-contract=off Date: Tue, 26 Apr 2016 17:04: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: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jgreenhalgh at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02443.txt.bz2 Content-length: 2098 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70809 Bug ID: 70809 Summary: [AArch64] aarch64_vmls pattern should be rejected if -ffp-contract=3Doff Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jgreenhalgh at gcc dot gnu.org Target Milestone: --- Target: aarch64*-*-* Take this simple testcase: void foo (float * __restrict__ __attribute__ ((aligned (16))) a, float * __restrict__ __attribute__ ((aligned (16))) x, float * __restrict__ __attribute__ ((aligned (16))) y, float * __restrict__ __attribute__ ((aligned (16))) z) { unsigned i =3D 0; for (i =3D 0; i < 256; i++) a[i] =3D x[i] - (y[i] * z[i]); } GCC for AArch64 (all versions) will generate a vectorized fmls instruction = even when given the --fp-contract=3Doff command (for trunk and 6 you'll need to = play with -mcpu options to find one which permits the combine through the cost model): (for trunk) $ gcc -O3 -ffp-contract=3Doff -mcpu=3Dxgene1 foo.c .L4: ldr q2, [x9, x4] add w5, w5, 1 ldr q1, [x8, x4] cmp w5, w7 ldr q0, [x10, x4] fmls v0.4s, v2.4s, v1.4s str q0, [x6, x4] add x4, x4, 16 bcc .L4 The problem seems pretty clear, the aarch64_vmls pattern needs to be tightened up not to fuse multiplies and subtracts when we're not in -ffp-contract=3Dfast. (define_insn "aarch64_vmls" [(set (match_operand:VDQF 0 "register_operand" "=3Dw") (minus:VDQF (match_operand:VDQF 1 "register_operand" "0") (mult:VDQF (match_operand:VDQF 2 "register_operand" "w= ") (match_operand:VDQF 3 "register_operand" "w"))))] "TARGET_SIMD" "fmls\\t%0., %2., %3." [(set_attr "type" "neon_fp_mla__scalar")] ) >>From gcc-bugs-return-523231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 17:16:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97643 invoked by alias); 26 Apr 2016 17:16:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97380 invoked by uid 48); 26 Apr 2016 17:15:57 -0000 From: "sd.foolegg at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70810] New: std::function template variadic template arguments do not unpack in function template Date: Tue, 26 Apr 2016 17:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sd.foolegg 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02444.txt.bz2 Content-length: 1692 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70810 Bug ID: 70810 Summary: std::function template variadic template arguments do not unpack in function template Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sd.foolegg at gmail dot com Target Milestone: --- std::function template variadic template arguments do not unpack in function template, like this: template void invoke(std::function f, Ts ... args) {} void foo(std::string s, int i) {} invoke(foo, "a", 1); // fail // mismatched types 'std::function' and 'void (*)(std::__cxx11::string, int) {aka void (*)(std::__cxx11::basic_string, int)}' full code : #include #include template struct Invoker { void invoke(std::function f, Ts ... args) { f(args ...); } }; template void invoke(std::function f, Ts ... args) { f(args ...); } void foo(std::string s, int i) { std::cout << "foo " << s << " " << i << std::endl; } int main() { Invoker invoker; invoker.invoke(foo, "a", 1); // ok invoke(foo, "a", 1); // fail return 0; } main.cc:24:41: note: mismatched types 'std::function' and '= void (*)(std::__cxx11::string, int) {aka void (*)(std::__cxx11::basic_string, int)}' gcc version 5.3.1 20160301 [gcc-5-branch revision 233849] (SUSE Linux) >>From gcc-bugs-return-523232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 17:19:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120800 invoked by alias); 26 Apr 2016 17:19:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120661 invoked by uid 48); 26 Apr 2016 17:19:06 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70809] [AArch64] aarch64_vmls pattern should be rejected if -ffp-contract=off Date: Tue, 26 Apr 2016 17:19: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.8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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: 4.9.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc target_milestone everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02445.txt.bz2 Content-length: 905 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70809 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-26 CC| |ktkachov at gcc dot gnu.org Target Milestone|--- |4.9.5 Ever confirmed|0 |1 Known to fail| |4.8.5, 4.9.4, 5.3.1, 6.0, | |7.0 --- Comment #1 from ktkachov at gcc dot gnu.org --- Confirmed on all branches (hence not a regression). For 4.9 and earlier (where there's no -mtune=3Dxgene1) I see the fmls with -mtune=3Dgeneric >>From gcc-bugs-return-523233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 17:51:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57832 invoked by alias); 26 Apr 2016 17:51:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57587 invoked by uid 48); 26 Apr 2016 17:50:54 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70772] Wrong warning about unspecified behavior for comparison with string literal Date: Tue, 26 Apr 2016 17:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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 cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02446.txt.bz2 Content-length: 3035 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70772 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org Known to fail| |4.9.3, 5.3.0, 6.0 --- Comment #3 from Martin Sebor --- This bug affects both the C and the C++ front ends. I mention it because w= hen developing a patch, it would be worth fixing both, and handle other equality and relational operators, as well as the substraction expression. Since th= e C rules are different than C++, the handling needs to be different for each language. The test case below shows the problems in C and documents the expected outp= ut in C++. Note that even in cases where a diagnostic is expected and issued,= the text of the diagnostic should change to reflect what the relevant standard = says (undefined behavior in C rather than unspecified). Unlike in C, in C++, the behavior of relational expressions is well defined even for pointers pointi= ng to different objects provided one compares either less that or equal to the other (it is unspecified otherwise), so the text of the diagnostic should be adjusted to reflect that. $ cat v.c && gcc -S -Wall -Wextra -Wpedantic -xc v.c void f (void) { const __PTRDIFF_TYPE__ a[] =3D { "a" =3D=3D "b", // no warning expected (behavior well defined) "a" !=3D "b", // no warning expected (behavior well defined) "a" < "b", // warning expected in C only (undefined behavior) "a" <=3D "b", // warning expected in C only (undefined behavior) "a" > "b", // warning expected in C only (undefined behavior) "a" >=3D "b", // warning expected in C only (undefined behavior) "a" - "b" // warning expected (undefined behavior) }; (void)a; } v.c: In function =E2=80=98f=E2=80=99: v.c:4:9: warning: comparison with string literal results in unspecified behavior [-Waddress] "a" =3D=3D "b", // no warning expected (behavior well defined) ^~ v.c:5:9: warning: comparison with string literal results in unspecified behavior [-Waddress] "a" !=3D "b", // no warning expected (behavior well defined) ^~ v.c:6:9: warning: comparison with string literal results in unspecified behavior [-Waddress] "a" < "b", // warning expected in C only (undefined behavior) ^ v.c:7:9: warning: comparison with string literal results in unspecified behavior [-Waddress] "a" <=3D "b", // warning expected in C only (undefined behavior) ^~ v.c:8:9: warning: comparison with string literal results in unspecified behavior [-Waddress] "a" > "b", // warning expected in C only (undefined behavior) ^ v.c:9:9: warning: comparison with string literal results in unspecified behavior [-Waddress] "a" >=3D "b", // warning expected in C only (undefined behavior) ^~ >>From gcc-bugs-return-523234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 18:25:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95992 invoked by alias); 26 Apr 2016 18:25:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95887 invoked by uid 48); 26 Apr 2016 18:25:13 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/70811] New: error on #pragma GCC diagnostic in an enum Date: Tue, 26 Apr 2016 18:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02447.txt.bz2 Content-length: 1744 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70811 Bug ID: 70811 Summary: error on #pragma GCC diagnostic in an enum Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- GCC gives a syntax error when #pragma GCC diagnostic appears in the enumeraror-list of a definition of an enumerator (for example, when attempt= ing to suppress a warning about the constant-expression used to assign to one of the enumerators, as in the example below). GCC does not give an error when #pragma push_macro is used in the same place. I couldn't find anything about this limitation in the manual. If it is a k= nown limitation or one that cannot be fixed the manual should be updated to ment= ion it. AFAICS, the C standard allows implementations to fail to translate programs with implementation-defined pragmas but it does require them to document this (implementation-defined) behavior. $ cat -n v.c && /home/msebor/build/gcc-trunk-git/gcc/xgcc -B/home/msebor/build/gcc-trunk-git/gcc -S -Wall -Wextra -Wpedantic -xc v.c 1 enum E 2 { 3 e =3D "a" - "a" 4 }; 5=20=20 6 enum F 7 { 8 #pragma GCC diagnostic ignored "-Waddress" 9 f =3D "b" - "b" 10 }; 11=20=20 v.c:3:9: warning: enumerator value for =E2=80=98e=E2=80=99 is not an intege= r constant expression [-Wpedantic] e =3D "a" - "a" ^~~ v.c:8:9: error: expected identifier before =E2=80=98#pragma=E2=80=99 #pragma GCC diagnostic ignored "-Waddress" ^~~ >>From gcc-bugs-return-523235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 18:29:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108028 invoked by alias); 26 Apr 2016 18:29:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107698 invoked by uid 48); 26 Apr 2016 18:29:22 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70811] error on #pragma GCC diagnostic in an enum Date: Tue, 26 Apr 2016 18:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02448.txt.bz2 Content-length: 489 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70811 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Component|preprocessor |c --- Comment #1 from Andrew Pinski --- The preprocessor is not involved in this case, it just passes down #pragma = to the C/C++ front-end. Does C++ front-end fail too? >>From gcc-bugs-return-523236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 19:08:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79878 invoked by alias); 26 Apr 2016 19:08:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79675 invoked by uid 48); 26 Apr 2016 19:08:35 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70811] error on #pragma GCC diagnostic in an enum Date: Tue, 26 Apr 2016 19:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: diagnostic, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02449.txt.bz2 Content-length: 1385 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70811 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic, rejects-valid Known to fail| |4.9.3, 5.3.0, 6.0 --- Comment #2 from Martin Sebor --- G++ gives several errors. The first one is more meaningful than the one is= sued by GCC. The rest suggest it's too confused to gracefully recover. FWIW, I wonder if it would be worth adding a c-c++ Component to Bugzilla for reports that affect both front ends but that might need a separate fix in e= ach. (Not sure if this is one such case but I know there are some.) $ cat -n v.c && /home/msebor/build/gcc-trunk-git/gcc/xgcc -B/home/msebor/build/gcc-trunk-git/gcc -S -Wall -Wextra -Wpedantic -xc++ v.c 1 enum E 2 { 3 #pragma GCC diagnostic push 4 e 5 }; v.c:3:9: error: =E2=80=98#pragma=E2=80=99 is not allowed here #pragma GCC diagnostic push ^~~ v.c:4:5: error: expected =E2=80=98}=E2=80=99 before =E2=80=98e=E2=80=99 e ^ v.c:5:3: error: expected initializer before =E2=80=98}=E2=80=99 token }; ^ v.c:5:3: error: expected declaration before =E2=80=98}=E2=80=99 token >>From gcc-bugs-return-523237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 20:01:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79985 invoked by alias); 26 Apr 2016 20:01:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79876 invoked by uid 48); 26 Apr 2016 20:01:43 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70812] New: Delay folding in C front-end Date: Tue, 26 Apr 2016 20:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02450.txt.bz2 Content-length: 833 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70812 Bug ID: 70812 Summary: Delay folding in C front-end Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: glisse at gcc dot gnu.org Target Milestone: --- Hello, gcc.dg/gomp/loop-1.c recently gained a few xfails https://gcc.gnu.org/ml/gcc-patches/2016-04/msg01417.html Those happen because the C front-end folds i+=3Di to i*=3D2 before the OMP = code has a chance to check if the increment has a supported form. I think the problem only happens for forms which are invalid anyway. If you believe the behavior is fine, then we could update the testcase so t= he xfails become passes. >>From gcc-bugs-return-523238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 20:06:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86512 invoked by alias); 26 Apr 2016 20:06:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86206 invoked by uid 48); 26 Apr 2016 20:06:35 -0000 From: "ch3root at openwall dot com" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjLzcwODEzXSBOZXc6IFdyb25nIHdhcm5pbmcgIicwJyBmbGFnIGln?= =?UTF-8?B?bm9yZWQgd2l0aCBwcmVjaXNpb24gYW5kIOKAmCVk4oCZIGdudV9wcmludGYg?= =?UTF-8?B?Zm9ybWF0Ig==?= Date: Tue, 26 Apr 2016 20:06: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ch3root at openwall 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02451.txt.bz2 Content-length: 1606 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70813 Bug ID: 70813 Summary: Wrong warning "'0' flag ignored with precision and =E2=80=98%d=E2=80=99 gnu_printf format" Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ch3root at openwall dot com Target Milestone: --- When compiling this program: #include int main() { printf("abc" "%05.*d\n", -1, 1); } I get the following error message: example.c: In function =E2=80=98main=E2=80=99: example.c:5:10: warning: '0' flag ignored with precision and =E2=80=98%d=E2= =80=99 gnu_printf format [-Wformat=3D] printf("abc" ^~~~~ The output from the program: abc00001 There are two issues here. 1. Wrong position for the warning. 2. The warning itself is wrong in this corner case. Yes, '0' flag is ordina= rily ignored with precision and %d per C11, 7.21.6.1p6: "For d, i, o, u, x, and X conversions, if a precision is specified, the 0 flag is ignored." But the precision is negative here and C11, 7.21.6.1p5, reads: "A negative precision argument is taken as if the precision were omitted." The output from the program demonstrates that indeed '0' flag is not ignore= d. Maybe it's better to limit this warning to cases where precision is known at compile time (e.g., for simplicity, when it's not '*')? This gcc bug was pointed out to me in https://twitter.com/spun_off/status/723558401599524865 . >>From gcc-bugs-return-523239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 20:38:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97206 invoked by alias); 26 Apr 2016 20:38:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96981 invoked by uid 48); 26 Apr 2016 20:38:35 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70812] Delay folding further in C front-end Date: Tue, 26 Apr 2016 20:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02452.txt.bz2 Content-length: 552 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70812 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Summary|Delay folding in C |Delay folding further in C |front-end |front-end --- Comment #1 from Andrew Pinski --- The folding is delayed, just not enough it seems. >>From gcc-bugs-return-523240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 20:57:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53842 invoked by alias); 26 Apr 2016 20:57:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53560 invoked by uid 48); 26 Apr 2016 20:57:46 -0000 From: "mark at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/51358] incorrect/missing location for function arg, -O0, without VTA Date: Tue, 26 Apr 2016 20:57: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: 4.7.0 X-Bugzilla-Keywords: wrong-debug X-Bugzilla-Severity: normal X-Bugzilla-Who: mark 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02453.txt.bz2 Content-length: 579 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51358 --- Comment #12 from Mark Wielaard --- Having to parse line information to skip the prologue us somewhat inconveni= ent. Especially since GCC doesn't actually emit DW_LNS_set_prologue_end, you hav= e to use some heuristic to determine whether you have reach the end of the prolo= gue. As an alternative it might be nice if GCC could emit a DW_AT_GNU_entry_breakpoint that indicates where the "valid scope" of the function starts (it could either be an address or a constant to be added to low_pc). >>From gcc-bugs-return-523241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 21:12:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51054 invoked by alias); 26 Apr 2016 21:12:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50923 invoked by uid 48); 26 Apr 2016 21:11:57 -0000 From: "numien at deathwyrm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70794] vector.push_back() crashes with std::bad_alloc after 2^32 calls Date: Tue, 26 Apr 2016 21:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: numien at deathwyrm 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02454.txt.bz2 Content-length: 1508 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70794 --- Comment #4 from numien at deathwyrm dot com --- $ gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=3Dc,c++,objc,obj-c++,fortran,ada,go,lto --prefix=3D/usr --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-bugurl=3Dhttp://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=3Dposix --enable-checking=3Drelease --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=3Dgnu --enable-plugin --enable-initfini-array --disable-libgcj --with-isl --enable-libmpx --enable-gnu-indirect-function --with-tune=3Dgeneric --with-arch_32=3Di686 --build=3Dx86_64-redhat-linux Thread model: posix gcc version 5.3.1 20151207 (Red Hat 5.3.1-2) (GCC)=20 $ ulimit -m unlimited $ ulimit -v unlimited $ g++ -m64 -O2 -save-temps -o test test.cpp (no output) $ ./test=20 Reported max: 18446744073709551615 4294932terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc 4294967297 Aborted (core dumped) Preprocessed source attached... just in case my headers are different from = the standard somehow. It's certainly possible that the problem is local to my system, though I'm not sure why it would be, it's a pretty average setup. >>From gcc-bugs-return-523242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 21:12:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52493 invoked by alias); 26 Apr 2016 21:12:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52270 invoked by uid 48); 26 Apr 2016 21:12:38 -0000 From: "numien at deathwyrm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70794] vector.push_back() crashes with std::bad_alloc after 2^32 calls Date: Tue, 26 Apr 2016 21:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: numien at deathwyrm 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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02455.txt.bz2 Content-length: 226 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70794 --- Comment #5 from numien at deathwyrm dot com --- Created attachment 38344 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38344&action=3Dedit Preprocessed source >>From gcc-bugs-return-523243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 21:40:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111059 invoked by alias); 26 Apr 2016 21:40:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110843 invoked by uid 48); 26 Apr 2016 21:40:22 -0000 From: "yyc1992 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70814] New: atomic store of __int128 is not lock free on aarch64 Date: Tue, 26 Apr 2016 21:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yyc1992 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02456.txt.bz2 Content-length: 772 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70814 Bug ID: 70814 Summary: atomic store of __int128 is not lock free on aarch64 Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: yyc1992 at gmail dot com Target Milestone: --- `std::atomic<__int128>::store` on aarch64 is not lock free and generates a function call `__atomic_store_16`. However, required atomic instructions (`stlxp`) exists in armv8 and is used by clang. Should gcc use the same instruction as well? Ref https://llvm.org/bugs/show_bug.cgi?id=3D27081, which fixes the clang co= degen for this case. >>From gcc-bugs-return-523244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 22:18:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75313 invoked by alias); 26 Apr 2016 22:18:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75074 invoked by uid 48); 26 Apr 2016 22:18:38 -0000 From: "pvdp.bugzilla at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70815] New: ICE when using read statement applied to deferred-length string pointer as derived type component Date: Tue, 26 Apr 2016 22:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pvdp.bugzilla 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02457.txt.bz2 Content-length: 2349 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70815 Bug ID: 70815 Summary: ICE when using read statement applied to deferred-length string pointer as derived type component Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: pvdp.bugzilla at gmail dot com Target Milestone: --- Read statements applied to deferred-length string pointers inside derived t= ypes cause an ICE if upper bound is omitted. EXAMPLE: program mwe implicit none type tStruc character(len=3D:),pointer :: str end type tStruc type(tStruc) :: t character(len=3D300),target :: buffer character(len=3D:),pointer :: strptr integer :: i, j, k buffer =3D "10 11 12" t%str =3D> buffer strptr =3D> buffer read(t%str(3:),*) j ! <-- causes ICE read(t%str(3:len(t%str)),*) j ! <-- work-around read(buffer(3:),*) i ! works read(strptr(3:),*) k ! works print *, i,j,k end program ICE REPORT MINGW: f951.exe: out of memory allocating 1718048288 bytes ICE REPORT LINUX: f951: internal compiler error: Segmentation fault 0xa3e2ef crash_signal ../../src/gcc/toplev.c:383 0x5f375e gfc_copy_shape(__mpz_struct (*) [1], int) ../../src/gcc/fortran/expr.c:708 0x5f3805 gfc_copy_expr(gfc_expr*) ../../src/gcc/fortran/expr.c:393 0x64dbb7 gfc_resolve_substring_charlen(gfc_expr*) ../../src/gcc/fortran/resolve.c:4575 0x64b555 gfc_resolve_expr(gfc_expr*) ../../src/gcc/fortran/resolve.c:6262 0x612926 gfc_resolve_dt(gfc_dt*, locus*) ../../src/gcc/fortran/io.c:2915 0x652967 gfc_resolve_code(gfc_code*, gfc_namespace*) ../../src/gcc/fortran/resolve.c:10375 0x654932 resolve_codes ../../src/gcc/fortran/resolve.c:15057 0x654a21 gfc_resolve(gfc_namespace*) ../../src/gcc/fortran/resolve.c:15091 0x6402ba resolve_all_program_units ../../src/gcc/fortran/parse.c:5282 0x6402ba gfc_parse_file() ../../src/gcc/fortran/parse.c:5525 0x67f9d5 gfc_be_parse_file ../../src/gcc/fortran/f95-lang.c:229 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. >>From gcc-bugs-return-523245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 22:25:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81257 invoked by alias); 26 Apr 2016 22:25:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81170 invoked by uid 55); 26 Apr 2016 22:25:15 -0000 From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70241] Enumerators introduced out-of-line by extending an opaque enum definition always get private accessibility Date: Tue, 26 Apr 2016 22:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02458.txt.bz2 Content-length: 970 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70241 --- Comment #2 from Patrick Palka --- Author: ppalka Date: Tue Apr 26 22:24:43 2016 New Revision: 235456 URL: https://gcc.gnu.org/viewcvs?rev=3D235456&root=3Dgcc&view=3Drev Log: Fix PR c++/70241 (inconsistent access with in-class enumeration) gcc/cp/ChangeLog: PR c++/70241 * decl.c (build_enumerator): Set current_access_specifier when declaring an enumerator belonging to an in-class enumeration. * parser.c (cp_parser_check_access_in_redecleration): Also consider in-class enumerations. gcc/testsite/ChangeLog: PR c++/70241 * g++.dg/cpp0x/enum32.C: New test. * g++.dg/cpp0x/enum33.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/enum32.C trunk/gcc/testsuite/g++.dg/cpp0x/enum33.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 22:58:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28261 invoked by alias); 26 Apr 2016 22:58:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27234 invoked by uid 55); 26 Apr 2016 22:58:08 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66639] declare __func__ , __FUNCTION__ & __PRETTY_FUNCTION__ as constexpr Date: Tue, 26 Apr 2016 22:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02459.txt.bz2 Content-length: 490 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66639 --- Comment #5 from Martin Sebor --- Author: msebor Date: Tue Apr 26 22:57:34 2016 New Revision: 235458 URL: https://gcc.gnu.org/viewcvs?rev=3D235458&root=3Dgcc&view=3Drev Log: PR c++/66639 - declare __func__ , __FUNCTION__ & __PRETTY_FUNCTION__ conste= xpr * g++.dg/cpp1y/func_constexpr.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp1y/func_constexpr.C Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 26 22:59:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30294 invoked by alias); 26 Apr 2016 22:59:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30032 invoked by uid 48); 26 Apr 2016 22:58:55 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66639] declare __func__ , __FUNCTION__ & __PRETTY_FUNCTION__ as constexpr Date: Tue, 26 Apr 2016 22:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02460.txt.bz2 Content-length: 460 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66639 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Martin Sebor --- Looks like this has been implemented/fixed. >>From gcc-bugs-return-523248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 00:00:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61620 invoked by alias); 27 Apr 2016 00:00:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61108 invoked by uid 48); 27 Apr 2016 00:00:42 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66561] __builtin_LINE at al. should yield constant expressions Date: Wed, 27 Apr 2016 00:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02461.txt.bz2 Content-length: 201 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66561 --- Comment #2 from Martin Sebor --- Patch posted for review: https://gcc.gnu.org/ml/gcc-patches/2016-04/msg01565.html >>From gcc-bugs-return-523249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 01:51:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62850 invoked by alias); 27 Apr 2016 01:51:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62472 invoked by uid 48); 27 Apr 2016 01:51:07 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70816] New: bogus error __builtin_strcmp is not a constant expression in a constexpr function Date: Wed, 27 Apr 2016 01:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02462.txt.bz2 Content-length: 1906 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70816 Bug ID: 70816 Summary: bogus error __builtin_strcmp is not a constant expression in a constexpr function Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- G++ accepts most calls to __builtin_strcmp with constant arguments in const= expr contexts, except when the intrinsic is invoked on local arrays defined in a constexpr function. The test case below shows a number of accepted calls a= long with the one that's incorrectly rejected. $ cat u.c && /home/msebor/build/gcc-trunk-git/gcc/xgcc -B/home/msebor/build/gcc-trunk-git/gcc -Wall -Wextra -Wpedantic -xc++ u.c constexpr int f0 () { return __builtin_strcmp ("a", "b"); } constexpr int f1 () { const char a [] =3D "a"; const char b [] =3D "b"; return __builtin_strcmp (a, b); } constexpr int f2 (const char *a, const char *b) { int d =3D 0; do { d =3D *b - *a; } while (*a++ && *b++); return d; } constexpr int f3 () { const char s [] =3D "a"; const char t [] =3D "b"; const char *a =3D s; const char *b =3D t; int d =3D 0; do { d =3D *b - *a; } while (*a++ && *b++); return d; } constexpr char a [] =3D "a"; constexpr char b [] =3D "b"; constexpr int i0 =3D __builtin_strcmp ("a", "b"); constexpr int i1 =3D __builtin_strcmp (a, b); constexpr int i2 =3D f1 (); constexpr int i3 =3D f2 (a, b); constexpr int i4 =3D f3 (); u.c:42:23: in constexpr expansion of =E2=80=98f1()=E2=80=99 u.c:10:27: error: =E2=80=98__builtin_strcmp(((const char*)(& a)), ((const c= har*)(& b)))=E2=80=99 is not a constant expression return __builtin_strcmp (a, b); ~~~~~~~~~~~~~~~~~^~~~~~ >>From gcc-bugs-return-523250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 03:22:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42337 invoked by alias); 27 Apr 2016 03:22:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42122 invoked by uid 48); 27 Apr 2016 03:22:04 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67026] GCC incorrectly rejects well-formed constexpr function definition Date: Wed, 27 Apr 2016 03: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: unknown X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on cc cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02463.txt.bz2 Content-length: 1287 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67026 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2015-08-29 00:00:00 |2016-4-26 CC| |msebor at gcc dot gnu.org Known to fail| |5.3.0, 6.0 --- Comment #5 from Martin Sebor --- All test cases still fail with the current trunk. I've updated the Known to fail field to reflect that. $ cat z.cpp && /home/msebor/build/gcc-trunk-git/gcc/xgcc -B/home/msebor/build/gcc-trunk-git/gcc -S -Wall -Wextra -Wpedantic z.cpp void g () { } constexpr int f0 () { return 0; g (); } constexpr int f1 () { return 0; throw 0; } z.cpp: In function =E2=80=98constexpr int f0()=E2=80=99: z.cpp:2:35: error: call to non-constexpr function =E2=80=98void g()=E2=80=99 constexpr int f0 () { return 0; g (); } ~~^~ z.cpp: In function =E2=80=98constexpr int f1()=E2=80=99: z.cpp:3:42: error: expression =E2=80=98=E2=80=99 is not a= constant-expression constexpr int f1 () { return 0; throw 0; } ^ >>From gcc-bugs-return-523251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 03:29:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55582 invoked by alias); 27 Apr 2016 03:29:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55327 invoked by uid 48); 27 Apr 2016 03:29:00 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67824] constexpr char* compare operations not constexpr, but char[] operations ARE Date: Wed, 27 Apr 2016 03:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on cc cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02464.txt.bz2 Content-length: 1224 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67824 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2015-11-25 00:00:00 |2016-4-26 CC| |msebor at gcc dot gnu.org Known to fail| |4.9.3, 5.3.0, 6.0 --- Comment #4 from Martin Sebor --- Confirmed with all supported versions of GCC, including today's top of trun= k: $ cat z.cpp && /home/msebor/build/gcc-trunk-git/gcc/xgcc -B/home/msebor/build/gcc-trunk-git/gcc -S -Wall -Wextra -Wpedantic -fdump-tree-optimized=3D/dev/stdout -xc++ z.cpp constexpr const char s[] =3D "1234"; constexpr const char* p =3D "1234"; static_assert (s < s + 1, "This works"); static_assert (p < p + 1, "This fails"); z.cpp:5:1: error: non-constant condition for static assertion static_assert (p < p + 1, "This fails"); ^~~~~~~~~~~~~ z.cpp:5:18: error: =E2=80=98(((const char*)"1234") < (((const char*)"1234")= + 1u))=E2=80=99 is not a constant expression static_assert (p < p + 1, "This fails"); ~~^~~~~~~ >>From gcc-bugs-return-523252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 04:45:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96696 invoked by alias); 27 Apr 2016 04:45:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96229 invoked by uid 48); 27 Apr 2016 04:44:56 -0000 From: "physiker at toast2 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70817] New: Internal compiler error coarrays -finit-real=snan Date: Wed, 27 Apr 2016 04:45: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: physiker at toast2 dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02465.txt.bz2 Content-length: 3835 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70817 Bug ID: 70817 Summary: Internal compiler error coarrays -finit-real=3Dsnan Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: physiker at toast2 dot net Target Milestone: --- Compiling the file t.f90 causes gfortran version 5.3 (OpenCoarrays-1.4.0) a= nd gcc-6.0.1-RC-20160423 (OpenCoarrays current git version) to crash with an internal compiler error. Without the option -finit-real=3Dsnan the code com= piles without errors. t.f90 PROGRAM f IMPLICIT NONE REAL(4), PARAMETER :: zero =3D 0.0e0_4 INTEGER :: n[*] REAL (4) :: p[*] REAL (4) :: h n =3D 1 h =3D REAL(n, KIND=3D4) p =3D zero END PROGRAM f Driving: gfortran-6 -Wl,-flat_namespace --verbose t.f90 -finit-real=3Dsnan = -L /Users/Peter/Downloads/opencoarrays/opencoarrays-build/lib -fcoarray=3Dlib -lcaf_mpi -I/Users/Peter/Downloads/opencoarrays/prerequisites/mpich-3.1.4-installatio= n/include -I/Users/Peter/Downloads/opencoarrays/prerequisites/mpich-3.1.4-installatio= n/include -L/Users/Peter/Downloads/opencoarrays/prerequisites/mpich-3.1.4-installatio= n/lib -lmpifort -lmpi -lpmpi -mmacosx-version-min=3D10.9.4 -l gfortran -shared-li= bgcc Using built-in specs. COLLECT_GCC=3Dgfortran-6 COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc/x86_64-apple-darwin13.4.0/6.0.= 1/lto-wrapper Target: x86_64-apple-darwin13.4.0 Configured with: ../gcc-6.0.1-RC-20160423/configure --enable-languages=3Dc,c++,fortran,lto --with-gmp=3D/sw --with-libiconv-pre= fix=3D/sw --with-isl=3D/sw --with-mpc=3D/sw --with-system-zlib --program-suffix=3D-6 Thread model: posix gcc version 6.0.1 20160423 (prerelease) (GCC)=20 COLLECT_GCC_OPTIONS=3D'-v' '-finit-real=3Dsnan' '-L/Users/Peter/Downloads/opencoarrays/opencoarrays-build/lib' '-fcoarray= =3Dlib' '-I' '/Users/Peter/Downloads/opencoarrays/prerequisites/mpich-3.1.4-installation= /include' '-I' '/Users/Peter/Downloads/opencoarrays/prerequisites/mpich-3.1.4-installation= /include' '-L/Users/Peter/Downloads/opencoarrays/prerequisites/mpich-3.1.4-installati= on/lib' '-mmacosx-version-min=3D10.9.4' '-shared-libgcc' '-mtune=3Dcore2' /usr/local/libexec/gcc/x86_64-apple-darwin13.4.0/6.0.1/f951 t.f90 -I /Users/Peter/Downloads/opencoarrays/prerequisites/mpich-3.1.4-installation/= include -I /Users/Peter/Downloads/opencoarrays/prerequisites/mpich-3.1.4-installation/= include -fPIC -quiet -dumpbase t.f90 -mmacosx-version-min=3D10.9.4 -mtune=3Dcore2 -= auxbase t -version -finit-real=3Dsnan -fcoarray=3Dlib -fintrinsic-modules-path /usr/local/lib/gcc/x86_64-apple-darwin13.4.0/6.0.1/finclude -o /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//cc821ws8.s GNU Fortran (GCC) version 6.0.1 20160423 (prerelease) (x86_64-apple-darwin13.4.0) compiled by GNU C version 6.0.1 20160423 (prerelease), GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version 0.14 or 0.13 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU Fortran2008 (GCC) version 6.0.1 20160423 (prerelease) (x86_64-apple-darwin13.4.0) compiled by GNU C version 6.0.1 20160423 (prerelease), GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version 0.14 or 0.13 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 t.f90:5:0: REAL (4) :: p[*] internal compiler error: in fold_convert_loc, at fold-const.c:2256 t.f90:5:0: internal compiler error: Abort trap: 6 gfortran-6: internal compiler error: Abort trap: 6 (program f951) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >>From gcc-bugs-return-523253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 06:43:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100102 invoked by alias); 27 Apr 2016 06:43:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84507 invoked by uid 48); 27 Apr 2016 06:43:23 -0000 From: "abhijithr1 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70797] gcc.exe: Internal compiler error: (program as) Date: Wed, 27 Apr 2016 06: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: abhijithr1 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02466.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70797 --- Comment #2 from Abhijith Raghavendra --- (In reply to Marek Polacek from comment #1) > Something in your installation is wrong, then, but it's hard to say anyth= ing > without more details. Anyway, hardly a C FE issue. Thanks a lot for your reply. What details i should provide so that you can = tell in detail regarding this issue. >>From gcc-bugs-return-523254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 07:46:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92864 invoked by alias); 27 Apr 2016 07:46:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92511 invoked by uid 55); 27 Apr 2016 07:46:32 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70683] [7 Regression] -fcompare-debug bug with -fsanitize=address Date: Wed, 27 Apr 2016 07:46: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: 6.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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02467.txt.bz2 Content-length: 1224 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70683 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Apr 27 07:45:57 2016 New Revision: 235469 URL: https://gcc.gnu.org/viewcvs?rev=3D235469&root=3Dgcc&view=3Drev Log: PR sanitizer/70683 * tree.h (inchash::add_expr): Add FLAGS argument. * tree.c (inchash::add_expr): Likewise. If not OEP_ADDRESS_OF, use STRIP_NOPS first. For INTEGER_CST assert not OEP_ADDRESS_OF. For REAL_CST and !HONOR_SIGNED_ZEROS (t) hash +/- 0 the same. Formatting fix. Adjust recursive calls. For tcc_comparison, if swap_tree_comparison (code) is smaller than code, hash that and arguments in the other order. Hash CONVERT_EXPR the same as NOP_EXPR. For OEP_ADDRESS_OF hash MEM_REF with 0 offset of ADDR_EXPR of decl as the decl itself. Add or remove OEP_ADDRESS_OF from recursive flags as needed. For FMA_EXPR, WIDEN_MULT_{PLUS,MINUS}_EXPR hash the first two operands commutatively and only the third one normally. For internal CALL_EXPR hash in CALL_EXPR_IFN. Modified: trunk/gcc/ChangeLog trunk/gcc/tree.c trunk/gcc/tree.h >>From gcc-bugs-return-523255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 07:50:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97724 invoked by alias); 27 Apr 2016 07:50:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97621 invoked by uid 55); 27 Apr 2016 07:50:22 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70759] Ada rts fails to build with -mabi=ilp32 Date: Wed, 27 Apr 2016 07:50: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: 6.0 X-Bugzilla-Keywords: assemble-failure, build X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02468.txt.bz2 Content-length: 757 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70759 --- Comment #3 from Eric Botcazou --- Author: ebotcazou Date: Wed Apr 27 07:49:49 2016 New Revision: 235472 URL: https://gcc.gnu.org/viewcvs?rev=3D235472&root=3Dgcc&view=3Drev Log: PR ada/70759 * stor-layout.h (internal_reference_types): Delete. * stor-layout.c (reference_types_internal): Likewise. (internal_reference_types): Likewise. (layout_type) : Adjust. ada/ * gcc-interface/misc.c (gnat_init): Do not call internal_reference_types. Modified: trunk/gcc/ChangeLog trunk/gcc/ada/ChangeLog trunk/gcc/ada/gcc-interface/misc.c trunk/gcc/stor-layout.c trunk/gcc/stor-layout.h >>From gcc-bugs-return-523256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 07:57:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38145 invoked by alias); 27 Apr 2016 07:57:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38006 invoked by uid 48); 27 Apr 2016 07:57:01 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70804] Missed tail-call Date: Wed, 27 Apr 2016 07:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02469.txt.bz2 Content-length: 1290 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70804 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-27 Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- Confirmed on x86_64. /* Make sure the tail invocation of this function does not refer to local variables. */ FOR_EACH_LOCAL_DECL (cfun, idx, var) { if (TREE_CODE (var) !=3D PARM_DECL && auto_var_in_fn_p (var, cfun->decl) && (ref_maybe_used_by_stmt_p (call, var) || call_may_clobber_ref_p (call, var))) return; } prevents this. void f() () { struct B b; : MEM[(struct E *)&b]._vptr.E =3D &MEM[(void *)&_ZTV1E + 16B]; E::destroy (&b.D.2301); b =3D{v} {CLOBBER}; return; here ::destroy may use/clobber the stack-local b. Not sure if we can argue that if after the tailcall there is a clobber of b then that is safe or what exactly was the logic with the check. >>From gcc-bugs-return-523257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 08:02:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52425 invoked by alias); 27 Apr 2016 08:02:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52319 invoked by uid 48); 27 Apr 2016 08:02:24 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70806] Missing deallocation of exception handler emergency pool breaks -static-libstdc++ with dlopen Date: Wed, 27 Apr 2016 08:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02470.txt.bz2 Content-length: 898 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70806 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-27 CC| |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- No, there is no solution to dlclose of libstdc++ (or a lib statically linki= ng libstdc++/libsupc++) leaking that memory. I can imagine that some configury could be added to make the allocation sta= tic (the plan was to add a way to control the pool size via the environment whi= ch is why it is now a dynamic allocation rather than a static one). >>From gcc-bugs-return-523258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 08:08:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65891 invoked by alias); 27 Apr 2016 08:08:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65702 invoked by uid 48); 27 Apr 2016 08:08:29 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70807] fwprop pass ICE with incoming CDI_DOMINATORS Date: Wed, 27 Apr 2016 08:08: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02471.txt.bz2 Content-length: 722 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70807 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #1 from Richard Biener --- fwprop already calculates dominance info and frees it as well. It invalida= tes it via calling purge_dead_edges. It also calls cleanup_cfg twice for no go= od reason (in fwprop_done and after it). As dominance calculation does a verify-dominance info dom info should be up-to-date there. freeing it before fwprop can't fix anything. >>From gcc-bugs-return-523259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 08:16:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96659 invoked by alias); 27 Apr 2016 08:16:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96556 invoked by uid 48); 27 Apr 2016 08:16:10 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70812] Delay folding further in C front-end Date: Wed, 27 Apr 2016 08:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02472.txt.bz2 Content-length: 1253 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70812 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-27 CC| |jason at gcc dot gnu.org, | |jsm28 at gcc dot gnu.org, | |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- Yeah, we still rely on all of the GENERIC eventually being fold()ed by the frontends. gimplification doesn't re-fold things before gimplifying it and the generated GIMPLE while most of it being folded via fold_stmt cannot (ye= t) recover the missing use-def links and only sees single GIMPLE stmt expressi= ons (I'm working on fixing that). In the wonderful new world we'd build all GIMPLE with the match-and-simplify machinery during gimplification and would not need any folding (besides constexpr and initializers) on GENERIC done by the frontends. >>From gcc-bugs-return-523260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 08:16:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97396 invoked by alias); 27 Apr 2016 08:16:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96711 invoked by uid 48); 27 Apr 2016 08:16:24 -0000 From: "tcorbat at hsr dot ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70818] New: Multiple calls of virtual base class contructor (with braced initialization) Date: Wed, 27 Apr 2016 08:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: tcorbat at hsr dot ch 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02473.txt.bz2 Content-length: 1488 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70818 Bug ID: 70818 Summary: Multiple calls of virtual base class contructor (with braced initialization) Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tcorbat at hsr dot ch Target Milestone: --- I've encountered a surprising behavior of a resulting executable when compi= ling the following code (g++ -std=3Dc++11): - main.cpp --------------------------------------------- #include struct V { V(){std::cout << "V()\n";} }; struct A : virtual V { A() : V{} {std::cout << "A()\n";} }; struct B : A { B(): V{}, A{} {std::cout << "B()\n";} }; int main(int argc, char **argv) { B b{}; } -------------------------------------------------------- I expected each constructor being called once, since B is responsible for constructing V and construction of V as base of A is omitted(C++ Standard [class.base.init]/7). But surprisingly the output was as follows: V() V() A() B() This behavior changes when I modify the B constructor to call the A constru= ctor with parentheses instead of braced initializers: B(): V{}, A() {std::cout << "B()\n";} This results in the expected output: V() A() B() According to my understanding both versions should behave the same and the former is a bug. >>From gcc-bugs-return-523261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 08:27:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41211 invoked by alias); 27 Apr 2016 08:27:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32355 invoked by uid 48); 27 Apr 2016 08:27:36 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70760] [6/7 regression] wrong generated code for std::make_unique with -fipa-pta Date: Wed, 27 Apr 2016 08:27: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02474.txt.bz2 Content-length: 307 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 --- Comment #13 from Richard Biener --- Thanks. I'm currently fixing PR70785 to get that testing coverage back and will go forward with this fix after I can successfully test it with a LTO bootst= rap with IPA PTA enabled. >>From gcc-bugs-return-523262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 09:24:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20786 invoked by alias); 27 Apr 2016 09:23:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20606 invoked by uid 48); 27 Apr 2016 09:23:46 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/70595] Cilk Plus testsuite needs massive cleanup Date: Wed, 27 Apr 2016 09:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_file_loc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02475.txt.bz2 Content-length: 516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70595 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://gcc.gnu.org/ml/gcc- | |patches/2016-04/msg01596.ht | |ml --- Comment #3 from Rainer Orth --- Patch submitted. >>From gcc-bugs-return-523263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 09:55:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50635 invoked by alias); 27 Apr 2016 09:55:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47887 invoked by uid 48); 27 Apr 2016 09:55:13 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/55922] brace initializing parent cause bogus virtual base constructor calls Date: Wed, 27 Apr 2016 09:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.7.2 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02476.txt.bz2 Content-length: 438 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55922 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tcorbat at hsr dot ch --- Comment #3 from Jonathan Wakely --- *** Bug 70818 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-523264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 09:55:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50647 invoked by alias); 27 Apr 2016 09:55:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47870 invoked by uid 48); 27 Apr 2016 09:55:13 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70818] Multiple calls of virtual base class contructor (with braced initialization) Date: Wed, 27 Apr 2016 09:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: keywords bug_status resolution bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02477.txt.bz2 Content-length: 626 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70818 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE Severity|trivial |normal --- Comment #1 from Jonathan Wakely --- This is a dup of PR 55922 *** This bug has been marked as a duplicate of bug 55922 *** >>From gcc-bugs-return-523265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:03:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99448 invoked by alias); 27 Apr 2016 10:03:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99284 invoked by uid 48); 27 Apr 2016 10:03:24 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70776] [4.9/5/6/7 Regression] ICE on invalid code on x86_64-linux-gnu: Segmentation fault (program cc1plus) Date: Wed, 27 Apr 2016 10:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02478.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70776 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paolo.carlini at oracle do= t com --- Comment #3 from Paolo Carlini --- Related to c++/51488 and co. >>From gcc-bugs-return-523266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:10:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21382 invoked by alias); 27 Apr 2016 10:10:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21134 invoked by uid 48); 27 Apr 2016 10:10:23 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70342] g++ -fsanitize=undefined never finishes compiling (>24h) in qtxmlpatterns test suite Date: Wed, 27 Apr 2016 10:10: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02479.txt.bz2 Content-length: 713 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70342 --- Comment #6 from Marek Polacek --- After hours of reducing: class A {}; class B { public: B(A); }; class C { public: C operator<<(B); }; class D { D(const int &); C m_blackList; }; D::D(const int &) { m_blackList << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A(); } >>From gcc-bugs-return-523267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:13:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24602 invoked by alias); 27 Apr 2016 10:13:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24415 invoked by uid 48); 27 Apr 2016 10:13:09 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/62077] --with-build-config=bootstrap-lto fails Date: Wed, 27 Apr 2016 10:13: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: 5.1.1 X-Bugzilla-Keywords: build, lto X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02480.txt.bz2 Content-length: 757 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D62077 --- Comment #66 from Richard Biener --- The issue re-appears with GCC 6, the workaround doing --enable-stage1-checking=3Drelease still works. Note that the comparison we do with LTO bootstrap is quite pointless as we only compile the internal IL at LTO streaming time but not the final result of optimization. For that we'd need to compare cc1, cc1plus, etc. itself. So a fix would be to make the comparison configurable to a tri-stage { object-files, binaries, off } where a boostrap with comparison off can also omit building stage3 but still get the benefit of building GCC with itself and not the host compiler. Comparing the binaries is generally slower of course. >>From gcc-bugs-return-523268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:38:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95553 invoked by alias); 27 Apr 2016 10:38:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88540 invoked by uid 48); 27 Apr 2016 10:38:20 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70804] Missed tail-call Date: Wed, 27 Apr 2016 10:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02481.txt.bz2 Content-length: 882 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70804 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #3 from Alexander Monakov --- Tailcall optimization is not applicable here: while E::destroy is running, = the object must still be live (and the body of E::destroy is unavailable, so GCC can't know if it inspects the object or not). But if you're making a tailcall from f to E::destroy, you're invoking E::destroy after the lifetime of b has ended. E::destroy accepts a pointer = to the object ('this'), but if you'd be making a tailcall, the 'this' you'd be passing would point to just-deallocated f's stack frame. >>From gcc-bugs-return-523269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:42:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119075 invoked by alias); 27 Apr 2016 10:42:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 117025 invoked by uid 55); 27 Apr 2016 10:42:40 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70785] LTO bootstrap with IPA PTA is broken Date: Wed, 27 Apr 2016 10:42: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: 6.0 X-Bugzilla-Keywords: lto, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02482.txt.bz2 Content-length: 733 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70785 --- Comment #2 from Richard Biener --- Author: rguenth Date: Wed Apr 27 10:42:08 2016 New Revision: 235477 URL: https://gcc.gnu.org/viewcvs?rev=3D235477&root=3Dgcc&view=3Drev Log: 2016-04-27 Richard Biener PR ipa/70785 * tree-ssa-structalias.c (refered_from_nonlocal_fn): New function cummulating used_from_other_partition, externally_visible and force_output from aliases. (refered_from_nonlocal_var): Likewise. (ipa_pta_execute): Use call_for_symbol_and_aliases to cummulate node flags properly. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-ssa-structalias.c >>From gcc-bugs-return-523270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:43:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120015 invoked by alias); 27 Apr 2016 10:43:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119876 invoked by uid 48); 27 Apr 2016 10:43:05 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70785] LTO bootstrap with IPA PTA is broken Date: Wed, 27 Apr 2016 10:43: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: 6.0 X-Bugzilla-Keywords: lto, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02483.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70785 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |7.0 Known to fail| |6.1.0 --- Comment #3 from Richard Biener --- Fixed on trunk sofar. >>From gcc-bugs-return-523271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:53:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28398 invoked by alias); 27 Apr 2016 10:53:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28227 invoked by uid 48); 27 Apr 2016 10:53:08 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/69634] [4.9/5 Regression] -fcompare-debug failure (length) with -O2 -fno-dce -fschedule-insns -fno-tree-vrp @ i686 Date: Wed, 27 Apr 2016 10:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02484.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69634 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |4.9.4 >>From gcc-bugs-return-523272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:53:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30000 invoked by alias); 27 Apr 2016 10:53:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29662 invoked by uid 48); 27 Apr 2016 10:53:42 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70123] [5 Regression] Miscompilation of cfitsio testcase on s390x-linux starting with r222144 Date: Wed, 27 Apr 2016 10:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: bernds at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02485.txt.bz2 Content-length: 290 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70123 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |5.4 >>From gcc-bugs-return-523273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:54:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31186 invoked by alias); 27 Apr 2016 10:54:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30733 invoked by uid 48); 27 Apr 2016 10:54:03 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70224] [5 regression] ICE: RTL flag check: CROSSING_JUMP_P used with unexpected rtx code 'insn' in relax_delay_slots, at reorg.c:3310 Date: Wed, 27 Apr 2016 10:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.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: P1 X-Bugzilla-Assigned-To: law at redhat dot com X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02486.txt.bz2 Content-length: 290 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70224 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |5.4 >>From gcc-bugs-return-523274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:55:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33705 invoked by alias); 27 Apr 2016 10:55:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33622 invoked by uid 48); 27 Apr 2016 10:55:48 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/70597] [6/7 Regression] cmd/go: deduplicate gccgo afiles by package path, not *Package Date: Wed, 27 Apr 2016 10:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02487.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70597 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #1 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:57:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37208 invoked by alias); 27 Apr 2016 10:56:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35132 invoked by uid 48); 27 Apr 2016 10:56:11 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68664] PowerPC: speculative sqrt in c-ray main loop causes large slow down Date: Wed, 27 Apr 2016 10:56: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.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02496.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68664 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #2 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:56:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37050 invoked by alias); 27 Apr 2016 10:56:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35242 invoked by uid 48); 27 Apr 2016 10:56:12 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67219] [6/7 Regression] Incorrect conversion warning Date: Wed, 27 Apr 2016 10:56: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: 6.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: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02491.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67219 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #6 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:56:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35889 invoked by alias); 27 Apr 2016 10:56:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34869 invoked by uid 48); 27 Apr 2016 10:56:07 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65139] Improve register allocation for aarch64_*_sisd_or_int3 patterns Date: Wed, 27 Apr 2016 10:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kugan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02495.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65139 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #2 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:58:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38251 invoked by alias); 27 Apr 2016 10:56:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35445 invoked by uid 48); 27 Apr 2016 10:56:13 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70164] [6/7 Regression] Code/performance regression due to poor register allocation on Cortex-M0 Date: Wed, 27 Apr 2016 10:56: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: 6.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02497.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70164 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #15 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:56:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35797 invoked by alias); 27 Apr 2016 10:56:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34724 invoked by uid 48); 27 Apr 2016 10:56:05 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/69068] [6/7 Regression] ICE in bb_contains_loop_phi_nodes, at graphite-isl-ast-to-gimple.c:1279 Date: Wed, 27 Apr 2016 10:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02490.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69068 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #5 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:56:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35933 invoked by alias); 27 Apr 2016 10:56:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34591 invoked by uid 48); 27 Apr 2016 10:56:02 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66487] sanitizer/warnings for lifetime DSE Date: Wed, 27 Apr 2016 10:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02494.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66487 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #21 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:56:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34725 invoked by alias); 27 Apr 2016 10:56:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33992 invoked by uid 48); 27 Apr 2016 10:55:55 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70359] [6/7 Regression] Code size increase for ARM compared to gcc-5.3.0 Date: Wed, 27 Apr 2016 10:56: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.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02488.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70359 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #16 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:56:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35971 invoked by alias); 27 Apr 2016 10:56:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34963 invoked by uid 48); 27 Apr 2016 10:56:08 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/66250] Can't adjust complex nor decimal floating point modes Date: Wed, 27 Apr 2016 10:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02492.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66250 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #4 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:56:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34761 invoked by alias); 27 Apr 2016 10:56:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34145 invoked by uid 48); 27 Apr 2016 10:55:56 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/69823] [6/7 Regression] internal compiler error: in create_pw_aff_from_tree, at graphite-sese-to-poly.c:445 Date: Wed, 27 Apr 2016 10:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.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: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02489.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69823 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #2 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:58:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38332 invoked by alias); 27 Apr 2016 10:56:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35979 invoked by uid 48); 27 Apr 2016 10:56:18 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/64918] invalid (?) warning when initializing structure Date: Wed, 27 Apr 2016 10:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02493.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64918 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #8 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:02:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46886 invoked by alias); 27 Apr 2016 10:57:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37895 invoked by uid 48); 27 Apr 2016 10:56:36 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/66401] g++.dg/ubsan/vla-1.C FAILs with PIE Date: Wed, 27 Apr 2016 10: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02505.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66401 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #1 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:59:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42380 invoked by alias); 27 Apr 2016 10:57:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36761 invoked by uid 48); 27 Apr 2016 10:56:25 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67710] FAIL: gcc.dg/darwin-*version-*.c (test for excess errors) with Xcode 7 Date: Wed, 27 Apr 2016 10:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02499.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67710 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #10 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:57:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37158 invoked by alias); 27 Apr 2016 10:56:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35072 invoked by uid 48); 27 Apr 2016 10:56:09 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/66403] gcc.dg/torture/builtin-self.c FAILs with PIE Date: Wed, 27 Apr 2016 10:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02500.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66403 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #1 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:56:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34802 invoked by alias); 27 Apr 2016 10:56:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34239 invoked by uid 48); 27 Apr 2016 10:55:57 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68682] [6/7 Regression] [graphite] loop interchange no longer working after r227277 Date: Wed, 27 Apr 2016 10:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02503.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68682 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #1 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:01:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45531 invoked by alias); 27 Apr 2016 10:57:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37661 invoked by uid 48); 27 Apr 2016 10:56:33 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/64715] [5/6/7 Regression] __builtin_object_size (..., 1) fails to locate subobject Date: Wed, 27 Apr 2016 10:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02504.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64715 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #24 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:56:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34779 invoked by alias); 27 Apr 2016 10:56:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33797 invoked by uid 48); 27 Apr 2016 10:55:53 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/69196] [5/6/7 Regression] code size regression with jump threading at -O2 Date: Wed, 27 Apr 2016 10:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: law at redhat dot com X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02501.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69196 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #24 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:59:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42312 invoked by alias); 27 Apr 2016 10:57:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37045 invoked by uid 48); 27 Apr 2016 10:56:28 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70222] Test miscompiled with -O1 Date: Wed, 27 Apr 2016 10:57: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02498.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70222 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #13 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:58:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40351 invoked by alias); 27 Apr 2016 10:56:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36125 invoked by uid 48); 27 Apr 2016 10:56:19 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/65642] [C++11] GCC rejects valid constant expression Date: Wed, 27 Apr 2016 10:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02502.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65642 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #7 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:02:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50717 invoked by alias); 27 Apr 2016 10:58:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38422 invoked by uid 48); 27 Apr 2016 10:56:40 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68644] [6/7 Regression] FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "PHI In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02511.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68644 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #5 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 10:58:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40456 invoked by alias); 27 Apr 2016 10:56:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36321 invoked by uid 48); 27 Apr 2016 10:56:22 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68717] [6/7 Regression] New (bogus?) warnings when compiling some gfortran.dg tests with -flto after r231239 Date: Wed, 27 Apr 2016 10:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02508.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68717 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #2 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:03:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53168 invoked by alias); 27 Apr 2016 10:58:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38839 invoked by uid 48); 27 Apr 2016 10:56:45 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/62254] [4.9/5/6/7 Regression] gcc-4.9 ICEs on linux kernel zlib for armv3 Date: Wed, 27 Apr 2016 10:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02507.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D62254 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #22 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:04:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54310 invoked by alias); 27 Apr 2016 10:58:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39239 invoked by uid 48); 27 Apr 2016 10:56:47 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70582] [6/7 regression] gcc.dg/attr-weakref-1.c FAILs Date: Wed, 27 Apr 2016 10:58: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02509.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70582 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #3 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:04:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55449 invoked by alias); 27 Apr 2016 10:58:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39660 invoked by uid 48); 27 Apr 2016 10:56:48 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/69513] LTO bootstrap fails with bootstrap-profiled during linking gnat1 in stagefeedback Date: Wed, 27 Apr 2016 10:58: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02510.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69513 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #8 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:03:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51959 invoked by alias); 27 Apr 2016 10:58:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38515 invoked by uid 48); 27 Apr 2016 10:56:41 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/67513] ASAN: Not optimal shadow value check (unlikely condition checked in fast path) Date: Wed, 27 Apr 2016 10: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: 5.2.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02506.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67513 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #11 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:01:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45487 invoked by alias); 27 Apr 2016 10:57:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37507 invoked by uid 48); 27 Apr 2016 10:56:32 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68560] [6/7 Regression] The test gfortran.dg/shape_8.f90 now fails when compiled with -flto Date: Wed, 27 Apr 2016 10:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02513.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68560 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #21 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:06:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58578 invoked by alias); 27 Apr 2016 10:59:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40867 invoked by uid 48); 27 Apr 2016 10:56:52 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/66200] GCC for ARM / AArch64 doesn't define TARGET_RELAXED_ORDERING Date: Wed, 27 Apr 2016 10:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ramana at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02512.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66200 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #10 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:07:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63503 invoked by alias); 27 Apr 2016 11:00:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42956 invoked by uid 48); 27 Apr 2016 10:57:10 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68749] FAIL: gcc.dg/ifcvt-4.c scan-rtl-dump ce1 "2 true changes made" Date: Wed, 27 Apr 2016 11:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02516.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68749 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #10 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:08:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66977 invoked by alias); 27 Apr 2016 11:00:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43840 invoked by uid 48); 27 Apr 2016 10:57:19 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test Date: Wed, 27 Apr 2016 11:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02522.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69331 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #15 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523310-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:06:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62072 invoked by alias); 27 Apr 2016 11:00:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42884 invoked by uid 48); 27 Apr 2016 10:57:09 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/28628] Not forcing alignment of arrays in structs with -fsection-anchors Date: Wed, 27 Apr 2016 11:00: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.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02514.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D28628 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #3 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:06:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60766 invoked by alias); 27 Apr 2016 10:59:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42826 invoked by uid 48); 27 Apr 2016 10:57:09 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70810] std::function template variadic template arguments do not unpack in function template Date: Wed, 27 Apr 2016 11:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02520.txt.bz2 Content-length: 572 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70810 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Jonathan Wakely --- Not a bug, the parameter pack for std::function cannot be dedu= ced from the arguments, because a function pointer is not a std::function. >>From gcc-bugs-return-523315-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:08:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65531 invoked by alias); 27 Apr 2016 11:00:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43579 invoked by uid 48); 27 Apr 2016 10:57:16 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58796] throw nullptr not caught by catch(type*) Date: Wed, 27 Apr 2016 11:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02519.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58796 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #11 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:06:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60804 invoked by alias); 27 Apr 2016 10:59:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42411 invoked by uid 48); 27 Apr 2016 10:57:05 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/66195] Optimize _GLIBCXX_GUARD_TEST_AND_ACQUIRE and _GLIBCXX_GUARD_SET_AND_RELEASE for PowerPC Date: Wed, 27 Apr 2016 11:00: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02518.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66195 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #3 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523319-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:09:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67101 invoked by alias); 27 Apr 2016 11:00:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44387 invoked by uid 48); 27 Apr 2016 10:57:24 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67420] gfortran.dg/norm2_3.f90 FAILs Date: Wed, 27 Apr 2016 11:00: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02523.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67420 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #2 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:02:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49043 invoked by alias); 27 Apr 2016 10:58:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38200 invoked by uid 48); 27 Apr 2016 10:56:39 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/65534] tailcall not optimized away Date: Wed, 27 Apr 2016 11:00: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: 5.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02517.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65534 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #6 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523311-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:06:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63424 invoked by alias); 27 Apr 2016 11:00:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43024 invoked by uid 48); 27 Apr 2016 10:57:11 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66398] g++.dg/abi/anon1.C FAILs with PIE Date: Wed, 27 Apr 2016 11:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02515.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66398 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #1 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:08:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66643 invoked by alias); 27 Apr 2016 11:00:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43744 invoked by uid 48); 27 Apr 2016 10:57:18 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70019] VLA size overflow not detected Date: Wed, 27 Apr 2016 11:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.4 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02521.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70019 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #8 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523321-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:09:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68106 invoked by alias); 27 Apr 2016 11:01:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44468 invoked by uid 48); 27 Apr 2016 10:57:25 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/69639] [6/7 Regression] FAIL: gcc.c-torture/compile/limits-exprparen.c Date: Wed, 27 Apr 2016 11: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02525.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69639 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #4 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523322-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:09:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69058 invoked by alias); 27 Apr 2016 11:01:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 45550 invoked by uid 48); 27 Apr 2016 10:57:34 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70750] [6/7 Regression] Load and call no longer combined for indirect calls on x86 Date: Wed, 27 Apr 2016 11: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02526.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70750 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #6 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:10:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72671 invoked by alias); 27 Apr 2016 11:01:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46163 invoked by uid 48); 27 Apr 2016 10:57:41 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68752] PowerPC: vector reciprocal square root estimate missed optimisations Date: Wed, 27 Apr 2016 11: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02532.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68752 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #1 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:09:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69110 invoked by alias); 27 Apr 2016 11:01:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44724 invoked by uid 48); 27 Apr 2016 10:57:26 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68510] [concepts] ICE: in gimplify_var_or_parm_decl, at gimplify.c:1827 Date: Wed, 27 Apr 2016 11: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: 6.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02527.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68510 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #2 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:09:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68070 invoked by alias); 27 Apr 2016 11:01:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44632 invoked by uid 48); 27 Apr 2016 10:57:25 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/66404] gcc.target/i386/pad-10.c etc. FAIL with PIE Date: Wed, 27 Apr 2016 11:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02524.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66404 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #1 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523324-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:09:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70261 invoked by alias); 27 Apr 2016 11:01:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46023 invoked by uid 48); 27 Apr 2016 10:57:39 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcj/69333] [6/7 Regression] FAIL: StackTrace2 execution - source compiled test Date: Wed, 27 Apr 2016 11:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcj X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02530.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69333 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #1 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:05:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56557 invoked by alias); 27 Apr 2016 10:59:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39883 invoked by uid 48); 27 Apr 2016 10:56:49 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/64253] IPA inline analysis processes a code transform operation Date: Wed, 27 Apr 2016 11:01: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02531.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64253 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #5 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:02:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49225 invoked by alias); 27 Apr 2016 10:58:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38068 invoked by uid 48); 27 Apr 2016 10:56:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/67239] [6/7 Regression] FAIL: 23_containers/unordered_set/insert/hash_policy.cc execution test Date: Wed, 27 Apr 2016 11:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ABI 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02528.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67239 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #24 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523325-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:09:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70296 invoked by alias); 27 Apr 2016 11:01:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 45938 invoked by uid 48); 27 Apr 2016 10:57:39 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67321] [ARM] Exploit Wide Add operations when appropriate Date: Wed, 27 Apr 2016 11: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: michael.collison at linaro dot org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02529.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67321 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #3 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:07:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64800 invoked by alias); 27 Apr 2016 11:00:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43259 invoked by uid 48); 27 Apr 2016 10:57:13 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/67819] -Wduplicated-cond should take macros into account Date: Wed, 27 Apr 2016 11:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02536.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67819 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #4 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:05:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56529 invoked by alias); 27 Apr 2016 10:59:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40467 invoked by uid 48); 27 Apr 2016 10:56:51 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68939] ICE or wrong code with OpenMP privatization of reference to VLAs Date: Wed, 27 Apr 2016 11:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: openmp, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02548.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68939 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #2 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523329-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:10:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73828 invoked by alias); 27 Apr 2016 11:02:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46325 invoked by uid 48); 27 Apr 2016 10:57:43 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/66960] Add interrupt attribute to x86 backend Date: Wed, 27 Apr 2016 11: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02533.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66960 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #6 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:05:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58620 invoked by alias); 27 Apr 2016 10:59:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41163 invoked by uid 48); 27 Apr 2016 10:56:54 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/35514] Gcc shoud generate symbol type for undefined symbol Date: Wed, 27 Apr 2016 11: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: 4.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02547.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D35514 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #3 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523338-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:11:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77119 invoked by alias); 27 Apr 2016 11:02:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48023 invoked by uid 48); 27 Apr 2016 10:57:57 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70583] [6/7 Regression] FAIL: g++.old-deja/g++.abi/vtable2.C -std=gnu++98 execution test Date: Wed, 27 Apr 2016 11:02: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02541.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70583 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #2 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523345-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:12:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79506 invoked by alias); 27 Apr 2016 11:02:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50094 invoked by uid 48); 27 Apr 2016 10:58:09 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/69728] [6/7 Regression] internal compiler error: in outer_projection_mupa, at graphite-sese-to-poly.c:1175 Date: Wed, 27 Apr 2016 11:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02549.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69728 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #3 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:11:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78131 invoked by alias); 27 Apr 2016 11:02:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49205 invoked by uid 48); 27 Apr 2016 10:58:01 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70760] [6/7 regression] wrong generated code for std::make_unique with -fipa-pta Date: Wed, 27 Apr 2016 11:02: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02545.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #14 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:11:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75253 invoked by alias); 27 Apr 2016 11:02:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47014 invoked by uid 48); 27 Apr 2016 10:57:49 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/66004] [6/7 Regression]: performance of 26_numerics/random/negative_binomial_distribution/operators/values.cc Date: Wed, 27 Apr 2016 11:02: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02537.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66004 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #8 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523339-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:11:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77148 invoked by alias); 27 Apr 2016 11:02:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48449 invoked by uid 48); 27 Apr 2016 10:58:00 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70390] [6/7 Regression] internal compiler error: in copy_loop_close_phi_args, at graphite-isl-ast-to-gimple.c:2114 Date: Wed, 27 Apr 2016 11:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02543.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70390 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #3 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523336-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:11:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76094 invoked by alias); 27 Apr 2016 11:02:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47390 invoked by uid 48); 27 Apr 2016 10:57:53 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70315] FAIL: gcc.dg/tree-ssa/sra-17.c scan-tree-dump-times esra Date: Wed, 27 Apr 2016 11:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02540.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70315 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #4 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523330-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:10:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73870 invoked by alias); 27 Apr 2016 11:02:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46412 invoked by uid 48); 27 Apr 2016 10:57:44 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68690] PowerPC64: TOC save in PHP core loop results in load hit store Date: Wed, 27 Apr 2016 11: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: 6.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02534.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68690 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #2 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523334-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:11:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76013 invoked by alias); 27 Apr 2016 11:02:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47773 invoked by uid 48); 27 Apr 2016 10:57:56 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/67326] [5/6/7 Regression] -ftree-loop-if-convert-stores does not vectorize conditional assignment (anymore) Date: Wed, 27 Apr 2016 11:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: vekumar at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02538.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67326 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #5 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523337-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:11:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77058 invoked by alias); 27 Apr 2016 11:02:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48333 invoked by uid 48); 27 Apr 2016 10:57:59 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67400] -fno-plt doesn't work with function pointers Date: Wed, 27 Apr 2016 11: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: 6.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02542.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67400 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #3 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523342-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:12:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79404 invoked by alias); 27 Apr 2016 11:02:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50315 invoked by uid 48); 27 Apr 2016 10:58:11 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/69067] [6/7 Regression] ICE in get_def_bb_for_const, at graphite-isl-ast-to-gimple.c:1995 Date: Wed, 27 Apr 2016 11:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02546.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69067 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #2 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523331-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:10:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73921 invoked by alias); 27 Apr 2016 11:02:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46821 invoked by uid 48); 27 Apr 2016 10:57:48 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/60336] empty struct value is passed differently in C and C++ Date: Wed, 27 Apr 2016 11:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: ABI, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02535.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60336 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #46 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523335-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:11:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76044 invoked by alias); 27 Apr 2016 11:02:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47654 invoked by uid 48); 27 Apr 2016 10:57:55 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/65430] Missing -Wsequence-point warning with COMPOUND_EXPRs Date: Wed, 27 Apr 2016 11:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: diagnostic 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02539.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65430 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #4 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:11:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78164 invoked by alias); 27 Apr 2016 11:02:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49612 invoked by uid 48); 27 Apr 2016 10:58:05 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67419] gfortran.dg/large_real_kind_2.F90 FAILs Date: Wed, 27 Apr 2016 11:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02544.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67419 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #11 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523348-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:12:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82715 invoked by alias); 27 Apr 2016 11:03:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50758 invoked by uid 48); 27 Apr 2016 10:58:14 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/69659] [6/7 Regression] ICE on using option -frepack-arrays, in gfc_conv_descriptor_data_get Date: Wed, 27 Apr 2016 11:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: vehre at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02552.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69659 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #7 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523355-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:13:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85971 invoked by alias); 27 Apr 2016 11:03:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52206 invoked by uid 48); 27 Apr 2016 10:58:28 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/69153] --with-advance-toolchain configure option does not correctly set configure variable target_header_dir Date: Wed, 27 Apr 2016 11: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02559.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69153 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #3 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523354-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:13:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85935 invoked by alias); 27 Apr 2016 11:03:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51901 invoked by uid 48); 27 Apr 2016 10:58:25 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/69307] [4.9 Regression] wrong code with -O2 -fselective-scheduling @ armv7a Date: Wed, 27 Apr 2016 11:03: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: abel at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02558.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69307 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #11 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523356-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:13:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86119 invoked by alias); 27 Apr 2016 11:03:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52062 invoked by uid 48); 27 Apr 2016 10:58:26 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68009] [6/7 Regression] prototype for gfortran_runtime_error with inline matmul Date: Wed, 27 Apr 2016 11:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.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: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02560.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68009 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #6 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523346-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:12:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80496 invoked by alias); 27 Apr 2016 11:03:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50554 invoked by uid 48); 27 Apr 2016 10:58:13 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70040] [6/7 Regression] ICE in gimplify.c with deferred-length strings Date: Wed, 27 Apr 2016 11:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02550.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70040 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #7 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523358-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:13:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87199 invoked by alias); 27 Apr 2016 11:03:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53255 invoked by uid 48); 27 Apr 2016 10:58:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/60421] std::this_thread::sleep_for doesn't sleep for all arguments Date: Wed, 27 Apr 2016 11:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02562.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60421 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #10 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:12:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80796 invoked by alias); 27 Apr 2016 11:03:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50656 invoked by uid 48); 27 Apr 2016 10:58:14 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/60290] 32-bit g++.dg/cilk-plus/CK/catch_exc.cc FAILs on Solaris/x86 Date: Wed, 27 Apr 2016 11: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.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02551.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60290 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #10 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523352-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:13:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84875 invoked by alias); 27 Apr 2016 11:03:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51696 invoked by uid 48); 27 Apr 2016 10:58:23 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjLzY1ODkxXSAtV2xvZ2ljYWwtb3Agbm93IHdhcm5zIGFib3V0IGxv?= =?UTF-8?B?Z2ljYWwg4oCYYW5k4oCZIG9mIGVxdWFsIGV4cHJlc3Npb25zIGV2ZW4gd2hl?= =?UTF-8?B?biBkaWZmZXJlbnQgdHlwZXMvc2l6ZW9mcyBhcmUgaW52b2x2ZWQ=?= Date: Wed, 27 Apr 2016 11:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02556.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65891 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #4 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:13:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87165 invoked by alias); 27 Apr 2016 11:03:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52988 invoked by uid 48); 27 Apr 2016 10:58:35 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/39589] make -Wmissing-field-initializers=2 work with "designated initializers" ? Date: Wed, 27 Apr 2016 11:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.5.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02563.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D39589 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #5 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:12:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82769 invoked by alias); 27 Apr 2016 11:03:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50837 invoked by uid 48); 27 Apr 2016 10:58:15 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65846] Optimize data access in PIE with copy reloc Date: Wed, 27 Apr 2016 11: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02554.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65846 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #2 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523350-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:12:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82807 invoked by alias); 27 Apr 2016 11:03:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50889 invoked by uid 48); 27 Apr 2016 10:58:16 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/69633] [6/7 Regression] Redundant move is generated after r228097 Date: Wed, 27 Apr 2016 11:03: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: 6.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bernds at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02553.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69633 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #7 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523332-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:10:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75007 invoked by alias); 27 Apr 2016 11:02:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47075 invoked by uid 48); 27 Apr 2016 10:57:50 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/65452] strcmp (foo, foo) could give a warning Date: Wed, 27 Apr 2016 11:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02561.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65452 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #5 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523351-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:12:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83948 invoked by alias); 27 Apr 2016 11:03:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51378 invoked by uid 48); 27 Apr 2016 10:58:20 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/61225] [5/6/7 Regression] Several new failures after r210458 on x86_64-*-* with -m32 Date: Wed, 27 Apr 2016 11:03: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: 5.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02555.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61225 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #25 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523353-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:13:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84915 invoked by alias); 27 Apr 2016 11:03:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51520 invoked by uid 48); 27 Apr 2016 10:58:22 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/61551] [NEON] alter costs to allow use of post-indexed addressing modes for VLD{2..4}/VST{2..4} Date: Wed, 27 Apr 2016 11: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: 5.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02557.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61551 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #3 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523370-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:14:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91492 invoked by alias); 27 Apr 2016 11:04:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54686 invoked by uid 48); 27 Apr 2016 10:58:51 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67412] gfortran.dg/execute_command_line_2.f90 FAILs on Solaris 10 Date: Wed, 27 Apr 2016 11: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: SUSPENDED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02574.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67412 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #8 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523369-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:14:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91423 invoked by alias); 27 Apr 2016 11:04:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54741 invoked by uid 48); 27 Apr 2016 10:58:52 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/70150] Additonal test failures with --enable-default-pie Date: Wed, 27 Apr 2016 11:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 6.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02573.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70150 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #20 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523372-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:14:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92461 invoked by alias); 27 Apr 2016 11:04:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54940 invoked by uid 48); 27 Apr 2016 10:58:53 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/65024] [OOP] unlimited polymorphic pointer structure not built when it should be Date: Wed, 27 Apr 2016 11:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: FIXME X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02575.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65024 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #15 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:13:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88324 invoked by alias); 27 Apr 2016 11:04:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53796 invoked by uid 48); 27 Apr 2016 10:58:42 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66399] g++.dg/abi/anon4.C FAILs with PIE Date: Wed, 27 Apr 2016 11:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02566.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66399 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #1 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:06:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59712 invoked by alias); 27 Apr 2016 10:59:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41266 invoked by uid 48); 27 Apr 2016 10:56:54 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67352] [avr] incorrect warning with -Waddr-space-convert and array in struct in __flash Date: Wed, 27 Apr 2016 11: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: 5.2.0 X-Bugzilla-Keywords: addr-space, diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: gjl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02578.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67352 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #1 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523371-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:14:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92417 invoked by alias); 27 Apr 2016 11:04:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55095 invoked by uid 48); 27 Apr 2016 10:58:54 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/66207] Switch alpha to LRA Date: Wed, 27 Apr 2016 11:04: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: 6.0 X-Bugzilla-Keywords: ra X-Bugzilla-Severity: enhancement 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02576.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66207 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #7 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523366-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:13:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89482 invoked by alias); 27 Apr 2016 11:04:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54219 invoked by uid 48); 27 Apr 2016 10:58:46 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/64266] Can GCC produce local mergeable symbols for *.__FUNCTION__ and *.__PRETTY_FUNCTION__ functions? Date: Wed, 27 Apr 2016 11:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02568.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64266 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #10 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523360-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:13:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88281 invoked by alias); 27 Apr 2016 11:04:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53358 invoked by uid 48); 27 Apr 2016 10:58:38 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/49857] Put constant switch-tables into flash Date: Wed, 27 Apr 2016 11:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 4.6.1 X-Bugzilla-Keywords: addr-space, missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02565.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49857 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #10 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:13:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87239 invoked by alias); 27 Apr 2016 11:04:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52267 invoked by uid 48); 27 Apr 2016 10:58:28 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/69675] [6/7 Regression] [graphite] ICE: verify_ssa failed (definition in block 42 does not dominate use in block 34) Date: Wed, 27 Apr 2016 11:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02564.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69675 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #2 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523368-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:14:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90542 invoked by alias); 27 Apr 2016 11:04:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54431 invoked by uid 48); 27 Apr 2016 10:58:48 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68733] [6/7 Regression] FAIL: libgomp.c/target-29.c (internal compiler error) Date: Wed, 27 Apr 2016 11:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02571.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68733 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #4 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:14:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89446 invoked by alias); 27 Apr 2016 11:04:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54010 invoked by uid 48); 27 Apr 2016 10:58:44 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/60936] [4.9/5/6/7 Regression] Binary code bloat with std::string Date: Wed, 27 Apr 2016 11:04: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: 4.9.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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02570.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60936 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #18 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:14:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92493 invoked by alias); 27 Apr 2016 11:04:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54822 invoked by uid 48); 27 Apr 2016 10:58:52 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/65866] Wrong warning when using list-initialization: operation on 'b' may be undefined [-Wsequence-point] Date: Wed, 27 Apr 2016 11:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.1.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02577.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65866 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #3 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:13:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89417 invoked by alias); 27 Apr 2016 11:04:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53920 invoked by uid 48); 27 Apr 2016 10:58:43 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66644] Rejects C++11 in-class anonymous union members initialization Date: Wed, 27 Apr 2016 11:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.1.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02569.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66644 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #4 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523367-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:14:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90462 invoked by alias); 27 Apr 2016 11:04:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54321 invoked by uid 48); 27 Apr 2016 10:58:47 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/66334] cleanup block fails to initialize EBX Date: Wed, 27 Apr 2016 11:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02572.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66334 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #13 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523362-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:13:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88472 invoked by alias); 27 Apr 2016 11:04:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53694 invoked by uid 48); 27 Apr 2016 10:58:41 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/66259] Combined gcc and binutils build from git-master fails, with gas/as-new not existing Date: Wed, 27 Apr 2016 11:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 6.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02567.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66259 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #12 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523381-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:15:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98236 invoked by alias); 27 Apr 2016 11:05:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57566 invoked by uid 48); 27 Apr 2016 10:59:19 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70810] std::function template variadic template arguments do not unpack in function template Date: Wed, 27 Apr 2016 11:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02586.txt.bz2 Content-length: 237 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70810 --- Comment #2 from Jonathan Wakely --- Similar problems described at: http://stackoverflow.com/q/11103384/981959 http://stackoverflow.com/q/34051435/981959 >>From gcc-bugs-return-523379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:15:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97253 invoked by alias); 27 Apr 2016 11:05:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57071 invoked by uid 48); 27 Apr 2016 10:59:15 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68649] [6/7 Regression] note: code may be misoptimized unless -fno-strict-aliasing is used Date: Wed, 27 Apr 2016 11:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.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: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02584.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68649 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #14 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:14:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94219 invoked by alias); 27 Apr 2016 11:05:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55315 invoked by uid 48); 27 Apr 2016 10:58:56 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70781] [6/7 Regression] ICE on invalid C++ code with lambda expressions on x86_64-linux-gnu in finish_expr_stmt, at cp/semantics.c:677 Date: Wed, 27 Apr 2016 11:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02580.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70781 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #2 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523382-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:15:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98324 invoked by alias); 27 Apr 2016 11:05:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57692 invoked by uid 48); 27 Apr 2016 10:59:21 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/69332] [6/7 Regression] FAIL: libstdc++-prettyprinters/libfundts.cc print ab Date: Wed, 27 Apr 2016 11:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02585.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69332 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #2 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523377-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:14:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96476 invoked by alias); 27 Apr 2016 11:05:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57008 invoked by uid 48); 27 Apr 2016 10:59:14 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70703] [6/7 regression] Regression in register usage on x86 Date: Wed, 27 Apr 2016 11:05: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: 6.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02582.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70703 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #2 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:14:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97214 invoked by alias); 27 Apr 2016 11:05:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57358 invoked by uid 48); 27 Apr 2016 10:59:18 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70621] [6/7 Regression] ICE on invalid code at -O1 and above on x86_64-linux-gnu in record_reference, at cgraphbuild.c:64 Date: Wed, 27 Apr 2016 11:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: error-recovery X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02583.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70621 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #3 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523376-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:14:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95552 invoked by alias); 27 Apr 2016 11:05:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 56527 invoked by uid 48); 27 Apr 2016 10:59:09 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/68065] Size calculations for VLAs can overflow Date: Wed, 27 Apr 2016 11:05: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: 5.2.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02581.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68065 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #36 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523375-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:14:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94304 invoked by alias); 27 Apr 2016 11:05:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55596 invoked by uid 48); 27 Apr 2016 10:58:59 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67973] All the tests for -gstabs* fail on x86_64-apple-darwin14 with Xcode 7 Date: Wed, 27 Apr 2016 11:05: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.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: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02579.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67973 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #20 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523343-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:12:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79429 invoked by alias); 27 Apr 2016 11:02:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49805 invoked by uid 48); 27 Apr 2016 10:58:07 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/69184] [6/7 Regression] ICE in copy_cond_phi_nodes, at graphite-isl-ast-to-gimple.c:2685 Date: Wed, 27 Apr 2016 11: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02589.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69184 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #6 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523327-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:10:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72621 invoked by alias); 27 Apr 2016 11:01:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46192 invoked by uid 48); 27 Apr 2016 10:57:42 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/66171] [6/7 Regression]: gcc.target/cris/biap.c Date: Wed, 27 Apr 2016 11:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: hp at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02590.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66171 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #2 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523383-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:15:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99190 invoked by alias); 27 Apr 2016 11:06:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57732 invoked by uid 48); 27 Apr 2016 10:59:21 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70588] SIGBUS on a VLA larger than SIZE_MAX / 2 Date: Wed, 27 Apr 2016 11:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02587.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70588 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #11 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523344-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:12:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79468 invoked by alias); 27 Apr 2016 11:02:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50425 invoked by uid 48); 27 Apr 2016 10:58:12 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68128] A huge regression in Parboil v2.5 OpenMP CUTCP test (2.5 times lower performance) Date: Wed, 27 Apr 2016 11: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: 5.3.0 X-Bugzilla-Keywords: missed-optimization, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02588.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68128 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #9 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523326-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:09:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71529 invoked by alias); 27 Apr 2016 11:01:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46098 invoked by uid 48); 27 Apr 2016 10:57:41 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/53118] [4.9/5/6/7 regression] -feliminate-dwarf2-dups is broken for C++ Date: Wed, 27 Apr 2016 11:15: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: 4.7.0 X-Bugzilla-Keywords: wrong-debug X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02597.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53118 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #7 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523384-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:16:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24433 invoked by alias); 27 Apr 2016 11:15:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118779 invoked by uid 48); 27 Apr 2016 11:08:37 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/69489] missed vectorization for boolean loop, missed if-conversion Date: Wed, 27 Apr 2016 11:15: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.2.1 X-Bugzilla-Keywords: missed-optimization 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02591.txt.bz2 Content-length: 376 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69489 --- Comment #16 from amker at gcc dot gnu.org --- (In reply to amker from comment #15) > Also the case is reported not vectorized on Solaris/SPARC in PR70803. I > will investigate and follow up it in that ticket. >=20 > Thanks. Hmm, that one is for PR56625.c not vectorized on sparc, so this is still a different issue. >>From gcc-bugs-return-523304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:05:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58550 invoked by alias); 27 Apr 2016 10:59:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40763 invoked by uid 48); 27 Apr 2016 10:56:52 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/69940] gcc.c-torture/execute/alias-3.c FAILs with Solaris/x86 as Date: Wed, 27 Apr 2016 11:15: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02594.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69940 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #1 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:08:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65577 invoked by alias); 27 Apr 2016 11:00:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43368 invoked by uid 48); 27 Apr 2016 10:57:14 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/62630] [5/6/7 Regression] gcc.dg/graphite/vect-pr43423.c XFAILed Date: Wed, 27 Apr 2016 11:15: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.0 X-Bugzilla-Keywords: missed-optimization, xfail X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02595.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D62630 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #23 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523363-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:13:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89383 invoked by alias); 27 Apr 2016 11:04:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54097 invoked by uid 48); 27 Apr 2016 10:58:45 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66089] [6/7 Regression] elemental dependency mishandling when derived types are involved Date: Wed, 27 Apr 2016 11:15: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: mikael at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02593.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66089 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #16 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:07:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64387 invoked by alias); 27 Apr 2016 11:00:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43133 invoked by uid 48); 27 Apr 2016 10:57:12 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/69580] [6/7 Regression] From 26/7 seconds to 10 minutes moving from gcc 5.3.1 to gcc 6.0.0 Date: Wed, 27 Apr 2016 11:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: law at redhat dot com X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02592.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69580 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #8 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523380-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:15:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98093 invoked by alias); 27 Apr 2016 11:05:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57558 invoked by uid 48); 27 Apr 2016 10:59:19 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68887] [6/7 regression] gfortran.dg/coarray/event_[12].f90 -fcoarray=lib -O2 -lcaf_single -latomic fails Date: Wed, 27 Apr 2016 11:15: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02596.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68887 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |6.2 --- Comment #5 from Jakub Jelinek --- GCC 6.1 has been released. >>From gcc-bugs-return-523385-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:29:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96009 invoked by alias); 27 Apr 2016 11:29:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95922 invoked by uid 55); 27 Apr 2016 11:29:53 -0000 From: "nickc at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/49889] Calling a function whose name is obscured by a local variable does not produce an error Date: Wed, 27 Apr 2016 11:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: nickc at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02598.txt.bz2 Content-length: 622 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49889 --- Comment #3 from Nick Clifton --- Author: nickc Date: Wed Apr 27 11:29:20 2016 New Revision: 235484 URL: https://gcc.gnu.org/viewcvs?rev=3D235484&root=3Dgcc&view=3Drev Log: PR middle-end/49889 gcc * varasm.c (merge_weak): Generate an error if an attempt is made to convert a non-weak static function into a weak, public function. testsuite * gcc.dg/pr49889.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr49899.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/varasm.c >>From gcc-bugs-return-523386-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 11:58:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14484 invoked by alias); 27 Apr 2016 11:58:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11068 invoked by uid 55); 27 Apr 2016 11:58:31 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70767] std::numeric_limits::digits is wrong unless --std=c++11 used Date: Wed, 27 Apr 2016 11:58: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: 4.9.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02599.txt.bz2 Content-length: 628 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70767 --- Comment #3 from Jonathan Wakely --- Author: redi Date: Wed Apr 27 11:57:58 2016 New Revision: 235486 URL: https://gcc.gnu.org/viewcvs?rev=3D235486&root=3Dgcc&view=3Drev Log: libstdc++/70767 Define std::numeric_limits in C++98 mode PR libstdc++/70767 * include/std/limits: Update comments about DRs. (numeric_limits, numeric_limits, numeric_limits): Define unconditionally. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/std/limits >>From gcc-bugs-return-523387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 12:00:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25970 invoked by alias); 27 Apr 2016 12:00:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24564 invoked by uid 48); 27 Apr 2016 12:00:01 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70767] std::numeric_limits::digits is wrong unless --std=c++11 used Date: Wed, 27 Apr 2016 12: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: 4.9.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02600.txt.bz2 Content-length: 627 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70767 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Jonathan Wakely --- For GCC 7 the specializations for cv-qualified types will always be defined. I'm not going to backport that to current release branches though (since th= ey are not incorrect according to the C++98 standard). >>From gcc-bugs-return-523388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 12:10:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116933 invoked by alias); 27 Apr 2016 12:10:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 116645 invoked by uid 55); 27 Apr 2016 12:10:17 -0000 From: "kyukhin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70728] GCC trunk emits invalid assembly for knl target Date: Wed, 27 Apr 2016 12:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kyukhin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kyukhin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02601.txt.bz2 Content-length: 763 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70728 --- Comment #4 from Kirill Yukhin --- Author: kyukhin Date: Wed Apr 27 12:09:45 2016 New Revision: 235487 URL: https://gcc.gnu.org/viewcvs?rev=3D235487&root=3Dgcc&view=3Drev Log: AVX-512. PR target/70728. Use separate constraint for AVX-512BW PR target/70728 gcc/ * gcc/config/i386/sse.md (define_insn "3"): Extract AVX-512BW constraint from AVX. gcc/testsuite/ * gcc.target/i386/pr70728.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr70728.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/i386/sse.md branches/gcc-6-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523389-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 12:23:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9705 invoked by alias); 27 Apr 2016 12:23:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9199 invoked by uid 55); 27 Apr 2016 12:23:19 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70680] [5/6 Regression] OpenMP SIMD linear variable privatized too eagerly Date: Wed, 27 Apr 2016 12:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02602.txt.bz2 Content-length: 899 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70680 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Apr 27 12:22:47 2016 New Revision: 235489 URL: https://gcc.gnu.org/viewcvs?rev=3D235489&root=3Dgcc&view=3Drev Log: Backported from mainline 2016-04-19 Jakub Jelinek PR middle-end/70680 * gimplify.c (gimplify_omp_for): Call omp_notice_variable for implicitly linear or lastprivate iterator on the outer context. * testsuite/libgomp.c/pr70680-1.c: New test. * testsuite/libgomp.c/pr70680-2.c: New test. Added: branches/gcc-6-branch/libgomp/testsuite/libgomp.c/pr70680-1.c branches/gcc-6-branch/libgomp/testsuite/libgomp.c/pr70680-2.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/gimplify.c branches/gcc-6-branch/libgomp/ChangeLog >>From gcc-bugs-return-523390-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 12:24:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12984 invoked by alias); 27 Apr 2016 12:24:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12786 invoked by uid 48); 27 Apr 2016 12:24:21 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70680] [5 Regression] OpenMP SIMD linear variable privatized too eagerly Date: Wed, 27 Apr 2016 12:24: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: 5.1.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02603.txt.bz2 Content-length: 540 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70680 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[5/6 Regression] OpenMP |[5 Regression] OpenMP SIMD |SIMD linear variable |linear variable privatized |privatized too eagerly |too eagerly --- Comment #5 from Jakub Jelinek --- Fixed for 6.2+ as well. >>From gcc-bugs-return-523391-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 12:24:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13562 invoked by alias); 27 Apr 2016 12:24:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12897 invoked by uid 55); 27 Apr 2016 12:24:27 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70712] False positive from AddressSanitizer with use of 'alignas' Date: Wed, 27 Apr 2016 12:24: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: 6.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02604.txt.bz2 Content-length: 695 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70712 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Wed Apr 27 12:23:50 2016 New Revision: 235490 URL: https://gcc.gnu.org/viewcvs?rev=3D235490&root=3Dgcc&view=3Drev Log: Backported from mainline 2016-04-23 Jakub Jelinek PR sanitizer/70712 * cfgexpand.c (expand_stack_vars): Fix typo. * c-c++-common/asan/pr70712.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/c-c++-common/asan/pr70712.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/cfgexpand.c branches/gcc-6-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523392-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 13:04:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2736 invoked by alias); 27 Apr 2016 13:04:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123274 invoked by uid 48); 27 Apr 2016 13:03:51 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70342] g++ -fsanitize=undefined never finishes compiling (>24h) in qtxmlpatterns test suite Date: Wed, 27 Apr 2016 13:04: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02605.txt.bz2 Content-length: 613 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70342 --- Comment #7 from Marek Polacek --- There's some non-linearity. This compiles in 25s, if I add another "<< A()" then in 55s, if I add another "<< A()" then in 1m50s etc. class A {}; class B { public: B(A); }; class C { public: C operator<<(B); }; class D { D(const int &); C m_blackList; }; D::D(const int &) { m_blackList << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A() << A(); } >>From gcc-bugs-return-523393-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 13:09:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18361 invoked by alias); 27 Apr 2016 13:09:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18014 invoked by uid 48); 27 Apr 2016 13:09:09 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70814] atomic store of __int128 is not lock free on aarch64 Date: Wed, 27 Apr 2016 13:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ktkachov 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 cf_gcctarget bug_status cf_reconfirmed_on cc everconfirmed bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02606.txt.bz2 Content-length: 1184 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70814 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Target| |aarch64 Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-27 CC| |ktkachov at gcc dot gnu.org Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #1 from ktkachov at gcc dot gnu.org --- Confirmed. For reference, the testcase is: #include #include std::atomic<__int128> a; __attribute__((noinline)) void f(int64_t v) { a.store(v); } int main() { f(1); return 0; } g++ at -O2 for aarch64 emits for the function 'f': _Z1fl: .LFB328: .cfi_startproc mov x2, x0 adrp x1, .LANCHOR0 add x0, x1, :lo12:.LANCHOR0 mov w4, 5 asr x3, x2, 63 b __atomic_store_16 >>From gcc-bugs-return-523394-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 13:11:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64546 invoked by alias); 27 Apr 2016 13:11:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60018 invoked by uid 48); 27 Apr 2016 13:11:18 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70785] LTO bootstrap with IPA PTA is broken Date: Wed, 27 Apr 2016 13:11: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: 6.0 X-Bugzilla-Keywords: lto, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02607.txt.bz2 Content-length: 537 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70785 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Known to work| |6.2.0 Resolution|--- |FIXED Target Milestone|--- |6.2 --- Comment #4 from Richard Biener --- Fixed. >>From gcc-bugs-return-523396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 13:11:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68339 invoked by alias); 27 Apr 2016 13:11:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67378 invoked by uid 48); 27 Apr 2016 13:11:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70760] [6/7 regression] wrong generated code for std::make_unique with -fipa-pta Date: Wed, 27 Apr 2016 13:11: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02609.txt.bz2 Content-length: 2705 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.2 |6.0 --- Comment #15 from Richard Biener --- So the underlying issue is that /* If we pass the result decl by reference, honor that. */ if (lhsop && fndecl && DECL_RESULT (fndecl) && DECL_BY_REFERENCE (DECL_RESULT (fndecl))) { for the call D.941390 =3D std::_ZSt11make_uniqueIN3edm20ParameterDescriptionIiEEJRA16_KcRKiRbEENSt9_M= akeUniqIT_E15__single_objectEDpOT0_.isra.144 ("p_int_untracked", &D.481115, 0); [return slot optimization] runs into a NULL_TREE DECL_RESULT (fndecl) because that has been freed as the decl is only an alias: _ZSt11make_uniqueIN3edm20ParameterDescriptionIiEEJRA16_KcRKiRbEENSt9_MakeUn= iqIT_E15__single_objectEDpOT0_.isra.144/21428 (typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp =3D edm::ParameterDescription; _Args =3D {const char (&)[16]= , const int&, bool&}]) @0x7ffff4d17450 Type: function definition analyzed alias Visibility: prevailing_def_ironly artificial References: _ZSt11make_uniqueIN3edm20ParameterDescriptionIiEEJRA6_KcRKiRbEENSt9_MakeUni= qIT_E15__single_objectEDpOT0_.isra.149/21451 (alias) Referring:=20 Availability: local First run: 0 Function flags: local icf_merged Called by: _ZN7edmtest20ProducerWithPSetDesc16fillDescriptionsERN3edm25ConfigurationDe= scriptionsE/5911 (1.00 per call)=20 Calls:=20 so we fail to resolve the decl to the alias target. The following would fix that Index: gcc/tree-ssa-structalias.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/tree-ssa-structalias.c (revision 235404) +++ gcc/tree-ssa-structalias.c (working copy) @@ -4658,9 +4658,8 @@ find_func_aliases_for_call (struct funct /* If we pass the result decl by reference, honor that. */ if (lhsop - && fndecl - && DECL_RESULT (fndecl) - && DECL_BY_REFERENCE (DECL_RESULT (fndecl))) + && fi->is_fn_info + && DECL_BY_REFERENCE (DECL_RESULT (fi->decl))) { struct constraint_expr lhs; struct constraint_expr *rhsp; but it still won't handle indirect calls correctly which is what the 3rd patch does. It still might be that I'm going with sth like the above for the GCC 6 branch. >>From gcc-bugs-return-523395-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 13:11:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66532 invoked by alias); 27 Apr 2016 13:11:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60406 invoked by uid 55); 27 Apr 2016 13:11:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70785] LTO bootstrap with IPA PTA is broken Date: Wed, 27 Apr 2016 13:11: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: 6.0 X-Bugzilla-Keywords: lto, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02608.txt.bz2 Content-length: 1249 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70785 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Known to work| |6.2.0 Resolution|--- |FIXED Target Milestone|--- |6.2 --- Comment #4 from Richard Biener --- Fixed. --- Comment #5 from Richard Biener --- Author: rguenth Date: Wed Apr 27 13:10:47 2016 New Revision: 235501 URL: https://gcc.gnu.org/viewcvs?rev=3D235501&root=3Dgcc&view=3Drev Log: 2016-04-27 Richard Biener PR ipa/70785 * tree-ssa-structalias.c (refered_from_nonlocal_fn): New function cummulating used_from_other_partition, externally_visible and force_output from aliases. (refered_from_nonlocal_var): Likewise. (ipa_pta_execute): Use call_for_symbol_and_aliases to cummulate node flags properly. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/tree-ssa-structalias.c >>From gcc-bugs-return-523397-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 13:12:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78542 invoked by alias); 27 Apr 2016 13:12:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73716 invoked by uid 48); 27 Apr 2016 13:12:11 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70760] [6/7 regression] wrong generated code for std::make_unique with -fipa-pta Date: Wed, 27 Apr 2016 13:12: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02610.txt.bz2 Content-length: 345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Target Milestone|6.0 |6.2 >>From gcc-bugs-return-523398-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 13:20:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114053 invoked by alias); 27 Apr 2016 13:20:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 113064 invoked by uid 48); 27 Apr 2016 13:19:47 -0000 From: "kyukhin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70728] GCC trunk emits invalid assembly for knl target Date: Wed, 27 Apr 2016 13:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kyukhin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kyukhin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02611.txt.bz2 Content-length: 425 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70728 Kirill Yukhin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Kirill Yukhin --- Done >>From gcc-bugs-return-523399-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 13:21:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115786 invoked by alias); 27 Apr 2016 13:21:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115584 invoked by uid 48); 27 Apr 2016 13:20:59 -0000 From: "yyc1992 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70814] atomic store of __int128 is not lock free on aarch64 Date: Wed, 27 Apr 2016 13:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: yyc1992 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02612.txt.bz2 Content-length: 475 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70814 --- Comment #2 from Yichao Yu --- As an update, it seems that the llvm trunk recently switched to using `__atomic_*` function call for int128 on all platforms (that I can test anyway). I'm not sure how that decision is made or if there's any communica= tion with GCC but IMHO it would be nice to agree on using the atomic instruction= on aarch64 as long as it provides all the necessary ones. >>From gcc-bugs-return-523400-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 13:30:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47435 invoked by alias); 27 Apr 2016 13:30:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46848 invoked by uid 55); 27 Apr 2016 13:30:16 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70683] [7 Regression] -fcompare-debug bug with -fsanitize=address Date: Wed, 27 Apr 2016 13: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: 6.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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02613.txt.bz2 Content-length: 683 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70683 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Wed Apr 27 13:29:34 2016 New Revision: 235507 URL: https://gcc.gnu.org/viewcvs?rev=3D235507&root=3Dgcc&view=3Drev Log: PR sanitizer/70683 * tree-core.h (enum operand_equal_flag): Add OEP_NO_HASH_CHECK. * fold-const.c (operand_equal_p): If flag_checking and OEP_NO_HASH_CHECK is not set in flag, recurse with OEP_NO_HASH_CHECK and if it returns non-zero, assert iterative_hash_expr on both args is the same. Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/tree-core.h >>From gcc-bugs-return-523401-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 13:32:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50676 invoked by alias); 27 Apr 2016 13:32:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49762 invoked by uid 48); 27 Apr 2016 13:32:21 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70683] [7 Regression] -fcompare-debug bug with -fsanitize=address Date: Wed, 27 Apr 2016 13:32: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02614.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70683 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-523402-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 13:35:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63687 invoked by alias); 27 Apr 2016 13:35:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63509 invoked by uid 55); 27 Apr 2016 13:35:36 -0000 From: "hjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70750] [6/7 Regression] Load and call no longer combined for indirect calls on x86 Date: Wed, 27 Apr 2016 13:35: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.0 X-Bugzilla-Keywords: missed-optimization 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02615.txt.bz2 Content-length: 1751 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70750 --- Comment #7 from hjl at gcc dot gnu.org --- Author: hjl Date: Wed Apr 27 13:35:03 2016 New Revision: 235509 URL: https://gcc.gnu.org/viewcvs?rev=3D235509&root=3Dgcc&view=3Drev Log: X86: Fix a typo in call_insn_operand r231923 has ;; Test for a valid operand for a call instruction. ;; Allow constant call address operands in Pmode only. (define_special_predicate "call_insn_operand" (ior (match_test "constant_call_address_operand (op, mode =3D=3D VOIDmode ? mode : Pmode)") (match_operand 0 "call_register_no_elim_operand") - (and (not (match_test "TARGET_X32")) - (match_operand 0 "memory_operand")))) + (ior (and (not (match_test "TARGET_X32")) + (match_operand 0 "sibcall_memory_operand")) ^^^^^^^^^^^^^^^^^^^^^^^ A typo. + (and (match_test "TARGET_X32 && Pmode =3D=3D DImode") + (match_operand 0 "GOT_memory_operand"))))) "sibcall_memory_operand" should be "memory_operand". gcc/ Backported from mainline PR target/70750 * config/i386/predicates.md (call_insn_operand): Replace sibcall_memory_operand with memory_operand. gcc/testsuite/ Backported from mainline PR target/70750 * gcc.target/i386/pr70750-1.c: New test. * gcc.target/i386/pr70750-2.c: Likewise. Added: branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr70750-1.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr70750-2.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/i386/predicates.md branches/gcc-6-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523403-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 13:36:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65234 invoked by alias); 27 Apr 2016 13:36:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65135 invoked by uid 48); 27 Apr 2016 13:36:34 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70750] [6/7 Regression] Load and call no longer combined for indirect calls on x86 Date: Wed, 27 Apr 2016 13:36: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.0 X-Bugzilla-Keywords: missed-optimization 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02616.txt.bz2 Content-length: 433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70750 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #8 from H.J. Lu --- Fixed for GCC 7 and 6.2. >>From gcc-bugs-return-523404-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 13:40:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84105 invoked by alias); 27 Apr 2016 13:40:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83955 invoked by uid 48); 27 Apr 2016 13:40:27 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70819] New: constexpr error location wrong Date: Wed, 27 Apr 2016 13:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02617.txt.bz2 Content-length: 1554 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70819 Bug ID: 70819 Summary: constexpr error location wrong Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- Created attachment 38345 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38345&action=3Dedit testcase Invoked as: nathan@morden:28>./cc1plus -fpreprocessed cexpr-error.ii=20 we get: constexpr int fn6(const int&, int) constexpr int fn7(const int*, int) cexpr-error.ii: At global scope: cexpr-error.ii:17:24: in constexpr expansion of 'fn7(0u, 0)' cexpr-error.ii:14:14: in constexpr expansion of 'fn6((* a), b)' cexpr-error.ii:7:7: error: 'a' is not a constant expression b =3D a; ^ cexpr-error.ii:18:24: in constexpr expansion of 'fn7(0u, 8)' cexpr-error.ii:14:14: in constexpr expansion of 'fn6((* a), b)' cexpr-error.ii:6:13: in constexpr expansion of 'fn6(a, 0)' cexpr-error.ii:18:43: error: 'a' is not a constant expression constexpr int n4 =3D fn7 ((const int *) 0, 8); The first error is correctly located at tha 'b =3D a;' location. The second instance is not, and shows the original call site. inside constexpr.c the first error is from an evaluation of the original function body. the secon= d is from a cloned copy via the recursive call. Something about cloning is thro= wing off the error location. >>From gcc-bugs-return-523405-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 13:44:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98633 invoked by alias); 27 Apr 2016 13:44:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98460 invoked by uid 48); 27 Apr 2016 13:44:16 -0000 From: "jgreenhalgh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/66200] GCC for ARM / AArch64 doesn't define TARGET_RELAXED_ORDERING Date: Wed, 27 Apr 2016 13:44: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.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jgreenhalgh at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ramana at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02618.txt.bz2 Content-length: 644 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66200 James Greenhalgh changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |jgreenhalgh at gcc dot gnu= .org Resolution|--- |FIXED --- Comment #11 from James Greenhalgh --- Looks like this is fixed on all live branches. Ramana, please reopen if the= re is something more to be done that I've missed. >>From gcc-bugs-return-523406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 13:52:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23770 invoked by alias); 27 Apr 2016 13:52:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23663 invoked by uid 48); 27 Apr 2016 13:52:22 -0000 From: "fdrocha at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70820] New: GCC incorrectly accepts code that accesses nested names in an incomplete type Date: Wed, 27 Apr 2016 13:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: fdrocha 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02619.txt.bz2 Content-length: 1367 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70820 Bug ID: 70820 Summary: GCC incorrectly accepts code that accesses nested names in an incomplete type Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fdrocha at gmail dot com Target Milestone: --- Consider the following code template struct Base { static constexpr int i =3D Derived::j; // static_assert(i>1, "First assert"); // First Assert // int array[i]; // Array declation }; struct Derived : public Base { static constexpr int j =3D 5 ; }; static constexpr int k =3D Base::i;=20 static_assert(Derived::i > 0, "Second Assert"); static_assert(Base::i > 0, "Third Assert"); int array[Derived::i]; GCC compiles this (I tried all versions between 4.9.0 and 5.3.0) with no er= rors or warnings even with -Wall -Wextra. If you uncomment either the line marked "First Assert" or "Array Declaratio= n" it correctly gives the error "error: incomplete type 'Derived' used in nest= ed name specifier". It should also not accept the code without those lines, for the same reason. >>From gcc-bugs-return-523407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 13:58:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38091 invoked by alias); 27 Apr 2016 13:58:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37856 invoked by uid 48); 27 Apr 2016 13:58:02 -0000 From: "simon at pushface dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/56616] gnatmake builds SAL incorrectly if library_kind is "static" Date: Wed, 27 Apr 2016 13:58: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: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simon at pushface dot 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02620.txt.bz2 Content-length: 1613 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56616 --- Comment #3 from simon at pushface dot org --- This PR was down to a lack of appreciation of the resources available. If you provide a Library_Interface and you're building a dynamic library, gprbuild populates the include Library_Src_Dir directory with the library interface units and builds a dynamic library with auto-initialization. If you provide a Library_Interface and you're building a static library, gprbuild uses the same rule to populate the include directory; but this mey be wrong if the non-visible units require elaboration (e.g. they call in the tasking runtime). The patch I provided meant that if you provided a Library_Interface for a static library, the include directory would be populated with all the units regardless of whether they were actually listed; I now see that using Interfaces and naming all the source files achieves the same effect! so no need for a patch (but maybe a blog posting?) For the BCs this would mean case Library_Type is when "relocatable" =3D> for Library_Src_Dir use "./include"; for Library_Interface use Source_Units; when "static" =3D> for Library_Src_Dir use "./include"; for Interfaces use Sources; end case; where I already have Source_Units :=3D ( "BC.Containers.Bags.Bounded", "BC.Containers.Bags.Dynamic", ... and Sources :=3D ( "bc-containers-bags-bounded.adb", "bc-containers-bags-bounded.ads", "bc-containers-bags-dynamic.adb", "bc-containers-bags-dynamic.ads", ... >>From gcc-bugs-return-523408-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 14:11:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69057 invoked by alias); 27 Apr 2016 14:10:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68749 invoked by uid 48); 27 Apr 2016 14:10:50 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70760] [6 regression] wrong generated code for std::make_unique with -fipa-pta Date: Wed, 27 Apr 2016 14:10: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work short_desc cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02621.txt.bz2 Content-length: 708 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |7.0 Summary|[6/7 regression] wrong |[6 regression] wrong |generated code for |generated code for |std::make_unique with |std::make_unique with |-fipa-pta |-fipa-pta Known to fail| |6.1.0 --- Comment #17 from Richard Biener --- Fixed on trunk sofar. >>From gcc-bugs-return-523409-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 14:11:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69072 invoked by alias); 27 Apr 2016 14:11:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68503 invoked by uid 55); 27 Apr 2016 14:10:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70760] [6/7 regression] wrong generated code for std::make_unique with -fipa-pta Date: Wed, 27 Apr 2016 14:11: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02622.txt.bz2 Content-length: 898 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 --- Comment #16 from Richard Biener --- Author: rguenth Date: Wed Apr 27 14:10:04 2016 New Revision: 235511 URL: https://gcc.gnu.org/viewcvs?rev=3D235511&root=3Dgcc&view=3Drev Log: 2016-04-27 Richard Biener PR ipa/70760 * tree-ssa-structalias.c (find_func_aliases_for_call): Use aggregate_value_p to determine if a function result is returned by reference. (ipa_pta_execute): Functions having their address taken are not automatically nonlocal. * g++.dg/ipa/ipa-pta-2.C: New testcase. * gcc.dg/ipa/ipa-pta-1.c: Adjust. Added: trunk/gcc/testsuite/g++.dg/ipa/ipa-pta-2.C Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/ipa/ipa-pta-1.c trunk/gcc/tree-ssa-structalias.c >>From gcc-bugs-return-523410-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 14:11:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69138 invoked by alias); 27 Apr 2016 14:11:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68746 invoked by uid 55); 27 Apr 2016 14:10:50 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70760] [6 regression] wrong generated code for std::make_unique with -fipa-pta Date: Wed, 27 Apr 2016 14:11: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work short_desc cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02623.txt.bz2 Content-length: 708 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |7.0 Summary|[6/7 regression] wrong |[6 regression] wrong |generated code for |generated code for |std::make_unique with |std::make_unique with |-fipa-pta |-fipa-pta Known to fail| |6.1.0 --- Comment #17 from Richard Biener --- Fixed on trunk sofar. >>From gcc-bugs-return-523411-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 14:16:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72416 invoked by alias); 27 Apr 2016 14:16:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72300 invoked by uid 48); 27 Apr 2016 14:16:13 -0000 From: "david.abdurachmanov at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70760] [6 regression] wrong generated code for std::make_unique with -fipa-pta Date: Wed, 27 Apr 2016 14:16: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: david.abdurachmanov at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02624.txt.bz2 Content-length: 206 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70760 --- Comment #18 from David Abdurachmanov --- For now I will pull this change into my GCC 6.1.0 build. Thanks! >>From gcc-bugs-return-523413-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 14:20:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89800 invoked by alias); 27 Apr 2016 14:20:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89474 invoked by uid 48); 27 Apr 2016 14:19:49 -0000 From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70121] Spurious warning and crash when returning a reference from lambda Date: Wed, 27 Apr 2016 14: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.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02626.txt.bz2 Content-length: 526 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70121 Patrick Palka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #9 from Patrick Palka --- Looks like this is a dup of PR c++/53157. *** This bug has been marked as a duplicate of bug 53157 *** >>From gcc-bugs-return-523412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 14:20:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89786 invoked by alias); 27 Apr 2016 14:20:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89511 invoked by uid 48); 27 Apr 2016 14:19:50 -0000 From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvNTMxNTddIHdpdGhpbiBsYW1iZGEsIGVycm9yOiBsdmFsdWUg?= =?UTF-8?B?cmVxdWlyZWQgYXMgdW5hcnkg4oCYJuKAmSBvcGVyYW5k?= Date: Wed, 27 Apr 2016 14: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: 4.7.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02625.txt.bz2 Content-length: 441 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53157 Patrick Palka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |blastrock at free dot fr --- Comment #3 from Patrick Palka --- *** Bug 70121 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-523414-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 14:24:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32211 invoked by alias); 27 Apr 2016 14:24:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29995 invoked by uid 48); 27 Apr 2016 14:23:57 -0000 From: "dhowells at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70821] New: x86_64: __atomic_fetch_add/sub() uses XADD rather than DECL in some cases Date: Wed, 27 Apr 2016 14:24: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dhowells at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02627.txt.bz2 Content-length: 2449 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70821 Bug ID: 70821 Summary: x86_64: __atomic_fetch_add/sub() uses XADD rather than DECL in some cases Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dhowells at redhat dot com Target Milestone: --- Created attachment 38346 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38346&action=3Dedit Test program __atomic_fetch_add/sub() uses XADD rather than DECL when subtracting 1 from= the counter if the result is acted upon, but where this could be done through t= he condition flags. For instance: static __always_inline bool atomic_sub_and_test(int i, atomic_t *v) { return __atomic_sub_fetch(&v->counter, i, __ATOMIC_SEQ_CST); } const char *test_atomic_dec_and_test(atomic_t *counter) { if (atomic_sub_and_test(1, counter)) return "foo"; return "bar"; } produces: 17: 83 c8 ff or $0xffffffff,%eax 1a: f0 0f c1 07 lock xadd %eax,(%rdi) 1e: ba 00 00 00 00 mov $0x0,%edx 23: ff c8 dec %eax 25: b8 00 00 00 00 mov $0x0,%eax 2a: 48 0f 44 c2 cmove %rdx,%rax 2e: c3 retq=20=20=20 when it should produce something more like this, which I get when adding 1 instead of subtracting 1, but with a DECL rather than an INCL: 46: f0 ff 07 lock incl (%rdi) 49: ba 00 00 00 00 mov $0x0,%edx 4e: b8 00 00 00 00 mov $0x0,%eax 53: 48 0f 44 c2 cmove %rdx,%rax 57: c3 retq=20=20=20 Note that adding or subtracting 2 and testing the zeroness of the result gi= ves SUBL/ADDL as expected. If the result is not tested, DECL is generated as expected: 13: f0 ff 0f lock decl (%rdi) 16: c3 retq=20=20=20 See the attached test program. This is the case for both: gcc version 5.3.1 20151207 (Red Hat 5.3.1-2) (GCC) gcc version 6.0.0 20160219 (Red Hat Cross 6.0.0-0.1) (GCC) The following version of gcc: gcc version 4.8.5 20150623 (Red Hat 4.8.5-2.x) (GCC)=20 also produces XADD rather than INCL/DECL/ADDL/SUBL if the result is looked = at at all. >>From gcc-bugs-return-523415-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 14:27:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70276 invoked by alias); 27 Apr 2016 14:27:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69334 invoked by uid 48); 27 Apr 2016 14:27:39 -0000 From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvNzA4MjJdIE5ldzogYm9ndXMgImVycm9yOiBsdmFsdWUgcmVx?= =?UTF-8?B?dWlyZWQgYXMgdW5hcnkg4oCYJuKAmSBvcGVyYW5kIiB3aXRoIEMrKzE0IHBh?= =?UTF-8?B?cmVudGhlc2l6ZWQgU0NPUEVfUkVG?= Date: Wed, 27 Apr 2016 14:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02628.txt.bz2 Content-length: 762 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70822 Bug ID: 70822 Summary: bogus "error: lvalue required as unary =E2=80=98&=E2=80= =99 operand" with C++14 parenthesized SCOPE_REF Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppalka at gcc dot gnu.org Target Milestone: --- $ cat scope.cc struct a { static int b; }; template void foo () { &(a::b); } $ g++ -std=3Dc++14 scope.cc scope.cc: In function =E2=80=98void foo()=E2=80=99: scope.cc:10:9: error: lvalue required as unary =E2=80=98&=E2=80=99 operand &(a::b); >>From gcc-bugs-return-523416-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 14:40:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83906 invoked by alias); 27 Apr 2016 14:40:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83587 invoked by uid 48); 27 Apr 2016 14:40:02 -0000 From: "dhowells at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70823] New: x86_64: __atomic_fetch_and/or/xor() should perhaps use BTR/BTS/BTC if they can Date: Wed, 27 Apr 2016 14:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dhowells at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02629.txt.bz2 Content-length: 2372 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70823 Bug ID: 70823 Summary: x86_64: __atomic_fetch_and/or/xor() should perhaps use BTR/BTS/BTC if they can Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dhowells at redhat dot com Target Milestone: --- Created attachment 38347 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38347&action=3Dedit Test source If given a mask that clears, sets or flips a single bit and the result is checked for just that bit and reduced to bool, then the __atomic_fetch_and,= _or and _xor functions should consider using BTR, BTS or BTC as appropriate. So, something like: static __always_inline bool test_and_set_bit(unsigned bit, unsigned long *ptr) { unsigned long mask =3D 1UL << (bit & (BITS_PER_LONG - 1)); unsigned long old; ptr +=3D bit / BITS_PER_LONG; old =3D __atomic_fetch_or(ptr, mask, __ATOMIC_SEQ_CST); return old & mask; } where the mask is constructed by 1UL << bitnr. As things stand, for the example above, the result ends up with a CMPXCHG loop rather a BTS instruct= ion: b: 89 f9 mov %edi,%ecx d: ba 01 00 00 00 mov $0x1,%edx 12: c1 ef 06 shr $0x6,%edi 15: 48 d3 e2 shl %cl,%rdx 18: 89 f9 mov %edi,%ecx 1a: 48 8b 04 ce mov (%rsi,%rcx,8),%rax 1e: 49 89 c0 mov %rax,%r8 21: 48 89 c7 mov %rax,%rdi 24: 49 09 d0 or %rdx,%r8 27: f0 4c 0f b1 04 ce lock cmpxchg %r8,(%rsi,%rcx,8) 2d: 75 ef jne 1e 2f: 48 85 fa test %rdi,%rdx 32: 0f 95 c0 setne %al 35: c3 retq=20=20=20 Could we instead get something like: bts %edi,(%rsi) setne %al retq See the attached test source which should be compiled to a .s file. This is the case for all of: gcc version 5.3.1 20151207 (Red Hat 5.3.1-2) (GCC) gcc version 6.0.0 20160219 (Red Hat Cross 6.0.0-0.1) (GCC) gcc version 4.8.5 20150623 (Red Hat 4.8.5-2.x) (GCC) >>From gcc-bugs-return-523417-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 14:46:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3406 invoked by alias); 27 Apr 2016 14:46:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3203 invoked by uid 48); 27 Apr 2016 14:46:29 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70820] GCC incorrectly accepts code that accesses nested names in an incomplete type Date: Wed, 27 Apr 2016 14:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02630.txt.bz2 Content-length: 946 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70820 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #1 from Jason Merrill --- 14.7.1: "The implicit instantiation of a class template specialization cau= ses the implicit instantiation of the declarations, but not of the definitions, default arguments, or exception-specifications of the class member function= s, member classes, scoped member enumerations, static data members and member templates; and it causes the implicit instantiation of the definitions of unscoped member enumerations and member anonymous unions." So I don't think that the instantiation of Base requires the instantiation of the definition of Base::i. >>From gcc-bugs-return-523418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 14:55:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50986 invoked by alias); 27 Apr 2016 14:55:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49676 invoked by uid 48); 27 Apr 2016 14:55:39 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70766] stream iterators, shared_lock, and atomic should all use addressof and not & Date: Wed, 27 Apr 2016 14:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.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 assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02631.txt.bz2 Content-length: 378 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70766 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu= .org >>From gcc-bugs-return-523419-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 15:16:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62887 invoked by alias); 27 Apr 2016 15:16:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62698 invoked by uid 48); 27 Apr 2016 15:15:50 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70817] Internal compiler error coarrays -finit-real=snan Date: Wed, 27 Apr 2016 15:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02632.txt.bz2 Content-length: 597 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70817 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-27 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- Confirmed from 4.7 up to trunk (7.0) when using -fcoarray=3Dlib. The code compiles when using -fcoarray=3Dsingle. >>From gcc-bugs-return-523420-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 15:22:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108323 invoked by alias); 27 Apr 2016 15:22:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106056 invoked by uid 48); 27 Apr 2016 15:22:12 -0000 From: "trulsjo at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70824] New: cc1plus consumes all available memory on specific template code Date: Wed, 27 Apr 2016 15:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trulsjo at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02633.txt.bz2 Content-length: 1079 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70824 Bug ID: 70824 Summary: cc1plus consumes all available memory on specific template code Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: trulsjo at gmail dot com Target Milestone: --- Created attachment 38348 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38348&action=3Dedit Prerocessed source for failed compile Compiling this code with g++ 6.1.0 causes cc1plus to consume all available memory (or at least more than 12GB): #include template size_t=20 a() { const int v =3D std::max({1}); return v; } Compiled with g++ TJOTest.cpp -c --save-temps gcc version is 6.1.0 release, compiled on Ubuntu 16.04 system with ./config= ure && make && make install The same code compiles successfully on stock compiler in Ubuntu 16.04 (g++ 5.3.1-14ubuntu2) 5.3.1 20160413 >>From gcc-bugs-return-523421-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 15:29:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126537 invoked by alias); 27 Apr 2016 15:29:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126351 invoked by uid 48); 27 Apr 2016 15:29:28 -0000 From: "dhowells at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70825] New: x86_64: __atomic_compare_exchange_n() accesses stack unnecessarily Date: Wed, 27 Apr 2016 15:29: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dhowells at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02634.txt.bz2 Content-length: 4065 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70825 Bug ID: 70825 Summary: x86_64: __atomic_compare_exchange_n() accesses stack unnecessarily Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dhowells at redhat dot com Target Milestone: --- Created attachment 38349 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38349&action=3Dedit Example code __atomic_compare_exchange_n() stores the 'expected' value and, if not discarded, the old value on the stack rather than in a register and then may immediately retrieve the old value from there back into the register from whence it just came. For example: static __always_inline int atomic_cmpxchg(atomic_t *v, int old, int new) { int cur =3D old; if (__atomic_compare_exchange_n(&v->counter, &cur, new, false, __ATOMIC_SEQ_CST, __ATOMIC_RELAXED)) return cur; return cur; } void test_atomic_cmpxchg(atomic_t *counter) { atomic_cmpxchg(counter, 23, 42); } produces: 0: ba 2a 00 00 00 mov $0x2a,%edx 5: b8 17 00 00 00 mov $0x17,%eax a: c7 44 24 fc 17 00 00 movl $0x17,-0x4(%rsp) 11: 00=20 12: f0 0f b1 17 lock cmpxchg %edx,(%rdi) 16: c3 retq=20=20=20 Note line a where 0x17 is stored at -04(%rsp) unnecessarily (the value is dicarded). Note also that this value is in %eax at the time and could be s= aved from there rather than using an immediate operand. And then: int test_atomic_cmpxchg_2(atomic_t *counter) { return atomic_cmpxchg(counter, 23, 42); } where the value is returned, we get something like: 20: ba 2a 00 00 00 mov $0x2a,%edx 25: b8 17 00 00 00 mov $0x17,%eax 2a: c7 44 24 fc 17 00 00 movl $0x17,-0x4(%rsp) 31: 00=20 32: f0 0f b1 17 lock cmpxchg %edx,(%rdi) 36: 74 04 je 3c 38: 89 44 24 fc mov %eax,-0x4(%rsp) 3c: 8b 44 24 fc mov -0x4(%rsp),%eax 40: c3 retq=20=20=20 In this case, the return value is being constructed on the stack whereas the value we actually want to return is in %eax at the conclusion of the CMPXCH= G, so lines 2a & 36-3c are redundant. Changing atomic_cmpxchg() slightly: static __always_inline int atomic_cmpxchg_B(atomic_t *v, int old, int new) { int cur =3D old; if (__atomic_compare_exchange_n(&v->counter, &cur, new, false, __ATOMIC_SEQ_CST, __ATOMIC_RELAXED)) --> return old; return cur; } does generate code that's somewhat better: a0: ba 2a 00 00 00 mov $0x2a,%edx a5: b8 17 00 00 00 mov $0x17,%eax aa: c7 44 24 fc 17 00 00 movl $0x17,-0x4(%rsp) b1: 00=20 b2: f0 0f b1 17 lock cmpxchg %edx,(%rdi) b6: ba 17 00 00 00 mov $0x17,%edx bb: 0f 45 d0 cmovne %eax,%edx be: 89 d0 mov %edx,%eax c0: c3 retq=20=20=20 However, given the fact that old =3D=3D cur must hold true if the CMPXCHG succeeded, lines b6-be are redundant. Note that the unnecessary store (line aa) is still there. Note that clang does somewhat better than gcc: 50: b9 2a 00 00 00 mov $0x2a,%ecx 55: b8 17 00 00 00 mov $0x17,%eax 5a: f0 0f b1 0f lock cmpxchg %ecx,(%rdi) 5e: c3 retq=20=20=20 5f: 90 nop See the attached example code which should be compiled to a .s file. This is the case for all of: gcc version 5.3.1 20151207 (Red Hat 5.3.1-2) (GCC) gcc version 6.0.0 20160219 (Red Hat Cross 6.0.0-0.1) (GCC) gcc version 4.8.5 20150623 (Red Hat 4.8.5-2.x) (GCC) >>From gcc-bugs-return-523423-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 15:38:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75144 invoked by alias); 27 Apr 2016 15:38:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74111 invoked by uid 48); 27 Apr 2016 15:37:53 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70815] ICE when using read statement applied to deferred-length string pointer as derived type component Date: Wed, 27 Apr 2016 15:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status blocked resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02636.txt.bz2 Content-length: 826 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70815 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Blocks| |68241 Resolution|--- |DUPLICATE --- Comment #1 from Dominique d'Humieres --- Fixed on 6.1 and trunk (7.0) between revisions r228467 (2015-10-05, ICE) and r228566 (2015-10-07, OK), likely r228551 (pr65766). Closing as duplicate. *** This bug has been marked as a duplicate of bug 65766 *** Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68241 [Bug 68241] [meta-bug] Deferred-length character >>From gcc-bugs-return-523424-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 15:38:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75213 invoked by alias); 27 Apr 2016 15:38:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74268 invoked by uid 48); 27 Apr 2016 15:37:55 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/65766] gFortran Compiler SEGFAULTING on compiling simple program Date: Wed, 27 Apr 2016 15:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02637.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65766 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pvdp.bugzilla at gmail dot= com --- Comment #13 from Dominique d'Humieres --- *** Bug 70815 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-523422-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 15:38:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75131 invoked by alias); 27 Apr 2016 15:38:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74436 invoked by uid 48); 27 Apr 2016 15:37:56 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68241] [meta-bug] Deferred-length character Date: Wed, 27 Apr 2016 15:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02635.txt.bz2 Content-length: 529 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68241 Bug 68241 depends on bug 70815, which changed state. Bug 70815 Summary: ICE when using read statement applied to deferred-length= string pointer as derived type component https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70815 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE >>From gcc-bugs-return-523425-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 15:42:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89705 invoked by alias); 27 Apr 2016 15:42:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89576 invoked by uid 48); 27 Apr 2016 15:42:06 -0000 From: "seurer at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70826] New: [7 regression] many test cases fail starting with r235442 Date: Wed, 27 Apr 2016 15:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02638.txt.bz2 Content-length: 5705 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70826 Bug ID: 70826 Summary: [7 regression] many test cases fail starting with r235442 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: seurer at linux dot vnet.ibm.com Target Milestone: --- Note: For at least some of the guality test case failures I have some doubt that the test cases are valid. But there are a few non-guality ones. New failures: FAIL: gcc.dg/guality/nrv-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 20 a2.i[0] =3D=3D 42 FAIL: gcc.dg/guality/pr36728-1.c -O2 line 18 *x =3D=3D (char) 25 FAIL: gcc.dg/guality/pr36728-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 18 *x =3D=3D (char) 25 FAIL: gcc.dg/guality/pr36728-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 18 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-1.c -O3 -g line 18 *x =3D=3D (char) 25 FAIL: gcc.dg/guality/pr36728-1.c -Os line 18 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 18 *x =3D=3D (char) 25 FAIL: gcc.dg/guality/pr36728-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 18 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-2.c -Os line 18 *x =3D=3D (char) 25 FAIL: gcc.dg/guality/pr36728-3.c -O2 line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-3.c -O2 line 16 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-3.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-3.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 16 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-3.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-3.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-3.c -O3 -g line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-3.c -O3 -g line 16 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-3.c -Os line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-3.c -Os line 16 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-4.c -O2 line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-4.c -O2 line 16 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-4.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-4.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 16 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-4.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-4.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-4.c -O3 -g line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-4.c -O3 -g line 16 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-4.c -Os line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-4.c -Os line 16 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-1.c -O2 line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-1.c -O2 line 16 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 16 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-1.c -O3 -g line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-1.c -O3 -g line 16 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-1.c -Os line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-1.c -Os line 16 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-2.c -O2 line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-2.c -O2 line 16 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-2.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-2.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 16 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-2.c -O3 -g line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-2.c -O3 -g line 16 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-2.c -Os line 14 y =3D=3D 2 FAIL: gcc.dg/guality/pr68860-2.c -Os line 16 y =3D=3D 2 FAIL: gcc.target/powerpc/savres.c -O2 execution test FAIL: gcc.target/powerpc/savres.c -O2 -mno-multiple execution test FAIL: gcc.target/powerpc/savres.c -Os execution test FAIL: gcc.target/powerpc/savres.c -Os -mno-multiple execution test New passes: FAIL: gcc.dg/guality/pr36728-1.c -O2 line 18 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 18 y =3D=3D 2 FAIL: gcc.dg/guality/pr36728-2.c -Os line 18 y =3D=3D 2 FAIL: gcc.dg/guality/sra-1.c -O2 line 43 a.j =3D=3D 14 FAIL: gcc.dg/guality/sra-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 43 a.j =3D=3D 14 FAIL: gcc.dg/guality/sra-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 43 a.j =3D=3D 14 FAIL: gcc.dg/guality/sra-1.c -O3 -g line 43 a.j =3D=3D 14 FAIL: gcc.dg/guality/sra-1.c -Os line 43 a.j =3D=3D 14 FAIL: gfortran.dg/unknown_commons.f -O scan-tree-dump-not dom2 "FIND" FAIL: gfortran.dg/unknown_commons.f -O scan-tree-dump-times dom2 "=20 mycommon\\.x\\[_[0-9]+\\] =3D _[0-9]+;" 1 >>From gcc-bugs-return-523428-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 16:00:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47494 invoked by alias); 27 Apr 2016 16:00:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46458 invoked by uid 48); 27 Apr 2016 16:00:23 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70342] g++ -fsanitize=undefined never finishes compiling (>24h) in qtxmlpatterns test suite Date: Wed, 27 Apr 2016 16:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02640.txt.bz2 Content-length: 1042 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70342 --- Comment #8 from Marek Polacek --- So it seems this fixes this problem: diff --git a/gcc/c-family/c-ubsan.c b/gcc/c-family/c-ubsan.c index 4022bdf..b829c04 100644 --- a/gcc/c-family/c-ubsan.c +++ b/gcc/c-family/c-ubsan.c @@ -395,8 +395,11 @@ ubsan_maybe_instrument_reference_or_call (location_t l= oc, tree op, tree ptype, int save_flag_delete_null_pointer_checks =3D flag_delete_null_pointer_checks; flag_delete_null_pointer_checks =3D 1; - if (!tree_single_nonzero_warnv_p (op, &strict_overflow_p) - || strict_overflow_p) + if ((!tree_single_nonzero_warnv_p (op, &strict_overflow_p) + || strict_overflow_p) + /* Instrumenting &TARGET_EXPR <...> is a waste and can result + in compile-time hog; see PR70342. */ + && TREE_CODE (TREE_OPERAND (op, 0)) !=3D TARGET_EXPR) instrument =3D true; flag_delete_null_pointer_checks =3D save_flag_delete_null_pointer_checks; >>From gcc-bugs-return-523426-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 16:00:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46654 invoked by alias); 27 Apr 2016 16:00:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42536 invoked by uid 48); 27 Apr 2016 16:00:15 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70823] x86_64: __atomic_fetch_and/or/xor() should perhaps use BTR/BTS/BTC if they can Date: Wed, 27 Apr 2016 16:00: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02639.txt.bz2 Content-length: 596 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70823 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |msebor at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Martin Sebor --- Resolving as a duplicate of bug 49244. *** This bug has been marked as a duplicate of bug 49244 *** >>From gcc-bugs-return-523427-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 16:00:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47471 invoked by alias); 27 Apr 2016 16:00:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46608 invoked by uid 48); 27 Apr 2016 16:00:31 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49244] __sync or __atomic builtins will not emit 'lock bts/btr/btc' Date: Wed, 27 Apr 2016 16:00: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: msebor 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02641.txt.bz2 Content-length: 441 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49244 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dhowells at redhat dot com --- Comment #5 from Martin Sebor --- *** Bug 70823 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-523429-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 16:08:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119906 invoked by alias); 27 Apr 2016 16:08:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101782 invoked by uid 48); 27 Apr 2016 16:08:12 -0000 From: "bernds at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70826] [7 regression] many test cases fail starting with r235442 Date: Wed, 27 Apr 2016 16:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bernds 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02642.txt.bz2 Content-length: 298 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70826 --- Comment #1 from Bernd Schmidt --- So the only non-guality failure is powerpc/savres.c? Is there a way to redu= ce this a bit, and also provide an (ideally reduced) preprocessed version that exhibits the failure? >>From gcc-bugs-return-523430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 16:18:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20635 invoked by alias); 27 Apr 2016 16:18:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20466 invoked by uid 48); 27 Apr 2016 16:18:08 -0000 From: "dhowells at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49244] __sync or __atomic builtins will not emit 'lock bts/btr/btc' Date: Wed, 27 Apr 2016 16:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dhowells at redhat 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02643.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49244 --- Comment #6 from dhowells at redhat dot com = --- I'm looking to implement Linux kernel atomics with C++-11 intrinsics, so be= ing able to reduce a CMPXCHG-loop to BTR/BTS/BTC would be really handy. >>From gcc-bugs-return-523431-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 16:39:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115728 invoked by alias); 27 Apr 2016 16:39:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115588 invoked by uid 48); 27 Apr 2016 16:38:57 -0000 From: "lucdanton at free dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70827] New: [6 regression] dubious use of deleted function in inherited constructor Date: Wed, 27 Apr 2016 16:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lucdanton at free dot fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02644.txt.bz2 Content-length: 1848 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70827 Bug ID: 70827 Summary: [6 regression] dubious use of deleted function in inherited constructor Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lucdanton at free dot fr Target Milestone: --- struct move_only { move_only() =3D default; move_only(move_only&&) =3D default; }; struct base { base(move_only) {} }; struct derived: base { // error: use of deleted function 'constexpr move_only::move_only(const move_only&)' using base::base; }; int main() { // note: synthesized method 'derived::derived(move_only)' first required here derived h(move_only {}); } =3D=3D=3D=3D=3D Using GCC 6.1: $ g++-trunk --version g++-trunk (GCC) 6.1.0 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ g++-trunk -std=3Dc++11 main.cpp=20 main.cpp: In constructor 'derived::derived(move_only)': main.cpp:12:17: error: use of deleted function 'constexpr move_only::move_only(const move_only&)' using base::base; ^~~~ main.cpp:1:8: note: 'constexpr move_only::move_only(const move_only&)' is implicitly declared as deleted because 'move_only' declares a move construc= tor or move assignment operator struct move_only { ^~~~~~~~~ main.cpp: In function 'int main()': main.cpp:18:27: note: synthesized method 'derived::derived(move_only)' first required here=20 derived h(move_only {}); =3D=3D=3D=3D=3D The program compiles fine with 5.3.1, earlier 6 snapshots, and Clang. >>From gcc-bugs-return-523432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 17:05:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16107 invoked by alias); 27 Apr 2016 17:05:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7784 invoked by uid 48); 27 Apr 2016 17:05:41 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70826] [7 regression] many test cases fail starting with r235442 Date: Wed, 27 Apr 2016 17:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02645.txt.bz2 Content-length: 319 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70826 --- Comment #2 from Bill Schmidt --- I don't know the register-renames code at all -- does it update debug information when it replaces registers? Sounds like gdb is getting stale results for which register represents a memory value. >>From gcc-bugs-return-523433-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 17:16:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57092 invoked by alias); 27 Apr 2016 17:16:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46576 invoked by uid 48); 27 Apr 2016 17:16:42 -0000 From: "fdrocha at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70820] GCC incorrectly accepts code that accesses nested names in an incomplete type Date: Wed, 27 Apr 2016 17:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: fdrocha 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02646.txt.bz2 Content-length: 1202 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70820 Fabio Rocha changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Fabio Rocha --- (In reply to Jason Merrill from comment #1) > 14.7.1: "The implicit instantiation of a class template specialization > causes the implicit instantiation of the declarations, but not of the > definitions, default arguments, or exception-specifications of the class > member functions, member classes, scoped member enumerations, static data > members and member templates; and it causes the implicit instantiation of > the definitions of unscoped member enumerations and member anonymous unio= ns." >=20 > So I don't think that the instantiation of Base requires the > instantiation of the definition of Base::i. You may be correct, not sure this is actually bug.=20 Still, it feels pretty strange that uncommenting the "First Assert" is what makes the code incorrect... >>From gcc-bugs-return-523434-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 17:17:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58250 invoked by alias); 27 Apr 2016 17:17:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57815 invoked by uid 48); 27 Apr 2016 17:17:02 -0000 From: "fdrocha at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70820] GCC incorrectly accepts code that accesses nested names in an incomplete type Date: Wed, 27 Apr 2016 17:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: fdrocha 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02647.txt.bz2 Content-length: 907 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70820 --- Comment #3 from Fabio Rocha --- (In reply to Jason Merrill from comment #1) > 14.7.1: "The implicit instantiation of a class template specialization > causes the implicit instantiation of the declarations, but not of the > definitions, default arguments, or exception-specifications of the class > member functions, member classes, scoped member enumerations, static data > members and member templates; and it causes the implicit instantiation of > the definitions of unscoped member enumerations and member anonymous unio= ns." >=20 > So I don't think that the instantiation of Base requires the > instantiation of the definition of Base::i. You may be correct, not sure this is actually bug.=20 Still, it feels pretty strange that uncommenting the "First Assert" is what makes the code incorrect... >>From gcc-bugs-return-523435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 17:17:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59260 invoked by alias); 27 Apr 2016 17:17:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59007 invoked by uid 48); 27 Apr 2016 17:17:22 -0000 From: "fdrocha at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70820] GCC incorrectly accepts code that accesses nested names in an incomplete type Date: Wed, 27 Apr 2016 17:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: fdrocha at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02648.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70820 Fabio Rocha changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |INVALID >>From gcc-bugs-return-523436-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 17:33:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110916 invoked by alias); 27 Apr 2016 17:33:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110460 invoked by uid 55); 27 Apr 2016 17:33:14 -0000 From: "hjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70155] Use SSE for TImode load/store Date: Wed, 27 Apr 2016 17:33: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.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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02649.txt.bz2 Content-length: 7254 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70155 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Wed Apr 27 17:32:40 2016 New Revision: 235518 URL: https://gcc.gnu.org/viewcvs?rev=3D235518&root=3Dgcc&view=3Drev Log: Extend STV pass to 64-bit mode 128-bit SSE load and store instructions can be used for load and store of 128-bit integers if they are the only operations on 128-bit integers. To convert load and store of 128-bit integers to 128-bit SSE load and store, the original STV pass, which is designed to convert 64-bit integer operations to SSE2 operations in 32-bit mode, is extended to 64-bit mode in the following ways: 1. Class scalar_chain is turned into base class. The 32-bit specific member functions are moved to the new derived class, dimode_scalar_chain. The new derived class, timode_scalar_chain, is added to convert oad and store of 128-bit integers to 128-bit SSE load and store. 2. Add the 64-bit version of scalar_to_vector_candidate_p and remove_non_convertible_regs. Only TImode load and store are allowed for conversion. If one instruction on the chain of dependent instructions aren't TImode load or store, the chain of instructions won't be converted. 3. In 64-bit, we only convert from TImode to V1TImode, which have the same size. The difference is only vector registers are allowed in TImode so that 128-bit SSE load and store instructions will be used for load and store of 128-bit integers. 4. Put the 64-bit STV pass before the CSE pass so that instructions changed or generated by the STV pass can be CSEed. convert_scalars_to_vector calls free_dominance_info in 64-bit mode to work around ICE in fwprop pass: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70807 when building libgcc on Linux/x86-64. gcc/ PR target/70155 * config/i386/i386.c (scalar_to_vector_candidate_p): Renamed to ... (dimode_scalar_to_vector_candidate_p): This. (timode_scalar_to_vector_candidate_p): New function. (scalar_to_vector_candidate_p): Likewise. (timode_check_non_convertible_regs): Likewise. (timode_remove_non_convertible_regs): Likewise. (remove_non_convertible_regs): Likewise. (remove_non_convertible_regs): Renamed to ... (dimode_remove_non_convertible_regs): This. (scalar_chain::~scalar_chain): Make it virtual. (scalar_chain::compute_convert_gain): Make it pure virtual. (scalar_chain::mark_dual_mode_def): Likewise. (scalar_chain::convert_insn): Likewise. (scalar_chain::convert_registers): Likewise. (scalar_chain::add_to_queue): Make it protected. (scalar_chain::emit_conversion_insns): Likewise. (scalar_chain::replace_with_subreg): Likewise. (scalar_chain::replace_with_subreg_in_insn): Likewise. (scalar_chain::convert_op): Likewise. (scalar_chain::convert_reg): Likewise. (scalar_chain::make_vector_copies): Likewise. (scalar_chain::convert_registers): New pure virtual function. (class dimode_scalar_chain): New class. (class timode_scalar_chain): Likewise. (scalar_chain::mark_dual_mode_def): Renamed to ... (dimode_scalar_chain::mark_dual_mode_def): This. (timode_scalar_chain::mark_dual_mode_def): New function. (timode_scalar_chain::convert_insn): Likewise. (dimode_scalar_chain::convert_registers): Likewise. (scalar_chain::compute_convert_gain): Renamed to ... (dimode_scalar_chain::compute_convert_gain): This. (scalar_chain::replace_with_subreg): Renamed to ... (dimode_scalar_chain::replace_with_subreg): This. (scalar_chain::replace_with_subreg_in_insn): Renamed to ... (dimode_scalar_chain::replace_with_subreg_in_insn): This. (scalar_chain::make_vector_copies): Renamed to ... (dimode_scalar_chain::make_vector_copies): This. (scalar_chain::convert_reg): Renamed to ... (dimode_scalar_chain::convert_reg ): This. (scalar_chain::convert_op): Renamed to ... (dimode_scalar_chain::convert_op): This. (scalar_chain::convert_insn): Renamed to ... (dimode_scalar_chain::convert_insn): This. (scalar_chain::convert): Call convert_registers. (convert_scalars_to_vector): Change to scalar_chain pointer to use timode_scalar_chain in 64-bit mode and dimode_scalar_chain in 32-bit mode. Delete scalar_chain pointer. Call free_dominance_info in 64-bit mode. (pass_stv::gate): Remove TARGET_64BIT check. (ix86_option_override): Put the 64-bit STV pass before the CSE pass. gcc/testsuite/ PR target/70155 * gcc.target/i386/pr55247-2.c: Updated to check movti_internal and movv1ti_internal patterns * gcc.target/i386/pr70155-1.c: New test. * gcc.target/i386/pr70155-2.c: Likewise. * gcc.target/i386/pr70155-3.c: Likewise. * gcc.target/i386/pr70155-4.c: Likewise. * gcc.target/i386/pr70155-5.c: Likewise. * gcc.target/i386/pr70155-6.c: Likewise. * gcc.target/i386/pr70155-7.c: Likewise. * gcc.target/i386/pr70155-8.c: Likewise. * gcc.target/i386/pr70155-9.c: Likewise. * gcc.target/i386/pr70155-10.c: Likewise. * gcc.target/i386/pr70155-11.c: Likewise. * gcc.target/i386/pr70155-12.c: Likewise. * gcc.target/i386/pr70155-13.c: Likewise. * gcc.target/i386/pr70155-14.c: Likewise. * gcc.target/i386/pr70155-15.c: Likewise. * gcc.target/i386/pr70155-16.c: Likewise. * gcc.target/i386/pr70155-17.c: Likewise. * gcc.target/i386/pr70155-18.c: Likewise. * gcc.target/i386/pr70155-19.c: Likewise. * gcc.target/i386/pr70155-20.c: Likewise. * gcc.target/i386/pr70155-21.c: Likewise. * gcc.target/i386/pr70155-22.c: Likewise. Added: trunk/gcc/testsuite/gcc.target/i386/pr70155-1.c trunk/gcc/testsuite/gcc.target/i386/pr70155-10.c trunk/gcc/testsuite/gcc.target/i386/pr70155-11.c trunk/gcc/testsuite/gcc.target/i386/pr70155-12.c trunk/gcc/testsuite/gcc.target/i386/pr70155-13.c trunk/gcc/testsuite/gcc.target/i386/pr70155-14.c trunk/gcc/testsuite/gcc.target/i386/pr70155-15.c trunk/gcc/testsuite/gcc.target/i386/pr70155-16.c trunk/gcc/testsuite/gcc.target/i386/pr70155-17.c trunk/gcc/testsuite/gcc.target/i386/pr70155-18.c trunk/gcc/testsuite/gcc.target/i386/pr70155-19.c trunk/gcc/testsuite/gcc.target/i386/pr70155-2.c trunk/gcc/testsuite/gcc.target/i386/pr70155-20.c trunk/gcc/testsuite/gcc.target/i386/pr70155-21.c trunk/gcc/testsuite/gcc.target/i386/pr70155-22.c trunk/gcc/testsuite/gcc.target/i386/pr70155-3.c trunk/gcc/testsuite/gcc.target/i386/pr70155-4.c trunk/gcc/testsuite/gcc.target/i386/pr70155-5.c trunk/gcc/testsuite/gcc.target/i386/pr70155-6.c trunk/gcc/testsuite/gcc.target/i386/pr70155-7.c trunk/gcc/testsuite/gcc.target/i386/pr70155-8.c trunk/gcc/testsuite/gcc.target/i386/pr70155-9.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/i386/pr55247-2.c >>From gcc-bugs-return-523437-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 17:33:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112109 invoked by alias); 27 Apr 2016 17:33:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111995 invoked by uid 48); 27 Apr 2016 17:33:54 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70155] Use SSE for TImode load/store Date: Wed, 27 Apr 2016 17:33: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.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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02650.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70155 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |7.0 --- Comment #6 from H.J. Lu --- Fixed for GCC 7. >>From gcc-bugs-return-523438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 17:35:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114023 invoked by alias); 27 Apr 2016 17:35:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 113855 invoked by uid 48); 27 Apr 2016 17:35:06 -0000 From: "bernds at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70826] [7 regression] many test cases fail starting with r235442 Date: Wed, 27 Apr 2016 17:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bernds 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02651.txt.bz2 Content-length: 168 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70826 --- Comment #3 from Bernd Schmidt --- In theory debug_insns are updated by regrename. >>From gcc-bugs-return-523439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 17:45:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127479 invoked by alias); 27 Apr 2016 17:44:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127304 invoked by uid 48); 27 Apr 2016 17:44:47 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70807] fwprop pass ICE with incoming CDI_DOMINATORS Date: Wed, 27 Apr 2016 17:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 7.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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02652.txt.bz2 Content-length: 263 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70807 --- Comment #2 from H.J. Lu --- Created attachment 38350 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38350&action=3Dedit A patch to trigger ICE in fwprop pass on x86-64 >>From gcc-bugs-return-523440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 17:45:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128420 invoked by alias); 27 Apr 2016 17:45:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127438 invoked by uid 48); 27 Apr 2016 17:44:57 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70807] fwprop pass ICE with incoming CDI_DOMINATORS Date: Wed, 27 Apr 2016 17:45: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02653.txt.bz2 Content-length: 450 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70807 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-27 Target Milestone|--- |7.0 Ever confirmed|0 |1 >>From gcc-bugs-return-523441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 18:19:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35808 invoked by alias); 27 Apr 2016 18:19:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23403 invoked by uid 48); 27 Apr 2016 18:18:53 -0000 From: "cesar at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70828] New: broken array-type subarrays inside acc data in openacc Date: Wed, 27 Apr 2016 18:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: cesar at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: cesar 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 attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02654.txt.bz2 Content-length: 1100 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70828 Bug ID: 70828 Summary: broken array-type subarrays inside acc data in openacc Product: gcc Version: 6.1.0 Status: UNCONFIRMED Keywords: openacc Severity: normal Priority: P3 Component: middle-end Assignee: cesar at gcc dot gnu.org Reporter: cesar at gcc dot gnu.org CC: tschwinge at gcc dot gnu.org Target Milestone: --- Created attachment 38351 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38351&action=3Dedit broken subarray Given an array-typed subarray with a non-zero base element on an acc data construct, the gimplifier will implicitly add a pcopy clause for any parall= el and kernels construct which uses that array. The pcopy is correct, but this pcopy expects the entire array to be present on the accelerator. This ultimately results in a runtime failure when the base of the subarray is not element zero. This problem can be reproduced with the attached test case in trunk and gcc= -6. >>From gcc-bugs-return-523442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 18:33:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 406 invoked by alias); 27 Apr 2016 18:33:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130828 invoked by uid 48); 27 Apr 2016 18:33:44 -0000 From: "seurer at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70826] [7 regression] many test cases fail starting with r235442 Date: Wed, 27 Apr 2016 18:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02655.txt.bz2 Content-length: 880 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70826 --- Comment #4 from Bill Seurer --- =46rom poking around in gdb it is dying on line 1078 in the code from the VERIFY_CR macro (part of VERIFY_REGS) though "where" shows line 1070 for so= me reason.=20=20 #ifndef __NO_FPRS__ b_all (); VERIFY_REGS; b_cvfr (); VERIFY_REGS; b_vfr (); VERIFY_REGS; b_cvf (); VERIFY_REGS; b_vf (); VERIFY_REGS; // line 1078, dies here #endif #define VERIFY_CR ({ int tmp; __asm__ __volatile__ ("mfcr %0" : "=3Dr" (tmp= )); if ((tmp & ((15 << 20) | (15 << 16) | (15 << 12))) !=3D ((6 << 20) | (7 << 16)= | (8 << 12))) abort (); }) (gdb) print /x tmp $2 =3D 0x22278082 (gdb) print /x $cr $4 =3D 0x22278082 After the bit manipulation the value in the CR comes out as 0x00278000 but = it is being compared to 0x00678000 and thus the abort. >>From gcc-bugs-return-523443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 18:43:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49235 invoked by alias); 27 Apr 2016 18:43:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48975 invoked by uid 48); 27 Apr 2016 18:43:31 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70829] New: LTO bootstrap failure Date: Wed, 27 Apr 2016 18:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: prathamesh3492 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02656.txt.bz2 Content-length: 923 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70829 Bug ID: 70829 Summary: LTO bootstrap failure Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: prathamesh3492 at gcc dot gnu.org Target Milestone: --- Hi, LTO bootstrap fails for r235507. Comparing stages 2 and 3 warning: gcc/cc1plus-checksum.o differs warning: gcc/cc1-checksum.o differs Bootstrap comparison failure! There are a bunch of files that are differing. The entire build log can be seen here: http://people.linaro.org/~prathamesh.kulkarni/err Could someone confirm this failure with LTO ? I configured with: --enable-languages=3Dc,c++,fortran --with-build-config=3Dbootstrap-lto --disable-werror. Bootstrap without LTO succeeds. Thanks, Prathamesh >>From gcc-bugs-return-523444-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 20:09:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67711 invoked by alias); 27 Apr 2016 20:09:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67337 invoked by uid 48); 27 Apr 2016 20:09:01 -0000 From: "fabian@ritter-vogt.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70830] New: ARM interrupt attribute: push/pop do not support {reglist}^ Date: Wed, 27 Apr 2016 20:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fabian@ritter-vogt.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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02657.txt.bz2 Content-length: 888 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70830 Bug ID: 70830 Summary: ARM interrupt attribute: push/pop do not support {reglist}^ Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: fabian@ritter-vogt.de Target Milestone: --- Using attribute((interrupt)) on a function that accesses a local and a glob= al variable causes gcc to emit broken assembly. It needs to be "ldm" instead of pop. Code: long *a; __attribute__((interrupt)) void fn1() { for (int x; x;) *(long *)8096384 =3D a[20 / x]; } Output: > >arm-none-eabi-gcc -c -Os test.c > test.s: Assembler messages: > test.s:47: Error: push/pop do not support {reglist}^ -- `pop {r0,r1,r2,r3= ,pc}^' >>From gcc-bugs-return-523445-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 20:23:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67308 invoked by alias); 27 Apr 2016 20:23:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66949 invoked by uid 48); 27 Apr 2016 20:23:38 -0000 From: "jeffbai at aosc dot xyz" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/70831] New: FTBFS: Build fails with bootstrap-lto and profiledbootstrap Date: Wed, 27 Apr 2016 20:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jeffbai at aosc dot xyz 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02658.txt.bz2 Content-length: 2987 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70831 Bug ID: 70831 Summary: FTBFS: Build fails with bootstrap-lto and profiledbootstrap Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: jeffbai at aosc dot xyz Target Milestone: --- A build failure is observed today when I tested building GCC with both=20 ./configure ... \ --with-build-config=3Dbootstrap-lto and make profiledboostrap The build fails when linking libmpx/mpxwrap target, detailed error is shown below. /var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/libmpx/mpxwrap/mpx_wrappers.c:= 520:1: note: '__mpx_wrapper_strncat' was previously declared here /var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/libmpx/mpxwrap/mpx_wrappers.c:= 520:1: note: code may be misoptimized unless -fno-strict-aliasing is used /var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/libmpx/mpxwrap/mpx_wrappers.c:= In function '__mpx_wrapper_malloc.chkp': /var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/libmpx/mpxwrap/mpx_wrappers.c:= 35:9: internal compiler error: in ultimate_transparent_alias_target, at varasm.c:= 1263 void *p =3D (void *)malloc (size); ^ 0x592d11 ultimate_transparent_alias_target /var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/varasm.c:1263 0xb68514 ultimate_transparent_alias_target /var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/varasm.c:1472 0xb68514 make_decl_rtl(tree_node*) /var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/varasm.c:1349 0x5fc4f2 rtx_for_function_call /var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/calls.c:1819 0x5fc4f2 expand_call(tree_node*, rtx_def*, int) /var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/calls.c:3152 0x6d95a3 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/expr.c:10589 0x6e2ae9 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool, tree_node*) /var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/expr.c:5406 0x6e383f expand_assignment(tree_node*, tree_node*, bool) /var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/expr.c:5175 0x6087bc expand_call_stmt /var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/cfgexpand.c:2658 0x6087bc expand_gimple_stmt_1 /var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/cfgexpand.c:3548 0x6087bc expand_gimple_stmt /var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/cfgexpand.c:3714 0x60a155 expand_gimple_basic_block /var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/cfgexpand.c:5720 0x60f006 execute /var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/cfgexpand.c:6335 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-523446-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 20:31:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2578 invoked by alias); 27 Apr 2016 20:31:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130792 invoked by uid 48); 27 Apr 2016 20:31:38 -0000 From: "jeffbai at aosc dot xyz" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/70831] FTBFS: Build fails with bootstrap-lto and profiledbootstrap Date: Wed, 27 Apr 2016 20:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jeffbai at aosc dot xyz 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02659.txt.bz2 Content-length: 170 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70831 --- Comment #1 from Jeff Bai --- P.S.: Tried building with both GCC 5.3.0, and GCC 6.1.0. >>From gcc-bugs-return-523447-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 20:35:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9801 invoked by alias); 27 Apr 2016 20:35:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9215 invoked by uid 48); 27 Apr 2016 20:35:41 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/69138] Woverflow not triggered for constexpr within template class Date: Wed, 27 Apr 2016 20:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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 blocked cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02660.txt.bz2 Content-length: 1364 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69138 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org Blocks| |55004 Known to fail| |4.9.3, 5.3.0, 6.0 --- Comment #2 from Martin Sebor --- I don't think the test case necessarily demonstrates a bug. The implicit instantiation of B that's triggered by the definition of an object of = the specialization "causes the implicit instantiation of the declarations, but = not of the definitions, [...] of the class [...] static data members; and it causes the implicit instantiation of the definitions of unscoped member enumerations and member anonymous unions." That being said, I think the bug can be reproduced by instantiating (e.g., = by virtue of using) B::small_within_templated_class, for example like so: template class B { static constexpr uint8_t small_within_templated_class =3D 0xFFFFFFFF; }; constexpr uint8_t i =3D B::small_within_templated_class; Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55004 [Bug 55004] [meta-bug] constexpr issues >>From gcc-bugs-return-523448-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 20:35:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9853 invoked by alias); 27 Apr 2016 20:35:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8985 invoked by uid 48); 27 Apr 2016 20:35:39 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70763] Use SSE for DImode load/store Date: Wed, 27 Apr 2016 20:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: hjl.tools 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: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02661.txt.bz2 Content-length: 397 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70763 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-27 Ever confirmed|0 |1 >>From gcc-bugs-return-523449-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 20:42:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25743 invoked by alias); 27 Apr 2016 20:42:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25224 invoked by uid 55); 27 Apr 2016 20:42:25 -0000 From: "law at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/69024] [cilkpus] cilk_spawn is broken for initializations with implicit conversion operators defined Date: Wed, 27 Apr 2016 20:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: law 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02662.txt.bz2 Content-length: 1997 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69024 --- Comment #1 from Jeffrey A. Law --- Author: law Date: Wed Apr 27 20:41:52 2016 New Revision: 235534 URL: https://gcc.gnu.org/viewcvs?rev=3D235534&root=3Dgcc&view=3Drev Log: PR c++/69024 PR c++/68997 * cilk.c (cilk_ignorable_spawn_rhs_op): Change to external linkage. (cilk_recognize_spawn): Renamed from recognize_spawn and change to external linkage. (cilk_detect_and_unwrap): Corresponding changes. (extract_free_variables): Don't extract free variables from AGGR_INIT_EXPR slot. * c-common.h (cilk_ignorable_spawn_rhs_op): Prototype. (cilk_recognize_spawn): Likewise. PR c++/69024 PR c++/68997 * cp-gimplify.c (cp_gimplify_expr): Call cilk_cp_detect_spawn_and_unwrap instead of cilk_detect_spawn_and_unwrap. * cp-cilkplus.c (is_conversion_operator_function_decl_p): New. (find_spawn): New. (cilk_cp_detect_spawn_and_unwrap): New. * lambda.c: Include cp-cilkplus.h. * parser.c: Include cp-cilkplus.h. * cp-tree.h (cpp_validate_cilk_plus_loop): Move prototype into... * cp-cilkpus.h: New file. PR c++/69024 PR c++/68997 * g++.dg/cilk-plus/CK/pr68001.cc: Fix to not depend on broken diagnostic. * g++.dg/cilk-plus/CK/pr69024.cc: New test. * g++.dg/cilk-plus/CK/pr68997.cc: New test. Added: trunk/gcc/cp/cp-cilkplus.h trunk/gcc/testsuite/g++.dg/cilk-plus/CK/pr68997.cc trunk/gcc/testsuite/g++.dg/cilk-plus/CK/pr69024.cc Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-common.h trunk/gcc/c-family/cilk.c trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-cilkplus.c trunk/gcc/cp/cp-gimplify.c trunk/gcc/cp/cp-tree.h trunk/gcc/cp/lambda.c trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/cilk-plus/CK/pr68001.cc >>From gcc-bugs-return-523450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 20:42:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25756 invoked by alias); 27 Apr 2016 20:42:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25220 invoked by uid 55); 27 Apr 2016 20:42:25 -0000 From: "law at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68997] [cilkplus] cilk_spawn is broken for functions that return a type with a custom copy or move constructor Date: Wed, 27 Apr 2016 20:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: law 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02663.txt.bz2 Content-length: 1997 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68997 --- Comment #1 from Jeffrey A. Law --- Author: law Date: Wed Apr 27 20:41:52 2016 New Revision: 235534 URL: https://gcc.gnu.org/viewcvs?rev=3D235534&root=3Dgcc&view=3Drev Log: PR c++/69024 PR c++/68997 * cilk.c (cilk_ignorable_spawn_rhs_op): Change to external linkage. (cilk_recognize_spawn): Renamed from recognize_spawn and change to external linkage. (cilk_detect_and_unwrap): Corresponding changes. (extract_free_variables): Don't extract free variables from AGGR_INIT_EXPR slot. * c-common.h (cilk_ignorable_spawn_rhs_op): Prototype. (cilk_recognize_spawn): Likewise. PR c++/69024 PR c++/68997 * cp-gimplify.c (cp_gimplify_expr): Call cilk_cp_detect_spawn_and_unwrap instead of cilk_detect_spawn_and_unwrap. * cp-cilkplus.c (is_conversion_operator_function_decl_p): New. (find_spawn): New. (cilk_cp_detect_spawn_and_unwrap): New. * lambda.c: Include cp-cilkplus.h. * parser.c: Include cp-cilkplus.h. * cp-tree.h (cpp_validate_cilk_plus_loop): Move prototype into... * cp-cilkpus.h: New file. PR c++/69024 PR c++/68997 * g++.dg/cilk-plus/CK/pr68001.cc: Fix to not depend on broken diagnostic. * g++.dg/cilk-plus/CK/pr69024.cc: New test. * g++.dg/cilk-plus/CK/pr68997.cc: New test. Added: trunk/gcc/cp/cp-cilkplus.h trunk/gcc/testsuite/g++.dg/cilk-plus/CK/pr68997.cc trunk/gcc/testsuite/g++.dg/cilk-plus/CK/pr69024.cc Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-common.h trunk/gcc/c-family/cilk.c trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-cilkplus.c trunk/gcc/cp/cp-gimplify.c trunk/gcc/cp/cp-tree.h trunk/gcc/cp/lambda.c trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/cilk-plus/CK/pr68001.cc >>From gcc-bugs-return-523451-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 20:43:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31419 invoked by alias); 27 Apr 2016 20:43:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31236 invoked by uid 48); 27 Apr 2016 20:43:44 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/69024] [cilkpus] cilk_spawn is broken for initializations with implicit conversion operators defined Date: Wed, 27 Apr 2016 20:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02664.txt.bz2 Content-length: 519 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69024 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |law at redhat dot com Resolution|--- |FIXED --- Comment #2 from Jeffrey A. Law --- Fixed by Ryan's patch on the trunk. >>From gcc-bugs-return-523453-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 20:43:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31586 invoked by alias); 27 Apr 2016 20:43:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31165 invoked by uid 48); 27 Apr 2016 20:43:40 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70344] [6 Regression] ICE on valid code at -O1 and above on x86_64-linux-gnu in adjust_temp_type, at cp/constexpr.c:1078 Date: Wed, 27 Apr 2016 20:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: su at cs dot ucdavis.edu X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02665.txt.bz2 Content-length: 3422 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70344 Zhendong Su changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #7 from Zhendong Su --- The same ICE is still triggered with the current GCC trunk:=20 $ g++-trunk -v Using built-in specs. COLLECT_GCC=3Dg++-trunk COLLECT_LTO_WRAPPER=3D/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/= 7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=3Dc,c++,l= to --prefix=3D/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20160426 (experimental) [trunk revision 235433] (GCC)=20 $=20 $ g++-trunk -O1 -c pr70344.cpp pr70344.cpp: In instantiation of =E2=80=98constexpr int fn(T) [with T =3D Z= ]=E2=80=99: pr70344.cpp:15:18: required from here pr70344.cpp:13:1: internal compiler error: in adjust_temp_type, at cp/constexpr.c:1136 } ^ 0x89197a adjust_temp_type ../../gcc-source-trunk/gcc/cp/constexpr.c:1136 0x898797 cxx_bind_parameters_in_call ../../gcc-source-trunk/gcc/cp/constexpr.c:1210 0x898797 cxx_eval_call_expression ../../gcc-source-trunk/gcc/cp/constexpr.c:1397 0x89aa5d cxx_eval_constant_expression ../../gcc-source-trunk/gcc/cp/constexpr.c:3558 0x8a10e9 cxx_eval_outermost_constant_expr ../../gcc-source-trunk/gcc/cp/constexpr.c:4136 0x8a3f78 maybe_constant_value_1 ../../gcc-source-trunk/gcc/cp/constexpr.c:4330 0x8a3f78 maybe_constant_value(tree_node*, tree_node*) ../../gcc-source-trunk/gcc/cp/constexpr.c:4354 0x87fad3 cp_fold ../../gcc-source-trunk/gcc/cp/cp-gimplify.c:2205 0x87f398 cp_fold_rvalue ../../gcc-source-trunk/gcc/cp/cp-gimplify.c:1894 0x87f398 cp_fold ../../gcc-source-trunk/gcc/cp/cp-gimplify.c:2083 0x88037e cp_fold_r ../../gcc-source-trunk/gcc/cp/cp-gimplify.c:940 0x1059734 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*)) ../../gcc-source-trunk/gcc/tree.c:11531 0x6a2587 finish_function(int) ../../gcc-source-trunk/gcc/cp/decl.c:14712 0x70cf2a instantiate_decl(tree_node*, int, bool) ../../gcc-source-trunk/gcc/cp/pt.c:22035 0x75492b mark_used(tree_node*, int) ../../gcc-source-trunk/gcc/cp/decl2.c:5273 0x65d521 build_over_call ../../gcc-source-trunk/gcc/cp/call.c:7724 0x66ccff build_new_function_call(tree_node*, vec**, bool, int) ../../gcc-source-trunk/gcc/cp/call.c:4169 0x808bf1 finish_call_expr(tree_node*, vec**, b= ool, bool, int) ../../gcc-source-trunk/gcc/cp/semantics.c:2461 0x782a99 cp_parser_postfix_expression ../../gcc-source-trunk/gcc/cp/parser.c:6904 0x78bdec cp_parser_unary_expression ../../gcc-source-trunk/gcc/cp/parser.c:7988 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ >>From gcc-bugs-return-523454-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 20:44:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44696 invoked by alias); 27 Apr 2016 20:44:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35891 invoked by uid 48); 27 Apr 2016 20:44:11 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68997] [cilkplus] cilk_spawn is broken for functions that return a type with a custom copy or move constructor Date: Wed, 27 Apr 2016 20:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02666.txt.bz2 Content-length: 519 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68997 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |law at redhat dot com Resolution|--- |FIXED --- Comment #2 from Jeffrey A. Law --- Fixed by Ryan's patch on the trunk. >>From gcc-bugs-return-523455-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 20:44:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45031 invoked by alias); 27 Apr 2016 20:44:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36650 invoked by uid 48); 27 Apr 2016 20:44:12 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/69582] [meta-bug] Cilk+ Date: Wed, 27 Apr 2016 20:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02668.txt.bz2 Content-length: 531 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69582 Bug 69582 depends on bug 68997, which changed state. Bug 68997 Summary: [cilkplus] cilk_spawn is broken for functions that retur= n a type with a custom copy or move constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68997 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-523452-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 20:43:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31432 invoked by alias); 27 Apr 2016 20:43:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31262 invoked by uid 48); 27 Apr 2016 20:43:44 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/69582] [meta-bug] Cilk+ Date: Wed, 27 Apr 2016 20:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02667.txt.bz2 Content-length: 521 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69582 Bug 69582 depends on bug 69024, which changed state. Bug 69024 Summary: [cilkpus] cilk_spawn is broken for initializations with = implicit conversion operators defined https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69024 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-523456-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 20:45:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71527 invoked by alias); 27 Apr 2016 20:45:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57656 invoked by uid 48); 27 Apr 2016 20:45:41 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70799] STV pass does not convert DImode shifts and rotates Date: Wed, 27 Apr 2016 20:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ubizjak 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02669.txt.bz2 Content-length: 475 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70799 --- Comment #2 from Uro=C5=A1 Bizjak --- (In reply to Jakub Jelinek from comment #1) > I've been also surprised that the STV pass punts on moves of constants in= to > DImode registers, if it is not 0, sure, it has higher cost, because it ne= eds > to be loaded from memory, but in the end together with enough other DImode > operations it can be still beneficial. This is tracked in PR 70763. >>From gcc-bugs-return-523457-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 21:49:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108253 invoked by alias); 27 Apr 2016 21:49:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108013 invoked by uid 48); 27 Apr 2016 21:49:32 -0000 From: "blaffablaffa at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70832] New: move-assignment of lambdas calls copy-constructor for captures Date: Wed, 27 Apr 2016 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: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: blaffablaffa at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02670.txt.bz2 Content-length: 1245 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70832 Bug ID: 70832 Summary: move-assignment of lambdas calls copy-constructor for captures Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: blaffablaffa at gmail dot com Target Milestone: --- Created attachment 38352 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38352&action=3Dedit testcase, compile with -std=3Dc++14 Testcase attached, which compiles and produces correct output with clang++ = 3.7. Incorrect g++ diagnostic: [pisto@localhost ~]$ g++ -std=3Dc++14 test.cpp=20 test.cpp: In function =E2=80=98int main()=E2=80=99: test.cpp:18:12: error: use of deleted function =E2=80=98main()::& main()::::operator=3D(const main()::&)=E2=80=99 lambda =3D move(lambda_moved); //g++ tries to call copy constructor= and fails, clang++ 3.7 works ^ test.cpp:16:37: note: a lambda closure type has a deleted copy assignment operator auto lambda =3D [test =3D move(data)]{}; ^ >>From gcc-bugs-return-523458-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 21:54:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118854 invoked by alias); 27 Apr 2016 21:54:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118612 invoked by uid 48); 27 Apr 2016 21:53:47 -0000 From: "blaffablaffa at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70832] move-assignment of lambdas calls copy-assignment for captures Date: Wed, 27 Apr 2016 21:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: blaffablaffa 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02671.txt.bz2 Content-length: 203 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70832 --- Comment #1 from Lorenzo Pistone --- correction, it calls the copy assignment operator, not the copy constructor. >>From gcc-bugs-return-523459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 22:07:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79732 invoked by alias); 27 Apr 2016 22:07:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79477 invoked by uid 48); 27 Apr 2016 22:07:32 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70820] GCC incorrectly accepts code that accesses nested names in an incomplete type Date: Wed, 27 Apr 2016 22:07: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02672.txt.bz2 Content-length: 557 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70820 --- Comment #4 from Jonathan Wakely --- (In reply to Fabio Rocha from comment #3)=20 > Still, it feels pretty strange that uncommenting the "First Assert" is wh= at > makes the code incorrect... That's not strange at all, the assertion requires the value of the static d= ata member, so it causes it to be instantiated, while the type is incomplete. Without that assertion the static data member is not instantiated until the definition of ::k, after the types are complete. >>From gcc-bugs-return-523460-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 22:16:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95176 invoked by alias); 27 Apr 2016 22:15:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95048 invoked by uid 48); 27 Apr 2016 22:15:47 -0000 From: "alfredo.pons at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70833] New: All versions g++ 5.3.1 and and previous fails compiling with rpi3 and option -march=native Date: Wed, 27 Apr 2016 22:15: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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alfredo.pons 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02673.txt.bz2 Content-length: 852 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70833 Bug ID: 70833 Summary: All versions g++ 5.3.1 and and previous fails compiling with rpi3 and option -march=3Dnative Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alfredo.pons at gmail dot com Target Milestone: --- All versions g++ 5.3.1 and previous (gcc 5.6 I don't known) fails compiling with Raspberry PI 3 CPU (BCM2709) and option -march=3Dnative *** Error in `g++': double free or corruption (top): 0x001a8e30 *** With rpi1 and rpi2 the=20 With architecture i386 and CroosDebootstrap (qemu & chroot: https://wiki.debian.org/EmDebian/CrossDebootstrap) fails too. >>From gcc-bugs-return-523461-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 22:36:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129542 invoked by alias); 27 Apr 2016 22:36:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128597 invoked by uid 48); 27 Apr 2016 22:36:42 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70465] [4.9/5/6/7 Regression] Poor code for x87 asm Date: Wed, 27 Apr 2016 22:36: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.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02674.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70465 --- Comment #10 from Jeffrey A. Law --- Coming back to Uros's c#5, the more I think about it, that's the solution.= =20 reg-stack ought to be able to use dependency information to determine if it can swap two insns rather than inserting a fxchg.=20=20 I'm not actually working on this, but wanted to make sure anyone looking at this in the future is aware that Uros's suggestion is, IMHO, the right way = to go. >>From gcc-bugs-return-523463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 23:25:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34867 invoked by alias); 27 Apr 2016 23:25:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34612 invoked by uid 48); 27 Apr 2016 23:25:22 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70833] All versions g++ 5.3.1 and and previous fails compiling with rpi3 and option -march=native Date: Wed, 27 Apr 2016 23:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status component resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02676.txt.bz2 Content-length: 560 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70833 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|c++ |target Resolution|--- |DUPLICATE --- Comment #1 from Andrew Pinski --- Dup of bug 70132. *** This bug has been marked as a duplicate of bug 70132 *** >>From gcc-bugs-return-523462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 27 23:25:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34854 invoked by alias); 27 Apr 2016 23:25:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34626 invoked by uid 48); 27 Apr 2016 23:25:23 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/70132] ARM -mcpu=native can cause a double free abort. Date: Wed, 27 Apr 2016 23:25: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: 4.9.2 X-Bugzilla-Keywords: 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: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02675.txt.bz2 Content-length: 450 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70132 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alfredo.pons at gmail dot = com --- Comment #9 from Andrew Pinski --- *** Bug 70833 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-523465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 02:20:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55038 invoked by alias); 28 Apr 2016 02:20:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54895 invoked by uid 48); 28 Apr 2016 02:20:27 -0000 From: "matt at godbolt dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70834] New: Incorrect warning for placement new when conditionally used Date: Thu, 28 Apr 2016 02:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: matt at godbolt 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02678.txt.bz2 Content-length: 1501 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70834 Bug ID: 70834 Summary: Incorrect warning for placement new when conditionally used Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: matt at godbolt dot org Target Milestone: --- Consider some code which tries to placement-new into an internal buffer (if= the object fits), else uses the heap: -- #include struct Test { char buf[4]; template T *construct() { if (sizeof(T) <=3D sizeof(buf)) return new ((void*)&buf)T; // if it fits, use the buf else return new T; // else make it on the heap } }; void t1(Test &t) { t.construct(); } void t2(Test &t) { t.construct(); } -- (also at https://godbolt.org/g/p5Lpnz) GCC 6.1 correctly generates code in t2 to use the "new T", and placement new code for t1. However, there's a spurious warning: placement new constructing an object of type 'double' and size '8' in a region of type 'char [4]' and size '4' [-Wplacement-new=3D] - which is not the case in this code. In code I'm now compiling I've been able to #pragma this warning off. I'll try and resort to template trickery to dispatch on the sizeof(), but early attempts also caus= ed the warning too, so it may be the case this warning's tough to work around. >>From gcc-bugs-return-523464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 02:20:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54034 invoked by alias); 28 Apr 2016 02:20:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53768 invoked by uid 48); 28 Apr 2016 02:19:58 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/56485] [cilkplus] internal compiler error: in cdtor_comdat_group, at cp/optimize.c: 186 Date: Thu, 28 Apr 2016 02: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: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02677.txt.bz2 Content-length: 470 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56485 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-28 CC| |law at redhat dot com Ever confirmed|0 |1 >>From gcc-bugs-return-523466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 03:47:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122601 invoked by alias); 28 Apr 2016 03:47:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120921 invoked by uid 48); 28 Apr 2016 03:46:51 -0000 From: "nunya223bidness at streetwisemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70836] New: internal compiler error on libiberty/floatformat.c when bootstrapping 5.3.0 with 5.3.0 Date: Thu, 28 Apr 2016 03:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nunya223bidness at streetwisemail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02679.txt.bz2 Content-length: 4797 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70836 Bug ID: 70836 Summary: internal compiler error on libiberty/floatformat.c when bootstrapping 5.3.0 with 5.3.0 Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: nunya223bidness at streetwisemail dot com Target Milestone: --- Created attachment 38353 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38353&action=3Dedit tar.xz of build-x86_64-unknown-linux-gnu/libiberty/*.i ../gcc-5.3.0/configure --prefix=3D/usr/local --with-native-system-header-files=3D/opt/include:/volume1/mmt/x-tools/x86_6= 4-unknown-linux-gnu/include --enable-bootstrap --enable-lto --with-{gmp,mpc,mpfr,isl}=3D/usr/local --with-gnu-ld --enable-twoprocess --enable-gather-detailed-mem-stats --enable-multilib --enable-multiarch --enable-decimal-float=3Dyes --enable-fixed-point --enable-plugin --disable-dependency-tracking --disable-nls --disable-canonical-system-headers --with-glibc-version=3D2.20 --without-cuda-driver --enable-languages=3Dc,c++ --with-build-time-tools=3D/usr/local --with-build-libsubdir=3Dlib CFLAGS=3D= "-v -save-temps" ; make [ -f stage_final ] || echo stage3 > stage_final make[1]: Entering directory '/volume1/local/src/gcc-5.3.0-build' make[2]: Entering directory '/volume1/local/src/gcc-5.3.0-build' make[3]: Entering directory '/volume1/local/src/gcc-5.3.0-build' rm -f stage_current make[3]: Leaving directory '/volume1/local/src/gcc-5.3.0-build' make[2]: Leaving directory '/volume1/local/src/gcc-5.3.0-build' make[2]: Entering directory '/volume1/local/src/gcc-5.3.0-build' make[3]: Entering directory '/volume1/local/src/gcc-5.3.0-build/libiberty' if [ x"-fpic" !=3D x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-5.3.0/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -fpic ../../gcc-5.3.0/libiberty/floatformat.c -o pic/floatformat.o; \ else true; fi GNU MP: Cannot allocate memory (size=3D4611686018427387859) ../../gcc-5.3.0/libiberty/floatformat.c: In function 'floatformat_to_double= ': ../../gcc-5.3.0/libiberty/floatformat.c:529:2: internal compiler error: Abo= rted dto =3D ldexp (1.0, exponent); ^ 0x9bed4f crash_signal ../../gcc-5.3.0/gcc/toplev.c:383 0x93c390 real_from_mpfr(real_value*, __mpfr_struct const*, tree_node*, mpfr_rnd_t) ../../gcc-5.3.0/gcc/realmpfr.c:92 0x939b49 real_from_string(real_value*, char const*) ../../gcc-5.3.0/gcc/real.c:2073 0x93a3bc real_from_string3(real_value*, char const*, machine_mode) ../../gcc-5.3.0/gcc/real.c:2123 0x6576a3 interpret_float ../../gcc-5.3.0/gcc/c-family/c-lex.c:897 0x65834c c_lex_with_flags(tree_node**, unsigned int*, unsigned char*, int) ../../gcc-5.3.0/gcc/c-family/c-lex.c:442 0x602fef c_lex_one_token ../../gcc-5.3.0/gcc/c/c-parser.c:258 0x613d1a c_parser_peek_token ../../gcc-5.3.0/gcc/c/c-parser.c:440 0x613d1a c_parser_next_token_is ../../gcc-5.3.0/gcc/c/c-parser.c:452 0x613d1a c_parser_postfix_expression_after_primary ../../gcc-5.3.0/gcc/c/c-parser.c:7865 0x60e067 c_parser_postfix_expression ../../gcc-5.3.0/gcc/c/c-parser.c:7715 0x61031a c_parser_unary_expression ../../gcc-5.3.0/gcc/c/c-parser.c:6602 0x610e8f c_parser_cast_expression ../../gcc-5.3.0/gcc/c/c-parser.c:6440 0x611072 c_parser_binary_expression ../../gcc-5.3.0/gcc/c/c-parser.c:6255 0x611ba5 c_parser_conditional_expression ../../gcc-5.3.0/gcc/c/c-parser.c:6031 0x611ff0 c_parser_expr_no_commas ../../gcc-5.3.0/gcc/c/c-parser.c:5949 0x61206a c_parser_expr_no_commas ../../gcc-5.3.0/gcc/c/c-parser.c:5991 0x6124e2 c_parser_expression ../../gcc-5.3.0/gcc/c/c-parser.c:8022 0x612c99 c_parser_expression_conv ../../gcc-5.3.0/gcc/c/c-parser.c:8055 0x60c096 c_parser_statement_after_labels ../../gcc-5.3.0/gcc/c/c-parser.c:5115 sh-4.3# gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/volume1/local/bin/../libexec/gcc/x86_64-unknown-linu= x-gnu/5.3.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-5.3.0/configure --with-buildtime-tools=3D/volume1/mmt/x-tools/x86_64-unknown-linux-gnu/bin --with-gmp=3D/usr/local --with-mpfr=3D/usr/local --with-mpc=3D/usr/local --with-isl=3D/usr/local --disable-multilib --with-sysroot=3D/volume1/mmt/x-tools/x86_64-unknown-linux-gnu/x86_64-unkno= wn-linux-gnu/sysroot --enable-bootstrap --disable-lto Thread model: posix gcc version 5.3.0 (GCC)=20 sh-4.3# uname -s -r -v -m -p -i -o Linux 3.10.77 #7321 SMP Thu Apr 21 14:35:22 CST 2016 x86_64 unknown unknown GNU/Linux >>From gcc-bugs-return-523467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 03:51:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127225 invoked by alias); 28 Apr 2016 03:51:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127115 invoked by uid 48); 28 Apr 2016 03:50:55 -0000 From: "nunya223bidness at streetwisemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70837] New: internal compiler error on libiberty/floatformat.c when bootstrapping 5.3.0 with 5.3.0 Date: Thu, 28 Apr 2016 03:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nunya223bidness at streetwisemail 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02680.txt.bz2 Content-length: 4641 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70837 Bug ID: 70837 Summary: internal compiler error on libiberty/floatformat.c when bootstrapping 5.3.0 with 5.3.0 Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: nunya223bidness at streetwisemail dot com Target Milestone: --- ../gcc-5.3.0/configure --prefix=3D/usr/local --with-native-system-header-files=3D/opt/include:/volume1/mmt/x-tools/x86_6= 4-unknown-linux-gnu/include --enable-bootstrap --enable-lto --with-{gmp,mpc,mpfr,isl}=3D/usr/local --with-gnu-ld --enable-twoprocess --enable-gather-detailed-mem-stats --enable-multilib --enable-multiarch --enable-decimal-float=3Dyes --enable-fixed-point --enable-plugin --disable-dependency-tracking --disable-nls --disable-canonical-system-headers --with-glibc-version=3D2.20 --without-cuda-driver --enable-languages=3Dc,c++ --with-build-time-tools=3D/usr/local --with-build-libsubdir=3Dlib CFLAGS=3D= "-v -save-temps" ; make [ -f stage_final ] || echo stage3 > stage_final make[1]: Entering directory '/volume1/local/src/gcc-5.3.0-build' make[2]: Entering directory '/volume1/local/src/gcc-5.3.0-build' make[3]: Entering directory '/volume1/local/src/gcc-5.3.0-build' rm -f stage_current make[3]: Leaving directory '/volume1/local/src/gcc-5.3.0-build' make[2]: Leaving directory '/volume1/local/src/gcc-5.3.0-build' make[2]: Entering directory '/volume1/local/src/gcc-5.3.0-build' make[3]: Entering directory '/volume1/local/src/gcc-5.3.0-build/libiberty' if [ x"-fpic" !=3D x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-5.3.0/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -fpic ../../gcc-5.3.0/libiberty/floatformat.c -o pic/floatformat.o; \ else true; fi GNU MP: Cannot allocate memory (size=3D4611686018427387859) ../../gcc-5.3.0/libiberty/floatformat.c: In function 'floatformat_to_double= ': ../../gcc-5.3.0/libiberty/floatformat.c:529:2: internal compiler error: Abo= rted dto =3D ldexp (1.0, exponent); ^ 0x9bed4f crash_signal ../../gcc-5.3.0/gcc/toplev.c:383 0x93c390 real_from_mpfr(real_value*, __mpfr_struct const*, tree_node*, mpfr_rnd_t) ../../gcc-5.3.0/gcc/realmpfr.c:92 0x939b49 real_from_string(real_value*, char const*) ../../gcc-5.3.0/gcc/real.c:2073 0x93a3bc real_from_string3(real_value*, char const*, machine_mode) ../../gcc-5.3.0/gcc/real.c:2123 0x6576a3 interpret_float ../../gcc-5.3.0/gcc/c-family/c-lex.c:897 0x65834c c_lex_with_flags(tree_node**, unsigned int*, unsigned char*, int) ../../gcc-5.3.0/gcc/c-family/c-lex.c:442 0x602fef c_lex_one_token ../../gcc-5.3.0/gcc/c/c-parser.c:258 0x613d1a c_parser_peek_token ../../gcc-5.3.0/gcc/c/c-parser.c:440 0x613d1a c_parser_next_token_is ../../gcc-5.3.0/gcc/c/c-parser.c:452 0x613d1a c_parser_postfix_expression_after_primary ../../gcc-5.3.0/gcc/c/c-parser.c:7865 0x60e067 c_parser_postfix_expression ../../gcc-5.3.0/gcc/c/c-parser.c:7715 0x61031a c_parser_unary_expression ../../gcc-5.3.0/gcc/c/c-parser.c:6602 0x610e8f c_parser_cast_expression ../../gcc-5.3.0/gcc/c/c-parser.c:6440 0x611072 c_parser_binary_expression ../../gcc-5.3.0/gcc/c/c-parser.c:6255 0x611ba5 c_parser_conditional_expression ../../gcc-5.3.0/gcc/c/c-parser.c:6031 0x611ff0 c_parser_expr_no_commas ../../gcc-5.3.0/gcc/c/c-parser.c:5949 0x61206a c_parser_expr_no_commas ../../gcc-5.3.0/gcc/c/c-parser.c:5991 0x6124e2 c_parser_expression ../../gcc-5.3.0/gcc/c/c-parser.c:8022 0x612c99 c_parser_expression_conv ../../gcc-5.3.0/gcc/c/c-parser.c:8055 0x60c096 c_parser_statement_after_labels ../../gcc-5.3.0/gcc/c/c-parser.c:5115 sh-4.3# gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/volume1/local/bin/../libexec/gcc/x86_64-unknown-linu= x-gnu/5.3.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-5.3.0/configure --with-buildtime-tools=3D/volume1/mmt/x-tools/x86_64-unknown-linux-gnu/bin --with-gmp=3D/usr/local --with-mpfr=3D/usr/local --with-mpc=3D/usr/local --with-isl=3D/usr/local --disable-multilib --with-sysroot=3D/volume1/mmt/x-tools/x86_64-unknown-linux-gnu/x86_64-unkno= wn-linux-gnu/sysroot --enable-bootstrap --disable-lto Thread model: posix gcc version 5.3.0 (GCC)=20 sh-4.3# uname -s -r -v -m -p -i -o Linux 3.10.77 #7321 SMP Thu Apr 21 14:35:22 CST 2016 x86_64 unknown unknown GNU/Linux >>From gcc-bugs-return-523468-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 03:53:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1660 invoked by alias); 28 Apr 2016 03:53:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128883 invoked by uid 48); 28 Apr 2016 03:52:10 -0000 From: "nunya223bidness at streetwisemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70838] New: internal compiler error on libiberty/floatformat.c when bootstrapping 5.3.0 with 5.3.0 Date: Thu, 28 Apr 2016 03:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nunya223bidness at streetwisemail 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02681.txt.bz2 Content-length: 4641 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70838 Bug ID: 70838 Summary: internal compiler error on libiberty/floatformat.c when bootstrapping 5.3.0 with 5.3.0 Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: nunya223bidness at streetwisemail dot com Target Milestone: --- ../gcc-5.3.0/configure --prefix=3D/usr/local --with-native-system-header-files=3D/opt/include:/volume1/mmt/x-tools/x86_6= 4-unknown-linux-gnu/include --enable-bootstrap --enable-lto --with-{gmp,mpc,mpfr,isl}=3D/usr/local --with-gnu-ld --enable-twoprocess --enable-gather-detailed-mem-stats --enable-multilib --enable-multiarch --enable-decimal-float=3Dyes --enable-fixed-point --enable-plugin --disable-dependency-tracking --disable-nls --disable-canonical-system-headers --with-glibc-version=3D2.20 --without-cuda-driver --enable-languages=3Dc,c++ --with-build-time-tools=3D/usr/local --with-build-libsubdir=3Dlib CFLAGS=3D= "-v -save-temps" ; make [ -f stage_final ] || echo stage3 > stage_final make[1]: Entering directory '/volume1/local/src/gcc-5.3.0-build' make[2]: Entering directory '/volume1/local/src/gcc-5.3.0-build' make[3]: Entering directory '/volume1/local/src/gcc-5.3.0-build' rm -f stage_current make[3]: Leaving directory '/volume1/local/src/gcc-5.3.0-build' make[2]: Leaving directory '/volume1/local/src/gcc-5.3.0-build' make[2]: Entering directory '/volume1/local/src/gcc-5.3.0-build' make[3]: Entering directory '/volume1/local/src/gcc-5.3.0-build/libiberty' if [ x"-fpic" !=3D x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../gcc-5.3.0/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -fpic ../../gcc-5.3.0/libiberty/floatformat.c -o pic/floatformat.o; \ else true; fi GNU MP: Cannot allocate memory (size=3D4611686018427387859) ../../gcc-5.3.0/libiberty/floatformat.c: In function 'floatformat_to_double= ': ../../gcc-5.3.0/libiberty/floatformat.c:529:2: internal compiler error: Abo= rted dto =3D ldexp (1.0, exponent); ^ 0x9bed4f crash_signal ../../gcc-5.3.0/gcc/toplev.c:383 0x93c390 real_from_mpfr(real_value*, __mpfr_struct const*, tree_node*, mpfr_rnd_t) ../../gcc-5.3.0/gcc/realmpfr.c:92 0x939b49 real_from_string(real_value*, char const*) ../../gcc-5.3.0/gcc/real.c:2073 0x93a3bc real_from_string3(real_value*, char const*, machine_mode) ../../gcc-5.3.0/gcc/real.c:2123 0x6576a3 interpret_float ../../gcc-5.3.0/gcc/c-family/c-lex.c:897 0x65834c c_lex_with_flags(tree_node**, unsigned int*, unsigned char*, int) ../../gcc-5.3.0/gcc/c-family/c-lex.c:442 0x602fef c_lex_one_token ../../gcc-5.3.0/gcc/c/c-parser.c:258 0x613d1a c_parser_peek_token ../../gcc-5.3.0/gcc/c/c-parser.c:440 0x613d1a c_parser_next_token_is ../../gcc-5.3.0/gcc/c/c-parser.c:452 0x613d1a c_parser_postfix_expression_after_primary ../../gcc-5.3.0/gcc/c/c-parser.c:7865 0x60e067 c_parser_postfix_expression ../../gcc-5.3.0/gcc/c/c-parser.c:7715 0x61031a c_parser_unary_expression ../../gcc-5.3.0/gcc/c/c-parser.c:6602 0x610e8f c_parser_cast_expression ../../gcc-5.3.0/gcc/c/c-parser.c:6440 0x611072 c_parser_binary_expression ../../gcc-5.3.0/gcc/c/c-parser.c:6255 0x611ba5 c_parser_conditional_expression ../../gcc-5.3.0/gcc/c/c-parser.c:6031 0x611ff0 c_parser_expr_no_commas ../../gcc-5.3.0/gcc/c/c-parser.c:5949 0x61206a c_parser_expr_no_commas ../../gcc-5.3.0/gcc/c/c-parser.c:5991 0x6124e2 c_parser_expression ../../gcc-5.3.0/gcc/c/c-parser.c:8022 0x612c99 c_parser_expression_conv ../../gcc-5.3.0/gcc/c/c-parser.c:8055 0x60c096 c_parser_statement_after_labels ../../gcc-5.3.0/gcc/c/c-parser.c:5115 sh-4.3# gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/volume1/local/bin/../libexec/gcc/x86_64-unknown-linu= x-gnu/5.3.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-5.3.0/configure --with-buildtime-tools=3D/volume1/mmt/x-tools/x86_64-unknown-linux-gnu/bin --with-gmp=3D/usr/local --with-mpfr=3D/usr/local --with-mpc=3D/usr/local --with-isl=3D/usr/local --disable-multilib --with-sysroot=3D/volume1/mmt/x-tools/x86_64-unknown-linux-gnu/x86_64-unkno= wn-linux-gnu/sysroot --enable-bootstrap --disable-lto Thread model: posix gcc version 5.3.0 (GCC)=20 sh-4.3# uname -s -r -v -m -p -i -o Linux 3.10.77 #7321 SMP Thu Apr 21 14:35:22 CST 2016 x86_64 unknown unknown GNU/Linux >>From gcc-bugs-return-523469-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 03:55:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7560 invoked by alias); 28 Apr 2016 03:55:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7357 invoked by uid 48); 28 Apr 2016 03:55:07 -0000 From: "nunya223bidness at streetwisemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70838] internal compiler error on libiberty/floatformat.c when bootstrapping 5.3.0 with 5.3.0 Date: Thu, 28 Apr 2016 03:55: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nunya223bidness at streetwisemail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02682.txt.bz2 Content-length: 275 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70838 --- Comment #1 from nunya223bidness at streetwisemail dot com --- Created attachment 38354 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38354&action=3Dedit tar.xz of build-x86_64-unknown-linux-gnu/libiberty/*.i >>From gcc-bugs-return-523470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 06:40:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36242 invoked by alias); 28 Apr 2016 06:40:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36049 invoked by uid 55); 28 Apr 2016 06:39:57 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/49630] [OOP] ICE on obsolescent deferred-length type bound character function Date: Thu, 28 Apr 2016 06:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02683.txt.bz2 Content-length: 3282 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49630 --- Comment #11 from Vittorio Zecca --- I am still having an ICE with gfortran 5.3.0 on the following module abc implicit none type,abstract::abc_abstract contains procedure(abc_interface),deferred::abc_function end type abc_abstract type,extends(abc_abstract)::abc_type contains procedure::abc_function end type abc_type abstract interface function abc_interface(this) import abc_abstract class(abc_abstract),intent(in)::this character(len=3D*)::abc_interface end function abc_interface end interface contains function abc_function(this) class(abc_type),intent(in)::this character(len=3D5)::abc_function abc_function=3D"hello" end function abc_function subroutine do_something(this) class(abc_abstract),intent(in)::this print *,this%abc_function() end subroutine do_something end module abc gfbug111.f:30:0: print *,this%abc_function() 1 internal compiler error: in wide_int_to_tree, at tree.c:1465 0xc3eae3 wide_int_to_tree(tree_node*, generic_wide_int > const&) /home/vitti/gcc-5.3.0/gcc/tree.c:1465 0xc3ebb9 build_int_cst(tree_node*, long) /home/vitti/gcc-5.3.0/gcc/tree.c:1273 0x83a9aa round_up_loc(unsigned int, tree_node*, unsigned int) /home/vitti/gcc-5.3.0/gcc/fold-const.c:16043 0xa555bb finalize_type_size /home/vitti/gcc-5.3.0/gcc/stor-layout.c:1802 0xa56766 layout_type(tree_node*) /home/vitti/gcc-5.3.0/gcc/stor-layout.c:2442 0xc3cb73 build_array_type_1 /home/vitti/gcc-5.3.0/gcc/tree.c:7968 0x709a64 gfc_get_character_type_len_for_eltype(tree_node*, tree_node*) /home/vitti/gcc-5.3.0/gcc/fortran/trans-types.c:1048 0x6d16d7 gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*, gfc_expr*, vec*) /home/vitti/gcc-5.3.0/gcc/fortran/trans-expr.c:5644 0x6d1d6f gfc_conv_function_expr /home/vitti/gcc-5.3.0/gcc/fortran/trans-expr.c:6293 0x6d789a gfc_conv_expr_reference(gfc_se*, gfc_expr*) /home/vitti/gcc-5.3.0/gcc/fortran/trans-expr.c:7349 0x6f277f gfc_trans_transfer(gfc_code*) /home/vitti/gcc-5.3.0/gcc/fortran/trans-io.c:2394 0x6a4e47 trans_code /home/vitti/gcc-5.3.0/gcc/fortran/trans.c:1868 0x6f03a7 build_dt /home/vitti/gcc-5.3.0/gcc/fortran/trans-io.c:1921 0x6a4e67 trans_code /home/vitti/gcc-5.3.0/gcc/fortran/trans.c:1840 0x6c4ce3 gfc_generate_function_code(gfc_namespace*) /home/vitti/gcc-5.3.0/gcc/fortran/trans-decl.c:5851 0x6a8421 gfc_generate_module_code(gfc_namespace*) /home/vitti/gcc-5.3.0/gcc/fortran/trans.c:2036 0x662d4d translate_all_program_units /home/vitti/gcc-5.3.0/gcc/fortran/parse.c:5330 0x662d4d gfc_parse_file() /home/vitti/gcc-5.3.0/gcc/fortran/parse.c:5540 0x6a22b5 gfc_be_parse_file /home/vitti/gcc-5.3.0/gcc/fortran/f95-lang.c:229 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Maybe it is related to this issue? >>From gcc-bugs-return-523471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 06:44:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42296 invoked by alias); 28 Apr 2016 06:44:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42131 invoked by uid 55); 28 Apr 2016 06:43:48 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/50402] ICE in gfc_conv_expr_descriptor Date: Thu, 28 Apr 2016 06:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.8.0 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02684.txt.bz2 Content-length: 199 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D50402 --- Comment #4 from Vittorio Zecca --- ICE on gfortran 5.3.0 gfortran should never have an ICE, even on invalid code. >>From gcc-bugs-return-523472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 06:46:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46066 invoked by alias); 28 Apr 2016 06:46:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 45751 invoked by uid 48); 28 Apr 2016 06:46:21 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug java/70839] New: [6/7 regression] Every libjava execution test FAILs: Incorrect library ABI version detected Date: Thu, 28 Apr 2016 06:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: java X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02685.txt.bz2 Content-length: 2706 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70839 Bug ID: 70839 Summary: [6/7 regression] Every libjava execution test FAILs: Incorrect library ABI version detected Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: java Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Target Milestone: --- Created attachment 38355 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38355&action=3Dedit proposed patch Since the 6.1.0 release, every single libjava execution test FAILs everywhe= re (seen on Solaris/x86, Linux/x86_64, and Darwin/x86): libgcj failure: gcj linkage error. Incorrect library ABI version detected. Aborting. The message is from libjava/java/lang/natClassLoader.cc (_Jv_CheckABIVersio= n) which (on i386-pc-solaris2.12) is called like this: #0 _Jv_CheckABIVersion (value=3D1074342824) at /vol/src/gnu/gcc/gcc-6.1.0/libjava/java/lang/natClassLoader.cc:271 #1 0xffff80ffbde0b47d in _Jv_RegisterClasses ( classes=3D0xffff80ffbeced688 <_Jv_JCR_SECTION_data>) at /vol/src/gnu/gcc/gcc-6.1.0/libjava/java/lang/natClassLoader.cc:293 #2 0xffff80ffbddc553a in frame_dummy () from /var/gcc/gcc-6.1.0/12-gcc-gas/i386-pc-solaris2.12/amd64/libjava/.libs/libgc= j.so.17 #3 0xffff80ffbf630288 in call_array () from /lib/amd64/ld.so.1 #4 0xffff80ffbf630414 in call_init () from /lib/amd64/ld.so.1 #5 0xffff80ffbf62f3b0 in setup () from /lib/amd64/ld.so.1 #6 0xffff80ffbf6425f7 in _setup () from /lib/amd64/ld.so.1 #7 0xffff80ffbf62131e in _rt_boot () from /lib/amd64/ld.so.1 The version =3D=3D GCJ_CXX_ABI_VERSION test fails: the latter is (from libjava/include/jvm.h) #define GCJ_CXX_ABI_VERSION (__GNUC__ * 100000) Before the release, version was 600000, since then it's 601000. In libjava/java/lang/natClassLoader.c (_Jv_RegisterClasses) we have _Jv_CheckABIVersion ((unsigned long) klass->next_or_version); where klass->next_or_version is set in gcc/java/class.c (make_class_data): PUSH_FIELD_VALUE (v2, "next_or_version", gcj_abi_version); Ultimately, gcc/java/decl.c (parse_version) sets gcj_abi_version from version_string and still extracts the minor version, while this libjava change 2016-01-03 Matthias Klose * libtool-version: Bump soversion. * include/jvm.h (GCJ_CXX_ABI_VERSION): Don't encode __GNUC_MINOR__. doesn't expect the minor version any longer. The attached patch gets rid of the minor version in jc1, too and seems to f= ix the errors (x86_64-apple-darwin15.5.0 libjava make check still running). Rainer >>From gcc-bugs-return-523473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 06:46:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46991 invoked by alias); 28 Apr 2016 06:46:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46064 invoked by uid 48); 28 Apr 2016 06:46:34 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug java/70839] [6/7 regression] Every libjava execution test FAILs: Incorrect library ABI version detected Date: Thu, 28 Apr 2016 06:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: java X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: ro 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02686.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70839 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.2 >>From gcc-bugs-return-523474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 06:46:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47004 invoked by alias); 28 Apr 2016 06:46:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46158 invoked by uid 55); 28 Apr 2016 06:46:36 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/50410] [4.9/5/6/7 Regression] ICE in record_reference Date: Thu, 28 Apr 2016 06: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: 4.8.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav at gmail dot com 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: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02687.txt.bz2 Content-length: 139 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D50410 --- Comment #21 from Vittorio Zecca --- ICE still in 5.3.0 >>From gcc-bugs-return-523475-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 06:51:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54507 invoked by alias); 28 Apr 2016 06:51:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54333 invoked by uid 55); 28 Apr 2016 06:50:47 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/50392] SIGSEGV in gfc_trans_label_assign Date: Thu, 28 Apr 2016 06:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: ice-on-valid-code 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02688.txt.bz2 Content-length: 138 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D50392 --- Comment #8 from Vittorio Zecca --- ICE still in 5.3.0 >>From gcc-bugs-return-523476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 06:52:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41542 invoked by alias); 28 Apr 2016 06:52:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25513 invoked by uid 55); 28 Apr 2016 06:52:32 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/50536] an input item shall not appear as the do-variable of any io-implied-do Date: Thu, 28 Apr 2016 06:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: accepts-invalid, diagnostic, patch 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02689.txt.bz2 Content-length: 134 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D50536 --- Comment #8 from Vittorio Zecca --- Still in 5.3.0 >>From gcc-bugs-return-523477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 07:01:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23032 invoked by alias); 28 Apr 2016 07:01:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22783 invoked by uid 55); 28 Apr 2016 07:01:07 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/67494] xsinfo sanitizer detects overlapping strings in assignment statement Date: Thu, 28 Apr 2016 07:01: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: 5.2.0 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02690.txt.bz2 Content-length: 145 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67494 --- Comment #2 from Vittorio Zecca --- Any update on this issue? >>From gcc-bugs-return-523478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 07:06:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33520 invoked by alias); 28 Apr 2016 07:06:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33367 invoked by uid 48); 28 Apr 2016 07:06:33 -0000 From: "service@ant-solutions.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70830] ARM interrupt attribute: push/pop do not support {reglist}^ Date: Thu, 28 Apr 2016 07:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: service@ant-solutions.net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02691.txt.bz2 Content-length: 911 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70830 Thorsten Czujack changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |service@ant-solutions.net --- Comment #1 from Thorsten Czujack --- I can confirm this bug. void __attribute__ ((interrupt ("IRQ"))) dm3730_IRQHandler(void) { prints("\n#!--------------------------------------------------\n#! !! ERROR: "); prints("IRQ" ); prints(" !!\n#!--------------------------------------------------\n"); } > {standard input}: Assembler messages: > {standard input}:1528: Error: push/pop do not support {reglist}^ -- `pop = {r0,r1,r2,r3,r4,r5,ip,pc}^' > {standard input}:1561: Error: push/pop do not support {reglist}^ -- `pop = {r0,r1,r2,r3,r4,r5,r6,pc}^' >>From gcc-bugs-return-523479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 07:08:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38141 invoked by alias); 28 Apr 2016 07:08:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37975 invoked by uid 55); 28 Apr 2016 07:08:45 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/44265] Link error with reference to parameter array in specification expression Date: Thu, 28 Apr 2016 07:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.6.0 X-Bugzilla-Keywords: ice-on-valid-code, rejects-valid 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02692.txt.bz2 Content-length: 134 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D44265 --- Comment #7 from Vittorio Zecca --- Still in 5.3.0 >>From gcc-bugs-return-523480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 07:09:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42079 invoked by alias); 28 Apr 2016 07:09:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41194 invoked by uid 48); 28 Apr 2016 07:09:45 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/67494] xsinfo sanitizer detects overlapping strings in assignment statement Date: Thu, 28 Apr 2016 07:09: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02693.txt.bz2 Content-length: 198 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67494 --- Comment #3 from Eric Botcazou --- No, it's low priority, the SPITBOL-like units are rarely used in practice. >>From gcc-bugs-return-523481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 07:13:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47012 invoked by alias); 28 Apr 2016 07:13:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46832 invoked by uid 55); 28 Apr 2016 07:13:26 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/50069] FORALL fails on a character array Date: Thu, 28 Apr 2016 07:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: major 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02694.txt.bz2 Content-length: 134 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D50069 --- Comment #7 from Vittorio Zecca --- Still in 5.3.0 >>From gcc-bugs-return-523482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 07:43:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118225 invoked by alias); 28 Apr 2016 07:43:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114337 invoked by uid 48); 28 Apr 2016 07:43:20 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70821] x86_64: __atomic_fetch_add/sub() uses XADD rather than DECL in some cases Date: Thu, 28 Apr 2016 07: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.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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02695.txt.bz2 Content-length: 872 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70821 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-28 CC| |jakub at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- I don't see any xadd* insns if compiled with -O2, it doesn't indeed use loc= k; decl, but lock; subl $1 or similar; but that is just the matter of generic tuning which prefers not to use inc/dec; if you use e.g. -O2 -mtune=3Dbarce= lona, then you get even the lock; decl you are looking for. So, are you testing with -Os instead? >>From gcc-bugs-return-523483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 07:55:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67471 invoked by alias); 28 Apr 2016 07:55:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66680 invoked by uid 48); 28 Apr 2016 07:55:01 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70840] New: revisit reassoc handling of pow / powi, amend match.pd for powi Date: Thu, 28 Apr 2016 07:55: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02696.txt.bz2 Content-length: 1095 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70840 Bug ID: 70840 Summary: revisit reassoc handling of pow / powi, amend match.pd for powi Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- Currently reassoc builds powi from repeated multiplications guarded with -funsafe-math-optimizations where later expansion of powi is safe for fp-contract !=3D off. The acceptable_pow_call cases are globally guarded with flag_unsafe_math_optimizations as well but POWI is always safe and only POW has to be guarded with flag_unsafe_math_optimizations. match.pd has quite some patterns involving POW but none involving POWI. At least for flag_unsafe_math_optimizations POWI can be treated as POW and whether we emit POW or POWI does not matter for flag_unsafe_math_optimziations. >>From gcc-bugs-return-523484-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 07:56:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72644 invoked by alias); 28 Apr 2016 07:56:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70717 invoked by uid 48); 28 Apr 2016 07:55:57 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70777] x*x pessimised to pow(x,2) with -Og -ffast-math Date: Thu, 28 Apr 2016 07:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02697.txt.bz2 Content-length: 516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70777 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |7.0 --- Comment #5 from Richard Biener --- Fixed on trunk, this isn't a regression. >>From gcc-bugs-return-523485-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 07:56:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73377 invoked by alias); 28 Apr 2016 07:56:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72627 invoked by uid 55); 28 Apr 2016 07:56:09 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70777] x*x pessimised to pow(x,2) with -Og -ffast-math Date: Thu, 28 Apr 2016 07:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02698.txt.bz2 Content-length: 496 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70777 --- Comment #6 from Richard Biener --- Author: rguenth Date: Thu Apr 28 07:55:33 2016 New Revision: 235545 URL: https://gcc.gnu.org/viewcvs?rev=3D235545&root=3Dgcc&view=3Drev Log: 2016-04-28 Richard Biener PR middle-end/70777 * fold-const.c (fold_binary_loc): Remove x*x to pow(x,2.0) canonicalization. Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c >>From gcc-bugs-return-523487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 08:03:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95595 invoked by alias); 28 Apr 2016 08:03:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95377 invoked by uid 48); 28 Apr 2016 08:03:45 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70821] x86_64: __atomic_fetch_add/sub() uses XADD rather than DECL in some cases Date: Thu, 28 Apr 2016 08: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02700.txt.bz2 Content-length: 797 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70821 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #2 from Jakub Jelinek --- Created attachment 38356 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38356&action=3Dedit gcc7-pr70821.patch For -Os, the problem is that peephole2 pass first replaces the movl $-1, %e= ax instruction with orl $-1, %eax as the latter is 2 bytes shorter, and then t= he peephole2 for the atomic decrement + comparison doesn't trigger anymore. >>From gcc-bugs-return-523486-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 08:03:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93171 invoked by alias); 28 Apr 2016 08:03:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92595 invoked by uid 48); 28 Apr 2016 08:02:55 -0000 From: "blaffablaffa at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70832] move-assignment of lambdas calls copy-assignment for captures Date: Thu, 28 Apr 2016 08:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: blaffablaffa 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02699.txt.bz2 Content-length: 235 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70832 --- Comment #2 from Lorenzo Pistone --- I should add also that this makes impossible to assign lambdas with move-on= ly captures to a std::function. >>From gcc-bugs-return-523488-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 08:23:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104814 invoked by alias); 28 Apr 2016 08:23:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 104434 invoked by uid 48); 28 Apr 2016 08:22:50 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70841] New: reassoc fails to handle FP division Date: Thu, 28 Apr 2016 08:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02701.txt.bz2 Content-length: 936 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70841 Bug ID: 70841 Summary: reassoc fails to handle FP division Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- reassoc fails to handle float foo (float x, float y) { return x * y / x; } with -freciprocal-math (at least) it could handle this as x * y * (1/x) and simplify ops accordingly (with -funsafe-math-opts or maybe already with -ffp-contract=3Dfast). Implementation-wise this could be handled similar to how we handle minus for plus reassoc. OTOH it would be better to rewrite that with a flag on the op "negate" and division could be handled with a flag "invert". >>From gcc-bugs-return-523489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 08:23:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123097 invoked by alias); 28 Apr 2016 08:23:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112815 invoked by uid 48); 28 Apr 2016 08:23:48 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70832] move-assignment of lambdas calls copy-assignment for captures Date: Thu, 28 Apr 2016 08:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02702.txt.bz2 Content-length: 1791 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70832 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-28 Ever confirmed|0 |1 --- Comment #3 from Jonathan Wakely --- namespace std { template struct remove_reference { using type =3D T; }; template struct remove_reference { using type =3D T; }; template struct remove_reference { using type =3D T; }; template constexpr typename remove_reference::type&& move(T&& t) noexcept { return static_cast::type&&>(t); } } int main() { struct move_only { move_only() =3D default; move_only(const move_only&) =3D delete; move_only(move_only&&) =3D default; move_only& operator=3D(const move_only&) =3D delete; move_only& operator=3D(move_only&&) =3D default; }; auto lambda =3D [test =3D move_only{}]{}; auto lambda_moved =3D std::move(lambda); lambda =3D std::move(lambda_moved); } move.cc: In function =E2=80=98int main()=E2=80=99: move.cc:22:36: error: use of deleted function =E2=80=98main()::& main()::::operator=3D(const main()::&)=E2=80=99 lambda =3D std::move(lambda_moved); ^ move.cc:20:38: note: a lambda closure type has a deleted copy assignment operator auto lambda =3D [test =3D move_only{}]{}; ^ >>From gcc-bugs-return-523490-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 08:27:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39402 invoked by alias); 28 Apr 2016 08:27:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38574 invoked by uid 48); 28 Apr 2016 08:26:49 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug java/70839] [6/7 regression] Every libjava execution test FAILs: Incorrect library ABI version detected Date: Thu, 28 Apr 2016 08:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: java X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02703.txt.bz2 Content-length: 404 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70839 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 --- Comment #1 from Richard Biener --- But the actual 6.1.0 release works, right? >>From gcc-bugs-return-523491-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 08:28:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44133 invoked by alias); 28 Apr 2016 08:28:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43957 invoked by uid 48); 28 Apr 2016 08:28:09 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70837] internal compiler error on libiberty/floatformat.c when bootstrapping 5.3.0 with 5.3.0 Date: Thu, 28 Apr 2016 08:28: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02704.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70837 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Richard Biener --- dup *** This bug has been marked as a duplicate of bug 70838 *** >>From gcc-bugs-return-523493-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 08:28:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45803 invoked by alias); 28 Apr 2016 08:28:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44843 invoked by uid 48); 28 Apr 2016 08:28:21 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70838] internal compiler error on libiberty/floatformat.c when bootstrapping 5.3.0 with 5.3.0 Date: Thu, 28 Apr 2016 08:28: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02705.txt.bz2 Content-length: 184 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70838 --- Comment #3 from Richard Biener --- *** Bug 70836 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-523492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 08:28:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44338 invoked by alias); 28 Apr 2016 08:28:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43965 invoked by uid 48); 28 Apr 2016 08:28:09 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70838] internal compiler error on libiberty/floatformat.c when bootstrapping 5.3.0 with 5.3.0 Date: Thu, 28 Apr 2016 08:28: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02707.txt.bz2 Content-length: 184 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70838 --- Comment #2 from Richard Biener --- *** Bug 70837 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-523494-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 08:28:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45811 invoked by alias); 28 Apr 2016 08:28:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44808 invoked by uid 48); 28 Apr 2016 08:28:21 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70836] internal compiler error on libiberty/floatformat.c when bootstrapping 5.3.0 with 5.3.0 Date: Thu, 28 Apr 2016 08:28: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02706.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70836 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Richard Biener --- dup *** This bug has been marked as a duplicate of bug 70838 *** >>From gcc-bugs-return-523495-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 08:30:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49195 invoked by alias); 28 Apr 2016 08:30:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48885 invoked by uid 48); 28 Apr 2016 08:30:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70838] internal compiler error on libiberty/floatformat.c when bootstrapping 5.3.0 with 5.3.0 Date: Thu, 28 Apr 2016 08:30: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02708.txt.bz2 Content-length: 621 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70838 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-linux Status|UNCONFIRMED |WAITING Last reconfirmed| |2016-04-28 Ever confirmed|0 |1 --- Comment #4 from Richard Biener --- This seems to crash in your mpfr library, you should debug what goes wrong there. >>From gcc-bugs-return-523496-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 08:32:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53719 invoked by alias); 28 Apr 2016 08:32:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51810 invoked by uid 48); 28 Apr 2016 08:32:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70831] [6/7 Regression] FTBFS: Build fails with bootstrap-lto and profiledbootstrap Date: Thu, 28 Apr 2016 08:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: build, lto X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cf_gcctarget component target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02709.txt.bz2 Content-length: 918 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70831 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |build, lto Target| |x86_64-*-* Component|lto |middle-end Target Milestone|--- |6.2 Summary|FTBFS: Build fails with |[6/7 Regression] FTBFS: |bootstrap-lto and |Build fails with |profiledbootstrap |bootstrap-lto and | |profiledbootstrap --- Comment #2 from Richard Biener --- You'll eventually run into PR60277 as well. Probably requires --enable-checking=3Drelease to trigger. >>From gcc-bugs-return-523497-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 08:36:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59870 invoked by alias); 28 Apr 2016 08:36:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59303 invoked by uid 55); 28 Apr 2016 08:35:58 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug java/70839] [6/7 regression] Every libjava execution test FAILs: Incorrect library ABI version detected Date: Thu, 28 Apr 2016 08:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: java X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02710.txt.bz2 Content-length: 462 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70839 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #1 from Richard Biener --- > But the actual 6.1.0 release works, right? No, unfortunately not: that's where I first noticed the problem when building 6.1.0 from the tarball. It's literally the 6.0.1 -> 6.1.0 last minute change that broke things ;-( Rainer >>From gcc-bugs-return-523498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 08:39:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73098 invoked by alias); 28 Apr 2016 08:39:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72816 invoked by uid 48); 28 Apr 2016 08:39:24 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70829] LTO bootstrap failure Date: Thu, 28 Apr 2016 08:39: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02711.txt.bz2 Content-length: 178 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70829 --- Comment #1 from Richard Biener --- Note that this compares LTO bytecode, see also PR62077. >>From gcc-bugs-return-523499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 08:40:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75444 invoked by alias); 28 Apr 2016 08:40:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74441 invoked by uid 48); 28 Apr 2016 08:39:50 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70827] [6/7 regression] dubious use of deleted function in inherited constructor Date: Thu, 28 Apr 2016 08:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02712.txt.bz2 Content-length: 577 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70827 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Target Milestone|--- |6.2 Summary|[6 regression] dubious use |[6/7 regression] dubious |of deleted function in |use of deleted function in |inherited constructor |inherited constructor >>From gcc-bugs-return-523500-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 08:41:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81575 invoked by alias); 28 Apr 2016 08:41:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78553 invoked by uid 48); 28 Apr 2016 08:41:07 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70826] [7 regression] many test cases fail starting with r235442 Date: Thu, 28 Apr 2016 08:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02713.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70826 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 >>From gcc-bugs-return-523501-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 08:41:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82264 invoked by alias); 28 Apr 2016 08:41:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78729 invoked by uid 48); 28 Apr 2016 08:41:09 -0000 From: "nathanael.huebbe at informatik dot uni-hamburg.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70842] New: internal compiler error with character members within a polymorphic pointer Date: Thu, 28 Apr 2016 08:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathanael.huebbe at informatik dot uni-hamburg.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 keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02714.txt.bz2 Content-length: 2244 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70842 Bug ID: 70842 Summary: internal compiler error with character members within a polymorphic pointer Product: gcc Version: 5.1.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: nathanael.huebbe at informatik dot uni-hamburg.de Target Milestone: --- There is a problem with character members of derived types when using polymorphic pointers, which triggers an ICE. It seems as if gfortran looses track of the length of `character` members when performing a downcast from a limited polymorphic type. The bug can be reproduced with this little code snippet: $ cat mo_compiler_test.f90 module foo TYPE, ABSTRACT :: t_Intermediate END TYPE t_Intermediate type, extends(t_Intermediate) :: t_Foo character(:), allocatable :: string end type t_Foo contains subroutine bar(me) class(t_Intermediate), target :: me select type(me) type is(t_Foo) print*, len(me%string) end select end subroutine bar end module foo $ gfortran -c -o mo_compiler_test.o mo_compiler_test.f90 f951: internal compiler error: in gfc_add_component_ref, at fortran/class.c:245 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. I have been able to reproduce this bug with gfortran versions 4.9.3, 5.1.0, 5.3.0, up to the current master in the git-svn mirror (commit a80f3f45b016). The bug is not present in versions up to 4.9.2. A git-bisect on the git-svn mirror revealed commit 53ec6b3f003a to be the first bad commit. It is interesting to note that this bug is not triggered when the `select type()` argument is an unlimited polymorphic pointer, even if that unlimited polymorphic pointer is just an alias for a limited polymorphic variable. See the comments in the attached code for details on this. >>From gcc-bugs-return-523502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 08:42:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88441 invoked by alias); 28 Apr 2016 08:42:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88346 invoked by uid 48); 28 Apr 2016 08:42:18 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70830] [6/7 Regression] ARM interrupt attribute: push/pop do not support {reglist}^ Date: Thu, 28 Apr 2016 08:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status cf_known_to_work cf_reconfirmed_on component cc everconfirmed short_desc target_milestone cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02715.txt.bz2 Content-length: 1143 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70830 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |arm* Status|UNCONFIRMED |NEW Known to work| |4.9.4, 5.3.1 Last reconfirmed| |2016-04-28 Component|c |target CC| |ktkachov at gcc dot gnu.org Ever confirmed|0 |1 Summary|ARM interrupt attribute: |[6/7 Regression] ARM |push/pop do not support |interrupt attribute: |{reglist}^ |push/pop do not support | |{reglist}^ Target Milestone|--- |6.2 Known to fail| |6.1.0, 7.0 --- Comment #2 from ktkachov at gcc dot gnu.org --- Confirmed. This looks like fallout from the unified asm conversion >>From gcc-bugs-return-523503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 08:43:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89912 invoked by alias); 28 Apr 2016 08:43:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89606 invoked by uid 48); 28 Apr 2016 08:43:00 -0000 From: "nathanael.huebbe at informatik dot uni-hamburg.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70842] internal compiler error with character members within a polymorphic pointer Date: Thu, 28 Apr 2016 08:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathanael.huebbe at informatik dot uni-hamburg.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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02716.txt.bz2 Content-length: 284 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70842 --- Comment #1 from nathanael.huebbe at informatik dot uni-hamburg.de --- Created attachment 38357 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38357&action=3Dedit Code to reproduced the bug the forgotten attachment... >>From gcc-bugs-return-523504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 08:59:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16467 invoked by alias); 28 Apr 2016 08:59:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14538 invoked by uid 48); 28 Apr 2016 08:58:52 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/70843] New: ICE in add_expr, at tree.c:7913 Date: Thu, 28 Apr 2016 08:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02717.txt.bz2 Content-length: 4309 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70843 Bug ID: 70843 Summary: ICE in add_expr, at tree.c:7913 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Created attachment 38358 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38358&action=3Dedit testcase Hi, Since commit r235507 (PR sanitizer/70683), I see ICEs on arm*-linux* targets when building glibc. $ arm-none-linux-gnueabihf-gcc llseek.i -c -std=3Dgnu99 -fgnu89-inline -O2= -Wall -Winline -Wundef -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wstrict-prototypes -S ../sysdeps/unix/sysv/linux/llseek.c: In function '__llseek': ../sysdeps/unix/sysv/linux/llseek.c:35:25: internal compiler error: in add_expr, at tree.c:7913 &retval, whence) ?: retval); ^ 0xd6e104 inchash::add_expr(tree_node const*, inchash::hash&, unsigned int) =20=20=20=20=20=20=20 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk-for-crontab/gcc/tree.c:= 7913 0xd6d6a5 inchash::add_expr(tree_node const*, inchash::hash&, unsigned int) =20=20=20=20=20=20=20 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk-for-crontab/gcc/tree.c:= 7990 0xd6d6a5 inchash::add_expr(tree_node const*, inchash::hash&, unsigned int) =20=20=20=20=20=20=20 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk-for-crontab/gcc/tree.c:= 7990 0xd6dc29 inchash::add_expr(tree_node const*, inchash::hash&, unsigned int) =20=20=20=20=20=20=20 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk-for-crontab/gcc/tree.c:= 7990 0x7d0322 operand_equal_p(tree_node const*, tree_node const*, unsigned int) =20=20=20=20=20=20=20 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk-for-crontab/gcc/fold-co= nst.c:2760 0x7f5ed0 operand_equal_for_comparison_p =20=20=20=20=20=20=20 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk-for-crontab/gcc/fold-co= nst.c:3345 0x801385 fold_ternary_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*, tree_node*) =20=20=20=20=20=20=20 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk-for-crontab/gcc/fold-co= nst.c:11581 0x802721 fold_build3_stat_loc(unsigned int, tree_code, tree_node*, tree_nod= e*, tree_node*, tree_node*) =20=20=20=20=20=20=20 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk-for-crontab/gcc/fold-co= nst.c:12582 0x5e155c c_fully_fold_internal =20=20=20=20=20=20=20 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk-for-crontab/gcc/c/c-fol= d.c:506 0x5e45da c_fully_fold(tree_node*, bool, bool*) =20=20=20=20=20=20=20 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk-for-crontab/gcc/c/c-fol= d.c:90 0x586264 c_finish_return(unsigned int, tree_node*, tree_node*) =20=20=20=20=20=20=20 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk-for-crontab/gcc/c/c-typ= eck.c:9650 0x5cb2bc c_parser_statement_after_labels =20=20=20=20=20=20=20 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk-for-crontab/gcc/c/c-par= ser.c:5216 0x5cc53b c_parser_compound_statement_nostart =20=20=20=20=20=20=20 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk-for-crontab/gcc/c/c-par= ser.c:4858 0x5cce2e c_parser_compound_statement =20=20=20=20=20=20=20 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk-for-crontab/gcc/c/c-par= ser.c:4693 0x5ce300 c_parser_declaration_or_fndef =20=20=20=20=20=20=20 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk-for-crontab/gcc/c/c-par= ser.c:2105 0x5d79a6 c_parser_external_declaration =20=20=20=20=20=20=20 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk-for-crontab/gcc/c/c-par= ser.c:1549 0x5d84b9 c_parser_translation_unit =20=20=20=20=20=20=20 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk-for-crontab/gcc/c/c-par= ser.c:1430 0x5d84b9 c_parse_file() =20=20=20=20=20=20=20 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk-for-crontab/gcc/c/c-par= ser.c:17915 0x63c8d2 c_common_parse_file() =20=20=20=20=20=20=20 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk-for-crontab/gcc/c-famil= y/c-opts.c:1064 GCC configured as: --target=3Darm-none-linux-gnueabihf --with-float=3Dhard --enable-build-with= -cxx --with-mode=3Darm --with-cpu=3Dcortex-a9 --with-fpu=3Dneon >>From gcc-bugs-return-523505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 09:01:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24331 invoked by alias); 28 Apr 2016 09:01:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24245 invoked by uid 48); 28 Apr 2016 09:01:04 -0000 From: "dhowells at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70821] x86_64: __atomic_fetch_add/sub() uses XADD rather than DECL in some cases Date: Thu, 28 Apr 2016 09: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dhowells at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02718.txt.bz2 Content-length: 163 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70821 --- Comment #3 from dhowells at redhat dot com = --- Yes, I'm testing with -Os. >>From gcc-bugs-return-523506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 09:02:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37638 invoked by alias); 28 Apr 2016 09:02:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29548 invoked by uid 55); 28 Apr 2016 09:02:53 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67497] data.c sanitizer runtime error: null pointer passed as argument 2, which is declared to never be null Date: Thu, 28 Apr 2016 09:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: zeccav 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02719.txt.bz2 Content-length: 404 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67497 --- Comment #3 from Vittorio Zecca --- Still in gfortran 5.3.0 /home/vitti/gcc-5.3.0/gcc/fortran/data.c:191:32: runtime error: null pointer passed as argument 2, which is declared to never be null data.c:191 "memcpy (&dest[start], rvalue->value.character.string, len * sizeof (gfc_char_t));" Maybe len=3D=3D0 >>From gcc-bugs-return-523507-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 09:06:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96347 invoked by alias); 28 Apr 2016 09:06:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96185 invoked by uid 55); 28 Apr 2016 09:06:32 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67498] interface.c sanitizer runtime error: load of value 1818451807, which is not a valid value for type 'expr_t' Date: Thu, 28 Apr 2016 09:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02720.txt.bz2 Content-length: 458 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67498 --- Comment #3 from Vittorio Zecca --- Still in gfortran 5.3.0 /home/vitti/gcc-5.3.0/gcc/fortran/interface.c:2707:33: runtime error: load of value 1818451807, which is not a valid value for type 'expr_t' interface.c:2707 "&& f->sym->ts.u.cl->length->expr_type =3D=3D EXPR_CONSTAN= T" You may reproduce this one with a version of gfortran compiled with -fsanitize=3Dundefined >>From gcc-bugs-return-523508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 09:07:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97905 invoked by alias); 28 Apr 2016 09:07:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97600 invoked by uid 48); 28 Apr 2016 09:07:15 -0000 From: "danny+gcc at nerdcruft dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70844] New: spurious -Wuseless-cast warning with inherited constructors Date: Thu, 28 Apr 2016 09:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: danny+gcc at nerdcruft dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02721.txt.bz2 Content-length: 1473 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70844 Bug ID: 70844 Summary: spurious -Wuseless-cast warning with inherited constructors Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: danny+gcc at nerdcruft dot net Target Milestone: --- Created attachment 38359 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38359&action=3Dedit useless-cast inherited constructor test case When using -Wuseless-cast with C++11 code under gcc-6.1.0 an inherited constructor will trigger useless-cast warnings on synthesized constructors (with at least arithmetic types) even if the parameters are of the correct type. Attached a reduced test case. Behaviour can be triggered as follows, with example output: danny@steve /tmp $ g++ -std=3Dc++11 -Wuseless-cast -c -o test.o test.cpp test.cpp: In constructor =E2=80=98derived::derived(int)=E2=80=99: test.cpp:6:17: warning: useless cast to type =E2=80=98int=E2=80=99 [-Wusele= ss-cast] using base::base; ^~~~ test.cpp: In function =E2=80=98void func(int)=E2=80=99: test.cpp:11:17: note: synthesized method =E2=80=98derived::derived(int)=E2= =80=99 first required here=20 derived d (i); ^ This behaviour is observed in gcc-6.0.0 and gcc-6.1.0, but not gcc-5.3.0. >>From gcc-bugs-return-523509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 09:16:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31722 invoked by alias); 28 Apr 2016 09:16:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8063 invoked by uid 55); 28 Apr 2016 09:16:00 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67484] options-save.c sanitizer asan detects freed storage referenced heap-use-after-free Date: Thu, 28 Apr 2016 09:16: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02722.txt.bz2 Content-length: 1082 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67484 --- Comment #14 from Vittorio Zecca --- I still get it in g++ 5.3.0 You may reproduce this one with a version of g++ compiled with -fsanitize=3Daddress [vitti cc]$/home/vitti/1tb/vitti/local/gcc-5.3.0-address/bin/g++ gccerr26.C= -S =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D4766=3D=3DERROR: AddressSanitizer: heap-use-after-free on address 0x6020000057d0 at pc 0x2b8838780025 bp 0x7fffdc0e27c0 sp 0x7fffdc0e1f70 READ of size 1 at 0x6020000057d0 thread T0 #0 0x2b8838780024 in __interceptor_strcmp /home/vitti/gcc-5.3.0/libsanitizer/sanitizer_common/sanitizer_common_interc= eptors.inc:178 #1 0x10bc6aa in cl_target_option_eq(cl_target_option const*, cl_target_option const*) /home/vitti/1tb/vitti/gcc-5.3.0-address/gcc/options-save.c:3555 options-save.c:3555 "|| strcmp (ptr1->x_ix86_arch_string, ptr2->x_ix86_arch_string)))" >>From gcc-bugs-return-523510-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 09:19:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100062 invoked by alias); 28 Apr 2016 09:19:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95660 invoked by uid 48); 28 Apr 2016 09:18:57 -0000 From: "dhowells at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70821] x86_64: __atomic_fetch_add/sub() uses XADD rather than DECL in some cases Date: Thu, 28 Apr 2016 09:19: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dhowells at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02723.txt.bz2 Content-length: 440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70821 --- Comment #4 from dhowells at redhat dot com = --- The patch works, thanks: 000000000000001c : 1c: f0 ff 0f lock decl (%rdi) 1f: ba 00 00 00 00 mov $0x0,%edx 24: b8 00 00 00 00 mov $0x0,%eax 29: 48 0f 44 c2 cmove %rdx,%rax 2d: c3 retq >>From gcc-bugs-return-523511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 09:20:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124778 invoked by alias); 28 Apr 2016 09:20:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123929 invoked by uid 48); 28 Apr 2016 09:20:15 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70843] [7 Regression] ICE in add_expr, at tree.c:7913 Date: Thu, 28 Apr 2016 09: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: 7.0 X-Bugzilla-Keywords: ice-checking X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords component version target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02724.txt.bz2 Content-length: 613 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70843 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-checking Component|other |middle-end Version|unknown |7.0 Target Milestone|--- |7.0 Summary|ICE in add_expr, at |[7 Regression] ICE in |tree.c:7913 |add_expr, at tree.c:7913 >>From gcc-bugs-return-523512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 09:26:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14895 invoked by alias); 28 Apr 2016 09:26:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14791 invoked by uid 48); 28 Apr 2016 09:26:29 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/59549] [SH] __builtin_return_address causes push/pop of PR Date: Thu, 28 Apr 2016 09: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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: olegendo 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02725.txt.bz2 Content-length: 621 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59549 --- Comment #2 from Oleg Endo --- Ran over the following in sh.c, maybe it's related: /* For Shcompact, if not optimizing, we end up with a memory reference using the return address pointer for __builtin_return_address even though there is no actual need to put the PR register on the stack= .=20 */ pr_live |=3D df_regs_ever_live_p (RETURN_ADDRESS_POINTER_REGNUM); } /* Force PR to be live if the prologue has to call the SHmedia argument decoder or register saver. */ has_call =3D pr_live; >>From gcc-bugs-return-523514-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 09:38:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57517 invoked by alias); 28 Apr 2016 09:38:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54263 invoked by uid 48); 28 Apr 2016 09:38:23 -0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70825] x86_64: __atomic_compare_exchange_n() accesses stack unnecessarily Date: Thu, 28 Apr 2016 09:38: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ramana at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02727.txt.bz2 Content-length: 568 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70825 Ramana Radhakrishnan changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-28 Ever confirmed|0 |1 --- Comment #2 from Ramana Radhakrishnan --- Confirmed then. >>From gcc-bugs-return-523513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 09:38:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53575 invoked by alias); 28 Apr 2016 09:38:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53447 invoked by uid 48); 28 Apr 2016 09:38:04 -0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70825] x86_64: __atomic_compare_exchange_n() accesses stack unnecessarily Date: Thu, 28 Apr 2016 09:38: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ramana 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: cf_gcctarget cc component Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02726.txt.bz2 Content-length: 1586 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70825 Ramana Radhakrishnan changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64, aarch64 CC| |ramana at gcc dot gnu.org Component|target |rtl-optimization --- Comment #1 from Ramana Radhakrishnan --- There is an unnecessary store to the stack regardless of the architecture. I suspect that's just because of the a combination of the specification of the intrinsic and DSE being unable to remove such stores.=20 For e.g. on aarch64 with: #include #define __always_inline inline __attribute__((always_inline)) typedef struct { int counter; } atomic_t; static __always_inline int atomic_cmpxchg(atomic_t *v, int old, int new) { int cur =3D old; if (__atomic_compare_exchange_n(&v->counter, &cur, new, false, __ATOMIC_SEQ_CST, __ATOMIC_RELAXED)) return cur; return cur; } void test_atomic_cmpxchg(atomic_t *counter) { atomic_cmpxchg(counter, 23, 42); } we get. sub sp, sp, #16 mov w1, 23 mov w2, 42 str w1, [sp, 12] ---> unneeded .L3: ldaxr w3, [x0] cmp w3, w1 bne .L4 stlxr w4, w2, [x0] cbnz w4, .L3 .L4: add sp, sp, 16 ret >>From gcc-bugs-return-523515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 09:39:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58708 invoked by alias); 28 Apr 2016 09:39:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58593 invoked by uid 48); 28 Apr 2016 09:39:04 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70786] Missing "not" breaks Ada.Text_IO.Get_Immediate(File, Item, Available) Date: Thu, 28 Apr 2016 09:39: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02728.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70786 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc do= t gnu.org --- Comment #2 from Eric Botcazou --- Fixing. >>From gcc-bugs-return-523516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 09:59:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 643 invoked by alias); 28 Apr 2016 09:59:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 329 invoked by uid 55); 28 Apr 2016 09:59:19 -0000 From: "paolo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70540] [4.9/5/6 Regression] ICE on invalid code in cxx_incomplete_type_diagnostic, at cp/typeck2.c:569 Date: Thu, 28 Apr 2016 09:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02729.txt.bz2 Content-length: 818 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70540 --- Comment #8 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu Apr 28 09:58:45 2016 New Revision: 235552 URL: https://gcc.gnu.org/viewcvs?rev=3D235552&root=3Dgcc&view=3Drev Log: /cp 2016-04-28 Paolo Carlini PR c++/70540 * semantics.c (process_outer_var_ref): Unconditionally return error_mark_node when mark_used returns false. /testsuite 2016-04-28 Paolo Carlini PR c++/70540 * g++.dg/cpp0x/auto48.C: New. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/auto48.C Modified: branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/semantics.c branches/gcc-6-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523517-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 10:01:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70810 invoked by alias); 28 Apr 2016 10:01:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37477 invoked by uid 48); 28 Apr 2016 10:01:20 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70540] [4.9/5 Regression] ICE on invalid code in cxx_incomplete_type_diagnostic, at cp/typeck2.c:569 Date: Thu, 28 Apr 2016 10: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: 6.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02730.txt.bz2 Content-length: 877 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70540 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|4.9.4 |6.2 Summary|[4.9/5/6 Regression] ICE on |[4.9/5 Regression] ICE on |invalid code in |invalid code in |cxx_incomplete_type_diagnos |cxx_incomplete_type_diagnos |tic, at cp/typeck2.c:569 |tic, at cp/typeck2.c:569 --- Comment #9 from Paolo Carlini --- Fixed for 6.2 too. Personally, I'm not going to fiddle with older branches = for this mild regression. >>From gcc-bugs-return-523518-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 10:02:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96607 invoked by alias); 28 Apr 2016 10:02:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96341 invoked by uid 48); 28 Apr 2016 10:02:42 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70842] [4.9/5/6/7 Regression] internal compiler error with character members within a polymorphic pointer Date: Thu, 28 Apr 2016 10:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc blocked short_desc everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02731.txt.bz2 Content-length: 1352 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70842 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-28 CC| |vehre at gcc dot gnu.org Blocks| |68241 Summary|internal compiler error |[4.9/5/6/7 Regression] |with character members |internal compiler error |within a polymorphic |with character members |pointer |within a polymorphic | |pointer Ever confirmed|0 |1 Known to fail| |6.1.0, 7.0 --- Comment #2 from Dominique d'Humieres --- The change occurred between revisions r219823 (2015-01-18, compiles) and r219830 (2015-01-19, ICE), likely r219827 (pr60255) for gcc-5 and r221591 f= or gcc-4.9. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68241 [Bug 68241] [meta-bug] Deferred-length character >>From gcc-bugs-return-523519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 10:16:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68878 invoked by alias); 28 Apr 2016 10:16:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48109 invoked by uid 48); 28 Apr 2016 10:16:36 -0000 From: "dhowells at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49244] __sync or __atomic builtins will not emit 'lock bts/btr/btc' Date: Thu, 28 Apr 2016 10:16: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: dhowells at redhat 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02732.txt.bz2 Content-length: 326 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49244 --- Comment #7 from dhowells at redhat dot com = --- We should also be able to reduce: bool test_bit (int *a, int bit) { uint mask =3D (1u << bit); return (__atomic_load_n (a, __ATOMIC_xxx) & mask) !=3D 0; } to a BT instruction on x86. >>From gcc-bugs-return-523520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 10:22:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42396 invoked by alias); 28 Apr 2016 10:22:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41989 invoked by uid 48); 28 Apr 2016 10:21:51 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70829] LTO bootstrap failure Date: Thu, 28 Apr 2016 10:22: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02733.txt.bz2 Content-length: 140 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70829 --- Comment #2 from Richard Biener --- Works for me btw. >>From gcc-bugs-return-523521-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 10:39:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54664 invoked by alias); 28 Apr 2016 10:39:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54392 invoked by uid 48); 28 Apr 2016 10:39:22 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49244] __sync or __atomic builtins will not emit 'lock bts/btr/btc' Date: Thu, 28 Apr 2016 10:39: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: ubizjak 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02734.txt.bz2 Content-length: 617 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49244 --- Comment #8 from Uro=C5=A1 Bizjak --- (In reply to dhowells@redhat.com from comment #6) > I'm looking to implement Linux kernel atomics with C++-11 intrinsics, so > being able to reduce a CMPXCHG-loop to BTR/BTS/BTC would be really handy. BTW: A low-hanging fruit in this area would be using new asm flags feature,= as explained in [1]. There is also LKML discussion about the possible patch [2= ]. [1] http://developers.redhat.com/blog/2016/02/25/new-asm-flags-feature-for-x86-= in-gcc-6/ [2] https://lkml.org/lkml/2015/7/27/735 >>From gcc-bugs-return-523522-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 10:47:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86098 invoked by alias); 28 Apr 2016 10:47:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84551 invoked by uid 48); 28 Apr 2016 10:46:58 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/69489] missed vectorization for boolean loop, missed if-conversion Date: Thu, 28 Apr 2016 10:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: missed-optimization 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02735.txt.bz2 Content-length: 2593 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69489 --- Comment #17 from amker at gcc dot gnu.org --- The if-converted loop of the reported test is as: : # i_27 =3D PHI <0(3), i_21(5)> # n1_29 =3D PHI <0(3), n1_20(5)> # n2_28 =3D PHI <0(3), n2_34(5)> i.1_7 =3D (sizetype) i_27; _9 =3D u_8(D) + i.1_7; _11 =3D *_9; _13 =3D v_12(D) + i.1_7; _14 =3D *_13; _17 =3D v_12(D) + i.1_7; _18 =3D *_17; _31 =3D _18 !=3D 0; _36 =3D (int) _31; _48 =3D (long int) _36; _45 =3D _11 !=3D 0; _44 =3D _14 =3D=3D 0; _43 =3D _44 & _45; _ifc__40 =3D _43 ? 1 : 0; n2_34 =3D n2_28 + _ifc__40; prephitmp_49 =3D _11 !=3D 0 ? 0 : _48; n1_20 =3D n1_29 + prephitmp_49; i_21 =3D i_27 + 1; if (n_6(D) > i_21) goto ; else goto ; : goto ; For stmt: _ifc__40 =3D _43 ? 1 : 0; Its pattern_stmt is: patt_37 =3D patt_= 38 ? 1 : 0; Function vectorizable_condition calls expand_vec_cond_expr_p(vectype, comp_vectype) which we have: (gdb) call debug_tree(vectype) unit size align 64 symtab 0 alias set -1 canonical type 0x7ffff695f930 precis= ion 64 min max pointer_to_this > V2DI size constant 128> unit size constant 16> align 128 symtab 0 alias set -1 canonical type 0x7ffff6a5fd20 nunits 2> (gdb) call debug_tree(comp_vectype) unit size align 64 symtab 0 alias set -1 canonical type 0x7ffff6a5fc78 precis= ion 64 min max > V2DI size constant 128> unit size constant 16> align 128 symtab 0 alias set -1 canonical type 0x7ffff6a5fe70 nunits 2> In the end, GCC checks HAVE_vcond_mask_v2div2di which is defined as below on i386: #define HAVE_vcond_mask_v2div2di (TARGET_SSE4_2) >>From gcc-bugs-return-523523-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 10:48:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96033 invoked by alias); 28 Apr 2016 10:48:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92448 invoked by uid 48); 28 Apr 2016 10:48:28 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70830] [6/7 Regression] ARM interrupt attribute: push/pop do not support {reglist}^ Date: Thu, 28 Apr 2016 10: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: unknown X-Bugzilla-Keywords: assemble-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02736.txt.bz2 Content-length: 441 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70830 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ktkachov at gcc dot= gnu.org --- Comment #3 from ktkachov at gcc dot gnu.org --- I'm testing a patch >>From gcc-bugs-return-523524-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 10:50:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101879 invoked by alias); 28 Apr 2016 10:50:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100210 invoked by uid 55); 28 Apr 2016 10:49:48 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70759] Ada rts fails to build with -mabi=ilp32 Date: Thu, 28 Apr 2016 10:50: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: 6.0 X-Bugzilla-Keywords: assemble-failure, build X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02737.txt.bz2 Content-length: 833 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70759 --- Comment #4 from Eric Botcazou --- Author: ebotcazou Date: Thu Apr 28 10:49:13 2016 New Revision: 235553 URL: https://gcc.gnu.org/viewcvs?rev=3D235553&root=3Dgcc&view=3Drev Log: Backport from mainline 2016-04-27 Eric Botcazou PR ada/70759 * stor-layout.h (internal_reference_types): Delete. * stor-layout.c (reference_types_internal): Likewise. (internal_reference_types): Likewise. (layout_type) : Adjust. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/ada/ChangeLog branches/gcc-6-branch/gcc/ada/gcc-interface/misc.c branches/gcc-6-branch/gcc/stor-layout.c branches/gcc-6-branch/gcc/stor-layout.h >>From gcc-bugs-return-523525-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 10:52:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122324 invoked by alias); 28 Apr 2016 10:52:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122108 invoked by uid 48); 28 Apr 2016 10:52:34 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/69489] missed vectorization for boolean loop, missed if-conversion Date: Thu, 28 Apr 2016 10: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: 5.2.1 X-Bugzilla-Keywords: missed-optimization 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02738.txt.bz2 Content-length: 333 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69489 --- Comment #18 from amker at gcc dot gnu.org --- So the question is why if-conversion generates: _43 =3D _44 & _45; _ifc__40 =3D _43 ? 1 : 0; n2_34 =3D n2_28 + _ifc__40; Not: _43 =3D _44 & _45; _XXX =3D (long int) _43; n2_34 =3D n2_28 + _XXX; As in the good test. >>From gcc-bugs-return-523526-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 10:53:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128096 invoked by alias); 28 Apr 2016 10:53:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123137 invoked by uid 48); 28 Apr 2016 10:52:58 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70759] Ada rts fails to build with -mabi=ilp32 Date: Thu, 28 Apr 2016 10:53: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: 6.0 X-Bugzilla-Keywords: assemble-failure, build X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02739.txt.bz2 Content-length: 465 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70759 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Eric Botcazou --- Presumably fixed, but not tested at all. >>From gcc-bugs-return-523527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 10:55:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14661 invoked by alias); 28 Apr 2016 10:55:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13276 invoked by uid 48); 28 Apr 2016 10:55:09 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug java/70839] [6/7 regression] Every libjava execution test FAILs: Incorrect library ABI version detected Date: Thu, 28 Apr 2016 10:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: java X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status bug_file_loc cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02740.txt.bz2 Content-length: 836 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70839 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW URL| |https://gcc.gnu.org/ml/gcc- | |patches/2016-04/msg01791.ht | |ml Last reconfirmed| |2016-04-28 CC| |doko at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Rainer Orth --- Alternative patch here: https://gcc.gnu.org/ml/gcc-patches/2016-04/msg01751.html Mine posted, too. >>From gcc-bugs-return-523529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 10:59:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49799 invoked by alias); 28 Apr 2016 10:59:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41722 invoked by uid 55); 28 Apr 2016 10:59:26 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70786] Missing "not" breaks Ada.Text_IO.Get_Immediate(File, Item, Available) Date: Thu, 28 Apr 2016 10:59: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02742.txt.bz2 Content-length: 463 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70786 --- Comment #4 from Eric Botcazou --- Author: ebotcazou Date: Thu Apr 28 10:58:54 2016 New Revision: 235555 URL: https://gcc.gnu.org/viewcvs?rev=3D235555&root=3Dgcc&view=3Drev Log: PR ada/70786 * a-textio.adb (Get_Immediate): Add missing 'not' in expression. Modified: branches/gcc-6-branch/gcc/ada/ChangeLog branches/gcc-6-branch/gcc/ada/a-textio.adb >>From gcc-bugs-return-523528-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 10:59:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40863 invoked by alias); 28 Apr 2016 10:59:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36692 invoked by uid 55); 28 Apr 2016 10:59:10 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70786] Missing "not" breaks Ada.Text_IO.Get_Immediate(File, Item, Available) Date: Thu, 28 Apr 2016 10:59: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02741.txt.bz2 Content-length: 431 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70786 --- Comment #3 from Eric Botcazou --- Author: ebotcazou Date: Thu Apr 28 10:58:38 2016 New Revision: 235554 URL: https://gcc.gnu.org/viewcvs?rev=3D235554&root=3Dgcc&view=3Drev Log: PR ada/70786 * a-textio.adb (Get_Immediate): Add missing 'not' in expression. Modified: trunk/gcc/ada/ChangeLog trunk/gcc/ada/a-textio.adb >>From gcc-bugs-return-523530-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 10:59:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53268 invoked by alias); 28 Apr 2016 10:59:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48597 invoked by uid 55); 28 Apr 2016 10:59:38 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70786] Missing "not" breaks Ada.Text_IO.Get_Immediate(File, Item, Available) Date: Thu, 28 Apr 2016 10:59: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02743.txt.bz2 Content-length: 463 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70786 --- Comment #5 from Eric Botcazou --- Author: ebotcazou Date: Thu Apr 28 10:59:05 2016 New Revision: 235556 URL: https://gcc.gnu.org/viewcvs?rev=3D235556&root=3Dgcc&view=3Drev Log: PR ada/70786 * a-textio.adb (Get_Immediate): Add missing 'not' in expression. Modified: branches/gcc-5-branch/gcc/ada/ChangeLog branches/gcc-5-branch/gcc/ada/a-textio.adb >>From gcc-bugs-return-523531-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 11:00:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56564 invoked by alias); 28 Apr 2016 11:00:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52944 invoked by uid 55); 28 Apr 2016 10:59:49 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70786] Missing "not" breaks Ada.Text_IO.Get_Immediate(File, Item, Available) Date: Thu, 28 Apr 2016 11:00: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02744.txt.bz2 Content-length: 467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70786 --- Comment #6 from Eric Botcazou --- Author: ebotcazou Date: Thu Apr 28 10:59:17 2016 New Revision: 235557 URL: https://gcc.gnu.org/viewcvs?rev=3D235557&root=3Dgcc&view=3Drev Log: PR ada/70786 * a-textio.adb (Get_Immediate): Add missing 'not' in expression. Modified: branches/gcc-4_9-branch/gcc/ada/ChangeLog branches/gcc-4_9-branch/gcc/ada/a-textio.adb >>From gcc-bugs-return-523532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 11:01:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110710 invoked by alias); 28 Apr 2016 11:01:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91272 invoked by uid 48); 28 Apr 2016 11:00:55 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70786] Missing "not" breaks Ada.Text_IO.Get_Immediate(File, Item, Available) Date: Thu, 28 Apr 2016 11:01: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02745.txt.bz2 Content-length: 509 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70786 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |4.9.4 --- Comment #7 from Eric Botcazou --- Fixed on all active branches. >>From gcc-bugs-return-523533-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 11:01:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3502 invoked by alias); 28 Apr 2016 11:01:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120133 invoked by uid 48); 28 Apr 2016 11:01:20 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70759] Ada rts fails to build with -mabi=ilp32 Date: Thu, 28 Apr 2016 11:01: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: 6.0 X-Bugzilla-Keywords: assemble-failure, build X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02746.txt.bz2 Content-length: 294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70759 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.2 >>From gcc-bugs-return-523534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 11:21:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91854 invoked by alias); 28 Apr 2016 11:21:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91682 invoked by uid 48); 28 Apr 2016 11:21:36 -0000 From: "tuwwcn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70845] New: inherited piecewise_construct_t constructor from std::pair by "using-declarations" is missing Date: Thu, 28 Apr 2016 11:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tuwwcn 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02747.txt.bz2 Content-length: 2905 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70845 Bug ID: 70845 Summary: inherited piecewise_construct_t constructor from std::pair by "using-declarations" is missing Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tuwwcn at gmail dot com Target Milestone: --- This code is PASSED by gcc 5.3.0, but REJECTED by 6.1.0.(all using --std=3D= c++14) --------------------------- code is like this: struct Test : public std::pair { using std::pair::pair; }; Test p(std::piecewise_construct, std::forward_as_tuple(1), std::forward_as_tuple("abcd")); --------------------------- Error messages produced by gcc 6.1.0 is: error: use of deleted function =E2=80=98constexpr std::tuple< >::tuple(const std::tuple< >&) [with _Elements =3D {int&&}]=E2=80=99 using std::pair::pair; gcc-6.1.0/include/c++/6.1.0/tuple:633:17: note: =E2=80=98constexpr std::tup= le< >::tuple(const std::tuple< >&) [with _Elements =3D {int&&}]=E2=80=99 is implicitly deleted because the= default definition would be ill-formed: constexpr tuple(const tuple&) =3D default; ^~~~~ gcc-6.1.0/include/c++/6.1.0/tuple:633:17: error: use of deleted function =E2=80=98constexpr std::_Tuple_impl<_Idx, _Head>::_Tuple_impl(const std::_Tuple_impl<_Idx, _Head>&) [with long unsigned int _Idx =3D 0ul; _Head= =3D int&&]=E2=80=99 gcc-6.1.0/include/c++/6.1.0/tuple:363:17: note: =E2=80=98constexpr std::_Tuple_impl<_Idx, _Head>::_Tuple_impl(const std::_Tuple_impl<_Idx, _Head>&) [with long unsigned int _Idx =3D 0ul; _Head =3D int&&]=E2=80=99 is= implicitly deleted because the default definition would be ill-formed: constexpr _Tuple_impl(const _Tuple_impl&) =3D default; ^~~~~~~~~~~ gcc-6.1.0/include/c++/6.1.0/tuple:363:17: error: use of deleted function =E2=80=98constexpr std::_Head_base<_Idx, _Head, false>::_Head_base(const std::_Head_base<_Idx, _Head, false>&) [with long unsigned int _Idx =3D 0ul;= _Head =3D int&&]=E2=80=99 gcc-6.1.0/include/c++/6.1.0/tuple:110:17: note: =E2=80=98constexpr std::_Head_base<_Idx, _Head, false>::_Head_base(const std::_Head_base<_Idx, _Head, false>&) [with long unsigned int _Idx =3D 0ul; _Head =3D int&&]=E2= =80=99 is implicitly deleted because the default definition would be ill-formed: constexpr _Head_base(const _Head_base&) =3D default; ^~~~~~~~~~ gcc-6.1.0/include/c++/6.1.0/tuple:110:17: error: copying non-static data me= mber =E2=80=98int&& std::_Head_base<0ul, int&&, false>::_M_head_impl=E2=80=99 of= rvalue reference type >>From gcc-bugs-return-523535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 11:32:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25486 invoked by alias); 28 Apr 2016 11:32:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24194 invoked by uid 48); 28 Apr 2016 11:32:19 -0000 From: "hvksmr1996 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70846] New: GCC doesn't respond when compile my code Date: Thu, 28 Apr 2016 11:32: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hvksmr1996 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02748.txt.bz2 Content-length: 1027 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70846 Bug ID: 70846 Summary: GCC doesn't respond when compile my code Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: hvksmr1996 at gmail dot com Target Milestone: --- Created attachment 38360 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38360&action=3Dedit Source code I tried to compile this particular code using MinGW 5.3.0 in Windows 10 64-= bit, when I hit enter to execute compile command, the compiler didn't respond. Here's my command: g++ -Wall -Wextra -std=3Dc++14 -o main.exe main.cpp I opened taskmgr and saw a process named 'cc1plus.exe' with CPU usage 28 - = 30 % (my CPU is Intel Core i5 4210U) and RAM usage increase overtime until I see= and error message "cc1plus.exe: out of memory allocating 348411175 bytes " I also attached my code here >>From gcc-bugs-return-523536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 11:36:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38214 invoked by alias); 28 Apr 2016 11:36:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38034 invoked by uid 48); 28 Apr 2016 11:36:38 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70843] [7 Regression] ICE in add_expr, at tree.c:7913 Date: Thu, 28 Apr 2016 11:36: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.0 X-Bugzilla-Keywords: ice-checking X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status cf_reconfirmed_on cc assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02749.txt.bz2 Content-length: 782 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70843 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target|arm | Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-04-28 CC| |jakub at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- int foo (int x, int y) { return ({ int a =3D 5; a +=3D x; a *=3D y; a; }) ? : 2; } ICEs everywhere. >>From gcc-bugs-return-523538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 11:38:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42865 invoked by alias); 28 Apr 2016 11:38:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42687 invoked by uid 48); 28 Apr 2016 11:38:16 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70845] [6/7 Regression] inherited piecewise_construct_t constructor from std::pair by "using-declarations" is missing Date: Thu, 28 Apr 2016 11:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords component Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02751.txt.bz2 Content-length: 773 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70845 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Component|c++ |libstdc++ --- Comment #1 from Jonathan Wakely --- Complete testcase (would it really have hurt to include the headers to make= the testcase valid?) #include #include #include struct Test : public std::pair { using std::pair::pair; }; Test p(std::piecewise_construct, std::forward_as_tuple(1), std::forward_as_tuple("abcd")); >>From gcc-bugs-return-523537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 11:38:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41833 invoked by alias); 28 Apr 2016 11:38:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41404 invoked by uid 48); 28 Apr 2016 11:37:48 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70845] [6/7 Regression] inherited piecewise_construct_t constructor from std::pair by "using-declarations" is missing Date: Thu, 28 Apr 2016 11:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02750.txt.bz2 Content-length: 832 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70845 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-28 CC| |ville at gcc dot gnu.org Summary|inherited |[6/7 Regression] inherited |piecewise_construct_t |piecewise_construct_t |constructor from std::pair |constructor from std::pair |by "using-declarations" is |by "using-declarations" is |missing |missing Ever confirmed|0 |1 >>From gcc-bugs-return-523539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 11:44:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83559 invoked by alias); 28 Apr 2016 11:44:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83374 invoked by uid 48); 28 Apr 2016 11:44:02 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70843] [7 Regression] ICE in add_expr, at tree.c:7913 Date: Thu, 28 Apr 2016 11:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-checking X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02752.txt.bz2 Content-length: 253 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70843 --- Comment #2 from Jakub Jelinek --- Created attachment 38361 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38361&action=3Dedit gcc7-pr70843.patch Untested fix. >>From gcc-bugs-return-523540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 11:48:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115384 invoked by alias); 28 Apr 2016 11:48:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115087 invoked by uid 48); 28 Apr 2016 11:48:24 -0000 From: "jens.maurer at gmx dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70847] New: exponential time in cp_fold for chained virtual function calls Date: Thu, 28 Apr 2016 11:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: jens.maurer at gmx dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02753.txt.bz2 Content-length: 891 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70847 Bug ID: 70847 Summary: exponential time in cp_fold for chained virtual function calls Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- Testcase: struct D { virtual D& f(); }; void g() { D d; d.f().f().f().f().f().f().f().f().f().f().f().f().f().f().f() #if 1 .f().f().f().f().f().f().f().f().f().f().f() #endif ; } $ time g++ -v -c tst.cxx gcc version 6.1.0 (GCC) [does not end] Changing "#if 1" to "#if 0" yields: $ time g++ -c output-strip.cxx real 0m3.341s "perf top" shows cp_fold, cp_fold_r, cp_walk_subtrees, and walk_tree_1 functions. >>From gcc-bugs-return-523541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 11:51:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118439 invoked by alias); 28 Apr 2016 11:51:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 117951 invoked by uid 48); 28 Apr 2016 11:51:01 -0000 From: "tuwwcn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70845] [6/7 Regression] inherited piecewise_construct_t constructor from std::pair by "using-declarations" is missing Date: Thu, 28 Apr 2016 11:51: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: 6.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: tuwwcn 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02754.txt.bz2 Content-length: 828 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70845 --- Comment #2 from Wei-Wei Tu --- (In reply to Jonathan Wakely from comment #1) > Complete testcase (would it really have hurt to include the headers to ma= ke > the testcase valid?) >=20 > #include > #include > #include >=20 > struct Test : public std::pair { > using std::pair::pair; > }; >=20 > Test p(std::piecewise_construct, std::forward_as_tuple(1), > std::forward_as_tuple("abcd")); #include #include #include struct Test : public std::pair { using std::pair::pair; }; int main() { Test p(std::piecewise_construct, std::forward_as_tuple(1), std::forward_as_tuple("abcd")); } This is the test case >>From gcc-bugs-return-523543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 11:55:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130643 invoked by alias); 28 Apr 2016 11:55:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130518 invoked by uid 48); 28 Apr 2016 11:55:53 -0000 From: "jens.maurer at gmx dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70847] exponential time in cp_fold for chained virtual function calls Date: Thu, 28 Apr 2016 11:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: jens.maurer at gmx dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02756.txt.bz2 Content-length: 297 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70847 --- Comment #1 from Jens Maurer --- This situation is similar to bug 70342, except that my testcase - involves no -fsanitize=3Dundefined, - is shorter, - hinges on "virtual", and - is a regression vs. gcc 5.x. >>From gcc-bugs-return-523542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 11:55:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130578 invoked by alias); 28 Apr 2016 11:55:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129953 invoked by uid 48); 28 Apr 2016 11:55:43 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70344] [6/7 Regression] ICE on invalid code at -O1 and above on x86_64-linux-gnu in record_reference, at cgraphbuild.c:64 Date: Thu, 28 Apr 2016 11:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02755.txt.bz2 Content-length: 896 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70344 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW CC| |jakub at gcc dot gnu.org Summary|[6 Regression] ICE on valid |[6/7 Regression] ICE on |code at -O1 and above on |invalid code at -O1 and |x86_64-linux-gnu in |above on x86_64-linux-gnu |adjust_temp_type, at |in record_reference, at |cp/constexpr.c:1078 |cgraphbuild.c:64 --- Comment #8 from Jakub Jelinek --- Indeed, r234434 fixed the ICE and r234695 started to ICE again on the #c0 testcase with -O1 -std=3Dc++11. >>From gcc-bugs-return-523544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 12:00:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129892 invoked by alias); 28 Apr 2016 12:00:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101454 invoked by uid 48); 28 Apr 2016 11:59:52 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70827] [6/7 regression] dubious use of deleted function in inherited constructor Date: Thu, 28 Apr 2016 12:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02757.txt.bz2 Content-length: 151 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70827 --- Comment #1 from Jakub Jelinek --- This is rejected since r233719. >>From gcc-bugs-return-523547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 12:07:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87429 invoked by alias); 28 Apr 2016 12:07:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86794 invoked by uid 48); 28 Apr 2016 12:07:38 -0000 From: "hendrikborghorst at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70848] g++ arm-none-eabi ignores volatile qualifier Date: Thu, 28 Apr 2016 12:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hendrikborghorst at googlemail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02760.txt.bz2 Content-length: 257 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70848 --- Comment #2 from Hendrik Borghorst --- Created attachment 38364 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38364&action=3Dedit Produced assembly >>From gcc-bugs-return-523546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 12:07:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85534 invoked by alias); 28 Apr 2016 12:07:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84863 invoked by uid 48); 28 Apr 2016 12:07:17 -0000 From: "hendrikborghorst at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70848] g++ arm-none-eabi ignores volatile qualifier Date: Thu, 28 Apr 2016 12:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hendrikborghorst at googlemail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02759.txt.bz2 Content-length: 257 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70848 --- Comment #1 from Hendrik Borghorst --- Created attachment 38363 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38363&action=3Dedit Intermediate file >>From gcc-bugs-return-523545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 12:07:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83607 invoked by alias); 28 Apr 2016 12:07:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83234 invoked by uid 48); 28 Apr 2016 12:06:52 -0000 From: "hendrikborghorst at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70848] New: g++ arm-none-eabi ignores volatile qualifier Date: Thu, 28 Apr 2016 12:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hendrikborghorst at googlemail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02758.txt.bz2 Content-length: 1350 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70848 Bug ID: 70848 Summary: g++ arm-none-eabi ignores volatile qualifier Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: hendrikborghorst at googlemail dot com Target Milestone: --- Created attachment 38362 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38362&action=3Dedit Minimal example After updating my g++ to version 6.1 (from 5.3) I've notived that my volati= le IO access in my arm (arm-none-eabi) research OS gets optimized out with -O1= ,-O2 and -O3. I've also checked the amd64-elf variant and it works correct. The minimal example worked on g++ 5.3 and before but with 6.1 only one STR instruction is executed instead of three. g++ info: $ arm-none-eabi-g++ -v Using built-in specs. COLLECT_GCC=3Darm-none-eabi-g++ COLLECT_LTO_WRAPPER=3D/home/hendrik/sources/gcc-6.1/arm-none-eabi/libexec/g= cc/arm-none-eabi/6.1.0/lto-wrapper Target: arm-none-eabi Configured with: ../gcc-6.1.0/configure --target=3Darm-none-eabi --prefix=3D/home/hendrik/sources/gcc-6.1/arm-none-eabi --disable-nls --enable-languages=3Dc,c++ --without-headers Thread model: single gcc version 6.1.0 (GCC >>From gcc-bugs-return-523548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 12:08:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9894 invoked by alias); 28 Apr 2016 12:08:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5744 invoked by uid 48); 28 Apr 2016 12:08:43 -0000 From: "hendrikborghorst at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70848] g++ arm-none-eabi ignores volatile qualifier Date: Thu, 28 Apr 2016 12:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hendrikborghorst at googlemail 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02761.txt.bz2 Content-length: 218 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70848 --- Comment #3 from Hendrik Borghorst --- The sourcefile was compiled with: arm-none-eabi-g++ -save-temps -O3 -c test.c >>From gcc-bugs-return-523549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 12:09:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13963 invoked by alias); 28 Apr 2016 12:09:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9088 invoked by uid 48); 28 Apr 2016 12:08:53 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70847] [6/7 Regression] exponential time in cp_fold for chained virtual function calls Date: Thu, 28 Apr 2016 12: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02762.txt.bz2 Content-length: 1004 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70847 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-28 CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org Target Milestone|--- |6.2 Summary|exponential time in cp_fold |[6/7 Regression] |for chained virtual |exponential time in cp_fold |function calls |for chained virtual | |function calls Ever confirmed|0 |1 --- Comment #2 from Jakub Jelinek --- Started with r230365 aka C++ delayed folding branch merge. >>From gcc-bugs-return-523550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 12:14:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70381 invoked by alias); 28 Apr 2016 12:14:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69979 invoked by uid 48); 28 Apr 2016 12:14:16 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70848] g++ arm-none-eabi ignores volatile qualifier Date: Thu, 28 Apr 2016 12: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: 6.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status cf_known_to_work keywords cf_reconfirmed_on component cc everconfirmed target_milestone cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02763.txt.bz2 Content-length: 1247 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70848 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |arm Status|UNCONFIRMED |NEW Known to work| |4.9.4, 5.3.1 Keywords| |wrong-code Last reconfirmed| |2016-04-28 Component|c++ |tree-optimization CC| |ktkachov at gcc dot gnu.org Ever confirmed|0 |1 Target Milestone|--- |6.2 Known to fail| |6.1.0, 7.0 --- Comment #4 from ktkachov at gcc dot gnu.org --- Confirmed, also doesn't happen on aarch64. The changes happen at tree-level. 035t.mergephi1 contains void test() () { : MEM[(volatile int *)327221280B] =3D 97; MEM[(volatile int *)327221280B] =3D 98; MEM[(volatile int *)327221280B] =3D 99; return; } but 036t.dse1 contains: void test() () { : MEM[(volatile int *)327221280B] =3D 99; return; } >>From gcc-bugs-return-523551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 12:25:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101633 invoked by alias); 28 Apr 2016 12:25:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96689 invoked by uid 48); 28 Apr 2016 12:25:23 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70756] Wrong column number shown for "error: invalid use of flexible array member" Date: Thu, 28 Apr 2016 12:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02764.txt.bz2 Content-length: 443 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70756 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #2 from Marek Polacek --- I have a patch (it's not just a trivial addition of location_t parameters). >>From gcc-bugs-return-523552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 12:27:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108324 invoked by alias); 28 Apr 2016 12:27:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107907 invoked by uid 48); 28 Apr 2016 12:26:49 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70848] [6/7 Regression] g++ arm-none-eabi ignores volatile qualifier Date: Thu, 28 Apr 2016 12:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02765.txt.bz2 Content-length: 187 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70848 --- Comment #5 from ktkachov at gcc dot gnu.org --- Also, this happens only for g++, compiling with gcc doesn't eliminate the stores >>From gcc-bugs-return-523553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 12:33:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18334 invoked by alias); 28 Apr 2016 12:33:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18091 invoked by uid 55); 28 Apr 2016 12:33:39 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70766] stream iterators, shared_lock, and atomic should all use addressof and not & Date: Thu, 28 Apr 2016 12:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02766.txt.bz2 Content-length: 1937 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70766 --- Comment #1 from Jonathan Wakely --- Author: redi Date: Thu Apr 28 12:33:07 2016 New Revision: 235565 URL: https://gcc.gnu.org/viewcvs?rev=3D235565&root=3Dgcc&view=3Drev Log: libstdc++/70766 use std::addressof instead of operator& PR libstdc++/70766 * include/bits/basic_ios.tcc (basic_ios::_M_cache_locale): Use __addressof. * include/bits/stream_iterator.h (istream_iterator, ostream_iterato= r): Likewise. * include/std/atomic (atomic<_Tp>): Likewise. * include/std/shared_mutex (shared_lock): Likewise. * testsuite/24_iterators/istream_iterator/70766.cc: New test. * testsuite/24_iterators/ostream_iterator/70766.cc : New test. * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number. * testsuite/29_atomics/atomic/70766.cc: New test. * testsuite/30_threads/shared_lock/70766.cc: New test. Added: trunk/libstdc++-v3/testsuite/24_iterators/istream_iterator/70766.cc - copied, changed from r235564, trunk/libstdc++-v3/testsuite/29_atomics/atomic/60695.cc trunk/libstdc++-v3/testsuite/24_iterators/ostream_iterator/70766.cc - copied, changed from r235564, trunk/libstdc++-v3/testsuite/29_atomics/atomic/60695.cc trunk/libstdc++-v3/testsuite/29_atomics/atomic/70766.cc - copied, changed from r235564, trunk/libstdc++-v3/testsuite/29_atomics/atomic/60695.cc trunk/libstdc++-v3/testsuite/30_threads/shared_lock/70766.cc - copied, changed from r235564, trunk/libstdc++-v3/testsuite/29_atomics/atomic/60695.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/basic_ios.tcc trunk/libstdc++-v3/include/bits/stream_iterator.h trunk/libstdc++-v3/include/std/atomic trunk/libstdc++-v3/include/std/shared_mutex trunk/libstdc++-v3/testsuite/29_atomics/atomic/60695.cc >>From gcc-bugs-return-523554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 12:35:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49275 invoked by alias); 28 Apr 2016 12:35:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49047 invoked by uid 55); 28 Apr 2016 12:35:01 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70840] revisit reassoc handling of pow / powi, amend match.pd for powi Date: Thu, 28 Apr 2016 12: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02767.txt.bz2 Content-length: 654 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70840 --- Comment #1 from Richard Biener --- Author: rguenth Date: Thu Apr 28 12:34:28 2016 New Revision: 235566 URL: https://gcc.gnu.org/viewcvs?rev=3D235566&root=3Dgcc&view=3Drev Log: 2016-04-28 Richard Biener PR tree-optimization/70840 * match.pd: powi(-x, y) and powi(|x|,y) -> powi(x,y) if y is even; Fix pow(copysign(x, y), z) -> pow(x, z) and add powi variant; Mark x * pow(x,c) -> pow(x,c+1) commutative. Add powi(x,y) * powi(z,y) -> powi(x*z,y). Modified: trunk/gcc/ChangeLog trunk/gcc/match.pd >>From gcc-bugs-return-523555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 12:45:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98502 invoked by alias); 28 Apr 2016 12:45:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98274 invoked by uid 48); 28 Apr 2016 12:44:49 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70848] [6/7 Regression] g++ arm-none-eabi ignores volatile qualifier Date: Thu, 28 Apr 2016 12:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02768.txt.bz2 Content-length: 222 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70848 --- Comment #6 from Richard Biener --- Somehow the C++ FE interferes with gimplification of the correct GENERIC pr= ior to gimplification. >>From gcc-bugs-return-523556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 12:46:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100053 invoked by alias); 28 Apr 2016 12:46:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99905 invoked by uid 48); 28 Apr 2016 12:46:15 -0000 From: "bernds at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70826] [7 regression] many test cases fail starting with r235442 Date: Thu, 28 Apr 2016 12:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bernds 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02769.txt.bz2 Content-length: 211 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70826 --- Comment #5 from Bernd Schmidt --- Can you reproduce that with the testcase reduced a bit? What does the mfcr instruction do? >>From gcc-bugs-return-523557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 12:52:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124349 invoked by alias); 28 Apr 2016 12:52:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118063 invoked by uid 48); 28 Apr 2016 12:52:44 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70848] [6/7 Regression] g++ arm-none-eabi ignores volatile qualifier Date: Thu, 28 Apr 2016 12: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: 6.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02770.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70848 --- Comment #7 from Richard Biener --- Ah, no, it's still ok: : _1 =3D 327221280B; *_1 =3D{v} 97; _2 =3D 327221280B; *_2 =3D{v} 98; _3 =3D 327221280B; *_3 =3D{v} 99; return; and it works for x86_64-linux. -O2: _Z4testv: .LFB0: .cfi_startproc movl $97, 327221280 movl $98, 327221280 movl $99, 327221280 ret >>From gcc-bugs-return-523558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 12:54:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1410 invoked by alias); 28 Apr 2016 12:54:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130698 invoked by uid 48); 28 Apr 2016 12:54:04 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70848] [6/7 Regression] g++ arm-none-eabi ignores volatile qualifier Date: Thu, 28 Apr 2016 12: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: 6.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02771.txt.bz2 Content-length: 427 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70848 --- Comment #8 from Richard Biener --- With an old cross to arm I can indeed see (.018t.ssa): void test() () { volatile int * _1; volatile int * _4; volatile int * _6; : _1 =3D 327221280B; *_1 =3D 97; _4 =3D 327221280B; *_4 =3D 98; _6 =3D 327221280B; *_6 =3D 99; return; note the missing {v} at the assignments. >>From gcc-bugs-return-523559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 12:55:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5542 invoked by alias); 28 Apr 2016 12:55:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5404 invoked by uid 48); 28 Apr 2016 12:55:37 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70766] stream iterators, shared_lock, and atomic should all use addressof and not & Date: Thu, 28 Apr 2016 12:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02772.txt.bz2 Content-length: 487 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70766 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |7.0 --- Comment #2 from Jonathan Wakely --- Fixed on trunk. >>From gcc-bugs-return-523560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 12:59:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14208 invoked by alias); 28 Apr 2016 12:59:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10853 invoked by uid 48); 28 Apr 2016 12:59:03 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70848] [6/7 Regression] g++ arm-none-eabi ignores volatile qualifier Date: Thu, 28 Apr 2016 12:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02773.txt.bz2 Content-length: 329 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70848 --- Comment #9 from ktkachov at gcc dot gnu.org --- This also happens for: volatile int *p; void test() { (*(volatile int*)(p)) =3D 'a'; (*(volatile int*)(p)) =3D 'b'; (*(volatile int*)(p)) =3D 'c'; } if you don't want to write to pointer literals >>From gcc-bugs-return-523561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 13:15:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89967 invoked by alias); 28 Apr 2016 13:15:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86882 invoked by uid 48); 28 Apr 2016 13:14:54 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70829] LTO bootstrap failure Date: Thu, 28 Apr 2016 13:15: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: prathamesh3492 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02774.txt.bz2 Content-length: 202 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70829 --- Comment #3 from prathamesh3492 at gcc dot gnu.org --- Works for me too with r235554. Shall I close it with RESOLVED FIXED ? Thanks, Prathamesh >>From gcc-bugs-return-523563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 13:24:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126989 invoked by alias); 28 Apr 2016 13:24:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126804 invoked by uid 48); 28 Apr 2016 13:24:19 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70848] [6/7 Regression] g++ arm-none-eabi ignores volatile qualifier Date: Thu, 28 Apr 2016 13:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02776.txt.bz2 Content-length: 659 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70848 --- Comment #10 from ktkachov at gcc dot gnu.org --- (In reply to Richard Biener from comment #8) > With an old cross to arm I can indeed see (.018t.ssa): >=20 > void test() () > { > volatile int * _1; > volatile int * _4; > volatile int * _6; >=20 > : > _1 =3D 327221280B; > *_1 =3D 97; > _4 =3D 327221280B; > *_4 =3D 98; > _6 =3D 327221280B; > *_6 =3D 99; > return; >=20 >=20 > note the missing {v} at the assignments. I wonder why this doesn't happen on x86 or aarch64... Is there some target hook called that erroneously strips the 'volatility' f= rom the type somewhere? >>From gcc-bugs-return-523562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 13:24:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125876 invoked by alias); 28 Apr 2016 13:24:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121808 invoked by uid 48); 28 Apr 2016 13:23:49 -0000 From: "dhowells at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49244] __sync or __atomic builtins will not emit 'lock bts/btr/btc' Date: Thu, 28 Apr 2016 13:24: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: dhowells at redhat 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02775.txt.bz2 Content-length: 298 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49244 --- Comment #9 from dhowells at redhat dot com = --- > BTW: A low-hanging fruit in this area would be using new asm flags featur= e, Heh - I remember asking for that years ago and being told it couldn't be do= ne. >>From gcc-bugs-return-523564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 13:25:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 691 invoked by alias); 28 Apr 2016 13:25:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 525 invoked by uid 48); 28 Apr 2016 13:25:43 -0000 From: "dhowells at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49244] __sync or __atomic builtins will not emit 'lock bts/btr/btc' Date: Thu, 28 Apr 2016 13:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dhowells at redhat 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02777.txt.bz2 Content-length: 388 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49244 --- Comment #10 from dhowells at redhat dot com --- A partial optimisation could be made if the mask is constant and only conta= ins one bit (or/xor) or only lacks one bit (and). That is the most common case= in the kernel by far, but it would still leave instances where the bit number = is dynamic. >>From gcc-bugs-return-523565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 13:36:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79809 invoked by alias); 28 Apr 2016 13:36:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69227 invoked by uid 48); 28 Apr 2016 13:35:59 -0000 From: "ysrumyan at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70849] New: Loop can be vectorized through gathers on AVX2 platforms. Date: Thu, 28 Apr 2016 13:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ysrumyan 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02778.txt.bz2 Content-length: 2358 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70849 Bug ID: 70849 Summary: Loop can be vectorized through gathers on AVX2 platforms. Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ysrumyan at gmail dot com Target Milestone: --- Simple test which will be attached is not vectorized as not profitable: test.c:11:5: note: cost model: the vector iteration cost =3D 2061 divided b= y the scalar iteration cost =3D 9 is greater or equal to the vectorization factor= =3D 8. test.c:11:5: note: not vectorized: vectorization not profitable. test.c:11:5: note: not vectorized: vector version will never be profitable. but it can be vectorized as icc does using gathers: LOOP BEGIN at test.c(11,5) remark #15388: vectorization support: reference c1[j] has aligned acc= ess=20 [ test.c(12,7) ] remark #15388: vectorization support: reference c2[j] has aligned acc= ess=20 [ test.c(13,7) ] remark #15388: vectorization support: reference c1[j] has aligned acc= ess=20 [ test.c(12,7) ] remark #15388: vectorization support: reference c2[j] has aligned acc= ess=20 [ test.c(13,7) ] remark #15415: vectorization support: gather was generated for the variable , strided by 256 [ test.c(12,16) ] remark #15415: vectorization support: gather was generated for the variable , strided by 256 [ test.c(13,16) ] remark #15415: vectorization support: gather was generated for the variable , strided by 256 [ test.c(12,16) ] remark #15415: vectorization support: gather was generated for the variable , strided by 256 [ test.c(13,16) ] remark #15305: vectorization support: vector length 8 remark #15300: LOOP WAS VECTORIZED remark #15449: unmasked aligned unit stride stores: 4=20 remark #15460: masked strided loads: 4=20 remark #15475: --- begin vector loop cost summary --- remark #15476: scalar loop cost: 18=20 remark #15477: vector loop cost: 12.000=20 remark #15478: estimated potential speedup: 1.500=20 remark #15488: --- end vector loop cost summary --- LOOP END >>From gcc-bugs-return-523567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 13:37:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36559 invoked by alias); 28 Apr 2016 13:37:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36410 invoked by uid 48); 28 Apr 2016 13:37:31 -0000 From: "ysrumyan at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70849] Loop can be vectorized through gathers on AVX2 platforms. Date: Thu, 28 Apr 2016 13:37: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: ysrumyan 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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02780.txt.bz2 Content-length: 287 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70849 --- Comment #1 from Yuri Rumyantsev --- Created attachment 38365 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38365&action=3Dedit test-case to reproduce Must be compiled with -O3 -mavx2 options >>From gcc-bugs-return-523566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 13:37:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35367 invoked by alias); 28 Apr 2016 13:37:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33368 invoked by uid 48); 28 Apr 2016 13:37:06 -0000 From: "bill at baddogconsulting dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/70850] New: Bootstrap fails building libgo: gccgo: error: ../x86_64-pc-linux-gnu/libgo/zstdpkglist.go: No such file or directory Date: Thu, 28 Apr 2016 13:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: bill at baddogconsulting dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02779.txt.bz2 Content-length: 3605 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70850 Bug ID: 70850 Summary: Bootstrap fails building libgo: gccgo: error: ../x86_64-pc-linux-gnu/libgo/zstdpkglist.go: No such file or directory Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: go Assignee: ian at airs dot com Reporter: bill at baddogconsulting dot com CC: cmang at google dot com Target Milestone: --- When bootstrapping with command line: ./configure --prefix=3D$HOME/tools/stow/gcc-6.1.0=20 --enable-languages=3Dc,c++,go,objc,obj-c++,fortran System info: $ lsb_release -a LSB Version:=20=20=20 :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-am= d64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.= 1-amd64:printing-4.1-noarch Distributor ID: CentOS Description: CentOS Linux release 7.2.1511 (Core) Release: 7.2.1511 Codename: Core Running either: make or=20 make -j3 It fails as follows: make[2]: Entering directory `/home/bdeegan/Downloads/gcc-6.1.0/host-x86_64-pc-linux-gnu/gotools' /home/bdeegan/Downloads/gcc-6.1.0/host-x86_64-pc-linux-gnu/gcc/gccgo -B/home/bdeegan/Downloads/gcc-6.1.0/host-x86_64-pc-linux-gnu/gcc/ -B/home/bdeegan/tools/stow/gcc-6.1.0/x86_64-pc-linux-gnu/bin/ -B/home/bdeegan/tools/stow/gcc-6.1.0/x86_64-pc-linux-gnu/lib/ -isystem /home/bdeegan/tools/stow/gcc-6.1.0/x86_64-pc-linux-gnu/include -isystem /home/bdeegan/tools/stow/gcc-6.1.0/x86_64-pc-linux-gnu/sys-include -g -O2= =20 -static-libstdc++ -static-libgcc -L ../x86_64-pc-linux-gnu/libgo -L ../x86_64-pc-linux-gnu/libgo/.libs -o go ../.././gotools/../libgo/go/cmd/go/alldocs.go ../.././gotools/../libgo/go/cmd/go/build.go ../.././gotools/../libgo/go/cmd/go/clean.go ../.././gotools/../libgo/go/cmd/go/context.go ../.././gotools/../libgo/go/cmd/go/discovery.go ../.././gotools/../libgo/go/cmd/go/doc.go ../.././gotools/../libgo/go/cmd/go/env.go ../.././gotools/../libgo/go/cmd/go/fix.go ../.././gotools/../libgo/go/cmd/go/fmt.go ../.././gotools/../libgo/go/cmd/go/generate.go ../.././gotools/../libgo/go/cmd/go/get.go ../.././gotools/../libgo/go/cmd/go/go11.go ../.././gotools/../libgo/go/cmd/go/help.go ../.././gotools/../libgo/go/cmd/go/http.go ../.././gotools/../libgo/go/cmd/go/list.go ../.././gotools/../libgo/go/cmd/go/main.go ../.././gotools/../libgo/go/cmd/go/note.go ../.././gotools/../libgo/go/cmd/go/pkg.go ../.././gotools/../libgo/go/cmd/go/run.go ../.././gotools/../libgo/go/cmd/go/signal.go ../.././gotools/../libgo/go/cmd/go/signal_unix.go ../.././gotools/../libgo/go/cmd/go/test.go ../.././gotools/../libgo/go/cmd/go/testflag.go ../.././gotools/../libgo/go/cmd/go/tool.go ../.././gotools/../libgo/go/cmd/go/vcs.go ../.././gotools/../libgo/go/cmd/go/version.go ../.././gotools/../libgo/go/cmd/go/vet.go ../x86_64-pc-linux-gnu/libgo/zstdpkglist.go zdefaultcc.go gccgo: error: ../x86_64-pc-linux-gnu/libgo/zstdpkglist.go: No such file or directory make[2]: *** [go] Error 1 make[2]: Leaving directory `/home/bdeegan/Downloads/gcc-6.1.0/host-x86_64-pc-linux-gnu/gotools' make[1]: *** [all-gotools] Error 2 make[1]: Leaving directory `/home/bdeegan/Downloads/gcc-6.1.0' make: *** [all] Error 2 Please let me know if it would be helpful to upload the entire buildlog or = any other files. It looks like the file is indeed available though: find . -name zstdpkglist.go -print ./x86_64-pc-linux-gnu/32/libgo/zstdpkglist.go ./x86_64-pc-linux-gnu/libgo/zstdpkglist.go >>From gcc-bugs-return-523568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 13:40:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39949 invoked by alias); 28 Apr 2016 13:40:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39478 invoked by uid 48); 28 Apr 2016 13:40:04 -0000 From: "seurer at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/68860] [6/7 regression] FAIL: gcc.dg/guality/pr36728-1.c -flto -O3 -g line 16/7 arg1 == 1 Date: Thu, 28 Apr 2016 13:40: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.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at linux dot vnet.ibm.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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02781.txt.bz2 Content-length: 5822 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68860 Bill Seurer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |seurer at linux dot vnet.i= bm.com --- Comment #9 from Bill Seurer --- The pr36728 and pr68860 test cases that check the arguments (where the arguments are unused) all currently (and for a long time) fail on power. T= hey show up as "optimized out" in gdb as in the initial report here. Is there some point to testing the value of the unused arguments in these t= est cases? FAIL: gcc.dg/guality/pr36728-2.c -O3 -g line 16 arg1 =3D=3D 1 FAIL: gcc.dg/guality/pr36728-2.c -O3 -g line 16 arg2 =3D=3D 2 FAIL: gcc.dg/guality/pr36728-2.c -O3 -g line 16 arg3 =3D=3D 3 FAIL: gcc.dg/guality/pr36728-2.c -O3 -g line 16 arg4 =3D=3D 4 FAIL: gcc.dg/guality/pr36728-2.c -O3 -g line 16 arg5 =3D=3D 5 FAIL: gcc.dg/guality/pr36728-2.c -O3 -g line 16 arg6 =3D=3D 6 FAIL: gcc.dg/guality/pr36728-2.c -O3 -g line 16 arg7 =3D=3D 30 FAIL: gcc.dg/guality/pr36728-2.c -O3 -g line 18 arg1 =3D=3D 1 FAIL: gcc.dg/guality/pr36728-2.c -O3 -g line 18 arg2 =3D=3D 2 FAIL: gcc.dg/guality/pr36728-2.c -O3 -g line 18 arg3 =3D=3D 3 FAIL: gcc.dg/guality/pr36728-2.c -O3 -g line 18 arg4 =3D=3D 4 FAIL: gcc.dg/guality/pr36728-2.c -O3 -g line 18 arg5 =3D=3D 5 FAIL: gcc.dg/guality/pr36728-2.c -O3 -g line 18 arg6 =3D=3D 6 FAIL: gcc.dg/guality/pr36728-2.c -O3 -g line 18 arg7 =3D=3D 30 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 14 arg1 =3D=3D 1 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 14 arg2 =3D=3D 2 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 14 arg3 =3D=3D 3 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 14 arg4 =3D=3D 4 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 14 arg5 =3D=3D 5 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 14 arg6 =3D=3D 6 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 16 arg1 =3D=3D 1 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 16 arg2 =3D=3D 2 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 16 arg3 =3D=3D 3 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 16 arg4 =3D=3D 4 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 16 arg5 =3D=3D 5 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone line 16 arg6 =3D=3D 6 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 arg1 =3D=3D 1 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 arg2 =3D=3D 2 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 arg3 =3D=3D 3 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 arg4 =3D=3D 4 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 arg5 =3D=3D 5 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 arg6 =3D=3D 6 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg1 =3D=3D 1 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg2 =3D=3D 2 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg3 =3D=3D 3 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg4 =3D=3D 4 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg5 =3D=3D 5 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg6 =3D=3D 6 FAIL: gcc.dg/guality/pr36728-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg1 =3D=3D 1 FAIL: gcc.dg/guality/pr36728-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg2 =3D=3D 2 FAIL: gcc.dg/guality/pr36728-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg3 =3D=3D 3 FAIL: gcc.dg/guality/pr36728-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg4 =3D=3D 4 FAIL: gcc.dg/guality/pr36728-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg5 =3D=3D 5 FAIL: gcc.dg/guality/pr36728-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg6 =3D=3D 6 FAIL: gcc.dg/guality/pr36728-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg7 =3D=3D 30 FAIL: gcc.dg/guality/pr36728-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 18 arg1 =3D=3D 1 FAIL: gcc.dg/guality/pr36728-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 18 arg2 =3D=3D 2 FAIL: gcc.dg/guality/pr36728-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 18 arg3 =3D=3D 3 FAIL: gcc.dg/guality/pr36728-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 18 arg4 =3D=3D 4 FAIL: gcc.dg/guality/pr36728-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 18 arg5 =3D=3D 5 FAIL: gcc.dg/guality/pr36728-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 18 arg6 =3D=3D 6 FAIL: gcc.dg/guality/pr36728-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 18 arg7 =3D=3D 30 >>From gcc-bugs-return-523569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 13:48:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75575 invoked by alias); 28 Apr 2016 13:48:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75414 invoked by uid 55); 28 Apr 2016 13:48:28 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/68860] [6/7 regression] FAIL: gcc.dg/guality/pr36728-1.c -flto -O3 -g line 16/7 arg1 == 1 Date: Thu, 28 Apr 2016 13:48: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.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02782.txt.bz2 Content-length: 1220 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68860 --- Comment #10 from rguenther at suse dot de --- On Thu, 28 Apr 2016, seurer at linux dot vnet.ibm.com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68860 >=20 > Bill Seurer changed: >=20 > What |Removed |Added > -------------------------------------------------------------------------= --- > CC| |seurer at linux dot vnet= .ibm.com >=20 > --- Comment #9 from Bill Seurer --- > The pr36728 and pr68860 test cases that check the arguments (where the > arguments are unused) all currently (and for a long time) fail on power. = They > show up as "optimized out" in gdb as in the initial report here. >=20 > Is there some point to testing the value of the unused arguments in these= test > cases? I think it is supposed to check the DW_TAG_GNU_call_site_parameter stuff. You may want to double-check that is the case on x86_64 and debug why the dwarf2out code doesn't work on ppc (it does some "interesting" RTL deciphering which may not work on ppc for one or another reason) >>From gcc-bugs-return-523570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 13:51:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79829 invoked by alias); 28 Apr 2016 13:51:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79538 invoked by uid 48); 28 Apr 2016 13:50:54 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/68860] [6/7 regression] FAIL: gcc.dg/guality/pr36728-1.c -flto -O3 -g line 16/7 arg1 == 1 Date: Thu, 28 Apr 2016 13:51: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.0 X-Bugzilla-Keywords: lto 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02783.txt.bz2 Content-length: 1100 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68860 --- Comment #11 from Jakub Jelinek --- (In reply to Bill Seurer from comment #9) > The pr36728 and pr68860 test cases that check the arguments (where the > arguments are unused) all currently (and for a long time) fail on power.= =20 > They show up as "optimized out" in gdb as in the initial report here. >=20 > Is there some point to testing the value of the unused arguments in these > test cases? Of course there is a point, in lots of real-world code many variables are optimized away, either in whole functions or just part of it, yet users very often still want to be able to query those values. DWARF (starting with DWARF 4) has ways to express even that in the debug in= fo, using DW_OP_stack_value etc., if there is a way to compute their values from some other registers, memory content, constants etc. The various DWARF extensions we've added (many of them are going to be in D= WARF 5) enhance that even further (e.g. the DW_OP_GNU_entry_value, DW_OP_GNU_parameter_ref, DW_OP_GNU_implicit_pointer, etc.). >>From gcc-bugs-return-523571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 13:56:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130380 invoked by alias); 28 Apr 2016 13:56:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129433 invoked by uid 48); 28 Apr 2016 13:56:41 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70845] [6/7 Regression] inherited piecewise_construct_t constructor from std::pair by "using-declarations" is missing Date: Thu, 28 Apr 2016 13:56: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: 6.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02784.txt.bz2 Content-length: 414 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70845 --- Comment #3 from Jonathan Wakely --- (In reply to Wei-Wei Tu from comment #2) > This is the test case Yes, I know, I already added it in comment 1 :-) Preprocessed source from gcc-5 fails, so this is due to some front-end chan= ge (either getting stricter and diagnosing something bad in the library header= s, or a new FE bug). >>From gcc-bugs-return-523572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 14:02:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20450 invoked by alias); 28 Apr 2016 14:02:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20183 invoked by uid 48); 28 Apr 2016 14:02:10 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/69489] missed vectorization for boolean loop, missed if-conversion Date: Thu, 28 Apr 2016 14:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: missed-optimization 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02785.txt.bz2 Content-length: 1050 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69489 --- Comment #19 from amker at gcc dot gnu.org --- : # i_27 =3D PHI <0(3), i_21(5)> # n1_29 =3D PHI <0(3), n1_20(5)> # n2_28 =3D PHI <0(3), n2_34(5)> i.1_7 =3D (sizetype) i_27; _9 =3D u_8(D) + i.1_7; _11 =3D *_9; _13 =3D v_12(D) + i.1_7; _14 =3D *_13; _17 =3D v_12(D) + i.1_7; _18 =3D *_17; _31 =3D _18 !=3D 0; _36 =3D (int) _31; _48 =3D (long int) _36; _45 =3D _11 !=3D 0; _44 =3D _14 =3D=3D 0; _43 =3D _44 & _45; _ifc__40 =3D _43 ? 1 : 0; n2_34 =3D n2_28 + _ifc__40; prephitmp_49 =3D _11 !=3D 0 ? 0 : _48; n1_20 =3D n1_29 + prephitmp_49; i_21 =3D i_27 + 1; if (n_6(D) > i_21) goto ; else goto ; : goto ; The difficult part is "prephitmp_49 =3D _11 !=3D 0 ? 0 : _48;", which canno= t be simplified into: _a =3D 18 !=3D 0; _b =3D _11 =3D=3D 0; _c =3D _a && _b; prephitmp_49 =3D (long int)_c; I don't know if there is easy fix to ifcvt so that this case can be vectori= zed without vcond_mask... >>From gcc-bugs-return-523573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 14:03:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23566 invoked by alias); 28 Apr 2016 14:03:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23342 invoked by uid 48); 28 Apr 2016 14:03:20 -0000 From: "fdrocha at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70820] GCC incorrectly accepts code that accesses nested names in an incomplete type Date: Thu, 28 Apr 2016 14:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: fdrocha at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02786.txt.bz2 Content-length: 776 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70820 --- Comment #5 from Fabio Rocha --- (In reply to Jonathan Wakely from comment #4) > (In reply to Fabio Rocha from comment #3)=20 > > Still, it feels pretty strange that uncommenting the "First Assert" is = what > > makes the code incorrect... >=20 > That's not strange at all, the assertion requires the value of the static > data member, so it causes it to be instantiated, while the type is > incomplete. >=20 > Without that assertion the static data member is not instantiated until t= he > definition of ::k, after the types are complete. That makes sense, it's pretty nice that it works out like this. For what it's worth, clang rejects the code, but I am convinced gcc is in t= he right. >>From gcc-bugs-return-523574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 14:05:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33638 invoked by alias); 28 Apr 2016 14:05:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32199 invoked by uid 48); 28 Apr 2016 14:04:49 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/70850] Bootstrap fails building libgo: gccgo: error: ../x86_64-pc-linux-gnu/libgo/zstdpkglist.go: No such file or directory Date: Thu, 28 Apr 2016 14:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02787.txt.bz2 Content-length: 150 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70850 --- Comment #1 from Richard Biener --- Do not configure in srcdir. >>From gcc-bugs-return-523575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 14:07:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70517 invoked by alias); 28 Apr 2016 14:07:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61347 invoked by uid 48); 28 Apr 2016 14:07:38 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70849] Loop can be vectorized through gathers on AVX2 platforms. Date: Thu, 28 Apr 2016 14:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on blocked everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02788.txt.bz2 Content-length: 899 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70849 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-28 Blocks| |53947 Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- Confirmed. The vectorizer uses interleaving for this. We don't consider o= ther options (like using scalar loads or gather loads) if that turns out not to = be profitable. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53947 [Bug 53947] [meta-bug] vectorizer missed-optimizations >>From gcc-bugs-return-523576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 14:08:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91515 invoked by alias); 28 Apr 2016 14:08:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90857 invoked by uid 48); 28 Apr 2016 14:08:41 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/62314] Fix-it Hints Date: Thu, 28 Apr 2016 14:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02789.txt.bz2 Content-length: 652 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D62314 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-04-28 Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot= gnu.org Ever confirmed|0 |1 --- Comment #5 from David Malcolm --- Updated patch kit posted as: https://gcc.gnu.org/ml/gcc-patches/2016-04/msg01835.html >>From gcc-bugs-return-523577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 14:15:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4229 invoked by alias); 28 Apr 2016 14:15:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119279 invoked by uid 48); 28 Apr 2016 14:14:56 -0000 From: "seurer at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70826] [7 regression] many test cases fail starting with r235442 Date: Thu, 28 Apr 2016 14:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02790.txt.bz2 Content-length: 8985 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70826 --- Comment #6 from Bill Seurer --- mfcr is "move from condition register" and it copies the contents of the condition register into a general-purpose register. In this case it copies= the condition register into "tmp". I did some quick chopping on the source and this still produces the error: /* { dg-do run } */ /* { dg-options "-fno-inline -fomit-frame-pointer" } */ /* { dg-additional-options "-mdynamic-no-pic" { target *-*-darwin* } } */ /* -fno-inline -maltivec -m32/-m64 -mmultiple/no-multiple -Os/-O2. */ #ifndef NO_BODY #define abort() __builtin_abort () #define vec_all_eq(v1,v2) __builtin_vec_vcmpeq_p (2, v1, v2) #define SET(T,R,V) register T R __asm__ (#R) =3D V #define SET_GPR(R,V) SET (long, R, V) #define SET_FPR(R,V) SET (double, R, V) #define SET_VR(R,V) SET (__attribute__ ((vector_size (16))) int, R, V) #define SET_CR(R,V) __asm__ __volatile__ ("mtcrf %0,%1" : : "n" (1<<(7-R)),= "r" (V<<(4*(7-R))) : "cr" #R) #define TRASH_GPR(R) SET_GPR (R, 0) #define TRASH_FPR(R) SET_FPR (R, 0) #define TRASH_VR(R) SET_VR (R, val0) #define TRASH_CR(R) SET_CR (R, 0) #define TRASH_SOME_GPR TRASH_GPR (r30); TRASH_GPR (r31) #define TRASH_SOME_FPR TRASH_FPR (fr28); TRASH_FPR (fr31) #define TRASH_SOME_VR TRASH_VR (v26); TRASH_VR (v27); TRASH_VR (v31) #define TRASH_SOME_CR TRASH_CR (2) #define TRASH_ALL_GPR TRASH_GPR (r14); TRASH_GPR (r15); TRASH_GPR (r16); TRASH_GPR (r17); TRASH_GPR (r18); TRASH_GPR (r19); TRASH_GPR (r20); TRASH_G= PR (r21); TRASH_GPR (r22); TRASH_GPR (r23); TRASH_GPR (r24); TRASH_GPR (r25); TRASH_GPR (r26); TRASH_GPR (r27); TRASH_GPR (r28); TRASH_GPR (r29); TRASH_G= PR (r30); TRASH_GPR (r31) #define TRASH_ALL_FPR TRASH_FPR (fr14); TRASH_FPR (fr15); TRASH_FPR (fr16); TRASH_FPR (fr17); TRASH_FPR (fr18); TRASH_FPR (fr19); TRASH_FPR (fr20); TRASH_FPR (fr21); TRASH_FPR (fr22); TRASH_FPR (fr23); TRASH_FPR (fr24); TRASH_FPR (fr25); TRASH_FPR (fr26); TRASH_FPR (fr27); TRASH_FPR (fr28); TRASH_FPR (fr29); TRASH_FPR (fr30); TRASH_FPR (fr31) #define TRASH_ALL_VR TRASH_VR (v20); TRASH_VR (v21); TRASH_VR (v22); TRASH_= VR (v23); TRASH_VR (v24); TRASH_VR (v25); TRASH_VR (v26); TRASH_VR (v27); TRAS= H_VR (v28); TRASH_VR (v29); TRASH_VR (v30); TRASH_VR (v31) #define TRASH_ALL_CR TRASH_CR (2); TRASH_CR (3); TRASH_CR (4) #define USE_SOME_GPR __asm__ __volatile__ ("#%0 %1" : : "r" (r30), "r" (r31= )) #define USE_SOME_FPR __asm__ __volatile__ ("#%0 %1" : : "f" (fr28), "f" (fr= 31)) #define USE_SOME_VR __asm__ __volatile__ ("#%0 %1 %2" : : "v" (v26), "v" (v= 27), "v" (v31)) #define USE_SOME_CR #define USE_ALL_GPR __asm__ __volatile__ ("#%0 %1 %2 %3 %4 %5 %6 %7 %8 %9 %= 10 %11 %12 %13 %14 %15 %16 %17" : : "r" (r14), "r" (r15), "r" (r16), "r" (r17), "r" (r18), "r" (r19), "r" (r20), "r" (r21), "r" (r22), "r" (r23), "r" (r24), "r" (r25), "r" (r26), "r" (r27), "r" (r28), "r" (r29), "r" (r30), "r" (r31)) #define USE_ALL_FPR __asm__ __volatile__ ("#%0 %1 %2 %3 %4 %5 %6 %7 %8 %9 %= 10 %11 %12 %13 %14 %15 %16 %17" : : "f" (fr14), "f" (fr15), "f" (fr16), "f" (fr17), "f" (fr18), "f" (fr19), "f" (fr20), "f" (fr21), "f" (fr22), "f" (fr= 23), "f" (fr24), "f" (fr25), "f" (fr26), "f" (fr27), "f" (fr28), "f" (fr29), "f" (fr30), "f" (fr31)) #define USE_ALL_VR __asm__ __volatile__ ("#%0 %1 %2 %3 %4 %5 %6 %7 %8 %9 %10 %11" : : "v" (v20), "v" (v21), "v" (v22), "v" (v23), "v" (v24), "v" (v25), = "v" (v26), "v" (v27), "v" (v28), "v" (v29), "v" (v30), "v" (v31)) #define USE_ALL_CR #define INIT_GPR SET_GPR (r14, 14); SET_GPR (r15, 15); SET_GPR (r16, 16); SET_GPR (r17, 17); SET_GPR (r18, 18); SET_GPR (r19, 19); SET_GPR (r20, 20); SET_GPR (r21, 21); SET_GPR (r22, 22); SET_GPR (r23, 23); SET_GPR (r24, 24); SET_GPR (r25, 25); SET_GPR (r26, 26); SET_GPR (r27, 27); SET_GPR (r28, 28); SET_GPR (r29, 29); SET_GPR (r30, 30); SET_GPR (r31, 31) #define INIT_FPR SET_FPR (fr14, 140.0); SET_FPR (fr15, 150.0); SET_FPR (fr1= 6, 160.0); SET_FPR (fr17, 170.0); SET_FPR (fr18, 180.0); SET_FPR (fr19, 190.0); SET_FPR (fr20, 200.0); SET_FPR (fr21, 210.0); SET_FPR (fr22, 220.0); SET_FPR (fr23, 230.0); SET_FPR (fr24, 240.0); SET_FPR (fr25, 250.0); SET_FPR (fr26, 260.0); SET_FPR (fr27, 270.0); SET_FPR (fr28, 280.0); SET_FPR (fr29, 290.0); SET_FPR (fr30, 300.0); SET_FPR (fr31, 310.0) #define INIT_VR SET_VR (v20, val20); SET_VR (v21, val21); SET_VR (v22, val2= 2); SET_VR (v23, val23); SET_VR (v24, val24); SET_VR (v25, val25); SET_VR (v26, val26); SET_VR (v27, val27); SET_VR (v28, val28); SET_VR (v29, val29); SET_= VR (v30, val30); SET_VR (v31, val31) #define INIT_CR SET_CR (2, 6); SET_CR (3, 7); SET_CR (4, 8) #ifdef __ALTIVEC__ __attribute__ ((vector_size (16))) int val0 =3D {0,0,0,0}; __attribute__ ((vector_size (16))) int val20 =3D {-201,-202,-203,-204}; __attribute__ ((vector_size (16))) int val21 =3D {-211,-212,-213,-214}; __attribute__ ((vector_size (16))) int val22 =3D {-221,-222,-223,-224}; __attribute__ ((vector_size (16))) int val23 =3D {-231,-232,-233,-234}; __attribute__ ((vector_size (16))) int val24 =3D {-241,-242,-243,-244}; __attribute__ ((vector_size (16))) int val25 =3D {-251,-252,-253,-254}; __attribute__ ((vector_size (16))) int val26 =3D {-261,-262,-263,-264}; __attribute__ ((vector_size (16))) int val27 =3D {-271,-272,-273,-274}; __attribute__ ((vector_size (16))) int val28 =3D {-281,-282,-283,-284}; __attribute__ ((vector_size (16))) int val29 =3D {-291,-292,-293,-294}; __attribute__ ((vector_size (16))) int val30 =3D {-301,-302,-303,-304}; __attribute__ ((vector_size (16))) int val31 =3D {-311,-312,-313,-314}; #define INIT_REGS INIT_VR; INIT_FPR; INIT_GPR; INIT_CR #else #ifndef __NO_FPRS__ #define INIT_REGS INIT_FPR; INIT_GPR; INIT_CR #else #define INIT_REGS INIT_GPR; INIT_CR #endif #endif #define VERIFY_GPR if (r14 !=3D 14 || r15 !=3D 15 || r16 !=3D 16 || r17 != =3D 17 || r18 !=3D 18 || r19 !=3D 19 || r20 !=3D 20 || r21 !=3D 21 || r22 !=3D 22 || r23 = !=3D 23 || r24 !=3D 24 || r25 !=3D 25 || r26 !=3D 26 || r27 !=3D 27 || r28 !=3D 28 || r29 = !=3D 29 || r30 !=3D 30 || r31 !=3D 31) abort () #define VERIFY_FPR if (fr14 !=3D 140.0 || fr15 !=3D 150.0 || fr16 !=3D 160.= 0 || fr17 !=3D 170.0 || fr18 !=3D 180.0 || fr19 !=3D 190.0 || fr20 !=3D 200.0 || fr21= !=3D 210.0 || fr22 !=3D 220.0 || fr23 !=3D 230.0 || fr24 !=3D 240.0 || fr25 !=3D 250.0 ||= fr26 !=3D 260.0 || fr27 !=3D 270.0 || fr28 !=3D 280.0 || fr29 !=3D 290.0 || fr30 !=3D= 300.0 || fr31 !=3D 310.0) abort () #define VERIFY_VR if (!vec_all_eq (v20, val20) || !vec_all_eq (v21, val21) = || !vec_all_eq (v22, val22) || !vec_all_eq (v23, val23) || !vec_all_eq (v24, val24) || !vec_all_eq (v25, val25) || !vec_all_eq (v26, val26) || !vec_all_= eq (v27, val27) || !vec_all_eq (v28, val28) || !vec_all_eq (v29, val29) || !vec_all_eq (v30, val30) || !vec_all_eq (v31, val31)) abort () #define VERIFY_CR ({ int tmp; __asm__ __volatile__ ("mfcr %0" : "=3Dr" (tmp= )); if ((tmp & ((15 << 20) | (15 << 16) | (15 << 12))) !=3D ((6 << 20) | (7 << 16)= | (8 << 12))) abort (); }) #ifdef __ALTIVEC__ #define VERIFY_REGS VERIFY_VR; VERIFY_FPR; VERIFY_GPR; VERIFY_CR #else #ifndef __NO_FPRS__ #define VERIFY_REGS VERIFY_FPR; VERIFY_GPR; VERIFY_CR #else #define VERIFY_REGS VERIFY_GPR; VERIFY_CR #endif #endif #else /* NO_BODY */ /* For looking at prologue and epilogue code without distractions. */ #define abort() #define TRASH_ALL_CR #define TRASH_ALL_VR #define TRASH_ALL_FPR #define TRASH_ALL_GPR #define USE_ALL_CR #define USE_ALL_VR #define USE_ALL_FPR #define USE_ALL_GPR #define TRASH_SOME_CR #define TRASH_SOME_VR #define TRASH_SOME_FPR #define TRASH_SOME_GPR #define USE_SOME_CR #define USE_SOME_VR #define USE_SOME_FPR #define USE_SOME_GPR #define INIT_REGS #define VERIFY_REGS #endif void b_vfr (void) { char a[33000]; TRASH_SOME_VR; TRASH_SOME_FPR; TRASH_SOME_GPR; USE_SOME_VR; USE_SOME_FPR; USE_SOME_GPR; __asm __volatile ("#%0" : "=3Dm" (a) : : "v26", "v27", "v31", "fr28", "fr= 31", "r30", "r31"); } void b_cvf (void) { char a[33000]; TRASH_SOME_CR; TRASH_SOME_VR; TRASH_SOME_FPR; USE_SOME_CR; USE_SOME_VR; USE_SOME_FPR; __asm __volatile ("#%0" : "=3Dm" (a) : : "cr2", "v26", "v27", "v31", "fr2= 8", "fr31"); } void b_vf (void) { char a[33000]; TRASH_SOME_VR; TRASH_SOME_FPR; USE_SOME_VR; USE_SOME_FPR; __asm __volatile ("#%0" : "=3Dm" (a) : : "v26", "v27", "v31", "fr28", "fr= 31"); } void b_cvr (void) { char a[33000]; TRASH_SOME_CR; TRASH_SOME_VR; TRASH_SOME_GPR; USE_SOME_CR; USE_SOME_VR; USE_SOME_GPR; __asm __volatile ("#%0" : "=3Dm" (a) : : "cr2", "v26", "v27", "v31", "r30= ", "r31"); } int main (void) { INIT_REGS; USE_ALL_CR; USE_ALL_VR; USE_ALL_FPR; USE_ALL_GPR; VERIFY_REGS; b_vfr (); VERIFY_REGS; b_cvf (); VERIFY_REGS; b_vf (); { int tmp; __asm__ __volatile__ ("mfcr %0" : "=3Dr" (tmp));=20 if ((tmp & ((15 << 20) | (15 << 16) | (15 << 12))) !=3D ((6 << 20) | (7= << 16) | (8 << 12))) abort ();=20 } b_cvr (); VERIFY_REGS; return 0; } >>From gcc-bugs-return-523578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 14:23:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75739 invoked by alias); 28 Apr 2016 14:23:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75433 invoked by uid 48); 28 Apr 2016 14:23:16 -0000 From: "vogt at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/68860] [6/7 regression] FAIL: gcc.dg/guality/pr36728-1.c -flto -O3 -g line 16/7 arg1 == 1 Date: Thu, 28 Apr 2016 14:23: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.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: vogt at linux dot vnet.ibm.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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02791.txt.bz2 Content-length: 3942 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68860 --- Comment #12 from Dominik Vogt --- We've just been looking at this today for s390x which fails these tests for various reasons too (actually we've located at least four different Gcc bug= s by looking at this test case). Some of the calculations in allocate_dynamic_stack_space are weird, but that isn't the issue at hand (I= 'm currently working on that). We were planning to create a new bug report for this, but if it's already b= eing discussed ... S390x fails the checks "y =3D=3D 2" probably because the cprop_hardreg pass does something wrong with the var_location information.= =20 We've only debugged this for "x" yet, but it's probably the same cause for = "y". After reload we have (s390x, -O3 -m64): -- snip -- (insn 27 26 99 2 (parallel [ (set (reg/f:DI 15 %r15) (minus:DI (reg/f:DI 15 %r15) (reg:DI 2 %r2 [73]))) (clobber (reg:CC 33 %cc)) ]) pr36728-1.c:12 1409 {*subdi3} (expr_list:REG_DEAD (reg:DI 2 %r2 [73]) (expr_list:REG_UNUSED (reg:CC 33 %cc) (nil)))) (insn 99 27 57 2 (set (reg/f:DI 1 %r1 [65]) (plus:DI (reg/f:DI 11 %r11) (const_int 191 [0xbf]))) pr36728-1.c:10 1075 {*la_64} (nil)) (insn 57 99 33 2 (set (reg/f:DI 3 %r3 [77]) (reg/f:DI 15 %r15)) pr36728-1.c:12 1073 {*movdi_64} (nil)) (debug_insn 33 57 6 2 (var_location:DI x (plus:DI (reg/f:DI 3 %r3 [77]) (const_int 160 [0xa0]))) pr36728-1.c:12 -1 (nil)) -- snip -- Insn 27 adjusts the stack pointer, insn 57 copies it to r3 and insn 33 says that "x" is at "r3 + 160". The following constant propagation pass (cprop_hardreg) results in -- snip -- (insn 27 26 99 2 (parallel [ (set (reg/f:DI 15 %r15) (minus:DI (reg/f:DI 15 %r15) (reg:DI 2 %r2 [73]))) (clobber (reg:CC 33 %cc)) ]) pr36728-1.c:12 1409 {*subdi3} (expr_list:REG_DEAD (reg:DI 2 %r2 [73]) (expr_list:REG_UNUSED (reg:CC 33 %cc) (nil)))) (insn 99 27 57 2 (set (reg/f:DI 1 %r1 [65]) (plus:DI (reg/f:DI 11 %r11) (const_int 191 [0xbf]))) pr36728-1.c:10 1075 {*la_64} (nil)) (insn 57 99 33 2 (set (reg/f:DI 3 %r3 [77]) (reg/f:DI 15 %r15)) pr36728-1.c:12 1073 {*movdi_64} (nil)) (debug_insn 33 57 6 2 (var_location:DI x (plus:DI (reg/f:DI 15 %r15 [77]) (const_int 160 [0xa0]))) pr36728-1.c:12 -1 (nil)) -- snip -- It has propagated the value of r15 into insn 33, so now the var_location is= now separated from the place when it actually becomes valid (after insn 27), and further passes result in bogus DWARF location list for "x". (This is assembly output with a patch I'm working on; y does not use alloca= for aligmnent; I think this is independent of the bug.) -- snip -- .LVL0: stmg %r11,%r15,88(%r15) aghi %r15,-200 lgr %r11,%r15 .loc 1 12 0 aghi %r2,14 .LVL1: nill %r2,65528 sgr %r15,%r2 <=3D=3D set final value of stack pointer .loc 1 15 0 <=3D=3D location list for "x" should start here lhi %r2,2 .loc 1 10 0 la %r1,191(%r11) .LVL2: <=3D=3D where location list for "x" actually star= ts nill %r1,65504 <=3D=3D=20 .loc 1 16 0 <=3D=3D location list for "y" should start here larl %r4,b .loc 1 17 0 mvi 160(%r15),25 .loc 1 12 0 la %r3,160(%r15) .LVL3: .loc 1 18 0 larl %r5,a .loc 1 15 0 st %r2,0(%r1) .loc 1 16 0 ... -- snip -- Without checking the details for "y" yet we've noticed that there is no location list for y in the DWARF info, so gdb happily prints random data fr= om the stack slot with "p y" when stopping at the first ".loc 1 16 0". >>From gcc-bugs-return-523579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 14:27:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75123 invoked by alias); 28 Apr 2016 14:27:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52308 invoked by uid 48); 28 Apr 2016 14:27:23 -0000 From: "tuwwcn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70845] [6/7 Regression] inherited piecewise_construct_t constructor from std::pair by "using-declarations" is missing Date: Thu, 28 Apr 2016 14:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: tuwwcn 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02792.txt.bz2 Content-length: 2377 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70845 --- Comment #4 from Wei-Wei Tu --- (In reply to Jonathan Wakely from comment #3) > (In reply to Wei-Wei Tu from comment #2) > > This is the test case >=20 > Yes, I know, I already added it in comment 1 :-) >=20 > Preprocessed source from gcc-5 fails, so this is due to some front-end > change (either getting stricter and diagnosing something bad in the libra= ry > headers, or a new FE bug). This is my first time to report a bug. I'm so sorry for missing the headers. Is the code valid according to the language standard? (I'm not so sure about it.) This is the words about c++17 inherited constructors referred by using-declarations(from cppreference): If the using-declaration refers to a constructor of a direct base of the cl= ass being defined (e.g. using Base::Base;), all constructors of that base (igno= ring member access) are made visible to overload resolution when initializing the derived class. If overload resolution selects an inherited constructor, it is accessible i= f it would be accessible when used to construct an object of the corresponding b= ase class: the accessibility of the using-declaration that introduced it is ignored. If overload resolution selects one of the inherited constructors when initializing an object of such derived class, then the Base subobject from which the constructor was inherited is initialized using the inherited constructor, and all other bases and members of Derived are initialized as = if by the defaulted default constructor (default member initializers are used = if provided, otherwise default initialization takes place). The entire initialization is treated as a single function call: initialization of the parameters of the inherited constructor is sequenced-before initialization = of any base or member of the derived object. As with using-declarations for any other non-static member functions, if an inherited constructor matches the signature of one of the constructors of Derived, it is hidden from lookup by the version found in Derived. If one of the inherited constructors of Base happens to have the signature that match= es a copy/move constructor of the Derived, it does not prevent implicit generati= on of Derived copy/move constructor (which then hides the inherited version, similar to using operator=3D). >>From gcc-bugs-return-523580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 14:30:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31523 invoked by alias); 28 Apr 2016 14:30:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23831 invoked by uid 48); 28 Apr 2016 14:30:27 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70851] New: internal compiler error: in create_tmp_var, at gimple-expr.c:473 Date: Thu, 28 Apr 2016 14:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02793.txt.bz2 Content-length: 2730 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70851 Bug ID: 70851 Summary: internal compiler error: in create_tmp_var, at gimple-expr.c:473 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: mpolacek at gcc dot gnu.org Target Milestone: --- enum E e; void foo (void) { int a[e]; } $ ./cc1 -quiet q.c q.c:1:8: error: storage size of =E2=80=98e=E2=80=99 isn=E2=80=99t known enum E e; ^ q.c: In function =E2=80=98foo=E2=80=99: q.c:6:3: internal compiler error: in create_tmp_var, at gimple-expr.c:473 int a[e]; ^~~ 0xacc7a2 create_tmp_var(tree_node*, char const*) /home/marek/src/gcc/gcc/gimple-expr.c:473 0xaf6efc create_tmp_from_val /home/marek/src/gcc/gcc/gimplify.c:498 0xaf7006 lookup_tmp_var /home/marek/src/gcc/gcc/gimplify.c:519 0xaf71ee internal_get_tmp_var /home/marek/src/gcc/gcc/gimplify.c:563 0xaf73f6 get_initialized_tmp_var(tree_node*, gimple**, gimple**) /home/marek/src/gcc/gcc/gimplify.c:600 0xb0739c gimplify_save_expr /home/marek/src/gcc/gcc/gimplify.c:4997 0xb20961 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) /home/marek/src/gcc/gcc/gimplify.c:10575 0xb09cfd gimplify_stmt(tree_node**, gimple**) /home/marek/src/gcc/gcc/gimplify.c:5688 0xafa38b gimplify_statement_list /home/marek/src/gcc/gcc/gimplify.c:1537 0xb2135d gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) /home/marek/src/gcc/gcc/gimplify.c:10704 0xb09cfd gimplify_stmt(tree_node**, gimple**) /home/marek/src/gcc/gcc/gimplify.c:5688 0xaf8cf5 gimplify_bind_expr /home/marek/src/gcc/gcc/gimplify.c:1142 0xb204a6 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) /home/marek/src/gcc/gcc/gimplify.c:10486 0xb09cfd gimplify_stmt(tree_node**, gimple**) /home/marek/src/gcc/gcc/gimplify.c:5688 0xb23973 gimplify_body(tree_node*, bool) /home/marek/src/gcc/gcc/gimplify.c:11433 0xb2420f gimplify_function_tree(tree_node*) /home/marek/src/gcc/gcc/gimplify.c:11589 0x92cc55 cgraph_node::analyze() /home/marek/src/gcc/gcc/cgraphunit.c:625 0x92e4dc analyze_functions /home/marek/src/gcc/gcc/cgraphunit.c:1086 0x932ae8 symbol_table::finalize_compilation_unit() /home/marek/src/gcc/gcc/cgraphunit.c:2542 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-523581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 14:32:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49748 invoked by alias); 28 Apr 2016 14:32:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40000 invoked by uid 48); 28 Apr 2016 14:32:34 -0000 From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvNzA4MjJdIFs2LzcgUmVncmVzc2lvbl0gYm9ndXMgImVycm9y?= =?UTF-8?B?OiBsdmFsdWUgcmVxdWlyZWQgYXMgdW5hcnkg4oCYJuKAmSBvcGVyYW5kIiB3?= =?UTF-8?B?aXRoIEMrKzE0IHBhcmVudGhlc2l6ZWQgU0NPUEVfUkVG?= Date: Thu, 28 Apr 2016 14:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ppalka at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02794.txt.bz2 Content-length: 956 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70822 Patrick Palka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-28 Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot g= nu.org Summary|bogus "error: lvalue |[6/7 Regression] bogus |required as unary =E2=80=98&=E2=80=99 |"error: lv= alue required as |operand" with C++14 |unary =E2=80=98&=E2=80=99 = operand" with |parenthesized SCOPE_REF |C++14 parenthesized | |SCOPE_REF Ever confirmed|0 |1 --- Comment #1 from Patrick Palka --- Caused by r234159 >>From gcc-bugs-return-523582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 14:36:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79894 invoked by alias); 28 Apr 2016 14:36:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79720 invoked by uid 48); 28 Apr 2016 14:36:37 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70851] internal compiler error: in create_tmp_var, at gimple-expr.c:473 Date: Thu, 28 Apr 2016 14:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02795.txt.bz2 Content-length: 362 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70851 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code Target Milestone|--- |7.0 >>From gcc-bugs-return-523583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 14:38:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84174 invoked by alias); 28 Apr 2016 14:38:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84014 invoked by uid 48); 28 Apr 2016 14:38:31 -0000 From: "ktietz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70847] [6/7 Regression] exponential time in cp_fold for chained virtual function calls Date: Thu, 28 Apr 2016 14:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: ktietz 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02796.txt.bz2 Content-length: 1178 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70847 Kai Tietz changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ktietz at gcc dot gnu.org --- Comment #3 from Kai Tietz --- This seems to be related to cp_fold_r's behavior to walk subtree for OBJ_TYPE_REF. Normally we can assume that in case of an OBJ_TYPE_REF tree, it was already folded. So we don't need to walk it again . The following patch solves the issue for me on m32c. Index: ../gcc/cp/cp-gimplify.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- ../gcc/cp/cp-gimplify.c (revision 235430) +++ ../gcc/cp/cp-gimplify.c (working copy) @@ -986,7 +986,8 @@ cp_walk_tree (&OMP_FOR_PRE_BODY (stmt), cp_fold_r, data, NULL); *walk_subtrees =3D 0; } - + else if (code =3D=3D OBJ_TYPE_REF) + *walk_subtrees =3D 0; return NULL; } >>From gcc-bugs-return-523584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 14:38:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84184 invoked by alias); 28 Apr 2016 14:38:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84003 invoked by uid 48); 28 Apr 2016 14:38:31 -0000 From: "bill at baddogconsulting dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/70850] Bootstrap fails building libgo: gccgo: error: ../x86_64-pc-linux-gnu/libgo/zstdpkglist.go: No such file or directory Date: Thu, 28 Apr 2016 14:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: bill at baddogconsulting dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02797.txt.bz2 Content-length: 217 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70850 --- Comment #2 from Bill Deegan --- Rebuilding outside src dir. Will report. It's a fairly slow machine so it may take a while. >>From gcc-bugs-return-523585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 14:39:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86329 invoked by alias); 28 Apr 2016 14:39:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86008 invoked by uid 48); 28 Apr 2016 14:39:23 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70851] internal compiler error: in create_tmp_var, at gimple-expr.c:473 Date: Thu, 28 Apr 2016 14:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02798.txt.bz2 Content-length: 222 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70851 --- Comment #1 from Marek Polacek --- gcc34 worked ok: $ gcc34 -c q.c q.c:1: error: storage size of `e' isn't known but even gcc44 ICEs. >>From gcc-bugs-return-523586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 14:44:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95428 invoked by alias); 28 Apr 2016 14:44:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95283 invoked by uid 55); 28 Apr 2016 14:44:40 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/70132] ARM -mcpu=native can cause a double free abort. Date: Thu, 28 Apr 2016 14:44: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: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02799.txt.bz2 Content-length: 654 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70132 --- Comment #10 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Thu Apr 28 14:44:07 2016 New Revision: 235573 URL: https://gcc.gnu.org/viewcvs?rev=3D235573&root=3Dgcc&view=3Drev Log: [ARM] PR driver/70132: Avoid double fclose in driver-arm.c Backport from mainline 2016-03-23 Kyrylo Tkachov PR driver/70132 * config/arm/driver-arm.c (host_detect_local_cpu): Reorder exit log= ic to not call fclose twice on file. Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/arm/driver-arm.c >>From gcc-bugs-return-523587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 14:51:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23629 invoked by alias); 28 Apr 2016 14:51:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16847 invoked by uid 48); 28 Apr 2016 14:51:13 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70845] [6/7 Regression] inherited piecewise_construct_t constructor from std::pair by "using-declarations" is missing Date: Thu, 28 Apr 2016 14:51: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: 6.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02800.txt.bz2 Content-length: 330 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70845 --- Comment #5 from Jonathan Wakely --- Yes, I think it's valid. It started being rejected with r233719 PR c++/69842 * method.c (forward_parm): Handle parameter packs. * lambda.c (maybe_add_lambda_conv_op): Use it for them. >>From gcc-bugs-return-523588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:03:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111495 invoked by alias); 28 Apr 2016 15:03:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100732 invoked by uid 48); 28 Apr 2016 15:03:29 -0000 From: "bernds at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70826] [7 regression] many test cases fail starting with r235442 Date: Thu, 28 Apr 2016 15:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bernds 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02801.txt.bz2 Content-length: 510 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70826 Bernd Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amodra at gcc dot gnu.org --- Comment #7 from Bernd Schmidt --- So why is there any expectation that the condition register contains any particular value? Cc'ing Alan Modra who added the test. >>From gcc-bugs-return-523589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:05:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116434 invoked by alias); 28 Apr 2016 15:05:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 116216 invoked by uid 48); 28 Apr 2016 15:05:06 -0000 From: "ktietz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70847] [6/7 Regression] exponential time in cp_fold for chained virtual function calls Date: Thu, 28 Apr 2016 15:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: ktietz 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02802.txt.bz2 Content-length: 306 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70847 --- Comment #4 from Kai Tietz --- As side-note: There is something pretty fishy in tree-pretty-print.c for OBJ_TYPE_REF, too. We do here recurse endless. Simply add to command line '-fdump-tree-original' for reproducing. >>From gcc-bugs-return-523590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:10:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65302 invoked by alias); 28 Apr 2016 15:10:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65146 invoked by uid 48); 28 Apr 2016 15:10:43 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70828] broken array-type subarrays inside acc data in openacc Date: Thu, 28 Apr 2016 15:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: openacc, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02803.txt.bz2 Content-length: 2399 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70828 Thomas Schwinge changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |openmp Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-28 CC| |jakub at gcc dot gnu.org Assignee|cesar at gcc dot gnu.org |unassigned at gcc d= ot gnu.org Ever confirmed|0 |1 --- Comment #1 from Thomas Schwinge --- (In reply to cesar from comment #0) > Created attachment 38351 [details] > broken subarray Translating that one to OpenMP ("acc data copy(a[10:80])" -> "omp target da= ta map(a[10:80])", and "acc parallel loop" -> "omp target"), the issue also reproduces for OpenMP. > Given an array-typed subarray with a non-zero base element on an acc data > construct, the gimplifier will implicitly add a pcopy clause for any > parallel and kernels construct which uses that array. The pcopy is correc= t, > but this pcopy expects the entire array to be present on the accelerator. > This ultimately results in a runtime failure when the base of the subarray > is not element zero. >=20 > This problem can be reproduced with the attached test case in trunk and > gcc-6. OpenACC 2.0a says that "[...] the compiler will implicitly determine data attributes for variables that are referenced in the compute construct that = do not appear in a data clause on the compute construct or a lexically contain= ing data construct and do not have predetermined data attributes [...]". Indee= d we here have a "lexically containing data construct", so the compiler should u= se that instead of implicitly determining conflicting (whole array) data attributes. Jakub, what's your take for OpenMP? From a quick scan of OpenMP 4.5, 2.15.5 "Data-mapping Attribute Rules and Clauses", in combination with 2.10.4 "tar= get Construct", to me it also appears as if the intention is that the outer tar= get data construct already defines the definitive data attributes for the array inside the target region, without wanting the compiler to implicitly determ= ine conflicting (whole array) data attributes for the target region? >>From gcc-bugs-return-523591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:14:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87512 invoked by alias); 28 Apr 2016 15:14:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87329 invoked by uid 48); 28 Apr 2016 15:14:29 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70852] New: ice in warn_for_memset Date: Thu, 28 Apr 2016 15:14: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.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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02804.txt.bz2 Content-length: 1189 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70852 Bug ID: 70852 Summary: ice in warn_for_memset Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 38366 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38366&action=3Dedit C source code The attached C code, when compiled by gcc trunk dated 20160428, does this /home/dcb/rpmbuild/BUILD/allegro-4.4.2/addons/jpgalleg/src/decode.c:1054:2: internal compiler error: Segmentation fault memset(_jpeg_huffman_dc_table, 0, 4 * sizeof(HUFFMAN_TABLE)); ^~~~~~ 0xc438df crash_signal ../../src/trunk/gcc/toplev.c:333 0x6ed3da tree_class_check(tree_node*, tree_code_class, char const*, int, ch= ar const*) ../../src/trunk/gcc/tree.h:3147 0x6ed3da warn_for_memset(unsigned int, tree_node*, tree_node*, int) ../../src/trunk/gcc/c-family/c-common.c:11800 0x69cc49 c_parser_postfix_expression_after_primary ../../src/trunk/gcc/c/c-parser.c:8301 >>From gcc-bugs-return-523592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:14:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87541 invoked by alias); 28 Apr 2016 15:14:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87291 invoked by uid 48); 28 Apr 2016 15:14:27 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/69604] ICE in gfc_add_modify_loc, at fortran/trans.c:159 Date: Thu, 28 Apr 2016 15:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02805.txt.bz2 Content-length: 2144 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69604 --- Comment #9 from Gerhard Steinmetz --- Update, using fresh new release gfortran-6 --version GNU Fortran (SUSE Linux) 6.1.0 20160427 [gcc-6-branch revision 235475] The error message has changed : $ gfortran-6 -c z1.f90 internal compiler error: in conv_function_val, at fortran/trans-expr.c:3683 $ gfortran-6 -c z2.f90 internal compiler error: in conv_function_val, at fortran/trans-expr.c:3683 $ gfortran-6 -fcoarray=3Dsingle -c z4.f90 $ gfortran-6 -fcoarray=3Dlib -c z4.f90 # NO error now As noted in comment 2, the error message depends on configuration, still differs for --enable-checking=3Drelease and --enable-checking=3Dyes. --- And for the following examples there seems to be no ICEs for many different combinations of compile options. Only one problem remaining with -fcoarray=3Dlib and -finit-real. For example -finit-real=3Dzero : $ gfortran-6 -fcoarray=3Dsingle -finit-real=3Dzero -c z4.f90 # NO error $ gfortran-6 -fcoarray=3Dlib -finit-real=3Dzero -c z4.f90 internal compiler error: in fold_convert_loc, at fold-const.c:2256 $ gfortran-6 -fcoarray=3Dlib -finit-real=3Dzero -c z5_harald_anlauf.f90 internal compiler error: in fold_convert_loc, at fold-const.c:2256 $ gfortran-6 -fcoarray=3Dlib -finit-real=3Dzero -c z6_harald_anlauf.f90 internal compiler error: in fold_convert_loc, at fold-const.c:2256 $ gfortran-6 -fcoarray=3Dlib -finit-real=3Dzero -c z8_harald_anlauf.f90 internal compiler error: in fold_convert_loc, at fold-const.c:2256 --- Running some examples, with suboptimal results : $ gfortran-6 -fcoarray=3Dsingle z6_harald_anlauf_print_z.f90 $ a.out ( -4.75674592E-16, 1.53246000E-41) $ gfortran-6 -fcoarray=3Dsingle z8_harald_anlauf.f90 $ a.out ( 42.0000000 , 0.00000000 ) 42.0000000 ( 42.0000000 , 0.00000000 ) 42.0000000 ( 1.00000000 , 0.00000000 ) 2.00000000 ( 1.00000000 , 0.00000000 ) 2.00000000 ( 1.00000000 , 0.00000000 ) ( 1.54857493E-41, -9.79143559E+14) 2.00000000 2.00000000 ( 1.54857493E-41, -9.79143559E+14) >>From gcc-bugs-return-523593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:16:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90321 invoked by alias); 28 Apr 2016 15:16:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90210 invoked by uid 48); 28 Apr 2016 15:16:22 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70853] New: ICE on pointing to null, in gfc_add_block_to_block, at fortran/trans.c:1599 Date: Thu, 28 Apr 2016 15:16: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02806.txt.bz2 Content-length: 941 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70853 Bug ID: 70853 Summary: ICE on pointing to null, in gfc_add_block_to_block, at fortran/trans.c:1599 Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fortran@t-online.de Target Milestone: --- With the following codes : $ cat z1.f90 program p real, pointer :: z(:) z(1:2) =3D> null() end $ gfortran-6 -c z1.f90 internal compiler error: in gfc_add_block_to_block, at fortran/trans.c:1599 $ cat z2.f90 program p real, pointer :: z(:) z(2:1) =3D> null() end $ gfortran-6 -c z2.f90 internal compiler error: in gfc_add_block_to_block, at fortran/trans.c:1599 $ gfortran-5.3.1 -c z2.f90 internal compiler error: Segmentation fault >>From gcc-bugs-return-523596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:17:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97917 invoked by alias); 28 Apr 2016 15:17:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97810 invoked by uid 48); 28 Apr 2016 15:17:39 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70852] ice in warn_for_memset Date: Thu, 28 Apr 2016 15:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02809.txt.bz2 Content-length: 580 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70852 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-28 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed, will reduce & fix. >>From gcc-bugs-return-523595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:17:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97907 invoked by alias); 28 Apr 2016 15:17:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97642 invoked by uid 55); 28 Apr 2016 15:17:30 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/70595] Cilk Plus testsuite needs massive cleanup Date: Thu, 28 Apr 2016 15:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02808.txt.bz2 Content-length: 5278 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70595 --- Comment #4 from Rainer Orth --- Author: ro Date: Thu Apr 28 15:16:57 2016 New Revision: 235574 URL: https://gcc.gnu.org/viewcvs?rev=3D235574&root=3Dgcc&view=3Drev Log: Cilk Plus testsuite needs massive cleanup (PR testsuite/70595) gcc: PR testsuite/70595 * doc/sourcebuild.texi (Effective-Target Keywords, Other attributes): Document cilkplus_runtime. gcc/testsuite: PR testsuite/70595 * lib/target-supports.exp (check_libcilkrts_available): Rename to .= .. (check_effective_target_cilkplus_runtime): ... this. * g++.dg/cilk-plus/cilk-plus.exp: Adapt to it. * gcc.dg/cilk-plus/cilk-plus.exp: Likewise. * c-c++-common/cilk-plus/CK/cilk-for-2.c: Remove dg-do target selec= tor. Require cilkplus_runtime. Don't add -lcilkrts. * c-c++-common/cilk-plus/CK/cilk-fors.c: Likewise. * c-c++-common/cilk-plus/CK/cilk_for_grain.c: Likewise. * c-c++-common/cilk-plus/CK/cilk_for_ptr_iter.c: Likewise. * c-c++-common/cilk-plus/CK/fib.c: Likewise. * c-c++-common/cilk-plus/CK/fib_init_expr_xy.c: Likewise. * c-c++-common/cilk-plus/CK/fib_no_return.c: Likewise. * c-c++-common/cilk-plus/CK/fib_no_sync.c: Likewise. * c-c++-common/cilk-plus/CK/nested_cilk_for.c: Likewise. * c-c++-common/cilk-plus/CK/pr60586.c: Likewise. * c-c++-common/cilk-plus/CK/pr69826-1.c: Likewise. * c-c++-common/cilk-plus/CK/pr69826-2.c: Likewise. * c-c++-common/cilk-plus/CK/spawnee_inline.c: Likewise. * c-c++-common/cilk-plus/CK/spawner_inline.c: Likewise. * c-c++-common/cilk-plus/CK/spawning_arg.c: Likewise. * c-c++-common/cilk-plus/CK/steal_check.c: Likewise. * c-c++-common/cilk-plus/CK/varargs_test.c: Likewise. * g++.dg/cilk-plus/CK/catch_exc.cc: Likewise. * g++.dg/cilk-plus/CK/cilk-for-tplt.cc: Likewise. * g++.dg/cilk-plus/CK/const_spawn.cc: Likewise. * g++.dg/cilk-plus/CK/fib-opr-overload.cc: Likewise. * g++.dg/cilk-plus/CK/fib-tplt.cc: Likewise. * g++.dg/cilk-plus/CK/for1.cc: Likewise. * g++.dg/cilk-plus/CK/lambda_spawns.cc: Likewise. * g++.dg/cilk-plus/CK/lambda_spawns_tplt.cc: Likewise. * g++.dg/cilk-plus/CK/pr60586.cc: Likewise. * g++.dg/cilk-plus/CK/pr66326.cc: Likewise. * g++.dg/cilk-plus/CK/stl_iter.cc: Likewise. * g++.dg/cilk-plus/CK/stl_rev_iter.cc: Likewise. * g++.dg/cilk-plus/CK/stl_test.cc: Likewise. * c-c++-common/cilk-plus/CK/pr63307.c: Remove dg-do target selector. * c-c++-common/cilk-plus/SE/ef_error3.c: Likewise. * c-c++-common/cilk-plus/SE/ef_error2.c: Explain target selector. * c-c++-common/cilk-plus/CK/test__cilk.c: Run if cilkplus_runtime. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/sourcebuild.texi trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/cilk-for-2.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/cilk-fors.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/cilk_for_grain.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/cilk_for_ptr_iter.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/fib.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/fib_init_expr_xy.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/fib_no_return.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/fib_no_sync.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/nested_cilk_for.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/pr60586.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/pr63307.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/pr69826-1.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/pr69826-2.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/spawnee_inline.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/spawner_inline.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/spawning_arg.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/steal_check.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/test__cilk.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/varargs_test.c trunk/gcc/testsuite/c-c++-common/cilk-plus/SE/ef_error2.c trunk/gcc/testsuite/c-c++-common/cilk-plus/SE/ef_error3.c trunk/gcc/testsuite/g++.dg/cilk-plus/CK/catch_exc.cc trunk/gcc/testsuite/g++.dg/cilk-plus/CK/cilk-for-tplt.cc trunk/gcc/testsuite/g++.dg/cilk-plus/CK/const_spawn.cc trunk/gcc/testsuite/g++.dg/cilk-plus/CK/fib-opr-overload.cc trunk/gcc/testsuite/g++.dg/cilk-plus/CK/fib-tplt.cc trunk/gcc/testsuite/g++.dg/cilk-plus/CK/for1.cc trunk/gcc/testsuite/g++.dg/cilk-plus/CK/lambda_spawns.cc trunk/gcc/testsuite/g++.dg/cilk-plus/CK/lambda_spawns_tplt.cc trunk/gcc/testsuite/g++.dg/cilk-plus/CK/pr60586.cc trunk/gcc/testsuite/g++.dg/cilk-plus/CK/pr66326.cc trunk/gcc/testsuite/g++.dg/cilk-plus/CK/stl_iter.cc trunk/gcc/testsuite/g++.dg/cilk-plus/CK/stl_rev_iter.cc trunk/gcc/testsuite/g++.dg/cilk-plus/CK/stl_test.cc trunk/gcc/testsuite/g++.dg/cilk-plus/cilk-plus.exp trunk/gcc/testsuite/gcc.dg/cilk-plus/cilk-plus.exp trunk/gcc/testsuite/lib/target-supports.exp >>From gcc-bugs-return-523594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:17:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96885 invoked by alias); 28 Apr 2016 15:17:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96728 invoked by uid 48); 28 Apr 2016 15:17:10 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70853] ICE on pointing to null, in gfc_add_block_to_block, at fortran/trans.c:1599 Date: Thu, 28 Apr 2016 15:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02807.txt.bz2 Content-length: 809 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70853 --- Comment #1 from Gerhard Steinmetz --- Messages interchanged (v5/v6) with a user defined type : $ cat z3.f90 program p type t end type type(t), pointer :: z(:) z(1:2) =3D> null() end $ gfortran-6 -c z3.f90 internal compiler error: Segmentation fault $ gfortran-5.3.1 -c z3.f90 internal compiler error: in gfc_add_block_to_block, at fortran/trans.c:1630 Another error message with "class" instead of "type" : $ cat z4.f90 program p type t end type class(t), pointer :: z(:) z(1:2) =3D> null() end $ gfortran-6 -c z4.f90 internal compiler error: in gfc_conv_descriptor_data_get, at fortran/trans-array.c:144 $ gfortran-5.3.1 -c z4.f90 internal compiler error: Segmentation fault >>From gcc-bugs-return-523597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:19:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102237 invoked by alias); 28 Apr 2016 15:19:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101957 invoked by uid 48); 28 Apr 2016 15:18:57 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/70595] Cilk Plus testsuite needs massive cleanup Date: Thu, 28 Apr 2016 15:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02810.txt.bz2 Content-length: 174 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70595 --- Comment #5 from Rainer Orth --- Initial patch installed for 7.1, more TBD, to keep PR open. >>From gcc-bugs-return-523598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:20:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105968 invoked by alias); 28 Apr 2016 15:20:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105788 invoked by uid 48); 28 Apr 2016 15:20:41 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/69659] [6/7 Regression] ICE on using option -frepack-arrays, in gfc_conv_descriptor_data_get Date: Thu, 28 Apr 2016 15:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: vehre at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02811.txt.bz2 Content-length: 348 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69659 --- Comment #8 from Gerhard Steinmetz --- > Can you confirm that the patch fixes the issue in all cases > and does not raise new issues? Yes, I can confirm this now. FYI, there is a separate/independed issue, see pr70853 comment 1. My best regards. >>From gcc-bugs-return-523599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:25:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28594 invoked by alias); 28 Apr 2016 15:25:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23559 invoked by uid 48); 28 Apr 2016 15:25:05 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70854] New: ICE in gfc_process_block_locals, at fortran/trans-decl.c:6447 Date: Thu, 28 Apr 2016 15:25: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02812.txt.bz2 Content-length: 1318 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70854 Bug ID: 70854 Summary: ICE in gfc_process_block_locals, at fortran/trans-decl.c:6447 Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fortran@t-online.de Target Milestone: --- The following code with an inner block aborts when combined with an appropriate option -finit-*. Here "integer" and -finit-integer : $ cat z1.f90 program p integer :: x(2), y(2) block integer, parameter :: a(2) =3D 0 x =3D a block y =3D 0 end block end block end $ gfortran-6 -finit-integer=3D-7 -c z1.f90 internal compiler error: in gfc_process_block_locals, at fortran/trans-decl.c:6447 $ gfortran-6 -finit-local-zero -c z1.f90 internal compiler error: in gfc_process_block_locals, at fortran/trans-decl.c:6447 --- Compiles fine without that inner block : $ cat z2.f90 program p integer :: x(2), y(2) block integer, parameter :: a(2) =3D 0 x =3D a y =3D 0 end block end $ gfortran-6 -finit-integer=3D-7 -c z2.f90 $ gfortran-6 -finit-local-zero -c z2.f90 # no ICE >>From gcc-bugs-return-523600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:25:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43989 invoked by alias); 28 Apr 2016 15:25:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40317 invoked by uid 55); 28 Apr 2016 15:25:46 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug java/70839] [6/7 regression] Every libjava execution test FAILs: Incorrect library ABI version detected Date: Thu, 28 Apr 2016 15:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: java X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02813.txt.bz2 Content-length: 431 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70839 --- Comment #4 from Rainer Orth --- Author: ro Date: Thu Apr 28 15:25:14 2016 New Revision: 235575 URL: https://gcc.gnu.org/viewcvs?rev=3D235575&root=3Dgcc&view=3Drev Log: Don't include minor version in GCJ ABI version (PR java/70839) PR java/70839 * decl.c (parse_version): Remove minor handling. Modified: trunk/gcc/java/decl.c >>From gcc-bugs-return-523601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:26:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57895 invoked by alias); 28 Apr 2016 15:26:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51097 invoked by uid 48); 28 Apr 2016 15:26:23 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70854] ICE in gfc_process_block_locals, at fortran/trans-decl.c:6447 Date: Thu, 28 Apr 2016 15:26: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02814.txt.bz2 Content-length: 1608 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70854 --- Comment #1 from Gerhard Steinmetz --- Similar for other intrinsic types : $ cat z3.f90 program p real :: x(2), y(2) block real, parameter :: a(2) =3D 0.0 x =3D a block y =3D 0.0 end block end block end $ gfortran-6 -finit-real=3Dzero -c z3.f90 internal compiler error: in gfc_process_block_locals, at fortran/trans-decl.c:6447 $ gfortran-6 -finit-real=3Dinf -c z3.f90 internal compiler error: in gfc_process_block_locals, at fortran/trans-decl.c:6447 $ gfortran-6 -finit-local-zero -c z3.f90 internal compiler error: in gfc_process_block_locals, at fortran/trans-decl.c:6447 --- $ cat z5.f90 program p logical :: x(2), y(2) block logical, parameter :: a(2) =3D .true. x =3D a block y =3D .false. end block end block end $ gfortran-6 -finit-logical=3Dtrue -c z5.f90 internal compiler error: in gfc_process_block_locals, at fortran/trans-decl.c:6447 $ gfortran-6 -finit-local-zero -c z5.f90 internal compiler error: in gfc_process_block_locals, at fortran/trans-decl.c:6447 --- $ cat z7.f90 program p character :: x(2), y(2) block character, parameter :: a(2) =3D 'a' x =3D a block y =3D 'y' end block end block end $ gfortran-6 -finit-character=3D7 -c z7.f90 internal compiler error: in gfc_process_block_locals, at fortran/trans-decl.c:6447 $ gfortran-6 -finit-local-zero -c z7.f90 internal compiler error: in gfc_process_block_locals, at fortran/trans-decl.c:6447 >>From gcc-bugs-return-523602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:27:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61919 invoked by alias); 28 Apr 2016 15:27:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60896 invoked by uid 48); 28 Apr 2016 15:27:07 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70852] ice in warn_for_memset Date: Thu, 28 Apr 2016 15:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02815.txt.bz2 Content-length: 299 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70852 --- Comment #2 from Marek Polacek --- /* PR c/70852 */ /* { dg-do compile } */ /* { dg-options "-Wall" } */ extern void *memset (void *, int, __SIZE_TYPE__); extern int A[]; void fn1 (void) { memset (A, 0, 1); } >>From gcc-bugs-return-523603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:30:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83041 invoked by alias); 28 Apr 2016 15:30:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79220 invoked by uid 48); 28 Apr 2016 15:30:26 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70852] ice in warn_for_memset Date: Thu, 28 Apr 2016 15:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02816.txt.bz2 Content-length: 961 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70852 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org Target Milestone|--- |7.0 --- Comment #3 from Marek Polacek --- The fix should be just: --- a/gcc/c-family/c-common.c +++ b/gcc/c-family/c-common.c @@ -11796,6 +11796,7 @@ warn_for_memset (location_t loc, tree arg0, tree ar= g2, tree elt_type =3D TREE_TYPE (type); tree domain =3D TYPE_DOMAIN (type); if (!integer_onep (TYPE_SIZE_UNIT (elt_type)) + && domain !=3D NULL_TREE && TYPE_MAXVAL (domain) && TYPE_MINVAL (domain) && integer_zerop (TYPE_MINVAL (domain)) >>From gcc-bugs-return-523604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:30:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83159 invoked by alias); 28 Apr 2016 15:30:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81299 invoked by uid 48); 28 Apr 2016 15:30:33 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70855] New: [6 Regression] ICE with -fopenmp in gfc_trans_omp_workshare(): Bad statement code Date: Thu, 28 Apr 2016 15:30: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02817.txt.bz2 Content-length: 989 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70855 Bug ID: 70855 Summary: [6 Regression] ICE with -fopenmp in gfc_trans_omp_workshare(): Bad statement code Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fortran@t-online.de Target Milestone: --- With GNU Fortran (SUSE Linux) 6.1.0 20160427 and optimization level -Og, -Os, -O1 or higher : $ cat z1.f90 program p integer, parameter :: m =3D 4 integer, parameter :: n =3D 2 real :: a(m,n) real :: x(n) real :: y(m) a =3D 1.0 x =3D 1.0 !$omp parallel !$omp workshare y(1:m) =3D matmul ( a(1:m,1:n), x(1:n) ) !$omp end workshare !$omp end parallel end $ gfortran-6 -O2 -fopenmp -c z1.f90 f951: internal compiler error: gfc_trans_omp_workshare(): Bad statement code >>From gcc-bugs-return-523605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:31:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90874 invoked by alias); 28 Apr 2016 15:31:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88317 invoked by uid 48); 28 Apr 2016 15:30:59 -0000 From: "ian at airs dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/70850] Bootstrap fails building libgo: gccgo: error: ../x86_64-pc-linux-gnu/libgo/zstdpkglist.go: No such file or directory Date: Thu, 28 Apr 2016 15:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: ian at airs dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02818.txt.bz2 Content-length: 238 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70850 --- Comment #3 from Ian Lance Taylor --- Do we support ./configure these days? Historically we have only supported SRCDIR/configure run in an empty direct= ory. >>From gcc-bugs-return-523606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:34:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30922 invoked by alias); 28 Apr 2016 15:34:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30720 invoked by uid 48); 28 Apr 2016 15:34:14 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70856] New: [6 Regression] ICE with -fopenacc in get_constraint_for_ssa_var, at tree-ssa-structalias.c:2952 Date: Thu, 28 Apr 2016 15:34: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02819.txt.bz2 Content-length: 1089 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70856 Bug ID: 70856 Summary: [6 Regression] ICE with -fopenacc in get_constraint_for_ssa_var, at tree-ssa-structalias.c:2952 Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fortran@t-online.de Target Milestone: --- Compiling the following snippet with optimization level -Os, -O2 or higher : $ cat z1.f90 program p print *, sin([1.0, 2.0]) print *, cos([1.0, 2.0]) end $ gfortran-6 -O2 -fopenacc z1.f90 internal compiler error: in get_constraint_for_ssa_var, at tree-ssa-structalias.c:2952 Affects several files from gfortran testsuite, too. $ make check-fortran RUNTESTFLAGS=3D"--target_board=3Dunix/-fopenacc" ... # of expected passes 40537 # of unexpected failures 1377 # of expected failures 62 # of unresolved testcases 609 >>From gcc-bugs-return-523607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:36:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67237 invoked by alias); 28 Apr 2016 15:36:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65895 invoked by uid 48); 28 Apr 2016 15:36:30 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70857] New: [6 Regression] ICE with -fopenmp -fopenacc in insert_vi_for_tree, at tree-ssa-structalias.c:2813 Date: Thu, 28 Apr 2016 15:36: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02820.txt.bz2 Content-length: 756 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70857 Bug ID: 70857 Summary: [6 Regression] ICE with -fopenmp -fopenacc in insert_vi_for_tree, at tree-ssa-structalias.c:2813 Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fortran@t-online.de Target Milestone: --- For testcase .../gcc/testsuite/gfortran.dg/gomp/gridify-1.f90 and optimization level -Og, -Os, -O1 or higher : $ gfortran-6 -O2 -fopenmp -fopenacc -c gridify-1.f90 internal compiler error: in insert_vi_for_tree, at tree-ssa-structalias.c:2= 813 >>From gcc-bugs-return-523608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:48:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130386 invoked by alias); 28 Apr 2016 15:48:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120890 invoked by uid 48); 28 Apr 2016 15:47:56 -0000 From: "simon at pushface dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/66849] Incorrect multilib chosen with -mthumb -mfloat-abi=hard Date: Thu, 28 Apr 2016 15:48: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: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simon at pushface dot 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02821.txt.bz2 Content-length: 275 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66849 --- Comment #7 from simon at pushface dot org --- t-aprofile produced an excellent result - for me, anyway; it includes everything I need (cortex-*), as well as a whole lot more - just lots of di= sk space for multilibs. >>From gcc-bugs-return-523609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 15:49:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59774 invoked by alias); 28 Apr 2016 15:49:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52032 invoked by uid 48); 28 Apr 2016 15:49:24 -0000 From: "steven at uplinklabs dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70858] New: __builtin_ia32_bextr_u64 ICE with '-m32 -march=core-avx2' Date: Thu, 28 Apr 2016 15:49: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: steven at uplinklabs dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02822.txt.bz2 Content-length: 2182 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70858 Bug ID: 70858 Summary: __builtin_ia32_bextr_u64 ICE with '-m32 -march=3Dcore-avx2' Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: steven at uplinklabs dot net Target Milestone: --- $ gcc -v Using built-in specs. COLLECT_GCC=3D/usr/bin/gcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-unknown-linux-gnu/6.1.0/lto-wrapp= er Target: x86_64-unknown-linux-gnu Configured with: /build/gcc-multilib/src/gcc-6.1.0/configure --host=3Dx86_64-unknown-linux-gnu --build=3Dx86_64-unknown-linux-gnu --target=3Dx86_64-unknown-linux-gnu --prefix=3D/usr --libdir=3D/usr/lib --libexecdir=3D/usr/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/in= fo --with-bugurl=3Dhttps://www.uplinklabs.net/ --enable-languages=3Dc,c++,ada,fortran,go,lto,objc,obj-c++ --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror --enable-checking=3Drelease --enable-clocale=3Dgnu --enable-__cxa_atexit --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-libmpx --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=3Dposix --with-isl --with-linker-hash-style=3Dgnu --with-multilib-list=3Dm32,m64,mx32 --with-system-zlib Thread model: posix gcc version 6.1.0 (GCC) Reduced testcase via creduce: $ cat test.i int a, b, c; int d() { c =3D __builtin_ia32_bextr_u64(a, b); } $ gcc -m32 -march=3Dcore-avx2 -c test.i test.i: In function =E2=80=98d=E2=80=99: test.i:2:1: error: unrecognizable insn: int d() { c =3D __builtin_ia32_bextr_u64(a, b); } ^~~ (insn 9 8 10 2 (parallel [ (set (reg:DI 91 [ _6 ]) (unspec:DI [ (reg:DI 90 [ _5 ]) (reg:DI 88 [ _3 ]) ] UNSPEC_BEXTR)) (clobber (reg:CC 17 flags)) ]) test.i:2 -1 (nil)) test.i:2:1: internal compiler error: in extract_insn, at recog.c:2287 >>From gcc-bugs-return-523610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:01:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122123 invoked by alias); 28 Apr 2016 16:00:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121932 invoked by uid 48); 28 Apr 2016 16:00:48 -0000 From: "jsm28 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70859] New: Bad column number in type-generic function errors Date: Thu, 28 Apr 2016 16:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02823.txt.bz2 Content-length: 1509 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70859 Bug ID: 70859 Summary: Bad column number in type-generic function errors Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jsm28 at gcc dot gnu.org Target Milestone: --- The errors for calling type-generic floating-point built-in functions with = bad argument types point to the start of the line, not to the argument in quest= ion: int f (void) { return __builtin_isfinite (0); } int g (void) { return __builtin_isless (0, 0); } t.c: In function 'f': t.c:1:1: error: non-floating-point argument in call to function '__builtin_isfinite' int f (void) { return __builtin_isfinite (0); } ^~~ t.c: In function 'g': t.c:2:1: error: non-floating-point arguments in call to function '__builtin_isless' int g (void) { return __builtin_isless (0, 0); } ^~~ For C++, they point to the closing parenthesis, which is closer, but still wrong. t.c: In function 'int f()': t.c:1:44: error: non-floating-point argument in call to function '__builtin_isfinite' int f (void) { return __builtin_isfinite (0); } ^ t.c: In function 'int g()': t.c:2:45: error: non-floating-point arguments in call to function '__builtin_isless' int g (void) { return __builtin_isless (0, 0); } ^ >>From gcc-bugs-return-523611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:01:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122218 invoked by alias); 28 Apr 2016 16:01:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122024 invoked by uid 48); 28 Apr 2016 16:00:53 -0000 From: "bill at baddogconsulting dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/70850] Bootstrap fails building libgo: gccgo: error: ../x86_64-pc-linux-gnu/libgo/zstdpkglist.go: No such file or directory Date: Thu, 28 Apr 2016 16:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: bill at baddogconsulting dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02824.txt.bz2 Content-length: 212 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70850 --- Comment #4 from Bill Deegan --- If it's not supported, perhaps it should issue error and exit? (Build still running..) >>From gcc-bugs-return-523612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:02:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125609 invoked by alias); 28 Apr 2016 16:02:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125063 invoked by uid 48); 28 Apr 2016 16:01:50 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66177] warn_unused_result doesn't work for non-PODs Date: Thu, 28 Apr 2016 16:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02825.txt.bz2 Content-length: 561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66177 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |jason at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #3 from Jason Merrill --- Dup. *** This bug has been marked as a duplicate of bug 38172 *** >>From gcc-bugs-return-523613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:02:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125617 invoked by alias); 28 Apr 2016 16:02:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125189 invoked by uid 48); 28 Apr 2016 16:01:53 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/38172] warn_unused_result does not work with structs not containing a copy constructor Date: Thu, 28 Apr 2016 16:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.4.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jason 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02826.txt.bz2 Content-length: 440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D38172 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gcc at bobbyperu dot info --- Comment #9 from Jason Merrill --- *** Bug 66177 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-523615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:02:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127358 invoked by alias); 28 Apr 2016 16:02:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126630 invoked by uid 48); 28 Apr 2016 16:02:12 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/38172] warn_unused_result does not work with structs not containing a copy constructor Date: Thu, 28 Apr 2016 16:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.4.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jason 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02828.txt.bz2 Content-length: 440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D38172 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dushistov at mail dot ru --- Comment #10 from Jason Merrill --- *** Bug 68469 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-523614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:02:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127208 invoked by alias); 28 Apr 2016 16:02:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126351 invoked by uid 48); 28 Apr 2016 16:02:10 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68469] warn_unused_result attribute ignored for templates return templates Date: Thu, 28 Apr 2016 16:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02827.txt.bz2 Content-length: 561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68469 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jason at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #2 from Jason Merrill --- Dup. *** This bug has been marked as a duplicate of bug 38172 *** >>From gcc-bugs-return-523616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:03:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129836 invoked by alias); 28 Apr 2016 16:03:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129506 invoked by uid 48); 28 Apr 2016 16:03:17 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70487] warn_unused_result attribute doesn't warn when return type is class Date: Thu, 28 Apr 2016 16:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02829.txt.bz2 Content-length: 561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70487 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |jason at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Jason Merrill --- Dup. *** This bug has been marked as a duplicate of bug 38172 *** >>From gcc-bugs-return-523617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:03:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 131055 invoked by alias); 28 Apr 2016 16:03:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129777 invoked by uid 48); 28 Apr 2016 16:03:20 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/38172] warn_unused_result does not work with structs not containing a copy constructor Date: Thu, 28 Apr 2016 16:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.4.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jason 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02830.txt.bz2 Content-length: 446 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D38172 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tkrimer at epochlabs dot c= om --- Comment #11 from Jason Merrill --- *** Bug 70487 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-523618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:05:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7754 invoked by alias); 28 Apr 2016 16:05:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7085 invoked by uid 48); 28 Apr 2016 16:05:23 -0000 From: "ysrumyan at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70729] Loop marked with omp simd pragma is not vectorized Date: Thu, 28 Apr 2016 16:05: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: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: ysrumyan 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02831.txt.bz2 Content-length: 1752 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70729 --- Comment #11 from Yuri Rumyantsev --- Richard, I slightly modify the patch proposed by you: 1. Apply loop->safelen check only if lim is invoked before loop vectorizati= on since its value could be non-correct (I simply add bool param to it). 2. I prohibit to apply this check if loop contains unanalyzed memory refere= nces (e.g. calls, clobbers etc.). With these changes all regressions related to omp simd support were disappe= ared and the following failures left (because of changing order of transformatio= n): FAIL: gcc.dg/autopar/outer-6.c scan-tree-dump-times parloops2 "parallelizi= ng inner loop" 0 FAIL: gcc.dg/pr41783.c scan-tree-dump pre "pretmp[^\\n]* =3D a_global_var;" FAIL: gcc.dg/tree-ssa/loadpre10.c scan-tree-dump-times pre "Eliminated: 1" 1 FAIL: gcc.dg/tree-ssa/loadpre23.c scan-tree-dump-times pre "Eliminated: 1" 1 FAIL: gcc.dg/tree-ssa/loadpre24.c scan-tree-dump-times pre "Eliminated: 1" 1 FAIL: gcc.dg/tree-ssa/loadpre25.c scan-tree-dump-times pre "Eliminated: 1" 1 FAIL: gcc.dg/tree-ssa/loadpre4.c scan-tree-dump-times pre "Eliminated: 1" 1 FAIL: gcc.dg/tree-ssa/loadpre8.c scan-tree-dump-times pre "Eliminated: 1" 1 FAIL: gcc.dg/tree-ssa/ssa-pre-16.c scan-tree-dump-times pre "Eliminated: 1"= 1 FAIL: gcc.dg/tree-ssa/ssa-pre-18.c scan-tree-dump pre "Replaced foo \\(f.y\= \)" FAIL: gcc.dg/tree-ssa/ssa-pre-20.c scan-tree-dump pre "New PHIs: 2" FAIL: gcc.dg/tree-ssa/ssa-pre-3.c scan-tree-dump-times pre "Eliminated: 2" 1 FAIL: gfortran.dg/pr42108.f90 -O scan-tree-dump pre "in all uses of countm1[^\n]* / " FAIL: gfortran.dg/vect/fast-math-vect-8.f90 -O scan-tree-dump-times vect "vectorized 1 loops" 1 What is your opinion? >>From gcc-bugs-return-523620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:06:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14399 invoked by alias); 28 Apr 2016 16:06:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13982 invoked by uid 48); 28 Apr 2016 16:06:38 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70860] New: [nvptx] Revisit cfun->machine->doing_call Date: Thu, 28 Apr 2016 16:06: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge 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_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02833.txt.bz2 Content-length: 951 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70860 Bug ID: 70860 Summary: [nvptx] Revisit cfun->machine->doing_call Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: tschwinge at gcc dot gnu.org CC: amonakov at gcc dot gnu.org, bernds at gcc dot gnu.org, nathan at gcc dot gnu.org Target Milestone: --- Target: nvptx The r235511 changes for PR70760 exposed a problem in gcc/config/nvptx/nvptx.c:nvptx_libcall_value, and Richard generally found t= hat one "fishy", and "suggest[ed] to remove cfun->machine->doing_call and revis= it the reason why it was added for PTX", see and following. >>From gcc-bugs-return-523619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:06:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12453 invoked by alias); 28 Apr 2016 16:06:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9384 invoked by uid 48); 28 Apr 2016 16:06:03 -0000 From: "simon at pushface dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/61027] gnatcmd gets SIGABRT during exception handling Date: Thu, 28 Apr 2016 16:06: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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simon at pushface dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02832.txt.bz2 Content-length: 529 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61027 simon at pushface dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |5.1.0, 5.2.0 --- Comment #6 from simon at pushface dot org --- Checked; fails (for cross-compilers - native compilers OK) with=20 6.0.1-RC-20160415. Will send in the patch now 6.1.0 is out. I see I never sent in a patch - no wonder it=E2=80=99s not fixed. >>From gcc-bugs-return-523621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:06:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14796 invoked by alias); 28 Apr 2016 16:06:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14340 invoked by uid 48); 28 Apr 2016 16:06:50 -0000 From: "ysrumyan at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70729] Loop marked with omp simd pragma is not vectorized Date: Thu, 28 Apr 2016 16: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 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: ysrumyan 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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02834.txt.bz2 Content-length: 238 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70729 --- Comment #12 from Yuri Rumyantsev --- Created attachment 38367 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38367&action=3Dedit modified patch >>From gcc-bugs-return-523622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:13:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37827 invoked by alias); 28 Apr 2016 16:13:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37464 invoked by uid 48); 28 Apr 2016 16:13:25 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/61229] warn_unused_result doesn't warn in unused inline function Date: Thu, 28 Apr 2016 16:13: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: normal X-Bugzilla-Who: jason 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 component short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02835.txt.bz2 Content-length: 1045 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61229 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-28 CC| |jason at gcc dot gnu.org Component|c++ |middle-end Summary|warn_unused_result fails to |warn_unused_result doesn't |work with member functions |warn in unused inline | |function Ever confirmed|0 |1 --- Comment #4 from Jason Merrill --- The testcases in comments 2 and 3 are covered by bug 38172. The original i= ssue is with unused inline functions, and affects C as well: __attribute__((warn_unused_result)) int callme( ) { return 42; } inline void foo() { callme(); } >>From gcc-bugs-return-523623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:22:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58014 invoked by alias); 28 Apr 2016 16:22:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57439 invoked by uid 55); 28 Apr 2016 16:22:13 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug java/70839] [6/7 regression] Every libjava execution test FAILs: Incorrect library ABI version detected Date: Thu, 28 Apr 2016 16:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: java X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02836.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70839 --- Comment #5 from Rainer Orth --- Author: ro Date: Thu Apr 28 16:21:41 2016 New Revision: 235578 URL: https://gcc.gnu.org/viewcvs?rev=3D235578&root=3Dgcc&view=3Drev Log: Don't include minor version in GCJ ABI version (PR java/70839) PR java/70839 * decl.c (parse_version): Remove minor handling. Modified: branches/gcc-6-branch/gcc/java/ChangeLog branches/gcc-6-branch/gcc/java/decl.c >>From gcc-bugs-return-523624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:25:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66254 invoked by alias); 28 Apr 2016 16:25:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64928 invoked by uid 48); 28 Apr 2016 16:25:13 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70858] __builtin_ia32_bextr_u64 ICE with '-m32 -march=core-avx2' Date: Thu, 28 Apr 2016 16:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02837.txt.bz2 Content-length: 542 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70858 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- This builtin is not meant for -m32, only for -m64/-mx32. I'll tweak it so = that we don't allow this builtin there (the headers are doing the right thing already). >>From gcc-bugs-return-523625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:26:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69976 invoked by alias); 28 Apr 2016 16:26:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69424 invoked by uid 48); 28 Apr 2016 16:26:20 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug java/70839] [6/7 regression] Every libjava execution test FAILs: Incorrect library ABI version detected Date: Thu, 28 Apr 2016 16:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: java X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02838.txt.bz2 Content-length: 506 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70839 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |ro at gcc dot gnu.o= rg --- Comment #6 from Rainer Orth --- Fixed for 6.2, 7.1. >>From gcc-bugs-return-523626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:28:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79511 invoked by alias); 28 Apr 2016 16:28:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78912 invoked by uid 48); 28 Apr 2016 16:28:22 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70841] reassoc fails to handle FP division Date: Thu, 28 Apr 2016 16:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02839.txt.bz2 Content-length: 138 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70841 --- Comment #1 from Marc Glisse --- Related to PR55912. >>From gcc-bugs-return-523627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:29:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83005 invoked by alias); 28 Apr 2016 16:29:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82441 invoked by uid 48); 28 Apr 2016 16:29:30 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/66425] (void) cast doesn't suppress __attribute__((warn_unused_result)) Date: Thu, 28 Apr 2016 16:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02840.txt.bz2 Content-length: 559 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66425 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org --- Comment #24 from Jason Merrill --- I agree that (void) should suppress the warning. Jakub, do you remember why you made a different choice? >>From gcc-bugs-return-523628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:30:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87809 invoked by alias); 28 Apr 2016 16:30:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85924 invoked by uid 48); 28 Apr 2016 16:30:16 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/54379] Suggestion for type attribute similar to warn_unused_result Date: Thu, 28 Apr 2016 16:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.7.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02841.txt.bz2 Content-length: 701 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54379 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-04-28 CC| |jason at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gn= u.org Ever confirmed|0 |1 --- Comment #1 from Jason Merrill --- C++17 adds the [[nodiscard]] attribute which can be applied to classes. >>From gcc-bugs-return-523629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:33:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108180 invoked by alias); 28 Apr 2016 16:33:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106762 invoked by uid 48); 28 Apr 2016 16:32:56 -0000 From: "nathanael.huebbe at informatik dot uni-hamburg.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70842] [4.9/5/6/7 Regression] internal compiler error with character members within a polymorphic pointer Date: Thu, 28 Apr 2016 16:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathanael.huebbe at informatik dot uni-hamburg.de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02842.txt.bz2 Content-length: 1341 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70842 --- Comment #3 from nathanael.huebbe at informatik dot uni-hamburg.de --- This is getting even nastier. As it turns out, even though the code I gave above compiles, it does not produce correct results. To be precise, if I us= e a routine like subroutine bar(me) class(t_Intermediate), pointer, intent(in) :: me class(*), pointer :: meAlias character(len =3D :), pointer :: textAlias meAlias =3D> me select type(meAlias) type is(t_Foo) textAlias =3D> meAlias%string print*, "'"//textAlias//"', len =3D ", len(textAlia= s)=20=20=20=20 !OK print*, "'"//meAlias%string//"', len =3D ", len(meAlias%string) !string ok, len =3D nonsense end select end subroutine I get some completely wrong length in the second `print` statement (like `152660480`), even though the string itself is output correctly. Again, the indirection via an additional pointer produces correct results. Another curious fact is, that the large number is constant across objects within a single run, but different when I restart my program. So I'm willin= g to speculate that somehow the vtable pointer is mistaken for the string length, but that may be completely wrong. >>From gcc-bugs-return-523630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:35:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119602 invoked by alias); 28 Apr 2016 16:35:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119045 invoked by uid 48); 28 Apr 2016 16:35:40 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/66425] (void) cast doesn't suppress __attribute__((warn_unused_result)) Date: Thu, 28 Apr 2016 16:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02843.txt.bz2 Content-length: 474 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66425 --- Comment #25 from Jakub Jelinek --- (In reply to Jason Merrill from comment #24) > I agree that (void) should suppress the warning. Jakub, do you remember = why > you made a different choice? I think the request came from Uli that it isn't that easy to suppress it, at least initially the warning was meant for cases where it would be a major security problem to ignore the return value. >>From gcc-bugs-return-523631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:38:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11927 invoked by alias); 28 Apr 2016 16:38:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8051 invoked by uid 55); 28 Apr 2016 16:37:59 -0000 From: "doko at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug java/70839] [6/7 regression] Every libjava execution test FAILs: Incorrect library ABI version detected Date: Thu, 28 Apr 2016 16:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: java X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: doko at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02844.txt.bz2 Content-length: 491 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70839 --- Comment #7 from Matthias Klose --- Author: doko Date: Thu Apr 28 16:37:27 2016 New Revision: 235582 URL: https://gcc.gnu.org/viewcvs?rev=3D235582&root=3Dgcc&view=3Drev Log: 2016-04-28 Rainer Orth PR java/70839 * decl.c (parse_version): Remove minor handling. Modified: branches/gcc-5-branch/gcc/java/ChangeLog branches/gcc-5-branch/gcc/java/decl.c >>From gcc-bugs-return-523632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:39:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16271 invoked by alias); 28 Apr 2016 16:39:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15916 invoked by uid 48); 28 Apr 2016 16:39:24 -0000 From: "doko at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug java/70839] [5/6/7 regression] Every libjava execution test FAILs: Incorrect library ABI version detected Date: Thu, 28 Apr 2016 16:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: java X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: doko at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02845.txt.bz2 Content-length: 580 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70839 Matthias Klose changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.2 |5.4 Summary|[6/7 regression] Every |[5/6/7 regression] Every |libjava execution test |libjava execution test |FAILs: Incorrect library |FAILs: Incorrect library |ABI version detected |ABI version detected >>From gcc-bugs-return-523633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:40:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19584 invoked by alias); 28 Apr 2016 16:40:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18887 invoked by uid 48); 28 Apr 2016 16:39:53 -0000 From: "doko at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug java/70839] [5/6/7 regression] Every libjava execution test FAILs: Incorrect library ABI version detected Date: Thu, 28 Apr 2016 16:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: java X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: doko at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02846.txt.bz2 Content-length: 128 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70839 --- Comment #8 from Matthias Klose --- and 5.4. >>From gcc-bugs-return-523634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 16:51:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122471 invoked by alias); 28 Apr 2016 16:51:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121962 invoked by uid 55); 28 Apr 2016 16:51:14 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70668] nds32-elf toolchain fails to compile on OSX Date: Thu, 28 Apr 2016 16:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02847.txt.bz2 Content-length: 657 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70668 --- Comment #6 from Segher Boessenkool --- Author: segher Date: Thu Apr 28 16:50:41 2016 New Revision: 235583 URL: https://gcc.gnu.org/viewcvs?rev=3D235583&root=3Dgcc&view=3Drev Log: nds32: Fix casesi (PR70668) Expanders do not have more elements in the operands array than declared in the pattern. So, we cannot use operands[5] here. Instead just declare and use another rtx. PR target/70668 * config/nds32/nds32.md (casesi): Don't access the operands array out of bounds. Modified: trunk/gcc/ChangeLog trunk/gcc/config/nds32/nds32.md >>From gcc-bugs-return-523635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 17:07:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44746 invoked by alias); 28 Apr 2016 17:07:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44494 invoked by uid 48); 28 Apr 2016 17:07:23 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70858] __builtin_ia32_bextr_u64 ICE with '-m32 -march=core-avx2' Date: Thu, 28 Apr 2016 17: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02848.txt.bz2 Content-length: 892 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70858 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-04-28 Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org Ever confirmed|0 |1 --- Comment #2 from Jakub Jelinek --- Created attachment 38368 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38368&action=3Dedit gcc7-pr70858.patch Untested fix. Note, these builtins aren't meant to be used directly, instead one should u= se the wrappers in x86intrin.h (and headers that it includes), the underlying implementation of those intrinsics can change. >>From gcc-bugs-return-523636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 17:07:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45772 invoked by alias); 28 Apr 2016 17:07:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 45111 invoked by uid 48); 28 Apr 2016 17:07:39 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70858] __builtin_ia32_bextr_u64 ICE with '-m32 -march=core-avx2' Date: Thu, 28 Apr 2016 17: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02849.txt.bz2 Content-length: 290 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70858 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.2 >>From gcc-bugs-return-523637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 17:11:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56457 invoked by alias); 28 Apr 2016 17:10:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 56218 invoked by uid 55); 28 Apr 2016 17:10:47 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70821] x86_64: __atomic_fetch_add/sub() uses XADD rather than DECL in some cases Date: Thu, 28 Apr 2016 17:10: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02850.txt.bz2 Content-length: 675 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70821 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Thu Apr 28 17:10:14 2016 New Revision: 235586 URL: https://gcc.gnu.org/viewcvs?rev=3D235586&root=3Dgcc&view=3Drev Log: PR target/70821 * config/i386/sync.md (define_peephole2 *atomic_fetch_add_cmp= ): Add new peephole2 where the first insn is *mov_or instead of *mov_internal. * gcc.target/i386/pr70821.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr70821.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/sync.md trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 17:16:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65618 invoked by alias); 28 Apr 2016 17:16:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65257 invoked by uid 48); 28 Apr 2016 17:16:05 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70821] x86_64: __atomic_fetch_add/sub() uses XADD rather than DECL in some cases Date: Thu, 28 Apr 2016 17:16: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02851.txt.bz2 Content-length: 506 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70821 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Jakub Jelinek --- Fixed for 7.1+. As this is not a regression, not backporting this to relea= se branches. >>From gcc-bugs-return-523639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 17:44:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103240 invoked by alias); 28 Apr 2016 17:44:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83065 invoked by uid 48); 28 Apr 2016 17:44:30 -0000 From: "steven at uplinklabs dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70858] __builtin_ia32_bextr_u64 ICE with '-m32 -march=core-avx2' Date: Thu, 28 Apr 2016 17:44: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.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: steven at uplinklabs dot net X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02852.txt.bz2 Content-length: 261 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70858 --- Comment #3 from Steven Noonan --- Cool. I'll let the project maintainer know to not use the __builtin_* varia= nts. _bextr_u32 and _bextr_u64 look much more friendly, too. >>From gcc-bugs-return-523640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 17:48:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41940 invoked by alias); 28 Apr 2016 17:48:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41472 invoked by uid 48); 28 Apr 2016 17:48:03 -0000 From: "wdijkstr at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70861] New: Improve code generation of switch tables Date: Thu, 28 Apr 2016 17:48: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wdijkstr at arm 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02853.txt.bz2 Content-length: 1698 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70861 Bug ID: 70861 Summary: Improve code generation of switch tables Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: wdijkstr at arm dot com Target Milestone: --- GCC uses a very basic check to determine whether to use a switch table. A simple example from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D11823 st= ill generates a huge table with mostly default entries with -O2: int i; int func(int a) { switch(a) { case 0: i =3D 20; break; case 1: i =3D 50; break; case 2: i =3D 29; break; case 3: i =3D 20; break; case 4: i =3D 50; break; case 5: i =3D 29; break; case 6: i =3D 20; break; case 7: i =3D 50; break; case 8: i =3D 29; break; case 9: i =3D 79; break; case 110: i =3D 27; break; default: i =3D 77; break; } return i; } This shows several issues: 1. The density calculation is not adjustable depending on the expected size= of switch table entries (which depends on the target). 2. A table may contain not only 90% default entries, but they can be consecutive as well. To avoid this the maximum number of default cases shou= ld be limited to say 3x the average gap between real cases. 3. There is no reduction in minimum required density for larger switches - = the wastage becomes quite significant for larger switches and targets that use 4 bytes per table entry. 4. Dense regions and outlier values are not split off and handled seperatel= y. >>From gcc-bugs-return-523641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 19:00:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54721 invoked by alias); 28 Apr 2016 19:00:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53433 invoked by uid 48); 28 Apr 2016 19:00:23 -0000 From: "gregnietsky at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/70346] [libvtv] 6.0-20160313 build succeeds, install fails: cannot stat '.libs/libvtv.a': No such file or directory Date: Thu, 28 Apr 2016 19:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gregnietsky 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02854.txt.bz2 Content-length: 3439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70346 Bill Gates changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gregnietsky at gmail dot c= om --- Comment #3 from Bill Gates --- Can confirm this problem using make v4 on x86_x32 build ...=20 make[10]: Entering directory '/var/opt/dtsbuild/src/gcc/gcc-6.1.0/build-x86_32/x86_64-linux-gnux32/32/li= bvtv' true DO=3Dinstall multi-do # make /usr/bin/mkdir -p '/usr/libx32/../lib' /bin/sh ./libtool --mode=3Dinstall /usr/bin/ginstall -c libvtv.la '/usr/libx32/../lib' libtool: install: /usr/bin/ginstall -c .libs/libvtv.so.0.0.0 /usr/libx32/../lib/libvtv.so.0.0.0 libtool: install: (cd /usr/libx32/../lib && { ln -s -f libvtv.so.0.0.0 libvtv.so.0 || { rm -f libvtv.so.0 && ln -s libvtv.so.0.0.0 libvtv.so.0; };= }) libtool: install: (cd /usr/libx32/../lib && { ln -s -f libvtv.so.0.0.0 libvtv.so || { rm -f libvtv.so && ln -s libvtv.so.0.0.0 libvtv.so; }; }) libtool: install: /usr/bin/ginstall -c .libs/libvtv.lai /usr/libx32/../lib/libvtv.la libtool: install: /usr/bin/ginstall -c .libs/libvtv.a /usr/libx32/../lib/libvtv.a /usr/bin/ginstall: cannot stat '.libs/libvtv.a': No such file or directory Makefile:414: recipe for target 'install-toolexeclibLTLIBRARIES' failed make[10]: *** [install-toolexeclibLTLIBRARIES] Error 1 make[10]: Leaving directory '/var/opt/dtsbuild/src/gcc/gcc-6.1.0/build-x86_32/x86_64-linux-gnux32/32/li= bvtv' Makefile:703: recipe for target 'install-am' failed make[9]: *** [install-am] Error 2 make[9]: Leaving directory '/var/opt/dtsbuild/src/gcc/gcc-6.1.0/build-x86_32/x86_64-linux-gnux32/32/li= bvtv' Makefile:560: recipe for target 'install-recursive' failed make[8]: *** [install-recursive] Error 1 make[8]: Leaving directory '/var/opt/dtsbuild/src/gcc/gcc-6.1.0/build-x86_32/x86_64-linux-gnux32/32/li= bvtv' Makefile:697: recipe for target 'install' failed make[7]: *** [install] Error 2 make[7]: Leaving directory '/var/opt/dtsbuild/src/gcc/gcc-6.1.0/build-x86_32/x86_64-linux-gnux32/32/li= bvtv' Makefile:853: recipe for target 'multi-do' failed make[6]: *** [multi-do] Error 1 make[6]: Leaving directory '/var/opt/dtsbuild/src/gcc/gcc-6.1.0/build-x86_32/x86_64-linux-gnux32/libvt= v' Makefile:521: recipe for target 'install-multi' failed make[5]: *** [install-multi] Error 2 make[5]: Leaving directory '/var/opt/dtsbuild/src/gcc/gcc-6.1.0/build-x86_32/x86_64-linux-gnux32/libvt= v' Makefile:703: recipe for target 'install-am' failed make[4]: *** [install-am] Error 2 make[4]: Leaving directory '/var/opt/dtsbuild/src/gcc/gcc-6.1.0/build-x86_32/x86_64-linux-gnux32/libvt= v' Makefile:560: recipe for target 'install-recursive' failed make[3]: *** [install-recursive] Error 1 make[3]: Leaving directory '/var/opt/dtsbuild/src/gcc/gcc-6.1.0/build-x86_32/x86_64-linux-gnux32/libvt= v' Makefile:697: recipe for target 'install' failed make[2]: *** [install] Error 2 make[2]: Leaving directory '/var/opt/dtsbuild/src/gcc/gcc-6.1.0/build-x86_32/x86_64-linux-gnux32/libvt= v' Makefile:15399: recipe for target 'install-target-libvtv' failed make[1]: *** [install-target-libvtv] Error 2 make[1]: Leaving directory '/var/opt/dtsbuild/src/gcc/gcc-6.1.0/build-x86_3= 2' Makefile:2323: recipe for target 'install' failed make: *** [install] Error 2 >>From gcc-bugs-return-523643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 19:02:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61787 invoked by alias); 28 Apr 2016 19:02:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61431 invoked by uid 55); 28 Apr 2016 19:01:52 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/54379] Suggestion for type attribute similar to warn_unused_result Date: Thu, 28 Apr 2016 19:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.7.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02856.txt.bz2 Content-length: 1461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54379 --- Comment #2 from Jason Merrill --- Author: jason Date: Thu Apr 28 19:01:19 2016 New Revision: 235597 URL: https://gcc.gnu.org/viewcvs?rev=3D235597&root=3Dgcc&view=3Drev Log: Implement C++17 [[nodiscard]] attribute. PR c++/38172 PR c++/54379 gcc/c-family/ * c-lex.c (c_common_has_attribute): Handle nodiscard. gcc/cp/ * parser.c (cp_parser_std_attribute): Handle [[nodiscard]]. * tree.c (handle_nodiscard_attribute): New. (cxx_attribute_table): Add [[nodiscard]]. * cvt.c (cp_get_fndecl_from_callee, cp_get_callee_fndecl): New. (maybe_warn_nodiscard): New. (convert_to_void): Call it. Added: trunk/gcc/testsuite/c-c++-common/attr-warn-unused-result.c - copied, changed from r235596, trunk/gcc/testsuite/gcc.dg/attr-warn-unused-result.c trunk/gcc/testsuite/g++.dg/cpp1z/nodiscard1.C trunk/gcc/testsuite/g++.dg/cpp1z/nodiscard2.C trunk/gcc/testsuite/g++.dg/cpp1z/nodiscard3.C trunk/gcc/testsuite/g++.dg/warn/Wunused-result-2.C Removed: trunk/gcc/testsuite/gcc.dg/attr-warn-unused-result.c Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-lex.c trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/cvt.c trunk/gcc/cp/tree.c trunk/gcc/testsuite/g++.dg/cpp1z/feat-cxx1z.C trunk/gcc/testsuite/g++.dg/warn/unused-result1.C >>From gcc-bugs-return-523642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 19:02:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61774 invoked by alias); 28 Apr 2016 19:02:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61517 invoked by uid 55); 28 Apr 2016 19:01:54 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/38172] warn_unused_result does not work with structs not containing a copy constructor Date: Thu, 28 Apr 2016 19:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.4.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jason 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02855.txt.bz2 Content-length: 1462 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D38172 --- Comment #12 from Jason Merrill --- Author: jason Date: Thu Apr 28 19:01:19 2016 New Revision: 235597 URL: https://gcc.gnu.org/viewcvs?rev=3D235597&root=3Dgcc&view=3Drev Log: Implement C++17 [[nodiscard]] attribute. PR c++/38172 PR c++/54379 gcc/c-family/ * c-lex.c (c_common_has_attribute): Handle nodiscard. gcc/cp/ * parser.c (cp_parser_std_attribute): Handle [[nodiscard]]. * tree.c (handle_nodiscard_attribute): New. (cxx_attribute_table): Add [[nodiscard]]. * cvt.c (cp_get_fndecl_from_callee, cp_get_callee_fndecl): New. (maybe_warn_nodiscard): New. (convert_to_void): Call it. Added: trunk/gcc/testsuite/c-c++-common/attr-warn-unused-result.c - copied, changed from r235596, trunk/gcc/testsuite/gcc.dg/attr-warn-unused-result.c trunk/gcc/testsuite/g++.dg/cpp1z/nodiscard1.C trunk/gcc/testsuite/g++.dg/cpp1z/nodiscard2.C trunk/gcc/testsuite/g++.dg/cpp1z/nodiscard3.C trunk/gcc/testsuite/g++.dg/warn/Wunused-result-2.C Removed: trunk/gcc/testsuite/gcc.dg/attr-warn-unused-result.c Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-lex.c trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/cvt.c trunk/gcc/cp/tree.c trunk/gcc/testsuite/g++.dg/cpp1z/feat-cxx1z.C trunk/gcc/testsuite/g++.dg/warn/unused-result1.C >>From gcc-bugs-return-523644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 19:08:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73488 invoked by alias); 28 Apr 2016 19:08:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72962 invoked by uid 48); 28 Apr 2016 19:08:08 -0000 From: "steven at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/66425] (void) cast doesn't suppress __attribute__((warn_unused_result)) Date: Thu, 28 Apr 2016 19:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: steven at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02857.txt.bz2 Content-length: 570 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66425 Steven Bosscher changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |steven at gcc dot gnu.org --- Comment #26 from Steven Bosscher --- Maybe make something like "-Wno-unused-result=3D[pedantic|nodiscard]", make= =20 strict the current semantics of the flag and nodiscard the C++17 semantics (and make that the default)? >>From gcc-bugs-return-523645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 19:19:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41022 invoked by alias); 28 Apr 2016 19:19:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40925 invoked by uid 48); 28 Apr 2016 19:19:34 -0000 From: "ryan.burn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70862] New: [concepts] adding a concept-constrained version of a variable template causes multiple definition assembler error Date: Thu, 28 Apr 2016 19:19: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.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 attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02858.txt.bz2 Content-length: 947 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70862 Bug ID: 70862 Summary: [concepts] adding a concept-constrained version of a variable template causes multiple definition assembler error Product: gcc Version: 7.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: --- Created attachment 38369 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38369&action=3Dedit reproduces the bug The attached code should be valid and compiles with an older version of gcc (20160120), but now breaks with (20160428) giving the following error: /tmp/ccthKyXf.s: Assembler messages: /tmp/ccthKyXf.s:269: Error: symbol `_ZN4echo3htl14detail_conceptL23mappable_predicate_implE' is already defined >>From gcc-bugs-return-523646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 19:26:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79771 invoked by alias); 28 Apr 2016 19:26:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79608 invoked by uid 48); 28 Apr 2016 19:25:48 -0000 From: "ryan.burn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70862] [concepts] adding a concept-constrained version of a variable template causes multiple definition assembler error Date: Thu, 28 Apr 2016 19:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02859.txt.bz2 Content-length: 411 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70862 --- Comment #1 from ryan.burn at gmail dot com --- Simpler reproduction: template concept bool C =3D true; template constexpr bool a =3D false; template requires C constexpr bool a =3D true; template requires a void f(Tx...) { } int main() { f(); f(3); return 0; } >>From gcc-bugs-return-523647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 19:34:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95616 invoked by alias); 28 Apr 2016 19:34:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95362 invoked by uid 55); 28 Apr 2016 19:34:06 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70858] __builtin_ia32_bextr_u64 ICE with '-m32 -march=core-avx2' Date: Thu, 28 Apr 2016 19:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02860.txt.bz2 Content-length: 834 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70858 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Thu Apr 28 19:33:34 2016 New Revision: 235607 URL: https://gcc.gnu.org/viewcvs?rev=3D235607&root=3Dgcc&view=3Drev Log: PR target/70858 * config/i386/i386.c (bdesc_special_args): Add | OPTION_MASK_ISA_64= BIT to __builtin_ia32_lwpval64 and __builtin_ia32_lwpins64. (bdesc_args): Add | OPTION_MASK_ISA_64BIT to __builtin_ia32_bextr_u= 64, __builtin_ia32_bextri_u64, __builtin_ia32_bzhi_di, __builtin_ia32_pdep_di and __builtin_ia32_pext_di. * gcc.target/i386/pr70858.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr70858.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 19:43:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 131044 invoked by alias); 28 Apr 2016 19:43:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129572 invoked by uid 48); 28 Apr 2016 19:43:33 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70861] Improve code generation of switch tables Date: Thu, 28 Apr 2016 19:43: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.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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02861.txt.bz2 Content-length: 294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70861 --- Comment #1 from Andrew Pinski --- I think we should turn this into the following: ((unsigned)a) <=3D 9 ? table[a] : (a =3D=3D 110 ? 27 : 77); That is pull out the 110/default case so table would be small. >>From gcc-bugs-return-523649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 19:45:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10889 invoked by alias); 28 Apr 2016 19:45:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10512 invoked by uid 48); 28 Apr 2016 19:45:12 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70861] Improve code generation of switch tables Date: Thu, 28 Apr 2016 19:45: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.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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02862.txt.bz2 Content-length: 331 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70861 --- Comment #2 from Andrew Pinski --- Note I think if we had gotos instead of assignment here we should do the similar thing for the switch table itself. Note also the assignment to i is getting in the way for the switch to const= ant table form. >>From gcc-bugs-return-523650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 19:46:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12467 invoked by alias); 28 Apr 2016 19:46:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12283 invoked by uid 55); 28 Apr 2016 19:46:20 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70858] __builtin_ia32_bextr_u64 ICE with '-m32 -march=core-avx2' Date: Thu, 28 Apr 2016 19:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02863.txt.bz2 Content-length: 898 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70858 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Thu Apr 28 19:45:48 2016 New Revision: 235609 URL: https://gcc.gnu.org/viewcvs?rev=3D235609&root=3Dgcc&view=3Drev Log: PR target/70858 * config/i386/i386.c (bdesc_special_args): Add | OPTION_MASK_ISA_64= BIT to __builtin_ia32_lwpval64 and __builtin_ia32_lwpins64. (bdesc_args): Add | OPTION_MASK_ISA_64BIT to __builtin_ia32_bextr_u= 64, __builtin_ia32_bextri_u64, __builtin_ia32_bzhi_di, __builtin_ia32_pdep_di and __builtin_ia32_pext_di. * gcc.target/i386/pr70858.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr70858.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/i386/i386.c branches/gcc-6-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 19:47:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18822 invoked by alias); 28 Apr 2016 19:47:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18611 invoked by uid 55); 28 Apr 2016 19:47:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70858] __builtin_ia32_bextr_u64 ICE with '-m32 -march=core-avx2' Date: Thu, 28 Apr 2016 19:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02864.txt.bz2 Content-length: 898 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70858 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Thu Apr 28 19:47:06 2016 New Revision: 235610 URL: https://gcc.gnu.org/viewcvs?rev=3D235610&root=3Dgcc&view=3Drev Log: PR target/70858 * config/i386/i386.c (bdesc_special_args): Add | OPTION_MASK_ISA_64= BIT to __builtin_ia32_lwpval64 and __builtin_ia32_lwpins64. (bdesc_args): Add | OPTION_MASK_ISA_64BIT to __builtin_ia32_bextr_u= 64, __builtin_ia32_bextri_u64, __builtin_ia32_bzhi_di, __builtin_ia32_pdep_di and __builtin_ia32_pext_di. * gcc.target/i386/pr70858.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr70858.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/i386/i386.c branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 19:52:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51108 invoked by alias); 28 Apr 2016 19:52:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50948 invoked by uid 55); 28 Apr 2016 19:52:34 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70858] __builtin_ia32_bextr_u64 ICE with '-m32 -march=core-avx2' Date: Thu, 28 Apr 2016 19:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02865.txt.bz2 Content-length: 906 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70858 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Thu Apr 28 19:52:02 2016 New Revision: 235611 URL: https://gcc.gnu.org/viewcvs?rev=3D235611&root=3Dgcc&view=3Drev Log: PR target/70858 * config/i386/i386.c (bdesc_special_args): Add | OPTION_MASK_ISA_64= BIT to __builtin_ia32_lwpval64 and __builtin_ia32_lwpins64. (bdesc_args): Add | OPTION_MASK_ISA_64BIT to __builtin_ia32_bextr_u= 64, __builtin_ia32_bextri_u64, __builtin_ia32_bzhi_di, __builtin_ia32_pdep_di and __builtin_ia32_pext_di. * gcc.target/i386/pr70858.c: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.target/i386/pr70858.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/config/i386/i386.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 19:53:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52110 invoked by alias); 28 Apr 2016 19:53:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51214 invoked by uid 48); 28 Apr 2016 19:52:48 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70858] __builtin_ia32_bextr_u64 ICE with '-m32 -march=core-avx2' Date: Thu, 28 Apr 2016 19:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02866.txt.bz2 Content-length: 434 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70858 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Jakub Jelinek --- Fixed everywhere. >>From gcc-bugs-return-523654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 19:59:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93824 invoked by alias); 28 Apr 2016 19:59:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93598 invoked by uid 48); 28 Apr 2016 19:59:09 -0000 From: "ville.voutilainen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70845] [6/7 Regression] inherited piecewise_construct_t constructor from std::pair by "using-declarations" is missing Date: Thu, 28 Apr 2016 19:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: ville.voutilainen 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02867.txt.bz2 Content-length: 2364 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70845 Ville Voutilainen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ville.voutilainen at gmail= dot com --- Comment #6 from Ville Voutilainen = --- Here's a test snippet without library types. Clang accepts the code, gcc rejects it. template struct holder { T t; }; template =20 struct tuple_holder : holder { tuple_holder(Args&&... args) : holder{static_cast(args)}.= .. {} tuple_holder(const tuple_holder&) =3D default; tuple_holder(tuple_holder&&) =3D default; }; template struct my_pair { template my_pair(tuple_holder) {} my_pair(const my_pair&) =3D default; }; template struct my_real_pair : my_pair { using my_pair::my_pair; }; int main() { my_real_pair(tuple_holder(1)); } prog.cc: In constructor 'my_real_pair::my_real_pair(tuple_holder) [with Args =3D {int&&}]': prog.cc:26:26: error: use of deleted function 'tuple_holder::tuple_holder(const tuple_holder&) [with Args =3D {int&&}]' using my_pair::my_pair; ^~~~~~~ prog.cc:11:5: note: 'tuple_holder::tuple_holder(const tuple_holder&) [with Args =3D {int&&}]' is implicitly deleted because= the default definition would be ill-formed: tuple_holder(const tuple_holder&) =3D default; ^~~~~~~~~~~~ prog.cc:11:5: error: use of deleted function 'holder::holder(const holder&)' prog.cc:2:8: note: 'holder::holder(const holder&)' is implici= tly deleted because the default definition would be ill-formed: struct holder ^~~~~~ prog.cc:2:8: error: copying non-static data member 'int&& holder::t'= of rvalue reference type prog.cc: In function 'int main()': prog.cc:31:52: note: synthesized method 'my_real_pair::my_real_pair(tuple_holder) [with Args =3D {int&&}]' first required here=20 my_real_pair(tuple_holder(1)); ^ >>From gcc-bugs-return-523655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 20:01:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98129 invoked by alias); 28 Apr 2016 20:01:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97750 invoked by uid 48); 28 Apr 2016 20:00:59 -0000 From: "ville.voutilainen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70845] [6/7 Regression] inherited piecewise_construct_t constructor from std::pair by "using-declarations" is missing Date: Thu, 28 Apr 2016 20:01: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: 6.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: ville.voutilainen 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02868.txt.bz2 Content-length: 561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70845 Ville Voutilainen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at redhat dot com --- Comment #7 from Ville Voutilainen = --- If I use my_pair directly, gcc accepts the code. Once the inherited constru= ctor and my_real_pair are thrown into the mix, gcc starts rejecting the code. >>From gcc-bugs-return-523656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 20:16:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80377 invoked by alias); 28 Apr 2016 20:16:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 80217 invoked by uid 48); 28 Apr 2016 20:16:34 -0000 From: "weiqun.zhang at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70863] New: Finalization of array of derived type causes segfault Date: Thu, 28 Apr 2016 20:16: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: weiqun.zhang at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02869.txt.bz2 Content-length: 727 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70863 Bug ID: 70863 Summary: Finalization of array of derived type causes segfault Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: weiqun.zhang at gmail dot com Target Milestone: --- Created attachment 38370 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38370&action=3Dedit A program demonstrating the problem. In the attached program, there is a derived type named c, which contains an array of derived type b. The finalization of a c object causes segfault. >>From gcc-bugs-return-523657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 20:20:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86239 invoked by alias); 28 Apr 2016 20:20:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86012 invoked by uid 48); 28 Apr 2016 20:20:23 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70668] nds32-elf toolchain fails to compile on OSX Date: Thu, 28 Apr 2016 20:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02870.txt.bz2 Content-length: 589 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70668 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-28 CC| |segher at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #7 from Segher Boessenkool --- Fixed on trunk, backports pending. >>From gcc-bugs-return-523658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 20:23:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88936 invoked by alias); 28 Apr 2016 20:23:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88680 invoked by uid 48); 28 Apr 2016 20:22:48 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68803] gcc.vect/powerpc/20050603-3.c failures since r230167 Date: Thu, 28 Apr 2016 20: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.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02871.txt.bz2 Content-length: 301 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68803 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|SUSPENDED |ASSIGNED >>From gcc-bugs-return-523659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 21:04:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8081 invoked by alias); 28 Apr 2016 21:04:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7948 invoked by uid 48); 28 Apr 2016 21:04:10 -0000 From: "weiqun.zhang at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70864] New: internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1403 Date: Thu, 28 Apr 2016 21:04: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: weiqun.zhang at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02872.txt.bz2 Content-length: 1690 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70864 Bug ID: 70864 Summary: internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1403 Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: weiqun.zhang at gmail dot com Target Milestone: --- Created attachment 38371 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38371&action=3Dedit code demonstrating the problem Internal compiler error is encountered when compiling the attached code: $ gfortran -c mymod.f90=20 mymod.f90:31:0: end module multifab_module internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:14= 03 0x69f0eb gfc_get_symbol_decl(gfc_symbol*) ../../../src/gcc-6.1.0/gcc/fortran/trans-decl.c:1403 0x6a13a7 generate_local_decl ../../../src/gcc-6.1.0/gcc/fortran/trans-decl.c:5220 0x66a1db do_traverse_symtree ../../../src/gcc-6.1.0/gcc/fortran/symbol.c:3817 0x6a1fda generate_local_vars ../../../src/gcc-6.1.0/gcc/fortran/trans-decl.c:5410 0x6a1fda gfc_generate_function_code(gfc_namespace*) ../../../src/gcc-6.1.0/gcc/fortran/trans-decl.c:6089 0x682281 gfc_generate_module_code(gfc_namespace*) ../../../src/gcc-6.1.0/gcc/fortran/trans.c:2058 0x63af8d translate_all_program_units ../../../src/gcc-6.1.0/gcc/fortran/parse.c:5600 0x63af8d gfc_parse_file() ../../../src/gcc-6.1.0/gcc/fortran/parse.c:5819 0x67c0d5 gfc_be_parse_file ../../../src/gcc-6.1.0/gcc/fortran/f95-lang.c:201 >>From gcc-bugs-return-523660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 21:15:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106256 invoked by alias); 28 Apr 2016 21:15:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93479 invoked by uid 48); 28 Apr 2016 21:15:19 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70507] integer overflow builtins not constant expressions Date: Thu, 28 Apr 2016 21:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02873.txt.bz2 Content-length: 573 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70507 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-04-28 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot g= nu.org Ever confirmed|0 |1 --- Comment #3 from Martin Sebor --- Testing a patch. >>From gcc-bugs-return-523661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 21:19:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116129 invoked by alias); 28 Apr 2016 21:19:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115921 invoked by uid 48); 28 Apr 2016 21:18:50 -0000 From: "bill at baddogconsulting dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/70850] Bootstrap fails building libgo: gccgo: error: ../x86_64-pc-linux-gnu/libgo/zstdpkglist.go: No such file or directory Date: Thu, 28 Apr 2016 21:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: bill at baddogconsulting dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02874.txt.bz2 Content-length: 457 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70850 Bill Deegan changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Bill Deegan --- That did the trick. Thanks!. >>From gcc-bugs-return-523662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 21:32:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18524 invoked by alias); 28 Apr 2016 21:32:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13935 invoked by uid 48); 28 Apr 2016 21:32:30 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70552] __builtin_constant_p fails to reflect the constness of constexpr calls Date: Thu, 28 Apr 2016 21:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02875.txt.bz2 Content-length: 165 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70552 --- Comment #6 from Martin Sebor --- See also bug 54021 for additional background. >>From gcc-bugs-return-523663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 21:46:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101588 invoked by alias); 28 Apr 2016 21:46:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101467 invoked by uid 48); 28 Apr 2016 21:46:23 -0000 From: "anlauf at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70855] [6 Regression] ICE with -fopenmp in gfc_trans_omp_workshare(): Bad statement code Date: Thu, 28 Apr 2016 21: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gmx 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02876.txt.bz2 Content-length: 472 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70855 Harald Anlauf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gmx dot de --- Comment #1 from Harald Anlauf --- The ICE disappears with -fno-frontend-optimize. Possibly related to the recent attempts to inline matmul? >>From gcc-bugs-return-523664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 21:47:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103080 invoked by alias); 28 Apr 2016 21:47:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102860 invoked by uid 48); 28 Apr 2016 21:47:15 -0000 From: "wdijkstr at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70861] Improve code generation of switch tables Date: Thu, 28 Apr 2016 21:47: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wdijkstr at arm 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02877.txt.bz2 Content-length: 942 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70861 --- Comment #3 from Wilco --- (In reply to Andrew Pinski from comment #2) > Note I think if we had gotos instead of assignment here we should do the > similar thing for the switch table itself. Absolutely, that was my point. > Note also the assignment to i is getting in the way for the switch to > constant table form. In SSA form you can sink the assignments into a shared block, so it should = be able deal with an identical assignment to a global, pointer, array or even returning directly. Also it's common that the default or a few other cases = are doing something different, so those need to be pulled out separately. However that's icing on the cake - the key issue is that GCC doesn't even do the basic stuff yet. Most compilers are able to split off cases with high profile counts, dense switch tables, ranges that all go to the same block e= tc. >>From gcc-bugs-return-523665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 22:05:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15568 invoked by alias); 28 Apr 2016 22:05:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14449 invoked by uid 48); 28 Apr 2016 22:05:40 -0000 From: "ryan.burn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/65960] ICE in Cilk spawn with argument with non-trivial constructor Date: Thu, 28 Apr 2016 22:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ryan.burn 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02878.txt.bz2 Content-length: 404 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65960 ryan.burn at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ryan.burn at gmail dot com --- Comment #2 from ryan.burn at gmail dot com --- This should be fixed now. I just checked with gcc-7. >>From gcc-bugs-return-523667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 22:10:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20288 invoked by alias); 28 Apr 2016 22:10:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20102 invoked by uid 48); 28 Apr 2016 22:09:55 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/69582] [meta-bug] Cilk+ Date: Thu, 28 Apr 2016 22:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02880.txt.bz2 Content-length: 488 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69582 Bug 69582 depends on bug 65960, which changed state. Bug 65960 Summary: ICE in Cilk spawn with argument with non-trivial constru= ctor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65960 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-523666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 22:10:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20278 invoked by alias); 28 Apr 2016 22:10:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20065 invoked by uid 48); 28 Apr 2016 22:09:54 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/65960] ICE in Cilk spawn with argument with non-trivial constructor Date: Thu, 28 Apr 2016 22:10: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.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02879.txt.bz2 Content-length: 421 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65960 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Jeffrey A. Law --- Per c#2. >>From gcc-bugs-return-523668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 22:23:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68713 invoked by alias); 28 Apr 2016 22:23:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68262 invoked by uid 48); 28 Apr 2016 22:22:55 -0000 From: "ryan.burn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70865] New: [cilkplus] errors when using cilk features with precompiled headers Date: Thu, 28 Apr 2016 22:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.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 attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02881.txt.bz2 Content-length: 2329 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70865 Bug ID: 70865 Summary: [cilkplus] errors when using cilk features with precompiled headers Product: gcc Version: 6.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: --- Created attachment 38372 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38372&action=3Dedit example that reproduces the problem Using cilk features in a precompiled header file causes various compilation bugs if the options "-std=3Dc++1z" and "-fconcepts" are also used. I attach= ed an example that reproduces the bug. The code should compile fine (and does so,= if not using a pch or not using cilk features), but depending on what options = are used, gcc produces these different errors. Using both "-std=3Dc++1z -fconcepts -fcilkplus" (reproduced with Makefile), causes the error: cc1plus: error: using result of function returning =E2=80=98void=E2=80=99 (null):0: confused by earlier errors, bailing out make: *** [a] Error 1 Using just "-std=3Dc++1z" (Makefile.v2), causes the error: cc1plus: internal compiler error: Segmentation fault 0xb45bff crash_signal ../../gcc/gcc/toplev.c:333 0x95565c gimplify_call_expr ../../gcc/gcc/gimplify.c:2486 0x94d339 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc/gcc/gimplify.c:10258 0x95a381 force_gimple_operand_1(tree_node*, gimple**, bool (*)(tree_node*), tree_node*) ../../gcc/gcc/gimplify-me.c:78 0x95a47f force_gimple_operand_gsi_1(gimple_stmt_iterator*, tree_node*, bool (*)(tree_node*), tree_node*, bool, gsi_iterator_update) ../../gcc/gcc/gimplify-me.c:115 0xa5a757 expand_task_call ../../gcc/gcc/omp-low.c:6865 0xa5a757 expand_omp_taskreg ../../gcc/gcc/omp-low.c:7423 0xa6103f expand_omp ../../gcc/gcc/omp-low.c:13799 0xa637ad execute_expand_omp ../../gcc/gcc/omp-low.c:14028 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. make: *** [a] Error 1 >>From gcc-bugs-return-523669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 22:23:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69829 invoked by alias); 28 Apr 2016 22:23:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69710 invoked by uid 55); 28 Apr 2016 22:23:33 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70843] [7 Regression] ICE in add_expr, at tree.c:7913 Date: Thu, 28 Apr 2016 22:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-checking X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02882.txt.bz2 Content-length: 694 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70843 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Thu Apr 28 22:23:01 2016 New Revision: 235615 URL: https://gcc.gnu.org/viewcvs?rev=3D235615&root=3Dgcc&view=3Drev Log: PR middle-end/70843 * fold-const.c (operand_equal_p): Don't verify hash value equality if arg0 =3D=3D arg1. * tree.c (inchash::add_expr): Handle STATEMENT_LIST. Ignore BLOCK and OMP_CLAUSE. * gcc.dg/pr70843.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr70843.c Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog trunk/gcc/tree.c >>From gcc-bugs-return-523670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 22:28:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90548 invoked by alias); 28 Apr 2016 22:28:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90319 invoked by uid 48); 28 Apr 2016 22:28:42 -0000 From: "ryan.burn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/69582] [meta-bug] Cilk+ Date: Thu, 28 Apr 2016 22:28: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: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: ryan.burn 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02883.txt.bz2 Content-length: 201 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69582 --- Comment #6 from ryan.burn at gmail dot com --- There's also some issues with cilk features and precompiled headers. I put = in 70865 to track. >>From gcc-bugs-return-523671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 22:30:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92718 invoked by alias); 28 Apr 2016 22:30:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92561 invoked by uid 48); 28 Apr 2016 22:30:15 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70843] [7 Regression] ICE in add_expr, at tree.c:7913 Date: Thu, 28 Apr 2016 22:30: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.0 X-Bugzilla-Keywords: ice-checking X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02884.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70843 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-523672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 28 23:01:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12077 invoked by alias); 28 Apr 2016 23:01:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11933 invoked by uid 48); 28 Apr 2016 23:01:11 -0000 From: "ryan.burn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/63142] gcc-cilk can not spawn a function template Date: Thu, 28 Apr 2016 23: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: 4.9.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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02885.txt.bz2 Content-length: 409 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63142 ryan.burn at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ryan.burn at gmail dot com --- Comment #2 from ryan.burn at gmail dot com --- I checked and this looks like it compiles fine with gcc7. >>From gcc-bugs-return-523673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 00:18:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12436 invoked by alias); 29 Apr 2016 00:18:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12069 invoked by uid 55); 29 Apr 2016 00:18:46 -0000 From: "jonwilliams0000 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug java/70839] [5/6/7 regression] Every libjava execution test FAILs: Incorrect library ABI version detected Date: Fri, 29 Apr 2016 00:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: java X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: jonwilliams0000 at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02886.txt.bz2 Content-length: 739 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70839 --- Comment #9 from jonwilliams0000 at gmail dot com --- unsubscribe On Thu, Apr 28, 2016 at 10:37 AM, doko at gcc dot gnu.org < gcc-bugzilla@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70839 > > --- Comment #7 from Matthias Klose --- > Author: doko > Date: Thu Apr 28 16:37:27 2016 > New Revision: 235582 > > URL: https://gcc.gnu.org/viewcvs?rev=3D235582&root=3Dgcc&view=3Drev > Log: > 2016-04-28 Rainer Orth > > PR java/70839 > * decl.c (parse_version): Remove minor handling. > > Modified: > branches/gcc-5-branch/gcc/java/ChangeLog > branches/gcc-5-branch/gcc/java/decl.c >>From gcc-bugs-return-523674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 00:42:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34312 invoked by alias); 29 Apr 2016 00:42:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34193 invoked by uid 48); 29 Apr 2016 00:42:11 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68120] can't easily deal with integer overflow at compile time Date: Fri, 29 Apr 2016 00:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02887.txt.bz2 Content-length: 563 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68120 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot g= nu.org Known to fail| |4.9.3, 5.3.0, 6.0 --- Comment #4 from Martin Sebor --- Testing a patch for this bug as well as bug 70507. >>From gcc-bugs-return-523675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 01:02:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42311 invoked by alias); 29 Apr 2016 01:02:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42133 invoked by uid 48); 29 Apr 2016 01:02:38 -0000 From: "amodra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70826] [7 regression] many test cases fail starting with r235442 Date: Fri, 29 Apr 2016 01:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02888.txt.bz2 Content-length: 515 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70826 Alan Modra changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amodra at gmail dot com --- Comment #8 from Alan Modra --- cr2, cr3 and cr4 are supposed to be non-volatile, ie. callee saved. INIT_R= EGS initialises cr2,3,4 to particular values, that are checked later. >>From gcc-bugs-return-523676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 01:41:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67843 invoked by alias); 29 Apr 2016 01:41:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67658 invoked by uid 48); 29 Apr 2016 01:41:11 -0000 From: "amodra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70826] [7 regression] many test cases fail starting with r235442 Date: Fri, 29 Apr 2016 01:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02889.txt.bz2 Content-length: 678 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70826 Alan Modra changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-04-29 Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot= com Ever confirmed|0 |1 --- Comment #9 from Alan Modra --- It looks like a testcase bug. -frename-regs happens to make main() use cr2, and there doesn't seem to be anything to prevent that. >>From gcc-bugs-return-523677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 03:34:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68331 invoked by alias); 29 Apr 2016 03:34:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68213 invoked by uid 48); 29 Apr 2016 03:34:18 -0000 From: "jeffbai at aosc dot xyz" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70831] [6/7 Regression] FTBFS: Build fails with bootstrap-lto and profiledbootstrap Date: Fri, 29 Apr 2016 03:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: build, lto X-Bugzilla-Severity: normal X-Bugzilla-Who: jeffbai at aosc dot xyz 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02890.txt.bz2 Content-length: 359 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70831 --- Comment #3 from Jeff Bai --- (In reply to Richard Biener from comment #2) > You'll eventually run into PR60277 as well. Probably requires > --enable-checking=3Drelease to trigger. I do apologize for my limited knowledge, but what is the relevance in this report with that? >>From gcc-bugs-return-523678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 04:15:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28883 invoked by alias); 29 Apr 2016 04:15:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28475 invoked by uid 48); 29 Apr 2016 04:14:56 -0000 From: "awygle at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70063] msp430 stack corruption for naked functions Date: Fri, 29 Apr 2016 04:15: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: awygle 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02891.txt.bz2 Content-length: 153 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70063 --- Comment #3 from Andrew Wygle --- This appears to be fixed in GCC 6.1 >>From gcc-bugs-return-523679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 05:01:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116725 invoked by alias); 29 Apr 2016 05:01:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 116678 invoked by uid 48); 29 Apr 2016 05:01:10 -0000 From: "amodra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70866] New: powerpc64le -ffixed-cr2 -ffixed-cr3 -ffixed-cr4 ICE Date: Fri, 29 Apr 2016 05:01: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: amodra 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02892.txt.bz2 Content-length: 692 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70866 Bug ID: 70866 Summary: powerpc64le -ffixed-cr2 -ffixed-cr3 -ffixed-cr4 ICE Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- /* { dg-do compile } */ /* { dg-options "-ffixed-cr2 -ffixed-cr3 -ffixed-cr4" } */ #define SET_CR(R,V) __asm__ __volatile__ ("mtcrf %0,%1" : : "n" (1<<(7-R)),= "r" (V<<(4*(7-R))) : "cr" #R) void foo (void) { SET_CR (2, 7); SET_CR (3, 8); SET_CR (4, 9); } >>From gcc-bugs-return-523680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 05:02:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117665 invoked by alias); 29 Apr 2016 05:02:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 117562 invoked by uid 48); 29 Apr 2016 05:01:56 -0000 From: "amodra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70866] powerpc64le -ffixed-cr2 -ffixed-cr3 -ffixed-cr4 ICE Date: Fri, 29 Apr 2016 05: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02893.txt.bz2 Content-length: 545 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70866 Alan Modra changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |powerpc64le Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-04-29 Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot= com Ever confirmed|0 |1 >>From gcc-bugs-return-523681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 05:42:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72599 invoked by alias); 29 Apr 2016 05:42:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72392 invoked by uid 48); 29 Apr 2016 05:41:58 -0000 From: "ishitatsuyuki at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/47226] [C++0x] GCC doesn't expand template parameter pack that appears in a lambda-expression Date: Fri, 29 Apr 2016 05:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ishitatsuyuki 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02894.txt.bz2 Content-length: 566 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D47226 Tatsuyuki Ishi changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ishitatsuyuki at gmail dot= com --- Comment #7 from Tatsuyuki Ishi --- I'm suffering from this bug too. It currently break my CI since I can't use clang too due to ABI changes. This is 3 years-old: I hope someone will take a look on it. >>From gcc-bugs-return-523682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 05:49:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24498 invoked by alias); 29 Apr 2016 05:49:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6239 invoked by uid 48); 29 Apr 2016 05:48:59 -0000 From: "nicolas.boulenguez at free dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70867] New: access discriminant in return aggregate detected as dangling if set from an implicit dereference in generic package Date: Fri, 29 Apr 2016 05:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nicolas.boulenguez at free dot fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02895.txt.bz2 Content-length: 3627 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70867 Bug ID: 70867 Summary: access discriminant in return aggregate detected as dangling if set from an implicit dereference in generic package Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: nicolas.boulenguez at free dot fr Target Milestone: --- Hello. With GCC-6 (Debian 6.0.1-2) 6.0.1 20160423 (prerelease), compiling the following package with "gcc-6 -c p.adb" fails: p.adb:4:20: access discriminant in return aggregate would be a dangling reference The code compiles - if the "generic" line is removed - or if ".all" is inserted between "Position" and ".Item'Access" I am not sure whether returning this reference is allowed by the Ada Refere= nce Manual, but the semantics of "generic" and ".all" should certainly not affect the answer. -- Content of p.ads. generic=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 package P is=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 type T (D : access Integer) is null record;=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 type R is record=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Item : aliased Integer;=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 end record;=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 function F (Position : access R) return T;=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 end P;=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 -- Content of p.adb. package body P is=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 function F (Position : access R) return T is=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 begin=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 return (D =3D> Position.Item'Access);=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 end F;=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 end P; >>From gcc-bugs-return-523683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 06:01:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114645 invoked by alias); 29 Apr 2016 06:01:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114153 invoked by uid 48); 29 Apr 2016 06:01:39 -0000 From: "sthalik at misaki dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/66488] segfault on sizeof(long) < sizeof(void*) and large GCC memory usage Date: Fri, 29 Apr 2016 06:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 5.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sthalik at misaki dot pl 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02896.txt.bz2 Content-length: 195 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66488 --- Comment #9 from Stanis=C5=82aw Halik --- I'm sorry to be bumping this issue but it's been months. cheers, sh >>From gcc-bugs-return-523684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 06:35:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48283 invoked by alias); 29 Apr 2016 06:35:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48142 invoked by uid 48); 29 Apr 2016 06:35:13 -0000 From: "sethml at ofb dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70868] New: Assigning constructed temporary of class with nontrivial constructor uses unnecessary temporary Date: Fri, 29 Apr 2016 06:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sethml at ofb dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02897.txt.bz2 Content-length: 2730 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70868 Bug ID: 70868 Summary: Assigning constructed temporary of class with nontrivial constructor uses unnecessary temporary Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sethml at ofb dot net Target Milestone: --- It's a common C++ idiom to clear a struct by assigning a default-constructed instance to it: struct Foo1 { int x; int array[2000]; } foo1; void clearFoo1() { foo1 =3D Foo1(); } When compiled with -O2, this produces efficient assembly equivalent to "memset(&foo1, 0, sizeof(foo1))". However, throw in a nontrivial constructor via C++11 assignment initialization: struct Foo2 { int x =3D 0; int array[2000]; } foo2; void clearFoo2() { foo2 =3D Foo2(); } While compiled with -cstd=3Dc++11 -O2, the resulting assembly allocates a temporary on the stack and copies it, equivalent to: void clearFoo2() { char temp[sizeof(foo2)]; memset(temp, 0, sizeof(foo2)); memcpy(foo2, temp, sizeof(foo2)); } Besides being inefficient, the resulting code uses far more stack than expected. In my case, my embedded firmware was crashing due to stack exhaustion! Here's a godbolt link with the code above: https://godbolt.org/g/QYLq9L The resulting x86-64 assembly is: clearFoo1(): movl $foo1, %edi movl $1000, %ecx xorl %eax, %eax rep stosq movl $0, (%rdi) ret clearFoo2(): subq $7904, %rsp xorl %eax, %eax movl $1000, %ecx leaq -120(%rsp), %rdi leaq -120(%rsp), %rsi rep stosq movl $1000, %ecx movl $0, (%rdi) movl $foo2, %edi rep movsq movl %eax, (%rdi) addq $7904, %rsp ret The result is the same with a variety of similar idioms: foo2 =3D Foo2(); foo2 =3D Foo2{}; foo2 =3D {}; The problem appears to have been in all old versions of gcc I've tested, up= to 6.1.0. I haven't tested head. Clang >=3D 3.7 produces efficient code. Clang= <=3D 3.6 produces a temporary and copy for both cases (clearFoo1 and clearFoo2). In my codebase, assigning a default-constructed object is a common way to c= lear a struct. Using memset() directly, besides being ugly, would fail to set nontrivial members and members with non-zero default values correctly. The = best workaround I've found is to use placement new: void clearFoo2PlacementNew() { foo2.~Foo2(); new (&foo2) Foo2(); } Ugh. >>From gcc-bugs-return-523685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 06:42:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124785 invoked by alias); 29 Apr 2016 06:42:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121333 invoked by uid 48); 29 Apr 2016 06:42:29 -0000 From: "demoonlit at panathenaia dot halfmoon.jp" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70867] access discriminant in return aggregate detected as dangling if set from an implicit dereference in generic package Date: Fri, 29 Apr 2016 06:42: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: demoonlit at panathenaia dot halfmoon.jp 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02898.txt.bz2 Content-length: 1190 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70867 yuta tomino changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |demoonlit at panathenaia d= ot halfm | |oon.jp --- Comment #1 from yuta tomino = --- Hello. I have encountered a similar case, too. package p is type T (D : access constant Integer) is null record;=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 type R is limited record Component : aliased Integer; end record; function F (Object : R) return T is (D =3D> Object.Component'Access); end p; p.ads:7:12: access discriminant in return aggregate would be a dangling reference Inserting "aliased" between "Object :" and "R" resolves it. However, "Object : R" is already passed by reference without aliased, becau= se in RM 6.2(7/3), an explicitly limited record type is a by-reference type un= less aliased. So, it does not make a dangling reference. >>From gcc-bugs-return-523686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 07:07:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110124 invoked by alias); 29 Apr 2016 07:07:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110034 invoked by uid 48); 29 Apr 2016 07:07:23 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70867] [6 regression] access discriminant in return aggregate wrongly detected as dangling Date: Fri, 29 Apr 2016 07:07: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02899.txt.bz2 Content-length: 1010 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70867 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-29 CC| |ebotcazou at gcc dot gnu.o= rg Target Milestone|--- |6.2 Summary|access discriminant in |[6 regression] access |return aggregate detected |discriminant in return |as dangling if set from an |aggregate wrongly detected |implicit dereference in |as dangling |generic package | Ever confirmed|0 |1 --- Comment #2 from Eric Botcazou --- Confirmed, the implementation of the new check overlooks several cases. >>From gcc-bugs-return-523687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 07:26:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122692 invoked by alias); 29 Apr 2016 07:26:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122524 invoked by uid 48); 29 Apr 2016 07:25:50 -0000 From: "thomas.helfer at cea dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70869] New: internal compiler error: Segmentation fault on array of pointer to function members Date: Fri, 29 Apr 2016 07:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: thomas.helfer at cea dot fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02900.txt.bz2 Content-length: 3993 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70869 Bug ID: 70869 Summary: internal compiler error: Segmentation fault on array of pointer to function members Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: thomas.helfer at cea dot fr Target Milestone: --- Created attachment 38373 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38373&action=3Dedit test file reproducing the bug Hi, The bug seems new in gcc 6.1. It happens when parsing expression such as: for(const auto& m: {&A::f,&A::f2}){ See the test in attachment which works with previous versions (4.7, 4.9, 5.= 1, 5.2). This is the output of gcc on my Linux (Debian jessie) box: g++ -v -save-temps test.cxx -o test Using built-in specs. COLLECT_GCC=3Dg++ COLLECT_LTO_WRAPPER=3D/media/th202608/0ed06489-8de7-451c-9cf5-7c6d11bec927/= codes/gcc/6.1.0/install/libexec/gcc/x86_64-pc-linux-gnu/6.1.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-6.1.0/configure --prefix=3D/media/th202608/0ed06489-8de7-451c-9cf5-7c6d11bec927/codes/gcc/6= .1.0/install Thread model: posix gcc version 6.1.0 (GCC)=20 COLLECT_GCC_OPTIONS=3D'-v' '-save-temps' '-o' 'test' '-shared-libgcc' '-mtune=3Dgeneric' '-march=3Dx86-64' /media/th202608/0ed06489-8de7-451c-9cf5-7c6d11bec927/codes/gcc/6.1.0/instal= l/libexec/gcc/x86_64-pc-linux-gnu/6.1.0/cc1plus -E -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE test.cxx -mtune=3Dg= eneric -march=3Dx86-64 -fpch-preprocess -o test.ii ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" ignoring nonexistent directory "/media/th202608/0ed06489-8de7-451c-9cf5-7c6d11bec927/codes/gcc/6.1.0/insta= ll/lib/gcc/x86_64-pc-linux-gnu/6.1.0/../../../../x86_64-pc-linux-gnu/includ= e" #include "..." search starts here: #include <...> search starts here: /media/th202608/0ed06489-8de7-451c-9cf5-7c6d11bec927/codes/gcc/6.1.0/instal= l/lib/gcc/x86_64-pc-linux-gnu/6.1.0/../../../../include/c++/6.1.0 /media/th202608/0ed06489-8de7-451c-9cf5-7c6d11bec927/codes/gcc/6.1.0/instal= l/lib/gcc/x86_64-pc-linux-gnu/6.1.0/../../../../include/c++/6.1.0/x86_64-pc= -linux-gnu /media/th202608/0ed06489-8de7-451c-9cf5-7c6d11bec927/codes/gcc/6.1.0/instal= l/lib/gcc/x86_64-pc-linux-gnu/6.1.0/../../../../include/c++/6.1.0/backward /media/th202608/0ed06489-8de7-451c-9cf5-7c6d11bec927/codes/gcc/6.1.0/instal= l/lib/gcc/x86_64-pc-linux-gnu/6.1.0/include /usr/local/include /media/th202608/0ed06489-8de7-451c-9cf5-7c6d11bec927/codes/gcc/6.1.0/instal= l/include /media/th202608/0ed06489-8de7-451c-9cf5-7c6d11bec927/codes/gcc/6.1.0/instal= l/lib/gcc/x86_64-pc-linux-gnu/6.1.0/include-fixed /usr/include/x86_64-linux-gnu /usr/include End of search list. COLLECT_GCC_OPTIONS=3D'-v' '-save-temps' '-o' 'test' '-shared-libgcc' '-mtune=3Dgeneric' '-march=3Dx86-64' /media/th202608/0ed06489-8de7-451c-9cf5-7c6d11bec927/codes/gcc/6.1.0/instal= l/libexec/gcc/x86_64-pc-linux-gnu/6.1.0/cc1plus -fpreprocessed test.ii -quiet -dumpbase test.cxx -mtune=3Dgeneric -march=3D= x86-64 -auxbase test -version -o test.s GNU C++14 (GCC) version 6.1.0 (x86_64-pc-linux-gnu) compiled by GNU C version 6.1.0, GMP version 6.1.0, MPFR version 3.= 1.4, MPC version 1.0.3, isl version 0.15 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU C++14 (GCC) version 6.1.0 (x86_64-pc-linux-gnu) compiled by GNU C version 6.1.0, GMP version 6.1.0, MPFR version 3.= 1.4, MPC version 1.0.3, isl version 0.15 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: 33ec74a6d567f8d1443e643e24e39f72 g++: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >>From gcc-bugs-return-523688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 07:27:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125281 invoked by alias); 29 Apr 2016 07:27:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125197 invoked by uid 48); 29 Apr 2016 07:27:08 -0000 From: "thomas.helfer at cea dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70869] internal compiler error: Segmentation fault on array of pointer to function members Date: Fri, 29 Apr 2016 07:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: thomas.helfer at cea dot fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02901.txt.bz2 Content-length: 245 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70869 --- Comment #1 from Helfer Thomas --- Created attachment 38374 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38374&action=3Dedit The generated .ii file >>From gcc-bugs-return-523689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 07:33:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8774 invoked by alias); 29 Apr 2016 07:33:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8507 invoked by uid 48); 29 Apr 2016 07:33:43 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70869] [6/7 Regression] internal compiler error: Segmentation fault on array of pointer to function members Date: Fri, 29 Apr 2016 07:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc cf_known_to_work short_desc everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02902.txt.bz2 Content-length: 1065 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70869 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-29 CC| |trippels at gcc dot gnu.org Known to work| |5.3.1 Summary|internal compiler error: |[6/7 Regression] internal |Segmentation fault on array |compiler error: |of pointer to function |Segmentation fault on array |members |of pointer to function | |members Ever confirmed|0 |1 Known to fail| |6.1.0, 7.0 --- Comment #2 from Markus Trippelsdorf --- It is a stackoverflow in gimplify_expr(). >>From gcc-bugs-return-523690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 07:34:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9894 invoked by alias); 29 Apr 2016 07:34:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9644 invoked by uid 48); 29 Apr 2016 07:34:24 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70869] [6/7 Regression] internal compiler error: Segmentation fault on array of pointer to function members Date: Fri, 29 Apr 2016 07:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02903.txt.bz2 Content-length: 3570 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70869 --- Comment #3 from Markus Trippelsdorf --- (gdb) bt #0 gimplify_expr (expr_p=3Dexpr_p@entry=3D0x7ffffbfff148, pre_p=3Dpre_p@entry=3D0x7fffffffd7d0, post_p=3D0x0,=20 gimple_test_f=3Dgimple_test_f@entry=3D0xada690 , fallback=3Dfallback@entry=3D1) at ../../gcc/gcc/gimplify.c:10101 #1 0x0000000000ae46bd in internal_get_tmp_var (val=3D, pre_p=3D0x7fffffffd7d0, post_p=3D, is_formal=3D) at ../../gcc/gcc/gimplify.c:557 #2 0x0000000000aead45 in gimplify_expr (expr_p=3Dexpr_p@entry=3D0x7ffff659= 4368, pre_p=3Dpre_p@entry=3D0x7fffffffd7d0, post_p=3Dpost_p@entry=3D0x7ffffbfff41= 0, gimple_test_f=3D,=20 fallback=3Dfallback@entry=3D1) at ../../gcc/gcc/gimplify.c:11223 #3 0x0000000000afe7d3 in gimplify_modify_expr (expr_p=3Dexpr_p@entry=3D0x7ffffbfff570, pre_p=3Dpre_p@entry=3D0x7fffffffd7= d0, post_p=3Dpost_p@entry=3D0x7ffffbfff410,=20 want_value=3D) at ../../gcc/gcc/gimplify.c:4725 #4 0x0000000000aec56e in gimplify_expr (expr_p=3D0x7ffffbfff570, pre_p=3Dpre_p@entry=3D0x7fffffffd7d0, post_p=3D0x7ffffbfff410, post_p@entry= =3D0x0,=20 gimple_test_f=3Dgimple_test_f@entry=3D0xadd070 , fallback=3Dfallback@entry=3D0) at ../../gcc/gcc/gimplify.c:10287 #5 0x0000000000af0197 in gimplify_stmt (stmt_p=3Dstmt_p@entry=3D0x7ffffbff= f570, seq_p=3Dseq_p@entry=3D0x7fffffffd7d0) at ../../gcc/gcc/gimplify.c:5688 #6 0x0000000000ae47e3 in gimplify_and_add (seq_p=3D0x7fffffffd7d0, t=3D) at ../../gcc/gcc/gimplify.c:425 #7 internal_get_tmp_var (val=3D, pre_p=3D0x7fffffffd7d0, post_p=3D, is_formal=3D) at ../../gcc/gcc/gimplify.c:570 #8 0x0000000000aead45 in gimplify_expr (expr_p=3Dexpr_p@entry=3D0x7ffff659= 4340, pre_p=3Dpre_p@entry=3D0x7fffffffd7d0, post_p=3Dpost_p@entry=3D0x7ffffbfff82= 0, gimple_test_f=3D,=20 fallback=3Dfallback@entry=3D1) at ../../gcc/gcc/gimplify.c:11223 #9 0x0000000000afe7d3 in gimplify_modify_expr (expr_p=3Dexpr_p@entry=3D0x7ffffbfff980, pre_p=3Dpre_p@entry=3D0x7fffffffd7= d0, post_p=3Dpost_p@entry=3D0x7ffffbfff820,=20 want_value=3D) at ../../gcc/gcc/gimplify.c:4725 #10 0x0000000000aec56e in gimplify_expr (expr_p=3D0x7ffffbfff980, pre_p=3Dpre_p@entry=3D0x7fffffffd7d0, post_p=3D0x7ffffbfff820, post_p@entry= =3D0x0,=20 gimple_test_f=3Dgimple_test_f@entry=3D0xadd070 , fallback=3Dfallback@entry=3D0) at ../../gcc/gcc/gimplify.c:10287 #11 0x0000000000af0197 in gimplify_stmt (stmt_p=3Dstmt_p@entry=3D0x7ffffbff= f980, seq_p=3Dseq_p@entry=3D0x7fffffffd7d0) at ../../gcc/gcc/gimplify.c:5688 #12 0x0000000000ae47e3 in gimplify_and_add (seq_p=3D0x7fffffffd7d0, t=3D) at ../../gcc/gcc/gimplify.c:425 #13 internal_get_tmp_var (val=3D, pre_p=3D0x7fffffffd7d0, post_p=3D, is_formal=3D) at ../../gcc/gcc/gimplify.c:570 #14 0x0000000000aead45 in gimplify_expr (expr_p=3Dexpr_p@entry=3D0x7ffff659= 4318, pre_p=3Dpre_p@entry=3D0x7fffffffd7d0, post_p=3Dpost_p@entry=3D0x7ffffbfffc3= 0, gimple_test_f=3D,=20 fallback=3Dfallback@entry=3D1) at ../../gcc/gcc/gimplify.c:11223 #15 0x0000000000afe7d3 in gimplify_modify_expr (expr_p=3Dexpr_p@entry=3D0x7ffffbfffd90, pre_p=3Dpre_p@entry=3D0x7fffffffd7= d0, post_p=3Dpost_p@entry=3D0x7ffffbfffc30,=20 want_value=3D) at ../../gcc/gcc/gimplify.c:4725 ... >>From gcc-bugs-return-523691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 08:17:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6027 invoked by alias); 29 Apr 2016 08:17:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5848 invoked by uid 48); 29 Apr 2016 08:17:11 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70869] [6/7 Regression] internal compiler error: Segmentation fault on array of pointer to function members Date: Fri, 29 Apr 2016 08:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: ice-on-valid-code 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02904.txt.bz2 Content-length: 433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70869 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #4 from Markus Trippelsdorf --- Started with r234940 aka PR70615 fix. >>From gcc-bugs-return-523692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 08:27:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37802 invoked by alias); 29 Apr 2016 08:27:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37344 invoked by uid 48); 29 Apr 2016 08:26:57 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/65686] [5/6/7 regression] inconsistent warning maybe-uninitialized: warn about 'unsigned', not warn about 'int' Date: Fri, 29 Apr 2016 08:27: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: 5.0 X-Bugzilla-Keywords: diagnostic, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02905.txt.bz2 Content-length: 440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65686 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #13 from Richard Biener --- Fixed for GCC 7. >>From gcc-bugs-return-523693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 08:30:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50779 invoked by alias); 29 Apr 2016 08:30:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50552 invoked by uid 48); 29 Apr 2016 08:30:35 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/13962] [tree-ssa] make "fold" use alias information to optimize pointer comparisons Date: Fri, 29 Apr 2016 08:30: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: tree-ssa X-Bugzilla-Keywords: alias, missed-optimization, xfail X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02906.txt.bz2 Content-length: 589 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D13962 --- Comment #11 from Richard Biener --- For GCC 7 we can now do ptr !=3D decl (for certain kinds of decls). I have patches extending this to the ptr !=3D ptr case but they need work because = PTA needs to handle points-to NULL (aka nothing) and STRING_CST (and LABEL_DECL and FUNCTION_DECL, etc.) conservatively. Comparing LABEL_DECL against FUNCTION_DECL will also be interesting, so not sure if we can ever make this work (maybe glob LABEL_DECLs with their containing FUNCTION_DECLs for PTA purposes). >>From gcc-bugs-return-523694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 08:37:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79608 invoked by alias); 29 Apr 2016 08:37:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79376 invoked by uid 55); 29 Apr 2016 08:37:22 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/65686] [5/6/7 regression] inconsistent warning maybe-uninitialized: warn about 'unsigned', not warn about 'int' Date: Fri, 29 Apr 2016 08:37: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: 5.0 X-Bugzilla-Keywords: diagnostic, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02907.txt.bz2 Content-length: 918 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65686 --- Comment #14 from Richard Biener --- Author: rguenth Date: Fri Apr 29 08:36:49 2016 New Revision: 235622 URL: https://gcc.gnu.org/viewcvs?rev=3D235622&root=3Dgcc&view=3Drev Log: 2016-04-29 Richard Biener PR tree-optimization/13962 PR tree-optimization/65686 * tree-ssa-alias.h (ptrs_compare_unequal): Declare. * tree-ssa-alias.c (ptrs_compare_unequal): New function using PTA to compare pointers. * match.pd: Add pattern for pointer equality compare simplification using ptrs_compare_unequal. * gcc.dg/uninit-pr65686.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/uninit-pr65686.c Modified: trunk/gcc/ChangeLog trunk/gcc/match.pd trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-alias.c trunk/gcc/tree-ssa-alias.h >>From gcc-bugs-return-523695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 08:37:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79627 invoked by alias); 29 Apr 2016 08:37:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79382 invoked by uid 55); 29 Apr 2016 08:37:23 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/13962] [tree-ssa] make "fold" use alias information to optimize pointer comparisons Date: Fri, 29 Apr 2016 08:37: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: tree-ssa X-Bugzilla-Keywords: alias, missed-optimization, xfail X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02908.txt.bz2 Content-length: 918 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D13962 --- Comment #12 from Richard Biener --- Author: rguenth Date: Fri Apr 29 08:36:49 2016 New Revision: 235622 URL: https://gcc.gnu.org/viewcvs?rev=3D235622&root=3Dgcc&view=3Drev Log: 2016-04-29 Richard Biener PR tree-optimization/13962 PR tree-optimization/65686 * tree-ssa-alias.h (ptrs_compare_unequal): Declare. * tree-ssa-alias.c (ptrs_compare_unequal): New function using PTA to compare pointers. * match.pd: Add pattern for pointer equality compare simplification using ptrs_compare_unequal. * gcc.dg/uninit-pr65686.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/uninit-pr65686.c Modified: trunk/gcc/ChangeLog trunk/gcc/match.pd trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-alias.c trunk/gcc/tree-ssa-alias.h >>From gcc-bugs-return-523696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 08:40:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86179 invoked by alias); 29 Apr 2016 08:40:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85906 invoked by uid 48); 29 Apr 2016 08:39:59 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70870] New: Segmentation violation in gfc_assign_data_value Date: Fri, 29 Apr 2016 08:40: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02909.txt.bz2 Content-length: 1734 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70870 Bug ID: 70870 Summary: Segmentation violation in gfc_assign_data_value Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- ! gfortran 6.1.0 Segmentation fault in gfc_assign_data_value type t integer :: g=3D0 ! default initialization end type type(t) :: v2 data v2/t(2)/ ! this is wrong end !f951: internal compiler error: Segmentation fault !0xa6532f crash_signal ! ../../gcc-6.1.0/gcc/toplev.c:333 !0x5de1fc gfc_assign_data_value(gfc_expr*, gfc_expr*, __mpz_struct*, !__mpz_struct (*) [1]) ! ../../gcc-6.1.0/gcc/fortran/data.c:500 !0x651762 check_data_variable ! ../../gcc-6.1.0/gcc/fortran/resolve.c:14564 !0x651762 traverse_data_var ! ../../gcc-6.1.0/gcc/fortran/resolve.c:14693 !0x65be91 resolve_data ! ../../gcc-6.1.0/gcc/fortran/resolve.c:14748 !0x65be91 resolve_types ! ../../gcc-6.1.0/gcc/fortran/resolve.c:15501 !0x6576bf gfc_resolve(gfc_namespace*) ! ../../gcc-6.1.0/gcc/fortran/resolve.c:15586 !0x642eda resolve_all_program_units ! ../../gcc-6.1.0/gcc/fortran/parse.c:5552 !0x642eda gfc_parse_file() ! ../../gcc-6.1.0/gcc/fortran/parse.c:5804 !0x684135 gfc_be_parse_file ! ../../gcc-6.1.0/gcc/fortran/f95-lang.c:201 !Please submit a full bug report, !with preprocessed source if appropriate. !Please include the complete backtrace with any bug report. !See for instructions. >>From gcc-bugs-return-523697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 08:46:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46065 invoked by alias); 29 Apr 2016 08:46:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44298 invoked by uid 48); 29 Apr 2016 08:45:49 -0000 From: "ishitatsuyuki at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61636] generic lambda "cannot call member function without object" Date: Fri, 29 Apr 2016 08:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ishitatsuyuki at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: abutcher at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02910.txt.bz2 Content-length: 482 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61636 Tatsuyuki Ishi changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ishitatsuyuki at gmail dot= com --- Comment #16 from Tatsuyuki Ishi --- This is really annoying. Is the patch going to fix it or nothing has been d= one? >>From gcc-bugs-return-523698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 08:49:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75299 invoked by alias); 29 Apr 2016 08:49:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72151 invoked by uid 48); 29 Apr 2016 08:48:58 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70869] [6/7 Regression] internal compiler error: Segmentation fault on array of pointer to function members Date: Fri, 29 Apr 2016 08:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02911.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70869 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.2 >>From gcc-bugs-return-523699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 08:50:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20253 invoked by alias); 29 Apr 2016 08:50:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18418 invoked by uid 48); 29 Apr 2016 08:50:13 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70861] Improve code generation of switch tables Date: Fri, 29 Apr 2016 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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on component everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02912.txt.bz2 Content-length: 551 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70861 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-29 Component|middle-end |tree-optimization Ever confirmed|0 |1 --- Comment #4 from Richard Biener --- Confirmed. >>From gcc-bugs-return-523700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 08:56:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36257 invoked by alias); 29 Apr 2016 08:56:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36101 invoked by uid 48); 29 Apr 2016 08:56:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug hsa/70857] [6/7 Regression] ICE with -fopenmp -fopenacc in insert_vi_for_tree, at tree-ssa-structalias.c:2813 Date: Fri, 29 Apr 2016 08:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: hsa X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc component target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02913.txt.bz2 Content-length: 845 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70857 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jamborm at gcc dot gnu.org Component|fortran |hsa Target Milestone|--- |6.2 Summary|[6 Regression] ICE with |[6/7 Regression] ICE with |-fopenmp -fopenacc in |-fopenmp -fopenacc in |insert_vi_for_tree, at |insert_vi_for_tree, at |tree-ssa-structalias.c:2813 |tree-ssa-structalias.c:2813 --- Comment #1 from Richard Biener --- Not really a regression since HSA support is new in GCC 6. >>From gcc-bugs-return-523701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 08:57:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37822 invoked by alias); 29 Apr 2016 08:57:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37563 invoked by uid 48); 29 Apr 2016 08:57:25 -0000 From: "vogt at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/68860] [6/7 regression] FAIL: gcc.dg/guality/pr36728-1.c -flto -O3 -g line 16/7 arg1 == 1 Date: Fri, 29 Apr 2016 08:57: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.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: vogt at linux dot vnet.ibm.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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02914.txt.bz2 Content-length: 401 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68860 --- Comment #13 from Dominik Vogt --- By the way, I think the value of y should be tested *after* the asm stateme= nt in line 17 not before it in line 16. At higher optimization levels the assignement may not have happened yet when gdb reaches line 16. (And x sho= uld be tested in line 19 for the same reason). >>From gcc-bugs-return-523702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 08:59:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44083 invoked by alias); 29 Apr 2016 08:59:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43021 invoked by uid 55); 29 Apr 2016 08:59:42 -0000 From: "bernds at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/60040] AVR: error: unable to find a register to spill in class 'POINTER_REGS' Date: Fri, 29 Apr 2016 08:59: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: 4.8.3 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bernds 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02915.txt.bz2 Content-length: 828 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60040 --- Comment #12 from Bernd Schmidt --- Author: bernds Date: Fri Apr 29 08:59:09 2016 New Revision: 235625 URL: https://gcc.gnu.org/viewcvs?rev=3D235625&root=3Dgcc&view=3Drev Log: avr-related reload fix from Senthil Kumar Selvaraj PR target/60040 * reload1.c (reload): Call finish_spills before restarting reload loop. Skip select_reload_regs if update_eliminables_and_spill returns true. testsuite/ PR target/60040 * gcc.target/avr/pr60040-1.c: New. * gcc.target/avr/pr60040-2.c: New. Added: trunk/gcc/testsuite/gcc.target/avr/pr60040-1.c trunk/gcc/testsuite/gcc.target/avr/pr60040-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/reload1.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 09:07:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122012 invoked by alias); 29 Apr 2016 09:07:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106533 invoked by uid 48); 29 Apr 2016 09:07:24 -0000 From: "jan.smets@alcatel-lucent.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70871] New: questionable optimisation in fold-const.c Date: Fri, 29 Apr 2016 09:07: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: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.smets@alcatel-lucent.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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02916.txt.bz2 Content-length: 1203 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70871 Bug ID: 70871 Summary: questionable optimisation in fold-const.c Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: jan.smets@alcatel-lucent.com Target Milestone: --- typedef struct X {=20=20=20 void *a;=20 long int b; int c; int d;=20=20=20 unsigned int e[3]; unsigned short f; unsigned char g; unsigned char h; unsigned char i; unsigned char j; unsigned char k; unsigned char l; unsigned char m; unsigned char n; }; int somefunc(void) { struct X *pX =3D (0L); extern void call(void*); call(&pX); if(!pX->n && !pX->l) return 0; return 1; } for -O1 and higher if(!pX->n && !pX->l) results in (tree-original) if ((BIT_FIELD_REF <*pX, 64, 320> & 280379743272960) =3D=3D 0) which eventually results in=20 ASAN_CHECK (6, _1, 8, 8)=20 when using -fsantize=3Daddress Wheras ASAN really should be reporting a 2x 1 byte load and not 1x 8. Thanks >>From gcc-bugs-return-523704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 09:32:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47439 invoked by alias); 29 Apr 2016 09:32:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47232 invoked by uid 48); 29 Apr 2016 09:32:08 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70871] questionable optimisation in fold-const.c Date: Fri, 29 Apr 2016 09:32: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: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02917.txt.bz2 Content-length: 1227 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70871 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-29 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Assembler w/o asan: somefunc: .LFB0: .cfi_startproc subq $24, %rsp .cfi_def_cfa_offset 32 movq $0, 8(%rsp) leaq 8(%rsp), %rdi call call movabsq $280379743272960, %rdx movq 8(%rsp), %rax testq %rdx, 40(%rax) setne %al movzbl %al, %eax addq $24, %rsp .cfi_def_cfa_offset 8 ret if my math is correct this loads 8 bytes from &px->i and accesses two stray bytes after the object. That's actually fine as alignment guarantees of the type ensure this won't cross a page boundary. If we misalign it by making it packed the folding doesn't apply. So while the folding is strange it isn't incorrect but it messes with ASAN. >>From gcc-bugs-return-523705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 09:33:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50240 invoked by alias); 29 Apr 2016 09:33:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50055 invoked by uid 48); 29 Apr 2016 09:33:06 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70855] [6/7 Regression] ICE with -fopenmp in gfc_trans_omp_workshare(): Bad statement code Date: Fri, 29 Apr 2016 09:33: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02918.txt.bz2 Content-length: 573 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70855 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.2 Summary|[6 Regression] ICE with |[6/7 Regression] ICE with |-fopenmp in |-fopenmp in |gfc_trans_omp_workshare(): |gfc_trans_omp_workshare(): |Bad statement code |Bad statement code >>From gcc-bugs-return-523706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 09:35:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76712 invoked by alias); 29 Apr 2016 09:35:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68872 invoked by uid 48); 29 Apr 2016 09:35:20 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70856] [6/7 Regression] ICE with -fopenacc in get_constraint_for_ssa_var, at tree-ssa-structalias.c:2952 Date: Fri, 29 Apr 2016 09:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02919.txt.bz2 Content-length: 937 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70856 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |openacc Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-29 Target Milestone|--- |6.2 Summary|[6 Regression] ICE with |[6/7 Regression] ICE with |-fopenacc in |-fopenacc in |get_constraint_for_ssa_var, |get_constraint_for_ssa_var, |at |at |tree-ssa-structalias.c:2952 |tree-ssa-structalias.c:2952 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. >>From gcc-bugs-return-523707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 09:37:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32232 invoked by alias); 29 Apr 2016 09:37:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12928 invoked by uid 48); 29 Apr 2016 09:36:51 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70856] [6/7 Regression] ICE with -fopenacc in get_constraint_for_ssa_var, at tree-ssa-structalias.c:2952 Date: Fri, 29 Apr 2016 09:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02920.txt.bz2 Content-length: 179 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70856 --- Comment #2 from Richard Biener --- Looks like OACC generates aliases the "wrong way around" >>From gcc-bugs-return-523708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 09:50:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5425 invoked by alias); 29 Apr 2016 09:50:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5049 invoked by uid 48); 29 Apr 2016 09:50:37 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70872] New: c++ regression malloc not found c++ 5.3.0 compiles fine Date: Fri, 29 Apr 2016 09:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: zeccav 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02921.txt.bz2 Content-length: 6459 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70872 Bug ID: 70872 Summary: c++ regression malloc not found c++ 5.3.0 compiles fine Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- c++ fails to compile some mozilla firefox version 42 cc files c++ 5.3.0 compiles fine firefox configured with ../configure --disable-gconf then run make As in: c++ -o Unified_cpp_src_common_linux0.o -c -I../../../../../../dist/stl_wrap= pers -I../../../../../../dist/system_wrappers -include /home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-42.0/config/gcc_hidden.h -DNO_STABS_SUPPORT -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DAB_CD=3Den-US -DNO_NSPR_10_SUPPORT -I/home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-42.0/toolkit/crashreporter= /google-breakpad/src/common/linux -I. -I/home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-42.0/toolkit/crashreporter= /google-breakpad/src -I../../../../../../dist/include=20=20 -I/home/vitti/rpmbuild/SOURCES/firefox-42.0/firefox-obj/dist/include/nspr -I/home/vitti/rpmbuild/SOURCES/firefox-42.0/firefox-obj/dist/include/nss=20= =20=20=20=20=20 -fPIC -DMOZILLA_CLIENT -include ../../../../../../mozilla-config.h -MD -MP -MF .deps/Unified_cpp_src_common_linux0.o.pp -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=3Dgnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -freorder-blocks -Os -fomit-frame-pointer=20=20=20 /home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-42.0/firefox-obj/toolkit/cra= shreporter/google-breakpad/src/common/linux/Unified_cpp_src_common_linux0.c= pp In file included from ../../../../../../dist/stl_wrappers/cstdlib:34:0, from /home/vitti/1tb/vitti/local/gcc-6.1.0/include/c++/6.1.0/stdlib.h:36, from ../../../../../../dist/system_wrappers/stdlib.h:3, from /home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-42.0/toolkit/crashreporter/g= oogle-breakpad/src/common/linux/guid_creator.cc:35, from /home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-42.0/firefox-obj/toolkit/cra= shreporter/google-breakpad/src/common/linux/Unified_cpp_src_common_linux0.c= pp:11: ../../../../../../dist/include/mozilla/mozalloc.h: In function =E2=80=98voi= d* operator new(size_t, const std::nothrow_t&)=E2=80=99: ../../../../../../dist/include/mozilla/mozalloc.h:192:28: error: =E2=80=98m= alloc=E2=80=99 was not declared in this scope return malloc_impl(size); ^ ../../../../../../dist/include/mozilla/mozalloc.h: In function =E2=80=98voi= d* operator new [](size_t, const std::nothrow_t&)=E2=80=99: ../../../../../../dist/include/mozilla/mozalloc.h:204:28: error: =E2=80=98m= alloc=E2=80=99 was not declared in this scope return malloc_impl(size); ^ ../../../../../../dist/include/mozilla/mozalloc.h: In function =E2=80=98voi= d operator delete(void*)=E2=80=99: ../../../../../../dist/include/mozilla/mozalloc.h:210:25: error: =E2=80=98f= ree=E2=80=99 was not declared in this scope return free_impl(ptr); ^ ../../../../../../dist/include/mozilla/mozalloc.h:210:25: error: return-statement with a value, in function returning 'void' [-fpermissive] ../../../../../../dist/include/mozilla/mozalloc.h: In function =E2=80=98voi= d operator delete(void*, const std::nothrow_t&)=E2=80=99: ../../../../../../dist/include/mozilla/mozalloc.h:216:25: error: =E2=80=98f= ree=E2=80=99 was not declared in this scope return free_impl(ptr); ^ ../../../../../../dist/include/mozilla/mozalloc.h:216:25: error: return-statement with a value, in function returning 'void' [-fpermissive] ../../../../../../dist/include/mozilla/mozalloc.h: In function =E2=80=98voi= d operator delete [](void*)=E2=80=99: ../../../../../../dist/include/mozilla/mozalloc.h:222:25: error: =E2=80=98f= ree=E2=80=99 was not declared in this scope return free_impl(ptr); ^ ../../../../../../dist/include/mozilla/mozalloc.h:222:25: error: return-statement with a value, in function returning 'void' [-fpermissive] ../../../../../../dist/include/mozilla/mozalloc.h: In function =E2=80=98voi= d operator delete [](void*, const std::nothrow_t&)=E2=80=99: ../../../../../../dist/include/mozilla/mozalloc.h:228:25: error: =E2=80=98f= ree=E2=80=99 was not declared in this scope return free_impl(ptr); ^ ../../../../../../dist/include/mozilla/mozalloc.h:228:25: error: return-statement with a value, in function returning 'void' [-fpermissive] ../../../../../../dist/include/mozilla/mozalloc.h: In function =E2=80=98voi= d* operator new(size_t, const mozilla::fallible_t&)=E2=80=99: ../../../../../../dist/include/mozilla/mozalloc.h:254:28: error: =E2=80=98m= alloc=E2=80=99 was not declared in this scope return malloc_impl(size); ^ ../../../../../../dist/include/mozilla/mozalloc.h: In function =E2=80=98voi= d* operator new [](size_t, const mozilla::fallible_t&)=E2=80=99: ../../../../../../dist/include/mozilla/mozalloc.h:260:28: error: =E2=80=98m= alloc=E2=80=99 was not declared in this scope return malloc_impl(size); ^ ../../../../../../dist/include/mozilla/mozalloc.h: In function =E2=80=98voi= d operator delete(void*, const mozilla::fallible_t&)=E2=80=99: ../../../../../../dist/include/mozilla/mozalloc.h:266:18: error: =E2=80=98f= ree=E2=80=99 was not declared in this scope free_impl(ptr); ^ ../../../../../../dist/include/mozilla/mozalloc.h: In function =E2=80=98voi= d operator delete [](void*, const mozilla::fallible_t&)=E2=80=99: ../../../../../../dist/include/mozilla/mozalloc.h:272:18: error: =E2=80=98f= ree=E2=80=99 was not declared in this scope free_impl(ptr); ^ ../../../../../../dist/include/mozilla/mozalloc.h: In member function =E2= =80=98void InfallibleAllocPolicy::free_(void*)=E2=80=99: ../../../../../../dist/include/mozilla/mozalloc.h:310:23: error: =E2=80=98f= ree=E2=80=99 was not declared in this scope free_impl(aPtr); ^ >>From gcc-bugs-return-523709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 09:58:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42441 invoked by alias); 29 Apr 2016 09:58:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40342 invoked by uid 48); 29 Apr 2016 09:57:52 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70722] include_next in cmath skips user-defined wrapper Date: Fri, 29 Apr 2016 09:58: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02922.txt.bz2 Content-length: 456 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70722 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zeccav at gmail dot com --- Comment #4 from Markus Trippelsdorf --- *** Bug 70872 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-523710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 09:58:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42449 invoked by alias); 29 Apr 2016 09:58:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40326 invoked by uid 48); 29 Apr 2016 09:57:51 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70872] c++ regression malloc not found c++ 5.3.0 compiles fine Date: Fri, 29 Apr 2016 09:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02923.txt.bz2 Content-length: 582 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70872 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |trippels at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Markus Trippelsdorf --- dup. *** This bug has been marked as a duplicate of bug 70722 *** >>From gcc-bugs-return-523711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 10:22:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88461 invoked by alias); 29 Apr 2016 10:22:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87227 invoked by uid 48); 29 Apr 2016 10:22:42 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70870] Segmentation violation in gfc_assign_data_value Date: Fri, 29 Apr 2016 10:22: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02924.txt.bz2 Content-length: 521 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70870 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-29 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- Confirmed from 4.8 up to trunk (7.0). >>From gcc-bugs-return-523712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 10:25:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111975 invoked by alias); 29 Apr 2016 10:25:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111828 invoked by uid 48); 29 Apr 2016 10:25:18 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70855] [6/7 Regression] ICE with -fopenmp in gfc_trans_omp_workshare(): Bad statement code Date: Fri, 29 Apr 2016 10:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02925.txt.bz2 Content-length: 676 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70855 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-29 CC| |tkoenig at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres --- Confirmed. The ICE appeared around revision r222875 (too many patches at th= at time for a more accurate bisection). >>From gcc-bugs-return-523713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 10:35:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33258 invoked by alias); 29 Apr 2016 10:35:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33017 invoked by uid 48); 29 Apr 2016 10:35:15 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70863] Finalization of array of derived type causes segfault Date: Fri, 29 Apr 2016 10:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on blocked everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02926.txt.bz2 Content-length: 770 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70863 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-29 Blocks| |37336 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- Confirmed from 4.9 up to trunk (7.0), finalization not implemented in 4.8, related to/duplicate of pr69298? Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D37336 [Bug 37336] [F03] Finish derived-type finalization >>From gcc-bugs-return-523714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 10:41:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41117 invoked by alias); 29 Apr 2016 10:41:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40968 invoked by uid 48); 29 Apr 2016 10:41:37 -0000 From: "ysrumyan at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] New: [GCC7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Fri, 29 Apr 2016 10:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ysrumyan 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02927.txt.bz2 Content-length: 980 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 Bug ID: 70873 Summary: [GCC7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ysrumyan at gmail dot com Target Milestone: --- This degradation is caused by known issue with partial register dependency: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57954 and can be reproduced with the attached simple test-case: before fix vxorpd %xmm4, %xmm4, %xmm4 vcvtss2sd (%esi,%eax,4), %xmm4, %xmm4 after fix vxorpd %xmm6, %xmm6, %xmm6 vcvtss2sd (%esi,%eax,4), %xmm6, %xmm7 I assume that register renaming must not split such register live range but simply consider it as one. >>From gcc-bugs-return-523715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 10:43:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3632 invoked by alias); 29 Apr 2016 10:43:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119628 invoked by uid 48); 29 Apr 2016 10:43:06 -0000 From: "ysrumyan at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [GCC7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Fri, 29 Apr 2016 10:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ysrumyan 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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02928.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #1 from Yuri Rumyantsev --- Created attachment 38375 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38375&action=3Dedit test-case to reproduce Must be compiled with -O2 -mavx2 -m32 options. >>From gcc-bugs-return-523716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 10:44:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15949 invoked by alias); 29 Apr 2016 10:44:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13243 invoked by uid 48); 29 Apr 2016 10:43:54 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70864] internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1403 Date: Fri, 29 Apr 2016 10:44: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02929.txt.bz2 Content-length: 598 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70864 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-29 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- Confirmed from 4.8 up to trunk (7.0). The test gives the ICE at the same pl= ace as the test in pr68846 variant 2. >>From gcc-bugs-return-523717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 11:21:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20989 invoked by alias); 29 Apr 2016 11:21:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20852 invoked by uid 48); 29 Apr 2016 11:21:29 -0000 From: "jan.smets@alcatel-lucent.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70871] questionable optimisation in fold-const.c Date: Fri, 29 Apr 2016 11:21: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: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.smets@alcatel-lucent.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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02930.txt.bz2 Content-length: 312 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70871 --- Comment #2 from Jan Smets --- Created attachment 38376 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38376&action=3Dedit possible solution I have not extensively tested this, but it seems to work for my testcase. >>From gcc-bugs-return-523718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 11:24:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25725 invoked by alias); 29 Apr 2016 11:24:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25438 invoked by uid 48); 29 Apr 2016 11:24:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70729] Loop marked with omp simd pragma is not vectorized Date: Fri, 29 Apr 2016 11:24: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: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02931.txt.bz2 Content-length: 995 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70729 --- Comment #13 from Richard Biener --- (In reply to Yuri Rumyantsev from comment #12) > Created attachment 38367 [details] > modified patch The loop->aux flagging looks redundant to me. Why is ->safelen only valid before vectorization? I suppose we're lucky that no pass before vectorizat= ion applies any unrolling (like predictive commoning for example) as such pass must adjust ->safelen accordingly. But as LIM only cares for safelen > 0 _this_ property shouldn't change, not even by vectorization, no? That said, if vectorization makes ->safelen invalid then the vectorizer should adjust ->safelen properly (like any other passes invalidating it). I suppose most of the testsuite fallout you see is from the pass re-ordering (I didn't bootstrap/test that yet). The fails need to be investigated, but let's handle the pass-reordering separately and converge on a way to use ->safelen from LIM first. >>From gcc-bugs-return-523719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 11:31:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50458 invoked by alias); 29 Apr 2016 11:31:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50229 invoked by uid 48); 29 Apr 2016 11:30:46 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70729] Loop marked with omp simd pragma is not vectorized Date: Fri, 29 Apr 2016 11:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02932.txt.bz2 Content-length: 865 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70729 --- Comment #14 from Ilya Enkovich --- (In reply to Richard Biener from comment #13) > (In reply to Yuri Rumyantsev from comment #12) > > Created attachment 38367 [details] > > modified patch >=20 > The loop->aux flagging looks redundant to me. Why is ->safelen only valid > before vectorization? I suppose we're lucky that no pass before > vectorization > applies any unrolling (like predictive commoning for example) as such pass > must adjust ->safelen accordingly. But as LIM only cares for safelen > 0 > _this_ property shouldn't change, not even by vectorization, no? >=20 SIMD lane access is not invariant before vectorization but is invariant aft= er vectorization. This means when GOMP_SIMD_LANE calls are removed we can't u= se safelen for invariant moves anymore. >>From gcc-bugs-return-523720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 11:32:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52387 invoked by alias); 29 Apr 2016 11:32:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52171 invoked by uid 48); 29 Apr 2016 11:32:24 -0000 From: "jandemooij+gccbugs at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70526] [5 Regression] GCC 6 miscompiles Firefox JIT compiler Date: Fri, 29 Apr 2016 11:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jandemooij+gccbugs at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02933.txt.bz2 Content-length: 304 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 --- Comment #10 from Jan de Mooij --- Richards, thank you for fixing that. Unfortunately Firefox still crashes and my original test case (see comment 0 and the attachment) still fails. Do you have any idea why? >>From gcc-bugs-return-523721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 11:38:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120154 invoked by alias); 29 Apr 2016 11:38:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119878 invoked by uid 48); 29 Apr 2016 11:37:53 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70526] [5 Regression] GCC 6 miscompiles Firefox JIT compiler Date: Fri, 29 Apr 2016 11:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02934.txt.bz2 Content-length: 402 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 --- Comment #11 from Richard Biener --- (In reply to Jan de Mooij from comment #10) > Richards, thank you for fixing that. >=20 > Unfortunately Firefox still crashes and my original test case (see commen= t 0 > and the attachment) still fails. Do you have any idea why? The patch has not yet been backported to GCC 5. >>From gcc-bugs-return-523722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 11:42:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7694 invoked by alias); 29 Apr 2016 11:42:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7490 invoked by uid 55); 29 Apr 2016 11:41:51 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70729] Loop marked with omp simd pragma is not vectorized Date: Fri, 29 Apr 2016 11:42: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: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02935.txt.bz2 Content-length: 1210 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70729 --- Comment #15 from rguenther at suse dot de --- On Fri, 29 Apr 2016, ienkovich at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70729 >=20 > --- Comment #14 from Ilya Enkovich --- > (In reply to Richard Biener from comment #13) > > (In reply to Yuri Rumyantsev from comment #12) > > > Created attachment 38367 [details] > > > modified patch > >=20 > > The loop->aux flagging looks redundant to me. Why is ->safelen only va= lid > > before vectorization? I suppose we're lucky that no pass before > > vectorization > > applies any unrolling (like predictive commoning for example) as such p= ass > > must adjust ->safelen accordingly. But as LIM only cares for safelen >= 0 > > _this_ property shouldn't change, not even by vectorization, no? > >=20 >=20 > SIMD lane access is not invariant before vectorization but is invariant a= fter > vectorization. This means when GOMP_SIMD_LANE calls are removed we can't= use > safelen for invariant moves anymore. Ah, I see. So the vectorizer needs to clear ->safelen then if safelen doesn't apply to simduid. Richard. >>From gcc-bugs-return-523723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 11:48:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35109 invoked by alias); 29 Apr 2016 11:48:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34528 invoked by uid 48); 29 Apr 2016 11:48:35 -0000 From: "jandemooij+gccbugs at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70526] [5 Regression] GCC 6 miscompiles Firefox JIT compiler Date: Fri, 29 Apr 2016 11: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: 6.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jandemooij+gccbugs at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02936.txt.bz2 Content-length: 382 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 --- Comment #12 from Jan de Mooij --- (In reply to Richard Biener from comment #11) > The patch has not yet been backported to GCC 5. I'm using: g++-6 (Ubuntu 6.0.1-1ubuntu11) 6.0.0 20160414 (experimental) [trunk revision 234994] Shouldn't that have the patch? Revision 234994 > 234749. >>From gcc-bugs-return-523724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 11:59:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99024 invoked by alias); 29 Apr 2016 11:59:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97653 invoked by uid 48); 29 Apr 2016 11:58:51 -0000 From: "jan.smets@alcatel-lucent.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70871] questionable optimisation in fold-const.c Date: Fri, 29 Apr 2016 11:59: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: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.smets@alcatel-lucent.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: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02937.txt.bz2 Content-length: 522 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70871 Jan Smets changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #38376|0 |1 is obsolete| | --- Comment #3 from Jan Smets --- Created attachment 38377 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38377&action=3Dedit possible solution >>From gcc-bugs-return-523725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 12:33:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88537 invoked by alias); 29 Apr 2016 12:33:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88326 invoked by uid 55); 29 Apr 2016 12:33:18 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70342] g++ -fsanitize=undefined never finishes compiling (>24h) in qtxmlpatterns test suite Date: Fri, 29 Apr 2016 12:33: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02938.txt.bz2 Content-length: 596 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70342 --- Comment #9 from Marek Polacek --- Author: mpolacek Date: Fri Apr 29 12:32:45 2016 New Revision: 235637 URL: https://gcc.gnu.org/viewcvs?rev=3D235637&root=3Dgcc&view=3Drev Log: PR sanitizer/70342 * fold-const.c (tree_single_nonzero_warnv_p): For TARGET_EXPR, use TARGET_EXPR_SLOT as a base. * g++.dg/ubsan/null-7.C: New test. Added: trunk/gcc/testsuite/g++.dg/ubsan/null-7.C Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 12:34:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91725 invoked by alias); 29 Apr 2016 12:34:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91110 invoked by uid 48); 29 Apr 2016 12:34:37 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70342] g++ -fsanitize=undefined never finishes compiling (>24h) in qtxmlpatterns test suite Date: Fri, 29 Apr 2016 12:34: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02939.txt.bz2 Content-length: 178 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70342 --- Comment #10 from Marek Polacek --- Fixed for GCC 7, will backport to GCC 6 after a while. >>From gcc-bugs-return-523728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 12:40:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110182 invoked by alias); 29 Apr 2016 12:40:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109188 invoked by uid 48); 29 Apr 2016 12:40:10 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70852] ice in warn_for_memset Date: Fri, 29 Apr 2016 12:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02941.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70852 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Marek Polacek --- Fixed. >>From gcc-bugs-return-523727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 12:40:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109133 invoked by alias); 29 Apr 2016 12:40:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108786 invoked by uid 55); 29 Apr 2016 12:39:57 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70852] ice in warn_for_memset Date: Fri, 29 Apr 2016 12:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02940.txt.bz2 Content-length: 557 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70852 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Fri Apr 29 12:39:25 2016 New Revision: 235638 URL: https://gcc.gnu.org/viewcvs?rev=3D235638&root=3Dgcc&view=3Drev Log: PR c/70852 * c-common.c (warn_for_memset): Check domain before accessing it. * gcc.dg/pr70852.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr70852.c Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-common.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 12:45:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117638 invoked by alias); 29 Apr 2016 12:45:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 117394 invoked by uid 48); 29 Apr 2016 12:44:50 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70526] [5 Regression] GCC 6 miscompiles Firefox JIT compiler Date: Fri, 29 Apr 2016 12:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02942.txt.bz2 Content-length: 159 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 --- Comment #13 from Richard Biener --- disabling SRA doesn't help anymore. >>From gcc-bugs-return-523730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 12:45:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130400 invoked by alias); 29 Apr 2016 12:45:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118487 invoked by uid 55); 29 Apr 2016 12:45:17 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70803] gcc.dg/vect/pr56625.c FAILs Date: Fri, 29 Apr 2016 12:45: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02943.txt.bz2 Content-length: 428 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70803 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #1 from amker at gcc dot gnu.org --- > Thanks for reporting this, I will check it. Maybe a simple "vect_int_mul= t" to > skip on some targets. Right, restricting the scan to vect_int_mult targets works on sparc, and i386 results are unchanged. Rainer >>From gcc-bugs-return-523732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 12:49:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7637 invoked by alias); 29 Apr 2016 12:49:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6638 invoked by uid 48); 29 Apr 2016 12:49:23 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70859] Bad column number in type-generic function errors Date: Fri, 29 Apr 2016 12:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02945.txt.bz2 Content-length: 561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70859 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-29 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed. >>From gcc-bugs-return-523731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 12:49:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6893 invoked by alias); 29 Apr 2016 12:49:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6476 invoked by uid 48); 29 Apr 2016 12:49:12 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70526] [5 Regression] GCC 6 miscompiles Firefox JIT compiler Date: Fri, 29 Apr 2016 12:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02944.txt.bz2 Content-length: 259 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 --- Comment #14 from Richard Biener --- no differences in GIMPLE dumps with -f[no-]strict-aliasing, so this is now a RTL optimization issue. -fno-schedule-insns2 fixes it ... >>From gcc-bugs-return-523733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 13:06:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52888 invoked by alias); 29 Apr 2016 13:06:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52753 invoked by uid 48); 29 Apr 2016 13:06:33 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70526] [5/6 Regression] GCC 6 miscompiles Firefox JIT compiler Date: Fri, 29 Apr 2016 13:06: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: 6.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02946.txt.bz2 Content-length: 652 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Component|tree-optimization |rtl-optimization Summary|[5 Regression] GCC 6 |[5/6 Regression] GCC 6 |miscompiles Firefox JIT |miscompiles Firefox JIT |compiler |compiler --- Comment #15 from Markus Trippelsdorf --- -fno-sched-last-insn-heuristic is enough to "fix" the issue. >>From gcc-bugs-return-523734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 13:19:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 797 invoked by alias); 29 Apr 2016 13:19:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 594 invoked by uid 48); 29 Apr 2016 13:18:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70526] [5/6 Regression] GCC 6 miscompiles Firefox JIT compiler Date: Fri, 29 Apr 2016 13:19: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: 6.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02947.txt.bz2 Content-length: 3106 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 --- Comment #16 from Richard Biener --- In ToConstantOrRegister: -(insn 66 64 88 7 (set (mem:SI (reg/f:DI 0 ax [orig:90 _12 ] [90]) [2 MEM[(struct Register *)_12]+0 S4 A32]) +(insn:TI 89 64 66 7 (set (reg:DI 1 dx [orig:125 D.3219+8 ] [125]) + (mem/c:DI (plus:DI (reg/f:DI 7 sp) + (const_int 8 [0x8])) [4 D.3125+8 S8 A64])) t.C:76 85 {*movdi_internal} + (nil)) +(insn 66 89 151 7 (set (mem:SI (reg/f:DI 0 ax [orig:90 _12 ] [90]) [2 MEM[(struct Register *)_12]+0 S4 A32]) (reg:SI 6 bp [orig:94 D.3225 ] [94])) t.C:39 86 {*movsi_internal} (expr_list:REG_DEAD (reg:SI 6 bp [orig:94 D.3225 ] [94]) (expr_list:REG_DEAD (reg/f:DI 0 ax [orig:90 _12 ] [90]) (nil)))) -(insn 88 66 89 7 (set (reg:DI 0 ax [orig:124 D.3219 ] [124]) - (mem/c:DI (reg/f:DI 7 sp) [4 D.3125+0 S8 A128])) t.C:76 85 {*movdi_internal} +(insn 151 66 88 7 (use (reg:DI 1 dx)) t.C:77 -1 (nil)) -(insn 89 88 150 7 (set (reg:DI 1 dx [orig:125 D.3219+8 ] [125]) - (mem/c:DI (plus:DI (reg/f:DI 7 sp) - (const_int 8 [0x8])) [4 D.3125+8 S8 A64])) t.C:76 85 {*movdi_internal} - (nil)) -(insn 150 89 151 7 (use (reg:SI 0 ax)) t.C:77 -1 - (nil)) -(insn 151 150 152 7 (use (reg:DI 1 dx)) t.C:77 -1 +(insn:TI 88 151 163 7 (set (reg:DI 0 ax [orig:124 D.3219 ] [124]) + (mem/c:DI (reg/f:DI 7 sp) [4 D.3125+0 S8 A128])) t.C:76 85 {*movdi_internal} (nil)) but # PT =3D nonlocal { D.3125 } _12 =3D TypedOrValueRegister::dataTyped (&D.3125); MEM[(struct Register *)_12] =3D reg$reg__34; reg =3D D.3125; so _12 may point to D.3125. _BUT_ here we access D.3125 both as Register (the store) and as its declared type TypedOrValueRegister (the load). Thus this is an invalid testcase. Quoting a larger part: struct TypedOrValueRegister D.3125; ... MEM[(struct &)&D.3125] =3D{v} {CLOBBER}; D.3125.type_ =3D type_2(D); # PT =3D nonlocal { D.3125 } _12 =3D TypedOrValueRegister::dataTyped (&D.3125); MEM[(struct Register *)_12] =3D reg$reg__34; reg =3D D.3125; MEM[(struct &)&D.3126] =3D{v} {CLOBBER}; D.3126.reg_ =3D reg; D.3219 =3D D.3126; D.3126 =3D{v} {CLOBBER}; D.3125 =3D{v} {CLOBBER}; : return D.3219; TypedOrValueRegister(MIRType type, Register reg) : type_(type) { dataTyped() =3D reg; } this dataTyped() use to store to TypedOrValueRegister is bogus. You can't refer to that part of the storage by copying *this. Hmm. Basically once you start the lifetime of an object inside the AlignedStorage area you can no longer access it using the enclosing object as a whole. Obviously doing sth like struct C { C(); ~C{}; }; struct S { AlignedStorage<...> typed; }; S s; new C (S.typed) (); S s2 =3D s; doesn't properly transfer 'C' and thus this is expected behavior. It might have worked with POD 'C' (not sure if by design). You have to invoke a proper way of moving the instantiated sub-object. So I think it's invalid even if somewhat unfortunate. Maybe worth a DR ;) >>From gcc-bugs-return-523735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 14:03:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67033 invoked by alias); 29 Apr 2016 14:03:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55141 invoked by uid 48); 29 Apr 2016 14:03:28 -0000 From: "jandemooij+gccbugs at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70526] [5/6 Regression] GCC 6 miscompiles Firefox JIT compiler Date: Fri, 29 Apr 2016 14:03: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: 6.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jandemooij+gccbugs at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02948.txt.bz2 Content-length: 659 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 --- Comment #17 from Jan de Mooij --- Thank you for looking into this again. I don't understand comment 16 though: > _BUT_ here we access D.3125 both as Register (the store) > and as its declared type TypedOrValueRegister (the load). So D.3125 is a TypedOrValueRegister right? TypedOrValueRegister is defined = as class TypedOrValueRegister { MIRType type_; AlignedStorage2 typed; ... So IIUC it's wrong to store to |typed| in the constructor, by doing this: *typed.addr() =3D reg; Why is that? Any suggestions on how to fix this on our end? >>From gcc-bugs-return-523736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 14:04:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76461 invoked by alias); 29 Apr 2016 14:04:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73224 invoked by uid 48); 29 Apr 2016 14:03:50 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70874] New: Segmentation violation in tree-chkp.c chkp_walk_pointer_assignments Date: Fri, 29 Apr 2016 14:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02949.txt.bz2 Content-length: 1041 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70874 Bug ID: 70874 Summary: Segmentation violation in tree-chkp.c chkp_walk_pointer_assignments Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- /* gcc -fsanitize=3Dundefined -fcheck-pointer-bounds -mmpx */ void f(char *a, int *b) { *b =3D *a; } /* * p.c:5:1: internal compiler error: Segmentation fault * } * ^ * 0x9caebf crash_signal *../../gcc-6.1.0/gcc/toplev.c:333 *0xa4ad08 chkp_walk_pointer_assignments *../../gcc-6.1.0/gcc/tree-chkp.c:3725 *0xa4c85f chkp_finish_file() *../../gcc-6.1.0/gcc/tree-chkp.c:3835 *Please submit a full bug report, *with preprocessed source if appropriate. *Please include the complete backtrace with any bug report. *See for instructions. */ >>From gcc-bugs-return-523737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 14:19:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105628 invoked by alias); 29 Apr 2016 14:19:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105070 invoked by uid 48); 29 Apr 2016 14:19:32 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70875] New: ICE in get_ubsan_type_info_for_type with -fsanitize=undefined Date: Fri, 29 Apr 2016 14:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02950.txt.bz2 Content-length: 1331 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70875 Bug ID: 70875 Summary: ICE in get_ubsan_type_info_for_type with -fsanitize=3Dundefined Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- /* gcc -fsanitize=3Dundefined */ int foo (int n, int k) { struct S { int i[n]; int value; } s[2]; return s[k].value =3D 0; } int main () { return foo (2, 0); } /* p.c: In function =E2=80=98foo=E2=80=99: * p.c:2:5: internal compiler error: in get_ubsan_type_info_for_type, at ubsan.c:305 * int foo (int n, int k) * ^~~ * 0x9e54e4 get_ubsan_type_info_for_type * ../../gcc-6.1.0/gcc/ubsan.c:305 * 0x9e54e4 ubsan_type_descriptor(tree_node*, ubsan_print_style) * ../../gcc-6.1.0/gcc/ubsan.c:454 * 0x9e5709 ubsan_expand_bounds_ifn(gimple_stmt_iterator*) * ../../gcc-6.1.0/gcc/ubsan.c:692 * 0x9ea7e9 execute * ../../gcc-6.1.0/gcc/sanopt.c:696 * Please submit a full bug report, * with preprocessed source if appropriate. * Please include the complete backtrace with any bug report. * See for instructions. */ >>From gcc-bugs-return-523738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 14:21:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109719 invoked by alias); 29 Apr 2016 14:21:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109581 invoked by uid 48); 29 Apr 2016 14:21:13 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/69804] [5/6] ICE with -fsanitize=undefined -fcheck-pointer-bounds -mmpx Date: Fri, 29 Apr 2016 14:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02951.txt.bz2 Content-length: 446 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69804 Ilya Enkovich changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zeccav at gmail dot com --- Comment #3 from Ilya Enkovich --- *** Bug 70874 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-523739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 14:21:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109730 invoked by alias); 29 Apr 2016 14:21:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109555 invoked by uid 48); 29 Apr 2016 14:21:11 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70874] Segmentation violation in tree-chkp.c chkp_walk_pointer_assignments Date: Fri, 29 Apr 2016 14:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02952.txt.bz2 Content-length: 580 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70874 Ilya Enkovich changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |ienkovich at gcc dot gnu.o= rg Resolution|--- |DUPLICATE --- Comment #1 from Ilya Enkovich --- Duplicate *** This bug has been marked as a duplicate of bug 69804 *** >>From gcc-bugs-return-523740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 14:23:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115621 invoked by alias); 29 Apr 2016 14:23:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115479 invoked by uid 48); 29 Apr 2016 14:23:28 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70875] ICE in get_ubsan_type_info_for_type with -fsanitize=undefined Date: Fri, 29 Apr 2016 14:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02953.txt.bz2 Content-length: 658 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70875 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-04-29 CC| |mpolacek at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed, mine. >>From gcc-bugs-return-523741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 14:26:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121456 invoked by alias); 29 Apr 2016 14:26:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121306 invoked by uid 48); 29 Apr 2016 14:26:37 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70173] make distclean: leaves stage_final and libcc1/compiler-name.h Date: Fri, 29 Apr 2016 14: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02954.txt.bz2 Content-length: 178 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70173 --- Comment #8 from Segher Boessenkool --- This is fixed on trunk now. Does it need backports? >>From gcc-bugs-return-523742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 14:29:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37220 invoked by alias); 29 Apr 2016 14:29:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37087 invoked by uid 48); 29 Apr 2016 14:29:15 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/70369] [testsuite,ARM,AArch64] AdvSIMD intrinsic tests missing Date: Fri, 29 Apr 2016 14:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: clyon at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02955.txt.bz2 Content-length: 346 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70369 --- Comment #3 from Christophe Lyon --- Created attachment 38378 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38378&action=3Dedit list of tests missing for aarch64 On AArch64, there are many intrinsics defined in arm_neon.h for which there= is no test. >>From gcc-bugs-return-523743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 14:33:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78120 invoked by alias); 29 Apr 2016 14:33:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77782 invoked by uid 48); 29 Apr 2016 14:33:40 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70876] New: ICE in chkp_find_bounds: Unexpected tree code with_size_expr Date: Fri, 29 Apr 2016 14: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02956.txt.bz2 Content-length: 1559 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70876 Bug ID: 70876 Summary: ICE in chkp_find_bounds: Unexpected tree code with_size_expr Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- /* gcc -fcheck-pointer-bounds -mmpx */ void f (char *s1, char *s2) { int z =3D 5; struct { char a[z]; } x; s1[0] =3D s2[0]; foo (x, x); } /*p.c: In function =E2=80=98f=E2=80=99: * p.c:10:3: warning: implicit declaration of function =E2=80=98foo=E2=80=99 [-Wimplicit-function-declaration] * foo (x, x); * ^~~ * p.c: In function =E2=80=98f.chkp=E2=80=99: * p.c:11:1: internal compiler error: chkp_find_bounds: Unexpected tree code with_size_expr * } * ^ * 0xa4de44 chkp_find_bounds_1 *../../gcc-6.1.0/gcc/tree-chkp.c:3667 * 0xa51f78 chkp_find_bounds * ../../gcc-6.1.0/gcc/tree-chkp.c:3687 * 0xa51f78 chkp_add_bounds_to_call_stmt * ../../gcc-6.1.0/gcc/tree-chkp.c:1896 * 0xa51f78 chkp_instrument_function * ../../gcc-6.1.0/gcc/tree-chkp.c:4271 * 0xa51f78 chkp_execute * ../../gcc-6.1.0/gcc/tree-chkp.c:4455 * 0xa51f78 execute * ../../gcc-6.1.0/gcc/tree-chkp.c:4514 * Please submit a full bug report, * with preprocessed source if appropriate. * Please include the complete backtrace with any bug report. * See for instructions. */ >>From gcc-bugs-return-523744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 14:48:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74822 invoked by alias); 29 Apr 2016 14:48:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74392 invoked by uid 48); 29 Apr 2016 14:48:32 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70851] internal compiler error: in create_tmp_var, at gimple-expr.c:473 Date: Fri, 29 Apr 2016 14:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02957.txt.bz2 Content-length: 578 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70851 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-04-29 Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org Ever confirmed|0 |1 --- Comment #2 from Marek Polacek --- I have a fix. >>From gcc-bugs-return-523745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 14:49:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76322 invoked by alias); 29 Apr 2016 14:49:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76001 invoked by uid 48); 29 Apr 2016 14:49:13 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70877] New: ICE in in convert_move Date: Fri, 29 Apr 2016 14: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02958.txt.bz2 Content-length: 1801 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70877 Bug ID: 70877 Summary: ICE in in convert_move Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- /* gcc -fcheck-pointer-bounds -mmpx */ int foo(int); typedef struct { double d; int a; } str_t; void bar(double d, int i, str_t s) { d =3D ((double (*) (int)) foo) (i); } /*p.c: In function =E2=80=98bar=E2=80=99: * p.c:11:8: warning: function called through a non-compatible type * d =3D ((double (*) (int)) foo) (i); * ~^~~~~~~~~~~~~~~~~~~~~~~ * p.c: In function =E2=80=98bar.chkp=E2=80=99: * p.c:11:5: internal compiler error: in convert_move, at expr.c:268 * d =3D ((double (*) (int)) foo) (i); * ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * 0x768d18 convert_move(rtx_def*, rtx_def*, int) * ../../gcc-6.1.0/gcc/expr.c:268 * 0x76e515 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool, tree_node*) * ../../gcc-6.1.0/gcc/expr.c:5483 * 0x76e98f expand_assignment(tree_node*, tree_node*, bool) * ../../gcc-6.1.0/gcc/expr.c:5175 * 0x691a9c expand_call_stmt * ../../gcc-6.1.0/gcc/cfgexpand.c:2658 * 0x691a9c expand_gimple_stmt_1 * ../../gcc-6.1.0/gcc/cfgexpand.c:3548 * 0x691a9c expand_gimple_stmt * ../../gcc-6.1.0/gcc/cfgexpand.c:3714 * 0x693435 expand_gimple_basic_block * ../../gcc-6.1.0/gcc/cfgexpand.c:5720 * 0x698316 execute * ../../gcc-6.1.0/gcc/cfgexpand.c:6335 * Please submit a full bug report, * with preprocessed source if appropriate. * Please include the complete backtrace with any bug report. * See for instructions. */ >>From gcc-bugs-return-523746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 14:57:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103629 invoked by alias); 29 Apr 2016 14:57:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103510 invoked by uid 48); 29 Apr 2016 14:57:19 -0000 From: "seurer at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/68860] [6/7 regression] FAIL: gcc.dg/guality/pr36728-1.c -flto -O3 -g line 16/7 arg1 == 1 Date: Fri, 29 Apr 2016 14:57: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.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at linux dot vnet.ibm.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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02959.txt.bz2 Content-length: 364 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68860 --- Comment #14 from Bill Seurer --- Dominik Vogt, I've noticed that sort of failure in several of the guality t= est cases where a test is done at line X but optimization moves the assignment being tested to after line X. Should the tests be adjusted in all those ca= ses? >>From gcc-bugs-return-523747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 15:13:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88733 invoked by alias); 29 Apr 2016 15:13:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87882 invoked by uid 55); 29 Apr 2016 15:13:35 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70803] gcc.dg/vect/pr56625.c FAILs Date: Fri, 29 Apr 2016 15:13: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: 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02960.txt.bz2 Content-length: 457 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70803 --- Comment #3 from amker at gcc dot gnu.org --- Author: amker Date: Fri Apr 29 15:13:03 2016 New Revision: 235644 URL: https://gcc.gnu.org/viewcvs?rev=3D235644&root=3Dgcc&view=3Drev Log: gcc/testsuite/ChangeLog PR tree-optimization/70803 * gcc.dg/vect/pr56625.c: Require vect_int_mult. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/pr56625.c >>From gcc-bugs-return-523748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 15:14:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90119 invoked by alias); 29 Apr 2016 15:14:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89974 invoked by uid 48); 29 Apr 2016 15:14:36 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67737] [C++1z] ICE in make_decl_rtl, at varasm.c:1299 Date: Fri, 29 Apr 2016 15:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02961.txt.bz2 Content-length: 2470 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67737 Vittorio Zecca changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zeccav at gmail dot com --- Comment #7 from Vittorio Zecca --- With gcc 6.1.0, maybe a shorter reproducer /* gcc -fcheck-pointer-bounds -mmpx p.c */ int main () { int size =3D 10; typedef struct { char val[size]; } block; block b; block retframe_block () {} retframe_block (); } /* * p.c: In function =E2=80=98main.chkp=E2=80=99: * p.c:11:3: internal compiler error: in make_decl_rtl, at varasm.c:1299 * retframe_block (); * ^~~~~~~~~~~~~~ * 0xbf101d make_decl_rtl(tree_node*) * ../../gcc-6.1.0/gcc/varasm.c:1295 * 0x7658b6 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) * ../../gcc-6.1.0/gcc/expr.c:9612 * 0xc4cddf expand_normal * ../../gcc-6.1.0/gcc/expr.h:262 * 0xc4cddf ix86_expand_builtin * ../../gcc-6.1.0/gcc/config/i386/i386.c:40323 * 0x67643c expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, in= t) * ../../gcc-6.1.0/gcc/builtins.c:5624 * 0x765171 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) * ../../gcc-6.1.0/gcc/expr.c:10591 * 0x682662 initialize_argument_information * ../../gcc-6.1.0/gcc/calls.c:1186 * 0x682662 expand_call(tree_node*, rtx_def*, int) * ../../gcc-6.1.0/gcc/calls.c:2699 * 0x764c06 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) * ../../gcc-6.1.0/gcc/expr.c:10594 * 0x76dc39 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool, tree_node*) * ../../gcc-6.1.0/gcc/expr.c:5406 * 0x76e98f expand_assignment(tree_node*, tree_node*, bool) * ../../gcc-6.1.0/gcc/expr.c:5175 * 0x691a9c expand_call_stmt * ../../gcc-6.1.0/gcc/cfgexpand.c:2658 * 0x691a9c expand_gimple_stmt_1 * ../../gcc-6.1.0/gcc/cfgexpand.c:3548 * 0x691a9c expand_gimple_stmt * ../../gcc-6.1.0/gcc/cfgexpand.c:3714 * 0x693435 expand_gimple_basic_block * ../../gcc-6.1.0/gcc/cfgexpand.c:5720 * 0x698316 execute * ../../gcc-6.1.0/gcc/cfgexpand.c:6335 * Please submit a full bug report, * with preprocessed source if appropriate. * Please include the complete backtrace with any bug report. * See for instructions. */ >>From gcc-bugs-return-523749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 15:24:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59056 invoked by alias); 29 Apr 2016 15:24:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20498 invoked by uid 48); 29 Apr 2016 15:24:03 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70526] [5/6 Regression] GCC 6 miscompiles Firefox JIT compiler Date: Fri, 29 Apr 2016 15:24: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: 6.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02962.txt.bz2 Content-length: 981 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #18 from Alexander Monakov --- Richard -- please correct if I'm wrong -- means here: > You can't refer to that part of the storage by copying *this. ... that the implicitly instantiated copy constructor (as well as assignment operator, for that matter) will copy this->typed as a char[]/uint64_t union, while it actually contains a value of type Register. You need an explicit c= opy constructor that would assign this->typed with the correct type via 'typed.addr() =3D ...' like the existing constructor does. (If T was POD, you could have had it in the union in the first place, and t= his issue wouldn't arise) >>From gcc-bugs-return-523750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 15:26:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64280 invoked by alias); 29 Apr 2016 15:26:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64114 invoked by uid 48); 29 Apr 2016 15:26:30 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70878] New: ICE in expand_expr_addr_expr_1, at expr.c:7680 Date: Fri, 29 Apr 2016 15:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02963.txt.bz2 Content-length: 2178 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70878 Bug ID: 70878 Summary: ICE in expand_expr_addr_expr_1, at expr.c:7680 Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- /* gcc -fsanitize=3Dundefined */ void * sbrk () { volatile register __attribute__ ((__spu_vector__)) unsigned int sp_r1 __as= m__ ("1"); __builtin_spu_extract (sp_r1, 0); } /* /home/vitti/f95/cc/gccerr38.c: In function =E2=80=98sbrk=E2=80=99: /home/vitti/f95/cc/gccerr38.c:3:2: warning: =E2=80=98__spu_vector__=E2=80= =99 attribute directive ignored [-Wattributes] volatile register __attribute__ ((__spu_vector__)) unsigned int sp_r1 __a= sm__ ("1"); ^~~~~~~~ /home/vitti/f95/cc/gccerr38.c:5:2: warning: implicit declaration of function =E2=80=98__builtin_spu_extract=E2=80=99 [-Wimplicit-function-declaration] __builtin_spu_extract (sp_r1, 0); ^~~~~~~~~~~~~~~~~~~~~ /home/vitti/f95/cc/gccerr38.c:1:8: internal compiler error: in expand_expr_addr_expr_1, at expr.c:7680 void * sbrk () ^~~~ 0x77627d expand_expr_addr_expr_1 ../../gcc-6.1.0/gcc/expr.c:7680 0x7645b3 expand_expr_addr_expr ../../gcc-6.1.0/gcc/expr.c:7793 0x7645b3 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../gcc-6.1.0/gcc/expr.c:10825 0x774ddc expand_expr ../../gcc-6.1.0/gcc/expr.h:256 0x774ddc expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) ../../gcc-6.1.0/gcc/expr.c:8180 0x69201e expand_gimple_stmt_1 ../../gcc-6.1.0/gcc/cfgexpand.c:3653 0x69201e expand_gimple_stmt ../../gcc-6.1.0/gcc/cfgexpand.c:3714 0x693435 expand_gimple_basic_block ../../gcc-6.1.0/gcc/cfgexpand.c:5720 0x698316 execute ../../gcc-6.1.0/gcc/cfgexpand.c:6335 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. */ >>From gcc-bugs-return-523751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 15:28:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69533 invoked by alias); 29 Apr 2016 15:28:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68709 invoked by uid 48); 29 Apr 2016 15:27:59 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70803] gcc.dg/vect/pr56625.c FAILs Date: Fri, 29 Apr 2016 15:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02964.txt.bz2 Content-length: 415 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70803 amker at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #4 from amker at gcc dot gnu.org --- Fixed according to #2 comment. >>From gcc-bugs-return-523752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 15:50:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8643 invoked by alias); 29 Apr 2016 15:50:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4001 invoked by uid 48); 29 Apr 2016 15:50:44 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/69531] Implement CWG 1307; Differently bounded array parameters Date: Fri, 29 Apr 2016 15:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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 cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02965.txt.bz2 Content-length: 1642 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69531 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-29 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 Known to fail| |5.3.0, 6.0 --- Comment #1 from Martin Sebor --- The example in the core issue compiles fine with both 6.0 and 5.3 (see belo= w) but the provided test case does not. Based on my reading of the relevant paragraphs of the current working paper (N4567) I agree the test case is va= lid and the call should resolve to the first overload of f (i.e., int f(int(&&)[1])). $ cat x.cpp && g++ -S -Wall -Wextra -Wpedantic -std=3Dc++14 -xc++ x.cpp void f (int const(&)[1]); void f (int const(&)[2]); int main () { f ({1}); } x.cpp: In function =E2=80=98int main()=E2=80=99: x.cpp:6:9: error: call of overloaded =E2=80=98f()=E2=80=99 is ambiguous f ({1}); ^ x.cpp:1:6: note: candidate: void f(const int (&)[1]) void f (int const(&)[1]); ^ x.cpp:2:6: note: candidate: void f(const int (&)[2]) void f (int const(&)[2]); ^ Test case from core issue 1307: $ cat x.cpp && ~/bin/gcc-5.1.0/bin/g++ -S -Wall -Wextra -Wpedantic -std=3Dc= ++14 -xc++ x.cpp void f (int const(&)[2]); void f (int const(&)[3]); int main () { f ({1, 2, 3}); } $ >>From gcc-bugs-return-523753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 16:17:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120045 invoked by alias); 29 Apr 2016 16:17:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119932 invoked by uid 48); 29 Apr 2016 16:17:36 -0000 From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70879] New: Missed jump threading opportunity with multiple != conditions Date: Fri, 29 Apr 2016 16:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02966.txt.bz2 Content-length: 1420 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70879 Bug ID: 70879 Summary: Missed jump threading opportunity with multiple !=3D conditions Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: ppalka at gcc dot gnu.org Target Milestone: --- Test case: void bar (void); void baz (void); void foo (int a) { if (a !=3D 5 && a !=3D 10) bar (); if (a =3D=3D 10) baz (); } VRP1 dump: SSA form after inserting ASSERT_EXPRs void foo(int) (int a) { bool _4; bool _5; bool _6; : _4 =3D a_3(D) !=3D 5; _5 =3D a_3(D) !=3D 10; _6 =3D _4 & _5; if (_6 !=3D 0) goto ; else goto ; : a_10 =3D ASSERT_EXPR ; a_11 =3D ASSERT_EXPR ; bar (); : if (a_3(D) =3D=3D 5) goto ; else goto ; : baz (); : return; } If bar is called then baz cannot possibly be called so in bb3 we ought to j= ump straight to bb6 instead of falling through to bb4. The problem is that when discovering dominating ASSERT_EXPRs of a_3 we only look at the immediate uses of a_3 so we use the ASSERT_EXPR a_10 instead of a_11, but the latter contains more information. >>From gcc-bugs-return-523754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 16:47:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44177 invoked by alias); 29 Apr 2016 16:47:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43888 invoked by uid 48); 29 Apr 2016 16:47:02 -0000 From: "tsarkov at cs dot man.ac.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/70880] New: Main page GCC 7.0 links point to GCC 6 Date: Fri, 29 Apr 2016 16:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: tsarkov at cs dot man.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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02967.txt.bz2 Content-length: 555 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70880 Bug ID: 70880 Summary: Main page GCC 7.0 links point to GCC 6 Product: gcc Version: unknown Status: UNCONFIRMED Severity: trivial Priority: P3 Component: web Assignee: unassigned at gcc dot gnu.org Reporter: tsarkov at cs dot man.ac.uk Target Milestone: --- GCC 7.0 "release criteria" and "changes" links are pointing to gcc-6 versio= ns. The branch status should also be updated to stage 1. >>From gcc-bugs-return-523755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 16:53:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60186 invoked by alias); 29 Apr 2016 16:53:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59992 invoked by uid 48); 29 Apr 2016 16:53:29 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/37780] Conditional expression with __builtin_clz() should be optimized out Date: Fri, 29 Apr 2016 16:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.4.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02968.txt.bz2 Content-length: 515 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D37780 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |ktkachov at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |ktkachov at gcc dot= gnu.org --- Comment #3 from ktkachov at gcc dot gnu.org --- I'll have a look >>From gcc-bugs-return-523756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 17:21:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6222 invoked by alias); 29 Apr 2016 17:21:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5962 invoked by uid 55); 29 Apr 2016 17:21:10 -0000 From: "dje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/69810] PowerPC64: unrecognizable insn Date: Fri, 29 Apr 2016 17:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dje 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.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02969.txt.bz2 Content-length: 660 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69810 --- Comment #9 from David Edelsohn --- Author: dje Date: Fri Apr 29 17:20:36 2016 New Revision: 235646 URL: https://gcc.gnu.org/viewcvs?rev=3D235646&root=3Dgcc&view=3Drev Log: PR target/69810 * config/rs6000/rs6000.md (EXTQI): Don't allow extension to HImode. (zero_extendqi2_dot): Revert earlier conversion from define_insn_and_split to define_insn. (zero_extendqi2_dot2): Same. (extendqi2_dot): Same. (extendqi2_dot2): Same. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000.md >>From gcc-bugs-return-523757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 17:28:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15141 invoked by alias); 29 Apr 2016 17:28:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14869 invoked by uid 55); 29 Apr 2016 17:28:34 -0000 From: "hjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70155] Use SSE for TImode load/store Date: Fri, 29 Apr 2016 17:28: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02970.txt.bz2 Content-length: 1695 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70155 --- Comment #7 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Apr 29 17:27:59 2016 New Revision: 235647 URL: https://gcc.gnu.org/viewcvs?rev=3D235647&root=3Dgcc&view=3Drev Log: Update scan-assembler-not in PR target/70155 tests Since PIC leads to the *movdi_internal pattern, check for nonexistence of the *movdi_internal pattern in PR target/70155 tests only if PIC is off. * gcc.target/i386/pr70155-1.c: Check for nonexistence of the *movdi_internal pattern only if PIC off. * gcc.target/i386/pr70155-2.c: Likewise. * gcc.target/i386/pr70155-3.c: Likewise. * gcc.target/i386/pr70155-4.c: Likewise. * gcc.target/i386/pr70155-5.c: Likewise. * gcc.target/i386/pr70155-6.c: Likewise. * gcc.target/i386/pr70155-7.c: Likewise. * gcc.target/i386/pr70155-8.c: Likewise. * gcc.target/i386/pr70155-15.c: Likewise. * gcc.target/i386/pr70155-17.c: Likewise. * gcc.target/i386/pr70155-22.c: Likewise. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/i386/pr70155-1.c trunk/gcc/testsuite/gcc.target/i386/pr70155-15.c trunk/gcc/testsuite/gcc.target/i386/pr70155-17.c trunk/gcc/testsuite/gcc.target/i386/pr70155-2.c trunk/gcc/testsuite/gcc.target/i386/pr70155-22.c trunk/gcc/testsuite/gcc.target/i386/pr70155-3.c trunk/gcc/testsuite/gcc.target/i386/pr70155-4.c trunk/gcc/testsuite/gcc.target/i386/pr70155-5.c trunk/gcc/testsuite/gcc.target/i386/pr70155-6.c trunk/gcc/testsuite/gcc.target/i386/pr70155-7.c trunk/gcc/testsuite/gcc.target/i386/pr70155-8.c >>From gcc-bugs-return-523758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 17:35:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27960 invoked by alias); 29 Apr 2016 17:35:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27714 invoked by uid 48); 29 Apr 2016 17:35:31 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49244] __sync or __atomic builtins will not emit 'lock bts/btr/btc' Date: Fri, 29 Apr 2016 17:35: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: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02971.txt.bz2 Content-length: 579 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49244 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #11 from Jakub Jelinek --- Created attachment 38379 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38379&action=3Dedit gcc7-pr49244.patch Untested fix. >>From gcc-bugs-return-523759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 17:38:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34498 invoked by alias); 29 Apr 2016 17:38:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34133 invoked by uid 55); 29 Apr 2016 17:38:28 -0000 From: "cesar at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70626] bogus results in 'acc parallel loop' reductions Date: Fri, 29 Apr 2016 17: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: 6.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: cesar at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: cesar at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02972.txt.bz2 Content-length: 2577 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70626 --- Comment #3 from cesar at gcc dot gnu.org --- Author: cesar Date: Fri Apr 29 17:37:55 2016 New Revision: 235650 URL: https://gcc.gnu.org/viewcvs?rev=3D235650&root=3Dgcc&view=3Drev Log: gcc/c-family/ PR middle-end/70626 * c-common.h (c_oacc_split_loop_clauses): Add boolean argument. * c-omp.c (c_oacc_split_loop_clauses): Use it to duplicate reduction clauses in acc parallel loops. gcc/c/ PR middle-end/70626 * c-parser.c (c_parser_oacc_loop): Don't augment mask with OACC_LOOP_CLAUSE_MASK. (c_parser_oacc_kernels_parallel): Update call to c_oacc_split_loop_clauses. gcc/cp/ PR middle-end/70626 * parser.c (cp_parser_oacc_loop): Don't augment mask with OACC_LOOP_CLAUSE_MASK. (cp_parser_oacc_kernels_parallel): Update call to c_oacc_split_loop_clauses. gcc/fortran/ PR middle-end/70626 * trans-openmp.c (gfc_trans_oacc_combined_directive): Duplicate the reduction clause in both parallel and loop directives. gcc/testsuite/ PR middle-end/70626 * c-c++-common/goacc/combined-reduction.c: New test. * gfortran.dg/goacc/reduction-2.f95: Add check for kernels reductio= ns. libgomp/ PR middle-end/70626 * testsuite/libgomp.oacc-c++/template-reduction.C: Adjust test. * testsuite/libgomp.oacc-c-c++-common/combined-reduction.c: New tes= t. * testsuite/libgomp.oacc-fortran/combined-reduction.f90: New test. Added: branches/gcc-6-branch/gcc/testsuite/c-c++-common/goacc/combined-reducti= on.c =20=20=20 branches/gcc-6-branch/libgomp/testsuite/libgomp.oacc-c-c++-common/combined-= reduction.c =20=20=20 branches/gcc-6-branch/libgomp/testsuite/libgomp.oacc-fortran/combined-reduc= tion.f90 Modified: branches/gcc-6-branch/gcc/c-family/ChangeLog branches/gcc-6-branch/gcc/c-family/c-common.h branches/gcc-6-branch/gcc/c-family/c-omp.c branches/gcc-6-branch/gcc/c/ChangeLog branches/gcc-6-branch/gcc/c/c-parser.c branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/parser.c branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/trans-openmp.c branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/testsuite/gfortran.dg/goacc/reduction-2.f95 branches/gcc-6-branch/libgomp/ChangeLog =20=20=20 branches/gcc-6-branch/libgomp/testsuite/libgomp.oacc-c++/template-reduction= .C >>From gcc-bugs-return-523760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 17:41:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39699 invoked by alias); 29 Apr 2016 17:41:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39574 invoked by uid 48); 29 Apr 2016 17:40:50 -0000 From: "ian at geometrian dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70881] New: -Wunused-parameter incorrect for macro case Date: Fri, 29 Apr 2016 17:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at geometrian dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02973.txt.bz2 Content-length: 919 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70881 Bug ID: 70881 Summary: -Wunused-parameter incorrect for macro case Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ian at geometrian dot com Target Milestone: --- Created attachment 38380 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38380&action=3Dedit Simple example. In the attached example, adapted from real-world image-processing code, a m= acro is used to paste a case statement that contains a parameter. However, -Wunused-parameter reports that it is not used, erroneously. Produces: macro-example.cpp: In function 'ImageBase* get_new_diffabs(const ImageBase*, const ImageBase*)': 35 : warning: unused parameter 'img1' [-Wunused-parameter] >>From gcc-bugs-return-523761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 17:42:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43230 invoked by alias); 29 Apr 2016 17:42:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42938 invoked by uid 55); 29 Apr 2016 17:42:37 -0000 From: "cesar at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70626] bogus results in 'acc parallel loop' reductions Date: Fri, 29 Apr 2016 17:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: cesar at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: cesar at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02974.txt.bz2 Content-length: 2295 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70626 --- Comment #4 from cesar at gcc dot gnu.org --- Author: cesar Date: Fri Apr 29 17:42:04 2016 New Revision: 235651 URL: https://gcc.gnu.org/viewcvs?rev=3D235651&root=3Dgcc&view=3Drev Log: gcc/c-family/ PR middle-end/70626 * c-common.h (c_oacc_split_loop_clauses): Add boolean argument. * c-omp.c (c_oacc_split_loop_clauses): Use it to duplicate reduction clauses in acc parallel loops. gcc/c/ PR middle-end/70626 * c-parser.c (c_parser_oacc_loop): Don't augment mask with OACC_LOOP_CLAUSE_MASK. (c_parser_oacc_kernels_parallel): Update call to c_oacc_split_loop_clauses. gcc/cp/ PR middle-end/70626 * parser.c (cp_parser_oacc_loop): Don't augment mask with OACC_LOOP_CLAUSE_MASK. (cp_parser_oacc_kernels_parallel): Update call to c_oacc_split_loop_clauses. gcc/fortran/ PR middle-end/70626 * trans-openmp.c (gfc_trans_oacc_combined_directive): Duplicate the reduction clause in both parallel and loop directives. gcc/testsuite/ PR middle-end/70626 * c-c++-common/goacc/combined-reduction.c: New test. * gfortran.dg/goacc/reduction-2.f95: Add check for kernels reductio= ns. libgomp/ PR middle-end/70626 * testsuite/libgomp.oacc-c++/template-reduction.C: Adjust test. * testsuite/libgomp.oacc-c-c++-common/combined-reduction.c: New tes= t. * testsuite/libgomp.oacc-fortran/combined-reduction.f90: New test. Added: trunk/gcc/testsuite/c-c++-common/goacc/combined-reduction.c trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/combined-reduction.c trunk/libgomp/testsuite/libgomp.oacc-fortran/combined-reduction.f90 Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-common.h trunk/gcc/c-family/c-omp.c trunk/gcc/c/ChangeLog trunk/gcc/c/c-parser.c trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-openmp.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/goacc/reduction-2.f95 trunk/libgomp/ChangeLog trunk/libgomp/testsuite/libgomp.oacc-c++/template-reduction.C >>From gcc-bugs-return-523762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 17:43:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83907 invoked by alias); 29 Apr 2016 17:43:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82730 invoked by uid 48); 29 Apr 2016 17:43:19 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49244] __sync or __atomic builtins will not emit 'lock bts/btr/btc' Date: Fri, 29 Apr 2016 17: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: unknown X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02975.txt.bz2 Content-length: 3518 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49244 --- Comment #12 from Jakub Jelinek --- The attached patch seems to work (just eyeballed assembly of the following testcase, haven't turned it into a runtime testcase that would verify it wo= rks right yet). It should detect both the compile time known bit atomic bit te= st and {set,complement,reset} and variable bit, though the latter I guess for int/long/long long only, not for short (and for char there even isn't bt?b instruction) - the reason for short being problematic is because of C integ= ral promotions, so for unsigned short mask =3D (unsigned short) 1 << cnt; one r= eally doesn't know if it has exactly one bit set - it could as well have zero bits set without invoking undefined behavior, while for int/long/long long, 1 <<= cnt will be non-zero for any case that doesn't invoke undefined behavior. The patch currently recognizes just the fetch_and_op builtins, for xor it in theory could also recognize op_and_fetch case and just invert the bit afterwards. -O2 -g -m64: void bar (void); int f1 (int *a, int bit) { unsigned int mask =3D (1u << bit); return (__sync_fetch_and_or (a, mask) & mask) !=3D 0; } int f2 (int *a, int bit) { unsigned int mask =3D (1u << bit); unsigned int t1 =3D __atomic_fetch_or (a, mask, __ATOMIC_RELAXED); unsigned int t2 =3D t1 & mask; return t2 !=3D 0; } long int f3 (long int *a, int bit) { unsigned long int mask =3D (1ul << bit); return (__atomic_fetch_or (a, mask, __ATOMIC_SEQ_CST) & mask) =3D=3D 0; } int f4 (int *a) { unsigned int mask =3D (1u << 7); return (__sync_fetch_and_or (a, mask) & mask) !=3D 0; } int f5 (int *a) { unsigned int mask =3D (1u << 13); return (__atomic_fetch_or (a, mask, __ATOMIC_RELAXED) & mask) !=3D 0; } int f6 (int *a) { unsigned int mask =3D (1u << 0); return (__atomic_fetch_or (a, mask, __ATOMIC_SEQ_CST) & mask) !=3D 0; } void f7 (int *a, int bit) { unsigned int mask =3D (1u << bit); if ((__sync_fetch_and_xor (a, mask) & mask) !=3D 0) bar (); } void f8 (int *a, int bit) { unsigned int mask =3D (1u << bit); if ((__atomic_fetch_xor (a, mask, __ATOMIC_RELAXED) & mask) =3D=3D 0) bar (); } int f9 (int *a, int bit) { unsigned int mask =3D (1u << bit); return (__atomic_fetch_xor (a, mask, __ATOMIC_SEQ_CST) & mask) !=3D 0; } int f10 (int *a) { unsigned int mask =3D (1u << 7); return (__sync_fetch_and_xor (a, mask) & mask) !=3D 0; } int f11 (int *a) { unsigned int mask =3D (1u << 13); return (__atomic_fetch_xor (a, mask, __ATOMIC_RELAXED) & mask) !=3D 0; } int f12 (int *a) { unsigned int mask =3D (1u << 0); return (__atomic_fetch_xor (a, mask, __ATOMIC_SEQ_CST) & mask) !=3D 0; } int f13 (int *a, int bit) { unsigned int mask =3D (1u << bit); return (__sync_fetch_and_and (a, ~mask) & mask) !=3D 0; } int f14 (int *a, int bit) { unsigned int mask =3D (1u << bit); return (__atomic_fetch_and (a, ~mask, __ATOMIC_RELAXED) & mask) !=3D 0; } int f15 (int *a, int bit) { unsigned int mask =3D (1u << bit); return (__atomic_fetch_and (a, ~mask, __ATOMIC_SEQ_CST) & mask) !=3D 0; } int f16 (int *a) { unsigned int mask =3D (1u << 7); return (__sync_fetch_and_and (a, ~mask) & mask) !=3D 0; } int f17 (int *a) { unsigned int mask =3D (1u << 13); return (__atomic_fetch_and (a, ~mask, __ATOMIC_RELAXED) & mask) !=3D 0; } int f18 (int *a) { unsigned int mask =3D (1u << 0); return (__atomic_fetch_and (a, ~mask, __ATOMIC_SEQ_CST) & mask) !=3D 0; } >>From gcc-bugs-return-523763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 17:44:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85722 invoked by alias); 29 Apr 2016 17:44:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85474 invoked by uid 48); 29 Apr 2016 17:44:02 -0000 From: "cesar at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70626] bogus results in 'acc parallel loop' reductions Date: Fri, 29 Apr 2016 17:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: cesar at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: cesar at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02976.txt.bz2 Content-length: 421 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70626 cesar at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from cesar at gcc dot gnu.org --- Fixed in trunk and and gcc-6-branch. >>From gcc-bugs-return-523764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 17:45:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87462 invoked by alias); 29 Apr 2016 17:45:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87156 invoked by uid 55); 29 Apr 2016 17:45:02 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70526] [5/6 Regression] GCC 6 miscompiles Firefox JIT compiler Date: Fri, 29 Apr 2016 17:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02977.txt.bz2 Content-length: 1415 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 --- Comment #19 from rguenther at suse dot de --- On April 29, 2016 5:24:00 PM GMT+02:00, "amonakov at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 > >Alexander Monakov changed: > > What |Removed |Added >--------------------------------------------------------------------------= -- > CC| |amonakov at gcc dot gnu.org > >--- Comment #18 from Alexander Monakov >--- >Richard -- please correct if I'm wrong -- means here: > >> You can't refer to that part of the storage by copying *this. > >... that the implicitly instantiated copy constructor (as well as >assignment >operator, for that matter) will copy this->typed as a char[]/uint64_t >union, >while it actually contains a value of type Register. You need an >explicit copy >constructor that would assign this->typed with the correct type via >'typed.addr() =3D ...' like the existing constructor does. Yes. In fact the C++ FE for the copy constructor emits a simple aggregate assignment which may be a problem on its own (regarding TBAA if this case is supposed to be not invalid) >(If T was POD, you could have had it in the union in the first place, >and this >issue wouldn't arise) >>From gcc-bugs-return-523765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 17:49:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8654 invoked by alias); 29 Apr 2016 17:49:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8265 invoked by uid 48); 29 Apr 2016 17:49:45 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70881] -Wunused-parameter incorrect for macro case Date: Fri, 29 Apr 2016 17:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02978.txt.bz2 Content-length: 606 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70881 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- The warning looks good to me, while you "use" img1 in a macro, that macro is never used, just try g++ -E on your testcase. Did you mean not to use \ at the end of line preceeding _IMGPP_APPLY_GRAY_ALL(_IMGPP_CASE) by any chance? >>From gcc-bugs-return-523766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 17:57:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33195 invoked by alias); 29 Apr 2016 17:57:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32999 invoked by uid 48); 29 Apr 2016 17:57:32 -0000 From: "ian at geometrian dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70881] -Wunused-parameter incorrect for macro case Date: Fri, 29 Apr 2016 17:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at geometrian dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02979.txt.bz2 Content-length: 532 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70881 Ian Mallett changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Ian Mallett --- Indeed, that trailing \ is erroneous. This is a bug in the original code as well. Thanks and sorry for the noise. >>From gcc-bugs-return-523767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 18:04:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55817 invoked by alias); 29 Apr 2016 18:04:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55675 invoked by uid 48); 29 Apr 2016 18:04:14 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/70880] Main page GCC 7.0 links point to GCC 6 Date: Fri, 29 Apr 2016 18:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02980.txt.bz2 Content-length: 675 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70880 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- We don't have gcc-7/ criteria.html nor changes.html yet, and we haven't been adding those so early. So, IMHO gcc-6/criteria.html is good enough for now, I've removed the changes link until we have a changes.html page for GCC 7 (having an empty page is not really useful). I've tweaked the status. >>From gcc-bugs-return-523768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 18:08:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86609 invoked by alias); 29 Apr 2016 18:08:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86278 invoked by uid 48); 29 Apr 2016 18:07:51 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Fri, 29 Apr 2016 18:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02981.txt.bz2 Content-length: 656 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org Target Milestone|--- |7.0 Summary|[GCC7 Regressio] 20% |[7 Regressio] 20% |performance regression at |performance regression at |482.sphinx3 after r235442 |482.sphinx3 after r235442 |with -O2 -m32 on Haswell. |with -O2 -m32 on Haswell. >>From gcc-bugs-return-523769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 18:19:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123481 invoked by alias); 29 Apr 2016 18:19:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123334 invoked by uid 48); 29 Apr 2016 18:18:52 -0000 From: "keith.marshall at mailinator dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/70311] libgfortran build dies on "implicit declaration of function strncasecmp" Date: Fri, 29 Apr 2016 18:19: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: keith.marshall at mailinator 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02982.txt.bz2 Content-length: 1058 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70311 --- Comment #2 from Keith Marshall -= -- (In reply to Dominique d'Humieres from comment #1) > Could some mingw32 guru assign this PR to her/himself? Well, I should have thought that the requirement to include to expose a prototype for strncasecmp() is more a POSIX.1 conformity issue, th= an specifically a MinGW issue; you appear to be relying on a non-conformity in glibc, which allows this prototype to be exposed by including .=20 MinGW is simply stricter in this aspect of POSIX.1 conformity, so exposing a weakness in your code. It would be inappropriate for you to expect MinGW to become less POSIX.1 conformant, when the correct solution is for you to inc= lude the proper header files, at point of use. OTOH, the strnlen() issue is, perhaps, best addressed in MinGW; since the function isn't universally supported by all Windows versions, which MinGW a= ims to support, it is appropriate for MinGW to provide a suitable fall back. >>From gcc-bugs-return-523770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 18:34:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65690 invoked by alias); 29 Apr 2016 18:34:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65597 invoked by uid 48); 29 Apr 2016 18:34:01 -0000 From: "bernds at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Fri, 29 Apr 2016 18:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bernds 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02983.txt.bz2 Content-length: 261 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #2 from Bernd Schmidt --- Can you give me more information what exactly is causing the stall - which instructions are affected, and what needs to be done to avoid it? >>From gcc-bugs-return-523771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 19:03:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96980 invoked by alias); 29 Apr 2016 19:03:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96834 invoked by uid 48); 29 Apr 2016 19:03:11 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67496] trans-array.c sanitizer runtime error: load of value 124, which is not a valid value for type 'bool' Date: Fri, 29 Apr 2016 19:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02984.txt.bz2 Content-length: 463 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67496 --- Comment #3 from Vittorio Zecca --- Just back from my travels. Sorry, I get the same warning on 6.1.0: /home/vitti/1tb/vitti/gcc-6.1.0-undefined/gcc/f951 -quiet gfbug121.f ../../gcc-6.1.0/gcc/fortran/trans-array.c:2234:27: runtime error: load of v= alue 112, which is not a valid value for type 'bool' If you had a sanitized version of f951 maybe you could see it by yourself. >>From gcc-bugs-return-523772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 19:07:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104768 invoked by alias); 29 Apr 2016 19:07:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100953 invoked by uid 48); 29 Apr 2016 19:06:54 -0000 From: "blaffablaffa at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70882] New: vectorized sincos trashes the stack Date: Fri, 29 Apr 2016 19:07: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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: blaffablaffa at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02985.txt.bz2 Content-length: 1160 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70882 Bug ID: 70882 Summary: vectorized sincos trashes the stack Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: blaffablaffa at gmail dot com Target Milestone: --- Created attachment 38381 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38381&action=3Dedit testcase The double4 version of the vectorized sincos() in libmvec (glibc 2.22) caus= es the stack to be corrupted, leading to assorted bugs such as crash, backtrace corruption in gdb, etc. I am reporting a bug here because since it's the on= ly vectorized math function that uses pointers, so it might be an ABI problem.= On my CPU (ivybridge) I can only test the double4 version, not the wider ones. Attached testcase, compile with g++ -std=3Dc++11 -O1 -fopenmp -ffast-math -march=3Divybridge -mtune=3Divybr= idge -o double_sincos double_sincos.cpp (interestingly, the vectorized call is not emitted with a c++ version lower than 2011). >>From gcc-bugs-return-523773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 19:08:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112015 invoked by alias); 29 Apr 2016 19:08:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111954 invoked by uid 48); 29 Apr 2016 19:08:36 -0000 From: "blaffablaffa at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70882] vectorized sincos trashes the stack Date: Fri, 29 Apr 2016 19:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: blaffablaffa at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02986.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70882 Lorenzo Pistone changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |blaffablaffa at gmail dot = com --- Comment #1 from Lorenzo Pistone --- glibc bug https://sourceware.org/bugzilla/show_bug.cgi?id=3D20024 >>From gcc-bugs-return-523774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 19:10:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114061 invoked by alias); 29 Apr 2016 19:10:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 113944 invoked by uid 48); 29 Apr 2016 19:10:11 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70883] New: inconsistent error message for calls to __builtin_add_overflow with too few arguments Date: Fri, 29 Apr 2016 19:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02987.txt.bz2 Content-length: 1882 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70883 Bug ID: 70883 Summary: inconsistent error message for calls to __builtin_add_overflow with too few arguments Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- This is a just a minor issue but it's one that I noticed when my newly writ= ten new tests for the __builtin_op_overflow functions were failing. It turned = out that the failures were due to the assumption that GCC would diagnose the sa= me problem (insufficient number of arguments) using the same diagnostic. The = test case below shows that GCC uses one spelling ("not enough arguments") for the error caused by calls to the type-generic __builtin_add_overflow and a different spelling ("too few arguments") for the same error for __builtin_sadd_overflow and the rest. Both C and C++ front ends have this inconsistency. It seems like the second spelling is more prevalent and sho= uld be used for consistency. $ cat x.cpp && gcc -Wall -Wextra -Wpedantic -xc x.cpp void f (int a) { __builtin_add_overflow (a); __builtin_sadd_overflow (a); } void g (void) { f (); } x.cpp: In function =E2=80=98f=E2=80=99: x.cpp:3:3: error: not enough arguments to function =E2=80=98__builtin_add_o= verflow=E2=80=99 __builtin_add_overflow (a); ^~~~~~~~~~~~~~~~~~~~~~ x.cpp:4:3: error: too few arguments to function =E2=80=98__builtin_sadd_ove= rflow=E2=80=99 __builtin_sadd_overflow (a); ^~~~~~~~~~~~~~~~~~~~~~~ x.cpp: In function =E2=80=98g=E2=80=99: x.cpp:9:5: error: too few arguments to function =E2=80=98f=E2=80=99 f (); ^ x.cpp:1:6: note: declared here void f (int a) ^ >>From gcc-bugs-return-523775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 19:21:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14680 invoked by alias); 29 Apr 2016 19:21:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14538 invoked by uid 48); 29 Apr 2016 19:21:09 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70884] New: [6 regression] 2nd SRA pass confused by load from constant pool Date: Fri, 29 Apr 2016 19:21: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou 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 cf_gcctarget attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02988.txt.bz2 Content-length: 2517 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70884 Bug ID: 70884 Summary: [6 regression] 2nd SRA pass confused by load from constant pool Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ebotcazou at gcc dot gnu.org Target Milestone: --- Target: powerpc-linux Created attachment 38382 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38382&action=3Dedit Testcase It's a regression introduced by the enhancement to SRA aimed at scalarizing loads from the constant pool: when the 2nd pass is run on the results of the 1st pass, things can go astray. Testcase attached and to compiled with -O -fno-tree-fre, but unfortunately = it requires a specific tuning setup that is only present on PowerPC 32-bit: Target: powerpc-generic-linux-gnu Configured with: ../src/configure --enable-languages=3Dada,c,c++ --enable-dual-exceptions --enable-_cxa_atexit --enable-threads=3Dposix --with-bugurl=3DURL:mailto:report@adacore.com --disable-nls --without-libiconv-prefix --disable-libstdcxx-pch --disable-libada --enable-checking=3Drelease --with-mpfr=3D/mystic.a/gnatmail/sandbox/gcc-6/ppc-linux/mpfr_stable/install --with-gmp=3D/mystic.a/gnatmail/sandbox/gcc-6/ppc-linux/gmp_stable/install --with-mpc=3D/mystic.a/gnatmail/sandbox/gcc-6/ppc-linux/mpc_stable/install --with-build-time-tools=3D/mystic.a/gnatmail/sandbox/gcc-6/ppc-linux/gcc/bu= ild/buildtools/bin --prefix=3D/mystic.a/gnatmail/sandbox/gcc-6/ppc-linux/gcc/pkg --build=3Dpowerpc-generic-linux-gnu (botcazou@mystic) ~ $ gcc -o t t.c -O -fno-tree-fre (botcazou@mystic) ~ $ ./t Aborted But the problem is clearly visible in the tree dumps with a cross-compiler. In .108t.cplxlower1: : SR.0_6 =3D *.LC0.a; MEM[(struct S *)&s1] =3D SR.0_6; MEM[(struct S *)&s1 + 4B] =3D 1; foo (s1); s1 =3D{v} {CLOBBER}; SR.2_4 =3D *.LC0.a; MEM[(struct S *)&s2] =3D SR.2_4; MEM[(struct S *)&s2 + 4B] =3D 1; foo (s2); s2 =3D{v} {CLOBBER}; In .109t.sra: : SR.0_6 =3D SR.4_7(D); MEM[(struct S *)&s1] =3D SR.0_6; MEM[(struct S *)&s1 + 4B] =3D 1; foo (s1); s1 =3D{v} {CLOBBER}; SR.2_4 =3D SR.4_7(D); MEM[(struct S *)&s2] =3D SR.2_4; MEM[(struct S *)&s2 + 4B] =3D 1; foo (s2); s2 =3D{v} {CLOBBER}; Note the bogus new (D) thing created by SRA. >>From gcc-bugs-return-523776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 19:22:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26432 invoked by alias); 29 Apr 2016 19:22:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26087 invoked by uid 48); 29 Apr 2016 19:22:25 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Fri, 29 Apr 2016 19:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02989.txt.bz2 Content-length: 999 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-29 CC| |hjl.tools at gmail dot com Ever confirmed|0 |1 --- Comment #3 from H.J. Lu --- (In reply to Bernd Schmidt from comment #2) > Can you give me more information what exactly is causing the stall - which > instructions are affected, and what needs to be done to avoid it? xorpd %xmm6, %xmm6, %xmm6 <<< Clear %xmm6 vcvtss2sd (%esi,%eax,4), %xmm6, %xmm7 ^^^^^^^ This cause SSE register stal= l. It should generate xorpd %xmm6, %xmm6, %xmm6 vcvtss2sd (%esi,%eax,4), %xmm6, %xmm6 >>From gcc-bugs-return-523777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 19:26:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31425 invoked by alias); 29 Apr 2016 19:26:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31304 invoked by uid 48); 29 Apr 2016 19:26:01 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67497] data.c sanitizer runtime error: null pointer passed as argument 2, which is declared to never be null Date: Fri, 29 Apr 2016 19:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: zeccav 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02990.txt.bz2 Content-length: 266 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67497 --- Comment #4 from Vittorio Zecca --- And in 6.1.0=20 ../../gcc-6.1.0/gcc/fortran/data.c:191:32: runtime error: null pointer pass= ed as argument 2, which is declared to never be null >>From gcc-bugs-return-523778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 19:31:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40646 invoked by alias); 29 Apr 2016 19:31:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40027 invoked by uid 48); 29 Apr 2016 19:31:12 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67498] interface.c sanitizer runtime error: load of value 1818451807, which is not a valid value for type 'expr_t' Date: Fri, 29 Apr 2016 19:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02991.txt.bz2 Content-length: 281 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67498 --- Comment #4 from Vittorio Zecca --- Still in gfortran 6.1.0 ../../gcc-6.1.0/gcc/fortran/interface.c:2738:33: runtime error: load of val= ue 1818451807, which is not a valid value for type 'expr_t' >>From gcc-bugs-return-523779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 19:56:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30762 invoked by alias); 29 Apr 2016 19:56:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30587 invoked by uid 48); 29 Apr 2016 19:56:28 -0000 From: "steven at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/38825] missed optimization: register renaming in unrolled loop Date: Fri, 29 Apr 2016 19:56: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.4.0 X-Bugzilla-Keywords: alias, missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: steven 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 cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02992.txt.bz2 Content-length: 728 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D38825 Steven Bosscher changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |alias Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-29 CC| |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #7 from Steven Bosscher --- Confirmed at the time - and then fallen through the cracks? Richi, alias stuff so maybe something for you to look at again? >>From gcc-bugs-return-523780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 20:14:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75041 invoked by alias); 29 Apr 2016 20:14:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74792 invoked by uid 48); 29 Apr 2016 20:14:26 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70884] [6/7 regression] 2nd SRA pass confused by load from constant pool Date: Fri, 29 Apr 2016 20: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: 6.0 X-Bugzilla-Keywords: wrong-code 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02993.txt.bz2 Content-length: 581 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70884 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu.org Target Milestone|--- |6.2 Summary|[6 regression] 2nd SRA pass |[6/7 regression] 2nd SRA |confused by load from |pass confused by load from |constant pool |constant pool >>From gcc-bugs-return-523781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 20:57:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25548 invoked by alias); 29 Apr 2016 20:57:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25374 invoked by uid 48); 29 Apr 2016 20:56:55 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Fri, 29 Apr 2016 20:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02994.txt.bz2 Content-length: 141 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #4 from H.J. Lu --- -mfpmath=3Dsse is needed. >>From gcc-bugs-return-523782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 21:01:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49592 invoked by alias); 29 Apr 2016 21:01:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49415 invoked by uid 48); 29 Apr 2016 21:01:21 -0000 From: "gcc at martinien dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70847] [6/7 Regression] exponential time in cp_fold for chained virtual function calls Date: Fri, 29 Apr 2016 21: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: gcc at martinien dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02995.txt.bz2 Content-length: 649 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70847 Martin Richtarsky changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gcc at martinien dot de --- Comment #5 from Martin Richtarsky --- The example here may not show this but it's a pretty big issue when chaining virtual operator<<, which can quickly produce 10+ chained calls. I ran acro= ss this in a codebase which did not finish to build overnight with gcc 6.1.0 b= ut takes only 45 min with gcc 5. >>From gcc-bugs-return-523783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 21:18:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122985 invoked by alias); 29 Apr 2016 21:18:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122596 invoked by uid 48); 29 Apr 2016 21:18:30 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Fri, 29 Apr 2016 21:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02996.txt.bz2 Content-length: 889 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ubizjak at gmail dot com --- Comment #5 from H.J. Lu --- This optimization is implemented with define_peephole2: commit 01c074df07cc82f1a032d12a786b3109467a2a6b Author: wmi Date: Tue Oct 1 23:32:55 2013 +0000 2013-10-01 Wei Mi * config/i386/x86-tune.def (DEF_TUNE): Remove m_CORE_ALL. * config/i386/i386.md: Add define_peephole2 to break partial reg stall for cvtss2sd/cvtsd2ss. which is sensitive to regrename. Should it be implemented with define_split? >>From gcc-bugs-return-523784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 21:26:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130972 invoked by alias); 29 Apr 2016 21:26:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130707 invoked by uid 48); 29 Apr 2016 21:26:02 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/50410] [4.9/5/6/7 Regression] ICE in record_reference Date: Fri, 29 Apr 2016 21:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav at gmail dot com 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: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02997.txt.bz2 Content-length: 138 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D50410 --- Comment #22 from Vittorio Zecca --- Same ICE in 6.1.0 >>From gcc-bugs-return-523785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 21:32:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28245 invoked by alias); 29 Apr 2016 21:32:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28062 invoked by uid 48); 29 Apr 2016 21:32:29 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/49278] ICE (segfault) when combining DATA with default initialization Date: Fri, 29 Apr 2016 21:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.6.1 X-Bugzilla-Keywords: ice-on-invalid-code 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02998.txt.bz2 Content-length: 138 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49278 --- Comment #11 from Vittorio Zecca --- Same ICE in 6.1.0 >>From gcc-bugs-return-523786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 21:46:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103694 invoked by alias); 29 Apr 2016 21:46:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103560 invoked by uid 48); 29 Apr 2016 21:46:39 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67496] trans-array.c sanitizer runtime error: load of value 124, which is not a valid value for type 'bool' Date: Fri, 29 Apr 2016 21: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg02999.txt.bz2 Content-length: 372 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67496 --- Comment #4 from Dominique d'Humieres --- > Sorry, I get the same warning on 6.1.0: Did you test the patch in comment 1? > If you had a sanitized version of f951 maybe you could see it by yourself. The last time I tried, it just failed. Could you give a step by step way to= get it? >>From gcc-bugs-return-523787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 21:51:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109963 invoked by alias); 29 Apr 2016 21:51:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109840 invoked by uid 48); 29 Apr 2016 21:51:06 -0000 From: "dhowells at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49244] __sync or __atomic builtins will not emit 'lock bts/btr/btc' Date: Fri, 29 Apr 2016 21:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dhowells at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03000.txt.bz2 Content-length: 1968 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49244 --- Comment #13 from dhowells at redhat dot com --- Very nice:-) There are a couple of under optimisations yet. Firstly: #define BITS_PER_LONG (sizeof(long) * 8) #define _BITOPS_LONG_SHIFT 6 static __always_inline bool test_and_change_bit(long bit, volatile unsig= ned long *ptr) { unsigned long mask =3D 1UL << (bit & (BITS_PER_LONG - 1)); unsigned long old; ptr +=3D bit >> _BITOPS_LONG_SHIFT; old =3D __atomic_fetch_xor(ptr, mask, __ATOMIC_SEQ_CST); return old & mask; } bool change_bit_3(unsigned long *p, long n) { return test_and_change_bit(n, p); } is compiled to: 0000000000000048 : 48: 48 89 f0 mov %rsi,%rax 4b: 83 e6 3f and $0x3f,%esi 4e: 48 c1 f8 06 sar $0x6,%rax 52: f0 48 0f bb 34 c7 lock btc %rsi,(%rdi,%rax,8) 58: 0f 92 c0 setb %al 5b: c3 retq=20=20=20 on x86, lines 48-4e are redundant as the btc instruction will do that for y= ou.=20 I don't know whether it's more efficient this way or not, though. Secondly: static __always_inline bool test_bit(long bit, const unsigned long *ptr) { unsigned long mask =3D 1UL << (bit & (BITS_PER_LONG - 1)); unsigned long old; ptr +=3D bit >> _BITOPS_LONG_SHIFT; old =3D __atomic_load_n(ptr, __ATOMIC_RELAXED); return old & mask; } bool read_bit(unsigned long *p) { return test_bit(3, p); } is compiled to: 0000000000000000 : 0: 48 8b 07 mov (%rdi),%rax 3: 48 c1 e8 03 shr $0x3,%rax 7: 83 e0 01 and $0x1,%eax a: c3 retq=20=20=20 but could actually be either a TEST instruction or a BT instruction. Still, thanks very much for looking at this! >>From gcc-bugs-return-523788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 23:32:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62506 invoked by alias); 29 Apr 2016 23:32:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62390 invoked by uid 48); 29 Apr 2016 23:32:27 -0000 From: "dhowells at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49244] __sync or __atomic builtins will not emit 'lock bts/btr/btc' Date: Fri, 29 Apr 2016 23:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dhowells at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03001.txt.bz2 Content-length: 1559 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49244 --- Comment #14 from dhowells at redhat dot com --- Okay, I built and booted an x86_64 kernel that had the XXX_bit() and test_and_XXX_bit() ops altered to use __atomic_fetch_YYY() funcs. The core kernel ended up ~8K larger in the .text segment. Examining ext4_resize_beg= in() as an example, this statement: if (test_and_set_bit_lock(EXT4_RESIZING, &EXT4_SB(sb)->s_resize_fla= gs)) ret =3D -EBUSY; looks like this in the unpatched kernel: 0xffffffff812169f3 <+122>: lock btsl $0x0,0x3b8(%rax) 0xffffffff812169fc <+131>: jb 0xffffffff81216a02 0xffffffff812169fe <+133>: xor %edx,%edx 0xffffffff81216a00 <+135>: jmp 0xffffffff81216a07 0xffffffff81216a02 <+137>: mov $0xfffffff0,%edx 0xffffffff81216a07 <+142>: mov %edx,%eax and like this in the patched kernel: 0xffffffff81217414 <+122>: xor %edx,%edx 0xffffffff81217416 <+124>: lock btsq $0x0,0x3b8(%rax) 0xffffffff81217420 <+134>: setb %dl 0xffffffff81217423 <+137>: neg %edx 0xffffffff81217425 <+139>: and $0xfffffff0,%edx 0xffffffff81217428 <+142>: mov %edx,%eax So it looks good here at least:-) This also suggests there's an error in the current x86_64 kernel implementa= tion as the kernel bitops are supposed to operate on machine word-size locations= , so it should be using BTSQ not BTSL - which would make the __atomic_fetch_or() variant a byte shorter - and involving no conditional jumps. >>From gcc-bugs-return-523789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 29 23:37:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72084 invoked by alias); 29 Apr 2016 23:37:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72019 invoked by uid 48); 29 Apr 2016 23:37:29 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70883] inconsistent error message for calls to __builtin_add_overflow with too few arguments Date: Fri, 29 Apr 2016 23: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03002.txt.bz2 Content-length: 760 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70883 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-04-29 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot g= nu.org Ever confirmed|0 |1 Known to fail| |5.3.0, 6.0 --- Comment #1 from Martin Sebor --- Since making the text of the diagnostic consistent is trivial I've included= it in my patch for bug 70507 that I'm about to submit for review. >>From gcc-bugs-return-523790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 00:01:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112692 invoked by alias); 30 Apr 2016 00:01:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112542 invoked by uid 55); 30 Apr 2016 00:01:24 -0000 From: "paolo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66644] Rejects C++11 in-class anonymous union members initialization Date: Sat, 30 Apr 2016 00: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.1.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03003.txt.bz2 Content-length: 889 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66644 --- Comment #5 from paolo at gcc dot gnu.org --- Author: paolo Date: Sat Apr 30 00:00:51 2016 New Revision: 235662 URL: https://gcc.gnu.org/viewcvs?rev=3D235662&root=3Dgcc&view=3Drev Log: /cp 2016-04-29 Paolo Carlini PR c++/66644 * class.c (check_field_decl): Remove final int* parameter, change the return type to bool; fix logic in order not to reject multiple initialized fields in anonymous struct. (check_field_decls): Adjust call. /testsuite 2016-04-29 Paolo Carlini PR c++/66644 * g++.dg/cpp0x/nsdmi-anon-struct1.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi-anon-struct1.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/class.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 00:03:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115572 invoked by alias); 30 Apr 2016 00:03:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115408 invoked by uid 48); 30 Apr 2016 00:02:48 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66644] Rejects C++11 in-class anonymous union members initialization Date: Sat, 30 Apr 2016 00:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.1.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution assigned_to target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03004.txt.bz2 Content-length: 587 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66644 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Assignee|paolo.carlini at oracle dot com |unassigned at gcc d= ot gnu.org Target Milestone|6.2 |7.0 --- Comment #6 from Paolo Carlini --- Fixed in trunk. >>From gcc-bugs-return-523792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 00:35:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3191 invoked by alias); 30 Apr 2016 00:35:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2694 invoked by uid 55); 30 Apr 2016 00:34:49 -0000 From: "amodra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/69645] powerpc -ffixed- ignored when saving and restoring regs Date: Sat, 30 Apr 2016 00:35: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.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03005.txt.bz2 Content-length: 599 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69645 --- Comment #2 from Alan Modra --- Author: amodra Date: Sat Apr 30 00:34:16 2016 New Revision: 235670 URL: https://gcc.gnu.org/viewcvs?rev=3D235670&root=3Dgcc&view=3Drev Log: [RS6000] PR69645, -ffixed-reg ignored Treat -ffixed-reg as we do for global asm regs. PR target/69645 * config/rs6000/rs6000.c (fixed_reg_p): New function. (fixed_regs_p): Rename from global_regs_p. Call fixed_reg_p. Update all uses. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000.c >>From gcc-bugs-return-523793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 00:37:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5896 invoked by alias); 30 Apr 2016 00:37:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5790 invoked by uid 48); 30 Apr 2016 00:37:32 -0000 From: "bernds at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Sat, 30 Apr 2016 00:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bernds 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03006.txt.bz2 Content-length: 752 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 Bernd Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |UNCONFIRMED Ever confirmed|1 |0 --- Comment #6 from Bernd Schmidt --- So the problem seems to be peep2 runs before regrename. If you always want = to generate two instructions there, then yes, a splitter would probably be bet= ter. Actually just changing define_peephole2 to define_split seems to do the tri= ck, can you try whether that fixes the performance regression (I don't have a Haswell machine)? >>From gcc-bugs-return-523794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 00:43:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18785 invoked by alias); 30 Apr 2016 00:43:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18694 invoked by uid 55); 30 Apr 2016 00:43:39 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67496] trans-array.c sanitizer runtime error: load of value 124, which is not a valid value for type 'bool' Date: Sat, 30 Apr 2016 00:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03007.txt.bz2 Content-length: 814 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67496 --- Comment #5 from Vittorio Zecca --- Yes, I did test your patch, but nothing changed. I understand you tried to generate a sanitized version of f951 but the process failed. I did the following (approximately): CFLAGS=3D"-fsanitize=3Dundefined -Og -ggdb -fno-omit-frame-pointer -L/home/vitti/local/gcc-6.1.0/lib64" CXXFLAGS=3D"-fsanitize=3Dundefined -Og -ggdb -fno-omit-frame-pointer" LDFLAGS=3D"-L/home/vitti/local/gcc-6.1.0/lib64 -lubsan -ldl -lpthread" ../gcc-6.1.0/configure --prefix=3D/home/vitti/local/gcc-6.1.0-undefined --disable-multilib --enable-languages=3Dc,c++,fortran --disable-libstdcxx --disable-bootstrap make and cross fingers With an analogous approach I got a -fsanitize=3Daddress version of gcc/g++/gfortran >>From gcc-bugs-return-523795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 02:13:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21285 invoked by alias); 30 Apr 2016 02:13:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21082 invoked by uid 48); 30 Apr 2016 02:13:15 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70885] New: [SH] Use MSB pointer-tagging for pointer-to-member representation Date: Sat, 30 Apr 2016 02:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03008.txt.bz2 Content-length: 2177 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70885 Bug ID: 70885 Summary: [SH] Use MSB pointer-tagging for pointer-to-member representation Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: olegendo at gcc dot gnu.org Target Milestone: --- Currently there are two available pointer-to-member representation options: ptrmemfunc_vbit_in_pfn, ptrmemfunc_vbit_in_delta where ptrmemfunc_vbit_in_pfn stores the "is a virtual function" pointer tag= in the LSB of the pointer (assuming 16-bit aligned functions). When using the tagged pointer to make the function call, the tag needs to be tested and the pointer converted into a valid address. On SH this currently looks like this: struct test_class { int x; void func (void); }; void test (test_class* c, void (test_class::*f)(void) ) { (c->*f) (); } compiled with -O2: mov r5,r0 // r5 =3D r0 =3D __pfn field tst #1,r0 // test LSB add r6,r4 bt .L17 // if LSB not set, goto L17 mov.l @r4,r5 // when here, LSB is set add r5,r0 add #-1,r0 // subtract 1 to clear LSB mov.l @r0,r0 .L17: jmp @r0 nop At least on SH, it's better to do store pointer tags in the MSB. So that t= he tagged pointer value becomes: tagged_ptr_val =3D (ptr_val >> 1) | (tag_bit << 31) This allows for more efficient tag test and pointer value restoration, the = code could look like: mov r5,r0 shll r5 // __pfn << 1, MSB -> T bit add r6,r4 bf .L17 // if MSB not set, goto L17 mov.l @r4,r5 add r5,r0 mov.l @r0,r0 .L17: jmp @r0 nop ... which saves one instruction. To enable that, there should be another option "ptrmemfunc_vbit_in_pfn_msb" along with some target specific m-option to enable this as well as a config= ure option to control the default setting. >>From gcc-bugs-return-523796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 02:49:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121110 invoked by alias); 30 Apr 2016 02:49:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121017 invoked by uid 48); 30 Apr 2016 02:49:10 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63321] [SH] Unused T bit result of shll / shlr insns Date: Sat, 30 Apr 2016 02:49: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: olegendo 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03009.txt.bz2 Content-length: 458 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63321 --- Comment #8 from Oleg Endo --- (In reply to Oleg Endo from comment #1) >=20 > void test2_2 (unsigned int x, unsigned int* y) > { > unsigned int xx =3D x >> 1; > unsigned int p =3D x & 1; > if (p !=3D 0) > foo (xx); > } >=20 And of course also in the opposite direction: void test4_2 (unsigned int x) { if (x & (1 << 31)) ((void(*)(void))(x << 1)) (); } >>From gcc-bugs-return-523797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 02:58:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16297 invoked by alias); 30 Apr 2016 02:58:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15401 invoked by uid 48); 30 Apr 2016 02:57:58 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70879] Missed jump threading opportunity with multiple != conditions Date: Sat, 30 Apr 2016 02: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03010.txt.bz2 Content-length: 436 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70879 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amacleod at redhat dot com --- Comment #1 from Jeffrey A. Law --- Andrew, thought this might be of interest... Look at bb3... >>From gcc-bugs-return-523798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 03:34:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74134 invoked by alias); 30 Apr 2016 03:34:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73763 invoked by uid 48); 30 Apr 2016 03:33:42 -0000 From: "amodra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/69645] powerpc -ffixed- ignored when saving and restoring regs Date: Sat, 30 Apr 2016 03:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03011.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69645 Alan Modra changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Alan Modra --- Fixed mainline >>From gcc-bugs-return-523799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 05:21:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92165 invoked by alias); 30 Apr 2016 05:21:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88625 invoked by uid 48); 30 Apr 2016 05:19:16 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/64327] ../../gcc/gcc/rtlanal.c:4881:48: runtime error: shift exponent 4294967295 is too large for 64-bit type 'long unsigned int' Date: Sat, 30 Apr 2016 05:21: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: 5.0 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03012.txt.bz2 Content-length: 238 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64327 --- Comment #7 from Vittorio Zecca --- On 6.1.0 I applied the same patch I suggested on comment 6, this time at line 5187, and the runtime error disappeared. >>From gcc-bugs-return-523800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 07:26:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89063 invoked by alias); 30 Apr 2016 07:26:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88957 invoked by uid 48); 30 Apr 2016 07:25:49 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70884] [6/7 regression] 2nd SRA pass confused by load from constant pool Date: Sat, 30 Apr 2016 07:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03013.txt.bz2 Content-length: 594 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70884 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #38382|0 |1 is obsolete| | --- Comment #1 from Eric Botcazou --- Created attachment 38383 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38383&action=3Dedit More correct testcase The original one probably has undefined behavior in ISO C. >>From gcc-bugs-return-523801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 07:50:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121464 invoked by alias); 30 Apr 2016 07:50:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121286 invoked by uid 48); 30 Apr 2016 07:50:35 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70886] New: -frename-registers causes boostrap comparison failures on ia64 Date: Sat, 30 Apr 2016 07:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build 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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03014.txt.bz2 Content-length: 768 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70886 Bug ID: 70886 Summary: -frename-registers causes boostrap comparison failures on ia64 Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: schwab@linux-m68k.org Target Milestone: --- Target: ia64-*-* Since -frename-registers was enabled by default with -O2 there are boostrap comparison failures on ia64. Bootstrap comparison failure! gcc/ada/sem_ch12.o differs gcc/ada/scos.o differs The differences are rather complex, but may be equivalent. >>From gcc-bugs-return-523802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 10:03:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34195 invoked by alias); 30 Apr 2016 10:03:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34104 invoked by uid 48); 30 Apr 2016 10:03:28 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70886] -frename-registers causes boostrap comparison failures on ia64 Date: Sat, 30 Apr 2016 10:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build, 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: keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03015.txt.bz2 Content-length: 445 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70886 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code --- Comment #1 from Andreas Schwab --- In revision 235672 the stage2 compile is now crashing, so this is a wrong-c= ode bug. >>From gcc-bugs-return-523803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 10:58:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5749 invoked by alias); 30 Apr 2016 10:58:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5649 invoked by uid 48); 30 Apr 2016 10:58:44 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70886] -frename-registers causes boostrap comparison failures on ia64 Date: Sat, 30 Apr 2016 10:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build, 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03016.txt.bz2 Content-length: 168 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70886 --- Comment #2 from Andreas Schwab --- No, the crash isn't related to -frename-registers. >>From gcc-bugs-return-523804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 11:04:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12561 invoked by alias); 30 Apr 2016 11:04:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12346 invoked by uid 48); 30 Apr 2016 11:04:14 -0000 From: "zoidbergx at tlen dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70887] New: internal compiler error in trunc_int_for_mode, at explow.c:78 Date: Sat, 30 Apr 2016 11:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zoidbergx at tlen dot pl 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03017.txt.bz2 Content-length: 3545 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70887 Bug ID: 70887 Summary: internal compiler error in trunc_int_for_mode, at explow.c:78 Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: zoidbergx at tlen dot pl Target Milestone: --- "g++-5 -v" output: Using built-in specs. COLLECT_GCC=3Dg++ COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion=3D'Ubuntu 5.3.0-3ubuntu1~14.04' --with-bugurl=3Dfile:///usr/share/doc/gcc-5/README.Bu= gs --enable-languages=3Dc,ada,c++,java,go,fortran,objc,obj-c++ --prefix=3D/usr --program-suffix=3D-5 --enable-shared --enable-linker-build-id --libexecdir=3D/usr/lib --without-included-gettext --enable-threads=3Dposix --libdir=3D/usr/lib --enable-nls --with-sysroot=3D/ --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-libstdcxx-time=3Dyes --with-default-libstdcxx-abi=3Dgcc4-compatible --disable-libstdcxx-dual-abi --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=3Dgtk --enable-gtk-cairo --with-java-home=3D/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-ho= me --with-jvm-root-dir=3D/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=3D/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=3Damd64 --with-ecj-jar=3D/usr/share/java/eclipse-ecj.= jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=3Di686 --with-abi=3Dm64 --with-multilib-list=3Dm32,m64,mx32 --enable-multilib --with-tune=3Dgeneric --enable-checking=3Drelease --build=3Dx86_64-linux-gnu --host=3Dx86_64-linux-gnu --target=3Dx86_64-linux-gnu Thread model: posix gcc version 5.3.0 20151204 (Ubuntu 5.3.0-3ubuntu1~14.04) command line: g++-5 -std=3Dc++11 -march=3Dhaswell -Ofast main.cpp compiler output: main.cpp: In function =E2=80=98int main(int, char**)=E2=80=99: main.cpp:82:1: internal compiler error: in trunc_int_for_mode, at explow.c:= 78 } ^ 0x81b350 trunc_int_for_mode(long, machine_mode) ../../src/gcc/explow.c:77 0x81248a gen_int_mode(long, machine_mode) ../../src/gcc/emit-rtl.c:497 0x81248a immed_wide_int_const(generic_wide_int > const&, machine_mode) ../../src/gcc/emit-rtl.c:612 0xa75a9b simplify_const_unary_operation(rtx_code, machine_mode, rtx_def*, machine_mode) ../../src/gcc/simplify-rtx.c:1764 0xa7357a simplify_unary_operation(rtx_code, machine_mode, rtx_def*, machine_mode) ../../src/gcc/simplify-rtx.c:843 0xf51f9a combine_simplify_rtx ../../src/gcc/combine.c:5573 0xf54463 subst ../../src/gcc/combine.c:5424 0xf540c8 subst ../../src/gcc/combine.c:5369 0xf540c8 subst ../../src/gcc/combine.c:5369 0xf540c8 subst ../../src/gcc/combine.c:5369 0xf540c8 subst ../../src/gcc/combine.c:5369 0xf557a1 try_combine ../../src/gcc/combine.c:3346 0xf5b30e combine_instructions ../../src/gcc/combine.c:1473 0xf5b30e rest_of_handle_combine ../../src/gcc/combine.c:14204 0xf5b30e execute ../../src/gcc/combine.c:14247 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-523805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 11:10:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42867 invoked by alias); 30 Apr 2016 11:10:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42680 invoked by uid 48); 30 Apr 2016 11:10:09 -0000 From: "zoidbergx at tlen dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70887] internal compiler error in trunc_int_for_mode, at explow.c:78 Date: Sat, 30 Apr 2016 11:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zoidbergx at tlen dot pl 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03018.txt.bz2 Content-length: 306 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70887 --- Comment #1 from zoidbergx at tlen dot pl --- Created attachment 38384 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38384&action=3Dedit source file Preprocessed file, obtained with "-save-temps" option is too big (size =3D 1331314 bytes) >>From gcc-bugs-return-523806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 11:38:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7759 invoked by alias); 30 Apr 2016 11:38:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7583 invoked by uid 48); 30 Apr 2016 11:38:21 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70887] internal compiler error in trunc_int_for_mode, at explow.c:78 Date: Sat, 30 Apr 2016 11:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03019.txt.bz2 Content-length: 805 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70887 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2016-04-30 CC| |trippels at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Markus Trippelsdorf --- (In reply to zoidbergx from comment #1) > Created attachment 38384 [details] > source file >=20 > Preprocessed file, obtained with "-save-temps" option is too big (size =3D > 1331314 bytes) Please attach the compressed preprocessed file. >>From gcc-bugs-return-523807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 11:45:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33653 invoked by alias); 30 Apr 2016 11:45:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24459 invoked by uid 48); 30 Apr 2016 11:45:36 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/67485] expmed.c sanitizer detects overflow Date: Sat, 30 Apr 2016 11:45: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03020.txt.bz2 Content-length: 351 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67485 --- Comment #1 from Vittorio Zecca --- Still in 6.1.0 at line 3162 of expmed.c "val_so_far -=3D (HOST_WIDE_INT) 1 << log;" ../../gcc-6.1.0/gcc/expmed.c:3162:42: runtime error: signed integer overflo= w: -9223372036854775808 - 1 cannot be represented in type 'long int' >>From gcc-bugs-return-523808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 11:54:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50617 invoked by alias); 30 Apr 2016 11:54:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50211 invoked by uid 48); 30 Apr 2016 11:54:33 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/69412] bootstrap-ubsan profiledbootstrap issues Date: Sat, 30 Apr 2016 11:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 6.0 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03021.txt.bz2 Content-length: 487 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69412 Vittorio Zecca changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zeccav at gmail dot com --- Comment #3 from Vittorio Zecca --- On 6.1.0 I am having the same runtime error at parser.c:765 "gcc_assert (tp !=3D lexer->buffer->address ());" >>From gcc-bugs-return-523809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 12:15:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93203 invoked by alias); 30 Apr 2016 12:15:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92957 invoked by uid 48); 30 Apr 2016 12:15:28 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70848] [6/7 Regression] g++ arm-none-eabi ignores volatile qualifier Date: Sat, 30 Apr 2016 12:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: prathamesh3492 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03022.txt.bz2 Content-length: 2328 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70848 prathamesh3492 at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |prathamesh3492 at gcc dot = gnu.org --- Comment #11 from prathamesh3492 at gcc dot gnu.org --- (In reply to ktkachov from comment #10) > (In reply to Richard Biener from comment #8) > > With an old cross to arm I can indeed see (.018t.ssa): > >=20 > > void test() () > > { > > volatile int * _1; > > volatile int * _4; > > volatile int * _6; > >=20 > > : > > _1 =3D 327221280B; > > *_1 =3D 97; > > _4 =3D 327221280B; > > *_4 =3D 98; > > _6 =3D 327221280B; > > *_6 =3D 99; > > return; > >=20 > >=20 > > note the missing {v} at the assignments. >=20 > I wonder why this doesn't happen on x86 or aarch64... > Is there some target hook called that erroneously strips the 'volatility' > from the type somewhere? Hi, I could reproduce the issue on x86_64 with g++ as of r235554. Dump of 018t.ssa compiled with g++ -O2: (also same for aarch64) ;; Function void test() (_Z4testv, funcdef_no=3D0, decl_uid=3D2253, cgraph_= uid=3D0, symbol_order=3D1) void test() () { volatile int * p.0_2; volatile int * p.0_4; volatile int * p.0_6; : p.0_2 =3D p; *p.0_2 =3D 97; p.0_4 =3D p; *p.0_4 =3D 98; p.0_6 =3D p; *p.0_6 =3D 99; return; } and generated asm for test: _Z4testv: .LFB0: .cfi_startproc movq p(%rip), %rax movl $99, (%rax) ret .cfi_endproc which I suppose is wrong since it avoids stores of 97 and 98 to *p. With C FE, the ssa dump is as follows: ;; Function test (test, funcdef_no=3D0, decl_uid=3D1756, cgraph_uid=3D0, symbol_order=3D1) test () { volatile int * p.0_2; volatile int * p.0_4; volatile int * p.0_6; : p.0_2 =3D p; *p.0_2 =3D{v} 97; p.0_4 =3D p; *p.0_4 =3D{v} 98; p.0_6 =3D p; *p.0_6 =3D{v} 99; return; } generated asm with C FE: test: .LFB0: .cfi_startproc movq p(%rip), %rax movl $97, (%rax) movl $98, (%rax) movl $99, (%rax) ret .cfi_endproc So it perhaps appears to be a C++FE issue with gimplification ? Thanks, Prathamesh >>From gcc-bugs-return-523810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 12:53:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35157 invoked by alias); 30 Apr 2016 12:53:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35049 invoked by uid 48); 30 Apr 2016 12:53:36 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70886] -frename-registers causes boostrap comparison failures on ia64 Date: Sat, 30 Apr 2016 12:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03023.txt.bz2 Content-length: 761 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70886 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|wrong-code | Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-30 CC| |ebotcazou at gcc dot gnu.o= rg Ever confirmed|0 |1 --- Comment #3 from Eric Botcazou --- I can reproduce the comparison failure. I think that the wrong code is ano= ther issue and comes from Alan's changes to the RA, so let's distinguish them. >>From gcc-bugs-return-523811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 13:26:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50502 invoked by alias); 30 Apr 2016 13:26:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50368 invoked by uid 48); 30 Apr 2016 13:26:37 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/69412] bootstrap-ubsan profiledbootstrap issues Date: Sat, 30 Apr 2016 13:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 6.0 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03024.txt.bz2 Content-length: 845 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69412 --- Comment #4 from Vittorio Zecca --- A reproducer for the parser.c runtime error /* gcc-6.1.0-undefined/bin/g++ -I../../gcc-6.1.0/gcc/. -I../../gcc-6.1.0/gcc/../include -I../../gcc-6.1.0/gcc/../libcpp/include p= .c -S -I. */ /* ../../gcc-6.1.0/gcc/cp/parser.c:765:7: runtime error: member call on null pointer of type 'struct vec' */ /* must be compiled in gcc-6.1.0/gcc directory */ #include "config.h" #include "system.h" #include "coretypes.h" template class function_summary {}; template class function_summary { template void traverse (Arg a) const { m_map.traverse (a);/* HERE */ } typedef int_hash map_hash; hash_map m_map; }; >>From gcc-bugs-return-523812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 14:02:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15181 invoked by alias); 30 Apr 2016 14:02:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14302 invoked by uid 48); 30 Apr 2016 14:01:59 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/53949] [SH] Add support for mac.w / mac.l instructions Date: Sat, 30 Apr 2016 14: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: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: olegendo 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03025.txt.bz2 Content-length: 300 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53949 --- Comment #15 from Oleg Endo --- Maybe the standard name patterns sdot_prod for 16 bit and 32 bit int vectors could be implemented using the mac.w and mac.l insns, if the input vectors = are somehow put in memory. >>From gcc-bugs-return-523813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 14:04:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32469 invoked by alias); 30 Apr 2016 14:04:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31278 invoked by uid 48); 30 Apr 2016 14:03:49 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70886] -frename-registers causes boostrap comparison failures on ia64 Date: Sat, 30 Apr 2016 14:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03026.txt.bz2 Content-length: 471 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70886 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc do= t gnu.org --- Comment #4 from Eric Botcazou --- Investigating. >>From gcc-bugs-return-523814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 14:41:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117003 invoked by alias); 30 Apr 2016 14:41:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 116927 invoked by uid 48); 30 Apr 2016 14:41:23 -0000 From: "zoidbergx at tlen dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70887] internal compiler error in trunc_int_for_mode, at explow.c:78 Date: Sat, 30 Apr 2016 14:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zoidbergx at tlen dot pl X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03027.txt.bz2 Content-length: 241 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70887 --- Comment #3 from zoidbergx at tlen dot pl --- Created attachment 38385 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38385&action=3Dedit preprocessed source file (compressed) >>From gcc-bugs-return-523815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 14:43:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118855 invoked by alias); 30 Apr 2016 14:43:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118701 invoked by uid 48); 30 Apr 2016 14:43:07 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67496] trans-array.c sanitizer runtime error: load of value 124, which is not a valid value for type 'bool' Date: Sat, 30 Apr 2016 14:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03028.txt.bz2 Content-length: 2124 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67496 --- Comment #6 from Dominique d'Humieres --- I finally managed to build gcc with -fsanitize=3Dundefined: Using built-in specs. COLLECT_GCC=3Dgfcg COLLECT_LTO_WRAPPER=3D/opt/gcc/gcc7g/libexec/gcc/x86_64-apple-darwin15.4.0/= 7.0.0/lto-wrapper Target: x86_64-apple-darwin15.4.0 Configured with: ../work/configure --prefix=3D/opt/gcc/gcc7g --enable-languages=3Dc,c++,fortran --with-gmp=3D/opt/mp-new --with-system-z= lib --with-isl=3D/opt/mp-new --disable-bootstrap --disable-multilib --disable-libstdcxx CFLAGS=3D'-L/opt/gcc/gcc7a/lib -lubsan -fsanitize=3Dund= efined -Og -g -fno-omit-frame-pointer' CXXFLAGS=3D'-fsanitize=3Dundefined -Og -g -fno-omit-frame-pointer' LDFLAGS=3D'-L/opt/gcc/gcc7a/lib -lubsan -ldl -lpth= read' : (reconfigured) ../work/configure --prefix=3D/opt/gcc/gcc7g --with-gmp=3D/opt/mp-new --with-system-zlib --with-isl=3D/opt/mp-new --disable-bootstrap --disable-multilib --disable-libstdcxx CFLAGS=3D'-L/opt/gcc/gcc7a/lib -lubsan -fsanitize=3Dundefined -Og -g -fno-omit-frame-pointer' CXXFLAGS=3D'-fsanitize=3Dundefined -Og -g -fno-omit-frame-pointer' LDFLAGS=3D'-L/opt/gcc/gcc7a/lib -lubsan -ldl -lpth= read' --enable-languages=3Dc,c++,fortran --no-create --no-recursion Thread model: posix gcc version 7.0.0 20160430 (experimental) [trunk revision 235678p25] (GCC)= =20 where gcc7a is Using built-in specs. COLLECT_GCC=3Dgfca COLLECT_LTO_WRAPPER=3D/opt/gcc/gcc7a/libexec/gcc/x86_64-apple-darwin15.4.0/= 7.0.0/lto-wrapper Target: x86_64-apple-darwin15.4.0 Configured with: ../_clean/configure --prefix=3D/opt/gcc/gcc7a --enable-languages=3Dc,c++,fortran,ada,lto --with-gmp=3D/opt/mp-new --with-system-zlib --enable-checking=3Drelease --with-isl=3D/opt/mp-new --enable-lto --enable-plugin Thread model: posix gcc version 7.0.0 20160429 (experimental) [trunk revision 235619] (GCC)=20 I have tried several variants of typespec_chararray_ctor =3D (expr->ts.u.cl && expr->ts.u.cl->length_from_typespec); without any progress. Are we sure that the problem is in gfortran and not in ubsan? >>From gcc-bugs-return-523816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 14:57:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7548 invoked by alias); 30 Apr 2016 14:57:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7421 invoked by uid 48); 30 Apr 2016 14:57:39 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70887] [5 Regression] internal compiler error in trunc_int_for_mode, at explow.c:78 Date: Sat, 30 Apr 2016 14:57: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: 5.3.0 X-Bugzilla-Keywords: 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status component short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03029.txt.bz2 Content-length: 2619 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70887 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW Component|c++ |middle-end Summary|internal compiler error in |[5 Regression] internal |trunc_int_for_mode, at |compiler error in |explow.c:78 |trunc_int_for_mode, at | |explow.c:78 --- Comment #4 from Markus Trippelsdorf --- trippels@gcc75 ~ % cat main.ii typedef long long __m128i __attribute__((__vector_size__(16))); enum RangeID { RANGE_2 }; template struct C { static constexpr int value =3D 10; }; __m128i _mm_set1_epi32(int __A) { int __q0 =3D __A; return __m128i{__q0}; } __inline __m128i _mm_bsrli_si128(__m128i __A, int __N) { return __builtin_ia32_psrldqi128(__A, __N * 8); } __m128i _mm_bslli_si128(__m128i __A) { return __builtin_ia32_pslldqi128(__A, 8); } __m128i _mm_or_si128(__m128i __A, __m128i __B) { return __A | __B; } template class Range, RangeID... rangeIds> struct A { template struct B; template struct B { static constexpr int nValues =3D Range::value; static __m128i generate() { __attribute__((__vector_size__( 2 * sizeof(long)))) long long __trans_tmp_1 =3D generate(), prevRanges =3D _mm_bslli_si128(__trans_tmp_1), newRange =3D _mm_bsrli_si128( _mm_set1_epi32(nValues), 12); return _mm_or_si128(prevRanges, newRange); } }; A() { B<0, rangeIds...>::generate(); } }; main() { using RI =3D A; RI ri; } trippels@gcc75 ~ % g++ -std=3Dc++11 -O2 main.ii main.ii: In static member function =E2=80=98static __m128i A::B::generate() [with int nPrevValues =3D 0; RangeID rangeId =3D (RangeID)0u; RangeID ...restRangeIds= =3D {}; RangeID =3D RangeID; Range =3D C; RangeID ...rangeIds =3D {(RangeID)0u}; __= m128i =3D __vector(2) long long int]=E2=80=99: main.ii:29:5: internal compiler error: in trunc_int_for_mode, at explow.c:78 >>From gcc-bugs-return-523817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 15:04:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22169 invoked by alias); 30 Apr 2016 15:04:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22075 invoked by uid 55); 30 Apr 2016 15:04:29 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67496] trans-array.c sanitizer runtime error: load of value 124, which is not a valid value for type 'bool' Date: Sat, 30 Apr 2016 15:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03030.txt.bz2 Content-length: 418 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67496 --- Comment #7 from Vittorio Zecca --- I understand that you are still seeing a message like this ../../gcc-6.1.0/gcc/fortran/trans-array.c:2233:27: runtime error: load of value 176, which is not a valid value for type 'bool' right? If yes, the problem might well be in ubsan, unless it has been fixed in 7.0= .0. I'll look into this. >>From gcc-bugs-return-523818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 16:06:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14530 invoked by alias); 30 Apr 2016 16:06:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14332 invoked by uid 48); 30 Apr 2016 16:06:41 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67496] trans-array.c sanitizer runtime error: load of value 124, which is not a valid value for type 'bool' Date: Sat, 30 Apr 2016 16:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03031.txt.bz2 Content-length: 450 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67496 --- Comment #8 from Dominique d'Humieres --- > If yes, the problem might well be in ubsan, unless it has been fixed > in 7.0.0. I'll look into this. I have instrumented the trunk (7.0) and indeed the bug has not been fixed. Although my understanding of C is quite shallow, I cannot see what's wrong = with the gfortran code, hence my question about a false positive. >>From gcc-bugs-return-523819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 16:10:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10026 invoked by alias); 30 Apr 2016 16:10:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89585 invoked by uid 48); 30 Apr 2016 16:10:27 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/49278] ICE (segfault) when combining DATA with default initialization Date: Sat, 30 Apr 2016 16:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.6.1 X-Bugzilla-Keywords: ice-on-invalid-code 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03032.txt.bz2 Content-length: 356 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49278 --- Comment #12 from Dominique d'Humieres --- The ICE is gone with the patch in comment 2, however I get at run time ../../../work/libgcc/config/i386/cpuinfo.c:346:17: runtime error: left shif= t of 1 by 31 places cannot be represented in type 'int' (instrumented trunk). >>From gcc-bugs-return-523820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 16:53:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69237 invoked by alias); 30 Apr 2016 16:53:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51888 invoked by uid 55); 30 Apr 2016 16:52:53 -0000 From: "milicic at math dot utah.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/70346] [libvtv] 6.0-20160313 build succeeds, install fails: cannot stat '.libs/libvtv.a': No such file or directory Date: Sat, 30 Apr 2016 16:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: milicic at math dot utah.edu 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03033.txt.bz2 Content-length: 271 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70346 --- Comment #4 from milicic at math dot utah.edu --- I see the same bug compiling released version of gcc-6.1.0 on Sun Ultra=20 27 running Solaris 11.3 x86 with Oracle supplied GNU make 3.82 and=20 gcc-4.8.2. Dragan >>From gcc-bugs-return-523821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 16:57:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58232 invoked by alias); 30 Apr 2016 16:57:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 56457 invoked by uid 48); 30 Apr 2016 16:57:39 -0000 From: "andrew at ishiboo dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/70346] [libvtv] 6.1.0 build succeeds, install fails: cannot stat '.libs/libvtv.a': No such file or directory Date: Sat, 30 Apr 2016 16:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andrew at ishiboo 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: version short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03034.txt.bz2 Content-length: 830 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70346 Andrew Paprocki changed: What |Removed |Added ---------------------------------------------------------------------------- Version|6.0 |6.1.0 Summary|[libvtv] 6.0-20160313 build |[libvtv] 6.1.0 build |succeeds, install fails: |succeeds, install fails: |cannot stat |cannot stat |'.libs/libvtv.a': No such |'.libs/libvtv.a': No such |file or directory |file or directory --- Comment #5 from Andrew Paprocki --- Updating title/version to indicate 6.1.0 release. I got this in the 6.0 bui= lds and also see it in the 6.1.0 release. >>From gcc-bugs-return-523822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 17:04:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73342 invoked by alias); 30 Apr 2016 17:04:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71406 invoked by uid 55); 30 Apr 2016 17:04:30 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67496] trans-array.c sanitizer runtime error: load of value 124, which is not a valid value for type 'bool' Date: Sat, 30 Apr 2016 17:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03035.txt.bz2 Content-length: 260 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67496 --- Comment #9 from Vittorio Zecca --- My C is not better than yours, but length_from_typespec might have been incorrectly initialized elsewhere, otherwise it is a false positive. >>From gcc-bugs-return-523823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 17:15:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86715 invoked by alias); 30 Apr 2016 17:15:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85461 invoked by uid 55); 30 Apr 2016 17:15:07 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/49278] ICE (segfault) when combining DATA with default initialization Date: Sat, 30 Apr 2016 17:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.6.1 X-Bugzilla-Keywords: ice-on-invalid-code 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03036.txt.bz2 Content-length: 271 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49278 --- Comment #13 from Vittorio Zecca --- I think that 1 << 31 is undefined because "1" is assumed (signed) int. Maybe it should be 1u << 31 ? Anyway on 6.1.0 I have no runtime error message. >>From gcc-bugs-return-523824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 17:27:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100582 invoked by alias); 30 Apr 2016 17:27:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100370 invoked by uid 48); 30 Apr 2016 17:26:47 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/14435] [4.9/5/6/7 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics Date: Sat, 30 Apr 2016 17:27: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: 3.4.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03037.txt.bz2 Content-length: 576 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D14435 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |ebotcazou at gcc dot gnu.o= rg Resolution|--- |FIXED Target Milestone|4.9.4 |7.0 --- Comment #39 from Eric Botcazou --- Fixed by r235678. >>From gcc-bugs-return-523825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 19:11:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128910 invoked by alias); 30 Apr 2016 19:11:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53118 invoked by uid 48); 30 Apr 2016 19:10:58 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/49278] ICE (segfault) when combining DATA with default initialization Date: Sat, 30 Apr 2016 19:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.6.1 X-Bugzilla-Keywords: ice-on-invalid-code 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03038.txt.bz2 Content-length: 445 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49278 --- Comment #14 from Dominique d'Humieres --- > I think that 1 << 31 is undefined because "1" is assumed (signed) int. > Maybe it should be 1u << 31 ? I have tried it, but it does not work. > Anyway on 6.1.0 I have no runtime error message. This due to #define bit_AVX512VL unsigned (1 << 31) in gcc/config/i386/cpuid.h. AFAICT it is also present for gcc-6. >>From gcc-bugs-return-523826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 19:16:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67786 invoked by alias); 30 Apr 2016 19:16:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67653 invoked by uid 48); 30 Apr 2016 19:16:34 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67496] trans-array.c sanitizer runtime error: load of value 124, which is not a valid value for type 'bool' Date: Sat, 30 Apr 2016 19:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03039.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67496 --- Comment #10 from Dominique d'Humieres --- > My C is not better than yours, but length_from_typespec might have > been incorrectly initialized elsewhere, otherwise it is a false positive. I see (lldb) p expr->ts.u.cl->length_from_typespec (bool) $1 =3D true (lldb) p (expr->ts.u.cl && expr->ts.u.cl->length_from_typespec) (bool) $2 =3D false >>From gcc-bugs-return-523827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 30 20:39:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129636 invoked by alias); 30 Apr 2016 20:39:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129457 invoked by uid 48); 30 Apr 2016 20:39:46 -0000 From: "sven.c.dack at virginmedia dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/62077] --with-build-config=bootstrap-lto fails Date: Sat, 30 Apr 2016 20:39: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: 5.1.1 X-Bugzilla-Keywords: build, lto X-Bugzilla-Severity: normal X-Bugzilla-Who: sven.c.dack at virginmedia dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg03040.txt.bz2 Content-length: 1677 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D62077 --- Comment #67 from Sven C. Dack --- (In reply to Richard Biener from comment #66) > The issue re-appears with GCC 6, the workaround doing > --enable-stage1-checking=3Drelease still works. >=20 > Note that the comparison we do with LTO bootstrap is quite pointless as we > only compile the internal IL at LTO streaming time but not the final resu= lt > of optimization. For that we'd need to compare cc1, cc1plus, etc. itself. To call it pointless is as dismissive of the effort as saying you'd be will= ing to accept any indeterministic behaviour, including magic, into computer sci= ence as long as it produces great software. Let's not be this lazy. I believe there is still much to be had from a comparison in between the st= ages and of all that can be determined. This particular case here may not have revealed a serious issue. However, it makes it only a fortunate case, but i= t's not a reason to welcome indetermination and luck into GCC's development or = to dismiss a good concept. I'd rather fear that in doing so you'd lose further support from the scientific community. Anyhow, this is my opinion. I should in fact not be getting any e-mails on = this report - I have excluded myself from the list some time ago - and yet did I= did get the mail. > So a fix would be to make the comparison configurable to a tri-stage > { object-files, binaries, off } where a boostrap with comparison off > can also omit building stage3 but still get the benefit of building > GCC with itself and not the host compiler. >=20 > Comparing the binaries is generally slower of course. >>From gcc-bugs-return-523828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 00:10:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71226 invoked by alias); 1 May 2016 00:10:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70672 invoked by uid 48); 1 May 2016 00:09:55 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70888] New: #pragma diagnostic ignored -Wlong-long ineffective with __LONG_LONG_MAX__ in c++98 mode Date: Sun, 01 May 2016 00:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00000.txt.bz2 Content-length: 1167 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70888 Bug ID: 70888 Summary: #pragma diagnostic ignored -Wlong-long ineffective with __LONG_LONG_MAX__ in c++98 mode Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- In C++ 98 mode, #pragma GCC diagnostic ignored "-Wlong-long" has no effect.= =20 The pragma works as expected in C89 mode. $ cat u.cpp && /home/msebor/build/gcc-66561/gcc/xgcc -B/home/msebor/build/gcc-66561/gcc -S -Wall -Wextra -Wpedantic -std=3Dc++98= -xc++ u.cpp void f () { #pragma GCC diagnostic ignored "-Wlong-long" long long x =3D __LONG_LONG_MAX__; } u.cpp:5:19: warning: use of C++11 long long integer constant [-Wlong-long] long long x =3D __LONG_LONG_MAX__; ^ u.cpp: In function =E2=80=98void f()=E2=80=99: u.cpp:5:15: warning: unused variable =E2=80=98x=E2=80=99 [-Wunused-variable] long long x =3D __LONG_LONG_MAX__; ^ >>From gcc-bugs-return-523829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 04:01:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44969 invoked by alias); 1 May 2016 04:01:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44777 invoked by uid 48); 1 May 2016 04:01:35 -0000 From: "lucenadeveloper at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70889] New: memory reordering across loads tagged as memory_order_seq_cst Date: Sun, 01 May 2016 04:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lucenadeveloper 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00001.txt.bz2 Content-length: 1036 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70889 Bug ID: 70889 Summary: memory reordering across loads tagged as memory_order_seq_cst Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: lucenadeveloper at gmail dot com Target Milestone: --- Based on my stackoverflow question here, http://stackoverflow.com/questions/36958372/gcc-reordering-up-across-load-w= ith-memory-order-seq-cst-is-this-allowed, the RTL optimization stage reorders a nonatomic load up across a load tagged with memory_order_seq_cst. This violates some synchronizes-with relationshi= ps that should be established between reader and writer threads and breaks many synchronization primitives such as seqlocks. Further, this only occurs if the load in question is under 123 bytes. Anyth= ing >=3D 123 does not get reordered. >>From gcc-bugs-return-523830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 06:05:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66850 invoked by alias); 1 May 2016 06:05:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66427 invoked by uid 48); 1 May 2016 06:05:39 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70700] ICE using -fdump-tree-all-graph option Date: Sun, 01 May 2016 06:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: vries 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00002.txt.bz2 Content-length: 1383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70700 vries at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #7 from vries at gcc dot gnu.org --- (In reply to Marek Polacek from comment #6) > Could be just >=20 > --- a/gcc/tree-ssa-structalias.c > +++ b/gcc/tree-ssa-structalias.c > @@ -2241,7 +2241,11 @@ dump_pred_graph (struct scc_info *si, FILE *file) > if (graph->points_to[i] > && !bitmap_empty_p (graph->points_to[i])) > { > - fprintf (file, "[label=3D\"%s =3D {", get_varinfo (i)->name); > + if (i < FIRST_REF_NODE) > + fprintf (file, "[label=3D\"%s =3D {", get_varinfo (i)->name); > + else > + fprintf (file, "[label=3D\"*%s =3D {", > + get_varinfo (i - FIRST_REF_NODE)->name); > unsigned j; > bitmap_iterator bi; > EXECUTE_IF_SET_IN_BITMAP (graph->points_to[i], 0, j, bi) >=20 > but someone would need to check whether we still print a correct info with > this. I've build the compiler with the patch, compiled the example from comment 4, extracted the dot files using the script mentioned in PR70221 and generated= pdf files from those. They look ok to me. Also, the patch itself looks good to me. >>From gcc-bugs-return-523831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 06:15:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75398 invoked by alias); 1 May 2016 06:15:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75119 invoked by uid 48); 1 May 2016 06:15:20 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70700] ICE using -fdump-tree-all-graph option Date: Sun, 01 May 2016 06:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: vries 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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00003.txt.bz2 Content-length: 280 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70700 --- Comment #8 from vries at gcc dot gnu.org --- Created attachment 38386 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38386&action=3Dedit proposed patch Patch with testcase included. I'll put this through testing. >>From gcc-bugs-return-523832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 07:16:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63873 invoked by alias); 1 May 2016 07:16:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63756 invoked by uid 48); 1 May 2016 07:16:17 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70890] New: [7 regression] r235660 miscompiles stage2 compiler on ia64 Date: Sun, 01 May 2016 07:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00004.txt.bz2 Content-length: 2050 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70890 Bug ID: 70890 Summary: [7 regression] r235660 miscompiles stage2 compiler on ia64 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: schwab@linux-m68k.org CC: amodra at gmail dot com Target Milestone: --- Target: ia64-*-* Starting program: /usr/local/gcc/gcc-20160501/Build/gcc/cc1 -fpreprocessed libgcc2.i -quiet -O2 -fbuilding-libgcc -fno-stack-protector -fPIC -fvisibility=3Dhidden Failed to read a valid object file image from memory. Program received signal SIGSEGV, Segmentation fault. 0x4000000000ed2911 in hash_table::find_with_hash(tree_node* const&, unsigned int) () (gdb) bt #0 0x4000000000ed2911 in hash_table::find_with_hash(tree_node* const&, unsigned int) () #1 0x4000000000ec7d60 in analyze_all_variable_accesses() () #2 0x4000000000eca0f0 in perform_intra_sra() () #3 0x4000000000b085e0 in execute_one_pass(opt_pass*) () #4 0x4000000000b094c0 in execute_pass_list_1(opt_pass*) () #5 0x4000000000b09510 in execute_pass_list_1(opt_pass*) () #6 0x4000000000b09630 in execute_pass_list(function*, opt_pass*) () #7 0x4000000000b05140 in do_per_function_toporder(void (*)(function*, void= *), void*) () #8 0x4000000000b0aa10 in execute_ipa_pass_list(opt_pass*) () #9 0x400000000049a6e0 in symbol_table::compile() [clone .part.45] () #10 0x40000000004a0310 in symbol_table::finalize_compilation_unit() () #11 0x4000000000cef1c0 in compile_file() () #12 0x400000000019f590 in toplev::main(int, char**) () #13 0x40000000001a3850 in main () (gdb) x/i $pc =3D> 0x4000000000ed2911 <_ZN10hash_tableI15uid_decl_hasher11xcallocatorE14find_with_hashERKP9tree_n= odej+17>: ld8 r10=3D[r32] (gdb) i reg r32 r32 0xffffffffffffffff -1 >>From gcc-bugs-return-523833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 08:56:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34328 invoked by alias); 1 May 2016 08:56:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21732 invoked by uid 48); 1 May 2016 08:55:52 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70890] [7 regression] r235660 miscompiles stage2 compiler on ia64 Date: Sun, 01 May 2016 08:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build, 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00005.txt.bz2 Content-length: 2225 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70890 --- Comment #1 from Andreas Schwab --- Program received signal SIGSEGV, Segmentation fault. hash_table::find_with_hash (this=3D0x80,=20 comparable=3D@0x600ffffffffeef10: 0x600ffffffffeee30, hash=3D5673) at ../../gcc/hash-table.h:825 825 value_type *entry =3D &m_entries[index]; (gdb) bt #0 hash_table::find_with_hash (this=3D0x80,= =20 comparable=3D@0x600ffffffffeef10: 0x600ffffffffeee30, hash=3D5673) at ../../gcc/hash-table.h:825 #1 0x400000000124bee0 in candidate (uid=3D5673) at ../../gcc/tree-sra.c:324 #2 analyze_all_variable_accesses () at ../../gcc/tree-sra.c:2682 #3 0x400000000124dd70 in perform_intra_sra () at ../../gcc/tree-sra.c:3734 #4 0x4000000000dc4de0 in execute_one_pass (pass=3D0x600000000028d250) at ../../gcc/passes.c:2348 #5 0x4000000000dc5e80 in execute_pass_list_1 (pass=3D0x600000000028d250) at ../../gcc/passes.c:2432 #6 0x4000000000dc5ed0 in execute_pass_list_1 (pass=3D0x600000000028d050) at ../../gcc/passes.c:2433 #7 0x4000000000dc5ff0 in execute_pass_list (fn=3D0x2000000000e7c6d8,=20 pass=3D0x600000000028ced0) at ../../gcc/passes.c:2443 #8 0x4000000000dc1820 in do_per_function_toporder (callback=3D,=20 data=3D0x600000000028ced0) at ../../gcc/passes.c:1732 #9 0x4000000000dc7490 in execute_ipa_pass_list (pass=3D0x600000000028ce70) at ../../gcc/passes.c:2785 #10 0x40000000005f1560 in ipa_passes () at ../../gcc/cgraphunit.c:2265 #11 symbol_table::compile (this=3D0x2000000000be0000) at ../../gcc/cgraphunit.c:2404 #12 0x40000000005f8690 in compile (this=3D0x2000000000be0000) at ../../gcc/cgraphunit.c:2567 #13 symbol_table::finalize_compilation_unit (this=3D0x2000000000be0000) at ../../gcc/cgraphunit.c:2564 #14 0x4000000000fe0f00 in compile_file () at ../../gcc/toplev.c:488 #15 0x40000000001dd890 in do_compile () at ../../gcc/toplev.c:1987 #16 toplev::main (this=3D, argc=3D,=20 argv=3D) at ../../gcc/toplev.c:2095 #17 0x40000000001e1b50 in main (argc=3D6, argv=3D0x600ffffffffef328) at ../../gcc/main.c:39 >>From gcc-bugs-return-523834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 10:26:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34451 invoked by alias); 1 May 2016 10:26:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34214 invoked by uid 48); 1 May 2016 10:25:57 -0000 From: "jens.gustedt at inria dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70891] New: "register name not specified" for const qualified register variable Date: Sun, 01 May 2016 10:26: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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jens.gustedt at inria dot fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00006.txt.bz2 Content-length: 1470 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70891 Bug ID: 70891 Summary: "register name not specified" for const qualified register variable Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jens.gustedt at inria dot fr Target Milestone: --- Created attachment 38387 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38387&action=3Dedit complete example to reproduce the bug Gcc in different variants (I tried 4.8, 4.9 and 5.3) gives an error for register const struct large max4 =3D { .x0 =3D -1, .x1 =3D -1, }; Where large is just a struct consisting of two unsigned. the error is gcc-register-const-bug.c:27:31: error: register name not specified for 'max4' which seems to refer to the "asm register" extension of gcc, but which isn't used here at all. The example is minimal in the sense that *any* of the following has the bug disappear - removing the const qualification - removing the register storage class - changing any of the initial values from -1 to 0 I attach a complete example that on my machine (x86_64) errors out exactly = on the line as indicated. All other variants in that file compile just fine. As another data point, clang, in different versions, has no problem with th= is code at all. Thanks Jens >>From gcc-bugs-return-523835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 10:50:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75590 invoked by alias); 1 May 2016 10:50:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75380 invoked by uid 55); 1 May 2016 10:50:20 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure Date: Sun, 01 May 2016 10:50: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00007.txt.bz2 Content-length: 488 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70704 --- Comment #53 from Jakub Jelinek --- Author: jakub Date: Sun May 1 10:49:25 2016 New Revision: 235692 URL: https://gcc.gnu.org/viewcvs?rev=3D235692&root=3Dgcc&view=3Drev Log: PR bootstrap/70704 * configure.ac (--enable-stage1-checking): Add missing --enable-checking=3D. * configure: Regenerated. Modified: trunk/ChangeLog trunk/configure trunk/configure.ac >>From gcc-bugs-return-523836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 10:54:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79573 invoked by alias); 1 May 2016 10:54:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79400 invoked by uid 48); 1 May 2016 10:53:55 -0000 From: "wr0112358 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70892] New: additional memory access generated in loop if destructor is inlined Date: Sun, 01 May 2016 10:54: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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wr0112358 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00008.txt.bz2 Content-length: 1796 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70892 Bug ID: 70892 Summary: additional memory access generated in loop if destructor is inlined Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: wr0112358 at gmail dot com Target Milestone: --- Created attachment 38388 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38388&action=3Dedit testcase The attached reduced testcase is compiled differently if a simple raii help= er type is used. testcase: double array[expected]; double sum =3D 0.0; for(int j =3D 0; j < expected; j++) array[j] =3D (double)j; g++ -std=3Dc++1y -O2 -Wall -Wextra -Werror double_bug_minimal.cc 400950: f2 0f 58 00 addsd (%rax),%xmm0 400954: 48 83 c0 08 add $0x8,%rax 400958: 48 39 d0 cmp %rdx,%rax 40095b: 75 f3 jne 400950 g++ -std=3Dc++1y -O2 -Wall -Wextra -Werror -DA double_bug_minimal.cc 400a98: f2 0f 10 4c 24 08 movsd 0x8(%rsp),%xmm1 400a9e: 48 83 c0 08 add $0x8,%rax 400aa2: f2 0f 58 48 f8 addsd -0x8(%rax),%xmm1 400aa7: 48 39 d0 cmp %rdx,%rax 400aaa: f2 0f 11 4c 24 08 movsd %xmm1,0x8(%rsp) 400ab0: 75 e6 jne 400a98 g++ --version | head -n1; cat /etc/fedora-release; uname -a g++ (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6) Fedora release 23 (Twenty Three) Linux lautreamont 4.4.7-300.fc23.x86_64 #1 SMP Wed Apr 13 02:52:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux >>From gcc-bugs-return-523837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 12:25:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111446 invoked by alias); 1 May 2016 12:25:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111344 invoked by uid 48); 1 May 2016 12:25:08 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/52898] SH Target: Inefficient DImode comparisons Date: Sun, 01 May 2016 12:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00009.txt.bz2 Content-length: 1751 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52898 --- Comment #10 from Oleg Endo --- For a case like=20 int test3 (long long a) { return a =3D=3D 40; } what happens on SH2+ during RTL expansion: cstoredi4 -> sh_emit_compare_and_set -> sh_emit_scc_to_t -> force operands to regs -> emit cmpeqdi_t insn Then combine tries e.g. Trying 6 -> 7: Failed to match this instruction: (set (reg:SI 147 t) (eq:SI (reg:DI 4 r4 [ a ]) (const_int 40 [0x28]))) and in split1 this pattern (define_split [(set (reg:SI T_REG) (eq:SI (match_operand:DI 0 "arith_reg_operand" "") (match_operand:DI 1 "arith_reg_or_0_operand" "")))] splits everything up and the resulting code becomes: mov #0,r3 cmp/eq r3,r5 bt.s .L5 mov #40,r2 rts movt r0 .align 1 .L5: cmp/eq r2,r4 rts movt r0 if the split pattern is disabled, the cmpeqdi_t pattern survives until the = end: mov #40,r2 mov #0,r3 cmp/eq r3,r5 bf 0f cmp/eq r2,r4 0: rts movt r0 which is obviously less code, but has one more branch in the execution path= .=20 This pattern probably should be used when optimizing for size or when zero-displacement branches are fast. On SH1 the cstoredi4 pattern is disabled because it might result in e.g. cmpgtdi_t which needs branches with delay slots. Because of that the middle end expands some target independent code like: mov #40,r1 xor r1,r4 or r4,r5 tst r5,r5 rts movt r0 which is actually a good branch-less alternative. >>From gcc-bugs-return-523838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 13:20:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63722 invoked by alias); 1 May 2016 13:20:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63653 invoked by uid 48); 1 May 2016 13:20:25 -0000 From: "kirillnow at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70893] New: codecvt incorrectly decodes UTF-16 due to optimization Date: Sun, 01 May 2016 13:20: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kirillnow 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00010.txt.bz2 Content-length: 986 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70893 Bug ID: 70893 Summary: codecvt incorrectly decodes UTF-16 due to optimization Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: kirillnow at gmail dot com Target Milestone: --- In libstdc++ source codecvt.cc: inline bool is_high_surrogate(char32_t c) { return c >=3D 0xD800 && c <=3D 0xDBFF; } compiles to: if (is_high_surrogate(c)) 0x7ffff7b4d275 lea ecx,[rsi-0xd800] 0x7ffff7b4d27b cmp ecx,0x3ff 0x7ffff7b4d281 ja 0x7ffff7b4d2ad=20 { This code incorrectly decode code points like 0xDE00 (iconv can produce tho= se). GCC and library compilled with -Os.=20 Possible solution: inline bool is_high_surrogate(char32_t c) { return (c&0xFC00)=3D=3D0xD800; } >>From gcc-bugs-return-523839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 13:23:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66103 invoked by alias); 1 May 2016 13:23:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65862 invoked by uid 48); 1 May 2016 13:23:13 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70886] -frename-registers causes boostrap comparison failures on ia64 Date: Sun, 01 May 2016 13:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00011.txt.bz2 Content-length: 237 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70886 --- Comment #5 from Eric Botcazou --- It's an issue in the speculative machinery of the scheduler but fortunately easy to fix once you pinpointed it... >>From gcc-bugs-return-523840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 13:47:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27522 invoked by alias); 1 May 2016 13:47:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27450 invoked by uid 48); 1 May 2016 13:47:40 -0000 From: "kirillnow at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70893] codecvt incorrectly decodes UTF-16 Date: Sun, 01 May 2016 13:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kirillnow 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00012.txt.bz2 Content-length: 433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70893 --- Comment #1 from =D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB --- Bad guess on my part, sorry! Actual problem is: 305: else if (is_low_surrogate(c)) 306: return invalid_mb_sequence; Stand-alone low surrogates are not uncommon, and could be decoded as valid utf-8. Example: Thorn U+00DE =C3=9E Encoded by [iconv (GNU libc) 2.23] -> c=3D0xD= E00 >>From gcc-bugs-return-523841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 14:02:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72941 invoked by alias); 1 May 2016 14:02:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71815 invoked by uid 48); 1 May 2016 14:01:51 -0000 From: "kirillnow at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70893] codecvt incorrectly decodes UTF-16 Date: Sun, 01 May 2016 14:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kirillnow 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00013.txt.bz2 Content-length: 273 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70893 --- Comment #2 from =D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB --- ... Just realized its wrong endianness problem.=20 codecvt_utf8_utf16 should assume utf16be by default, right? Apparently, no. >>From gcc-bugs-return-523842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 14:05:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75478 invoked by alias); 1 May 2016 14:05:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75210 invoked by uid 48); 1 May 2016 14:05:08 -0000 From: "wbx at openadk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/68468] frv/bfin toolchain build error Date: Sun, 01 May 2016 14:05: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: 6.1.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: wbx at openadk 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00014.txt.bz2 Content-length: 1050 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68468 --- Comment #4 from Waldemar Brodkorb --- Both fr-v/bfin toolchains can be build by using something like this: diff -Nur gcc-6.1.0.orig/libgcc/config.host gcc-6.1.0/libgcc/config.host --- gcc-6.1.0.orig/libgcc/config.host 2016-02-26 21:02:28.000000000 +0100 +++ gcc-6.1.0/libgcc/config.host 2016-04-30 20:49:06.542101273 +0200 @@ -231,7 +231,7 @@ esac ;; *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gn= u* | *-*-kopensolaris*-gnu) - tmake_file=3D"$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip t-sli= bgcc t-slibgcc-gld t-slibgcc-elf-ver t-linux" + tmake_file=3D"$tmake_file t-crtstuff-pic t-libgcc-pic t-slibgcc t-slibgc= c-gld t-slibgcc-elf-ver t-linux" extra_parts=3D"crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" if test x$enable_vtable_verify =3D xyes; then extra_parts=3D"$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o" Who should have provided the missing struct? >>From gcc-bugs-return-523843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 14:20:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13092 invoked by alias); 1 May 2016 14:20:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12827 invoked by uid 48); 1 May 2016 14:19:53 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/69412] bootstrap-ubsan profiledbootstrap issues Date: Sun, 01 May 2016 14:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 6.0 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00015.txt.bz2 Content-length: 151 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69412 --- Comment #5 from Vittorio Zecca --- Bug in comment 4 still in gcc 7 >>From gcc-bugs-return-523844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 16:06:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77689 invoked by alias); 1 May 2016 16:06:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72644 invoked by uid 48); 1 May 2016 16:06:10 -0000 From: "g.hoogewerf at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70894] New: ICE when using neon intrinsic with mabi=apcs-gnu Date: Sun, 01 May 2016 16:06: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: g.hoogewerf 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00016.txt.bz2 Content-length: 3737 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70894 Bug ID: 70894 Summary: ICE when using neon intrinsic with mabi=3Dapcs-gnu Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: g.hoogewerf at gmail dot com Target Milestone: --- The following test case triggers an ICE on several versions of GCC, includi= ng 5.3.0 and 4.9.3. void crashFunction(unsigned char val) { __builtin_neon_vdup_nv16qi ((__builtin_neon_qi) val); } To trigger the ICE, the source should be compiled with: arm-none-eabi-gcc -c neon.c -mfpu=3Dneon -mfloat-abi=3Dsoftfp -mabi=3Dapcs-= gnu When running with -v -save-temps, the output is: Using built-in specs. COLLECT_GCC=3D./GccBuild/build/arm-none-eabi-newlib/tools/i686-pc-linux-gnu= /arm-none-eabi/bin/arm-none-eabi-gcc Target: arm-none-eabi Configured with: /home/ghoogewerf/GccBuild/src/gcc/configure --prefix=3D/home/ghoogewerf/GccBuild/build/arm-none-eabi-newlib/tools/i686-= pc-linux-gnu/arm-none-eabi --build=3Di686-pc-linux-gnu --host=3Di686-pc-linux-gnu --target=3Darm-none-= eabi --enable-languages=3Dc,c++ --disable-libssp --disable-multilib --disable-nls --disable-fixed-point --disable-decimal-float --disable-lto --with-newlib --with-headers=3D/home/ghoogewerf/GccBuild/src/newlib/newlib/libc/include Thread model: single gcc version 5.3.0 (GCC)=20 COLLECT_GCC_OPTIONS=3D'-v' '-save-temps' '-c' '-mfpu=3Dneon' '-mfloat-abi= =3Dsoftfp' '-mabi=3Dapcs-gnu' /home/ghoogewerf/GccBuild/build/arm-none-eabi-newlib/tools/i686-pc-linux-gn= u/arm-none-eabi/libexec/gcc/arm-none-eabi/5.3.0/cc1 -E -quiet -v -D__USES_INITFINI__ neon.c -mfpu=3Dneon -mfloat-abi=3Dsoftfp -mabi=3Dapcs-gnu -fpch-preprocess -o neon.i #include "..." search starts here: #include <...> search starts here: /home/ghoogewerf/GccBuild/build/arm-none-eabi-newlib/tools/i686-pc-linux-gn= u/arm-none-eabi/lib/gcc/arm-none-eabi/5.3.0/include /home/ghoogewerf/GccBuild/build/arm-none-eabi-newlib/tools/i686-pc-linux-gn= u/arm-none-eabi/lib/gcc/arm-none-eabi/5.3.0/include-fixed /home/ghoogewerf/GccBuild/build/arm-none-eabi-newlib/tools/i686-pc-linux-gn= u/arm-none-eabi/lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/sys-i= nclude /home/ghoogewerf/GccBuild/build/arm-none-eabi-newlib/tools/i686-pc-linux-gn= u/arm-none-eabi/lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/inclu= de End of search list. COLLECT_GCC_OPTIONS=3D'-v' '-save-temps' '-c' '-mfpu=3Dneon' '-mfloat-abi= =3Dsoftfp' '-mabi=3Dapcs-gnu' /home/ghoogewerf/GccBuild/build/arm-none-eabi-newlib/tools/i686-pc-linux-gn= u/arm-none-eabi/libexec/gcc/arm-none-eabi/5.3.0/cc1 -fpreprocessed neon.i -quiet -dumpbase neon.c -mfpu=3Dneon -mfloat-abi=3Dso= ftfp -mabi=3Dapcs-gnu -auxbase neon -version -o neon.s GNU C11 (GCC) version 5.3.0 (arm-none-eabi) compiled by GNU C version 5.3.0, GMP version 6.1.0, MPFR version 3.= 1.3, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU C11 (GCC) version 5.3.0 (arm-none-eabi) compiled by GNU C version 5.3.0, GMP version 6.1.0, MPFR version 3.= 1.3, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: 46d53ae1749a0f498e12cc1c3bd3e85f neon.c: In function 'crashFunction': neon.c:4:5: internal compiler error: in copy_to_mode_reg, at explow.c:617 __builtin_neon_vdup_nv16qi ((__builtin_neon_qi) val); ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Thanks, G. Hoogewerf >>From gcc-bugs-return-523845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 16:41:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103976 invoked by alias); 1 May 2016 16:41:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103888 invoked by uid 48); 1 May 2016 16:41:12 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68120] can't easily deal with integer overflow at compile time Date: Sun, 01 May 2016 16:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00017.txt.bz2 Content-length: 201 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68120 --- Comment #5 from Martin Sebor --- Patch posted for review: https://gcc.gnu.org/ml/gcc-patches/2016-05/msg00013.html >>From gcc-bugs-return-523846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 16:41:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104003 invoked by alias); 1 May 2016 16:41:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103726 invoked by uid 48); 1 May 2016 16:41:08 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70507] integer overflow builtins not constant expressions Date: Sun, 01 May 2016 16:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00018.txt.bz2 Content-length: 201 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70507 --- Comment #4 from Martin Sebor --- Patch posted for review: https://gcc.gnu.org/ml/gcc-patches/2016-05/msg00013.html >>From gcc-bugs-return-523847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 16:42:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106991 invoked by alias); 1 May 2016 16:42:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106380 invoked by uid 48); 1 May 2016 16:41:56 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70883] inconsistent error message for calls to __builtin_add_overflow with too few arguments Date: Sun, 01 May 2016 16:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: minor X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00019.txt.bz2 Content-length: 201 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70883 --- Comment #2 from Martin Sebor --- Patch posted for review: https://gcc.gnu.org/ml/gcc-patches/2016-05/msg00013.html >>From gcc-bugs-return-523848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 16:46:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115804 invoked by alias); 1 May 2016 16:46:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115600 invoked by uid 48); 1 May 2016 16:45:45 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/70611] Compiling binutils with -flto -Wstack-usage fails. Date: Sun, 01 May 2016 16:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00020.txt.bz2 Content-length: 579 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70611 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski --- If you are going to be using lto you need to disable warnings as some warni= ngs don't happen until end of compiling. stack usage is one of these warnings. >>From gcc-bugs-return-523849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 17:26:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78777 invoked by alias); 1 May 2016 17:26:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78635 invoked by uid 48); 1 May 2016 17:25:55 -0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug hsa/70857] [6/7 Regression] ICE with -fopenmp -fopenacc in insert_vi_for_tree, at tree-ssa-structalias.c:2813 Date: Sun, 01 May 2016 17:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: hsa X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00021.txt.bz2 Content-length: 373 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70857 --- Comment #2 from Martin Jambor --- Not surprisingly, it is adding -fopenacc to the compile options that causes this. Because the testcase does not use any OpenACC functionality, it should not matter. So something seems to go wrong at omp lowering/expansion phase. I will have a look. >>From gcc-bugs-return-523850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 17:27:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83209 invoked by alias); 1 May 2016 17:27:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82791 invoked by uid 48); 1 May 2016 17:26:53 -0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug hsa/70857] [6/7 Regression] ICE with -fopenmp -fopenacc in insert_vi_for_tree, at tree-ssa-structalias.c:2813 Date: Sun, 01 May 2016 17:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: hsa X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00022.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70857 Martin Jambor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-01 Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot = gnu.org Ever confirmed|0 |1 >>From gcc-bugs-return-523851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 18:15:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90571 invoked by alias); 1 May 2016 18:15:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89450 invoked by uid 48); 1 May 2016 18:15:15 -0000 From: "eggert at gnu dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68120] can't easily deal with integer overflow at compile time Date: Sun, 01 May 2016 18:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: eggert at gnu dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00023.txt.bz2 Content-length: 594 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68120 --- Comment #6 from Paul Eggert --- (In reply to Martin Sebor from comment #5) > Patch posted for review: > https://gcc.gnu.org/ml/gcc-patches/2016-05/msg00013.html Thanks. This patch appears to address almost all the request, and it is definitely a step forward. Even with the change, I see no easy way in a constant expression to compute= the bottom-order bits (ignoring overflow) of a signed integer value, but I can raise this issue as a separate enhancement request if it turns into a probl= em in practice. >>From gcc-bugs-return-523852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 19:17:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100975 invoked by alias); 1 May 2016 19:17:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100779 invoked by uid 48); 1 May 2016 19:17:25 -0000 From: "ralph.trenkler at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70895] New: OpenACC: loop reduction does not work. Output is zero. Date: Sun, 01 May 2016 19:17: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ralph.trenkler at gmx dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00024.txt.bz2 Content-length: 781 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70895 Bug ID: 70895 Summary: OpenACC: loop reduction does not work. Output is zero. Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: ralph.trenkler at gmx dot de Target Milestone: --- Created attachment 38389 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38389&action=3Dedit compiler configure command line, compiler call, program in f90, *.i-file Problem with OpenACC: The output of the attached fortran 90 program "acc-test-04.f90" is zero but not "pi" (3.14...), as it should be. The comp= iler version is 6.1.0. >>From gcc-bugs-return-523853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 19:23:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111167 invoked by alias); 1 May 2016 19:23:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110819 invoked by uid 48); 1 May 2016 19:23:05 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70890] [7 regression] r235660 miscompiles stage2 compiler on ia64 Date: Sun, 01 May 2016 19:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build, 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00025.txt.bz2 Content-length: 1224 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70890 --- Comment #2 from Andreas Schwab --- The error happens here: 0x400000000124cdd0 <+1936>: [MMI] adds r42=3D-1,r49 0x400000000124cdd1 <+1937>: adds r55=3D240,r12 0x400000000124cdd2 <+1938>: adds r32=3D16,r12;; 0x400000000124cde0 <+1952>: [MMI] andcm r39=3Dr42,r49 0x400000000124cde1 <+1953>: st8 [r55]=3Dr32 0x400000000124cde2 <+1954>: nop.i 0x0 =3D> 0x400000000124cdf0 <+1968>: [MMI] ld8 r54=3D[r32];; 0x400000000124cdf1 <+1969>: nop.m 0x0 0x400000000124cdf2 <+1970>: popcnt r41=3Dr39;; 0x400000000124ce00 <+1984>: [MII] add r39=3Dr47,r41 0x400000000124ce01 <+1985>: adds r47=3D44,r12;; 0x400000000124ce02 <+1986>: mov r56=3Dr39 0x400000000124ce10 <+2000>: [MMB] st4 [r47]=3Dr39 0x400000000124ce11 <+2001>: nop.m 0x0 0x400000000124ce12 <+2002>: br.call.sptk.many b0=3D0x4000000001256f00 ::find_with_hash(tree_node* const&, unsigned int)>;; The marked line loads candidates, but r32 contains &t. >>From gcc-bugs-return-523854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 19:42:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70521 invoked by alias); 1 May 2016 19:42:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70121 invoked by uid 48); 1 May 2016 19:41:51 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70888] #pragma diagnostic ignored -Wlong-long ineffective with __LONG_LONG_MAX__ in c++98 mode Date: Sun, 01 May 2016 19:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00026.txt.bz2 Content-length: 772 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70888 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |manu at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- This is a well-known problem with the pragmas for C++ diagnostics in libcpp= . I tried to find a solution, but there were some issues I could not solve and I ran out of time. *** This bug has been marked as a duplicate of bug 53431 *** >>From gcc-bugs-return-523855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 19:42:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70533 invoked by alias); 1 May 2016 19:42:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70213 invoked by uid 48); 1 May 2016 19:41:53 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic Date: Sun, 01 May 2016 19:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: manu 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00027.txt.bz2 Content-length: 483 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53431 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #27 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- *** Bug 70888 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-523856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 19:47:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75744 invoked by alias); 1 May 2016 19:47:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75578 invoked by uid 48); 1 May 2016 19:47:13 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/70611] Compiling binutils with -flto -Wstack-usage fails. Date: Sun, 01 May 2016 19:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc resolution everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00028.txt.bz2 Content-length: 1228 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70611 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Last reconfirmed| |2016-05-01 CC| |manu at gcc dot gnu.org Resolution|INVALID |--- Ever confirmed|0 |1 --- Comment #2 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- (In reply to Andrew Pinski from comment #1) > If you are going to be using lto you need to disable warnings as some > warnings don't happen until end of compiling. stack usage is one of these > warnings. How can a user know which warnings are those? GCC should disable on its own those warnings that cannot be handled by LTO (or emit a clear error that the warning is not valid with LTO). Same with invalid optimization options and attributes. If LTO is ever going to be usable by anyone who is not a GCC developer, it needs to be usable without knowing the internals of the compiler. >>From gcc-bugs-return-523857-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 19:55:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83850 invoked by alias); 1 May 2016 19:55:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83671 invoked by uid 48); 1 May 2016 19:55:15 -0000 From: "tulipawn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70896] New: gcc4 ABI compatible bootstrap fails Date: Sun, 01 May 2016 19:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: tulipawn 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00029.txt.bz2 Content-length: 10516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70896 Bug ID: 70896 Summary: gcc4 ABI compatible bootstrap fails Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: tulipawn at gmail dot com Target Milestone: --- I've just tried bootstrapping gcc 6.1.0 on ARM Linux with gcc 4.9.3 using t= he following options: --enable-languages=3Dc,c++,fortran --prefix=3D/usr/gcc6 --program-suffix= =3D-6 --enable-shared --enable-linker-build-id --libexecdir=3D/usr/gcc6/lib --without-included-gettext --enable-threads=3Dposix --libdir=3D/usr/gcc6/lib --enable-nls --with-sysroot=3D/ --enable-clocale=3Dgnu --enable-libstdcxx-t= ime=3Dyes --with-default-libstdcxx-abi=3Dgcc4-compatible --disable-libstdcxx-dual-abi --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-multia= rch --enable-multilib --disable-sjlj-exceptions --with-arch=3Darmv7-a --with-fpu=3Dvfpv3 --with-float=3Dhard --with-mode=3Dthumb --disable-werror --enable-multilib --enable-checking=3Drelease --build=3Darm-linux-gnueabihf --host=3Darm-linux-gnueabihf --target=3Darm-linux-gnueabihf but it failed like this: make[6]: Entering directory `gcc-6.1.0/build/arm-linux-gnueabihf/libstdc++-v3/src/c++11' /bin/bash ../../libtool --tag CXX --tag disable-shared --mode=3Dcompile /home/odroid/.phoronix-test-suite/gcc-6.1.0/build/./gcc/xgcc -shared-libgcc -B/home/odroid/.phoronix-test-suite/gcc-6.1.0/build/./gcc -nostdinc++ -L/home/odroid/.phoronix-test-suite/gcc-6.1.0/build/arm-linux-gnueabihf/lib= stdc++-v3/src -L/home/odroid/.phoronix-test-suite/gcc-6.1.0/build/arm-linux-gnueabihf/lib= stdc++-v3/src/.libs -L/home/odroid/.phoronix-test-suite/gcc-6.1.0/build/arm-linux-gnueabihf/lib= stdc++-v3/libsupc++/.libs -B/usr/gcc6/arm-linux-gnueabihf/bin/ -B/usr/gcc6/arm-linux-gnueabihf/lib/ -isystem /usr/gcc6/arm-linux-gnueabihf/include -isystem /usr/gcc6/arm-linux-gnueabihf/sys-include=20=20=20 -I/home/odroid/.phoronix-test-suite/gcc-6.1.0/libstdc++-v3/../libgcc -I/home/odroid/.phoronix-test-suite/gcc-6.1.0/build/arm-linux-gnueabihf/lib= stdc++-v3/include/arm-linux-gnueabihf -I/home/odroid/.phoronix-test-suite/gcc-6.1.0/build/arm-linux-gnueabihf/lib= stdc++-v3/include -I/home/odroid/.phoronix-test-suite/gcc-6.1.0/libstdc++-v3/libsupc++=20=20 -std=3Dgnu++11 -prefer-pic -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=3Don= ce=20=20 -ffunction-sections -fdata-sections -frandom-seed=3Dcow-stdexcept.lo -g -O2 -mcpu=3Dcortex-a5 -O3 -marm -fomit-frame-pointer -fipa-pta -mfpu=3Dvfpv4 -D_GNU_SOURCE -c -o cow-stdexcept.lo ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc libtool: compile: /home/odroid/.phoronix-test-suite/gcc-6.1.0/build/./gcc/= xgcc -shared-libgcc -B/home/odroid/.phoronix-test-suite/gcc-6.1.0/build/./gcc -nostdinc++ -L/home/odroid/.phoronix-test-suite/gcc-6.1.0/build/arm-linux-gnueabihf/lib= stdc++-v3/src -L/home/odroid/.phoronix-test-suite/gcc-6.1.0/build/arm-linux-gnueabihf/lib= stdc++-v3/src/.libs -L/home/odroid/.phoronix-test-suite/gcc-6.1.0/build/arm-linux-gnueabihf/lib= stdc++-v3/libsupc++/.libs -B/usr/gcc6/arm-linux-gnueabihf/bin/ -B/usr/gcc6/arm-linux-gnueabihf/lib/ -isystem /usr/gcc6/arm-linux-gnueabihf/include -isystem /usr/gcc6/arm-linux-gnueabihf/sys-include -I/home/odroid/.phoronix-test-suite/gcc-6.1.0/libstdc++-v3/../libgcc -I/home/odroid/.phoronix-test-suite/gcc-6.1.0/build/arm-linux-gnueabihf/lib= stdc++-v3/include/arm-linux-gnueabihf -I/home/odroid/.phoronix-test-suite/gcc-6.1.0/build/arm-linux-gnueabihf/lib= stdc++-v3/include -I/home/odroid/.phoronix-test-suite/gcc-6.1.0/libstdc++-v3/libsupc++ -std=3Dgnu++11 -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=3Donce -ffunction-sections -fdata-sections -frandom-seed=3Dcow-stdexcept.lo -g -O2 -mcpu=3Dcortex-a5 -O3 -marm -fomit-frame-pointer -fipa-pta -mfpu=3Dvfpv4 -D_GNU_SOURCE -c ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc -f= PIC -DPIC -D_GLIBCXX_SHARED -o cow-stdexcept.o ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc: In function =E2=80= =98const char* _txnal_sso_string_c_str(const void*)=E2=80=99: ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc:300:40: error: =E2= =80=98const __sso_string {aka const class std::basic_string}=E2=80=99 has no memb= er named =E2=80=98_M_s=E2=80=99; did you mean =E2=80=98_M_rep=E2=80=99? &((const std::__sso_string*) that)->_M_s._M_p)); ^~~~ ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc: In function =E2=80= =98void _ZGTtNSt11logic_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIc= EEE(std::logic_error*, const __sso_string&)=E2=80=99: ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc:378:43: warning: unu= sed parameter =E2=80=98s=E2=80=99 [-Wunused-parameter] CLASS* that, const std::__sso_string& s) \ ^ ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc:408:1: note: in expansion of macro =E2=80=98CTORDTOR=E2=80=99 CTORDTOR(11logic_error, std::logic_error, logic_error) ^~~~~~~~ ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc: In function =E2=80= =98void _ZGTtNSt12domain_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaI= cEEE(std::domain_error*, const __sso_string&)=E2=80=99: ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc:378:43: warning: unu= sed parameter =E2=80=98s=E2=80=99 [-Wunused-parameter] CLASS* that, const std::__sso_string& s) \ ^ ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc:417:1: note: in expansion of macro =E2=80=98CTORDTOR=E2=80=99 CTORDTOR(12domain_error, std::domain_error, logic_error) ^~~~~~~~ ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc: In function =E2=80= =98void _ZGTtNSt16invalid_argumentC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIc= ESaIcEEE(std::invalid_argument*, const __sso_string&)=E2=80=99: ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc:378:43: warning: unu= sed parameter =E2=80=98s=E2=80=99 [-Wunused-parameter] CLASS* that, const std::__sso_string& s) \ ^ ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc:418:1: note: in expansion of macro =E2=80=98CTORDTOR=E2=80=99 CTORDTOR(16invalid_argument, std::invalid_argument, logic_error) ^~~~~~~~ ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc: In function =E2=80= =98void _ZGTtNSt12length_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaI= cEEE(std::length_error*, const __sso_string&)=E2=80=99: ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc:378:43: warning: unu= sed parameter =E2=80=98s=E2=80=99 [-Wunused-parameter] CLASS* that, const std::__sso_string& s) \ ^ ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc:419:1: note: in expansion of macro =E2=80=98CTORDTOR=E2=80=99 CTORDTOR(12length_error, std::length_error, logic_error) ^~~~~~~~ ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc: In function =E2=80= =98void _ZGTtNSt12out_of_rangeC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaI= cEEE(std::out_of_range*, const __sso_string&)=E2=80=99: ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc:378:43: warning: unu= sed parameter =E2=80=98s=E2=80=99 [-Wunused-parameter] CLASS* that, const std::__sso_string& s) \ ^ ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc:420:1: note: in expansion of macro =E2=80=98CTORDTOR=E2=80=99 CTORDTOR(12out_of_range, std::out_of_range, logic_error) ^~~~~~~~ ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc: In function =E2=80= =98void _ZGTtNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESa= IcEEE(std::runtime_error*, const __sso_string&)=E2=80=99: ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc:378:43: warning: unu= sed parameter =E2=80=98s=E2=80=99 [-Wunused-parameter] CLASS* that, const std::__sso_string& s) \ ^ ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc:423:1: note: in expansion of macro =E2=80=98CTORDTOR=E2=80=99 CTORDTOR(13runtime_error, std::runtime_error, runtime_error) ^~~~~~~~ ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc: In function =E2=80= =98void _ZGTtNSt11range_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIc= EEE(std::range_error*, const __sso_string&)=E2=80=99: ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc:378:43: warning: unu= sed parameter =E2=80=98s=E2=80=99 [-Wunused-parameter] CLASS* that, const std::__sso_string& s) \ ^ ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc:432:1: note: in expansion of macro =E2=80=98CTORDTOR=E2=80=99 CTORDTOR(11range_error, std::range_error, runtime_error) ^~~~~~~~ ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc: In function =E2=80= =98void _ZGTtNSt14overflow_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcES= aIcEEE(std::overflow_error*, const __sso_string&)=E2=80=99: ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc:378:43: warning: unu= sed parameter =E2=80=98s=E2=80=99 [-Wunused-parameter] CLASS* that, const std::__sso_string& s) \ ^ ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc:433:1: note: in expansion of macro =E2=80=98CTORDTOR=E2=80=99 CTORDTOR(14overflow_error, std::overflow_error, runtime_error) ^~~~~~~~ ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc: In function =E2=80= =98void _ZGTtNSt15underflow_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcE= SaIcEEE(std::underflow_error*, const __sso_string&)=E2=80=99: ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc:378:43: warning: unu= sed parameter =E2=80=98s=E2=80=99 [-Wunused-parameter] CLASS* that, const std::__sso_string& s) \ ^ ../../../../../libstdc++-v3/src/c++11/cow-stdexcept.cc:434:1: note: in expansion of macro =E2=80=98CTORDTOR=E2=80=99 CTORDTOR(15underflow_error, std::underflow_error, runtime_error) ^~~~~~~~ make[6]: *** [cow-stdexcept.lo] Error 1 >>From gcc-bugs-return-523858-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 20:09:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120447 invoked by alias); 1 May 2016 20:09:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 116908 invoked by uid 48); 1 May 2016 20:09:04 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/70611] Compiling binutils with -flto -Wstack-usage fails. Date: Sun, 01 May 2016 20:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00030.txt.bz2 Content-length: 982 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70611 --- Comment #3 from Andrew Pinski --- (In reply to Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez from comment #2) > (In reply to Andrew Pinski from comment #1) > > If you are going to be using lto you need to disable warnings as some > > warnings don't happen until end of compiling. stack usage is one of th= ese > > warnings. >=20 > How can a user know which warnings are those? GCC should disable on its o= wn > those warnings that cannot be handled by LTO (or emit a clear error that = the > warning is not valid with LTO). Same with invalid optimization options and > attributes. >=20 > If LTO is ever going to be usable by anyone who is not a GCC developer, it > needs to be usable without knowing the internals of the compiler. There is no internals of GCC here. Rather the user specified all warnings = at link time. If the user did not want that then they did not need to supply those options ... >>From gcc-bugs-return-523859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 20:11:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122361 invoked by alias); 1 May 2016 20:11:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122204 invoked by uid 48); 1 May 2016 20:11:05 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70896] gcc4 ABI compatible bootstrap fails Date: Sun, 01 May 2016 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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00031.txt.bz2 Content-length: 165 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70896 --- Comment #1 from Andrew Pinski --- > -fipa-pta Why are you using that option? >>From gcc-bugs-return-523860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 20:34:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23221 invoked by alias); 1 May 2016 20:34:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23107 invoked by uid 48); 1 May 2016 20:34:10 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/70611] Compiling binutils with -flto -Wstack-usage fails. Date: Sun, 01 May 2016 20:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00032.txt.bz2 Content-length: 912 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70611 --- Comment #4 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- (In reply to Andrew Pinski from comment #3) > There is no internals of GCC here. Rather the user specified all warnings > at link time. If the user did not want that then they did not need to > supply those options ... That is very user-unfriendly and another reason why people might just rationally decide that LTO is still not worth the pain. If I understand correctly, the non-LTO compilation works without warning. Adding -flto to your CFLAGS should not make your compilation fail in unexplained ways unless your code is wrong. If LTO is not meant to handle (some) warnings, then it should disable warnings internally (which would speed-up compilation). GCC, not the user, should know which warnings work w= ith LTO and which ones don't, and ignore/disable them. >>From gcc-bugs-return-523861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 20:36:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29710 invoked by alias); 1 May 2016 20:36:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29552 invoked by uid 48); 1 May 2016 20:36:11 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70859] Bad column number in type-generic function errors Date: Sun, 01 May 2016 20:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00033.txt.bz2 Content-length: 732 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70859 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #2 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- These errors should use error_at instead of error() (input_location must di= e!) Even with that change, constants and var_decl do not have locations (PR4348= 6), so input_location would still need to be used unless one manages to pass do= wn an array of location_t * args_loc to check_builtin_function_arguments. >>From gcc-bugs-return-523862-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 21:02:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61186 invoked by alias); 1 May 2016 21:02:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61018 invoked by uid 48); 1 May 2016 21:01:50 -0000 From: "tulipawn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70896] gcc4 ABI compatible bootstrap fails Date: Sun, 01 May 2016 21:02: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: tulipawn 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00034.txt.bz2 Content-length: 178 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70896 --- Comment #2 from PeteVine --- I had this option in my environment FLAGS - is it problematic? >>From gcc-bugs-return-523863-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 21:10:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68233 invoked by alias); 1 May 2016 21:10:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68072 invoked by uid 48); 1 May 2016 21:10:05 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/66425] (void) cast doesn't suppress __attribute__((warn_unused_result)) Date: Sun, 01 May 2016 21:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00035.txt.bz2 Content-length: 1932 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66425 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #27 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- (In reply to Steven Bosscher from comment #26) > Maybe make something like "-Wno-unused-result=3D[pedantic|nodiscard]", ma= ke=20 > strict the current semantics of the flag and nodiscard the C++17 semantics > (and make that the default)? I see two alternatives: 1) Keep nosdiscard and __wur semantics separated and use different flags for them such as a new -Wdiscard which is enabled by default so that users can = use -Wno-discard to disable "nodiscard" attrib warnings. (Or should it be -Wnodiscard and -Wno-nodiscard?). This has the downside that users of existing libraries using __wur do not s= ee any benefit and this PR goes on. 2) Make __wur more strict than nodiscard only if some new flag -Wstrict-unused-result is enabled (stricter warnings would print this flag = and users can use -Wno- version to disable it completely without disabling nodiscard warnings). This has the downside that users and library devs happy with the existing behavior will have their default silently changed. The upside is that users= can decide on their own if they want the looser semantics by flipping a single switch. Option (2) is equivalent to what is proposed above. In that case -Wstrict-unused-result will imply -Wunused-result (but not the other way around) and the only question is whether -Wstrict-unused-result or -Wunused-result is enabled by default. "pedantic" has a very precise meaning within GCC that is already quite difficult to explain, let's not make it even more complex by overloading it. >>From gcc-bugs-return-523864-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 22:11:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87769 invoked by alias); 1 May 2016 22:11:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84424 invoked by uid 48); 1 May 2016 22:11:21 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70586] [7 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 32-bit and 64-bit modes Date: Sun, 01 May 2016 22:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00036.txt.bz2 Content-length: 858 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70586 Jan Hubicka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #6 from Jan Hubicka --- Yep, pure/const function can trap and even throw an exception. We could cle= anup the way we store information about function body and propagate info whether function can do trap/eh exception and such. I wonder how desirable is however to turn code path that doesn't call funct= ion into a code path that does. Is it a win? Shouldn't tree-ssa-ifcombine have some cost model that should have caught t= his and decide it unprofitable? Const/pure functions can be very slow. Honza >>From gcc-bugs-return-523865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 22:13:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101721 invoked by alias); 1 May 2016 22:13:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101460 invoked by uid 48); 1 May 2016 22:13:28 -0000 From: "tulipawn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70896] gcc4 ABI compatible bootstrap fails Date: Sun, 01 May 2016 22:13: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: tulipawn 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00037.txt.bz2 Content-length: 280 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70896 --- Comment #3 from PeteVine --- That option never caused me any troubles, btw.=20 FWIW, once I've removed the `--disable-libstdcxx-dual-abi` option, the build started chugging along quite nicely. >>From gcc-bugs-return-523866-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 01 22:44:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36676 invoked by alias); 1 May 2016 22:44:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36554 invoked by uid 48); 1 May 2016 22:44:14 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70897] New: Confused branch predictors Date: Sun, 01 May 2016 22:44: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00038.txt.bz2 Content-length: 6386 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70897 Bug ID: 70897 Summary: Confused branch predictors Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: hubicka at gcc dot gnu.org Target Milestone: --- Martin has collected predictor hitrates with current mainline. It seems that some of predictors no longer works very well. In particular: loop iv compare, continue, const return, fail alloc, zero-sized array, early return (on trees), call all have very low hitrates. This is a regression wrt early GCC 4.x releases when the regular predictor testing broke. SPECv6: HEURISTICS BRANCHES (REL) HITRATE=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 COVERAGE COVERAGE (REL) loop iv compare 70 0.1% 59.31% / 71.45%=20= =20=20=20=20 391732444 391.73M 0.0% unconditional jump 252 0.2% 100.00% / 100.00%=20= =20=20=20=20=20=20=20=20 62269 62.27K 0.0% guess loop iv compare 362 0.3% 89.02% / 90.08%=20= =20=20=20 2703184164 2.70G 0.2% continue 429 0.4% 12.85% / 90.20%=20= =20=20 37779791284 37.78G 2.9% negative return 919 0.8% 54.79% / 57.15%=20= =20=20 11577463479 11.58G 0.9% null return 1083 1.0% 99.73% / 99.96%=20= =20=20=20=20 673967611 673.97M 0.1% const return 1120 1.0% 11.66% / 96.19%=20= =20=20=20 1856118902 1.86G 0.1% fail alloc 1151 1.1% 57.13% / 100.00%=20= =20=20=20=20=20=20=20 144823 144.82K 0.0% zero-sized array 1960 1.8% 51.41% / 98.82%=20= =20=20=20=20=20=20=20 104224 104.22K 0.0% loop guard 3229 3.0% 76.78% / 82.17%=20= =20=20 60212618544 60.21G 4.6% noreturn call 3434 3.2% 100.00% / 100.00%=20= =20=20=20 1910587253 1.91G 0.1% overflow 3755 3.4% 100.00% / 100.00%=20= =20=20=20=20=20=20=20 208357 208.36K 0.0% opcode values positive (on trees) 5759 5.3% 58.56% / 82.94%=20= =20=20 59387315517 59.39G 4.6% loop iterations 7019 6.4% 87.65% / 87.65%=20=20 229118021898 229.12G 17.6% early return (on trees) 8564 7.9% 52.30% / 80.93%=20= =20=20 42808951372 42.81G 3.3% loop exit 9158 8.4% 89.47% / 92.47%=20=20 230993449420 230.99G 17.7% opcode values nonequal (on trees) 9552 8.8% 85.86% / 91.56%=20= =20=20 92785638348 92.79G 7.1% guessed loop iterations 10880 10.0% 94.45% / 94.78%=20=20 367779299495 367.78G 28.2% pointer (on trees) 18682 17.2% 80.01% / 94.69%=20= =20=20 18291859871 18.29G 1.4% no prediction 20863 19.2% 40.36% / 83.66%=20=20 203021057312 203.02G 15.6% first match 33795 31.0% 91.59% / 92.17%=20=20 820741493723 820.74G 63.0% call 34820 32.0% 56.19% / 90.09%=20= =20=20 62586683178 62.59G 4.8% DS theory 54257 49.8% 66.02% / 86.54%=20=20 280009272372 280.01G 21.5% combined 108915 100.0% 78.12% / 89.63%=20 1303771823407 1.30T 100.0% HEURISTICS BRANCHES (REL) HITRATE=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 COVERAGE COVERAGE (REL) loop iv compare 23 0.0% 52.06% / 52.15%=20= =20=20=20=20=20=20 8806901 8.81M 0.0% unconditional jump 103 0.2% 100.00% / 100.00%=20= =20=20=20=20=20=20=20 491001 491.00K 0.0% guess loop iv compare 133 0.3% 97.78% / 97.81%=20= =20=20=20 4279936888 4.28G 0.4% negative return 279 0.5% 97.87% / 99.23%=20= =20=20=20 1062639875 1.06G 0.1% const return 362 0.7% 34.63% / 89.75%=20= =20=20=20=20 380299097 380.30M 0.0% null return 396 0.8% 91.47% / 93.08%=20= =20=20=20 3268678453 3.27G 0.3% continue 438 0.8% 33.36% / 82.86%=20= =20=20=20 9985282412 9.99G 0.9% fail alloc 595 1.2% 62.18% / 100.00%=20= =20=20=20=20=20=20=20=20 595 595.00 0.0% zero-sized array 677 1.3% 100.00% / 100.00%=20= =20=20=20=20 112723789 112.72M 0.0% overflow 1282 2.5% 100.00% / 100.00%=20= =20=20=20=20 175074149 175.07M 0.0% loop guard 1806 3.5% 51.80% / 84.49%=20= =20=20=20 5230926398 5.23G 0.5% noreturn call 2326 4.5% 100.00% / 100.00%=20= =20=20=20 7930483860 7.93G 0.7% loop iterations 2729 5.3% 75.43% / 75.43%=20=20 531785147496 531.79G 47.8% opcode values positive (on trees) 3125 6.1% 60.97% / 90.49%=20= =20=20 15436912826 15.44G 1.4% guessed loop iterations 5195 10.1% 93.61% / 94.10%=20=20 209393449998 209.39G 18.8% loop exit 5339 10.4% 86.45% / 89.08%=20= =20=20 81667429878 81.67G 7.3% early return (on trees) 6129 11.9% 53.73% / 85.87%=20= =20=20 32874618464 32.87G 3.0% pointer (on trees) 6244 12.1% 69.66% / 87.21%=20= =20=20 16710418134 16.71G 1.5% opcode values nonequal (on trees) 6595 12.8% 66.23% / 80.61%=20= =20=20 71478573496 71.48G 6.4% no prediction 8332 16.2% 32.83% / 84.55%=20=20 136479915877 136.48G 12.3% call 15873 30.8% 63.45% / 92.77%=20= =20=20 41601586641 41.60G 3.7% first match 16619 32.2% 81.34% / 81.68%=20=20 828056982571 828.06G 74.4% DS theory 26610 51.6% 64.93% / 85.46%=20=20 148555198747 148.56G 13.3% combined 51561 100.0% 73.20% / 82.54%=20 1113092097195 1.11T 100.0% >>From gcc-bugs-return-523867-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 01:47:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103410 invoked by alias); 2 May 2016 01:47:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103258 invoked by uid 48); 2 May 2016 01:47:30 -0000 From: "tulipawn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70896] gcc4 ABI compatible bootstrap fails Date: Mon, 02 May 2016 01:47: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: tulipawn 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00039.txt.bz2 Content-length: 840 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70896 --- Comment #4 from PeteVine --- Until it failed again during the fortran part: ../../../libgfortran/io/transfer.c: In function =E2=80=98bswap_array=E2=80= =99: ../../../libgfortran/io/transfer.c:915:25: fatal error: You must enable NEON instructions (e.g. -mfloat-abi=3Dsoftfp -mfpu=3Dneon) to use these intrinsi= cs. ((uint16_t*)dest)[i] =3D __builtin_bswap16 (((uint16_t*)src)[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[3]: *** [transfer.lo] Error 1 but that looks like user error. It would be nice if `configure` could abort= or at least warn on not finding `-mfpu=3Dneon` among CFLAGS if fortran was ena= bled. Is there a way to salvage the C/C++ build or do I have to start from scratc= h? >>From gcc-bugs-return-523868-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 02:06:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9454 invoked by alias); 2 May 2016 02:06:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9131 invoked by uid 48); 2 May 2016 02:06:04 -0000 From: "gccbugs at jbapple dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70898] New: Stateful Compare objects are very slow Date: Mon, 02 May 2016 02:06: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: 4.8.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gccbugs at jbapple 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00040.txt.bz2 Content-length: 1848 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70898 Bug ID: 70898 Summary: Stateful Compare objects are very slow Product: gcc Version: 4.8.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: gccbugs at jbapple dot com Target Milestone: --- /* The following code is four times slower with libstdc++ than with libc++. I think the problem is partially too many copies in stl_heap.h. Instrumenti= ng the code with a copy constructor and a destructor shows two copies of a Comp and two destructions for every call to push, while in libc++ it's only one = call to a copy constructor and one call to the destructor. It seems like zero ca= lls should be sufficient, as the Compare object could be kept around between pu= sh calls and reused. */ #include #include #include using namespace std; struct Comp { vector data; Comp(int n) : data(n,n) {} bool operator()(const double &x, const double &y) const { return x < y; }= =20=20=20=20=20 };=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 int main() { vector data; Comp comp(150000); priority_queue, Comp> pq(comp, data); for (int i =3D 0; i < 100000; ++i) { pq.push(i); }=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 cout << pq.top() << endl; } >>From gcc-bugs-return-523869-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 02:13:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65794 invoked by alias); 2 May 2016 02:12:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65454 invoked by uid 48); 2 May 2016 02:12:47 -0000 From: "gccbugs at jbapple dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70899] New: Stateful Compare objects are very slow Date: Mon, 02 May 2016 02:12: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: 4.8.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gccbugs at jbapple 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00041.txt.bz2 Content-length: 1848 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70899 Bug ID: 70899 Summary: Stateful Compare objects are very slow Product: gcc Version: 4.8.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: gccbugs at jbapple dot com Target Milestone: --- /* The following code is four times slower with libstdc++ than with libc++. I think the problem is partially too many copies in stl_heap.h. Instrumenti= ng the code with a copy constructor and a destructor shows two copies of a Comp and two destructions for every call to push, while in libc++ it's only one = call to a copy constructor and one call to the destructor. It seems like zero ca= lls should be sufficient, as the Compare object could be kept around between pu= sh calls and reused. */ #include #include #include using namespace std; struct Comp { vector data; Comp(int n) : data(n,n) {} bool operator()(const double &x, const double &y) const { return x < y; }= =20=20=20=20=20 };=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 int main() { vector data; Comp comp(150000); priority_queue, Comp> pq(comp, data); for (int i =3D 0; i < 100000; ++i) { pq.push(i); }=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 cout << pq.top() << endl; } >>From gcc-bugs-return-523871-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 02:17:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89564 invoked by alias); 2 May 2016 02:17:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89292 invoked by uid 48); 2 May 2016 02:17:01 -0000 From: "gccbugs at jbapple dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70899] Stateful Compare objects are very slow Date: Mon, 02 May 2016 02: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: 4.8.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gccbugs at jbapple dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00043.txt.bz2 Content-length: 502 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70899 gccbugs at jbapple dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from gccbugs at jbapple dot com --- Accidental double-post of identical bug report. *** This bug has been marked as a duplicate of bug 70898 *** >>From gcc-bugs-return-523870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 02:17:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89548 invoked by alias); 2 May 2016 02:17:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89343 invoked by uid 48); 2 May 2016 02:17:02 -0000 From: "gccbugs at jbapple dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70898] Stateful Compare objects are very slow Date: Mon, 02 May 2016 02: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: 4.8.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gccbugs at jbapple 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00042.txt.bz2 Content-length: 167 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70898 --- Comment #1 from gccbugs at jbapple dot com --- *** Bug 70899 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-523872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 05:26:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23376 invoked by alias); 2 May 2016 05:26:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23201 invoked by uid 55); 2 May 2016 05:26:21 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/52898] SH Target: Inefficient DImode comparisons Date: Mon, 02 May 2016 05: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: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00044.txt.bz2 Content-length: 1001 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52898 --- Comment #11 from Oleg Endo --- Author: olegendo Date: Mon May 2 05:25:46 2016 New Revision: 235698 URL: https://gcc.gnu.org/viewcvs?rev=3D235698&root=3Dgcc&view=3Drev Log: gcc/ PR target/52898 * config/sh/sh.c (sh_option_override): Remove TARGET_CBRANCHDI4, TARGET_CMPEQDI_T. (prepare_cbranch_operands): Don't use scratch register. Assume that function is used when pseudos can be created. (expand_cbranchdi4): Likewise. Remove unused TARGET_CMPEQDI_T path= s. * config/sh/sh.md (cbranchsi4): Allow only when pseudos can be crea= ted. (cbranchdi4, cbranchdi4_i): Simplify to single cbranchdi4 define_expand. Allow it only when pseudos can be created. * config/sh/sh.opt (mcbranchdi, mcmpeqdi): Delete. Modified: trunk/gcc/ChangeLog trunk/gcc/config/sh/sh.c trunk/gcc/config/sh/sh.md trunk/gcc/config/sh/sh.opt >>From gcc-bugs-return-523873-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 06:01:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67834 invoked by alias); 2 May 2016 06:01:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67662 invoked by uid 48); 2 May 2016 06:01:30 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70898] Stateful Compare objects are very slow Date: Mon, 02 May 2016 06:01: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: 4.8.4 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00045.txt.bz2 Content-length: 377 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70898 --- Comment #2 from Marc Glisse --- I think you are supposed to use std::reference_wrapper as comparator = if you don't want to copy it around. We did talk about reducing the number of copies (mostly in the context of sorting), but nobody has found the time / motivation to write patches. >>From gcc-bugs-return-523874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 07:01:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57732 invoked by alias); 2 May 2016 07:01:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57623 invoked by uid 48); 2 May 2016 07:01:08 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/38825] missed optimization: register renaming in unrolled loop Date: Mon, 02 May 2016 07: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: 4.4.0 X-Bugzilla-Keywords: alias, missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00046.txt.bz2 Content-length: 1067 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D38825 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #8 from Richard Biener --- A testcase variant using __restrict was confirmed: #include void bench_3(float * __restrict out, float * __restrict in, float f, unsign= ed int n) { n /=3D 8; __m128 scalar =3D _mm_set_ps1(f); do { __m128 arg =3D _mm_load_ps(in); __m128 result =3D _mm_add_ps(arg, scalar); _mm_store_ps(out, result); arg =3D _mm_load_ps(in+4); result =3D _mm_add_ps(arg, scalar); _mm_store_ps(out+4, result); in +=3D 8; out +=3D 8; } while (--n); } This is optimized with GCC 4.6 and up with -frename-registers or on trunk where the latter is enabled by default now. Fixed thus. >>From gcc-bugs-return-523875-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 07:02:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59493 invoked by alias); 2 May 2016 07:02:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59368 invoked by uid 48); 2 May 2016 07:02:36 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/62077] --with-build-config=bootstrap-lto fails Date: Mon, 02 May 2016 07:02: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: 5.1.1 X-Bugzilla-Keywords: build, lto X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00047.txt.bz2 Content-length: 1050 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D62077 --- Comment #68 from Richard Biener --- (In reply to Sven C. Dack from comment #67) > (In reply to Richard Biener from comment #66) > > The issue re-appears with GCC 6, the workaround doing > > --enable-stage1-checking=3Drelease still works. > >=20 > > Note that the comparison we do with LTO bootstrap is quite pointless as= we > > only compile the internal IL at LTO streaming time but not the final re= sult > > of optimization. For that we'd need to compare cc1, cc1plus, etc. itse= lf. > To call it pointless is as dismissive of the effort as saying you'd be > willing to accept any indeterministic behaviour, including magic, into > computer science as long as it produces great software. Let's not be this > lazy. I'm calling it pointless to motivate adding comparison of the optimized binaries themselves. I'm not arguing to remove bootstrap comparison completely - but maybe to remove LTO IL comparison if we got optimized binary comparison in exchange. >>From gcc-bugs-return-523876-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 07:03:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60814 invoked by alias); 2 May 2016 07:03:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60568 invoked by uid 48); 2 May 2016 07:03:22 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70700] ICE using -fdump-tree-all-graph option Date: Mon, 02 May 2016 07:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00048.txt.bz2 Content-length: 164 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70700 --- Comment #9 from Richard Biener --- Yep, the patch looks ok and pre-approved. >>From gcc-bugs-return-523877-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 07:33:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94222 invoked by alias); 2 May 2016 07:33:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94080 invoked by uid 48); 2 May 2016 07:33:10 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70887] [5 Regression] internal compiler error in trunc_int_for_mode, at explow.c:78 Date: Mon, 02 May 2016 07:33: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work target_milestone cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00049.txt.bz2 Content-length: 410 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70887 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |4.9.3, 6.1.0 Target Milestone|--- |5.4 Known to fail| |5.3.0 >>From gcc-bugs-return-523878-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 07:33:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94938 invoked by alias); 2 May 2016 07:33:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94221 invoked by uid 48); 2 May 2016 07:33:18 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70887] [5 Regression] internal compiler error in trunc_int_for_mode, at explow.c:78 Date: Mon, 02 May 2016 07:33: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00050.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70887 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >>From gcc-bugs-return-523879-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 07:34:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106131 invoked by alias); 2 May 2016 07:34:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105534 invoked by uid 48); 2 May 2016 07:33:55 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70886] [7 Regression] -frename-registers causes boostrap comparison failures on ia64 Date: Mon, 02 May 2016 07:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00051.txt.bz2 Content-length: 567 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70886 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 Summary|-frename-registers causes |[7 Regression] |boostrap comparison |-frename-registers causes |failures on ia64 |boostrap comparison | |failures on ia64 >>From gcc-bugs-return-523880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 07:39:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25197 invoked by alias); 2 May 2016 07:39:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25117 invoked by uid 48); 2 May 2016 07:39:13 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/70880] Main page GCC 7.0 links point to GCC 6 Date: Mon, 02 May 2016 07:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00052.txt.bz2 Content-length: 432 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70880 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Richard Biener --- so fixed. >>From gcc-bugs-return-523881-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 07:42:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28697 invoked by alias); 2 May 2016 07:42:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28507 invoked by uid 55); 2 May 2016 07:42:39 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70700] ICE using -fdump-tree-all-graph option Date: Mon, 02 May 2016 07:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: vries 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00053.txt.bz2 Content-length: 716 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70700 --- Comment #10 from vries at gcc dot gnu.org --- Author: vries Date: Mon May 2 07:42:06 2016 New Revision: 235700 URL: https://gcc.gnu.org/viewcvs?rev=3D235700&root=3Dgcc&view=3Drev Log: Fix ICE in dump_pred_graph 2016-05-02 Marek Polacek Tom de Vries PR tree-optimization/70700 * tree-ssa-structalias.c (dump_pred_graph): Fix getting varinfo for= ids bigger than FIRST_REF_NODE. * gcc.dg/pr70700.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr70700.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-structalias.c >>From gcc-bugs-return-523882-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 07:43:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30052 invoked by alias); 2 May 2016 07:43:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29690 invoked by uid 48); 2 May 2016 07:43:31 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70879] Missed jump threading opportunity with multiple != conditions Date: Mon, 02 May 2016 07:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00054.txt.bz2 Content-length: 643 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70879 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-02 Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- The issue here is really that we don't insert PHIs for the SSA defs of inse= rted asserts so we have to play "tricks" like finding dominating asserts in the first place. >>From gcc-bugs-return-523883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 07:46:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35754 invoked by alias); 2 May 2016 07:46:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34915 invoked by uid 48); 2 May 2016 07:46:31 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Mon, 02 May 2016 07:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cf_gcctarget priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00055.txt.bz2 Content-length: 419 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Target| |i?86-*-* Priority|P3 |P1 >>From gcc-bugs-return-523884-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 07:49:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43884 invoked by alias); 2 May 2016 07:49:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43678 invoked by uid 48); 2 May 2016 07:49:27 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70700] ICE using -fdump-tree-all-graph option Date: Mon, 02 May 2016 07:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: vries 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution target_milestone cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00056.txt.bz2 Content-length: 599 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70700 vries at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Known to work| |7.0 Resolution|--- |FIXED Target Milestone|--- |7.0 Known to fail| |6.0 --- Comment #11 from vries at gcc dot gnu.org --- Patch with testcase committed, marking resolved-fixed. >>From gcc-bugs-return-523885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 07:53:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66720 invoked by alias); 2 May 2016 07:53:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66054 invoked by uid 48); 2 May 2016 07:53:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70884] [6/7 regression] 2nd SRA pass confused by load from constant pool Date: Mon, 02 May 2016 07:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00057.txt.bz2 Content-length: 655 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70884 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-02 CC| |alan.lawrence.arm at gmail= dot com Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- Confirmed with a cross on the GCC 6 branch. >>From gcc-bugs-return-523886-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 07:55:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69584 invoked by alias); 2 May 2016 07:55:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69445 invoked by uid 48); 2 May 2016 07:55:26 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Mon, 02 May 2016 07:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00058.txt.bz2 Content-length: 802 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #7 from Uro=C5=A1 Bizjak --- (In reply to Bernd Schmidt from comment #6) > So the problem seems to be peep2 runs before regrename. If you always want > to generate two instructions there, then yes, a splitter would probably be > better. Actually just changing define_peephole2 to define_split seems to = do > the trick, can you try whether that fixes the performance regression (I > don't have a Haswell machine)? Looking at the pass sequence, it looks to me that we need some global varia= ble for a "very late" split (_.split4), when we are sure that insn operands won= 't be changed anymore. Even better solution would be a machine-dependent split-like mini-pass plug= ged in just after mach-reorg pass. >>From gcc-bugs-return-523887-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 08:00:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84619 invoked by alias); 2 May 2016 08:00:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84396 invoked by uid 48); 2 May 2016 08:00:36 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70526] [5/6 Regression] GCC 6 miscompiles Firefox JIT compiler Date: Mon, 02 May 2016 08:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00059.txt.bz2 Content-length: 2051 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 --- Comment #20 from Richard Biener --- (In reply to Jan de Mooij from comment #17) > Thank you for looking into this again. >=20 > I don't understand comment 16 though: >=20 > > _BUT_ here we access D.3125 both as Register (the store) > > and as its declared type TypedOrValueRegister (the load). >=20 > So D.3125 is a TypedOrValueRegister right? TypedOrValueRegister is define= d as >=20 > class TypedOrValueRegister > { > MIRType type_; > AlignedStorage2 typed; > ... >=20 > So IIUC it's wrong to store to |typed| in the constructor, by doing this: >=20 > *typed.addr() =3D reg; >=20 > Why is that? Any suggestions on how to fix this on our end? No, it's valid to do that. What is not valid is to copy TypedOrValueRegist= er with a plain assignment (well, or the C++ FE is implementing that wrongly). In C language terms the analogy is when you write struct X { int type; char c[16]; }; float foo () { struct X x; x.type =3D 1; *(float *)x.c =3D 1.0; struct X y =3D x; return *(float *)y.c; } then the aggregate copy y =3D x is not using an effective type that aliases with the float store/load and thus it can be re-ordered with both the store and the load. I'd have to dive deep into the C++ standard to find the equivalent wording about how TBAA applies to class types (and the C++ notion of the type in effect when writing an aggregate assignment or a copy via a return=20 by value or passing a parameter by value). It might be that the C++ standa= rd writes the copying is done member-wise with accesses that have the member type as effective type for TBAA which would mean the C++ FE has to implement aggregate assignment differently. Note this applies to PODs mostly as non-PODs would invoke the copy constructor (where then the question is on the constraints of the default implementation done by GCC again). I'm going to backport the original fix and I think the new issue warrants a separate bug as it only affects GCC 6. >>From gcc-bugs-return-523888-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 08:07:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104132 invoked by alias); 2 May 2016 08:07:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97990 invoked by uid 48); 2 May 2016 08:07:22 -0000 From: "demoonlit at panathenaia dot halfmoon.jp" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70900] New: a library-level class-wide subprogram is not generated into .o/.s Date: Mon, 02 May 2016 08:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: demoonlit at panathenaia dot halfmoon.jp 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00060.txt.bz2 Content-length: 2899 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70900 Bug ID: 70900 Summary: a library-level class-wide subprogram is not generated into .o/.s Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: demoonlit at panathenaia dot halfmoon.jp Target Milestone: --- gcc-6.1.0 does not generate machine-code for some kind of library-level class-wide subprograms into .o/.s. Minor difference of nest-level, profile, or body of it affects possible to reproduce. I have not found the detailed condition, but found one reproduci= ble small code, below: package p is type t is tagged null record; end p; with p; function p.liblevelcwsubp (obj : p.t'class) return p.t'class is begin return obj; end p.liblevelcwsubp; % x86_64-apple-darwin10-gcc -c p-liblevelcwsubp.adb % nm p-liblevelcwsubp.o nm: no name list % x86_64-pc-linux-gnu-gcc -c p-liblevelcwsubp.adb % x86_64-pc-linux-gnu-nm p-liblevelcwsubp.o (empty output) % x86_64-apple-darwin10-gcc -S p-liblevelcwsubp.adb % cat p-liblevelcwsubp.s .subsections_via_symbols (end of file) % x86_64-pc-linux-gnu-gcc -S p-liblevelcwsubp.adb=20 % cat p-liblevelcwsubp.s .file "p-liblevelcwsubp.adb" .ident "GCC: (GNU) 6.1.0" .section .note.GNU-stack,"",@progbits (end of file) % x86_64-apple-darwin10-gcc --version x86_64-apple-darwin10-gcc (GCC) 6.1.0 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % x86_64-pc-linux-gnu-gcc --version x86_64-pc-linux-gnu-gcc (GCC) 6.1.0 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ---------- gcc-5 works: % gcc -c p-liblevelcwsubp.adb % nm p-liblevelcwsubp.o 0000000000000230 s EH_frame1 U ___gnat_rcheck_CE_Access_Check U ___gnat_rcheck_PE_Accessibility_Check 0000000000000000 T __ada_p__liblevelcwsubp U _memcpy U _system__secondary_stack__ss_allocate % gcc -S p-liblevelcwsubp.adb % cat p-liblevelcwsubp.s .const LC0: .ascii "p-liblevelcwsubp.adb" .space 1 .text .globl __ada_p__liblevelcwsubp __ada_p__liblevelcwsubp: LFB2: pushq %rbp LCFI0: movq %rsp, %rbp (...more contents) % gcc --version gcc (GCC) 5.3.0 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. >>From gcc-bugs-return-523889-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 08:17:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7855 invoked by alias); 2 May 2016 08:17:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7768 invoked by uid 48); 2 May 2016 08:17:07 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70882] vectorized sincos trashes the stack Date: Mon, 02 May 2016 08:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: ABI, openmp, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00061.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70882 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Jakub Jelinek --- This is a glibc bug. >>From gcc-bugs-return-523890-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 08:19:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10495 invoked by alias); 2 May 2016 08:19:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10392 invoked by uid 48); 2 May 2016 08:19:42 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70890] [7 regression] r235660 miscompiles stage2 compiler on ia64 Date: Mon, 02 May 2016 08:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00062.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70890 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 >>From gcc-bugs-return-523891-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 08:43:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129246 invoked by alias); 2 May 2016 08:43:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128981 invoked by uid 48); 2 May 2016 08:43:42 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65317] [SH] Shifts used instead of and with const_int Date: Mon, 02 May 2016 08: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00063.txt.bz2 Content-length: 853 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65317 Oleg Endo changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |segher at kernel dot crash= ing.org --- Comment #3 from Oleg Endo --- Segher, do you think it would make sense to extend combine so that for thin= gs like ... Failed to match this instruction: (set (reg:SI 168 [ D.1470 ]) (and:SI (reg:SI 4 r4 [ a ]) (const_int -2147483648 [0xffffffff80000000]))) ... it would also try (set (reg:SI 200) (const_int -2147483648)) (set (reg:SI 168) (and:SI (reg:SI r4) (reg:SI 200))) I think in some cases it already does try things like that, but for some re= ason not in this case here. >>From gcc-bugs-return-523892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 09:30:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122911 invoked by alias); 2 May 2016 09:30:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112237 invoked by uid 48); 2 May 2016 09:30:21 -0000 From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70687] Undefined shift in change_zero_ext in combine.c Date: Mon, 02 May 2016 09:30: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rsandifo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00064.txt.bz2 Content-length: 602 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70687 rsandifo at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |rsandifo at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot= gnu.org --- Comment #3 from rsandifo at gcc dot gnu.org --- Taking at HJ's request. Testing a patch. >>From gcc-bugs-return-523893-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 09:39:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69411 invoked by alias); 2 May 2016 09:39:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68164 invoked by uid 48); 2 May 2016 09:39:30 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70900] [6 regression] a library-level class-wide subprogram is not generated into object file Date: Mon, 02 May 2016 09:39: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00065.txt.bz2 Content-length: 937 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70900 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-02 CC| |ebotcazou at gcc dot gnu.o= rg Target Milestone|--- |6.2 Summary|a library-level class-wide |[6 regression] a |subprogram is not generated |library-level class-wide |into .o/.s |subprogram is not generated | |into object file Ever confirmed|0 |1 --- Comment #1 from Eric Botcazou --- Confirmed, but already fixed on the mainline. >>From gcc-bugs-return-523894-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 09:40:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71930 invoked by alias); 2 May 2016 09:40:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70655 invoked by uid 48); 2 May 2016 09:39:58 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70900] [6 regression] a library-level class-wide subprogram is not generated into object file Date: Mon, 02 May 2016 09:40: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00066.txt.bz2 Content-length: 471 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70900 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc do= t gnu.org --- Comment #2 from Eric Botcazou --- Investigating. >>From gcc-bugs-return-523895-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 10:09:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128000 invoked by alias); 2 May 2016 10:09:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127672 invoked by uid 55); 2 May 2016 10:09:31 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70886] [7 Regression] -frename-registers causes boostrap comparison failures on ia64 Date: Mon, 02 May 2016 10:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00067.txt.bz2 Content-length: 690 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70886 --- Comment #6 from Eric Botcazou --- Author: ebotcazou Date: Mon May 2 10:08:59 2016 New Revision: 235735 URL: https://gcc.gnu.org/viewcvs?rev=3D235735&root=3Dgcc&view=3Drev Log: PR rtl-optimization/70886 * sched-deps.c (estimate_dep_weak): Canonicalize cselib values. * cselib.h (rtx_equal_for_cselib_1): Declare. (rtx_equal_for_cselib_p: New inline function. * cselib.c (rtx_equal_for_cselib_p): Delete. (rtx_equal_for_cselib_1): Make public. Modified: trunk/gcc/ChangeLog trunk/gcc/cselib.c trunk/gcc/cselib.h trunk/gcc/sched-deps.c >>From gcc-bugs-return-523896-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 10:10:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130246 invoked by alias); 2 May 2016 10:10:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130062 invoked by uid 48); 2 May 2016 10:10:40 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70886] [7 Regression] -frename-registers causes boostrap comparison failures on ia64 Date: Mon, 02 May 2016 10:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00068.txt.bz2 Content-length: 443 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70886 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Eric Botcazou --- This one is fixed. >>From gcc-bugs-return-523897-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 10:34:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1425 invoked by alias); 2 May 2016 10:34:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1077 invoked by uid 48); 2 May 2016 10:34:05 -0000 From: "blaffablaffa at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70901] New: vectorized sin cos is wrongly optimized into scalar sincos Date: Mon, 02 May 2016 10:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: blaffablaffa at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00069.txt.bz2 Content-length: 763 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70901 Bug ID: 70901 Summary: vectorized sin cos is wrongly optimized into scalar sincos Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: blaffablaffa at gmail dot com Target Milestone: --- Created attachment 38390 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38390&action=3Dedit testcase As per title. Compile testcase with=20 g++ -std=3Dc++11 -O1 -fopenmp -ffast-math -march=3Divybridge -mtune=3Divybr= idge -o vector_sin_cos_to_scalar_sincos vector_sin_cos_to_scalar_sincos.cpp >>From gcc-bugs-return-523898-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 10:35:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4422 invoked by alias); 2 May 2016 10:35:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3254 invoked by uid 48); 2 May 2016 10:34:47 -0000 From: "blaffablaffa at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70901] vectorized sin cos is wrongly optimized into scalar sincos Date: Mon, 02 May 2016 10:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: blaffablaffa at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00070.txt.bz2 Content-length: 516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70901 Lorenzo Pistone changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |blaffablaffa at gmail dot = com --- Comment #1 from Lorenzo Pistone --- Note that vectorized sincos is currently (glibc 2.22) broken: https://sourceware.org/bugzilla/show_bug.cgi?id=3D20024 >>From gcc-bugs-return-523899-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 10:51:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48047 invoked by alias); 2 May 2016 10:51:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44953 invoked by uid 48); 2 May 2016 10:51:06 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70859] Bad column number in type-generic function errors Date: Mon, 02 May 2016 10:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00071.txt.bz2 Content-length: 437 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70859 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org Target Milestone|--- |7.0 >>From gcc-bugs-return-523900-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 10:56:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70548 invoked by alias); 2 May 2016 10:56:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66607 invoked by uid 48); 2 May 2016 10:56:35 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70895] OpenACC: loop reduction does not work. Output is zero. Date: Mon, 02 May 2016 10:56: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: 6.1.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00072.txt.bz2 Content-length: 1738 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70895 Thomas Schwinge changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |openacc Status|UNCONFIRMED |WAITING Last reconfirmed| |2016-05-02 CC| |cesar at gcc dot gnu.org, | |nathan at gcc dot gnu.org, | |tschwinge at gcc dot gnu.o= rg Assignee|unassigned at gcc dot gnu.org |tschwinge at gcc do= t gnu.org Ever confirmed|0 |1 --- Comment #1 from Thomas Schwinge --- (In reply to Ralph Trenkler from comment #0) > Created attachment 38389 [details] > compiler configure command line, compiler call, program in f90, *.i-file Thanks for that! > Problem with OpenACC: The output of the attached fortran 90 program > "acc-test-04.f90" is zero but not "pi" (3.14...), as it should be. The > compiler version is 6.1.0. There is no "copy(pi)" or "reduction(+:pi)" clause on the outer "acc parall= el" construct, so the offloaded computation of "pi" will not be copied back; he= nce the result of zero. (Cesar CCed; please shout if I'm interpreting the Open= ACC 2.0a specification wrongly.) Also, due to the gang/worker/vector loop scheduling algorithm that's curren= tly used, you'll want to add explicit "gang worker vector" clauses to the one-l= evel "acc loop" construct. (Nathan CCed for your information.) Do you have any further questions? >>From gcc-bugs-return-523901-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 11:04:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95714 invoked by alias); 2 May 2016 11:04:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95543 invoked by uid 48); 2 May 2016 11:04:26 -0000 From: "anton.mitrokhin at phystech dot edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70902] New: GCC freezes while compiling for 'skylake-avx512' target Date: Mon, 02 May 2016 11:04: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: anton.mitrokhin at phystech dot edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00073.txt.bz2 Content-length: 1490 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70902 Bug ID: 70902 Summary: GCC freezes while compiling for 'skylake-avx512' target Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton.mitrokhin at phystech dot edu Target Milestone: --- Created attachment 38391 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38391&action=3Dedit Reproducer GCC trunk compiler freezes indefinitely while trying to build for skylake-avx512 target on -O3 and -Ofast. Reproducer: > g++ -std=3Dc++11 -Ofast -march=3Dskylake-avx512 -o out crash.cpp Output: freezes Version: > g++ -v Using built-in specs. COLLECT_GCC=3Dg++ COLLECT_LTO_WRAPPER=3D/export/users/amitrokh/gcc_trunk/bin/../libexec/gcc/x= 86_64-pc-linux-gnu/7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /export/users/gnutester/stability/svn/trunk/configure --with-arch=3Dcorei7 --with-cpu=3Dcorei7 --enable-clocale=3Dgnu --with-syst= em-zlib --enable-shared --with-demangler-in-ld --enable-cloog-backend=3Disl --with-fpmath=3Dsse --with-pkgversion=3DRevision=3D235693/svn-rev:235693/ --prefix=3D/export/users/gnutester/stability/work/trunk/64/install --enable-languages=3Dc,c++,fortran,java,lto Thread model: posix gcc version 7.0.0 20160501 (experimental) (Revision=3D235693/svn-rev:235693= /) >>From gcc-bugs-return-523902-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 11:05:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97847 invoked by alias); 2 May 2016 11:05:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97580 invoked by uid 48); 2 May 2016 11:05:02 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70903] New: [4.9/5/6/7 Regression] wrong code with bfi @ aarch64 with -Os Date: Mon, 02 May 2016 11:05: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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00074.txt.bz2 Content-length: 2442 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70903 Bug ID: 70903 Summary: [4.9/5/6/7 Regression] wrong code with bfi @ aarch64 with -Os Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: aarch64-unknown-linux-gnu Created attachment 38392 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38392&action=3Dedit reduced testcase Output: $ aarch64-unknown-linux-gnu-gcc -v=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest-aarch64/bin/aarch64-unknown-lin= ux-gnu-gcc COLLECT_LTO_WRAPPER=3D/repo/gcc-trunk/binary-trunk-235588-checking-yes-rtl-= df-nographite-aarch64/bin/../libexec/gcc/aarch64-unknown-linux-gnu/7.0.0/lt= o-wrapper Target: aarch64-unknown-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-checking=3Dyes,rtl,df --without-cloog --without-ppl --without-isl --with-sysroot=3D/usr/aarch64-unknown-linux-gnu --target=3Daarch64-unknown-linux-gnu --build=3Dx86_64-pc-linux-gnu --host=3Dx86_64-pc-linux-gnu --target=3Daarch64-unknown-linux-gnu --with-ld=3D/usr/bin/aarch64-unknown-linux-gnu-ld --with-as=3D/usr/bin/aarch64-unknown-linux-gnu-as --disable-libstdcxx-pch --prefix=3D/repo/gcc-trunk//binary-trunk-235588-checking-yes-rtl-df-nograph= ite-aarch64 Thread model: posix gcc version 7.0.0 20160428 (experimental) (GCC)=20 $ aarch64-unknown-linux-gnu-gcc -Os testcase.c $ ./a.out=20 qemu: uncaught target signal 6 (Aborted) - core dumped Aborted $ diff -u testcase.s testcase.s.fixed=20 --- testcase.s 2016-05-02 12:57:29.920221842 +0200 +++ testcase.s.fixed 2016-05-02 12:52:41.060217727 +0200 @@ -59,7 +59,7 @@ adrp x1, .LC0 // tmp87, mov x0, x8 // tmp82, add x4, x1, :lo12:.LC0 // tmp86, tmp87, - mov x8, -1 // tmp95, + mov x8, 255 // tmp95, mov x3, 0 // D.2757, mov x2, 0 // D.2757, bfi x3, x8, 0, 8 // D.2757, tmp95,, fixes the assembly for this particular testcase. While (u8)255 =3D=3D (u8)-1, x8=3D=3D-1 cannot be used for 32bit load. >>From gcc-bugs-return-523903-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 11:13:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95218 invoked by alias); 2 May 2016 11:13:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95094 invoked by uid 48); 2 May 2016 11:13:38 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70904] New: ICE: Max. number of generated reload insns per insn is achieved (90) with -fno-split-wide-types @ aarch64 Date: Mon, 02 May 2016 11:13: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00075.txt.bz2 Content-length: 2421 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70904 Bug ID: 70904 Summary: ICE: Max. number of generated reload insns per insn is achieved (90) with -fno-split-wide-types @ aarch64 Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: aarch64-unknown-linux-gnu Created attachment 38393 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38393&action=3Dedit reduced testcase Compiler output: $ aarch64-unknown-linux-gnu-gcc -O -fno-split-wide-types testcase.c=20 testcase.c: In function 'foo': testcase.c:8:1: internal compiler error: Max. number of generated reload in= sns per insn is achieved (90) } ^ 0x9dafa9 lra_constraints(bool) /repo/gcc-trunk/gcc/lra-constraints.c:4440 0x9c63dc lra(_IO_FILE*) /repo/gcc-trunk/gcc/lra.c:2290 0x96de19 do_reload /repo/gcc-trunk/gcc/ira.c:5425 0x96de19 execute /repo/gcc-trunk/gcc/ira.c:5609 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ aarch64-unknown-linux-gnu-gcc -v=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest-aarch64/bin/aarch64-unknown-lin= ux-gnu-gcc COLLECT_LTO_WRAPPER=3D/repo/gcc-trunk/binary-trunk-235588-checking-yes-rtl-= df-nographite-aarch64/bin/../libexec/gcc/aarch64-unknown-linux-gnu/7.0.0/lt= o-wrapper Target: aarch64-unknown-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-checking=3Dyes,rtl,df --without-cloog --without-ppl --without-isl --with-sysroot=3D/usr/aarch64-unknown-linux-gnu --target=3Daarch64-unknown-linux-gnu --build=3Dx86_64-pc-linux-gnu --host=3Dx86_64-pc-linux-gnu --target=3Daarch64-unknown-linux-gnu --with-ld=3D/usr/bin/aarch64-unknown-linux-gnu-ld --with-as=3D/usr/bin/aarch64-unknown-linux-gnu-as --disable-libstdcxx-pch --prefix=3D/repo/gcc-trunk//binary-trunk-235588-checking-yes-rtl-df-nograph= ite-aarch64 Thread model: posix gcc version 7.0.0 20160428 (experimental) (GCC) >>From gcc-bugs-return-523905-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 11:26:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34783 invoked by alias); 2 May 2016 11:26:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33273 invoked by uid 48); 2 May 2016 11:26:08 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70903] [4.9/5/6/7 Regression] wrong code with bfi @ aarch64 with -Os Date: Mon, 02 May 2016 11: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: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00077.txt.bz2 Content-length: 295 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70903 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.9.4 >>From gcc-bugs-return-523904-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 11:26:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32319 invoked by alias); 2 May 2016 11:26:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31207 invoked by uid 55); 2 May 2016 11:25:49 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70860] [nvptx] Revisit cfun->machine->doing_call Date: Mon, 02 May 2016 11: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00076.txt.bz2 Content-length: 569 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70860 --- Comment #1 from Thomas Schwinge --- Author: tschwinge Date: Mon May 2 11:25:17 2016 New Revision: 235748 URL: https://gcc.gnu.org/viewcvs?rev=3D235748&root=3Dgcc&view=3Drev Log: [PR target/70860] [nvptx] Handle NULL cfun in nvptx_libcall_value gcc/ PR target/70860 * config/nvptx/nvptx.c (nvptx_libcall_value): Handle NULL cfun. (nvptx_function_value): Assert non-NULL cfun. Modified: trunk/gcc/ChangeLog trunk/gcc/config/nvptx/nvptx.c >>From gcc-bugs-return-523906-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 11:28:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40124 invoked by alias); 2 May 2016 11:28:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39808 invoked by uid 48); 2 May 2016 11:28:20 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70902] [7 Regression] GCC freezes while compiling for 'skylake-avx512' target Date: Mon, 02 May 2016 11:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: compile-time-hog, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status cf_known_to_work keywords cf_reconfirmed_on cc everconfirmed short_desc target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00078.txt.bz2 Content-length: 1032 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70902 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-*-* Status|UNCONFIRMED |NEW Known to work| |6.1.0 Keywords| |compile-time-hog, ra Last reconfirmed| |2016-05-02 CC| |vmakarov at gcc dot gnu.org Ever confirmed|0 |1 Summary|GCC freezes while compiling |[7 Regression] GCC freezes |for 'skylake-avx512' target |while compiling for | |'skylake-avx512' target Target Milestone|--- |7.0 --- Comment #1 from Richard Biener --- Confirmed. Hangs in lra. >>From gcc-bugs-return-523907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 11:36:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60579 invoked by alias); 2 May 2016 11:36:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60149 invoked by uid 55); 2 May 2016 11:36:32 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70851] internal compiler error: in create_tmp_var, at gimple-expr.c:473 Date: Mon, 02 May 2016 11:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00079.txt.bz2 Content-length: 583 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70851 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Mon May 2 11:35:59 2016 New Revision: 235750 URL: https://gcc.gnu.org/viewcvs?rev=3D235750&root=3Dgcc&view=3Drev Log: PR c/70851 * c-decl.c (grokdeclarator): Diagnose when array's size has an incomplete type. * gcc.dg/enum-incomplete-3.c: New test. Added: trunk/gcc/testsuite/gcc.dg/enum-incomplete-3.c Modified: trunk/gcc/c/ChangeLog trunk/gcc/c/c-decl.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523908-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 11:37:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61809 invoked by alias); 2 May 2016 11:37:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61580 invoked by uid 55); 2 May 2016 11:37:12 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70526] [5/6 Regression] GCC 6 miscompiles Firefox JIT compiler Date: Mon, 02 May 2016 11:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00080.txt.bz2 Content-length: 804 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 --- Comment #21 from Richard Biener --- Author: rguenth Date: Mon May 2 11:36:38 2016 New Revision: 235751 URL: https://gcc.gnu.org/viewcvs?rev=3D235751&root=3Dgcc&view=3Drev Log: 2016-05-02 Richard Biener Backport from mainline 2016-04-05 Richard Biener PR tree-optimization/70526 * tree-sra.c (build_ref_for_offset): Use prev_base to extract the alias pointer type. * g++.dg/torture/pr70526.C: New testcase. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/torture/pr70526.C Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/testsuite/ChangeLog branches/gcc-5-branch/gcc/tree-sra.c >>From gcc-bugs-return-523909-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 11:39:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64841 invoked by alias); 2 May 2016 11:39:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64718 invoked by uid 48); 2 May 2016 11:39:44 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70851] internal compiler error: in create_tmp_var, at gimple-expr.c:473 Date: Mon, 02 May 2016 11:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00081.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70851 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Marek Polacek --- Fixed. >>From gcc-bugs-return-523910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 11:56:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113254 invoked by alias); 2 May 2016 11:56:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112996 invoked by uid 48); 2 May 2016 11:56:00 -0000 From: "bernds at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Mon, 02 May 2016 11:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: bernds at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00082.txt.bz2 Content-length: 188 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #8 from Bernd Schmidt --- mach-reorg seems too late, I think you'd want to schedule the xors? >>From gcc-bugs-return-523911-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 11:59:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126906 invoked by alias); 2 May 2016 11:59:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126748 invoked by uid 48); 2 May 2016 11:59:37 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70905] New: [7 regression] FAIL: gcc.c-torture/compile/20011219-2.c -Os (unrecognizable insn) Date: Mon, 02 May 2016 11:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00083.txt.bz2 Content-length: 1834 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70905 Bug ID: 70905 Summary: [7 regression] FAIL: gcc.c-torture/compile/20011219-2.c -Os (unrecognizable insn) Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: schwab@linux-m68k.org Target Milestone: --- Target: powerpc-*-* $ gcc/xgcc -Bgcc/ -m32 -Os -c ../gcc/testsuite/gcc.c-torture/compile/20011219-2.c=20 ../gcc/testsuite/gcc.c-torture/compile/20011219-2.c: In function =E2=80=98f= oo=E2=80=99: ../gcc/testsuite/gcc.c-torture/compile/20011219-2.c:20:1: error: unrecogniz= able insn: } ^ (insn 74 73 75 6 (parallel [ (set (reg:SI 31 31) (mem/c:SI (plus:SI (reg/f:SI 1 1) (const_int 20 [0x14])) [4 S4 A8])) ]) ../gcc/testsuite/gcc.c-torture/compile/20011219-2.c:20 -1 (nil)) ../gcc/testsuite/gcc.c-torture/compile/20011219-2.c:20:1: internal compiler error: in extract_insn, at recog.c:2287 0x1069449b _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) ../../gcc/rtl-error.c:108 0x106944ef _fatal_insn_not_found(rtx_def const*, char const*, int, char con= st*) ../../gcc/rtl-error.c:116 0x1065bef7 extract_insn(rtx_insn*) ../../gcc/recog.c:2287 0x1065d5d7 extract_constrain_insn(rtx_insn*) ../../gcc/recog.c:2188 0x1066a7f7 build_def_use ../../gcc/regrename.c:1637 0x1066a7f7 regrename_analyze(bitmap_head*) ../../gcc/regrename.c:738 0x1066c64f regrename_optimize ../../gcc/regrename.c:1892 0x1066c64f execute ../../gcc/regrename.c:1929 >>From gcc-bugs-return-523913-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 12:00:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129036 invoked by alias); 2 May 2016 12:00:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128135 invoked by uid 48); 2 May 2016 12:00:18 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Mon, 02 May 2016 12:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00085.txt.bz2 Content-length: 290 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #9 from Uro=C5=A1 Bizjak --- (In reply to Bernd Schmidt from comment #8) > mach-reorg seems too late, I think you'd want to schedule the xors? Yes, indeed. That leaves _.split4 to perform splits. >>From gcc-bugs-return-523912-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 12:00:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128164 invoked by alias); 2 May 2016 12:00:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127444 invoked by uid 48); 2 May 2016 11:59:54 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70905] [7 regression] FAIL: gcc.c-torture/compile/20011219-2.c -Os (unrecognizable insn) Date: Mon, 02 May 2016 12:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00084.txt.bz2 Content-length: 288 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70905 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 >>From gcc-bugs-return-523914-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 12:21:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83096 invoked by alias); 2 May 2016 12:21:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82972 invoked by uid 48); 2 May 2016 12:21:20 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70906] New: ice in add_expr, at tree.c:7925 Date: Mon, 02 May 2016 12:21: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.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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00086.txt.bz2 Content-length: 1375 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70906 Bug ID: 70906 Summary: ice in add_expr, at tree.c:7925 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 38394 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38394&action=3Dedit gzipped C++ source code The attached code, when compiled by gcc trunk dated 20160502, does this: /usr/include/boost/intrusive/detail/hook_traits.hpp:117:77: internal compil= er error: in add_expr, at tree.c:7925 (static_cast(static_cast(value.*P= ))); = ^ 0x110ce65 inchash::add_expr(tree_node const*, inchash::hash&, unsigned int) ../../src/trunk/gcc/tree.c:7925 0x110c634 inchash::add_expr(tree_node const*, inchash::hash&, unsigned int) ../../src/trunk/gcc/tree.c:8002 0xaed3a0 operand_equal_p(tree_node const*, tree_node const*, unsigned int) ../../src/trunk/gcc/fold-const.c:2762 0x8c24f5 candidate_equal_p ../../src/trunk/gcc/c-family/c-common.c:2927 Flag -Wall required. This bug might be related to #70843 >>From gcc-bugs-return-523915-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 12:24:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39952 invoked by alias); 2 May 2016 12:24:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39861 invoked by uid 48); 2 May 2016 12:24:23 -0000 From: "amodra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70890] [7 regression] r235660 miscompiles stage2 compiler on ia64 Date: Mon, 02 May 2016 12:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00087.txt.bz2 Content-length: 2386 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70890 Alan Modra changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-02 Ever confirmed|0 |1 --- Comment #3 from Alan Modra --- It looks like my ira.c change has triggered a reload bug. insn 525 is the = one identified in comment #2. 254r.sched1 (insn 518 507 524 44 (set (reg/f:DI 420 [ candidates.515_151 ]) (mem/f/c:DI (reg/f:DI 1381) [310 candidates+0 S8 A64])) /src/gcc.git/gcc/tree-sra.c:324 6 {movdi_internal} (nil)) ... (insn 525 509 510 44 (set (reg:DI 120 out0) (reg/f:DI 420 [ candidates.515_151 ])) /src/gcc.git/gcc/tree-sra.c:= 324 6 {movdi_internal} (expr_list:REG_DEAD (reg/f:DI 420 [ candidates.515_151 ]) (nil))) ... (insn 517 1571 520 160 (set (reg/f:DI 1381) (symbol_ref:DI ("_ZL10candidates") [flags 0x6] )) /src/gcc.git/gcc/tree-sra.c:324 6 {movdi_inter= nal} (nil)) 255r.ira, moves insn 517 to just before use (insn 2078 507 518 44 (set (reg/f:DI 1381) (symbol_ref:DI ("_ZL10candidates") [flags 0x6] )) /src/gcc.git/gcc/tree-sra.c:324 6 {movdi_inter= nal} (expr_list:REG_EQUIV (symbol_ref:DI ("_ZL10candidates") [flags 0x6]=20 ) (nil))) (insn 518 2078 524 44 (set (reg/f:DI 420 [ candidates.515_151 ]) (mem/f/c:DI (reg/f:DI 1381) [310 candidates+0 S8 A64])) /src/gcc.git/gcc/tree-sra.c:324 6 {movdi_internal} (expr_list:REG_DEAD (reg/f:DI 1381) (expr_list:REG_EQUIV (mem/f/c:DI (reg/f:DI 1381) [310 candidates+0 = S8 A64]) (nil)))) ... (insn 525 509 510 44 (set (reg:DI 120 out0) (reg/f:DI 420 [ candidates.515_151 ])) /src/gcc.git/gcc/tree-sra.c:= 324 6 {movdi_internal} (expr_list:REG_DEAD (reg/f:DI 420 [ candidates.515_151 ]) (nil))) 256.reload (note 518 507 2116 44 NOTE_INSN_DELETED) ... (insn 525 509 510 44 (set (reg:DI 120 out0) (mem/f/c:DI (reg/f:DI 15 r15 [1381]) [310 candidates+0 S8 A64])) /src/gcc.git/gcc/tree-sra.c:324 6 {movdi_internal} (nil)) and insn 2078 is DCEd. >>From gcc-bugs-return-523916-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 12:25:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78376 invoked by alias); 2 May 2016 12:25:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46800 invoked by uid 48); 2 May 2016 12:25:37 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70906] ice in add_expr, at tree.c:7925 Date: Mon, 02 May 2016 12:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00088.txt.bz2 Content-length: 561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70906 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-02 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed. >>From gcc-bugs-return-523917-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 12:39:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2967 invoked by alias); 2 May 2016 12:39:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2849 invoked by uid 48); 2 May 2016 12:39:35 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70907] New: [7 regression] FAIL: gcc.target/powerpc/savres.c -Os execution test Date: Mon, 02 May 2016 12:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00089.txt.bz2 Content-length: 746 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70907 Bug ID: 70907 Summary: [7 regression] FAIL: gcc.target/powerpc/savres.c -Os execution test Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: schwab@linux-m68k.org Target Milestone: --- Target: powerpc*-*-* This is another -frename-registers fallout. $ gcc/xgcc -Bgcc/ ../gcc/testsuite/gcc.target/powerpc/savres.c -O2 -fno-inl= ine -fomit-frame-pointer -o savres $ ./savres Aborted It aborts after b_cr, because the preceding cmpw clobbers cr2. >>From gcc-bugs-return-523918-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 12:40:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3750 invoked by alias); 2 May 2016 12:40:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2970 invoked by uid 48); 2 May 2016 12:39:48 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70907] [7 regression] FAIL: gcc.target/powerpc/savres.c -Os execution test Date: Mon, 02 May 2016 12:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00090.txt.bz2 Content-length: 288 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70907 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 >>From gcc-bugs-return-523919-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 12:55:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36539 invoked by alias); 2 May 2016 12:55:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36370 invoked by uid 48); 2 May 2016 12:55:04 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70906] [7 Regression] ice in add_expr, at tree.c:7925 Date: Mon, 02 May 2016 12:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00091.txt.bz2 Content-length: 438 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70906 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 Summary|ice in add_expr, at |[7 Regression] ice in |tree.c:7925 |add_expr, at tree.c:7925 >>From gcc-bugs-return-523920-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 13:22:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85713 invoked by alias); 2 May 2016 13:22:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85550 invoked by uid 48); 2 May 2016 13:22:43 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70879] Missed jump threading opportunity with multiple != conditions Date: Mon, 02 May 2016 13:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00092.txt.bz2 Content-length: 230 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70879 --- Comment #3 from Jeffrey A. Law --- Which is the problem Andrew has started poking at :-) One of the paths bei= ng explored is creating those PHIs. >>From gcc-bugs-return-523921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 13:24:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29815 invoked by alias); 2 May 2016 13:24:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29591 invoked by uid 48); 2 May 2016 13:24:39 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70908] New: [SH] Redirect function call returns Date: Mon, 02 May 2016 13:24: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00093.txt.bz2 Content-length: 1281 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70908 Bug ID: 70908 Summary: [SH] Redirect function call returns Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: olegendo at gcc dot gnu.org Target Milestone: --- Target: sh*-*-* In the CSiBE set e.g. in jikespg-1.3/src/spacetab.c there are sequences lik= e: ----------------- ... bra .L1965 mov.l @r3,r4 .align 1 ... < some constant pool data > ... .L1965: jsr @r5 nop ... ----------------- ... jsr @r5 mov.l @r3,r4 bra .L1965 nop .align 1 ... < some constant pool data > ... .L1965: ... ----------------- In such cases one branch can be avoided by redirecting the return address of the invoked function like this: mova .L1965,r0 lds r0,pr jmp @r5 mov.l @r3,r4 This has to be done after constant pool placement by the sh_reorg pass.=20 Probably PR 59189 should be fixed first. >>From gcc-bugs-return-523922-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 13:27:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33494 invoked by alias); 2 May 2016 13:27:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33252 invoked by uid 48); 2 May 2016 13:27:13 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70526] [5/6 Regression] GCC 6 miscompiles Firefox JIT compiler Date: Mon, 02 May 2016 13:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status component resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00094.txt.bz2 Content-length: 1250 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Component|rtl-optimization |middle-end Resolution|--- |FIXED --- Comment #22 from Richard Biener --- C++14 3.10/10 (that's basically the same as the C standard says). The ques= tion remains on whether ConstantOrRegister cr =3D ToConstantOrRegister(&lir, 0, MIRType_Object); (the aggregate copy performed by the init expression) applies to "If a program attempts to access the stored value of an object through a grvalue of other than one of the following types..." Where "the stored value" in this case is of type Register and the type of the grvalue is TypedOrValueRegister (which does not include 'Register' as member). To fix your case I'd simply use class TypedOrValueRegister { MIRType type_; union { Register reg_; ... whatever other type you need ... }; ... }; Fixed (what I fixed with the commit) and INVALID for the rest. >>From gcc-bugs-return-523923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 13:43:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110767 invoked by alias); 2 May 2016 13:43:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110635 invoked by uid 48); 2 May 2016 13:42:47 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70526] [5/6 Regression] GCC 6 miscompiles Firefox JIT compiler Date: Mon, 02 May 2016 13:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00095.txt.bz2 Content-length: 723 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 --- Comment #23 from Richard Biener --- A fix for your testcase would also be to do template struct AlignedStorage2 { union U { char mBytes[sizeof(T)]; uint64_t mDummy; } u; typedef T _T __attribute__((may_alias)); const _T* addr() const { return reinterpret_cast(u.mBytes); } _T* addr() { return static_cast<_T*>(static_cast(u.mBytes)); } }; that is, making sure to return may_alias pointers (and use AlignedStorage2<>::_T for temporaries you save addr to and do other accesses). The stores done via that type are allowed to be accessed with an effective type of TypedOrValueRegister. >>From gcc-bugs-return-523924-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 13:43:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113669 invoked by alias); 2 May 2016 13:43:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 113554 invoked by uid 48); 2 May 2016 13:43:33 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70526] [5/6 Regression] GCC 6 miscompiles Firefox JIT compiler Date: Mon, 02 May 2016 13:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00096.txt.bz2 Content-length: 471 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jwakely.gcc at gmail dot c= om --- Comment #24 from Richard Biener --- CCing libstdc++ people to see whether std::aligned_storage needs any adjustment. >>From gcc-bugs-return-523925-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 14:08:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39855 invoked by alias); 2 May 2016 14:08:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27777 invoked by uid 48); 2 May 2016 14:08:21 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70907] [7 regression] FAIL: gcc.target/powerpc/savres.c -Os execution test Date: Mon, 02 May 2016 14:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00097.txt.bz2 Content-length: 462 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70907 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Component|rtl-optimization |target --- Comment #1 from Andreas Schwab --- I think this is a bug in the test, it cannot expect that cr2 remains unmodi= fied throughout the function. >>From gcc-bugs-return-523926-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 14:16:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62098 invoked by alias); 2 May 2016 14:16:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61946 invoked by uid 48); 2 May 2016 14:16:35 -0000 From: "boehme.marcel at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70909] New: Libiberty Demangler segfaults (4) Date: Mon, 02 May 2016 14:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: boehme.marcel 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00098.txt.bz2 Content-length: 1837 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70909 Bug ID: 70909 Summary: Libiberty Demangler segfaults (4) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: boehme.marcel at gmail dot com Target Milestone: --- A stack overflow in the libiberty demangler library causes its host applications to crash. The stack contains return addresses that are not map= ped in the inferior's process address space and/or the stack pointer is pointin= g to a location outside the default stack region. These conditions likely indica= te stack corruption, which is generally considered exploitable. How to reproduce: $ valgind c++filt _Z1MA_aMMMMA_MMA_MMMMMMMMSt1MS_o11T0000000000t2M0oooozoooo =3D=3D80066=3D=3D Stack overflow in thread 1: can't grow stack to 0xffe801f= f8 =3D=3D80066=3D=3D=20 =3D=3D80066=3D=3D Process terminating with default action of signal 11 (SIG= SEGV): dumping core =3D=3D80066=3D=3D Access not within mapped region at address 0xFFE801FF8 =3D=3D80066=3D=3D at 0x78CAA4: d_print_comp_inner (cp-demangle.c:4332) This specific stack overflow has not been reported but with a bit of search= ing it seems to be linked to the open bugs PR61460, PR68700, PR67738, PR68383, PR70517, PR61805, PR62279, and the meta bug PR67264. The prepared patch addresses all of these. Analysis: The method d_print_comp in cp-demangle.c recursively constructs t= he d_print_info dpi from the demangle_component dc. The method d_print_comp_in= ner traverses dc as a graph. Now, dc can be a graph with cycles leading to infi= nite recursion in several distinct cases.=20 This vulnerability was found with a more efficient version of AFL. >>From gcc-bugs-return-523927-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 14:28:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120258 invoked by alias); 2 May 2016 14:28:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111585 invoked by uid 48); 2 May 2016 14:27:58 -0000 From: "cesar at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70895] OpenACC: loop reduction does not work. Output is zero. Date: Mon, 02 May 2016 14:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: cesar at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00099.txt.bz2 Content-length: 826 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70895 --- Comment #2 from cesar at gcc dot gnu.org --- Thomas is correct. Note that when gcc-6.2 is released you should be able to replace !$acc parallel vector_length(vl) !$acc loop reduction(+:pi) private(t)=20 with !$acc parallel loop reduction(+:pi) vector_length(vl) and that will automatically add a copy clause for 'pi'. See PR70626 for more details. Furthermore, as Thomas mentioned, gcc-6 does not automatically assign parallelism to loops inside parallel regions. Consequently, you need to explicitly use num_gangs, num_workers and vector_length to determine the am= ount of parallelism and gang, worker and vector to partition the acc loops accordingly. Also note that only nvptx targets are accelerated in gcc-6; the host code runs in a single thread. >>From gcc-bugs-return-523928-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 14:58:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10946 invoked by alias); 2 May 2016 14:58:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130306 invoked by uid 48); 2 May 2016 14:58:22 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70895] OpenACC: loop reduction does not work. Output is zero. Date: Mon, 02 May 2016 14:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00100.txt.bz2 Content-length: 979 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70895 --- Comment #3 from Thomas Schwinge --- (In reply to cesar from comment #2) > Furthermore, as Thomas mentioned, gcc-6 does not automatically assign > parallelism to loops inside parallel regions. :-) GCC 6.1 does do that that. > Consequently, you need to > explicitly use num_gangs, num_workers and vector_length to determine the > amount of parallelism and gang, worker and vector to partition the acc lo= ops > accordingly. GCC 6.1 by default will configure nvptx offloading for 32 gangs, 32 workers, and a vector length of 32 (so, you don't need to specify "num_gangs() num_workers() vector_length()" clauses). What it will not do (and what was= the point of my earlier note in #c1), is assign more than one of OpenACC's parallelism levels (gang, worker, vector) to a one-level loop constructs, w= hich is why you'll want to specify "gang worker vector" clauses for the loop construct. >>From gcc-bugs-return-523929-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 15:05:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19782 invoked by alias); 2 May 2016 15:05:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19564 invoked by uid 48); 2 May 2016 15:04:53 -0000 From: "cesar at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70895] OpenACC: loop reduction does not work. Output is zero. Date: Mon, 02 May 2016 15:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: cesar at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00101.txt.bz2 Content-length: 1012 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70895 --- Comment #4 from cesar at gcc dot gnu.org --- (In reply to Thomas Schwinge from comment #3) > (In reply to cesar from comment #2) > > Consequently, you need to > > explicitly use num_gangs, num_workers and vector_length to determine the > > amount of parallelism and gang, worker and vector to partition the acc = loops > > accordingly. >=20 > GCC 6.1 by default will configure nvptx offloading for 32 gangs, 32 worke= rs, > and a vector length of 32 (so, you don't need to specify "num_gangs() > num_workers() vector_length()" clauses). What it will not do (and what w= as > the point of my earlier note in #c1), is assign more than one of OpenACC's > parallelism levels (gang, worker, vector) to a one-level loop constructs, > which is why you'll want to specify "gang worker vector" clauses for the > loop construct. Thomas is correct. I've been focusing too much on the front ends and not the loop partitioning infrastructure. Sorry for the noise. >>From gcc-bugs-return-523930-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 16:07:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5639 invoked by alias); 2 May 2016 16:07:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5363 invoked by uid 48); 2 May 2016 16:07:04 -0000 From: "rs2740 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70101] Allocator-extended priority_queue constructors are badly broken Date: Mon, 02 May 2016 16:07: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rs2740 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00102.txt.bz2 Content-length: 567 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70101 --- Comment #1 from TC --- Test case for everything except the first: #include #include #include #include #include struct Cmp : std::less { explicit Cmp(int) {}; }; Cmp comp(1); std::allocator alloc; std::vector vec; using PQ =3D std::priority_queue, Cmp>; PQ pq2(comp, alloc); PQ pq3(comp, vec, alloc); PQ pq4(comp, std::move(vec), alloc); PQ pq5(pq2, alloc); PQ pq6(std::move(pq2), alloc); >>From gcc-bugs-return-523931-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 16:17:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17300 invoked by alias); 2 May 2016 16:17:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16954 invoked by uid 55); 2 May 2016 16:17:35 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable Date: Mon, 02 May 2016 16:17: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00103.txt.bz2 Content-length: 468 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70467 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Mon May 2 16:17:02 2016 New Revision: 235764 URL: https://gcc.gnu.org/viewcvs?rev=3D235764&root=3Dgcc&view=3Drev Log: PR rtl-optimization/70467 * ipa-pure-const.c (check_call): Handle internal calls even in ipa mode like in local mode. Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-pure-const.c >>From gcc-bugs-return-523932-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 16:19:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18904 invoked by alias); 2 May 2016 16:19:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18811 invoked by uid 48); 2 May 2016 16:19:06 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70756] Wrong column number shown for "error: invalid use of flexible array member" Date: Mon, 02 May 2016 16:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00104.txt.bz2 Content-length: 841 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70756 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #3 from Martin Sebor --- The column number problem aside, the diagnostic itself could stand to be=20 improved as well and made more informative (it may not be obvious why the u= se of the flexible array member is invalid). Below are a few ideas taken from other implementations: Clang: error: arithmetic on a pointer to an incomplete type 'int []' Oracle c99: cannot do pointer arithmetic on operand of unknown size XLC: (S) Operation between types "int(*)[]" and "int" is not allowed. >>From gcc-bugs-return-523934-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 16:46:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17120 invoked by alias); 2 May 2016 16:46:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16937 invoked by uid 55); 2 May 2016 16:46:43 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable Date: Mon, 02 May 2016 16:46: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00106.txt.bz2 Content-length: 558 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70467 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Mon May 2 16:46:10 2016 New Revision: 235765 URL: https://gcc.gnu.org/viewcvs?rev=3D235765&root=3Dgcc&view=3Drev Log: PR rtl-optimization/70467 * cse.c (cse_insn): Handle no-op MEM moves after folding. * gcc.target/i386/pr70467-1.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr70467-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/cse.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523933-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 16:46:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14946 invoked by alias); 2 May 2016 16:46:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11285 invoked by uid 48); 2 May 2016 16:46:09 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70910] New: error declaring a type in clause-1 of a for statement Date: Mon, 02 May 2016 16:46: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00105.txt.bz2 Content-length: 1208 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70910 Bug ID: 70910 Summary: error declaring a type in clause-1 of a for statement Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- Not sure if this is related to c/67784 but today's top of trunk as well as prior versions fail to compile the following valid program. Similarly with "for (struct S { int i; } s; ; )" $ cat u.c && /home/msebor/build/gcc-trunk-git/gcc/xgcc -B/home/msebor/build/gcc-trunk-git/gcc -S -Wall -Wextra -Wpedantic -xc u.c void h (void) { for (enum E { e } f; ; ); } u.c: In function =E2=80=98h=E2=80=99: u.c:2:3: error: declaration of non-variable =E2=80=98e=E2=80=99 in =E2=80= =98for=E2=80=99 loop initial declaration for (enum E { e } f; ; ); ^~~ u.c:2:3: error: =E2=80=98enum E=E2=80=99 declared in =E2=80=98for=E2=80=99 = loop initial declaration u.c:2:21: warning: unused variable =E2=80=98f=E2=80=99 [-Wunused-variable] for (enum E { e } f; ; ); ^ >>From gcc-bugs-return-523935-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 16:48:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25021 invoked by alias); 2 May 2016 16:48:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20671 invoked by uid 48); 2 May 2016 16:48:30 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65317] [SH] Shifts used instead of and with const_int Date: Mon, 02 May 2016 16: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00107.txt.bz2 Content-length: 1345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65317 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |segher at gcc dot gnu.org --- Comment #4 from Segher Boessenkool --- (In reply to Oleg Endo from comment #3) > Segher, do you think it would make sense to extend combine so that for > things like ... >=20 > Failed to match this instruction: > (set (reg:SI 168 [ D.1470 ]) > (and:SI (reg:SI 4 r4 [ a ]) > (const_int -2147483648 [0xffffffff80000000]))) >=20 > ... it would also try >=20 > (set (reg:SI 200) (const_int -2147483648)) > (set (reg:SI 168) (and:SI (reg:SI r4) (reg:SI 200))) >=20 >=20 > I think in some cases it already does try things like that, but for some > reason not in this case here. Hi Oleg, What are the original instructions it tried to combine here? If the combined insn does not match (as here), combine tries to split it into two in various ways, but only if it started out with more than two insns. Now that we also check for insn cost we could change that (allow combining 2->2 if that reduces the rtx cost), but this will of course need testing everywhere. I'll see what I can do. >>From gcc-bugs-return-523936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 16:55:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38724 invoked by alias); 2 May 2016 16:55:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38612 invoked by uid 48); 2 May 2016 16:55:20 -0000 From: "ch3root at openwall dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70911] New: Typo in "warning: initialized field with side-effects overwritten" Date: Mon, 02 May 2016 16:55: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ch3root at openwall 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00108.txt.bz2 Content-length: 1003 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70911 Bug ID: 70911 Summary: Typo in "warning: initialized field with side-effects overwritten" Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ch3root at openwall dot com Target Milestone: --- When compiling such program: int main() { int k =3D 0; struct { int x; } s =3D { .x =3D k++, .x =3D 0 }; (void)s; } I get the following warning: $ gcc example.c=20 example.c: In function =E2=80=98main=E2=80=99: example.c:4:42: warning: initialized field with side-effects overwritten [-Woverride-init-side-effects] struct { int x; } s =3D { .x =3D k++, .x =3D 0 }; ^ example.c:4:42: note: (near initialization for =E2=80=98s.x=E2=80=99) Shouldn't "overwritten" be "overridden" instead? >>From gcc-bugs-return-523937-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 17:07:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92533 invoked by alias); 2 May 2016 17:07:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91968 invoked by uid 55); 2 May 2016 17:07:13 -0000 From: "bernds at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70498] Libiberty Demangler segfaults (3) Date: Mon, 02 May 2016 17:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bernds 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00109.txt.bz2 Content-length: 1216 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70498 --- Comment #3 from Bernd Schmidt --- Author: bernds Date: Mon May 2 17:06:40 2016 New Revision: 235767 URL: https://gcc.gnu.org/viewcvs?rev=3D235767&root=3Dgcc&view=3Drev Log: Demangler integer overflow fixes from Marcel B=C3=B6hme. PR c++/70498 * cp-demangle.c: Parse numbers as integer instead of long to avoid overflow after sanity checks. Include if available. (INT_MAX): Define if necessary. (d_make_template_param): Takes integer argument instead of long. (d_make_function_param): Likewise. (d_append_num): Likewise. (d_identifier): Likewise. (d_number): Parse as and return integer. (d_compact_number): Handle overflow. (d_source_name): Change variable type to integer for parsed number. (d_java_resource): Likewise. (d_special_name): Likewise. (d_discriminator): Likewise. (d_unnamed_type): Likewise. * testsuite/demangle-expected: Add regression test cases. Modified: trunk/libiberty/ChangeLog trunk/libiberty/cp-demangle.c trunk/libiberty/testsuite/demangle-expected >>From gcc-bugs-return-523938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 17:15:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72167 invoked by alias); 2 May 2016 17:15:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72055 invoked by uid 48); 2 May 2016 17:15:19 -0000 From: "acsawdey at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70912] New: reassociation width needs to be aware of FMA, width of expression, and other architectural details Date: Mon, 02 May 2016 17:15: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: acsawdey at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00110.txt.bz2 Content-length: 2249 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70912 Bug ID: 70912 Summary: reassociation width needs to be aware of FMA, width of expression, and other architectural details Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: acsawdey at gcc dot gnu.org Target Milestone: --- Created attachment 38395 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38395&action=3Dedit test case This is based on looking at trunk 235605 performance for ppc64le on a power8 system. If you have an expression of the form x =3D a*b+c*d+e*f+g*h ... With reassociation width 1, you get a single multiply in front followed by a series of dependent multiply-adds. A natural consequence of doing reassocia= tion with width > 1 is that you need to peel additional multiplies off of the fr= ont and do additional adds at the end to bring together the final result. But if you have too few overall terms, the cost of additional serialization vs the fused multipy add eats up the gain you might get from the parallelism in the middle. Some real numbers for this compiler and power8, using --param tree-reassoc-width=3DN to set the max width. Rows are width 1,2,4 and colum= ns are increasing numbers of terms i.e. "a*b+c*d" would be 4 terms. Table values a= re reduction in runtime. 8 12 16 32 1 0.00% 0.00% 0.00% 0.00% 2 -3.37% 4.34% 8.62% 22.83% 4 14.53% 31.47% So for this arch we do not want to do this at all for the FMA case unless we have at least 10 or 12 total terms. Looking at the reassoc pass output show= ed it did not try more than width=3D2 for 8 or 12 terms. I ran into this when putting together a reassociation_width function for the rs6000 config. I couldn't see a way to avoid this behavior. Another issue is that this is another place where we might want to modify behavior based on local register pressure. We don't want to introduce a bun= ch of new temps to do the parallel reassociation only to end up being unable to allocate them. >>From gcc-bugs-return-523939-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 17:19:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76239 invoked by alias); 2 May 2016 17:19:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76107 invoked by uid 48); 2 May 2016 17:19:45 -0000 From: "jsm28 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70910] error declaring a type in clause-1 of a for statement Date: Mon, 02 May 2016 17:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00111.txt.bz2 Content-length: 514 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70910 Joseph S. Myers changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Joseph S. Myers --- This is not a bug. See DR#277. http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_277.htm >>From gcc-bugs-return-523940-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 17:27:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13128 invoked by alias); 2 May 2016 17:27:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12984 invoked by uid 48); 2 May 2016 17:27:24 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70911] Typo in "warning: initialized field with side-effects overwritten" Date: Mon, 02 May 2016 17:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00112.txt.bz2 Content-length: 446 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70911 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #1 from Marek Polacek --- Why do you think that "overwritten" is no appropriate here? >>From gcc-bugs-return-523941-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 17:28:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15939 invoked by alias); 2 May 2016 17:28:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15812 invoked by uid 48); 2 May 2016 17:28:23 -0000 From: "bernds at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70498] Libiberty Demangler segfaults (3) Date: Mon, 02 May 2016 17:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bernds 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00113.txt.bz2 Content-length: 434 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70498 Bernd Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Bernd Schmidt --- Fixed on trunk. >>From gcc-bugs-return-523942-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 18:37:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64493 invoked by alias); 2 May 2016 18:37:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64052 invoked by uid 55); 2 May 2016 18:37:13 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/62314] Fix-it Hints Date: Mon, 02 May 2016 18: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00114.txt.bz2 Content-length: 826 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D62314 --- Comment #6 from David Malcolm --- Author: dmalcolm Date: Mon May 2 18:36:40 2016 New Revision: 235777 URL: https://gcc.gnu.org/viewcvs?rev=3D235777&root=3Dgcc&view=3Drev Log: PR c++/62314: add fixit hint for missing "template <> " in explicit specialization gcc/cp/ChangeLog: PR c++/62314 * parser.c (cp_parser_class_head): Capture the start location; use it to emit a fix-it insertion hint when complaining about missing "template <> " in explicit specializations. gcc/testsuite/ChangeLog: PR c++/62314 * g++.dg/pr62314.C: New test case. Added: trunk/gcc/testsuite/g++.dg/pr62314.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523943-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 18:59:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94256 invoked by alias); 2 May 2016 18:59:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77290 invoked by uid 48); 2 May 2016 18:59:08 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/60561] ICE in gimplify_var_or_parm_decl, at gimplify.c:1721 for gfortran.dg/associate_1.f03 Date: Mon, 02 May 2016 18:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00115.txt.bz2 Content-length: 659 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60561 Gerhard Steinmetz changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gerhard.steinmetz.fortran@t | |-online.de --- Comment #7 from Gerhard Steinmetz --- On my environment, the examples from comment 0 and comment 4 no longer give an ICE now. $ gfortran-6 --version GNU Fortran (SUSE Linux) 6.1.0 20160427 [gcc-6-branch revision 235475] >>From gcc-bugs-return-523944-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 19:02:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126444 invoked by alias); 2 May 2016 19:02:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126253 invoked by uid 48); 2 May 2016 19:02:37 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70854] ICE in gfc_process_block_locals, at fortran/trans-decl.c:6447 Date: Mon, 02 May 2016 19:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00116.txt.bz2 Content-length: 614 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70854 --- Comment #2 from Gerhard Steinmetz --- As a side note, above examples are more or less a follow-up of pr67885. --- As tested recently, some more examples from gfortran's testsuite seem to be affected when running for example with -finit-local-zero $ make check-fortran RUNTESTFLAGS=3D"--target_board=3Dunix/-finit-local-zer= o" ... # of expected passes 38678 # of unexpected failures 293 # of expected failures 45 # of unresolved testcases 14 # of unsupported tests 407 >>From gcc-bugs-return-523945-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 19:04:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22552 invoked by alias); 2 May 2016 19:04:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22383 invoked by uid 48); 2 May 2016 19:04:26 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70913] New: ICE in gfc_encode_character, at fortran/target-memory.c:227 Date: Mon, 02 May 2016 19:04: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00117.txt.bz2 Content-length: 840 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70913 Bug ID: 70913 Summary: ICE in gfc_encode_character, at fortran/target-memory.c:227 Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fortran@t-online.de Target Milestone: --- When len of string a is larger than len(c) : $ cat z1.f90 program p character(3), parameter :: a =3D 'abc' type t character :: c end type type t2 character :: q =3D transfer(t(a), 'b') end type type(t2) :: x print *, x end $ gfortran-6 z1.f90 f951: internal compiler error: in gfc_encode_character, at fortran/target-memory.c:227 >>From gcc-bugs-return-523946-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 19:05:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23995 invoked by alias); 2 May 2016 19:05:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23863 invoked by uid 48); 2 May 2016 19:05:01 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70913] ICE in gfc_encode_character, at fortran/target-memory.c:227 Date: Mon, 02 May 2016 19:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00118.txt.bz2 Content-length: 547 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70913 --- Comment #1 from Gerhard Steinmetz --- For completeness, these variants compile without errors : $ cat z2.f90 program p type t character :: c end type type t2 character :: q =3D transfer(t('a'), 'b') end type type(t2) :: x print *, x end $ cat z3.f90 program p type t character(4) :: c end type type t2 character :: q =3D transfer(t('abc'), 'b') end type type(t2) :: x print *, x end >>From gcc-bugs-return-523947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 19:08:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35056 invoked by alias); 2 May 2016 19:08:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34950 invoked by uid 48); 2 May 2016 19:08:23 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70914] New: ICE in gimplify_var_or_parm_decl, at gimplify.c:1851 (and endless compilation) Date: Mon, 02 May 2016 19:08: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00119.txt.bz2 Content-length: 1181 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70914 Bug ID: 70914 Summary: ICE in gimplify_var_or_parm_decl, at gimplify.c:1851 (and endless compilation) Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fortran@t-online.de Target Milestone: --- This case is interesting. On my environment with gfortran 6.1.0 20160427 and SUSE Linux 64 bit, this compilation runs forever : $ cat z3.f90 program p character(:), allocatable :: z z =3D 'z' z =3D z z =3D z z =3D z print *, z end $ gfortran-6 -c z3.f90 # ... $ cat z2.f90 program p character(:), allocatable :: z z =3D 'z' z =3D z z =3D z print *, z end $ time timeout 10.0 gfortran-6 -c z2.f90 real 0m10.001s And for the simplest case an ICE : $ cat z1.f90 program p character(:), allocatable :: z z =3D 'z' z =3D z print *, z end $ gfortran-6 -c z1.f90 internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1851 >>From gcc-bugs-return-523948-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 19:10:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37526 invoked by alias); 2 May 2016 19:10:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37203 invoked by uid 55); 2 May 2016 19:10:03 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/62314] Fix-it Hints Date: Mon, 02 May 2016 19:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00120.txt.bz2 Content-length: 1393 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D62314 --- Comment #7 from David Malcolm --- Author: dmalcolm Date: Mon May 2 19:09:30 2016 New Revision: 235785 URL: https://gcc.gnu.org/viewcvs?rev=3D235785&root=3Dgcc&view=3Drev Log: PR c++/62314: C++: add fixit hint to misspelled member names When we emit a hint about a misspelled member name, it will slightly aid readability if we use a fixit-hint to show the proposed name in context within the source code (and in the future this might support some kind of auto-apply in an IDE). This patch adds such a hint to the C++ frontend, taking us from: test.cc:10:15: error: 'struct foo' has no member named 'colour'; did you me= an 'color'? return ptr->colour; ^~~~~~ to: test.cc:10:15: error: 'struct foo' has no member named 'colour'; did you me= an 'color'? return ptr->colour; ^~~~~~ color gcc/cp/ChangeLog: PR c++/62314 * typeck.c (finish_class_member_access_expr): When giving a hint about a possibly-misspelled member name, add a fix-it replacement hint. gcc/testsuite/ChangeLog: PR c++/62314 * g++.dg/spellcheck-fields-2.C: New test case. Added: trunk/gcc/testsuite/g++.dg/spellcheck-fields-2.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/typeck.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-523949-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 19:49:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107312 invoked by alias); 2 May 2016 19:49:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107108 invoked by uid 55); 2 May 2016 19:48:56 -0000 From: "ch3root at openwall dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70911] Typo in "warning: initialized field with side-effects overwritten" Date: Mon, 02 May 2016 19:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ch3root at openwall 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00121.txt.bz2 Content-length: 991 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70911 --- Comment #2 from Alexander Cherepanov --- I think it's misleading. IMHO "overwritten" would describe the situation=20 when the first initializer is evaluated, the resulting value is written=20 to the field but then the second initializer overwrites the first value=20 with its own. This impression is wrong even without side effects (i.g., for "warning:=20 initialized field overwritten [-Woverride-init]") because it implies=20 that this declaration: struct { int x, y; } s =3D { .x =3D 1, .y =3D s.x, .x =3D 2 }; will set s.y to 1 while with gcc it will set it to 2. The problem is worse with side effects because "overwritten" implies=20 that a value is overwritten but the side effects are occurred while with=20 gcc they didn't occur. Hm, probably a noun is more important here than a verb. Field is=20 overwritten but initializer is overridden. And the warning is really=20 about initializer. >>From gcc-bugs-return-523950-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 19:54:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29645 invoked by alias); 2 May 2016 19:54:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27952 invoked by uid 48); 2 May 2016 19:54:33 -0000 From: "j.v.dijk at tue dot nl" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/67375] abi::__cxa_demangle crashes demangling a lambda Date: Mon, 02 May 2016 19:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: j.v.dijk at tue dot nl 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00122.txt.bz2 Content-length: 993 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67375 Jan van Dijk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |j.v.dijk at tue dot nl --- Comment #1 from Jan van Dijk --- Has this been fixed in the meantime? I tried to reproduce this on an x86_64= box (OpenSuSE Tumbleweed) with both g++ (SUSE Linux) 5.3.1 20160301 [gcc-5-branch revision 233849] g++ (GCC) 7.0.0 20160502 (experimental) Compilation with default options and running the test code does not dump co= re. Output: void ccccc::DDDDDDDDDD::eeeeeeeeeeeeeeeeeeee(ccccc::FFFFFFFFF= F&)::{lambda()#1}*& std::_AAA_AAAA::_M_bbbbbb(void ccccc::DDDDDDDDDD::eeeeeeeeeeeeeeeeeeee(ccccc::FFFFFFFFF= F&)::{lambda()#1}*&)::{lambda()#1}*>() >>From gcc-bugs-return-523951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 20:23:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71139 invoked by alias); 2 May 2016 20:23:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70971 invoked by uid 48); 2 May 2016 20:23:31 -0000 From: "seurer at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70890] [7 regression] r235660 miscompiles stage2 compiler on ia64 Date: Mon, 02 May 2016 20:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at linux dot vnet.ibm.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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00123.txt.bz2 Content-length: 1957 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70890 Bill Seurer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |seurer at linux dot vnet.i= bm.com --- Comment #4 from Bill Seurer --- Revision 235660 also causes a segmentation fault for the spec2006 test case 416.gamess on powerpc64le. ----------------------------------- Running Benchmarks ----------------------------------- Running 416.gamess test base base_64 default Commands to run: -C /home/seurer/gcc/cpu2006/benchspec/CPU2006/416.gamess/run/run_base_test_bas= e_64.0000 -i exam29.config -o exam29.out -e exam29.err ../run_base_test_base_64.0000/gamess_base.base_64 (timed) Specinvoke: /home/seurer/gcc/cpu2006/bin/specinvoke -d /home/seurer/gcc/cpu2006/benchspec/CPU2006/416.gamess/run/run_base_test_bas= e_64.0000 -e speccmds.err=20 -o speccmds.stdout -f speccmds.cmd -C -q Issuing command '/home/seurer/gcc/cpu2006/bin/specinvoke -d /home/seurer/gcc/cpu2006/benchspec/CPU2006/416.gamess/run/run_base_test_bas= e_64.0000 -e speccmds .err -o speccmds.stdout -f speccmds.cmd -C -q' /home/seurer/gcc/cpu2006/bin/specinvoke -d /home/seurer/gcc/cpu2006/benchspec/CPU2006/416.gamess/run/run_base_test_bas= e_64.0000 -e speccmds.err -o speccmds. stdout -f speccmds.cmd -C -q Start command: Mon May 2 11:33:26 2016 (1462206806) Stop command: Mon May 2 11:33:26 2016 (1462206806) Elapsed time for command: 00:00:00 (0) 416.gamess: copy 0 non-zero return code (exit code=3D11, signal=3D0) **************************************** Contents of exam29.err **************************************** Program received signal SIGSEGV: Segmentation fault - invalid memory refere= nce. Backtrace for this error: Segmentation fault (core dumped) **************************************** >>From gcc-bugs-return-523952-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 20:32:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48508 invoked by alias); 2 May 2016 20:32:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35498 invoked by uid 48); 2 May 2016 20:32:29 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70910] error declaring a type in clause-1 of a for statement Date: Mon, 02 May 2016 20:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00124.txt.bz2 Content-length: 1585 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70910 --- Comment #2 from Martin Sebor --- Thanks for the pointer. That seems like a rather gratuitous restriction, a= nd an unnecessary deviation from the C++ rule where the feature originated. I= 'm also not sure that the committee's response to the DR is a fully informed o= ne: the claim that the intent can clearly be derived from the requirement that = "a for statement shall only declare identifiers for objects having storage cla= ss auto or register" doesn't sound right to me. I would expect the intent of = the requirement to be to prohibit defining loop control variables that are stat= ic (and then have some such loops iterate only in the first invocation of the function and not subsequent ones (*)). I'll have to see if I can dig up so= me background on the intent in the committee reflector archives or meeting minutes. But given that it's explicitly disallowed, I think it's unfortunate that GCC doesn't accept the test case as an extension because other popular compilers do, including the latest EDG 3.10 in strict conformance mode, Oracle c99, a= nd IBM xlc (though the last one rejects the struct definition). With some more testing, I see that Clang 3.8 rejects it. Intel icc rejects it because it = uses the EDG front end in GCC compatibility mode (where the latter rejects it for compatibility with GCC). [*] As in the following also apparently valid C++ program: void f () { for (static int i =3D 0; i < 10; ++i) printf ("%i\n", i); } int main () { f (); f (); } >>From gcc-bugs-return-523953-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 20:34:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67249 invoked by alias); 2 May 2016 20:34:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65212 invoked by uid 55); 2 May 2016 20:34:20 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70900] [6 regression] a library-level class-wide subprogram is not generated into object file Date: Mon, 02 May 2016 20:34: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00125.txt.bz2 Content-length: 745 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70900 --- Comment #3 from Eric Botcazou --- Author: ebotcazou Date: Mon May 2 20:33:47 2016 New Revision: 235789 URL: https://gcc.gnu.org/viewcvs?rev=3D235789&root=3Dgcc&view=3Drev Log: PR ada/70900 Backport from mainline 2016-04-18 Ed Schonberg * sem_ch6.adb (Process_Formals): Do not set a delay freeze on a subprogram that returns a class-wide type, if the subprogram is a compilation unit, because otherwise gigi will treat the subprogram as external, leading to link errors. Modified: branches/gcc-6-branch/gcc/ada/ChangeLog branches/gcc-6-branch/gcc/ada/sem_ch6.adb >>From gcc-bugs-return-523954-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 20:35:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73411 invoked by alias); 2 May 2016 20:35:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73320 invoked by uid 48); 2 May 2016 20:35:17 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70900] [6 regression] a library-level class-wide subprogram is not generated into object file Date: Mon, 02 May 2016 20:35: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00126.txt.bz2 Content-length: 458 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70900 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Eric Botcazou --- This should work correctly again. >>From gcc-bugs-return-523955-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 21:07:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12525 invoked by alias); 2 May 2016 21:07:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10078 invoked by uid 48); 2 May 2016 21:07:47 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65317] [SH] Shifts used instead of and with const_int Date: Mon, 02 May 2016 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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00127.txt.bz2 Content-length: 1633 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65317 --- Comment #5 from Oleg Endo --- (In reply to Segher Boessenkool from comment #4) >=20 > What are the original instructions it tried to combine here? (insn 7 4 8 2 (parallel [ (set (reg:SI 168 [ r ]) (lshiftrt:SI (reg/v:SI 165 [ a ]) (const_int 31 [0x1f]))) (clobber (reg:SI 147 t)) ]) sh_tmp.cpp:6 136 {lshrsi3_n_clobbers_t} (expr_list:REG_DEAD (reg/v:SI 165 [ a ]) (expr_list:REG_UNUSED (reg:SI 147 t) (nil)))) (insn 8 7 13 2 (parallel [ (set (reg:SI 167) (ashift:SI (reg:SI 168 [ r ]) (const_int 31 [0x1f]))) (clobber (reg:SI 147 t)) ]) sh_tmp.cpp:7 118 {ashlsi3_n_clobbers_t} (expr_list:REG_DEAD (reg:SI 168 [ r ]) (expr_list:REG_UNUSED (reg:SI 147 t) (nil)))) > If the > combined insn does not match (as here), combine tries to split it into > two in various ways, but only if it started out with more than two insns. > Now that we also check for insn cost we could change that (allow combining > 2->2 if that reduces the rtx cost), but this will of course need testing > everywhere. I'll see what I can do. I was really thinking of just adding that special case for const_int vs. reg operands. I.e. if the created insn doesn't match, and has some const_int operands, replace const_int with reg in the insn and try again -- taking the cost of the constant load into account would be nice, too. Not sure if oth= er targets would benefit from that... >>From gcc-bugs-return-523956-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 21:46:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43115 invoked by alias); 2 May 2016 21:46:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40400 invoked by uid 55); 2 May 2016 21:46:09 -0000 From: "hjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/70520] Incorrect child stack alignment in c-c++-common/asan/clone-test-1.c Date: Mon, 02 May 2016 21:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 6.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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00128.txt.bz2 Content-length: 673 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70520 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon May 2 21:45:34 2016 New Revision: 235790 URL: https://gcc.gnu.org/viewcvs?rev=3D235790&root=3Dgcc&view=3Drev Log: Backport r265322 from llvm upstream Since x86 psABIs require the function incoming stack must align at 16 bytes, child process stack passed to clone should be aligned at 16 bytes. PR testsuite/70520 * c-c++-common/asan/clone-test-1.c (main): Align child process stack to 16 bytes. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/c-c++-common/asan/clone-test-1.c >>From gcc-bugs-return-523957-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 22:00:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95276 invoked by alias); 2 May 2016 22:00:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90372 invoked by uid 48); 2 May 2016 21:59:56 -0000 From: "tulipawn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/69004] Building t-engine on ARM fails during -fprofile-use stage Date: Mon, 02 May 2016 22:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: tulipawn 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00129.txt.bz2 Content-length: 3672 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69004 --- Comment #15 from PeteVine --- After deleting physfs profile data I got a little further (using gcc 6.1.0): ../src/luajit2/src/lj_gc.c: In function =E2=80=98lj_mem_newgco=E2=80=99: ../src/luajit2/src/lj_gc.c:816:10: error: corrupted value profile: ic profi= le counter (6968126 out of 6967697) inconsistent with basic-block count (69676= 97) GCobj *o =3D (GCobj *)g->allocf(g->allocd, NULL, 0, size); ^ ../src/luajit2/src/lj_gc.c: In function =E2=80=98lj_mem_realloc=E2=80=99: ../src/luajit2/src/lj_gc.c:803:5: error: corrupted value profile: ic profile counter (7798609 out of 7798543) inconsistent with basic-block count (77985= 43) p =3D g->allocf(g->allocd, p, osz, nsz); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/luajit2/src/lj_gc.c: In function =E2=80=98lj_gc_step_fixtop=E2=80=99: ../src/luajit2/src/lj_gc.c:838:1: error: corrupted profile info: profile da= ta is not flow-consistent } ^ ../src/luajit2/src/lj_gc.c:838:1: error: corrupted profile info: number of executions for edge 2-3 thought to be 952579 ../src/luajit2/src/lj_gc.c:838:1: error: corrupted profile info: number of executions for edge 2-4 thought to be -2 ../src/luajit2/src/lj_gc.c: In function =E2=80=98gc_onestep=E2=80=99: ../src/luajit2/src/lj_gc.c:838:1: error: corrupted profile info: profile da= ta is not flow-consistent ../src/luajit2/src/lj_gc.c:838:1: error: corrupted profile info: number of executions for edge 2-28 thought to be -10011 ../src/luajit2/src/lj_gc.c: In function =E2=80=98gc_sweep=E2=80=99: ../src/luajit2/src/lj_gc.c:405:7: error: corrupted value profile: ic profile counter (8004397 out of 8004387) inconsistent with basic-block count (80043= 87) gc_freefunc[o->gch.gct - ~LJ_TSTR](g, o); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/luajit2/src/lj_gc.c: In function =E2=80=98gc_shrink=E2=80=99: ../src/luajit2/src/lj_gc.c:838:1: error: corrupted profile info: profile da= ta is not flow-consistent } ^ ../src/luajit2/src/lj_gc.c:838:1: error: corrupted profile info: number of executions for edge 4-5 thought to be -2 ../src/luajit2/src/lj_gc.c:838:1: error: corrupted profile info: number of executions for edge 4-1 thought to be 2 ../src/luajit2/src/lj_gc.c: In function =E2=80=98gc_traverse_tab=E2=80=99: ../src/luajit2/src/lj_gc.c:838:1: error: corrupted profile info: edge from = 40 to 41 exceeds maximal count ../src/luajit2/src/lj_gc.c:838:1: error: corrupted profile info: profile da= ta is not flow-consistent ../src/luajit2/src/lj_gc.c:838:1: error: corrupted profile info: number of executions for edge 9-10 thought to be 354234 ../src/luajit2/src/lj_gc.c:838:1: error: corrupted profile info: number of executions for edge 9-21 thought to be -7 ../src/luajit2/src/lj_gc.c: In function =E2=80=98gc_mark_start=E2=80=99: ../src/luajit2/src/lj_gc.c:838:1: error: corrupted profile info: profile da= ta is not flow-consistent ../src/luajit2/src/lj_gc.c:838:1: error: corrupted profile info: number of executions for edge 2-3 thought to be 14165 ../src/luajit2/src/lj_gc.c:838:1: error: corrupted profile info: number of executions for edge 2-4 thought to be -1 ../src/luajit2/src/lj_gc.c:838:1: error: corrupted profile info: number of executions for edge 4-5 thought to be 14168 ../src/luajit2/src/lj_gc.c:838:1: error: corrupted profile info: number of executions for edge 4-6 thought to be -1 ../src/luajit2/src/lj_gc.c:838:1: error: corrupted profile info: number of executions for edge 7-8 thought to be 14167 ../src/luajit2/src/lj_gc.c:838:1: error: corrupted profile info: number of executions for edge 7-9 thought to be -2 >>From gcc-bugs-return-523958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 22:13:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1276 invoked by alias); 2 May 2016 22:13:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 131016 invoked by uid 55); 2 May 2016 22:13:30 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49244] __sync or __atomic builtins will not emit 'lock bts/btr/btc' Date: Mon, 02 May 2016 22: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: unknown X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00130.txt.bz2 Content-length: 485 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49244 --- Comment #15 from Jakub Jelinek --- Author: jakub Date: Mon May 2 22:12:54 2016 New Revision: 235792 URL: https://gcc.gnu.org/viewcvs?rev=3D235792&root=3Dgcc&view=3Drev Log: PR target/49244 * gimple.c (gimple_builtin_call_types_compatible_p): Allow char/short arguments promoted to int because of promote_prototypes. Modified: trunk/gcc/ChangeLog trunk/gcc/gimple.c >>From gcc-bugs-return-523959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 22:18:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9060 invoked by alias); 2 May 2016 22:18:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8897 invoked by uid 48); 2 May 2016 22:17:48 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/70520] Incorrect child stack alignment in c-c++-common/asan/clone-test-1.c Date: Mon, 02 May 2016 22:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 6.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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00131.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70520 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |7.0 --- Comment #6 from H.J. Lu --- Fixed for GCC 7. >>From gcc-bugs-return-523960-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 22:26:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28375 invoked by alias); 2 May 2016 22:26:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27409 invoked by uid 48); 2 May 2016 22:26:37 -0000 From: "meissner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70915] New: Improve loading 0/-1 in VSX registers on PowerPC Date: Mon, 02 May 2016 22:26: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: minor X-Bugzilla-Who: meissner 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00132.txt.bz2 Content-length: 1159 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70915 Bug ID: 70915 Summary: Improve loading 0/-1 in VSX registers on PowerPC Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: meissner at gcc dot gnu.org Target Milestone: --- Right now, the GCC compiler uses XXLXOR to zero a VSX register, and XXLORC = (on power8 and above) to set a register to all 1's. It might be better to prefe= r to use the Altivec registers and use a VSPLITSW instruction to load a 0 or -1. If the register being set to 0/-1 is currently part of a long instruction t= hat has not completed, the XXLXOR or XXLORC would need to wait for the completi= on of the register, even though it does not 'need' the value of the register. For example, if you do a divide and store the result, and then immediately = try to clear the register to use it for something else, the store would be dela= yed until the divide completes, and in this case the logical operation would al= so be delayed. >>From gcc-bugs-return-523961-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 23:32:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21170 invoked by alias); 2 May 2016 23:32:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20696 invoked by uid 48); 2 May 2016 23:31:48 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/49905] Better sanity checking on sprintf src & dest to produce warning for dodgy code ? Date: Mon, 02 May 2016 23:32: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.7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor 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 cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00133.txt.bz2 Content-length: 1396 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49905 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-02 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 Known to fail| |5.3.0, 6.0 --- Comment #3 from Martin Sebor --- 5.1 and 6.1 warn on the first six out of the ten buffer overflows, and on L= inux the program aborts at runtime in __sprintf_chk. GCC still doesn't diagnose any of the last four problems at compile time (e= .g., in 'char buf [4]; sprintf (buf, "%s %s", "abc", "def");') It seems that th= is class of problems could be handled by enhancing maybe_emit_sprintf_chk_warn= ing to loop over the format string, recognize more involved format strings with embedded %s (and other simple directives), and count the number of characte= rs they emit for constant arguments. For slightly better compile-time coverage the approach could even assume that simple non-string directives like %i re= sult in at least one character and compute an optimistic lower bound on the leng= th of the formatted string. >>From gcc-bugs-return-523962-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 02 23:52:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98455 invoked by alias); 2 May 2016 23:52:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98191 invoked by uid 48); 2 May 2016 23:52:20 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/45840] Enhance __builtin_object_size to return useful result when applied to T (*p)[N] Date: Mon, 02 May 2016 23: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: 4.5.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00134.txt.bz2 Content-length: 1503 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D45840 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-02 Ever confirmed|0 |1 Known to fail| |4.9.3, 5.3.0, 6.0 --- Comment #1 from Martin Sebor --- Confirmed with today's top of trunk (see the simple test case below). I th= ink a warning should (might?) be doable. Since in both C and C++ a function that takes a pointer to an array of cons= tant size can be passed a pointer to an array of a different size (in C++ this requires a cast) it's an open question whether this case should also trigge= r an abort at runtime. $ cat v.c && /home/msebor/build/gcc-trunk-git/gcc/xgcc -B/home/msebor/build/gcc-trunk-git/gcc -O2 -Wall -Wextra -Wpedantic v.c && ./a.out=20 inline void __attribute__ ((always_inline)) f (int (*pa)[3]) { __builtin_printf ("%s: %zd\n", __func__, __builtin_object_size (*pa, 0)); } void __attribute__ ((noclone, noinline)) g (int (*pa)[3]) { __builtin_printf ("%s: %zd\n", __func__, __builtin_object_size (*pa, 0)); } int main () { int a [3]; int (*pa)[3] =3D &a; __builtin_printf ("%s: %zd\n", __func__, __builtin_object_size (*pa, 0)); f (pa); g (pa); } main: 12 f: 12 g: -1 >>From gcc-bugs-return-523963-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 00:05:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123652 invoked by alias); 3 May 2016 00:05:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123378 invoked by uid 48); 3 May 2016 00:04:55 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/67793] Missing warning for C99 static array dimension mismatch Date: Tue, 03 May 2016 00:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor 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 cf_reconfirmed_on cc cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00135.txt.bz2 Content-length: 952 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67793 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Last reconfirmed|2015-10-01 00:00:00 |2016-5-2 CC| |msebor at gcc dot gnu.org Known to fail| |4.9.3, 5.3.0, 6.0 --- Comment #2 from Martin Sebor --- See also bug 45840 for a (somewhat remotely) related request involving poin= ters to arrays. I also think that warning on the test case in comment #1 would be a useful enhancement. Not having tested it, though, I would worry that issuing a warning on the test case in comment #0 by default (or with -Wall) would cau= se too many false positives. I suppose it could be something to try. >>From gcc-bugs-return-523964-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 00:08:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1236 invoked by alias); 3 May 2016 00:08:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1069 invoked by uid 48); 3 May 2016 00:08:10 -0000 From: "helloqirun at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70916] New: gcc ICE at -O3 on valid code on x86_64-linux-gnu in "tree_operand_check" Date: Tue, 03 May 2016 00:08: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: helloqirun at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00136.txt.bz2 Content-length: 3211 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70916 Bug ID: 70916 Summary: gcc ICE at -O3 on valid code on x86_64-linux-gnu in "tree_operand_check" Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: helloqirun at gmail dot com Target Milestone: --- The following valid code causes an ICE when compiled with the current gcc t= runk at only -O3 on x86_64-linux-gnu in both 32-bit and 64-bit modes. It appears to be a 6 regression. Gcc-6.1 got an ICE at -O3 with seg fault. $ gcc-trunk -v Using built-in specs. COLLECT_GCC=3Dgcc-trunk COLLECT_LTO_WRAPPER=3D/home/absozero/trunk/root-gcc/libexec/gcc/x86_64-pc-l= inux-gnu/7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc/configure --prefix=3D/home/absozero/trunk/root-gcc --enable-languages=3Dc,c++ --disable-werror --enable-multilib Thread model: posix gcc version 7.0.0 20160502 (experimental) [trunk revision 235753] (GCC) $ gcc-trunk -O3 abc.c -c abc.c: In function =E2=80=98fn1=E2=80=99: abc.c:9:13: warning: initialization makes integer from pointer without a ca= st [-Wint-conversion] int m =3D l; ^ abc.c:14:24: warning: comparison of distinct pointer types lacks a cast *e =3D (((*o =3D &g) !=3D g) < h[c], 0) || k; ^~ abc.c:17:12: warning: assignment makes integer from pointer without a cast [-Wint-conversion] *e =3D h; ^ abc.c:6:6: internal compiler error: tree check: expected class =E2=80=98exp= ression=E2=80=99, have =E2=80=98constant=E2=80=99 (integer_cst) in tree_operand_check, at tre= e.h:3523 void fn1() { ^~~ 0xe435a7 tree_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*) ../../gcc/gcc/tree.c:9793 0x12f1f9d expr_check(tree_node*, char const*, int, char const*) ../../gcc/gcc/tree.h:3194 0x12f1f9d tree_operand_check(tree_node*, int, char const*, int, char const*) ../../gcc/gcc/tree.h:3523 0x12f1f9d vect_recog_mask_conversion_pattern ../../gcc/gcc/tree-vect-patterns.c:3677 0x12ec3c0 vect_pattern_recog_1 ../../gcc/gcc/tree-vect-patterns.c:3851 0x12f13bd vect_pattern_recog(vec_info*) ../../gcc/gcc/tree-vect-patterns.c:4048 0xe07c77 vect_analyze_loop_2 ../../gcc/gcc/tree-vect-loop.c:1847 0xe07c77 vect_analyze_loop(loop*) ../../gcc/gcc/tree-vect-loop.c:2264 0xe1e982 vectorize_loops() ../../gcc/gcc/tree-vectorizer.c:532 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ cat abc.c int a, b, c, d, i, k; int static *e =3D &b, *j; int **f; int static ***g =3D &f; int *h; void fn1() { for (;;) { int l[1] =3D {}; int m =3D l; for (; d; d--) { int ****n; int *****o =3D &n; i =3D a & 7 ?: a; *e =3D (((*o =3D &g) !=3D g) < h[c], 0) || k; if (*e) { **n =3D &j; *e =3D h; } } } } >>From gcc-bugs-return-523965-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 00:31:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58248 invoked by alias); 3 May 2016 00:31:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58066 invoked by uid 48); 3 May 2016 00:31:46 -0000 From: "bonzini at gnu dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49244] __sync or __atomic builtins will not emit 'lock bts/btr/btc' Date: Tue, 03 May 2016 00:31: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: bonzini at gnu dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00137.txt.bz2 Content-length: 450 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49244 --- Comment #16 from Paolo Bonzini --- > This also suggests there's an error in the current x86_64 kernel implemen= tation=20 > as the kernel bitops are supposed to operate on machine word-size locatio= ns, so=20 > it should be using BTSQ not BTSL Why? Since bts adjust the memory address according to the bit number, btsl= and btsq are entirely the same instruction. >>From gcc-bugs-return-523966-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 00:35:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62110 invoked by alias); 3 May 2016 00:35:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61955 invoked by uid 48); 3 May 2016 00:35:41 -0000 From: "wilson at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65951] [AArch64] Will not vectorize 64bit integer multiplication Date: Tue, 03 May 2016 00:35: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: 5.1.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: wilson at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00138.txt.bz2 Content-length: 249 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65951 --- Comment #7 from Jim Wilson --- Created attachment 38396 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38396&action=3Dedit patch to add a mulv2di3 pattern >>From gcc-bugs-return-523967-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 00:37:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63510 invoked by alias); 3 May 2016 00:37:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63339 invoked by uid 48); 3 May 2016 00:36:51 -0000 From: "wilson at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65951] [AArch64] Will not vectorize 64bit integer multiplication Date: Tue, 03 May 2016 00:37: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: 5.1.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: wilson at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00139.txt.bz2 Content-length: 271 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65951 --- Comment #8 from Jim Wilson --- Created attachment 38397 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38397&action=3Dedit patch to use synth_mult to generate vector multiplies >>From gcc-bugs-return-523968-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 00:37:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66550 invoked by alias); 3 May 2016 00:37:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66417 invoked by uid 48); 3 May 2016 00:37:37 -0000 From: "wilson at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65951] [AArch64] Will not vectorize 64bit integer multiplication Date: Tue, 03 May 2016 00:37: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: 5.1.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: wilson at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00140.txt.bz2 Content-length: 259 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65951 --- Comment #9 from Jim Wilson --- Created attachment 38398 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38398&action=3Dedit testcase signed long multiply by constant >>From gcc-bugs-return-523969-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 00:38:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67791 invoked by alias); 3 May 2016 00:38:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67574 invoked by uid 48); 3 May 2016 00:38:06 -0000 From: "wilson at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65951] [AArch64] Will not vectorize 64bit integer multiplication Date: Tue, 03 May 2016 00:38: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: 5.1.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: wilson at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00141.txt.bz2 Content-length: 262 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65951 --- Comment #10 from Jim Wilson --- Created attachment 38399 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38399&action=3Dedit testcase unsigned long multiply by constant >>From gcc-bugs-return-523970-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 00:52:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98183 invoked by alias); 3 May 2016 00:52:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95358 invoked by uid 55); 3 May 2016 00:52:04 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows Date: Tue, 03 May 2016 00:52: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00142.txt.bz2 Content-length: 802 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70684 --- Comment #17 from Jerry DeLisle --- Author: jvdelisle Date: Tue May 3 00:51:30 2016 New Revision: 235801 URL: https://gcc.gnu.org/viewcvs?rev=3D235801&root=3Dgcc&view=3Drev Log: 2016-05-02 Jerry DeLisle Backport from mainline PR libgfortran/70684 * gfortran.dg/list_read_14.f90: New test. Backport from trunk. PR libgfortran/70684 * io/list_read (check_buffers): Add '\r' to check for end of line. Added: branches/gcc-5-branch/gcc/testsuite/gfortran.dg/list_read_14.f90 Modified: branches/gcc-5-branch/gcc/testsuite/ChangeLog branches/gcc-5-branch/libgfortran/ChangeLog branches/gcc-5-branch/libgfortran/io/list_read.c >>From gcc-bugs-return-523971-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 01:06:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78305 invoked by alias); 3 May 2016 01:06:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78166 invoked by uid 48); 3 May 2016 01:05:55 -0000 From: "wilson at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65951] [AArch64] Will not vectorize 64bit integer multiplication Date: Tue, 03 May 2016 01:06: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: 5.1.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: wilson at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00143.txt.bz2 Content-length: 2771 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65951 --- Comment #11 from Jim Wilson --- I've spent some time looking at solutions to this problem. One way to solve it is to simply add a mulv2di3 pattern to the aarch64 port= .=20 The presence of a multiply pattern means we will go through expand_mult, an= d we get the shift/add sequence generation automatically. The x86 port has a few patterns like this. mulv2di3 can be implemented with 3 v4si multiplies, an= d 3 zip instructions, plus 2 adds that fold into multiply-add, and a shift. The downside of this solution is that if we aren't multiplying by a constant, t= hen we get this long mulv2di3 sequence. On an APM/Mustang, for a loop that only does a multiply, this sequence is much slower than 2 integer DImode multipl= ies, and hence it is better to not vectorize in this case. This is probably not= a win in general. Another way to solve it is to use the existing synth_mult code in expmed.c.= We can easily share the code that generates the algorithm in choose_mult_varia= nt, but expand_mult_const is very rtl specific, so I copied that part with a lo= t of modification to general gimple. Again, testing on APM/Mustang, for a loop = that only does multiply, I found that a 2 instruction shift/add sequence is a wi= n, but a 3 instruction shift/add sequence is a lose. Since we already handle = the 1 instruction case trivially, this appears to be a lot of work for not much gain. This is probably a better solution than the above one if the amount = of new code is OK. This patch needs a bit more work to finish it, and will li= kely need aarch64 rtx costs adjusted so that we get the best result for all targ= ets. There may be wins in cases where a loop does more than a simple multiply, w= here the loop is not vectorized only because of the multiply. It isn't clear ho= w to quantify that. For the original testcase, with constant 19594, this constant requires 9 operations. We can do that with 9 vector instructions, or 5 integer instructions. add x0, x1, x1, lsl 3 add x6, x0, x0, lsl 4 add x7, x1, x6, lsl 4 add x8, x1, x7, lsl 2 lsl x9, x8, 1 Since 5 integer instructions is likely more than twice as fast as 9 vector operations on all aarch64 parts, we still won't vectorize this loop even if= we have synth mult support in the vectorizer. We still get an integer multiply instruction, as that is faster than the 5 integer shift/add instructions, w= hich in turn is faster than the 9 vector shift/add instructions and the vector multiply via 3 v4si multiplies. I've attached work in progress patches for the two solutions to the PR, alo= ng with testcases I'm using to verify the patches. >>From gcc-bugs-return-523972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 01:36:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88740 invoked by alias); 3 May 2016 01:36:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84734 invoked by uid 48); 3 May 2016 01:36:27 -0000 From: "wilson at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/70917] New: out-of-date documentation for character set support and environment variables Date: Tue, 03 May 2016 01:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wilson at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00144.txt.bz2 Content-length: 1356 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70917 Bug ID: 70917 Summary: out-of-date documentation for character set support and environment variables Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: wilson at gcc dot gnu.org Target Milestone: --- In the doc section Environment Variables Affecting GCC =20=20=20 https://gcc.gnu.org/onlinedocs/gcc-6.1.0/gcc/Environment-Variables.html#Env= ironment-Variables Near the bottom, it mentions that you can set LANG to C-JIS etc, but the co= de that supported this was in mbchar.c, and that file was deleted in 2003. It also mentions near the top that you can set LC_CTYPE, I found this suppo= rt in libcpp/charset.c, and it is disabled with an ifdef because it caused problems with non-ascii names. I think these two parts should be removed, or maybe LC_CTYPE commented out,= and maybe add a comment to libcpp/charset.c to re-add LC_CTYPE docs if it ever = gets re-enabled. LC_MESSAGES seems correct. LC_ALL refers to LC_CTYPE which is wrong if LC_CTYPE docs are removed, otherwise it looks OK. I'm not an expert in this area, so I'm not sure if I got this all right. >>From gcc-bugs-return-523973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 02:55:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14160 invoked by alias); 3 May 2016 02:55:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13931 invoked by uid 48); 3 May 2016 02:55:19 -0000 From: "ljliang1990 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70918] New: Internal compiler error: Illegal instruction Date: Tue, 03 May 2016 02:55: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: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ljliang1990 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00145.txt.bz2 Content-length: 1483 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70918 Bug ID: 70918 Summary: Internal compiler error: Illegal instruction Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ljliang1990 at gmail dot com Target Milestone: --- Created attachment 38400 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38400&action=3Dedit Preprocessor file Trying to install Postgres-XL 9.5r1 on my linux from scratch(LFS 7.7) and g= ot this "Internal compiler error: Illegal instruction" during make process in = the first step. After troubleshooting I notice the error occur whenever a float/decimal value is encounter. Thus I wrote a simple C program to test my assumption. #include "stdio.h" int main(){ double testval =3D 1938.3028; printf("Output: %f\n", testval); } I ran this line to compile $ gcc test.c -o textexe and i got the error test.c: In function 'main': test.c:4:2: internal compiler error: Illegal instruction double testval =3D 1938.3028; ^ 0x87815f crash_signal ../../gcc-4.9.2/gcc/toplev.c:337 Please submit a full bug report, Not sure if its I made a mistake during installation of GCC on my LFS or hardware problem. Please help. System used: Linux debian7 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u1 x86_64 GNU/Linux GCC version: 4.9.2 >>From gcc-bugs-return-523974-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 03:24:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59204 invoked by alias); 3 May 2016 03:24:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48825 invoked by uid 48); 3 May 2016 03:24:26 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70919] New: wrong code at -O1 on x86_64-linux-gnu in 32-bit mode Date: Tue, 03 May 2016 03:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: su at cs dot ucdavis.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00146.txt.bz2 Content-length: 2004 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70919 Bug ID: 70919 Summary: wrong code at -O1 on x86_64-linux-gnu in 32-bit mode Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: su at cs dot ucdavis.edu Target Milestone: --- The current gcc trunk miscompiles the following code on x86_64-linux-gnu at= -O1 (only) in the 32-bit mode (but on in 64-bit mode).=20=20 $ gcc-trunk -v Using built-in specs. COLLECT_GCC=3Dgcc-trunk COLLECT_LTO_WRAPPER=3D/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/= 7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=3Dc,c++,l= to --prefix=3D/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20160502 (experimental) [trunk revision 235731] (GCC)=20 $=20 $ gcc-trunk -m32 -O0 small.c; ./a.out $ gcc-trunk -m64 -O1 small.c; ./a.out $=20 $ gcc-trunk -m32 -O1 small.c $ ./a.out Aborted (core dumped) $=20 ------------------------------------------- #pragma pack(1) struct S0 { int f0:24; }; struct S1 { int f1; } a;=20 int b, c; char fn1 (struct S1 p1) { return 0; } int main () { c =3D fn1 (a); if (b) { struct S0 f[3][9] =3D { { { 0 }, { 0 }, { 1 }, { 1 }, { 0 }, { 0 }, { 0 }, { 1 }, { 1 } }, { { 0 }, { 0 }, { 1 }, { 1 }, { 0 }, { 0 }, { 0 }, { 1 }, { 1 } }, { { 0 }, { 0 }, { 1 }, { 1 }, { 0 }, { 0 }, { 0 }, { 1 }, { 1 } } }; b =3D f[1][8].f0; } struct S0 g[3][9] =3D=20 { { { 0 }, { 0 }, { 1 }, { 1 }, { 0 }, { 0 }, { 0 }, { 1 }, { 1 } }, { { 0 }, { 0 }, { 1 }, { 1 }, { 0 }, { 0 }, { 0 }, { 1 }, { 1 } }, { { 0 }, { 0 }, { 1 }, { 1 }, { 0 }, { 0 }, { 0 }, { 1 }, { 1 } } }; if (g[1][8].f0 !=3D 1) __builtin_abort ();=20 return 0;=20 } >>From gcc-bugs-return-523975-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 03:33:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88404 invoked by alias); 3 May 2016 03:33:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87985 invoked by uid 48); 3 May 2016 03:33:03 -0000 From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70920] New: if ((intptr_t)ptr == 0) doesn't get simplified to if (ptr == 0) Date: Tue, 03 May 2016 03:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00147.txt.bz2 Content-length: 941 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70920 Bug ID: 70920 Summary: if ((intptr_t)ptr =3D=3D 0) doesn't get simplified to if (ptr =3D=3D 0) Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: ppalka at gcc dot gnu.org Target Milestone: --- In the following test case, the call to baz remains in the final optimized = code even though it's dead code. #include void bar (void); void baz (void); void foo (int *a) { if ((intptr_t)a =3D=3D 0) { bar (); if (a) baz (); } } Should also be able to optimize compares against non-zero constants, e.g. void foo (int *a) { if ((intptr_t)a =3D=3D 5) { bar (); if (a !=3D (int *)5) baz (); } } >>From gcc-bugs-return-523976-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 03:43:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129349 invoked by alias); 3 May 2016 03:43:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129212 invoked by uid 48); 3 May 2016 03:42:43 -0000 From: "amodra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70890] [7 regression] r235660 miscompiles stage2 compiler on ia64 Date: Tue, 03 May 2016 03:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00148.txt.bz2 Content-length: 810 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70890 Alan Modra changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot= com --- Comment #5 from Alan Modra --- Created attachment 38401 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38401&action=3Dedit patch under test Andreas, please let me know if this cures the ia64 bootstrap problem. By inspection the code looks good with this patch, but I don't have an ia64 sy= stem to properly test the patch. I'm currently regression testing on powerpc64le-linux and x86_64-linux. >>From gcc-bugs-return-523977-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 05:50:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83223 invoked by alias); 3 May 2016 05:50:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82986 invoked by uid 48); 3 May 2016 05:49:57 -0000 From: "sebastian.huber@embedded-brains.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/69196] [5/6/7 Regression] code size regression with jump threading at -O2 Date: Tue, 03 May 2016 05:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: sebastian.huber@embedded-brains.de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: law at redhat dot com X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00149.txt.bz2 Content-length: 3498 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69196 --- Comment #25 from Sebastian Huber -= -- With GCC 6.1 there is now only a slight increase in code size compared to G= CC 4.9. I am not sure if there is anything left to do on this PR. sparc-rtems4.11-gcc --version sparc-rtems4.11-gcc (GCC) 4.9.4 20150723 (prerelease) [master revision 022fc2d:bffd767:fd457cef14f3bc6673e90a2de80005feea743ab7] Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. sparc-rtems4.12-gcc --version sparc-rtems4.12-gcc (GCC) 6.1.1 20160502 [gcc-6-branch revision cf53985:351726f:7429c1e9312a17e16f7d5be217ca79b82e56d01b] Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. sparc-rtems4.11-gcc -c -O2 -o vprintk.4.11.o vprintk.i sparc-rtems4.12-gcc -c -O2 -o vprintk.4.12.o vprintk.i size vprintk.4.11.o text data bss dec hex filename 688 0 0 688 2b0 vprintk.4.11.o size vprintk.4.12.o text data bss dec hex filename 785 0 0 785 311 vprintk.4.12.o powerpc-rtems4.11-gcc --version powerpc-rtems4.11-gcc (GCC) 4.9.4 20150723 (prerelease) [master revision 022fc2d:bffd767:fd457cef14f3bc6673e90a2de80005feea743ab7] Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. powerpc-rtems4.12-gcc --version powerpc-rtems4.12-gcc (GCC) 6.1.1 20160502 [gcc-6-branch revision cf53985:351726f:7429c1e9312a17e16f7d5be217ca79b82e56d01b] Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. powerpc-rtems4.11-gcc -c -O2 -o vprintk.4.11.o vprintk.i powerpc-rtems4.12-gcc -c -O2 -o vprintk.4.12.o vprintk.i size vprintk.4.11.o text data bss dec hex filename 797 0 0 797 31d vprintk.4.11.o size vprintk.4.12.o text data bss dec hex filename 1005 0 0 1005 3ed vprintk.4.12.o arm-rtems4.11-gcc --version arm-rtems4.11-gcc (GCC) 4.9.4 20150723 (prerelease) [master revision 022fc2d:bffd767:fd457cef14f3bc6673e90a2de80005feea743ab7] Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. arm-rtems4.12-gcc --version arm-rtems4.12-gcc (GCC) 6.1.1 20160502 [gcc-6-branch revision cf53985:351726f:7429c1e9312a17e16f7d5be217ca79b82e56d01b] Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. arm-rtems4.11-gcc -c -O2 -o vprintk.4.11.o vprintk.i arm-rtems4.12-gcc -c -O2 -o vprintk.4.12.o vprintk.i size vprintk.4.11.o text data bss dec hex filename 512 0 0 512 200 vprintk.4.11.o size vprintk.4.12.o text data bss dec hex filename 641 0 0 641 281 vprintk.4.12.o >>From gcc-bugs-return-523978-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 06:13:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113764 invoked by alias); 3 May 2016 06:13:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 113505 invoked by uid 48); 3 May 2016 06:13:08 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70916] [6/7 Regression] gcc ICE at -O3 on valid code on x86_64-linux-gnu in "tree_operand_check" Date: Tue, 03 May 2016 06:13: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: 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00150.txt.bz2 Content-length: 902 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70916 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-03 CC| |jakub at gcc dot gnu.org Target Milestone|--- |6.2 Summary|gcc ICE at -O3 on valid |[6/7 Regression] gcc ICE at |code on x86_64-linux-gnu in |-O3 on valid code on |"tree_operand_check" |x86_64-linux-gnu in | |"tree_operand_check" Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Started with r230103. >>From gcc-bugs-return-523979-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 06:16:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6634 invoked by alias); 3 May 2016 06:16:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125662 invoked by uid 48); 3 May 2016 06:16:45 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70919] [6/7 Regression] wrong code at -O1 on x86_64-linux-gnu in 32-bit mode Date: Tue, 03 May 2016 06:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00151.txt.bz2 Content-length: 833 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70919 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-03 CC| |jakub at gcc dot gnu.org Target Milestone|--- |6.2 Summary|wrong code at -O1 on |[6/7 Regression] wrong code |x86_64-linux-gnu in 32-bit |at -O1 on x86_64-linux-gnu |mode |in 32-bit mode Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Started with r232506. >>From gcc-bugs-return-523980-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 06:19:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50194 invoked by alias); 3 May 2016 06:19:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49060 invoked by uid 48); 3 May 2016 06:19:11 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70891] "register name not specified" for const qualified register variable Date: Tue, 03 May 2016 06:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00152.txt.bz2 Content-length: 577 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70891 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-03 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed. That is weird. >>From gcc-bugs-return-523981-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 06:45:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5864 invoked by alias); 3 May 2016 06:45:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5413 invoked by uid 48); 3 May 2016 06:45:27 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70916] [6/7 Regression] gcc ICE at -O3 on valid code on x86_64-linux-gnu in "tree_operand_check" Date: Tue, 03 May 2016 06:45: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: 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00153.txt.bz2 Content-length: 705 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70916 --- Comment #2 from Jakub Jelinek --- For the ICE the fix is easy: --- tree-vect-patterns.c.jj1 2016-03-23 10:51:23.000000000 +0100 +++ tree-vect-patterns.c 2016-05-03 08:39:17.779229143 +0200 @@ -3673,8 +3673,10 @@ vect_recog_mask_conversion_pattern (vec< if (!rhs1_type) return NULL; } - else + else if (COMPARISON_CLASS_P (rhs1)) rhs1_type =3D TREE_TYPE (TREE_OPERAND (rhs1, 0)); + else + return NULL; vectype2 =3D get_mask_type_for_scalar_type (rhs1_type); now to figure out why tree-if-conv.c actually emitted something =3D 1 ? op2= : op3; >>From gcc-bugs-return-523982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 06:46:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7104 invoked by alias); 3 May 2016 06:46:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6479 invoked by uid 48); 3 May 2016 06:45:46 -0000 From: "amodra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70890] [7 regression] r235660 miscompiles stage2 compiler on ia64 Date: Tue, 03 May 2016 06:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build, wrong-code X-Bugzilla-Severity: blocker X-Bugzilla-Who: amodra at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget priority bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00154.txt.bz2 Content-length: 615 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70890 Alan Modra changed: What |Removed |Added ---------------------------------------------------------------------------- Target|ia64-*-* |ia64-*-*, powerpc64-linux Priority|P3 |P1 Severity|normal |blocker --- Comment #6 from Alan Modra --- Looks like r235660 is responsible for a stage2 --with-cpu=3Dpower7 bootstrap failure on powerpc64-linux too, when using r235800 source. >>From gcc-bugs-return-523983-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 07:01:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39136 invoked by alias); 3 May 2016 07:01:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39025 invoked by uid 48); 3 May 2016 07:01:29 -0000 From: "dhowells at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49244] __sync or __atomic builtins will not emit 'lock bts/btr/btc' Date: Tue, 03 May 2016 07: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: dhowells at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00155.txt.bz2 Content-length: 531 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49244 --- Comment #17 from dhowells at redhat dot com --- (In reply to Paolo Bonzini from comment #16) > > ... > > it should be using BTSQ not BTSL >=20 > Why? Since bts adjust the memory address according to the bit number, bt= sl > and btsq are entirely the same instruction. I suppose that's fair - the actual implementation is entirely up to the arc= h. Should Jakub's optimisation patch be fixed to generate BT?L rather than BT?Q instructions? >>From gcc-bugs-return-523984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 07:08:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81031 invoked by alias); 3 May 2016 07:08:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 80287 invoked by uid 48); 3 May 2016 07:08:06 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/49905] Better sanity checking on sprintf src & dest to produce warning for dodgy code ? Date: Tue, 03 May 2016 07:08: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.7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dcb314 at hotmail 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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00156.txt.bz2 Content-length: 238 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49905 --- Comment #4 from David Binderman --- Created attachment 38402 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38402&action=3Dedit C++ source code >>From gcc-bugs-return-523985-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 07:11:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86602 invoked by alias); 3 May 2016 07:11:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86392 invoked by uid 48); 3 May 2016 07:10:55 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/49905] Better sanity checking on sprintf src & dest to produce warning for dodgy code ? Date: Tue, 03 May 2016 07:11: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.7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dcb314 at hotmail 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00157.txt.bz2 Content-length: 1556 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49905 --- Comment #5 from David Binderman --- (In reply to Martin Sebor from comment #3) > 5.1 and 6.1 warn on the first six out of the ten buffer overflows, and on > Linux the program aborts at runtime in __sprintf_chk. >=20 > GCC still doesn't diagnose any of the last four problems at compile time My local version does. Some tweeks to gcc/builtins.c. 69 formats understood. > (e.g., in 'char buf [4]; sprintf (buf, "%s %s", "abc", "def");') It seems > that this class of problems could be handled by enhancing > maybe_emit_sprintf_chk_warning to loop over the format string, recognize > more involved format strings with embedded %s (and other simple directive= s), > and count the number of characters they emit for constant arguments.=20=20 Indeed. Anything it doesn't understand it can afford to ignore. It is only computing a lower bound. > For slightly better compile-time coverage the approach could even assume = that > simple non-string directives like %i result in at least one character and > compute an optimistic lower bound on the length of the formatted string. That's right - it could even take account of other things like field widths. My local version can find all the problems mentioned in the original bug report. Speculative patch attached. It'll need a lot of work to get it up to the required standard, but it gives the general idea and it's been working=20 happily locally for years over the code of Redhat Fedora Linux and some other projects. >>From gcc-bugs-return-523986-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 07:23:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36958 invoked by alias); 3 May 2016 07:23:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36803 invoked by uid 48); 3 May 2016 07:22:59 -0000 From: "dhowells at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49244] __sync or __atomic builtins will not emit 'lock bts/btr/btc' Date: Tue, 03 May 2016 07: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: unknown X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dhowells at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00158.txt.bz2 Content-length: 925 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49244 --- Comment #18 from dhowells at redhat dot com --- (In reply to Paolo Bonzini from comment #16) > > This also suggests there's an error in the current x86_64 kernel implem= entation=20 > > as the kernel bitops are supposed to operate on machine word-size locat= ions, so=20 > > it should be using BTSQ not BTSL >=20 > Why? Since bts adjust the memory address according to the bit number, bt= sl > and btsq are entirely the same instruction. Actually, no. BTSL takes a 32-bit bit number, whereas BTSQ takes a 64-bit = bit number if I read the manual correctly. So, since test_and_set_bit() in the kernel takes a long bit number, BTSQ is= the right thing to use. In practice, I don't imagine this is likely to be a real problem. I don't envision it as being likely that we will ever have a contiguous bitmap with >=3D2^31 bits in it. >>From gcc-bugs-return-523987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 07:57:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111468 invoked by alias); 3 May 2016 07:57:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111189 invoked by uid 48); 3 May 2016 07:57:17 -0000 From: "ch3root at openwall dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70921] New: Initializer for sub-sub-object overrides whole initializer for sub-object Date: Tue, 03 May 2016 07:57: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ch3root at openwall 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00159.txt.bz2 Content-length: 2208 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70921 Bug ID: 70921 Summary: Initializer for sub-sub-object overrides whole initializer for sub-object Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ch3root at openwall dot com Target Milestone: --- Source code: ---------------------------------------------------------------------- #include int main() { struct s { int x, y; } s1 =3D { 1, 2 }; struct { struct s sub; } s2 =3D { s1, .sub.y =3D 4 }; printf("%d %d\n", s2.sub.x, s2.sub.y); } ---------------------------------------------------------------------- Results: ---------------------------------------------------------------------- $ gcc -std=3Dc11 -pedantic -Wall -Wextra example.c && ./a.out 0 4 ---------------------------------------------------------------------- gcc version: gcc (GCC) 7.0.0 20160502 (experimental) It seems wrong that the initializer for the .sub.y subsubobject overrides t= he previously listed initializer for the whole .sub subobject, loosing explicit initialization of .sub.x. The relevant rule -- C11, 6.7.9p19: "The initialization shall occur in initializer list order, each initializer provided for a particular subobject overriding any previously listed initializer for the same subobject". It doesn't seem to cover this example. But, at least, the lack of warnings from gcc is wrong. For comparison: ---------------------------------------------------------------------- $ clang -std=3Dc11 -Weverything example.c && ./a.out example.c:6:43: warning: subobject initialization overrides initialization = of other fields within its enclosing subobject [-Winitializer-overrides] struct { struct s sub; } s2 =3D { s1, .sub.y =3D 4 }; ^~~~~~ example.c:6:35: note: previous initialization is here struct { struct s sub; } s2 =3D { s1, .sub.y =3D 4 }; ^~ 1 warning generated. 1 4 ---------------------------------------------------------------------- >>From gcc-bugs-return-523989-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 08:15:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26344 invoked by alias); 3 May 2016 08:15:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25942 invoked by uid 48); 3 May 2016 08:15:18 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/55901] [OOP] type is (character(len=*)) misinterpreted as array Date: Tue, 03 May 2016 08:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: rejects-valid 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: vehre at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00161.txt.bz2 Content-length: 457 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55901 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #17 from Dominique d'Humieres --- *** Bug 60561 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-523988-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 08:15:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26309 invoked by alias); 3 May 2016 08:15:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25896 invoked by uid 48); 3 May 2016 08:15:16 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/60561] ICE in gimplify_var_or_parm_decl, at gimplify.c:1721 for gfortran.dg/associate_1.f03 Date: Tue, 03 May 2016 08:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00160.txt.bz2 Content-length: 664 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60561 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #8 from Dominique d'Humieres --- This PR has been fixed between revisions r219797 (2015-01-17, ICE) and r219= 823 (2015-01-18). AFAICT it looks like a duplicate of pr55901 fixed by revision r219814. *** This bug has been marked as a duplicate of bug 55901 *** >>From gcc-bugs-return-523990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 08:27:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85771 invoked by alias); 3 May 2016 08:27:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85454 invoked by uid 48); 3 May 2016 08:27:06 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70913] ICE in gfc_encode_character, at fortran/target-memory.c:227 Date: Tue, 03 May 2016 08:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on blocked everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00162.txt.bz2 Content-length: 733 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70913 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-03 Blocks| |34740 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres --- Confirmed from 4.3.1 up to trunk (7.0). Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D34740 [Bug 34740] -fbounds-check with TRANSFER misses out of bounds in array assignment >>From gcc-bugs-return-523991-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 08:37:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63322 invoked by alias); 3 May 2016 08:37:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63199 invoked by uid 48); 3 May 2016 08:37:40 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70920] if ((intptr_t)ptr == 0) doesn't get simplified to if (ptr == 0) Date: Tue, 03 May 2016 08:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00163.txt.bz2 Content-length: 954 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70920 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-03 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. Not sure about the non-zero constants though. At least non-equality pointer compares are only valid for pointers to the same objec= t. This can be easily fixed with a new match.pd rule like (for cmp (ne eq) (simplify (cmp (convert @0) INTEGER_CST@1) (if (POINTER_TYPE_P (TREE_TYPE (@0))) (cmp @0 (convert @1))))) I wonder about the reverse transform when a is an integer and the cast is to a pointer type. I suppose we should strip the cast there as well. >>From gcc-bugs-return-523992-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 08:38:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66084 invoked by alias); 3 May 2016 08:38:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65965 invoked by uid 48); 3 May 2016 08:38:37 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70919] [6/7 Regression] wrong code at -O1 on x86_64-linux-gnu in 32-bit mode Date: Tue, 03 May 2016 08:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority component Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00164.txt.bz2 Content-length: 419 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70919 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Priority|P3 |P2 Component|rtl-optimization |tree-optimization >>From gcc-bugs-return-523993-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 08:39:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68698 invoked by alias); 3 May 2016 08:39:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68574 invoked by uid 48); 3 May 2016 08:39:43 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70918] Internal compiler error: Illegal instruction Date: Tue, 03 May 2016 08:39: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00165.txt.bz2 Content-length: 467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70918 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Richard Biener --- You likely made a mistake in building GCC. >>From gcc-bugs-return-523994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 08:45:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117005 invoked by alias); 3 May 2016 08:45:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100766 invoked by uid 48); 3 May 2016 08:45:04 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70916] [6/7 Regression] gcc ICE at -O3 on valid code on x86_64-linux-gnu in "tree_operand_check" Date: Tue, 03 May 2016 08:45: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00166.txt.bz2 Content-length: 1711 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70916 --- Comment #3 from Richard Biener --- (In reply to Jakub Jelinek from comment #2) > For the ICE the fix is easy: > --- tree-vect-patterns.c.jj1 2016-03-23 10:51:23.000000000 +0100 > +++ tree-vect-patterns.c 2016-05-03 08:39:17.779229143 +0200 > @@ -3673,8 +3673,10 @@ vect_recog_mask_conversion_pattern (vec< > if (!rhs1_type) > return NULL; > } > - else > + else if (COMPARISON_CLASS_P (rhs1)) > rhs1_type =3D TREE_TYPE (TREE_OPERAND (rhs1, 0)); > + else > + return NULL; >=20=20 > vectype2 =3D get_mask_type_for_scalar_type (rhs1_type); >=20=20 > now to figure out why tree-if-conv.c actually emitted something =3D 1 ? o= p2 : > op3; I supoose its fold_build_cond_expr doesn't work reliably anymore for some reason. Ah, constant_or_ssa_name fails to handle invariant ADDR_EXPRs. Index: gcc/tree-if-conv.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/tree-if-conv.c (revision 235738) +++ gcc/tree-if-conv.c (working copy) @@ -413,17 +413,9 @@ fold_or_predicates (location_t loc, tree static bool constant_or_ssa_name (tree n) { - switch (TREE_CODE (n)) - { - case SSA_NAME: - case INTEGER_CST: - case REAL_CST: - case COMPLEX_CST: - case VECTOR_CST: - return true; - default: - return false; - } + if (TREE_CODE (n) =3D=3D SSA_NAME + || is_gimple_min_invariant (n)) + return true; } /* Returns either a COND_EXPR or the folded expression if the folded >>From gcc-bugs-return-523995-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 08:47:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2610 invoked by alias); 3 May 2016 08:47:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2436 invoked by uid 48); 3 May 2016 08:47:42 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70854] ICE in gfc_process_block_locals, at fortran/trans-decl.c:6447 Date: Tue, 03 May 2016 08:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00167.txt.bz2 Content-length: 1040 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70854 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-03 Ever confirmed|0 |1 --- Comment #3 from Dominique d'Humieres --- Confirmed from gcc-5 up to trunk. Compiling the first test in comment 0 with 4.5 up to 4.9 gives an ICE even without -finit-*: pr70854.f90:6:0: internal compiler error: in gfc_process_block_locals, at fortran/trans-decl.c:5906 block While compiling the second test in comment 0 with -finit-* does not give an ICE, the linking fails with something such as Undefined symbols for architecture x86_64: "_a.3428", referenced from: _MAIN__ in ccTNe8Tp.o ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status >>From gcc-bugs-return-523996-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 08:57:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56852 invoked by alias); 3 May 2016 08:57:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 56596 invoked by uid 48); 3 May 2016 08:57:31 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70922] New: -Wparentheses warning should not complain about if-else from macro expansion Date: Tue, 03 May 2016 08:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00168.txt.bz2 Content-length: 1048 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70922 Bug ID: 70922 Summary: -Wparentheses warning should not complain about if-else from macro expansion Product: gcc Version: unknown Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org Target Milestone: --- As described here: https://sourceware.org/ml/gdb-patches/2016-04/msg00656.html I upgraded my host compiler to GCC 6.1 and started getting some -Werror bui= ld failures in gdb due to -Wparentheses, but the offending if-else structure c= ame from a macro expansion where the intended structure was obvious. It's been suggested that the GCC warning is unhelpful there and a regressio= n: https://sourceware.org/ml/gdb-patches/2016-05/msg00003.html Should -Wparentheses not trigger on such if-else structure coming from a ma= cro expansion? >>From gcc-bugs-return-523997-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 08:58:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68076 invoked by alias); 3 May 2016 08:58:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61486 invoked by uid 48); 3 May 2016 08:57:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70914] ICE in gimplify_var_or_parm_decl, at gimplify.c:1851 (and endless compilation) Date: Tue, 03 May 2016 08:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00169.txt.bz2 Content-length: 1480 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70914 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-03 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. Doesn't finish #1 0x000000000086b1e1 in poplevel (keep=3D1, functionbody=3D0) at /space/rguenther/src/svn/trunk/gcc/fortran/f95-lang.c:372 #2 0x000000000087c461 in gfc_finish_block (stmtblock=3D0x7fffffffda60) at /space/rguenther/src/svn/trunk/gcc/fortran/trans.c:250 #3 0x00000000008817a6 in trans_code (code=3D0x0, cond=3D) at /space/rguenther/src/svn/trunk/gcc/fortran/trans.c:1972 #4 0x00000000008817ea in gfc_trans_code (code=3D0x26c94c0) at /space/rguenther/src/svn/trunk/gcc/fortran/trans.c:1991 #5 0x00000000008b9696 in gfc_generate_function_code (ns=3D0x2748cf0) at /space/rguenther/src/svn/trunk/gcc/fortran/trans-decl.c:6154 #6 0x000000000088182e in gfc_generate_code (ns=3D0x2748cf0) at /space/rguenther/src/svn/trunk/gcc/fortran/trans.c:2008 #7 0x000000000081753e in translate_all_program_units ( gfc_global_ns_list=3D0x2748cf0) at /space/rguenther/src/svn/trunk/gcc/fortran/parse.c:5613 #8 0x0000000000817b4b in gfc_parse_file () >>From gcc-bugs-return-523998-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 09:00:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84246 invoked by alias); 3 May 2016 09:00:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83709 invoked by uid 48); 3 May 2016 09:00:00 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70912] reassociation width needs to be aware of FMA, width of expression, and other architectural details Date: Tue, 03 May 2016 09:00: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00170.txt.bz2 Content-length: 343 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70912 --- Comment #1 from Richard Biener --- reassoc-width is kind of a hack. To get optimal sequences for the target y= ou'd need to do this during insn-scheduling (which ideally should happen together with RA). Thus, make the scheduler able to re-associate ops. >>From gcc-bugs-return-523999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 09:05:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120231 invoked by alias); 3 May 2016 09:05:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119994 invoked by uid 55); 3 May 2016 09:05:20 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/56541] vectorizaton fails in conditional assignment of a constant Date: Tue, 03 May 2016 09:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: missed-optimization 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00171.txt.bz2 Content-length: 1462 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56541 --- Comment #3 from amker at gcc dot gnu.org --- Author: amker Date: Tue May 3 09:04:46 2016 New Revision: 235808 URL: https://gcc.gnu.org/viewcvs?rev=3D235808&root=3Dgcc&view=3Drev Log: PR tree-optimization/56541 * doc/invoke.texi (@item max-tree-if-conversion-phi-args): New item. * params.def (PARAM_MAX_TREE_IF_CONVERSION_PHI_ARGS): new param. * tree-if-conv.c (MAX_PHI_ARG_NUM): new macro. (any_complicated_phi): new static variable. (aggressive_if_conv): delete. (if_convertible_phi_p): support phis with more than two arguments. (if_convertible_bb_p): remvoe check on aggressive_if_conv and critical pred edges. (ifcvt_split_critical_edges): support phis with more than two arguments by checking new parameter. only split critical edges if needed. (tree_if_conversion): handle simd pragma marked loop using new local variable aggressive_if_conv. check any_complicated_phi. gcc/testsuite PR tree-optimization/56541 * gcc.dg/tree-ssa/ifc-pr56541.c: new test. * gcc.dg/vect/pr56541.c: new test. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/ifc-pr56541.c trunk/gcc/testsuite/gcc.dg/vect/pr56541.c Modified: trunk/gcc/ChangeLog trunk/gcc/doc/invoke.texi trunk/gcc/params.def trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-if-conv.c >>From gcc-bugs-return-524001-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 09:07:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3417 invoked by alias); 3 May 2016 09:07:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2788 invoked by uid 48); 3 May 2016 09:07:09 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70923] [7 regression] gcc.dg/vect/pr60092.c etc. FAIL Date: Tue, 03 May 2016 09:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00173.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70923 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 >>From gcc-bugs-return-524000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 09:07:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2833 invoked by alias); 3 May 2016 09:07:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2341 invoked by uid 48); 3 May 2016 09:06:59 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70923] New: [7 regression] gcc.dg/vect/pr60092.c etc. FAIL Date: Tue, 03 May 2016 09:07: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget cf_gccbuild attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00172.txt.bz2 Content-length: 1744 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70923 Bug ID: 70923 Summary: [7 regression] gcc.dg/vect/pr60092.c etc. FAIL Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Target Milestone: --- Host: sparc*-sun-solaris2.* Target: sparc*-sun-solaris2.* Build: sparc*-sun-solaris2.* Created attachment 38403 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38403&action=3Dedit pr60092.c.148t.vect Between 20160425 and 20160429, a couple of testcases started to FAIL on Solaris/SPARC, both 32 and 64-bit: FAIL: gcc.dg/vect/pr60092-2.c -flto -ffat-lto-objects scan-tree-dump vect "LOOP VECTORIZED" FAIL: gcc.dg/vect/pr60092-2.c scan-tree-dump vect "LOOP VECTORIZED" FAIL: gcc.dg/vect/pr60092.c -flto -ffat-lto-objects scan-tree-dump vect "L= OOP VECTORIZED" FAIL: gcc.dg/vect/pr60092.c scan-tree-dump vect "LOOP VECTORIZED" FAIL: gcc.dg/vect/slp-23.c -flto -ffat-lto-objects scan-tree-dump-times ve= ct "vectorizing stmts using SLP" 1 FAIL: gcc.dg/vect/slp-23.c scan-tree-dump-times vect "vectorizing stmts usi= ng SLP" 1 FAIL: gcc.dg/vect/slp-35.c -flto -ffat-lto-objects scan-tree-dump-times ve= ct "vectorized 1 loops" 1 FAIL: gcc.dg/vect/slp-35.c -flto -ffat-lto-objects scan-tree-dump-times ve= ct "vectorizing stmts using SLP" 1 FAIL: gcc.dg/vect/slp-35.c scan-tree-dump-times vect "vectorized 1 loops" 1 FAIL: gcc.dg/vect/slp-35.c scan-tree-dump-times vect "vectorizing stmts usi= ng SLP" 1 As an example, I'm attaching the pr60092.c dump. Rainer >>From gcc-bugs-return-524002-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 09:24:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41470 invoked by alias); 3 May 2016 09:24:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41107 invoked by uid 48); 3 May 2016 09:23:58 -0000 From: "ch3root at openwall dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70924] New: Wrong position for "warning: missing braces around initializer [-Wmissing-braces]" Date: Tue, 03 May 2016 09:24: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ch3root at openwall 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00174.txt.bz2 Content-length: 1905 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70924 Bug ID: 70924 Summary: Wrong position for "warning: missing braces around initializer [-Wmissing-braces]" Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ch3root at openwall dot com Target Milestone: --- Source code: ---------------------------------------------------------------------- int main() { struct { int w; struct { int x, y; } ss; } s =3D { 1, .ss =3D 2, 3 }; (void)s; } ---------------------------------------------------------------------- Results: ---------------------------------------------------------------------- $ gcc -std=3Dc11 -pedantic -Wall -Wextra -O3 test.c && ./a.out test.c: In function =E2=80=98main=E2=80=99: test.c:3:50: warning: missing braces around initializer [-Wmissing-braces] struct { int w; struct { int x, y; } ss; } s =3D { 1, .ss =3D 2, 3 }; ^ test.c:3:50: note: (near initialization for =E2=80=98s=E2=80=99) ---------------------------------------------------------------------- gcc version: gcc (GCC) 7.0.0 20160502 (experimental) I think the position of the warning should be closer to "2, 3". For comparison: ---------------------------------------------------------------------- $ clang -std=3Dc11 -Weverything -O3 test.c && ./a.out test.c:3:61: warning: suggest braces around initialization of subobject [-Wmissing-braces] struct { int w; struct { int x, y; } ss; } s =3D { 1, .ss =3D 2, 3 }; ^~~~ { } 1 warning generated. ---------------------------------------------------------------------- >>From gcc-bugs-return-524003-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 09:36:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10063 invoked by alias); 3 May 2016 09:36:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9773 invoked by uid 55); 3 May 2016 09:36:18 -0000 From: "bernds at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/44281] [4.9/5/6/7 Regression] Global Register variable pessimisation Date: Tue, 03 May 2016 09:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 4.5.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: bernds at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bernds at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00175.txt.bz2 Content-length: 1023 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D44281 --- Comment #26 from Bernd Schmidt --- Author: bernds Date: Tue May 3 09:35:42 2016 New Revision: 235809 URL: https://gcc.gnu.org/viewcvs?rev=3D235809&root=3Dgcc&view=3Drev Log: Fix PR44281, bad RA with global regs. PR rtl-optimization/44281 * hard-reg-set.h (struct target_hard_regs): New field x_fixed_nonglobal_reg_set. (fixed_nonglobal_reg_set): New macro. * reginfo.c (init_reg_sets_1): Initialize it. * ira.c (setup_alloc_regs): Use fixed_nonglobal_reg_set instead of fixed_reg_set. * df-scan.c (df_insn_refs_collect): Asms may reference global regs. testsuite/ PR rtl-optimization/44281 * gcc.target/i386/pr44281.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr44281.c Modified: trunk/gcc/ChangeLog trunk/gcc/df-scan.c trunk/gcc/hard-reg-set.h trunk/gcc/ira.c trunk/gcc/reginfo.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 09:41:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40711 invoked by alias); 3 May 2016 09:41:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40558 invoked by uid 48); 3 May 2016 09:41:31 -0000 From: "bernds at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/44281] [4.9/5/6/7 Regression] Global Register variable pessimisation Date: Tue, 03 May 2016 09:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 4.5.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: bernds at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bernds at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00176.txt.bz2 Content-length: 426 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D44281 Bernd Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #27 from Bernd Schmidt --- Fixed. >>From gcc-bugs-return-524005-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 09:44:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47250 invoked by alias); 3 May 2016 09:44:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46933 invoked by uid 48); 3 May 2016 09:44:03 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70526] [5/6 Regression] GCC 6 miscompiles Firefox JIT compiler Date: Tue, 03 May 2016 09:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00177.txt.bz2 Content-length: 1775 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 --- Comment #25 from Jonathan Wakely --- std::aligned_storage has no equivalent of the addr() member function that w= ould need adjusting, it's just the union U part of the AlignedStorage2 type in comment 23, where sizeof(T) is a template parameter, rather than T. __gnu_cxx::__aligned_buffer and __gnu_cxx::__aligned_membuf are simil= ar to the class template discussed above, but if I understand the issue correc= tly, they don't need adjusting because we don't misuse them. We create objects in them with placement new, and we don't attempt to use t= he aggregate copy (because that would obviously do the wrong thing). In fact I don't think we ever try to copy those objects. The closest we get to copying them would do something like: void f(__gnu_cxx::__aligned_buffer buf) { __gnu_cxx::__aligned_buffer buf2; X* x =3D ::new (buf2.addr()) X(*buf.ptr()); // use x x->~X(); } i.e. we create copies of the stored object using placement new, but don't c= opy the aligned buffer objects themselves. (In reply to Richard Biener from comment #20) > (In reply to Jan de Mooij from comment #17) > > So IIUC it's wrong to store to |typed| in the constructor, by doing thi= s: > >=20 > > *typed.addr() =3D reg; > >=20 > > Why is that? Any suggestions on how to fix this on our end? >=20 > No, it's valid to do that. It's only valid because Register is a trivial type. Otherwise you'd be assigning to an object which was never constructed, i.e. it's lifetime never started. In the general case the safe way to construct that object is with placement new: ::new ((void*)typed.addr()) Register(reg); This begins the lifetime of a Register object at the desired location. >>From gcc-bugs-return-524006-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 09:47:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53012 invoked by alias); 3 May 2016 09:47:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52790 invoked by uid 55); 3 May 2016 09:47:40 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70526] [5/6 Regression] GCC 6 miscompiles Firefox JIT compiler Date: Tue, 03 May 2016 09:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00178.txt.bz2 Content-length: 2338 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 --- Comment #26 from rguenther at suse dot de --- On Tue, 3 May 2016, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 >=20 > --- Comment #25 from Jonathan Wakely --- > std::aligned_storage has no equivalent of the addr() member function that= would > need adjusting, it's just the union U part of the AlignedStorage2 type in > comment 23, where sizeof(T) is a template parameter, rather than T. >=20 > __gnu_cxx::__aligned_buffer and __gnu_cxx::__aligned_membuf are sim= ilar > to the class template discussed above, but if I understand the issue corr= ectly, > they don't need adjusting because we don't misuse them. >=20 > We create objects in them with placement new, and we don't attempt to use= the > aggregate copy (because that would obviously do the wrong thing). In fact= I > don't think we ever try to copy those objects. The closest we get to copy= ing > them would do something like: >=20 > void f(__gnu_cxx::__aligned_buffer buf) > { > __gnu_cxx::__aligned_buffer buf2; > X* x =3D ::new (buf2.addr()) X(*buf.ptr()); > // use x > x->~X(); > } >=20 > i.e. we create copies of the stored object using placement new, but don't= copy > the aligned buffer objects themselves. >=20 >=20 > (In reply to Richard Biener from comment #20) > > (In reply to Jan de Mooij from comment #17) > > > So IIUC it's wrong to store to |typed| in the constructor, by doing t= his: > > >=20 > > > *typed.addr() =3D reg; > > >=20 > > > Why is that? Any suggestions on how to fix this on our end? > >=20 > > No, it's valid to do that. >=20 > It's only valid because Register is a trivial type. Otherwise you'd be > assigning to an object which was never constructed, i.e. it's lifetime ne= ver > started. >=20 > In the general case the safe way to construct that object is with placeme= nt > new: >=20 > ::new ((void*)typed.addr()) Register(reg); >=20 > This begins the lifetime of a Register object at the desired location. std::aligned_storage has the requirement of a POD type T. So I wondered about whether the intent was to make copying it by plain assignment possible. Using std::memcpy() on the object would always work at least as that is documented for POD types. >>From gcc-bugs-return-524007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 09:49:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65635 invoked by alias); 3 May 2016 09:49:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65536 invoked by uid 48); 3 May 2016 09:49:07 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70101] Allocator-extended priority_queue constructors are badly broken Date: Tue, 03 May 2016 09:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00179.txt.bz2 Content-length: 621 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70101 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-03 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu= .org Ever confirmed|0 |1 --- Comment #2 from Jonathan Wakely --- Thanks. It's a good thing nobody uses those constructors then ;) >>From gcc-bugs-return-524008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 09:56:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86135 invoked by alias); 3 May 2016 09:56:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85914 invoked by uid 48); 3 May 2016 09:55:56 -0000 From: "palves at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70922] -Wparentheses warning should not complain about if-else from macro expansion Date: Tue, 03 May 2016 09:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: palves at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00180.txt.bz2 Content-length: 1109 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70922 Pedro Alves changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |palves at redhat dot com --- Comment #1 from Pedro Alves --- Reproducer: struct obj_section { void *the_bfd_section; }; int condition; struct obj_section sections[2]; struct obj_section *sections_end; #define ALL_OBJFILE_OSECTIONS(objfile, osect) \ for (osect =3D sections; osect < sections_end; osect++) \ if (osect->the_bfd_section =3D=3D 0) = \ { \ /* Nothing. */ \ } \ else int main () { struct obj_section *osect; if (condition) ALL_OBJFILE_OSECTIONS (o, osect) if (osect =3D=3D sections_end) return 0; return 0; } >>From gcc-bugs-return-524009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 09:57:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88440 invoked by alias); 3 May 2016 09:57:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87774 invoked by uid 48); 3 May 2016 09:57:07 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70526] [5/6 Regression] GCC 6 miscompiles Firefox JIT compiler Date: Tue, 03 May 2016 09:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00181.txt.bz2 Content-length: 552 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 --- Comment #27 from Jonathan Wakely --- (In reply to rguenther@suse.de from comment #26) > std::aligned_storage has the requirement of a POD type T. So I > wondered about whether the intent was to make copying it by plain > assignment possible. Using std::memcpy() on the object would always > work at least as that is documented for POD types. It means that the aligned_storage::type must be a POD type, not that you= can only store POD types in such buffers. >>From gcc-bugs-return-524010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 09:58:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123830 invoked by alias); 3 May 2016 09:58:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123390 invoked by uid 48); 3 May 2016 09:58:34 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70526] [5/6 Regression] GCC 6 miscompiles Firefox JIT compiler Date: Tue, 03 May 2016 09: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: 6.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00182.txt.bz2 Content-length: 282 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70526 --- Comment #28 from Jonathan Wakely --- (As I mentioned, std::aligned_storage takes a size as its template argument, not a type, so it can't put requirements on a type T, since there is no typ= e T :) >>From gcc-bugs-return-524011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 09:58:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124703 invoked by alias); 3 May 2016 09:58:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123671 invoked by uid 48); 3 May 2016 09:58:44 -0000 From: "bernds at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Tue, 03 May 2016 09:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: bernds at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00183.txt.bz2 Content-length: 1532 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #10 from Bernd Schmidt --- Looks to me like epilogue_completed would be a good predicate. I'll put the following in a bootstrap, let me know if you're OK with this patch. Index: i386.md =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- i386.md (revision 235808) +++ i386.md (working copy) @@ -5196,12 +5196,13 @@ (define_split ;; Break partial reg stall for cvtsd2ss. -(define_peephole2 +(define_split [(set (match_operand:SF 0 "register_operand") (float_truncate:SF (match_operand:DF 1 "nonimmediate_operand")))] "TARGET_SSE2 && TARGET_SSE_MATH && TARGET_SSE_PARTIAL_REG_DEPENDENCY + && epilogue_completed && optimize_function_for_speed_p (cfun) && SSE_REG_P (operands[0]) && (!SSE_REG_P (operands[1]) @@ -5223,13 +5224,14 @@ (define_peephole2 ;; Break partial reg stall for cvtss2sd. -(define_peephole2 +(define_split [(set (match_operand:DF 0 "register_operand") (float_extend:DF (match_operand:SF 1 "nonimmediate_operand")))] "TARGET_SSE2 && TARGET_SSE_MATH && TARGET_SSE_PARTIAL_REG_DEPENDENCY + && epilogue_completed && optimize_function_for_speed_p (cfun) && SSE_REG_P (operands[0]) && (!SSE_REG_P (operands[1]) || REGNO (operands[0]) !=3D REGNO (operands[1])) >>From gcc-bugs-return-524012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 10:00:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7336 invoked by alias); 3 May 2016 10:00:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6817 invoked by uid 48); 3 May 2016 09:59:57 -0000 From: "palves at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70922] -Wparentheses warning should not complain about if-else from macro expansion Date: Tue, 03 May 2016 10:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: palves at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00184.txt.bz2 Content-length: 742 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70922 --- Comment #2 from Pedro Alves --- I noticed that this triggers with C++, but not with C. (GDB recently switc= hed to building as C++ program by default.) With g++ 20160407 (what I have handy): $ /opt/gcc/bin/g++ parens.c -o parens -Wall -Wparentheses parens.c: In function =E2=80=98int main()=E2=80=99: parens.c:24:6: warning: suggest explicit braces to avoid ambiguous =E2=80= =98else=E2=80=99 [-Wparentheses] if (condition) ^ But with gcc (still 20160407): $ /opt/gcc/bin/gcc parens.c -o parens -Wall -Wparentheses $=20 Fedora 23's g++ 5.3.1 20160406 (Red Hat 5.3.1-6) does not warn: $ g++ parens.c -o parens -Wall -Wparentheses $ >>From gcc-bugs-return-524013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 10:00:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8458 invoked by alias); 3 May 2016 10:00:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8294 invoked by uid 48); 3 May 2016 10:00:32 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70898] Stateful Compare objects are very slow Date: Tue, 03 May 2016 10: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: 4.8.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00185.txt.bz2 Content-length: 518 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70898 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #3 from Jonathan Wakely --- This is being tracked as PR 51965 *** This bug has been marked as a duplicate of bug 51965 *** >>From gcc-bugs-return-524014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 10:00:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9642 invoked by alias); 3 May 2016 10:00:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8427 invoked by uid 48); 3 May 2016 10:00:38 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/51965] Redundant move constructions in heap algorithms Date: Tue, 03 May 2016 10: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: 4.7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00186.txt.bz2 Content-length: 444 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51965 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gccbugs at jbapple dot com --- Comment #15 from Jonathan Wakely --- *** Bug 70898 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-524015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 10:04:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28848 invoked by alias); 3 May 2016 10:04:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28624 invoked by uid 48); 3 May 2016 10:03:48 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70893] codecvt incorrectly decodes UTF-16be Date: Tue, 03 May 2016 10:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.3.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00187.txt.bz2 Content-length: 545 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70893 --- Comment #3 from Jonathan Wakely --- (In reply to =D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB from comment #2) > ... > Just realized its wrong endianness problem.=20 > codecvt_utf8_utf16 should assume utf16be by default, right? Apparently, n= o. No. It works with the native endianness of the system, if I understand the = spec correctly. i.e. it's for converting between UTF-8 and in-memory UTF-16 sequences using the native endianness. But the spec is a total mess. >>From gcc-bugs-return-524016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 10:05:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30993 invoked by alias); 3 May 2016 10:05:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30745 invoked by uid 48); 3 May 2016 10:05:13 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70893] codecvt incorrectly decodes UTF-16be Date: Tue, 03 May 2016 10:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.3.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00188.txt.bz2 Content-length: 226 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70893 --- Comment #4 from Jonathan Wakely --- If you think there's a bug here please provide a testcase that compiles and produces an incorrect result. >>From gcc-bugs-return-524017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 10:05:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33355 invoked by alias); 3 May 2016 10:05:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32782 invoked by uid 48); 3 May 2016 10:05:44 -0000 From: "palves at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70922] -Wparentheses warning should not complain about if-else from macro expansion Date: Tue, 03 May 2016 10:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: palves at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00189.txt.bz2 Content-length: 344 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70922 --- Comment #3 from Pedro Alves --- > I noticed that this triggers with C++, but not with C. (GDB recently swi= tched > to building as C++ program by default.) I've built trunk now (gcc version 7.0.0 20160503), and I now get the same warning on both C and C++. >>From gcc-bugs-return-524018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 10:07:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44850 invoked by alias); 3 May 2016 10:07:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44647 invoked by uid 48); 3 May 2016 10:06:50 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Tue, 03 May 2016 10:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00190.txt.bz2 Content-length: 410 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #11 from Uro=C5=A1 Bizjak --- (In reply to Bernd Schmidt from comment #10) > Looks to me like epilogue_completed would be a good predicate. I'll put t= he > following in a bootstrap, let me know if you're OK with this patch. I was testing exactly the same patch ;) So, patch preapproved after the usual test cycle. >>From gcc-bugs-return-524019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 10:08:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103314 invoked by alias); 3 May 2016 10:08:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99668 invoked by uid 48); 3 May 2016 10:08:30 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70898] Stateful Compare objects are very slow Date: Tue, 03 May 2016 10:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.8.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00191.txt.bz2 Content-length: 368 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70898 --- Comment #4 from Marc Glisse --- (In reply to Jonathan Wakely from comment #3) > This is being tracked as PR 51965 PR 51965 seems to be about extra copies of the values, while this one is mo= re about extra copies of compare objects (then there are also extra copies of iterators). >>From gcc-bugs-return-524020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 10:16:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31546 invoked by alias); 3 May 2016 10:16:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31121 invoked by uid 48); 3 May 2016 10:16:39 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/67085] priority queue should not copy comparators when calling push_heap and pop_heap Date: Tue, 03 May 2016 10:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00192.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67085 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |NEW Resolution|DUPLICATE |--- --- Comment #7 from Jonathan Wakely --- Marc pointed out this isn't the same issue as 51965, so reopening. >>From gcc-bugs-return-524022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 10:17:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33550 invoked by alias); 3 May 2016 10:17:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32837 invoked by uid 48); 3 May 2016 10:17:30 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70898] Stateful Compare objects are very slow Date: Tue, 03 May 2016 10: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: 4.8.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00194.txt.bz2 Content-length: 266 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70898 --- Comment #5 from Jonathan Wakely --- Ah, then it's a dup of PR 67085 (which I had incorrectly marked as a dup of 51965). *** This bug has been marked as a duplicate of bug 67085 *** >>From gcc-bugs-return-524021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 10:17:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33540 invoked by alias); 3 May 2016 10:17:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32971 invoked by uid 48); 3 May 2016 10:17:31 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/67085] priority queue should not copy comparators when calling push_heap and pop_heap Date: Tue, 03 May 2016 10: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00193.txt.bz2 Content-length: 443 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67085 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gccbugs at jbapple dot com --- Comment #8 from Jonathan Wakely --- *** Bug 70898 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-524023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 10:30:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53224 invoked by alias); 3 May 2016 10:30:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51421 invoked by uid 55); 3 May 2016 10:30:30 -0000 From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70687] Undefined shift in change_zero_ext in combine.c Date: Tue, 03 May 2016 10:30: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rsandifo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00195.txt.bz2 Content-length: 945 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70687 --- Comment #4 from rsandifo at gcc dot gnu.org --- Author: rsandifo Date: Tue May 3 10:29:55 2016 New Revision: 235811 URL: https://gcc.gnu.org/viewcvs?rev=3D235811&root=3Dgcc&view=3Drev Log: PR 70687: Use wide_int in combine.c:change_zero_ext PR 70687 reports a case where combine.c mishandles integer modes wider than unsigned HOST_WIDE_INT. I don't have a testcase since the PR is just pointing out the hole. Also, I think a ZERO_EXTEND of a vector mode could in principle satisfy the subreg condition but wouldn't be equivalent to an AND. E.g.: (zero_extend:V4DI (subreg:V4SI (reg:V4DI R) 0)) Tested on x86_64-linux-gnu. gcc/ PR rtl-optimization/70687 * combine.c (change_zero_ext): Check for scalar modes. Use wide_int instead of unsigned HOST_WIDE_INT. Modified: trunk/gcc/ChangeLog trunk/gcc/combine.c >>From gcc-bugs-return-524024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 10:33:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64436 invoked by alias); 3 May 2016 10:33:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63586 invoked by uid 48); 3 May 2016 10:33:08 -0000 From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70687] Undefined shift in change_zero_ext in combine.c Date: Tue, 03 May 2016 10:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rsandifo at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00196.txt.bz2 Content-length: 468 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70687 rsandifo at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from rsandifo at gcc dot gnu.org --- Fixed on trunk. >>From gcc-bugs-return-524025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 10:51:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2035 invoked by alias); 3 May 2016 10:51:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1241 invoked by uid 48); 3 May 2016 10:51:44 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70868] Assigning constructed temporary of class with nontrivial constructor uses unnecessary temporary Date: Tue, 03 May 2016 10:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00197.txt.bz2 Content-length: 402 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70868 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-03 Ever confirmed|0 |1 >>From gcc-bugs-return-524026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 11:20:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46481 invoked by alias); 3 May 2016 11:20:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35283 invoked by uid 48); 3 May 2016 11:20:33 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70854] ICE in gfc_process_block_locals, at fortran/trans-decl.c:6447 Date: Tue, 03 May 2016 11:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00198.txt.bz2 Content-length: 676 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70854 --- Comment #4 from Dominique d'Humieres --- > $ make check-fortran RUNTESTFLAGS=3D"--target_board=3Dunix/-finit-local-z= ero" > ... > # of expected passes 38678 > # of unexpected failures 293 > # of expected failures 45 > # of unresolved testcases 14 > # of unsupported tests 407 On a patched trunk (7.0) I get # of expected passes 38954 # of unexpected failures 53 # of expected failures 45 # of unresolved testcases 14 # of unsupported tests 396 none of the unexpected failures being related to this PR. >>From gcc-bugs-return-524027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 11:32:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107738 invoked by alias); 3 May 2016 11:32:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106211 invoked by uid 48); 3 May 2016 11:32:41 -0000 From: "gentryx at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70925] New: Vectorized loop segfaults: read exceeds vector boundary Date: Tue, 03 May 2016 11:32: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gentryx at gmx 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00199.txt.bz2 Content-length: 1507 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70925 Bug ID: 70925 Summary: Vectorized loop segfaults: read exceeds vector boundary Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gentryx at gmx dot de Target Milestone: --- I've stumbled across a case where may vectorize a loop and the resulting assembly will cause a segfault when the read operation exceeds a vector boundary. Only happens with -O3 and -march=3Dnative. Tested compilers: icpc 15.0.6: works clang++ 3.8.0: works g++-4.7.4: works g++-4.8.5: works g++-4.9.3: fails g++-5.3.0: fails System: Gentoo Linux (observed on other systems, too), Intel Core i7-6700HQ Command line: g++-5.3.0 test_lfa_lgd.ii -o test -O3 -fno-strict-aliasing -fwrapv -std=3Dc++11 && ./test Output: Segmentation fault. GDB disassembly of the segfault site: =3D> 0x0000000000406612 <+22514>: vmovapd (%r11,%rcx,1),%ymm0 0x0000000000406618 <+22520>: add $0x1,%rdi 0x000000000040661c <+22524>: vmovups %xmm0,(%rsi,%rcx,1) 0x0000000000406621 <+22529>: vextractf128 $0x1,%ymm0,0x10(%rsi,%rcx,1) 0x0000000000406629 <+22537>: add $0x20,%rcx 0x000000000040662d <+22541>: cmp %rdi,%r12 0x0000000000406630 <+22544>: ja 0x406612 Please let me know if I can provide any further details. >>From gcc-bugs-return-524028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 11:36:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123029 invoked by alias); 3 May 2016 11:36:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120991 invoked by uid 48); 3 May 2016 11:36:09 -0000 From: "gentryx at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70925] Vectorized loop segfaults: read exceeds vector boundary Date: Tue, 03 May 2016 11:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gentryx at gmx 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: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00200.txt.bz2 Content-length: 580 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70925 Andreas Schaefer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gentryx at gmx dot de --- Comment #1 from Andreas Schaefer --- Created attachment 38404 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38404&action=3Dedit Preprocessed source file for bug reproduction Compression was necessary as original file is 5MB in size. >>From gcc-bugs-return-524029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 11:38:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127321 invoked by alias); 3 May 2016 11:38:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127169 invoked by uid 55); 3 May 2016 11:37:59 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49244] __sync or __atomic builtins will not emit 'lock bts/btr/btc' Date: Tue, 03 May 2016 11:38: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: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00201.txt.bz2 Content-length: 2014 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49244 --- Comment #19 from Jakub Jelinek --- Author: jakub Date: Tue May 3 11:37:25 2016 New Revision: 235813 URL: https://gcc.gnu.org/viewcvs?rev=3D235813&root=3Dgcc&view=3Drev Log: PR target/49244 * tree-ssa-ccp.c: Include stor-layout.h and optabs-query.h. (optimize_atomic_bit_test_and): New function. (pass_fold_builtins::execute): Use it. * optabs.def (atomic_bit_test_and_set_optab, atomic_bit_test_and_complement_optab, atomic_bit_test_and_reset_optab): New optabs. * internal-fn.def (ATOMIC_BIT_TEST_AND_SET, ATOMIC_BIT_TEST_AND_COMPLEMENT, ATOMIC_BIT_TEST_AND_RESET): New ifn= s. * builtins.h (expand_ifn_atomic_bit_test_and): New prototype. * builtins.c (expand_ifn_atomic_bit_test_and): New function. * internal-fn.c (expand_ATOMIC_BIT_TEST_AND_SET, expand_ATOMIC_BIT_TEST_AND_COMPLEMENT, expand_ATOMIC_BIT_TEST_AND_RESET): New functions. * doc/md.texi (atomic_bit_test_and_set@var{mode}, atomic_bit_test_and_complement@var{mode}, atomic_bit_test_and_reset@var{mode}): Document. * config/i386/sync.md (atomic_bit_test_and_set, atomic_bit_test_and_complement, atomic_bit_test_and_reset): New expanders. (atomic_bit_test_and_set_1, atomic_bit_test_and_complement_1, atomic_bit_test_and_reset_1): New insns. * gcc.target/i386/pr49244-1.c: New test. * gcc.target/i386/pr49244-2.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr49244-1.c trunk/gcc/testsuite/gcc.target/i386/pr49244-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/builtins.c trunk/gcc/builtins.h trunk/gcc/config/i386/sync.md trunk/gcc/doc/md.texi trunk/gcc/internal-fn.c trunk/gcc/internal-fn.def trunk/gcc/optabs.def trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-ccp.c >>From gcc-bugs-return-524030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 11:39:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129071 invoked by alias); 3 May 2016 11:39:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128910 invoked by uid 55); 3 May 2016 11:39:10 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70916] [6/7 Regression] gcc ICE at -O3 on valid code on x86_64-linux-gnu in "tree_operand_check" Date: Tue, 03 May 2016 11:39: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: 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00202.txt.bz2 Content-length: 662 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70916 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue May 3 11:38:38 2016 New Revision: 235814 URL: https://gcc.gnu.org/viewcvs?rev=3D235814&root=3Dgcc&view=3Drev Log: PR tree-optimization/70916 * tree-vect-patterns.c (vect_recog_mask_conversion_pattern): Give up if COND_EXPR rhs1 is neither SSA_NAME nor COMPARISON_CLASS_P. * gcc.c-torture/compile/pr70916.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr70916.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-patterns.c >>From gcc-bugs-return-524031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 11:43:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39038 invoked by alias); 3 May 2016 11:43:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38897 invoked by uid 55); 3 May 2016 11:43:38 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70916] [6/7 Regression] gcc ICE at -O3 on valid code on x86_64-linux-gnu in "tree_operand_check" Date: Tue, 03 May 2016 11:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00203.txt.bz2 Content-length: 507 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70916 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue May 3 11:43:06 2016 New Revision: 235815 URL: https://gcc.gnu.org/viewcvs?rev=3D235815&root=3Dgcc&view=3Drev Log: PR tree-optimization/70916 * tree-if-conv.c (constant_or_ssa_name): Removed. (fold_build_cond_expr): Use is_gimple_val instead of constant_or_ssa_name. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-if-conv.c >>From gcc-bugs-return-524032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 11:46:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59207 invoked by alias); 3 May 2016 11:46:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57113 invoked by uid 55); 3 May 2016 11:45:50 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable Date: Tue, 03 May 2016 11:46: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00204.txt.bz2 Content-length: 1202 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70467 --- Comment #12 from Jakub Jelinek --- Author: jakub Date: Tue May 3 11:45:04 2016 New Revision: 235816 URL: https://gcc.gnu.org/viewcvs?rev=3D235816&root=3Dgcc&view=3Drev Log: PR rtl-optimization/70467 * config/i386/predicates.md (x86_64_hilo_int_operand, x86_64_hilo_general_operand): New predicates. * config/i386/constraints.md (Wd): New constraint. * config/i386/i386.md (mode attr di): Use Wd instead of e. (general_hilo_operand): New mode attr. (add3, sub3): Use instead of . (*add3_doubleword, *sub3_doubleword): Use x86_64_hilo_general_operand instead of . * gcc.target/i386/pr70467-3.c: New test. * gcc.target/i386/pr70467-4.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr70467-3.c trunk/gcc/testsuite/gcc.target/i386/pr70467-4.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/constraints.md trunk/gcc/config/i386/i386.md trunk/gcc/config/i386/predicates.md trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 11:50:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64879 invoked by alias); 3 May 2016 11:50:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64606 invoked by uid 48); 3 May 2016 11:50:05 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70925] Vectorized loop segfaults: read exceeds vector boundary Date: Tue, 03 May 2016 11:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00205.txt.bz2 Content-length: 237 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70925 --- Comment #2 from Richard Biener --- Please show the output when you append -v to the command-line (to tell us what -march=3Dnative expands to for you) >>From gcc-bugs-return-524034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 11:56:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117530 invoked by alias); 3 May 2016 11:56:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 117368 invoked by uid 48); 3 May 2016 11:56:10 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70923] [7 regression] gcc.dg/vect/pr60092.c etc. FAIL Date: Tue, 03 May 2016 11:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00206.txt.bz2 Content-length: 1123 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70923 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-03 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- I think this is the x + x -> 2 * x canonicalization we now perform. That's= bad when the target cannot vectorize integer multiplication. We have vect_recog_mult_pattern that should have triggered here but that only tries replacement with LSHIFT_EXPR rather than also a simple plus for 2 * x. Likely caused by 2016-04-26 Marc Glisse * genmatch.c (write_predicate): Add ATTRIBUTE_UNUSED. * fold-const.c (fold_binary_loc): Remove 2 transformations superseded by match.pd. * match.pd (x+x -> x*2): Generalize to integers. >>From gcc-bugs-return-524035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 12:06:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25919 invoked by alias); 3 May 2016 12:06:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25751 invoked by uid 48); 3 May 2016 12:06:37 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70903] [4.9/5/6/7 Regression] wrong code with bfi @ aarch64 with -Os Date: Tue, 03 May 2016 12:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00207.txt.bz2 Content-length: 529 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70903 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-03 CC| |ktkachov at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from ktkachov at gcc dot gnu.org --- Confirmed. >>From gcc-bugs-return-524036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 12:20:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86822 invoked by alias); 3 May 2016 12:20:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86692 invoked by uid 48); 3 May 2016 12:20:21 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70903] [4.9/5/6/7 Regression] wrong code with bfi @ aarch64 with -Os Date: Tue, 03 May 2016 12:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00208.txt.bz2 Content-length: 189 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70903 --- Comment #2 from ktkachov at gcc dot gnu.org --- -fno-rerun-cse-after-loop "fixes" the tescase. cse2 is where it starts to go wrong >>From gcc-bugs-return-524037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 12:25:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93534 invoked by alias); 3 May 2016 12:25:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93420 invoked by uid 48); 3 May 2016 12:25:31 -0000 From: "kugan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70841] reassoc fails to handle FP division Date: Tue, 03 May 2016 12:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: kugan at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00209.txt.bz2 Content-length: 488 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70841 kugan at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kugan at gcc dot gnu.org --- Comment #2 from kugan at gcc dot gnu.org --- Created attachment 38405 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38405&action=3Dedit prototype patch Untested prototype patch. >>From gcc-bugs-return-524038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 12:29:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99160 invoked by alias); 3 May 2016 12:29:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99039 invoked by uid 48); 3 May 2016 12:29:36 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70903] [4.9/5/6/7 Regression] wrong code with bfi @ aarch64 with -Os Date: Tue, 03 May 2016 12:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00210.txt.bz2 Content-length: 838 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70903 --- Comment #3 from ktkachov at gcc dot gnu.org --- Although, that seems to be exposing something else that's fishy, looking at= the combine dumps I see it combining: (insn 19 42 20 2 (set (subreg:DI (reg:QI 94) 0) (const_int 255 [0xff])) bfi.c:7 50 {*movdi_aarch64} (nil)) (insn 20 19 21 2 (set (reg:DI 95) (subreg:DI (reg:QI 94) 0)) bfi.c:7 50 {*movdi_aarch64} (expr_list:REG_DEAD (reg:QI 94) (expr_list:REG_EQUAL (const_int 255 [0xff]) (nil)))) into: (insn 20 19 21 2 (set (reg:DI 95) (const_int -1 [0xffffffffffffffff])) bfi.c:7 50 {*movdi_aarch64} (expr_list:REG_EQUAL (const_int 255 [0xff]) (nil))) That's where the -1 comes from. Need to see why the reg94 :=3D 255 was represented that way (with a subreg) >>From gcc-bugs-return-524039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 12:46:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78049 invoked by alias); 3 May 2016 12:46:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77936 invoked by uid 48); 3 May 2016 12:46:21 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Tue, 03 May 2016 12:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00211.txt.bz2 Content-length: 1742 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #12 from H.J. Lu --- (In reply to Bernd Schmidt from comment #10) > Looks to me like epilogue_completed would be a good predicate. I'll put t= he > following in a bootstrap, let me know if you're OK with this patch. >=20 > Index: i386.md > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- i386.md (revision 235808) > +++ i386.md (working copy) > @@ -5196,12 +5196,13 @@ (define_split >=20=20 > ;; Break partial reg stall for cvtsd2ss. >=20=20 > -(define_peephole2 > +(define_split > [(set (match_operand:SF 0 "register_operand") > (float_truncate:SF > (match_operand:DF 1 "nonimmediate_operand")))] > "TARGET_SSE2 && TARGET_SSE_MATH > && TARGET_SSE_PARTIAL_REG_DEPENDENCY > + && epilogue_completed > && optimize_function_for_speed_p (cfun) > && SSE_REG_P (operands[0]) > && (!SSE_REG_P (operands[1]) > @@ -5223,13 +5224,14 @@ (define_peephole2 >=20=20 > ;; Break partial reg stall for cvtss2sd. >=20=20 > -(define_peephole2 > +(define_split > [(set (match_operand:DF 0 "register_operand") > (float_extend:DF > (match_operand:SF 1 "nonimmediate_operand")))] > "TARGET_SSE2 && TARGET_SSE_MATH > && TARGET_SSE_PARTIAL_REG_DEPENDENCY > + && epilogue_completed > && optimize_function_for_speed_p (cfun) > && SSE_REG_P (operands[0]) > && (!SSE_REG_P (operands[1]) > || REGNO (operands[0]) !=3D REGNO (operands[1])) I still see: vcvtss2sd (%ecx,%eax,4), %xmm5, %xmm5 without vxorpd. >>From gcc-bugs-return-524040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 12:53:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115003 invoked by alias); 3 May 2016 12:53:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114856 invoked by uid 48); 3 May 2016 12:52:53 -0000 From: "gentryx at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70925] Vectorized loop segfaults: read exceeds vector boundary Date: Tue, 03 May 2016 12:53: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gentryx at gmx 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00212.txt.bz2 Content-length: 5729 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70925 --- Comment #3 from Andreas Schaefer --- Output of -v below: gentryx@neuromancer ~ $ LANG=3Den g++-5.3.0 test_lfa_lgd.ii -v -o test -O3 -march=3Dnative -fno-strict-aliasing -fwrapv -std=3Dc++11 && ./test Using built-in specs. COLLECT_GCC=3D/usr/bin/g++-5.3.0 COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/x86_64-pc-linux-gnu/5.3.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-5.3.0/work/gcc-5.3.0/config= ure --host=3Dx86_64-pc-linux-gnu --build=3Dx86_64-pc-linux-gnu --prefix=3D/usr --bindir=3D/usr/x86_64-pc-linux-gnu/gcc-bin/5.3.0 --includedir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include --datadir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/5.3.0 --mandir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/5.3.0/man --infodir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/5.3.0/info --with-gxx-include-dir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++= -v5 --with-python-dir=3D/share/gcc-data/x86_64-pc-linux-gnu/5.3.0/python --enable-languages=3Dc,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=3Drelease --with-bugurl=3Dhttps://bugs.gentoo.org/ --with-pkgversion=3D'Gentoo 5.3.0 p1.0, pie-0.6.5' --enable-libstdcxx-time --enable-shared --enable-threads=3Dposix --enable-__cxa_atexit --enable-clocale=3Dgnu --enable-multilib --with-multilib-list=3Dm32,m64 --disable-altivec --disable-fixed-point --enable-targets=3Dall --disable-li= bgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --enable-lto --without-isl --enable-libsanitizer Thread model: posix gcc version 5.3.0 (Gentoo 5.3.0 p1.0, pie-0.6.5)=20 COLLECT_GCC_OPTIONS=3D'-v' '-o' 'test' '-O3' '-march=3Dnative' '-fno-strict-aliasing' '-fwrapv' '-std=3Dc++11' '-shared-libgcc' /usr/libexec/gcc/x86_64-pc-linux-gnu/5.3.0/cc1plus -fpreprocessed test_lfa_lgd.ii -march=3Dbroadwell -mmmx -mno-3dnow -msse -msse2 -msse3 -ms= sse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mbmi2 -mno-tbm -mavx -mavx2 -msse4= .2 -msse4.1 -mlzcnt -mrtm -mhle -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -m= adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mclflushopt -mxsavec -mxsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-pcommit -mno-mwaitx --param l1-cache-size=3D32 --param l1-cache-line-s= ize=3D64 --param l2-cache-size=3D6144 -mtune=3Dgeneric -quiet -dumpbase test_lfa_lgd= .ii -auxbase test_lfa_lgd -O3 -std=3Dc++11 -version -fno-strict-aliasing -fwrapv -fstack-protector-strong -o /tmp/ccM4vnw7.s GNU C++11 (Gentoo 5.3.0 p1.0, pie-0.6.5) version 5.3.0 (x86_64-pc-linux-gnu) compiled by GNU C version 5.3.0, GMP version 6.1.0, MPFR version 3.1.3-p4, MPC version 1.0.3 warning: MPFR header version 3.1.3-p4 differs from library version 3.1.4. GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU C++11 (Gentoo 5.3.0 p1.0, pie-0.6.5) version 5.3.0 (x86_64-pc-linux-gnu) compiled by GNU C version 5.3.0, GMP version 6.1.0, MPFR version 3.1.3-p4, MPC version 1.0.3 warning: MPFR header version 3.1.3-p4 differs from library version 3.1.4. GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: 920cffacca9080f34bc3ca7962bbc82b COLLECT_GCC_OPTIONS=3D'-v' '-o' 'test' '-O3' '-march=3Dnative' '-fno-strict-aliasing' '-fwrapv' '-std=3Dc++11' '-shared-libgcc' /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/bin= /as -v --64 -o /tmp/ccab7hZd.o /tmp/ccM4vnw7.s GNU assembler version 2.25.1 (x86_64-pc-linux-gnu) using BFD version (Gentoo 2.25.1 p1.1) 2.25.1 COMPILER_PATH=3D/usr/libexec/gcc/x86_64-pc-linux-gnu/5.3.0/:/usr/libexec/gc= c/x86_64-pc-linux-gnu/5.3.0/:/usr/libexec/gcc/x86_64-pc-linux-gnu/:/usr/lib= /gcc/x86_64-pc-linux-gnu/5.3.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/= gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/bin/ LIBRARY_PATH=3D/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/:/usr/lib/gcc/x86_64-= pc-linux-gnu/5.3.0/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/us= r/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/lib/:/u= sr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS=3D'-v' '-o' 'test' '-O3' '-march=3Dnative' '-fno-strict-aliasing' '-fwrapv' '-std=3Dc++11' '-shared-libgcc' /usr/libexec/gcc/x86_64-pc-linux-gnu/5.3.0/collect2 -plugin /usr/libexec/gcc/x86_64-pc-linux-gnu/5.3.0/liblto_plugin.so -plugin-opt=3D/usr/libexec/gcc/x86_64-pc-linux-gnu/5.3.0/lto-wrapper -plugin-opt=3D-fresolution=3D/tmp/ccOcRXvk.res -plugin-opt=3D-pass-through= =3D-lgcc_s -plugin-opt=3D-pass-through=3D-lgcc -plugin-opt=3D-pass-through=3D-lc -plugin-opt=3D-pass-through=3D-lgcc_s -plugin-opt=3D-pass-through=3D-lgcc --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o test /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/crtbegin.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../.. /tmp/ccab7hZd.o -lstdc++ = -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/crte= nd.o /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/crtn.o Speicherzugriffsfehler (Speicherabzug geschrieben) >>From gcc-bugs-return-524041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 12:58:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122053 invoked by alias); 3 May 2016 12:58:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121804 invoked by uid 48); 3 May 2016 12:58:18 -0000 From: "boehme.marcel at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70926] New: Libiberty Demangler segfaults (5) Date: Tue, 03 May 2016 12:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: boehme.marcel 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00213.txt.bz2 Content-length: 2770 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70926 Bug ID: 70926 Summary: Libiberty Demangler segfaults (5) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: boehme.marcel at gmail dot com Target Milestone: --- A write access violation on destination operand in the libiberty demangler causes its host applications to crash. There are also two other read access violations on source operand that are caused by the same problem (overflow = when parsing a number). How to reproduce: $valgrind c++filt 0__Ot2m02R5T0000500000 =3D=3D86038=3D=3D Invalid read of size 1 =3D=3D86038=3D=3D at 0x752150: do_type (cplus-dem.c:3729) =3D=3D86038=3D=3D by 0x7640F5: do_arg (cplus-dem.c:4239) =3D=3D86038=3D=3D by 0x7659D7: demangle_args (cplus-dem.c:4528) =3D=3D86038=3D=3D by 0x778425: demangle_signature (cplus-dem.c:1645) =3D=3D86038=3D=3D by 0x784701: internal_cplus_demangle (cplus-dem.c:1204) =3D=3D86038=3D=3D by 0x74F572: cplus_demangle (cplus-dem.c:887) =3D=3D86038=3D=3D by 0x406251: demangle_it (cxxfilt.c:62) =3D=3D86038=3D=3D by 0x40582E: main (cxxfilt.c:227) $ valgrind c++filt 0__GT50000000000_ =3D=3D10196=3D=3D Invalid read of size 8 =3D=3D10196=3D=3D at 0x7519A7: do_type (cplus-dem.c:3623) =3D=3D10196=3D=3D by 0x763DB5: do_arg (cplus-dem.c:4249) =3D=3D10196=3D=3D by 0x76568F: demangle_args (cplus-dem.c:4538) =3D=3D10196=3D=3D by 0x778825: demangle_signature (cplus-dem.c:1653) =3D=3D10196=3D=3D by 0x784961: internal_cplus_demangle (cplus-dem.c:1210) =3D=3D10196=3D=3D by 0x74F582: cplus_demangle (cplus-dem.c:893) =3D=3D10196=3D=3D by 0x406251: demangle_it (cxxfilt.c:62) =3D=3D10196=3D=3D by 0x40582E: main (cxxfilt.c:227) $ valgrind c++filt __t2m05B500000000000000000_ =3D=3D13052=3D=3D Invalid read of size 8 =3D=3D13052=3D=3D at 0x7541FF: do_type (cplus-dem.c:3798) =3D=3D13052=3D=3D by 0x76B2B3: demangle_template.constprop.15 (cplus-dem= .c:2241) =3D=3D13052=3D=3D by 0x7761B7: demangle_signature (cplus-dem.c:1573) =3D=3D13052=3D=3D by 0x784811: internal_cplus_demangle (cplus-dem.c:1210) =3D=3D13052=3D=3D by 0x74F582: cplus_demangle (cplus-dem.c:893) =3D=3D13052=3D=3D by 0x406251: demangle_it (cxxfilt.c:62) =3D=3D13052=3D=3D by 0x40582E: main (cxxfilt.c:227) Analysis: The demangler reads sometimes the value of an array index from the mangled string. Now, it is checked whether it exceeds the array length. However, the parsing can cause an overflow and the index is negative. This vulnerability was found with a more efficient version of AFL. I am preparing a patch. >>From gcc-bugs-return-524042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 13:00:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4323 invoked by alias); 3 May 2016 13:00:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4109 invoked by uid 48); 3 May 2016 13:00:36 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70925] Vectorized loop segfaults: read exceeds vector boundary Date: Tue, 03 May 2016 13:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00214.txt.bz2 Content-length: 3718 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70925 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trippels at gcc dot gnu.org --- Comment #4 from Markus Trippelsdorf --- Looks invalid: libgeodecomp4/src/libgeodecomp/misc/testcell.h:415:117: runtime error: stor= e to misaligned address 0x0000022081ec for type 'double', which requires 8 byte alignment 0x0000022081ec: note: pointer points here 01 01 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00= 00 00 00 00 00 00 00 00 ^=20 libgeodecomp4/src/libgeodecomp/misc/testcell.h:415:287: runtime error: stor= e to misaligned address 0x000002208692 for type 'struct Coord', which requires 4 byte alignment 0x000002208692: note: pointer points here 00 e8 88 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00= 00 00 00 00 00 00 00 00 ^=20 libgeodecomp4/src/libgeodecomp/misc/testcell.h:415:113: runtime error: stor= e to misaligned address 0x00000220876a for type 'struct CoordBox', which require= s 4 byte alignment 0x00000220876a: note: pointer points here 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00= 00 00 00 00 00 00 00 00 ^=20 libgeodecomp4/src/libgeodecomp/misc/testcell.h:415:120: runtime error: stor= e to misaligned address 0x00000220891a for type 'unsigned int', which requires 4 byte alignment 0x00000220891a: note: pointer points here 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00= 00 00 00 00 00 00 00 00 ^=20 libgeodecomp4/src/libgeodecomp/misc/testcell.h:415:117: runtime error: load= of misaligned address 0x0000022081ec for type 'const double', which requires 8 byte alignment 0x0000022081ec: note: pointer points here 01 01 01 01 00 00 00 00 00 c0 7b 40 00 00 00 00 00 d0 7b 40 00 00 00 00= 00 e0 7b 40 00 00 00 00 ^=20 libgeodecomp4/src/libgeodecomp/misc/testcell.h:435:38: runtime error: refer= ence binding to misaligned address 0x000002208692 for type 'const struct Coord', which requires 4 byte alignment 0x000002208692: note: pointer points here 00 e8 88 40 02 00 00 00 05 00 00 00 05 00 00 00 03 00 00 00 05 00 00 00= 05 00 00 00 04 00 00 00 ^=20 libgeodecomp4/src/libgeodecomp/misc/testcell.h:435:20: runtime error: load = of misaligned address 0x000002208692 for type 'const struct Coord', which requ= ires 4 byte alignment 0x000002208692: note: pointer points here 00 e8 88 40 02 00 00 00 05 00 00 00 05 00 00 00 03 00 00 00 05 00 00 00= 05 00 00 00 04 00 00 00 ^=20 libgeodecomp4/src/libgeodecomp/misc/testcell.h:415:118: runtime error: reference binding to misaligned address 0x00000220876a for type 'const stru= ct CoordBox', which requires 4 byte alignment 0x00000220876a: note: pointer points here 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1e 00 00 00 14 00 00 00= 0a 00 00 00 00 00 00 00 ^=20 libgeodecomp4/src/libgeodecomp/misc/testcell.h:415:93: runtime error: load = of misaligned address 0x00000220876a for type 'const struct CoordBox', which requires 4 byte alignment 0x00000220876a: note: pointer points here 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1e 00 00 00 14 00 00 00= 0a 00 00 00 00 00 00 00 ^=20 libgeodecomp4/src/libgeodecomp/misc/testcell.h:415:120: runtime error: load= of misaligned address 0x00000220891a for type 'const unsigned int', which requ= ires 4 byte alignment 0x00000220891a: note: pointer points here >>From gcc-bugs-return-524044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 13:03:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16126 invoked by alias); 3 May 2016 13:03:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14289 invoked by uid 48); 3 May 2016 13:03:45 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Tue, 03 May 2016 13:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00216.txt.bz2 Content-length: 753 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #14 from H.J. Lu --- (In reply to Uro=C5=A1 Bizjak from comment #13) > (In reply to H.J. Lu from comment #12) >=20 > > I still see: > >=20 > > vcvtss2sd (%ecx,%eax,4), %xmm5, %xmm5 > >=20 > > without vxorpd. >=20 > Maybe vxorpd gets scheduled away from the insn? What is the name of the > pattern? We need to disable define_split [(set (match_operand 0 "any_fp_register_operand") (float_extend (match_operand 1 "memory_operand")))] "reload_completed && (GET_MODE (operands[0]) =3D=3D TFmode || GET_MODE (operands[0]) =3D=3D XFmode || GET_MODE (operands[0]) =3D=3D DFmode)" [(set (match_dup 0) (match_dup 2))] { for SF->DF. >>From gcc-bugs-return-524043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 13:03:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7690 invoked by alias); 3 May 2016 13:03:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6806 invoked by uid 48); 3 May 2016 13:03:03 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Tue, 03 May 2016 13:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00215.txt.bz2 Content-length: 329 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #13 from Uro=C5=A1 Bizjak --- (In reply to H.J. Lu from comment #12) > I still see: >=20 > vcvtss2sd (%ecx,%eax,4), %xmm5, %xmm5 >=20 > without vxorpd. Maybe vxorpd gets scheduled away from the insn? What is the name of the pattern? >>From gcc-bugs-return-524045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 13:08:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27767 invoked by alias); 3 May 2016 13:08:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27436 invoked by uid 48); 3 May 2016 13:08:14 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70903] [4.9/5/6/7 Regression] wrong code with bfi @ aarch64 with -Os Date: Tue, 03 May 2016 13:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00217.txt.bz2 Content-length: 1182 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70903 --- Comment #4 from ktkachov at gcc dot gnu.org --- Basically at expand time we're expanding: vector(32) unsigned char _4; unsigned char _5; _3 =3D {65535, _2}; _4 =3D VIEW_CONVERT_EXPR(_3); _5 =3D BIT_FIELD_REF <_4, 8, 8>; and we're getting: (insn 17 16 18 (set (subreg:DI (reg:OI 91 [ D.2757 ]) 0) (const_int 65535 [0xffff])) bfi.c:7 -1 (nil)) (insn 18 17 19 (set (subreg:DI (reg:OI 91 [ D.2757 ]) 8) (subreg:DI (reg/v:OI 84 [ x ]) 0)) bfi.c:7 -1 (nil)) (insn 19 18 20 (set (subreg:DI (reg:QI 94) 0) (zero_extract:DI (subreg:DI (reg:OI 91 [ D.2757 ]) 0) (const_int 8 [0x8]) (const_int 8 [0x8]))) bfi.c:7 -1 (nil)) (insn 20 19 21 (set (reg:DI 95) (subreg:DI (reg:QI 94) 0)) bfi.c:7 -1 (nil)) the various RTL optimizers propagate the 65535 through the subregs and zero-extracts and it ends up as -1 (0xffffffffffffffff) in reg 95. I'm not sure what path during expand expands this operation, but the subreg= on insn 20 is probably wrong, as we do care about the bits beyond QImode, we w= ant a zero_extend. >>From gcc-bugs-return-524046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 13:08:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28963 invoked by alias); 3 May 2016 13:08:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28874 invoked by uid 48); 3 May 2016 13:08:41 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Tue, 03 May 2016 13:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00218.txt.bz2 Content-length: 631 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #15 from Uro=C5=A1 Bizjak --- (In reply to H.J. Lu from comment #14) > We need to disable >=20 > define_split > [(set (match_operand 0 "any_fp_register_operand") > (float_extend (match_operand 1 "memory_operand")))] > "reload_completed > && (GET_MODE (operands[0]) =3D=3D TFmode > || GET_MODE (operands[0]) =3D=3D XFmode > || GET_MODE (operands[0]) =3D=3D DFmode)" > [(set (match_dup 0) (match_dup 2))] > { >=20 > for SF->DF. Why? This splitter will eventually result in a move of 0.0 to a SSE registe= r. >>From gcc-bugs-return-524047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 13:34:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98307 invoked by alias); 3 May 2016 13:34:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97948 invoked by uid 48); 3 May 2016 13:34:04 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Tue, 03 May 2016 13:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00219.txt.bz2 Content-length: 2496 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed|2016-04-29 00:00:00 |2016-05-03 Ever confirmed|0 |1 --- Comment #16 from H.J. Lu --- (In reply to Uro=C5=A1 Bizjak from comment #15) > (In reply to H.J. Lu from comment #14) >=20 > > We need to disable > >=20 > > define_split > > [(set (match_operand 0 "any_fp_register_operand") > > (float_extend (match_operand 1 "memory_operand")))] > > "reload_completed > > && (GET_MODE (operands[0]) =3D=3D TFmode > > || GET_MODE (operands[0]) =3D=3D XFmode > > || GET_MODE (operands[0]) =3D=3D DFmode)" > > [(set (match_dup 0) (match_dup 2))] > > { > >=20 > > for SF->DF. > Why? This splitter will eventually result in a move of 0.0 to a SSE regis= ter. This splitter is placed before the one we want. We have quite a few similar splitters far apart and we lose the track. This patch: diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 940dc20..dc46b16 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -3615,6 +3615,35 @@ FAIL; }) +;; Break partial reg stall for cvtss2sd. + +(define_split + [(set (match_operand:DF 0 "register_operand") + (float_extend:DF + (match_operand:SF 1 "nonimmediate_operand")))] + "TARGET_SSE2 && TARGET_SSE_MATH + && TARGET_SSE_PARTIAL_REG_DEPENDENCY + && epilogue_completed + && optimize_function_for_speed_p (cfun) + && SSE_REG_P (operands[0]) + && (!SSE_REG_P (operands[1]) + || REGNO (operands[0]) !=3D REGNO (operands[1])) + && (!EXT_REX_SSE_REG_P (operands[0]) + || TARGET_AVX512VL)" + [(set (match_dup 0) + (vec_merge:V2DF + (float_extend:V2DF + (vec_select:V2SF + (match_dup 1) + (parallel [(const_int 0) (const_int 1)]))) + (match_dup 0) + (const_int 1)))] +{ + operands[0] =3D lowpart_subreg (V2DFmode, operands[0], DFmode); + operands[1] =3D lowpart_subreg (V4SFmode, operands[1], SFmode); + emit_move_insn (operands[0], CONST0_RTX (V2DFmode)); +}) + (define_split [(set (match_operand 0 "any_fp_register_operand") (float_extend (match_operand 1 "memory_operand")))] works for me. >>From gcc-bugs-return-524048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 13:41:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117831 invoked by alias); 3 May 2016 13:41:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 117727 invoked by uid 48); 3 May 2016 13:41:03 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Tue, 03 May 2016 13:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00220.txt.bz2 Content-length: 1291 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #17 from H.J. Lu --- There are ;; %%% Kill these when call knows how to work out a DFmode push earlier. (define_split [(set (match_operand:DF 0 "push_operand") (float_extend:DF (match_operand:SF 1 "fp_register_operand")))] "reload_completed" [(set (reg:P SP_REG) (plus:P (reg:P SP_REG) (const_int -8)))=20 (set (mem:DF (reg:P SP_REG)) (float_extend:DF (match_dup 1)))]) define_split [(set (match_operand:DF 0 "register_operand") (float_extend:DF (match_operand:SF 1 "nonimmediate_operand")))] "TARGET_USE_VECTOR_FP_CONVERTS && optimize_insn_for_speed_p () && reload_completed && SSE_REG_P (operands[0]) && (!EXT_REX_SSE_REG_P (operands[0]) || TARGET_AVX512VL)" ;; It's more profitable to split and then extend in the same register. (define_peephole2 [(set (match_operand:DF 0 "register_operand") (float_extend:DF (match_operand:SF 1 "memory_operand")))] "TARGET_SPLIT_MEM_OPND_FOR_FP_CONVERTS && optimize_insn_for_speed_p () && SSE_REG_P (operands[0])" [(set (match_dup 2) (match_dup 1)) (set (match_dup 0) (float_extend:DF (match_dup 2)))] "operands[2] =3D gen_rtx_REG (SFmode, REGNO (operands[0]));") >>From gcc-bugs-return-524049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 13:44:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10377 invoked by alias); 3 May 2016 13:44:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10267 invoked by uid 48); 3 May 2016 13:43:49 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Tue, 03 May 2016 13:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00221.txt.bz2 Content-length: 951 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #18 from H.J. Lu --- For float_truncate, (define_split [(set (match_operand:SF 0 "register_operand") (float_truncate:SF (match_operand:DF 1 "nonimmediate_operand")))] "TARGET_USE_VECTOR_FP_CONVERTS && optimize_insn_for_speed_p () && reload_completed && SSE_REG_P (operands[0]) && (!EXT_REX_SSE_REG_P (operands[0]) || TARGET_AVX512VL)" ;; It's more profitable to split and then extend in the same register. (define_peephole2 [(set (match_operand:SF 0 "register_operand") (float_truncate:SF (match_operand:DF 1 "memory_operand")))] "TARGET_SPLIT_MEM_OPND_FOR_FP_CONVERTS && optimize_insn_for_speed_p () && SSE_REG_P (operands[0])" [(set (match_dup 2) (match_dup 1)) (set (match_dup 0) (float_truncate:SF (match_dup 2)))] "operands[2] =3D gen_rtx_REG (DFmode, REGNO (operands[0]));") >>From gcc-bugs-return-524050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 13:45:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14709 invoked by alias); 3 May 2016 13:45:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12633 invoked by uid 48); 3 May 2016 13:45:04 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67763] [SH] Redirect conditional branches Date: Tue, 03 May 2016 13:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00222.txt.bz2 Content-length: 763 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67763 --- Comment #1 from Oleg Endo --- A similar case in compiler/cg.c: L52: <<<< mov.l @r9+,r8 tst r8,r8 bf/s .L57 cmp/eq r11,r9 bra .L69 <<<< nop .align 1 .L54: mov.l @r8,r8 tst r8,r8 bt/s .L69 cmp/eq r11,r9 .L57: mov.l @(4,r8),r0 cmp/eq #3,r0 bf .L54 jsr @r10 mov r8,r4 mov.l @r8,r8 tst r8,r8 bf/s .L57 cmp/eq r11,r9 .align 2 .L69: <<<< bf .L52 <<<< mov.l .L66,r4 >>From gcc-bugs-return-524051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 13:50:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7405 invoked by alias); 3 May 2016 13:50:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5859 invoked by uid 48); 3 May 2016 13:50:02 -0000 From: "bernds at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Tue, 03 May 2016 13:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: bernds at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00223.txt.bz2 Content-length: 796 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #19 from Bernd Schmidt --- > This splitter is placed before the one we want. We have quite > a few similar splitters far apart and we lose the track. This > patch: >=20 > diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md > index 940dc20..dc46b16 100644 > --- a/gcc/config/i386/i386.md > +++ b/gcc/config/i386/i386.md > @@ -3615,6 +3615,35 @@ > FAIL; > }) >=20=20 > +;; Break partial reg stall for cvtss2sd. > + > +(define_split > + [(set (match_operand:DF 0 "register_operand") > + (float_extend:DF ...] > works for me. Did you mean to move the existing one rather than add a copy? I don't know what you're trying to tell me with the two followup messages a= fter this. >>From gcc-bugs-return-524052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 13:54:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61275 invoked by alias); 3 May 2016 13:54:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51332 invoked by uid 48); 3 May 2016 13:54:05 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Tue, 03 May 2016 13:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00224.txt.bz2 Content-length: 995 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #20 from H.J. Lu --- (In reply to Bernd Schmidt from comment #19) > > This splitter is placed before the one we want. We have quite > > a few similar splitters far apart and we lose the track. This > > patch: > >=20 > > diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md > > index 940dc20..dc46b16 100644 > > --- a/gcc/config/i386/i386.md > > +++ b/gcc/config/i386/i386.md > > @@ -3615,6 +3615,35 @@ > > FAIL; > > }) > >=20=20 > > +;; Break partial reg stall for cvtss2sd. > > + > > +(define_split > > + [(set (match_operand:DF 0 "register_operand") > > + (float_extend:DF > ...] >=20 > > works for me. >=20 > Did you mean to move the existing one rather than add a copy? Yes. > I don't know what you're trying to tell me with the two followup messages > after this. We should exam those split/peephole patterns to check if their placements and conditions are correct. >>From gcc-bugs-return-524053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 13:56:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87255 invoked by alias); 3 May 2016 13:56:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87161 invoked by uid 48); 3 May 2016 13:56:43 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70906] [7 Regression] ice in add_expr, at tree.c:7925 Date: Tue, 03 May 2016 13:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00225.txt.bz2 Content-length: 459 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70906 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org --- Comment #2 from Martin Li=C5=A1ka --- Having the same issue in Inkscape, reduction has been started. Martin >>From gcc-bugs-return-524054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 14:16:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49241 invoked by alias); 3 May 2016 14:16:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40931 invoked by uid 55); 3 May 2016 14:15:47 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/70917] out-of-date documentation for character set support and environment variables Date: Tue, 03 May 2016 14:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00226.txt.bz2 Content-length: 521 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70917 --- Comment #1 from joseph at codesourcery dot com --- Cf what I said in : I think we should clearly update the documentation to reflect reality=20 regarding source file encoding, and leave it strictly for wrappers such= as=20 "c99" to specify -finput-charset=3D options rather than leaving open th= e=20 possibility that GCC's own default might change in future. >>From gcc-bugs-return-524055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 14:19:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110383 invoked by alias); 3 May 2016 14:19:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110138 invoked by uid 48); 3 May 2016 14:19:12 -0000 From: "jsm28 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70921] Initializer for sub-sub-object overrides whole initializer for sub-object Date: Tue, 03 May 2016 14:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00227.txt.bz2 Content-length: 552 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70921 Joseph S. Myers changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Joseph S. Myers --- See my suggestions in bug 63944 of possible approaches for a fix. *** This bug has been marked as a duplicate of bug 63944 *** >>From gcc-bugs-return-524056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 14:19:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110404 invoked by alias); 3 May 2016 14:19:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110155 invoked by uid 48); 3 May 2016 14:19:12 -0000 From: "jsm28 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/63944] [DR#413] Partial overriding of nonconstant struct/union initializers with designated initializers Date: Tue, 03 May 2016 14:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00228.txt.bz2 Content-length: 446 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63944 Joseph S. Myers changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ch3root at openwall dot com --- Comment #3 from Joseph S. Myers --- *** Bug 70921 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-524057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 14:44:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23619 invoked by alias); 3 May 2016 14:44:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22243 invoked by uid 55); 3 May 2016 14:44:11 -0000 From: "amodra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70890] [7 regression] r235660 miscompiles stage2 compiler on ia64 Date: Tue, 03 May 2016 14:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build, wrong-code X-Bugzilla-Severity: blocker X-Bugzilla-Who: amodra at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00229.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70890 --- Comment #7 from Alan Modra --- Author: amodra Date: Tue May 3 14:43:35 2016 New Revision: 235825 URL: https://gcc.gnu.org/viewcvs?rev=3D235825&root=3Dgcc&view=3Drev Log: PR70890, stage2 miscompilation PR rtl-optimization/70890 * ira.c (combine_and_move_insns): When moving def_insn, remove equivs on use_insn. Modified: trunk/gcc/ChangeLog trunk/gcc/ira.c >>From gcc-bugs-return-524058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 14:45:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30159 invoked by alias); 3 May 2016 14:45:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27160 invoked by uid 48); 3 May 2016 14:45:03 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/63944] [DR#413] Partial overriding of nonconstant struct/union initializers with designated initializers Date: Tue, 03 May 2016 14:45: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.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00230.txt.bz2 Content-length: 513 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63944 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org --- Comment #4 from Marek Polacek --- This might be a hard nut to crack, but I'll give it a shot. >>From gcc-bugs-return-524059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 15:11:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81161 invoked by alias); 3 May 2016 15:11:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81012 invoked by uid 48); 3 May 2016 15:11:20 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/69196] [5/6/7 Regression] code size regression with jump threading at -O2 Date: Tue, 03 May 2016 15:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: law at redhat dot com X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00231.txt.bz2 Content-length: 359 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69196 --- Comment #26 from Jeffrey A. Law --- I'm planning to keep it open until I add the code to factor FSM path clones with differing entry edges into a single FSM path clone. At that time we'll want to look at this (and other) BZs to ensure that we've got the tuning na= iled down. >>From gcc-bugs-return-524060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 15:30:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63220 invoked by alias); 3 May 2016 15:30:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62801 invoked by uid 48); 3 May 2016 15:29:48 -0000 From: "ch3root at openwall dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/63944] [DR#413] Partial overriding of nonconstant struct/union initializers with designated initializers Date: Tue, 03 May 2016 15:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ch3root at openwall dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00232.txt.bz2 Content-length: 624 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63944 --- Comment #5 from Alexander Cherepanov --- Not sure this is relevant to static/automatic distinction mentioned above b= ut the following code uses a static struct, is accepted by gcc and exposes the problem: ---------------------------------------------------------------------- #include static struct s { struct sub { int x, y; } sub; } s =3D (struct s){ (struct sub){1, 2}, .sub.y =3D 3 }; int main() { printf("%d %d\n", s.sub.x, s.sub.y); } ---------------------------------------------------------------------- >>From gcc-bugs-return-524061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 15:37:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75746 invoked by alias); 3 May 2016 15:37:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75049 invoked by uid 55); 3 May 2016 15:37:08 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/63944] [DR#413] Partial overriding of nonconstant struct/union initializers with designated initializers Date: Tue, 03 May 2016 15:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00233.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63944 --- Comment #6 from joseph at codesourcery dot com --- That's using the extension of allowing compound literals in static=20 initializers. Given that extension, we should fix such cases as well. >>From gcc-bugs-return-524062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 15:52:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88717 invoked by alias); 3 May 2016 15:52:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88260 invoked by uid 48); 3 May 2016 15:52:26 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70927] New: avx512dq instructions emitted even with -mavx512vl -mno-avx512dq Date: Tue, 03 May 2016 15:52: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00234.txt.bz2 Content-length: 1413 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70927 Bug ID: 70927 Summary: avx512dq instructions emitted even with -mavx512vl -mno-avx512dq Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- #include void f1 (__m128 x, __m128 y) { register __m128 a __asm ("xmm16"), b __asm ("xmm17"); a =3D x; b =3D y; asm volatile ("" : "+v" (a), "+v" (b)); a =3D _mm_and_ps (a, b); asm volatile ("" : "+v" (a)); } void f2 (__m128d x, __m128d y) { register __m128d a __asm ("xmm16"), b __asm ("xmm17"); a =3D x; b =3D y; asm volatile ("" : "+v" (a), "+v" (b)); a =3D _mm_and_pd (a, b); asm volatile ("" : "+v" (a)); } void f3 (__m256 x, __m256 y) { register __m256 a __asm ("xmm16"), b __asm ("xmm17"); a =3D x; b =3D y; asm volatile ("" : "+v" (a), "+v" (b)); a =3D _mm256_and_ps (a, b); asm volatile ("" : "+v" (a)); } void f4 (__m256d x, __m256d y) { register __m256d a __asm ("xmm16"), b __asm ("xmm17"); a =3D x; b =3D y; asm volatile ("" : "+v" (a), "+v" (b)); a =3D _mm256_and_pd (a, b); asm volatile ("" : "+v" (a)); } emits with -O2 -mavx512vl -mno-avx512dq various AVX512DQ instructions. >>From gcc-bugs-return-524063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 15:53:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89676 invoked by alias); 3 May 2016 15:53:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89543 invoked by uid 48); 3 May 2016 15:52:53 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70927] avx512dq instructions emitted even with -mavx512vl -mno-avx512dq Date: Tue, 03 May 2016 15:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00235.txt.bz2 Content-length: 618 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70927 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-03 CC| |kyukhin at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org Target Milestone|--- |6.2 Ever confirmed|0 |1 >>From gcc-bugs-return-524064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 15:57:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120554 invoked by alias); 3 May 2016 15:57:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111407 invoked by uid 48); 3 May 2016 15:57:03 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70927] avx512dq instructions emitted even with -mavx512vl -mno-avx512dq Date: Tue, 03 May 2016 15:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00236.txt.bz2 Content-length: 253 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70927 --- Comment #1 from Jakub Jelinek --- Created attachment 38406 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38406&action=3Dedit gcc7-pr70927.patch Untested fix. >>From gcc-bugs-return-524065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 16:18:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63311 invoked by alias); 3 May 2016 16:18:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63058 invoked by uid 48); 3 May 2016 16:18:37 -0000 From: "fxcoudert at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/53600] Fatal Error: Can't open module file 'omp_lib.mod' for reading at (1). Date: Tue, 03 May 2016 16:18: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: 4.6.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fxcoudert at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00237.txt.bz2 Content-length: 925 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53600 Francois-Xavier Coudert changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |fxcoudert at gcc dot gnu.o= rg Resolution|--- |WORKSFORME --- Comment #2 from Francois-Xavier Coudert = --- These two bugs are unrelated: comment #1 is about user code not compiling, = and is probably related to the compilation architecture (Makefile? script?) The original bug was reported in 2012 and has not been confirmed there. cyg= win binaries from other sources are fine, so I am closing this for now. Please reopen with additional information if someone can still see and reproduce the bug. >>From gcc-bugs-return-524066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 16:21:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105573 invoked by alias); 3 May 2016 16:21:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105188 invoked by uid 48); 3 May 2016 16:20:54 -0000 From: "fxcoudert at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/60670] omp.h may differ between multilibs Date: Tue, 03 May 2016 16:21: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: 4.9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: fxcoudert 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 cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00238.txt.bz2 Content-length: 1209 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60670 Francois-Xavier Coudert changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid CC| |fxcoudert at gcc dot gnu.o= rg --- Comment #12 from Francois-Xavier Coudert = --- The Fortran module files are not installed in the right place, and that lea= ds to error upon compilation of valid user code (not finding the module files). $ ls /usr/local/gfortran/lib/**/libgomp.dylib /usr/local/gfortran/lib/i386/libgomp.dylib /usr/local/gfortran/lib/libgomp.dylib $ ls /usr/local/gfortran/lib/**/omp_lib.mod=20=20 /usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0/finclude/omp_lib.mod It=E2=80=99s because the Makefile machinery is wrong. libgomp/Makefile.am h= as: fincludedir =3D $(libdir)/gcc/$(target_alias)/$(gcc_version)/finclude while the corresponding libgfortran has: fincludedir =3D $(libdir)/gcc/$(target_alias)/$(gcc_version)$(MULTISUBDIR)/finclude notice the extra $(MULTISUBDIR). >>From gcc-bugs-return-524067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 16:30:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27066 invoked by alias); 3 May 2016 16:30:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26733 invoked by uid 48); 3 May 2016 16:30:34 -0000 From: "kirillnow at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70893] codecvt incorrectly decodes UTF-16be Date: Tue, 03 May 2016 16:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kirillnow 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00239.txt.bz2 Content-length: 752 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70893 --- Comment #5 from =D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB --- (In reply to Jonathan Wakely from comment #3) > (In reply to =D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB from comment #2) > > ... > > Just realized its wrong endianness problem.=20 > > codecvt_utf8_utf16 should assume utf16be by default, right? Apparently,= no. >=20 > No. It works with the native endianness of the system, if I understand the > spec correctly. i.e. it's for converting between UTF-8 and in-memory UTF-= 16 > sequences using the native endianness. But the spec is a total mess. It makes no sense, because you can explicitly specify little_endian in the template parameters, but not big_endian. >>From gcc-bugs-return-524068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 16:49:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85730 invoked by alias); 3 May 2016 16:49:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85493 invoked by uid 48); 3 May 2016 16:49:39 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70922] -Wparentheses warning should not complain about if-else from macro expansion Date: Tue, 03 May 2016 16:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00240.txt.bz2 Content-length: 557 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70922 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #4 from Marek Polacek --- To fix this in the C FE, we need to pass around boolean saying whether the location is from_macro_expansion_at... But dunno, do we really want to *not* warn for this? :( >>From gcc-bugs-return-524069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 17:15:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54663 invoked by alias); 3 May 2016 17:15:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53269 invoked by uid 48); 3 May 2016 17:15:01 -0000 From: "kirillnow at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70893] codecvt incorrectly decodes UTF-16be Date: Tue, 03 May 2016 17:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kirillnow 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00241.txt.bz2 Content-length: 5119 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70893 --- Comment #6 from =D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB --- (In reply to Jonathan Wakely from comment #4) > If you think there's a bug here please provide a testcase that compiles a= nd > produces an incorrect result. Here: #include #include #include #include using namespace std; //-------------------------------------------------------------------------= ------------------------ /** Extensively tested and works.*/ template string my_utf16_to_utf8(const char *s, size_t sz) { uint32_t ucs=3D0; sz &=3D ~1; //odd sizes are rounded down string rtv; rtv.resize(sz+sz/2); char* o=3D&rtv[0]; for(const uint8_t *i=3D(uint8_t*)s, *e=3Di+sz; i>18|0xF0; ++o; *o=3D(ucs>>12 & 0x3F)|0x80; ++o; *o=3D(ucs>>6 & 0x3F)|0x80; ++o; *o=3D(ucs&0x3F)|0x80; } else { *o=3Ducs>>12|0xE0; ++o; *o=3D(ucs>>6&0x3F)|0x80; ++o; *o=3D(ucs&0x= 3F)|0x80; } } else { if(ucs&(~0x7F)) { *o=3Ducs>>6|0xC0; ++o; *o=3D(ucs&0x3F)|0x80; } else *o =3D ucs; } // if((o-&rtv[0]>=3Drtv.size()) throw range_error("utf16_to_utf8()"); //de= bug } rtv.resize(o-&rtv[0]); rtv.shrink_to_fit(); return rtv; } //-------------------------------------------------------------------------= ------------------------ template inline std::string std_utf16_to_utf8(const char *s, si= ze_t sz) { using namespace std; sz &=3D ~1; wstring_convert, char16_t> conv; try { return conv.to_bytes((const char16_t*)s, (const char16_t*)(s+sz)); } catch(...) { return string{}; } } //-------------------------------------------------------------------------= ------------------------ int main(int argc, const char** argv) { static constexpr const uint8_t txt_utf16be[] =3D { 0x01, 0x31, 0x00, 0x6e, 0x00, 0x74, 0x02, 0x59, 0x00, 0x67, 0x00, 0xe6, 0x00, 0x6c, 0x00, 0xe6, 0x00, 0x6b, 0x00, 0x74, 0x01, 0x31, 0x00, 0x63, 0x00, 0x2c, 0x00, 0x20, 0x00, 0x62, 0x00, 0x61, 0x01, 0x31, 0x00, 0x20, 0x00, 0xf0, 0x02, 0x59, 0x00, 0x20, 0x00, 0x62, 0x00, 0x69, 0x02, 0xd0, 0x00, 0x73, 0x00, 0x74, 0x00, 0x69, 0x00, 0x20, 0x00, 0x62, 0x02, 0x54, 0x01, 0x31, 0x00, 0x7a, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x6c, 0x01, 0x31, 0x00, 0x72, 0x01, 0x31, 0x00, 0x6b, 0x00, 0x73, 0x00, 0x20, 0x00, 0x74, 0x00, 0x72, 0x00, 0xe6, 0x00, 0x6e, 0x00, 0x73, 0x00, 0x6b, 0x00, 0x72, 0x00, 0x61, 0x01, 0x31, 0x00, 0x62, 0x00, 0x64, 0x00, 0x20, 0x01, 0x31, 0x00, 0x6e, 0x00, 0x74, 0x00, 0x75, 0x00, 0x20, 0x00, 0x69, 0x00, 0x70, 0x00, 0x61, 0x00, 0x20, 0x00, 0x6a, 0x00, 0x75, 0x02, 0xd0, 0x00, 0x73, 0x01, 0x31, 0x00, 0x6e, 0x00, 0x67, 0x00, 0x20, 0x00, 0xe6, 0x00, 0x6e, 0x00, 0x20, 0x00, 0x69, 0x02, 0xd0, 0x00, 0x73, 0x00, 0x74, 0x00, 0x20, 0x00, 0x6d, 0x01, 0x31, 0x00, 0x64, 0x00, 0x6c, 0x02, 0x59, 0x00, 0x6e, 0x00, 0x64, 0x00, 0x73, 0x00, 0x20, 0x00, 0xe6, 0x00, 0x6b, 0x00, 0x73, 0x02, 0x59, 0x00, 0x6e, 0x00, 0x74, 0x00, 0x20, 0x00, 0x62, 0x00, 0x61, 0x01, 0x31, 0x00, 0x20, 0x00, 0x72, 0x02, 0x52, 0x00, 0x62, 0x02, 0x59, 0x00, 0x74, 0x00, 0x20, 0x00, 0x62, 0x00, 0x72, 0x00, 0x65, 0x01, 0x31, 0x00, 0x64, 0x00, 0x69, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x73, 0x02, 0x52, 0x00, 0x72, 0x00, 0x69, 0x00, 0x20, 0x02, 0x59, 0x00, 0x62, 0x00, 0x61, 0x02, 0x8a, 0x00, 0x74, 0x00, 0x20, 0x00, 0xf0, 0x02, 0x59, 0x00, 0x20, 0x00, 0x6c, 0x00, 0xe6, 0x00, 0x6b, 0x00, 0x20, 0x02, 0x59, 0x00, 0x76, 0x00, 0x20, 0x00, 0x73, 0x00, 0x74, 0x00, 0x72, 0x02, 0x5b, 0x00, 0x73, 0x00, 0x20, 0x01, 0x31, 0x00, 0x6e, 0x00, 0x66, 0x02, 0x54, 0x02, 0xd0, 0x00, 0x6d, 0x00, 0x65, 0x01, 0x31, 0x02, 0x83, 0x02, 0x59, 0x00, 0x6e, 0x00, 0x2c, 0x00, 0x20, 0x00, 0x62, 0x02, 0x8c, 0x00, 0x74, 0x00, 0x20, 0x00, 0x73, 0x01, 0x31, 0x00, 0x6e, 0x00, 0x73, 0x00, 0x20, 0x00, 0xf0, 0x01, 0x31, 0x00, 0x73, 0x00, 0x20, 0x01, 0x31, 0x00, 0x7a, 0x00, 0x20, 0x02, 0x59, 0x00, 0x20, 0x00, 0x72, 0x00, 0xe6, 0x00, 0x70, 0x00, 0x20, 0x01, 0x31, 0x00, 0x74, 0x00, 0x20, 0x00, 0x77, 0x02, 0x8c, 0x00, 0x64, 0x02, 0x59, 0x00, 0x6e, 0x00, 0x74, 0x00, 0x20, 0x00, 0x62, 0x00, 0x69, 0x00, 0x20, 0x00, 0x0a, 0x00, 0x6d, 0x02, 0x8c, 0x02, 0xa7, 0x00, 0x20, 0x00, 0x6a, 0x00, 0x75, 0x02, 0xd0, 0x00, 0x73, 0x00, 0x0a, 0x00, 0x0a, }; constexpr size_t txt_sz =3D (sizeof txt_utf16be)/(sizeof txt_utf16be[0]); cout << "My conversion: " << endl; cout << my_utf16_to_utf8((char*)txt_utf16be, txt_sz) << endl; cout << "Codecvt conversion: " << endl; cout << std_utf16_to_utf8((char*)txt_utf16be, txt_sz); return 0; } >>From gcc-bugs-return-524070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 17:26:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12547 invoked by alias); 3 May 2016 17:26:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12426 invoked by uid 48); 3 May 2016 17:26:16 -0000 From: "palves at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70922] -Wparentheses warning should not complain about if-else from macro expansion Date: Tue, 03 May 2016 17:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: palves at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00242.txt.bz2 Content-length: 302 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70922 --- Comment #5 from Pedro Alves --- There's no ambiguous else in sight, the macro is written that way to avoid dangling if/else problems, and the indentation is correct. It very much lo= oks like a false positive to me. >>From gcc-bugs-return-524071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 17:52:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68586 invoked by alias); 3 May 2016 17:52:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68482 invoked by uid 48); 3 May 2016 17:52:13 -0000 From: "meissner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70928] New: Load simple float constants via VSX operations on PowerPC Date: Tue, 03 May 2016 17:52: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: minor X-Bugzilla-Who: meissner 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00243.txt.bz2 Content-length: 878 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70928 Bug ID: 70928 Summary: Load simple float constants via VSX operations on PowerPC Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: meissner at gcc dot gnu.org Target Milestone: --- With Power8 (and to a lesser extent Power7), we can create simple integer values in VSX registers without doing a load in a few instructions (for exa= mple -16..15 can be loaded with VSPLTIWS and VUPKHSW). If the code wants to use these simple constants as floating point values, it is probably cheaper to = load the constants as integers and convert them to floating point, rather than loading the constant from memory. >>From gcc-bugs-return-524072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 18:04:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92471 invoked by alias); 3 May 2016 18:04:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92192 invoked by uid 55); 3 May 2016 18:04:14 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70859] Bad column number in type-generic function errors Date: Tue, 03 May 2016 18:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00244.txt.bz2 Content-length: 1394 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70859 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Tue May 3 18:03:42 2016 New Revision: 235832 URL: https://gcc.gnu.org/viewcvs?rev=3D235832&root=3Dgcc&view=3Drev Log: PR c/70859 * input.c (expansion_point_location): New function. * input.h (expansion_point_location): Declare. * c-common.c (builtin_function_validate_nargs): Add location parameter. Use it. (check_builtin_function_arguments): Add location and arguments parameters. Use them. * c-common.h (check_builtin_function_arguments): Update declaration. * c-typeck.c (build_function_call_vec): Pass LOC and ARG_LOC down to check_builtin_function_arguments. * call.c (build_cxx_call): Pass location and vNULL down to check_builtin_function_arguments. * gcc.dg/pr70859.c: New test. * gcc.dg/pr70859-2.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr70859-2.c trunk/gcc/testsuite/gcc.dg/pr70859.c Modified: trunk/gcc/ChangeLog trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-common.c trunk/gcc/c-family/c-common.h trunk/gcc/c/ChangeLog trunk/gcc/c/c-typeck.c trunk/gcc/cp/ChangeLog trunk/gcc/cp/call.c trunk/gcc/input.c trunk/gcc/input.h trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 18:09:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101875 invoked by alias); 3 May 2016 18:09:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101701 invoked by uid 48); 3 May 2016 18:09:28 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70859] Bad column number in type-generic function errors Date: Tue, 03 May 2016 18: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00245.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70859 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Marek Polacek --- Fixed. >>From gcc-bugs-return-524074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 18:18:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129157 invoked by alias); 3 May 2016 18:18:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128917 invoked by uid 48); 3 May 2016 18:18:26 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/70929] New: [4.9/5/6/7 regression] Cross-module inlining for functions having argument passed by reference is no longer working. Date: Tue, 03 May 2016 18:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00246.txt.bz2 Content-length: 926 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70929 Bug ID: 70929 Summary: [4.9/5/6/7 regression] Cross-module inlining for functions having argument passed by reference is no longer working. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: hubicka at gcc dot gnu.org Target Milestone: --- $ cat a.C struct s { int a; s() {a=3D1;} ~s() {} }; int t(struct s s); int main() { s s; int v=3Dt(s); if (!__builtin_constant_p (v)) __builtin_abort (); return 0; } $ cat b.C struct s { int a; s() {a=3D1;} ~s() {} }; int t(struct s s) { return s.a; } $ gcc-4.6 -O3 -flto a.C b.C $ ./a.out $ /aux/hubicka/trunk-install/bin/gcc -O3 -flto a.C b.C $ ./a.out Aborted >>From gcc-bugs-return-524075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 18:27:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66386 invoked by alias); 3 May 2016 18:27:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66052 invoked by uid 48); 3 May 2016 18:26:50 -0000 From: "ch3root at openwall dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/59711] ICE in force_constant_size, at gimplify.c:619 with variably-modified return type Date: Tue, 03 May 2016 18:27: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: normal X-Bugzilla-Who: ch3root at openwall 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00247.txt.bz2 Content-length: 428 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59711 Alexander Cherepanov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ch3root at openwall dot com --- Comment #8 from Alexander Cherepanov --- Seems to be fixed in gcc 6. >>From gcc-bugs-return-524076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 18:41:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27811 invoked by alias); 3 May 2016 18:41:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27532 invoked by uid 48); 3 May 2016 18:41:08 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70928] Load simple float constants via VSX operations on PowerPC Date: Tue, 03 May 2016 18:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: wschmidt 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00248.txt.bz2 Content-length: 644 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70928 --- Comment #1 from Bill Schmidt --- Short sequences for the rest of -32 to 31 are possible also. The splats ca= n be done as follows. x even, x in [-32,-18] U [16,30]: vspltis[bhw] t, x vaddu[bhw]m y, t, t x odd, x in [17,31]: vspltis[bhw] t, x-16 vspltis[bhw] u, -16 vsubu[bhw]m y, t, u x odd, x in [-31,-17]: vspltisw t, x+16 vspltisw u, -16 vadduwm y, t, u These can then again be unpacked and converted to floating point. This may= or may not be preferable to a load, as the dependency chains start to get a bit long. >>From gcc-bugs-return-524077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 19:05:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24057 invoked by alias); 3 May 2016 19:05:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23685 invoked by uid 48); 3 May 2016 19:05:31 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70906] [7 Regression] ice in add_expr, at tree.c:7925 Date: Tue, 03 May 2016 19:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00249.txt.bz2 Content-length: 242 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70906 --- Comment #3 from Martin Li=C5=A1ka --- Created attachment 38407 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38407&action=3Dedit Reduced test-case >>From gcc-bugs-return-524078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 19:19:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130207 invoked by alias); 3 May 2016 19:19:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129864 invoked by uid 48); 3 May 2016 19:19:03 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70870] Segmentation violation in gfc_assign_data_value Date: Tue, 03 May 2016 19:19: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00250.txt.bz2 Content-length: 717 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70870 --- Comment #2 from Gerhard Steinmetz --- A variant that aborts with this message directly : $ gfortran-6 z1.f90 f951: internal compiler error: in gfc_assign_data_value, at fortran/data.c:= 449 $ cat z1.f90 program p type t integer :: n end type type(t), pointer :: z =3D> null() data z%n / 3 / print *, z%n end --- A minimal change of z1.f90 immediately points to pr50410 : $ cat z2.f90 program p type t integer :: n end type type(t), pointer :: z data z%n / 3 / print *, z%n end $ gfortran-6 z2.f90 f951: internal compiler error: in record_reference, at cgraphbuild.c:64 >>From gcc-bugs-return-524079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 19:21:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20899 invoked by alias); 3 May 2016 19:21:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20798 invoked by uid 48); 3 May 2016 19:21:13 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/48776] ICE(segfault) after -std=f95 diagnostic error involving PROCEDURE Date: Tue, 03 May 2016 19:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00251.txt.bz2 Content-length: 753 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D48776 --- Comment #2 from Gerhard Steinmetz --- On my environment, the example from comment 0 compiles now without an ICE. $ gfortran-6 --version GNU Fortran (SUSE Linux) 6.1.1 20160502 [gcc-6-branch revision 235698] $ gfortran-6 -std=3Df95 pr48776.f90 pr48776.f90:6:18: procedure get1 1 Error: Fortran 2003: PROCEDURE statement at (1) pr48776.f90:9:14: integer :: h 1 Error: Procedure =E2=80=98h=E2=80=99 in generic interface 'get' at (1) is n= either function nor subroutine pr48776.f90:10:13: call set1 (get (h)) 1 Error: There is no specific function for the generic =E2=80=98get=E2=80=99 = at (1) >>From gcc-bugs-return-524080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 19:24:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30477 invoked by alias); 3 May 2016 19:24:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29915 invoked by uid 48); 3 May 2016 19:23:58 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67542] ICE on initializing type variable with a longer array Date: Tue, 03 May 2016 19:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00252.txt.bz2 Content-length: 1025 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67542 --- Comment #4 from Gerhard Steinmetz --- The ICE from above is gone a while ago. $ gfortran-6 --version GNU Fortran (SUSE Linux) 6.1.1 20160502 [gcc-6-branch revision 235698] $ gfortran-6 -g -O0 -Wall -fcheck=3Dall z1.f90 z1.f90:6:15: type(t) :: x =3D t(1, ['a']) 1 Warning: Unused variable =E2=80=98x=E2=80=99 declared at (1) [-Wunused-vari= able] z1.f90:7:15: type(t) :: y =3D t(2, ['a', 'b']) 1 Warning: Unused variable =E2=80=98y=E2=80=99 declared at (1) [-Wunused-vari= able] --- $ cat z3.f90 program p character(1), parameter :: a(4) =3D ['a','b','c','d'] type t integer :: n character(2) :: c(3) end type type(t) :: x =3D t(1, a(1:2)) type(t) :: y =3D t(2, a(1:4)) type(t) :: z =3D t(3, a) print *, x print *, y print *, z end $ gfortran-6 -g -O0 -Wall -fcheck=3Dall z3.f90 $ a.out 1 a b 2 a b c 3 a b c >>From gcc-bugs-return-524081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 19:26:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37182 invoked by alias); 3 May 2016 19:26:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37074 invoked by uid 48); 3 May 2016 19:26:29 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67542] ICE on initializing type variable with a longer array Date: Tue, 03 May 2016 19:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00253.txt.bz2 Content-length: 1548 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67542 --- Comment #5 from Gerhard Steinmetz --- If not covered elsewhere, one problem is remaining. Nondeterministic and depending on used options : $ cat z4.f90 program p character(1), parameter :: a(4) =3D ['a','b','c','d'] type t integer :: n character(2) :: c(3) end type type(t) :: x =3D t(4, [a]) print *, x end $ cat z5.f90 program p character(1), parameter :: a(4) =3D ['a','b','c','d'] type t integer :: n character(2) :: c(3) end type type(t) :: x =3D t(4, [a(1:4)]) print *, x end $ cat z6.f90 program p integer :: k character(1), parameter :: a(4) =3D ['a','b','c','d'] type t integer :: n character(2) :: c(3) end type type(t) :: x =3D t(4, [(a(k),k=3D1,4)]) print *, x end $ gfortran-6 -O0 -g -Wall -fcheck=3Dall z6.f90 internal compiler error: Segmentation fault $ gfortran-7-20160501 -g z6.f90 internal compiler error: Segmentation fault 0xbf6ebf crash_signal ../../gcc/toplev.c:333 0x72f8c3 gfc_emit_parameter_debug_info ../../gcc/fortran/trans-decl.c:4894 0x6f9d3b do_traverse_symtree ../../gcc/fortran/symbol.c:3817 0x73eb65 gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.c:6328 0x6cabc0 translate_all_program_units ../../gcc/fortran/parse.c:5613 0x6cabc0 gfc_parse_file() ../../gcc/fortran/parse.c:5819 0x70ca32 gfc_be_parse_file ../../gcc/fortran/f95-lang.c:201 >>From gcc-bugs-return-524082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 19:28:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40831 invoked by alias); 3 May 2016 19:28:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40394 invoked by uid 48); 3 May 2016 19:28:06 -0000 From: "ch3root at openwall dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70930] New: VLAs in stucts in loop headers are not evaluated each iteration Date: Tue, 03 May 2016 19:28: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ch3root at openwall 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00254.txt.bz2 Content-length: 2137 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70930 Bug ID: 70930 Summary: VLAs in stucts in loop headers are not evaluated each iteration Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ch3root at openwall dot com Target Milestone: --- Source code: ---------------------------------------------------------------------- #include int main() { int n, z; // (1) `while` with a variably modified array type n =3D 1; while ((z =3D sizeof(char[n])) && n < 10) { printf("%d ", z); n++; } printf("\n"); // (2) `while` with a variably modified structure type n =3D 1; while ((z =3D sizeof(struct { char a[n]; })) && n < 10) { printf("%d ", z); n++; } printf("\n"); // (3) an equivalent for the latter with `goto` n =3D 1; { loop:; _Bool ctrl_expr =3D (z =3D sizeof(struct { char a[n]; })) && n < 10; if (!ctrl_expr) goto after_loop; { printf("%d ", z); n++; } goto loop; } after_loop: printf("\n"); } ---------------------------------------------------------------------- Results: ---------------------------------------------------------------------- $ gcc -std=3Dc11 -Wall -Wextra -O3 test.c && ./a.out 1 2 3 4 5 6 7 8 9=20 1 1 1 1 1 1 1 1 1=20 1 2 3 4 5 6 7 8 9=20 ---------------------------------------------------------------------- gcc version: gcc (GCC) 7.0.0 20160502 (experimental) The testcase includes three separate tests. (1) contains a straight VLA in a loop header (inside of sizeof). The output from this part of the program ("1 2 3 4 5 6 7 8 9 ") shows that it's reevaluated on each iteration. Fine. (2) is the same but VLA is wrapped in a struct. The output ("1 1 1 1 1 1 1 = 1 1 ") shows that it's not reevaluated. Not fine. (3) is AFAICT an equivalent to (2) with respect to blocks, scopes and such.= It works fine. Thus, it's the combination of loops and VLAs in structs which is broken. >>From gcc-bugs-return-524083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 19:30:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52163 invoked by alias); 3 May 2016 19:30:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51665 invoked by uid 48); 3 May 2016 19:30:20 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/48776] ICE(segfault) after -std=f95 diagnostic error involving PROCEDURE Date: Tue, 03 May 2016 19:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00255.txt.bz2 Content-length: 939 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D48776 --- Comment #3 from Dominique d'Humieres --- > On my environment, the example from comment 0 compiles now without an ICE. With 6.1.0, I get [Book15] f90/bug% gfortran pr48776.f90 -std=3Df95 pr48776.f90:2:18: procedure get1 1 Error: Fortran 2003: PROCEDURE statement at (1) ' (null):0: confused by earlier errors, bailing out or [Book15] f90/bug% gfortran pr48776.f90 -std=3Df95 pr48776.f90:2:18: procedure get1 1 Error: Fortran 2003: PROCEDURE statement at (1) pr48776.f90:5:14: integer :: h 1 Error: Procedure 'h' in generic interface 'get' at (1) is neither function = nor subroutine pr48776.f90:6:13: call set1 (get (h)) 1 Error: There is no specific function for the generic 'get' at (1) So this PR seems to be another instance of non-deterministic error recovery. >>From gcc-bugs-return-524084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 19:30:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53284 invoked by alias); 3 May 2016 19:30:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53223 invoked by uid 55); 3 May 2016 19:30:54 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70916] [6/7 Regression] gcc ICE at -O3 on valid code on x86_64-linux-gnu in "tree_operand_check" Date: Tue, 03 May 2016 19:30: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: 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00256.txt.bz2 Content-length: 543 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70916 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Tue May 3 19:30:22 2016 New Revision: 235842 URL: https://gcc.gnu.org/viewcvs?rev=3D235842&root=3Dgcc&view=3Drev Log: PR tree-optimization/70916 * tree-if-conv.c: Include cfganal.h. (pass_if_conversion::execute): Call connect_infinite_loops_to_exit and remove_fake_exit_edges around the optimization pass. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-if-conv.c >>From gcc-bugs-return-524085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 19:32:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57304 invoked by alias); 3 May 2016 19:32:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57150 invoked by uid 48); 3 May 2016 19:32:12 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70931] New: ICE with -g in native_encode_initializer, bei dwarf2out.c:17768 Date: Tue, 03 May 2016 19:32: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00257.txt.bz2 Content-length: 1773 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70931 Bug ID: 70931 Summary: ICE with -g in native_encode_initializer, bei dwarf2out.c:17768 Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fortran@t-online.de Target Milestone: --- Up to now observed only with compile option -g. Under the hoods possibly related to pr67542. $ cat z1.f90 program p type t integer :: a integer :: b(0) end type type(t), parameter :: z =3D t(1, [2]) print *, z end $ gfortran-6 -g -c z1.f90 internal compiler error: in native_encode_initializer, at dwarf2out.c:17767 $ gfortran-7-20160501 -g z1.f90 internal compiler error: in native_encode_initializer, at dwarf2out.c:17768 0x881dc0 native_encode_initializer ../../gcc/dwarf2out.c:17768 0x881982 native_encode_initializer ../../gcc/dwarf2out.c:17810 0x88ce15 tree_add_const_value_attribute ../../gcc/dwarf2out.c:17852 0x89aaef gen_const_die ../../gcc/dwarf2out.c:21258 0x89aaef gen_decl_die ../../gcc/dwarf2out.c:23404 0x89b82e dwarf2out_decl ../../gcc/dwarf2out.c:23954 0x8b2fc8 dwarf2out_early_global_decl ../../gcc/dwarf2out.c:23627 0x6f9d3b do_traverse_symtree ../../gcc/fortran/symbol.c:3817 0x73eb65 gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.c:6328 0x6cabc0 translate_all_program_units ../../gcc/fortran/parse.c:5613 0x6cabc0 gfc_parse_file() ../../gcc/fortran/parse.c:5819 0x70ca32 gfc_be_parse_file ../../gcc/fortran/f95-lang.c:201 >>From gcc-bugs-return-524086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 19:33:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59179 invoked by alias); 3 May 2016 19:33:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58950 invoked by uid 48); 3 May 2016 19:33:06 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/70929] [4.9/5/6/7 regression] Cross-module inlining for functions having argument passed by reference is no longer working. Date: Tue, 03 May 2016 19:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: unknown X-Bugzilla-Keywords: 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: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00258.txt.bz2 Content-length: 5928 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70929 Jan Hubicka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-03 Ever confirmed|0 |1 --- Comment #1 from Jan Hubicka --- This patch solves the testcase: Index: cgraph.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- cgraph.c (revision 235839) +++ cgraph.c (working copy) @@ -59,6 +59,7 @@ along with GCC; see the file COPYING3. #include "tree-chkp.h" #include "context.h" #include "gimplify.h" +#include "stor-layout.h" /* FIXME: Only for PROP_loops, but cgraph shouldn't have to know about thi= s.=20 */ #include "tree-pass.h" @@ -3673,25 +3674,24 @@ gimple_check_call_args (gimple *stmt, tr { for (i =3D 0, p =3D parms; i < nargs; i++, p =3D TREE_CHAIN (p)) { - tree arg; /* If this is a varargs function defer inlining decision to callee. */ if (!p) break; - arg =3D gimple_call_arg (stmt, i); + + tree arg =3D gimple_call_arg (stmt, i); + tree type =3D TREE_VALUE (p); + if (POINTER_TYPE_P (arg) + && pass_by_reference (NULL, TYPE_MODE (type), type, true)) + type =3D TREE_TYPE (type); if (TREE_VALUE (p) =3D=3D error_mark_node || arg =3D=3D error_mark_node - || TREE_CODE (TREE_VALUE (p)) =3D=3D VOID_TYPE - || (!types_compatible_p (TREE_VALUE (p), TREE_TYPE (arg)) - && !fold_convertible_p (TREE_VALUE (p), arg))) + || TREE_CODE (type) =3D=3D VOID_TYPE + || (!types_compatible_p (type, TREE_TYPE (arg)) + && !fold_convertible_p (type, arg))) return false; } } - else - { - if (nargs !=3D 0) - return false; - } return true; } and may be a resonable fix for release branches (where dropping the checks completly seems somewhat risky). This patch turns: function not considered for inlining : 3 calls, 7035 freq, 0 count caller is not optimized : 313 calls, 313000 freq, 0 count function body not available : 169317 calls, 5072887= 18 freq, 0 count function not inlinable : 34230 calls, 14761634 freq, 0 count function body can be overwritten at link time : 5875 calls, 3060659 freq, 0 count --param large-function-growth limit reached : 1310 calls, 4501184 freq, 0 count --param large-stack-frame-growth limit reached : 5369 calls, 6695641 freq, 0 count --param max-inline-insns-single limit reached : 131 calls, 55952 freq, 0 count --param max-inline-insns-auto limit reached : 62265 calls, 69467053 freq, 0 count --param inline-unit-growth limit reached : 39900 calls, 25641347 freq, 0 count recursive inlining : 7 calls, 100428 freq, 0 count call is unlikely and code size would grow : 624745 calls, 7489540= 66 freq, 0 count mismatched arguments : 752 calls, 946732 freq, 0 count mismatched declarations during linktime optimization: 1 calls, = 900 freq, 0 count thunk call : 20631 calls, 20631000 freq, 0 count target specific option mismatch : 91 calls, 88969 freq, 0 count optimization level attribute mismatch : 12371 calls, 3153202 freq, 0 count callee refers to comdat-local symbols : 20 calls, 18065 freq, 0 count unreachable : 13241 calls, 0 freq, 0 count to: function not considered for inlining : 3 calls, 7035 freq, 0 count caller is not optimized : 313 calls, 313000 freq, 0 count function body not available : 169708 calls, 5078532= 59 freq, 0 count function not inlinable : 34230 calls, 14761634 freq, 0 count function body can be overwritten at link time : 5875 calls, 3060659 freq, 0 count --param large-function-growth limit reached : 1310 calls, 4501184 freq, 0 count --param large-stack-frame-growth limit reached : 5369 calls, 6695641 freq, 0 count --param max-inline-insns-single limit reached : 131 calls, 55952 freq, 0 count --param max-inline-insns-auto limit reached : 62265 calls, 69467053 freq, 0 count --param inline-unit-growth limit reached : 39900 calls, 25641347 freq, 0 count recursive inlining : 7 calls, 100428 freq, 0 count call is unlikely and code size would grow : 624741 calls, 7489330= 88 freq, 0 count mismatched arguments : 372 calls, 382648 freq, 0 count mismatched declarations during linktime optimization: 1 calls, = 900 freq, 0 count thunk call : 20631 calls, 20631000 freq, 0 count target specific option mismatch : 91 calls, 88969 freq, 0 count optimization level attribute mismatch : 12371 calls, 3153202 freq, 0 count callee refers to comdat-local symbols : 20 calls, 18065 freq, 0 count unreachable : 13241 calls, 0 freq, 0 count So there are still about 350 calls that are rules out as uninlinable... Honza >>From gcc-bugs-return-524087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 19:33:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59188 invoked by alias); 3 May 2016 19:33:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59119 invoked by uid 48); 3 May 2016 19:33:15 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70931] ICE with -g in native_encode_initializer, bei dwarf2out.c:17768 Date: Tue, 03 May 2016 19:33: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00259.txt.bz2 Content-length: 459 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70931 --- Comment #1 from Gerhard Steinmetz --- Whereas, these variants compile without problems : $ cat z2.f90 program p type t integer :: b(0) end type type(t), parameter :: z =3D t([2]) print *, z end $ cat z3.f90 program p type t integer :: a integer :: b(0) end type type(t), parameter :: z =3D t(1, 2) print *, z end >>From gcc-bugs-return-524088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 19:53:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78005 invoked by alias); 3 May 2016 19:53:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77759 invoked by uid 48); 3 May 2016 19:53:37 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70931] [4.9/5/6/7 Regression] ICE with -g in native_encode_initializer, bei dwarf2out.c:17768 Date: Tue, 03 May 2016 19:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_known_to_work keywords cf_reconfirmed_on everconfirmed short_desc cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00260.txt.bz2 Content-length: 1331 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70931 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Known to work| |4.6.4, 4.7.3 Keywords| |ice-on-valid-code Last reconfirmed| |2016-05-03 Ever confirmed|0 |1 Summary|ICE with -g in |[4.9/5/6/7 Regression] ICE |native_encode_initializer, |with -g in |bei dwarf2out.c:17768 |native_encode_initializer, | |bei dwarf2out.c:17768 Known to fail| |4.8.5, 4.9.3, 5.3.0, 6.1.0, | |7.0 --- Comment #2 from Dominique d'Humieres --- The code compiles with 4.6.4 and 4.7.3, but gives an ICE starting with 4.8 = up to trunk (7.0). The change occurred between revision r188694 (2012-06-16, compiles) and r188914 (2012-06-24, ICE). The only change of dwarf2out.c in = this range is r188874. >>From gcc-bugs-return-524089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 20:09:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60321 invoked by alias); 3 May 2016 20:09:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60112 invoked by uid 48); 3 May 2016 20:09:20 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70396] ICE on valid code at -O3 in 32-bit and 64-bit modes on x86_64-linux-gnu (in immed_wide_int_const, at emit-rtl.c:606) Date: Tue, 03 May 2016 20:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00261.txt.bz2 Content-length: 1977 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70396 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org --- Comment #5 from Martin Li=C5=A1ka --- Hi. With the updated version of the compiler, I still get the ICE for: $ cat tc.ii void fn1() { unsigned *a =3D 0; for (int i; i; ++i) { unsigned g(a[i] << 8 >> 24); a[i] =3D g; } } $ /home/marxin/bin/gcc2/lib/gcc/x86_64-pc-linux-gnu/7.0.0/cc1plus -fpreprocessed tc.ii -march=3Dhaswell -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -= mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mbmi2 -mno-tbm -mavx -mavx2 -msse4= .2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-pcommit -mno-mwaitx -mno-clzero -mno-pku --p= aram l1-cache-size=3D32 --param l1-cache-line-size=3D64 --param l2-cache-size=3D= 8192 -mtune=3Dhaswell -quiet -dumpbase tc.ii -O3 tc.ii:7:1: internal compiler error: in immed_wide_int_const, at emit-rtl.c:= 606 } ^ 0xa4cf35 immed_wide_int_const(generic_wide_int > const&, machine_mode) ../../gcc/emit-rtl.c:606 0x13929a9 change_zero_ext ../../gcc/combine.c:11111 0x13937d8 recog_for_combine ../../gcc/combine.c:11148 0x13a175d try_combine ../../gcc/combine.c:3503 0x13a6fc1 combine_instructions ../../gcc/combine.c:1288 0x13a6fc1 rest_of_handle_combine ../../gcc/combine.c:14348 0x13a6fc1 execute ../../gcc/combine.c:14391 Thanks >>From gcc-bugs-return-524090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 20:48:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127577 invoked by alias); 3 May 2016 20:48:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103660 invoked by uid 48); 3 May 2016 20:48:24 -0000 From: "fxcoudert at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/60670] omp.h may differ between multilibs Date: Tue, 03 May 2016 20:48: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: 4.9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: fxcoudert 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00262.txt.bz2 Content-length: 499 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60670 --- Comment #13 from Francois-Xavier Coudert = --- Showing how the module files are not found when a non default multilib is chosen: $ gfortran a.f90 -fopenmp=20=20=20=20=20 $ gfortran a.f90 -fopenmp -m32 a.f90:1:6: use omp_lib 1 Fatal Error: Can't open module file =E2=80=98omp_lib.mod=E2=80=99 for readi= ng at (1): No such file or directory compilation terminated. $ cat a.f90=20 use omp_lib end >>From gcc-bugs-return-524092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 20:54:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54237 invoked by alias); 3 May 2016 20:54:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54030 invoked by uid 48); 3 May 2016 20:54:24 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/65479] sanitizer stack trace missing frames past #0 on powerpc64 Date: Tue, 03 May 2016 20:54: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00264.txt.bz2 Content-length: 457 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65479 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|msebor at gcc dot gnu.org |unassigned at gcc d= ot gnu.org --- Comment #17 from Martin Sebor --- Unassigning myself since I'm not actively working on it anymore. >>From gcc-bugs-return-524091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 20:54:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53119 invoked by alias); 3 May 2016 20:54:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52908 invoked by uid 48); 3 May 2016 20:53:51 -0000 From: "fxcoudert at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/60670] omp.h may differ between multilibs Date: Tue, 03 May 2016 20:54: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: 4.9.0 X-Bugzilla-Keywords: patch, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: fxcoudert 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 Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00263.txt.bz2 Content-length: 1233 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60670 Francois-Xavier Coudert changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #14 from Francois-Xavier Coudert = --- Based on libgfortran build machinery, the following patch should be applied= to libgomp: Index: libgomp/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- libgomp/Makefile.am (revision 235843) +++ libgomp/Makefile.am (working copy) @@ -10,7 +10,7 @@ config_path =3D @config_path@ search_path =3D $(addprefix $(top_srcdir)/config/, $(config_path)) $(top_s= rcdir) \ $(top_srcdir)/../include -fincludedir =3D $(libdir)/gcc/$(target_alias)/$(gcc_version)/finclude +fincludedir =3D $(libdir)/gcc/$(target_alias)/$(gcc_version)$(MULTISUBDIR)/finclude libsubincludedir =3D $(libdir)/gcc/$(target_alias)/$(gcc_version)/include vpath % $(strip $(search_path)) >>From gcc-bugs-return-524093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 21:00:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104002 invoked by alias); 3 May 2016 21:00:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103354 invoked by uid 48); 3 May 2016 21:00:10 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70906] [7 Regression] ice in add_expr, at tree.c:7925 Date: Tue, 03 May 2016 21:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00265.txt.bz2 Content-length: 1007 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70906 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek --- --- gcc/tree.c.jj 2016-05-03 10:00:25.000000000 +0200 +++ gcc/tree.c 2016-05-03 22:56:20.976817150 +0200 @@ -7915,6 +7915,10 @@ add_expr (const_tree t, inchash::hash &h && integer_zerop (TREE_OPERAND (t, 1))) inchash::add_expr (TREE_OPERAND (TREE_OPERAND (t, 0), 0), hstate, flags); + /* Don't ICE on language specific trees. */ + else if ((int) code >=3D NUM_TREE_CODES + && (tclass =3D=3D tcc_constant || tclass =3D=3D tcc_exceptio= nal)) + return; else { gcc_assert (IS_EXPR_CODE_CLASS (tclass)); should fix this. >>From gcc-bugs-return-524094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 21:16:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49178 invoked by alias); 3 May 2016 21:16:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32003 invoked by uid 55); 3 May 2016 21:16:01 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66639] declare __func__ , __FUNCTION__ & __PRETTY_FUNCTION__ as constexpr Date: Tue, 03 May 2016 21:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00266.txt.bz2 Content-length: 1893 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66639 --- Comment #7 from Martin Sebor --- Author: msebor Date: Tue May 3 21:15:28 2016 New Revision: 235845 URL: https://gcc.gnu.org/viewcvs?rev=3D235845&root=3Dgcc&view=3Drev Log: PR c++/66561 - __builtin_LINE at al. should yield constant expressions PR c++/66639 - declare __func__, __FUNCTION__ & __PRETTY_FUNCTION__ constex= pr gcc/testsuite/ChangeLog: 2016-05-03 Martin Sebor PR c++/66561 * c-c++-common/builtin_location.c: New test. * g++.dg/cpp1y/builtin_location.C: New test. gcc/cp/ChangeLog: 2016-05-03 Martin Sebor PR c++/66561 * tree.c (builtin_valid_in_constant_expr_p): Treat BUILT_IN_FILE, BUILT_IN_FUNCTION, and BUILT_IN_LINE as constant expressions. gcc/ChangeLog: 2016-05-03 Martin Sebor PR c++/66561 * builtins.c (fold_builtin_FILE): New function. (fold_builtin_FUNCTION, fold_builtin_LINE): New functions. (fold_builtin_0): Call them. * gimplify.c (gimplify_call_expr): Remove the handling of BUILT_IN_FILE, BUILT_IN_FUNCTION, and BUILT_IN_LINE. PR c++/66561 * doc/extend.texi (Other Builtins): Update __builtin_FILE, __builtin_FUNCTION, and __builtin_LINE to reflect they yield constants. PR c++/66639 * doc/extend.texi (Function Names as Strings): Update __func__, __FUNCTION__, __PRETTY_FUNCTION__ to reflect they evaluate to constants. Added: trunk/gcc/testsuite/c-c++-common/builtin_location.c trunk/gcc/testsuite/g++.dg/cpp1y/builtin_location.C Modified: trunk/gcc/ChangeLog trunk/gcc/builtins.c trunk/gcc/cp/ChangeLog trunk/gcc/cp/tree.c trunk/gcc/doc/extend.texi trunk/gcc/gimplify.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 21:16:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49367 invoked by alias); 3 May 2016 21:16:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31373 invoked by uid 55); 3 May 2016 21:16:01 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66561] __builtin_LINE at al. should yield constant expressions Date: Tue, 03 May 2016 21:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00267.txt.bz2 Content-length: 1893 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66561 --- Comment #3 from Martin Sebor --- Author: msebor Date: Tue May 3 21:15:28 2016 New Revision: 235845 URL: https://gcc.gnu.org/viewcvs?rev=3D235845&root=3Dgcc&view=3Drev Log: PR c++/66561 - __builtin_LINE at al. should yield constant expressions PR c++/66639 - declare __func__, __FUNCTION__ & __PRETTY_FUNCTION__ constex= pr gcc/testsuite/ChangeLog: 2016-05-03 Martin Sebor PR c++/66561 * c-c++-common/builtin_location.c: New test. * g++.dg/cpp1y/builtin_location.C: New test. gcc/cp/ChangeLog: 2016-05-03 Martin Sebor PR c++/66561 * tree.c (builtin_valid_in_constant_expr_p): Treat BUILT_IN_FILE, BUILT_IN_FUNCTION, and BUILT_IN_LINE as constant expressions. gcc/ChangeLog: 2016-05-03 Martin Sebor PR c++/66561 * builtins.c (fold_builtin_FILE): New function. (fold_builtin_FUNCTION, fold_builtin_LINE): New functions. (fold_builtin_0): Call them. * gimplify.c (gimplify_call_expr): Remove the handling of BUILT_IN_FILE, BUILT_IN_FUNCTION, and BUILT_IN_LINE. PR c++/66561 * doc/extend.texi (Other Builtins): Update __builtin_FILE, __builtin_FUNCTION, and __builtin_LINE to reflect they yield constants. PR c++/66639 * doc/extend.texi (Function Names as Strings): Update __func__, __FUNCTION__, __PRETTY_FUNCTION__ to reflect they evaluate to constants. Added: trunk/gcc/testsuite/c-c++-common/builtin_location.c trunk/gcc/testsuite/g++.dg/cpp1y/builtin_location.C Modified: trunk/gcc/ChangeLog trunk/gcc/builtins.c trunk/gcc/cp/ChangeLog trunk/gcc/cp/tree.c trunk/gcc/doc/extend.texi trunk/gcc/gimplify.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 21:17:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57485 invoked by alias); 3 May 2016 21:17:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57176 invoked by uid 48); 3 May 2016 21:17:09 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66561] __builtin_LINE at al. should yield constant expressions Date: Tue, 03 May 2016 21:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00268.txt.bz2 Content-length: 445 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66561 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Martin Sebor --- Fixed in 235845 for GCC 7.0. >>From gcc-bugs-return-524097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 21:32:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84838 invoked by alias); 3 May 2016 21:32:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84548 invoked by uid 48); 3 May 2016 21:32:32 -0000 From: "jens.maurer at gmx dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70827] [6/7 regression] dubious use of deleted function in inherited constructor Date: Tue, 03 May 2016 21:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jens.maurer at gmx dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00269.txt.bz2 Content-length: 229 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70827 --- Comment #2 from Jens Maurer --- A prominent use case is that std::unique_ptr in the parameter list of an inherited constructor stops working. >>From gcc-bugs-return-524098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 21:43:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112441 invoked by alias); 3 May 2016 21:43:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112321 invoked by uid 48); 3 May 2016 21:43:12 -0000 From: "jens.maurer at gmx dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70932] New: flexible array member with non-trivial destructor Date: Tue, 03 May 2016 21:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jens.maurer at gmx dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00270.txt.bz2 Content-length: 799 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70932 Bug ID: 70932 Summary: flexible array member with non-trivial destructor Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- Testcase: struct A { ~A(); }; struct S { S() : i(0) { } int i; A a[]; }; $ g++ -v flex.cc gcc version 6.1.0 (GCC)=20 flex.cc: In constructor =E2=80=98S::S()=E2=80=99: flex.cc:6:12: error: unknown array size in delete This used to work with gcc 5.x. (I understand the destructor of A is not called for a[] here, because the number of elements is unknown.) >>From gcc-bugs-return-524099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 21:44:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118984 invoked by alias); 3 May 2016 21:44:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118561 invoked by uid 55); 3 May 2016 21:44:37 -0000 From: "paolo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70635] [4.9/5 Regression] ICE on (and rejects) valid code on x86_64-linux-gnu: Segmentation fault (program cc1plus) Date: Tue, 03 May 2016 21:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00271.txt.bz2 Content-length: 790 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70635 --- Comment #6 from paolo at gcc dot gnu.org --- Author: paolo Date: Tue May 3 21:44:04 2016 New Revision: 235846 URL: https://gcc.gnu.org/viewcvs?rev=3D235846&root=3Dgcc&view=3Drev Log: /cp 2016-05-03 Paolo Carlini PR c++/70635 * pt.c (resolve_typename_type): Fix typos in infinite recursion avoidance mechanism. /testsuite 2016-05-03 Paolo Carlini PR c++/70635 * g++.dg/parse/pr70635.C: New. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/parse/pr70635.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/pt.c branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 21:47:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127834 invoked by alias); 3 May 2016 21:47:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127474 invoked by uid 48); 3 May 2016 21:47:26 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70635] [4.9 Regression] ICE on (and rejects) valid code on x86_64-linux-gnu: Segmentation fault (program cc1plus) Date: Tue, 03 May 2016 21:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00272.txt.bz2 Content-length: 1023 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70635 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC|paolo at gcc dot gnu.org | Resolution|--- |FIXED Target Milestone|4.9.4 |5.4 Summary|[4.9/5 Regression] ICE on |[4.9 Regression] ICE on |(and rejects) valid code on |(and rejects) valid code on |x86_64-linux-gnu: |x86_64-linux-gnu: |Segmentation fault (program |Segmentation fault (program |cc1plus) |cc1plus) --- Comment #7 from Paolo Carlini --- Fixed for 5.4 too. I'm closing the bug, I don't think we want to fiddle with gcc-4_9-branch for this kind of issue, at this point. >>From gcc-bugs-return-524101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 22:02:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86462 invoked by alias); 3 May 2016 22:02:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85951 invoked by uid 48); 3 May 2016 22:02:27 -0000 From: "j.v.dijk at tue dot nl" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70933] New: [7.0 regression] ICE with -Wall on valid code in inchash::add_expr Date: Tue, 03 May 2016 22:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: j.v.dijk at tue dot nl 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00273.txt.bz2 Content-length: 3409 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70933 Bug ID: 70933 Summary: [7.0 regression] ICE with -Wall on valid code in inchash::add_expr Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: j.v.dijk at tue dot nl Target Milestone: --- The reduced testcase at the end of this report makes rev. 235846 of the compiler ice with -Wall. Maybe related to PR70906. > g++ -c -Wall declarations.cpp=20 declarations.cpp: In instantiation of =E2=80=98void test_declarations() [wi= th T =3D unsigned int]=E2=80=99: declarations.cpp:22:30: required from here declarations.cpp:17:5: internal compiler error: in add_expr, at tree.c:7928 T& param =3D evaluator.declare_parameter("p1")=3DT(4); ^~~~~ 0x1020896 inchash::add_expr(tree_node const*, inchash::hash&, unsigned int) ../../gcc-head/gcc/tree.c:7928 0x10202f2 inchash::add_expr(tree_node const*, inchash::hash&, unsigned int) ../../gcc-head/gcc/tree.c:7997 0x101ff75 inchash::add_expr(tree_node const*, inchash::hash&, unsigned int) ../../gcc-head/gcc/tree.c:7997 0x101ff75 inchash::add_expr(tree_node const*, inchash::hash&, unsigned int) ../../gcc-head/gcc/tree.c:7997 0x10202f2 inchash::add_expr(tree_node const*, inchash::hash&, unsigned int) ../../gcc-head/gcc/tree.c:7997 0x101ff75 inchash::add_expr(tree_node const*, inchash::hash&, unsigned int) ../../gcc-head/gcc/tree.c:7997 0x10202f2 inchash::add_expr(tree_node const*, inchash::hash&, unsigned int) ../../gcc-head/gcc/tree.c:7997 0xa9bf68 operand_equal_p(tree_node const*, tree_node const*, unsigned int) ../../gcc-head/gcc/fold-const.c:2761 0x8ae46a candidate_equal_p ../../gcc-head/gcc/c-family/c-common.c:2926 0x8ae4fb candidate_equal_p ../../gcc-head/gcc/c-family/c-common.c:2926 0x8ae4fb merge_tlist ../../gcc-head/gcc/c-family/c-common.c:2831 0x8b2725 verify_tree ../../gcc-head/gcc/c-family/c-common.c:3135 0x8b66aa verify_sequence_points(tree_node*) ../../gcc-head/gcc/c-family/c-common.c:3159 0x7fa287 finish_expr_stmt(tree_node*) ../../gcc-head/gcc/cp/semantics.c:682 0x699f0d initialize_local_var ../../gcc-head/gcc/cp/decl.c:6428 0x699f0d cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int) ../../gcc-head/gcc/cp/decl.c:6977 0x6cc84f tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc-head/gcc/cp/pt.c:15216 0x6c8f24 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc-head/gcc/cp/pt.c:15105 0x6c9d27 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc-head/gcc/cp/pt.c:15290 0x6c697d instantiate_decl(tree_node*, int, bool) ../../gcc-head/gcc/cp/pt.c:22019 jan@linux-pwd6:~/src/gum-cvs/plmathparser/testsuite> cat declarations.cpp=20 struct string { string(const char*); }; template struct expression_evaluator { typedef T result_type; result_type& declare_parameter(const string& name); }; template void test_declarations() { expression_evaluator evaluator; T& param =3D evaluator.declare_parameter("p1")=3DT(4); } void foo() { test_declarations(); } >>From gcc-bugs-return-524102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 22:49:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112087 invoked by alias); 3 May 2016 22:49:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111942 invoked by uid 55); 3 May 2016 22:48:52 -0000 From: "bernds at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/57193] [4.9/5/6/7 Regression] suboptimal register allocation for SSE registers Date: Tue, 03 May 2016 22:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: bernds at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: vmakarov at redhat dot com X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00274.txt.bz2 Content-length: 526 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57193 --- Comment #12 from Bernd Schmidt --- Author: bernds Date: Tue May 3 22:48:03 2016 New Revision: 235848 URL: https://gcc.gnu.org/viewcvs?rev=3D235848&root=3Dgcc&view=3Drev Log: PR rtl-optimization/57193 * opts.c (default_options_table): Revert OPT_frename_registers chan= ge. * doc/invoke.texi (-frename-registers, -O2): Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/invoke.texi trunk/gcc/opts.c >>From gcc-bugs-return-524103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 03 23:52:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64854 invoked by alias); 3 May 2016 23:52:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64721 invoked by uid 55); 3 May 2016 23:52:07 -0000 From: "amodra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70866] powerpc64le -ffixed-cr2 -ffixed-cr3 -ffixed-cr4 ICE Date: Tue, 03 May 2016 23:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00275.txt.bz2 Content-length: 690 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70866 --- Comment #1 from Alan Modra --- Author: amodra Date: Tue May 3 23:51:34 2016 New Revision: 235851 URL: https://gcc.gnu.org/viewcvs?rev=3D235851&root=3Dgcc&view=3Drev Log: [RS6000] powerpc64le -ffixed-cr2 -ffixed-cr3 -ffixed-cr4 ICE gcc/ PR target/70866 * config/rs6000/rs6000.c (rs6000_stack_info): Don't set cr_save_p when cr2,3,4 are all fixed regs. gcc/testsuite/ * gcc.target/powerpc/pr70866.c: New. Added: trunk/gcc/testsuite/gcc.target/powerpc/pr70866.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 00:04:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111384 invoked by alias); 4 May 2016 00:04:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111006 invoked by uid 48); 4 May 2016 00:04:21 -0000 From: "amodra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70866] powerpc64le -ffixed-cr2 -ffixed-cr3 -ffixed-cr4 ICE Date: Wed, 04 May 2016 00: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00276.txt.bz2 Content-length: 468 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70866 Alan Modra changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |7.0 --- Comment #2 from Alan Modra --- Fixed. >>From gcc-bugs-return-524105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 00:28:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114784 invoked by alias); 4 May 2016 00:28:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 113916 invoked by uid 48); 4 May 2016 00:28:01 -0000 From: "koriakin at 0x04 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70934] New: 16-byte atomics are unimplemented on s390x, but __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 is defined Date: Wed, 04 May 2016 00:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: koriakin at 0x04 dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00277.txt.bz2 Content-length: 852 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70934 Bug ID: 70934 Summary: 16-byte atomics are unimplemented on s390x, but __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 is defined Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: koriakin at 0x04 dot net Target Milestone: --- $ cat at128.c typedef int ti __attribute__((mode(TI))); ti a, b, c; int main(void) { #ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 __sync_val_compare_and_swap(&a, b, c); #endif } $ gcc at128.c /tmp/cc1ezNAw.o: In function `main': at128.c:(.text+0x66): undefined reference to `__sync_val_compare_and_swap_1= 6' collect2: error: ld returned 1 exit status >>From gcc-bugs-return-524106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 00:42:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12346 invoked by alias); 4 May 2016 00:42:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12117 invoked by uid 48); 4 May 2016 00:42:17 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70928] Load simple float constants via VSX operations on PowerPC Date: Wed, 04 May 2016 00:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: bergner 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00278.txt.bz2 Content-length: 191 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70928 --- Comment #2 from Peter Bergner --- Can powers of 2 values be generated with a splat followed by a shift? >>From gcc-bugs-return-524107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 01:18:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98229 invoked by alias); 4 May 2016 01:18:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98003 invoked by uid 48); 4 May 2016 01:18:26 -0000 From: "ljliang1990 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70918] Internal compiler error: Illegal instruction Date: Wed, 04 May 2016 01:18: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: ljliang1990 at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00279.txt.bz2 Content-length: 163 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70918 --- Comment #2 from Liang --- Alright Thanks, i'll try to redo the whole LFS. >>From gcc-bugs-return-524108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 04:00:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49227 invoked by alias); 4 May 2016 04:00:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44212 invoked by uid 48); 4 May 2016 04:00:32 -0000 From: "gccbugs at jbapple dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70898] Stateful Compare objects are very slow Date: Wed, 04 May 2016 04: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: 4.8.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gccbugs at jbapple 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_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00280.txt.bz2 Content-length: 1252 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70898 gccbugs at jbapple dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|DUPLICATE |--- --- Comment #6 from gccbugs at jbapple dot com --- I'm not sure I agree that this is a duplicate. In particular, 67085 says th= at std::priority_queue operations "should not copy comparators". I suggested t= hat as well in my initial report, but upon a closer reading of the standard, I'm not sure that would be conformant, since the standard requires priorityy_queue::push to call std::push_heap, and std::push_heap has to take its comparator by value. On the other hand, I do think that copying comparators *fewer* times that libstdc++ currently does is permitted, and I think it could have a big performance benefit in some cases. In particular, though push_heap seems like it must take the comparator by value, __push_heap is not required to do so. The constructor for __gnu_cxx::__ops::_Iter_comp_val and the function __gnu_cxx::__ops::__iter_comp_val also do not have to take their comparator= s by value. >>From gcc-bugs-return-524109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 04:01:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50834 invoked by alias); 4 May 2016 04:01:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50609 invoked by uid 48); 4 May 2016 04:01:33 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/70935] New: [6/7 Regression] ICE: verify_ssa failed (error: definition in block 9 does not dominate use in block 12) w/ -O3 -g Date: Wed, 04 May 2016 04:01: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.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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00281.txt.bz2 Content-length: 1629 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70935 Bug ID: 70935 Summary: [6/7 Regression] ICE: verify_ssa failed (error: definition in block 9 does not dominate use in block 12) w/ -O3 -g Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc 6 and 7 ICE when compiling the following reduced snippet at -O3 (or -Of= ast) w/ -g: int d0, sj, v0, rp, zi; void zn(void) { if (v0 !=3D 0) { int *js, *r3; int pm, gc; for (gc =3D 0; gc < 1; ++gc) { sj =3D 1; while (sj !=3D 0) ; } r3 =3D ± *js =3D &gc; ka: for (d0 =3D 0; d0 < 2; ++d0) { d0 =3D zi; if (zi) for (pm =3D 2; pm !=3D 0; --pm) ; } while (*r3 !=3D 0) { while (pm) ; ++r3; } } rp =3D 0; goto ka; } % gcc-7.0.0-alpha20160501 -c -O3 -g fngq6pkt.c=20 fngq6pkt.c: In function 'zn': fngq6pkt.c:18:11: warning: assignment makes integer from pointer without a = cast [-Wint-conversion] *js =3D &gc; ^ fngq6pkt.c:4:1: error: definition in block 9 does not dominate use in block= 12 zn(void) ^~ for SSA_NAME: pm.7_34 in statement: # DEBUG pm =3D> pm.7_34 fngq6pkt.c:4:1: internal compiler error: verify_ssa failed >>From gcc-bugs-return-524110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 05:41:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8474 invoked by alias); 4 May 2016 05:41:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8171 invoked by uid 48); 4 May 2016 05:41:11 -0000 From: "gentryx at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70925] Vectorized loop segfaults: read exceeds vector boundary Date: Wed, 04 May 2016 05:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gentryx at gmx 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00282.txt.bz2 Content-length: 231 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70925 --- Comment #5 from Andreas Schaefer --- @Markus Trippelsdorf interesting, let me check the code once again. Which t= ool did you use for this analysis? >>From gcc-bugs-return-524111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 05:43:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10607 invoked by alias); 4 May 2016 05:43:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10438 invoked by uid 48); 4 May 2016 05:43:19 -0000 From: "lh_mouse at 126 dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/70936] New: Hard-coded C++ header paths and relocation problem on Windows Date: Wed, 04 May 2016 05:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lh_mouse at 126 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00283.txt.bz2 Content-length: 5569 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70936 Bug ID: 70936 Summary: Hard-coded C++ header paths and relocation problem on Windows Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: lh_mouse at 126 dot com Target Milestone: --- The following message is copied from https://gcc.gnu.org/ml/gcc/2016-05/msg00003.html ``` This is a cross-post from gcc-help as there haven't been any replies on gcc-help since two days ago. Hope someone could help. ``` I have built GCC from gcc-6-branch in MSYS2 with mingw-w64 CRT on Windows today. Now I have a relocation problem: Assuming mingw-w64 headers are located in the follow directory,which is, the native_system_header_dir: > C:/MinGW/MSYS2/mingw32/lib/gcc/i686-w64-mingw32/6.1.1/include I have built GCC and it has that hard-coded path. When I compile something using g++ -v, the headers are searched in the following paths: ``` ignoring nonexistent directory "/mingw32/include" ignoring duplicate directory "C:/MinGW/MSYS2/mingw32/i686-w64-mingw32/inclu= de" #include "..." search starts here: #include <...> search starts here: C:/MinGW/MSYS2/mingw32/include/c++/6.1.1 C:/MinGW/MSYS2/mingw32/include/c++/6.1.1/i686-w64-mingw32 C:/MinGW/MSYS2/mingw32/include/c++/6.1.1/backward C:/MinGW/MSYS2/mingw32/lib/gcc/i686-w64-mingw32/6.1.1/include C:/MinGW/MSYS2/mingw32/lib/gcc/i686-w64-mingw32/6.1.1/../../../../include C:/MinGW/MSYS2/mingw32/lib/gcc/i686-w64-mingw32/6.1.1/include-fixed C:/MinGW/MSYS2/mingw32/lib/gcc/i686-w64-mingw32/6.1.1/../../../../i686-w64-= mingw32/include End of search list. ``` The C++ headers are searched before any mingw-w64 headers, which is just fi= ne. However, if I move gcc to another directory, let's say, C:/this_is_a_new_directory/mingw32/, then re-compile the same program with g++ -v, the headers are searched in t= he following paths: ``` ignoring duplicate directory "C:/this_is_a_new_directory/mingw32/lib/gcc/../../lib/gcc/i686-w64-mingw32/= 6.1.1/include" ignoring nonexistent directory "C:/MinGW/MSYS2/mingw32/include" ignoring nonexistent directory "/mingw32/include" ignoring duplicate directory "C:/this_is_a_new_directory/mingw32/lib/gcc/../../lib/gcc/i686-w64-mingw32/= 6.1.1/include-fixed" ignoring duplicate directory "C:/this_is_a_new_directory/mingw32/lib/gcc/../../lib/gcc/i686-w64-mingw32/= 6.1.1/../../../../i686-w64-mingw32/include" ignoring nonexistent directory "C:/MinGW/MSYS2/mingw32/i686-w64-mingw32/include" #include "..." search starts here: #include <...> search starts here: C:/this_is_a_new_directory/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.1.1/in= clude C:/this_is_a_new_directory/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.1.1/..= /../../../include C:/this_is_a_new_directory/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.1.1/in= clude-fixed C:/this_is_a_new_directory/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.1.1/..= /../../../i686-w64-mingw32/include C:/this_is_a_new_directory/mingw32/lib/gcc/../../include/c++/6.1.1 C:/this_is_a_new_directory/mingw32/lib/gcc/../../include/c++/6.1.1/i686-w64= -mingw32 C:/this_is_a_new_directory/mingw32/lib/gcc/../../include/c++/6.1.1/backward End of search list. ``` This time the C++ headers are searched after mingw-w64 headers, which causes the following error: ``` In file included from C:/MinGW/mingw32/include/c++/6.1.1/ext/string_conversions.h:41:0, from C:/MinGW/mingw32/include/c++/6.1.1/bits/basic_string.h:5402, from C:/MinGW/mingw32/include/c++/6.1.1/string:52, from C:/MinGW/mingw32/include/c++/6.1.1/bits/locale_classes.h:40, from C:/MinGW/mingw32/include/c++/6.1.1/bits/ios_base.h:41, from C:/MinGW/mingw32/include/c++/6.1.1/ios:42, from C:/MinGW/mingw32/include/c++/6.1.1/ostream:38, from C:/MinGW/mingw32/include/c++/6.1.1/iostream:39, from test.cpp:1: C:/MinGW/mingw32/include/c++/6.1.1/cstdlib:75:25: fatal error: stdlib.h: No such file or directory #include_next ^ compilation terminated. ``` Do you know how to solve this problem (modifications to gcc source code are expected)? Thanks in advance. -------------- Best regards, lh_mouse 2016-05-02 I made some investigation yesterday and here is the result: ``` Diff'ing gcc/libstdc++-v3/include/c_global/cstdlib from gcc-5-branch and gcc-6-branch gives the following result: (git diff gcc-5-branch gcc-6-branch -- libstdc++-v3/include/c_global/cstdli= b) ``` @@ -69,7 +69,11 @@ namespace std #else -#include +// Need to ensure this finds the C library's not a libstdc++ +// wrapper that might already be installed later in the include search pat= h. +#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS +#include_next +#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS // Get rid of those macros defined in in lieu of real functions. #undef abort ``` Replacing #include_next with #include fixes the problem. However, I am not exactly clear about whether it is these headers (cstdlib = and cmath currently, there might be more) that are the problem. In my point of view, it is the inversion of C and C++ header paths that is = the problem. ------------------=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 Best regards, lh_mouse 2016-05-02 >>From gcc-bugs-return-524112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 05:50:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26582 invoked by alias); 4 May 2016 05:50:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25654 invoked by uid 48); 4 May 2016 05:50:18 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/70936] Hard-coded C++ header paths and relocation problem on Windows Date: Wed, 04 May 2016 05:50: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: 6.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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00284.txt.bz2 Content-length: 480 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70936 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Component|preprocessor |driver --- Comment #1 from Andrew Pinski --- I use relocatable directory feature on Linux but I have not tested 6 yet.= =20=20 This is a driver issue I think ... >>From gcc-bugs-return-524113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 05:56:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33452 invoked by alias); 4 May 2016 05:56:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33262 invoked by uid 48); 4 May 2016 05:55:58 -0000 From: "lh_mouse at 126 dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/70936] Hard-coded C++ header paths and relocation problem on Windows Date: Wed, 04 May 2016 05:56: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lh_mouse at 126 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00285.txt.bz2 Content-length: 540 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70936 --- Comment #2 from lh_mouse --- (In reply to Andrew Pinski from comment #1) > I use relocatable directory feature on Linux but I have not tested 6 yet.= =20=20 > This is a driver issue I think ... I was examining gcc/gcc/incpath.c for problems, though failed to find any, I think it is worthing mentioning that '-iprefix this_directory_need_not_exis= t/' effectively vanished the problem - that is, the order of C and C++ include paths became correct again. >>From gcc-bugs-return-524114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 05:57:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36917 invoked by alias); 4 May 2016 05:57:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36618 invoked by uid 48); 4 May 2016 05:56:50 -0000 From: "Joost.VandeVondele at mat dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBtaWRkbGUtZW5kLzcwOTM3XSBOZXc6IFs3LjAgUmVncmVzc2lvbl0g?= =?UTF-8?B?SUNFOiB0cmVlIGNvZGUg4oCYc3NhX25hbWXigJkgaXMgbm90IHN1cHBvcnRl?= =?UTF-8?B?ZCBpbiBMVE8gc3RyZWFtcw==?= Date: Wed, 04 May 2016 05:57: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00286.txt.bz2 Content-length: 1918 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 Bug ID: 70937 Summary: [7.0 Regression] ICE: tree code =E2=80=98ssa_name=E2=80= =99 is not supported in LTO streams Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- overnight regression in trunk: > cat bug.f90=20 SUBROUTINE dbcsr_test_read_args(narg, args) CHARACTER(len=3D*), DIMENSION(:), & INTENT(out) :: args CHARACTER(len=3D80) :: line DO args(narg) =3D line ENDDO END SUBROUTINE dbcsr_test_read_args > gfortran -flto -c -O0 bug.f90=20 bug.f90:8:0: internal compiler error: tree code =E2=80=98ssa_name=E2=80=99 = is not supported in LTO streams END SUBROUTINE dbcsr_test_read_args 0xa62703 DFS::DFS(output_block*, tree_node*, bool, bool, bool) ../../gcc/gcc/lto-streamer-out.c:676 0xa6338b lto_output_tree(output_block*, tree_node*, bool, bool) ../../gcc/gcc/lto-streamer-out.c:1616 0xa5960d write_global_stream ../../gcc/gcc/lto-streamer-out.c:2415 0xa5960d lto_output_decl_state_streams(output_block*, lto_out_decl_state*) ../../gcc/gcc/lto-streamer-out.c:2462 0xa60fa4 produce_asm_for_decls() ../../gcc/gcc/lto-streamer-out.c:2839 0xacd65f write_lto ../../gcc/gcc/passes.c:2459 0xad08ae ipa_write_summaries_1 ../../gcc/gcc/passes.c:2520 0xad08ae ipa_write_summaries() ../../gcc/gcc/passes.c:2580 0x7a6059 ipa_passes ../../gcc/gcc/cgraphunit.c:2310 0x7a6059 symbol_table::compile() ../../gcc/gcc/cgraphunit.c:2404 0x7a880d symbol_table::finalize_compilation_unit() ../../gcc/gcc/cgraphunit.c:2564 Please submit a full bug report, >>From gcc-bugs-return-524115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 06:01:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43959 invoked by alias); 4 May 2016 06:01:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43900 invoked by uid 48); 4 May 2016 06:00:58 -0000 From: "bruck.michael at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70938] New: internal compiler error: in tsubst_copy, at cp/pt.c:13008 Date: Wed, 04 May 2016 06:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bruck.michael at googlemail 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00287.txt.bz2 Content-length: 1050 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70938 Bug ID: 70938 Summary: internal compiler error: in tsubst_copy, at cp/pt.c:13008 Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bruck.michael at googlemail dot com Target Milestone: --- $ cat ice-20160504.cpp struct bar_t { int i; }; template struct foo_t { bar_t & bar =3D *(bar_t *)0x7770; int & i =3D bar.i; }; constexpr auto foo =3D foo_t{}; $ arm-none-eabi-g++.exe -std=3Dc++14 ice-20160504.cpp ice-20160504.cpp:13:33: internal compiler error: in tsubst_copy, at cp/pt.c:13008 constexpr auto foo =3D foo_t{}; ^ ... $ arm-none-eabi-g++.exe -V ... gcc version 5.3.1 20160307 (release) [ARM/embedded-5-branch revision 234589] (GNU Tools for ARM Embedded Processors) >>From gcc-bugs-return-524116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 06:28:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26676 invoked by alias); 4 May 2016 06:28:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26486 invoked by uid 48); 4 May 2016 06:28:38 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/70935] [6/7 Regression] ICE: verify_ssa failed (error: definition in block 9 does not dominate use in block 12) w/ -O3 -g Date: Wed, 04 May 2016 06:28: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00288.txt.bz2 Content-length: 616 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70935 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-04 CC| |jakub at gcc dot gnu.org Target Milestone|--- |6.2 Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Started with r228599. >>From gcc-bugs-return-524117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 06:34:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51847 invoked by alias); 4 May 2016 06:34:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51538 invoked by uid 48); 4 May 2016 06:34:07 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBtaWRkbGUtZW5kLzcwOTM3XSBbNy4wIFJlZ3Jlc3Npb25dIElDRTog?= =?UTF-8?B?dHJlZSBjb2RlIOKAmHNzYV9uYW1l4oCZIGlzIG5vdCBzdXBwb3J0ZWQgaW4g?= =?UTF-8?B?TFRPIHN0cmVhbXM=?= Date: Wed, 04 May 2016 06:34: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00289.txt.bz2 Content-length: 654 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-04 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- Confirmed: e.g., gfortran.dg/actual_array_constructor_1.f90 gfortran.dg/actual_array_constructor_2.f90 ... gfortran.dg/widechar_intrinsics_5.f90 libgomp.fortran/vla*.f90 >>From gcc-bugs-return-524118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 06:39:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115404 invoked by alias); 4 May 2016 06:38:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106582 invoked by uid 48); 4 May 2016 06:38:18 -0000 From: "pravasimeet999 at yahoo dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70939] New: creating object of abstract class allowed in all versions of g++ Date: Wed, 04 May 2016 06:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: pravasimeet999 at yahoo dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00290.txt.bz2 Content-length: 1348 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70939 Bug ID: 70939 Summary: creating object of abstract class allowed in all versions of g++ Product: gcc Version: unknown Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: pravasimeet999 at yahoo dot com Target Milestone: --- Created attachment 38408 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38408&action=3Dedit g++ compiles ill formed C++ program successfully The following program is ill formed C++ program because it is not allowed to create objects of abstract class. But in all versions of g++ the program compiles successfully. This question originally asked on stackoverflow by user Matt. See here: http://stackoverflow.com/questions/37017094/why-do-gcc-and-clang-allow-me-t= o-construct-an-abstract-class =2E (See live demo here: http://melpon.org/wandbox/permlink/U7PeIkEPT19BfguJ ) #include class A { public: A() { printf("A()\n"); } virtual void b() const =3D 0; }; int main() { const A& a{}; a.b(); return 0; } The program is clearly invalid & implementation is required to produce a diagnosis for this according to C++ standard. >>From gcc-bugs-return-524119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 06:44:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76194 invoked by alias); 4 May 2016 06:43:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48692 invoked by uid 48); 4 May 2016 06:42:11 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70925] Vectorized loop segfaults: read exceeds vector boundary Date: Wed, 04 May 2016 06:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00291.txt.bz2 Content-length: 612 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70925 --- Comment #6 from Markus Trippelsdorf --- Quote from http://gcc.gnu.org/bugs/: =C2=BBBefore reporting that GCC compiles your code incorrectly, compile it = with gcc -Wall -Wextra and see whether this shows anything wrong with your code. Similarly, if compiling with -fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations makes a difference, or if compiling with -fsanitize=3Dundefined produces any run-time errors, then your code is prob= ably not correct.=C2=AB -fsanitize=3Dundefined will point out these issues. >>From gcc-bugs-return-524120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 06:51:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1210 invoked by alias); 4 May 2016 06:51:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1054 invoked by uid 48); 4 May 2016 06:51:11 -0000 From: "pravasimeet999 at yahoo dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70939] creating object of abstract class allowed in all versions of g++ Date: Wed, 04 May 2016 06:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: pravasimeet999 at yahoo 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00292.txt.bz2 Content-length: 301 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70939 --- Comment #1 from Pravasi Meet --- MSVC++ 2015 doesn't compile the program & gives compilation errors as expec= ted when compiling the program. You can test the program at here: http://webcompiler.cloudapp.net/ >>From gcc-bugs-return-524121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 07:06:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45413 invoked by alias); 4 May 2016 07:06:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44932 invoked by uid 48); 4 May 2016 07:05:55 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70934] 16-byte atomics are unimplemented on s390x, but __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 is defined Date: Wed, 04 May 2016 07:06: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00293.txt.bz2 Content-length: 638 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70934 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- They are implemented, you just have to make sure the variable you perform atomic on is also sufficiently aligned. a has only 8-byte alignment by default in the s390* ABI, which is not enoug= h. You need ti a __attribute__((aligned (16))); or something similar. >>From gcc-bugs-return-524122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 07:27:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130448 invoked by alias); 4 May 2016 07:27:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130339 invoked by uid 48); 4 May 2016 07:27:08 -0000 From: "eric at efcs dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70940] New: pmr::resource_adaptor requires optional allocator requirements and incorrectly aligns returned pointers. Date: Wed, 04 May 2016 07:27: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eric at efcs dot ca X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00294.txt.bz2 Content-length: 831 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70940 Bug ID: 70940 Summary: pmr::resource_adaptor requires optional allocator requirements and incorrectly aligns returned pointers. Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: eric at efcs dot ca Target Milestone: --- resource_adapter incorrectly requires that the Allocator provide: * A pointer typedef. * A default constructor. Furthermore it seems that do_allocate returns ill-aligned pointers. It seems that do_allocate(s, a) returns the pointers from 'Allocator.allocate(...)' directly even though they have no alignment guarantees. >>From gcc-bugs-return-524123-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 07:36:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58605 invoked by alias); 4 May 2016 07:36:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58391 invoked by uid 48); 4 May 2016 07:36:36 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/70935] [6/7 Regression] ICE: verify_ssa failed (error: definition in block 9 does not dominate use in block 12) w/ -O3 -g Date: Wed, 04 May 2016 07:36: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00295.txt.bz2 Content-length: 1062 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70935 --- Comment #2 from Jakub Jelinek --- This is tree_unswitch_outer_loop -> hoist_guard not resetting debug stmts t= hat have some uses of SSA_NAMEs defined in the inner loop. But the transformation is really weird. We have: loop7=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D bb10 | v loop2 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D />bb8 | inv test | / | | | something | \ | \ | v v \ | bb7 + | | | +---+ | loop2 end =3D=3D=3D=3D=3D=3D=3D=3D=3D | v bb13 DEBUG pm =3D defined_in_something And we move the inv test to bb 10, with one edge going to loop2, and the ot= her to bb13 (newly added edge). If I understand the cfg right though, we've th= us changed an endless loop (if inv test is false, bb8 not really having any side-effects just jumped to bb7 and back to bb8 forever) into no loop, and = in addition the newly added edge from bb10 to bb13 of course means any SSA_NAM= Es defined in loop2 can't be used. >>From gcc-bugs-return-524124-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 07:45:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74635 invoked by alias); 4 May 2016 07:45:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74454 invoked by uid 48); 4 May 2016 07:45:28 -0000 From: "gentryx at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70925] Vectorized loop segfaults: read exceeds vector boundary Date: Wed, 04 May 2016 07:45: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gentryx at gmx dot de 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00296.txt.bz2 Content-length: 531 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70925 Andreas Schaefer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #7 from Andreas Schaefer --- Thanks, I missed the final clause. Also I've now found the cause for this b= ug in my code. Sorry for the noise. >>From gcc-bugs-return-524125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 07:46:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77368 invoked by alias); 4 May 2016 07:46:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77241 invoked by uid 48); 4 May 2016 07:46:52 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70933] [7.0 regression] ICE with -Wall on valid code in inchash::add_expr Date: Wed, 04 May 2016 07:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00297.txt.bz2 Content-length: 582 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70933 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |trippels at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Markus Trippelsdorf --- dup. *** This bug has been marked as a duplicate of bug 70906 *** >>From gcc-bugs-return-524126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 07:46:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77462 invoked by alias); 4 May 2016 07:46:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77307 invoked by uid 48); 4 May 2016 07:46:53 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70906] [7 Regression] ice in add_expr, at tree.c:7925 Date: Wed, 04 May 2016 07:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: 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.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00299.txt.bz2 Content-length: 455 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70906 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |j.v.dijk at tue dot nl --- Comment #5 from Markus Trippelsdorf --- *** Bug 70933 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-524127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 07:47:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78339 invoked by alias); 4 May 2016 07:47:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77776 invoked by uid 48); 4 May 2016 07:47:04 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70916] [6 Regression] gcc ICE at -O3 on valid code on x86_64-linux-gnu in "tree_operand_check" Date: Wed, 04 May 2016 07:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00298.txt.bz2 Content-length: 624 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70916 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[6/7 Regression] gcc ICE at |[6 Regression] gcc ICE at |-O3 on valid code on |-O3 on valid code on |x86_64-linux-gnu in |x86_64-linux-gnu in |"tree_operand_check" |"tree_operand_check" --- Comment #7 from Jakub Jelinek --- Should be fixed on the trunk so far. >>From gcc-bugs-return-524128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 07:51:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87462 invoked by alias); 4 May 2016 07:51:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84337 invoked by uid 48); 4 May 2016 07:51:09 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70396] ICE on valid code at -O3 in 32-bit and 64-bit modes on x86_64-linux-gnu (in immed_wide_int_const, at emit-rtl.c:606) Date: Wed, 04 May 2016 07: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00300.txt.bz2 Content-length: 4049 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70396 --- Comment #6 from Richard Biener --- (In reply to Martin Li=C5=A1ka from comment #5) > Hi. >=20 > With the updated version of the compiler, I still get the ICE for: >=20 > $ cat tc.ii >=20 > void fn1() { > unsigned *a =3D 0; > for (int i; i; ++i) { > unsigned g(a[i] << 8 >> 24); > a[i] =3D g; > } > } >=20 > $ /home/marxin/bin/gcc2/lib/gcc/x86_64-pc-linux-gnu/7.0.0/cc1plus > -fpreprocessed tc.ii -march=3Dhaswell -mmmx -mno-3dnow -msse -msse2 -msse3 > -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt > -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mbmi2 -mno-tbm -mavx -mavx2 > -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase > -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f > -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt > -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl > -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-pcommit -mno-mwaitx > -mno-clzero -mno-pku --param l1-cache-size=3D32 --param l1-cache-line-siz= e=3D64 > --param l2-cache-size=3D8192 -mtune=3Dhaswell -quiet -dumpbase tc.ii -O3 >=20 > tc.ii:7:1: internal compiler error: in immed_wide_int_const, at > emit-rtl.c:606 > } > ^ > 0xa4cf35 immed_wide_int_const(generic_wide_int > > const&, machine_mode) > ../../gcc/emit-rtl.c:606 > 0x13929a9 change_zero_ext > ../../gcc/combine.c:11111 > 0x13937d8 recog_for_combine > ../../gcc/combine.c:11148 > 0x13a175d try_combine > ../../gcc/combine.c:3503 > 0x13a6fc1 combine_instructions > ../../gcc/combine.c:1288 > 0x13a6fc1 rest_of_handle_combine > ../../gcc/combine.c:14348 > 0x13a6fc1 execute > ../../gcc/combine.c:14391 >=20 > Thanks Looks like a different issue - please file a new bug. #2 0x00000000019c0fb7 in change_zero_ext (src=3D0x7ffff6688958) at /space/rguenther/src/svn/trunk/gcc/combine.c:11111 11111 x =3D gen_rtx_AND (mode, x, immed_wide_int_const (mask, mode)= ); (gdb) l 11106 } 11107 else 11108 continue; 11109 11110 wide_int mask =3D wi::mask (size, false, GET_MODE_PRECISION (mode)); 11111 x =3D gen_rtx_AND (mode, x, immed_wide_int_const (mask, mode)= ); 11112 11113 SUBST (**iter, x); 11114 changed =3D true; 11115 } (gdb) p debug_rtx (src) Cannot resolve function debug_rtx to any overloaded instance (gdb) p src $1 =3D (rtx *) 0x7ffff6688958 (gdb) p debug_rtx (*src) (zero_extract:V8SI (mem:V8SI (reg:DI 240 [ ivtmp.29 ]) [1 MEM[base: 0B, ind= ex: ivtmp.29_232, offset: 0B]+0 S32 A256]) (const_int 232 [0xe8]) (const_int 16 [0x10])) $2 =3D void looks like either an invalid zero_extract or change_zero_ext not properly dealing with vector modes. It's already on insn 154: (insn 154 153 156 17 (set (reg:V8SI 289 [ vect_g_10.15 ]) (zero_extract:V8SI (mem:V8SI (reg:DI 240 [ ivtmp.29 ]) [1 MEM[base:= 0B, index: ivtmp.29_232, offset: 0B]+0 S32 A256]) (const_int 232 [0xe8]) (const_int 16 [0x10]))) t.ii:4 3098 {lshrv8si3} (expr_list:REG_DEAD (reg:V8SI 287 [ vect__5.14 ]) (nil))) but only generated by combine as an intermediate insn it seems. Trying 152 -> 153: Failed to match this instruction: (set (reg:V8SI 287 [ vect__5.14 ]) (ashift:V8SI (mem:V8SI (reg:DI 240 [ ivtmp.29 ]) [1 MEM[base: 0B, index: ivtmp.29_232, offset: 0B]+0 S32 A256]) (const_int 8 [0x8]))) Trying 153 -> 154: Failed to match this instruction: (set (reg:V8SI 289 [ vect_g_10.15 ]) (lshiftrt:V8SI (ashift:V8SI (reg:V8SI 288 [ MEM[base: 0B, index: ivtmp.29_232, offset: 0B] ]) (const_int 8 [0x8])) (const_int 24 [0x18]))) Trying 152, 153 -> 154: Failed to match this instruction: (set (reg:V8SI 289 [ vect_g_10.15 ]) (zero_extract:V8SI (mem:V8SI (reg:DI 240 [ ivtmp.29 ]) [1 MEM[base: 0B, index: ivtmp.29_232, offset: 0B]+0 S32 A256]) (const_int 232 [0xe8]) (const_int 16 [0x10]))) >>From gcc-bugs-return-524129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 08:17:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71285 invoked by alias); 4 May 2016 08:17:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69123 invoked by uid 48); 4 May 2016 08:17:35 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70396] ICE on valid code at -O3 in 32-bit and 64-bit modes on x86_64-linux-gnu (in immed_wide_int_const, at emit-rtl.c:606) Date: Wed, 04 May 2016 08:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00301.txt.bz2 Content-length: 1007 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70396 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |jakub at gcc dot gnu.org Resolution|FIXED |--- --- Comment #7 from Jakub Jelinek --- I'd say we really don't want vector mode ZERO_EXTRACTs/SIGN_EXTRACTs, so perhaps make_extraction could give up in that case, maybe: /* Never narrow an object, since that might not be safe. */ if (mode !=3D VOIDmode && GET_MODE_SIZE (extraction_mode) < GET_MODE_SIZE (mode)) extraction_mode =3D mode; and inside of if just do { /* Avoid vector mode extractions. */ if (VECTOR_MODE_P (mode)) return NULL_RTX; extraction_mode =3D mode; } Or should we punt even earlier? >>From gcc-bugs-return-524130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 08:26:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104162 invoked by alias); 4 May 2016 08:26:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103967 invoked by uid 48); 4 May 2016 08:25:49 -0000 From: "vsevolod.livinskij at frtk dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70941] New: [5/6/7 Regression] Test miscompiled with -O2. Date: Wed, 04 May 2016 08:26: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: vsevolod.livinskij at frtk dot ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00302.txt.bz2 Content-length: 1337 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70941 Bug ID: 70941 Summary: [5/6/7 Regression] Test miscompiled with -O2. Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vsevolod.livinskij at frtk dot ru Target Milestone: --- Created attachment 38409 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38409&action=3Dedit Reproducer. Test case produces incorrect result with -O2 option. Output: > g++ -O0 repr.cpp; ./a.out -109 > g++ -O3 repr.cpp; ./a.out -110 GCC version: Using built-in specs. COLLECT_GCC=3Dg++ COLLECT_LTO_WRAPPER=3D/export/users/vlivinsk/gcc-trunk/bin/bin/../libexec/g= cc/x86_64-pc-linux-gnu/7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /export/users/gnutester/stability/svn/trunk/configure --prefix=3D/export/users/gnutester/stability/work/trunk/64/install --enable-bootstrap=3Dno --enable-languages=3Dc,c++,fortran Thread model: posix gcc version 7.0.0 20160430 (experimental) (GCC) Testcase: #include #include char a =3D 0, b =3D 0, c =3D 0, d =3D 0; int main() { a =3D -(b - 405418259) - ((d && c) ^ 2040097152); if (a !=3D -109) abort(); } >>From gcc-bugs-return-524132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 08:30:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115260 invoked by alias); 4 May 2016 08:30:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114602 invoked by uid 48); 4 May 2016 08:30:23 -0000 From: "kyukhin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70902] [7 Regression] GCC freezes while compiling for 'skylake-avx512' target Date: Wed, 04 May 2016 08:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: compile-time-hog, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: kyukhin 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.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00304.txt.bz2 Content-length: 487 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70902 Kirill Yukhin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyukhin at gcc dot gnu.org, | |ubizjak at gmail dot com --- Comment #2 from Kirill Yukhin --- Started from Uros's r235523. >>From gcc-bugs-return-524131-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 08:30:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114598 invoked by alias); 4 May 2016 08:30:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111383 invoked by uid 48); 4 May 2016 08:30:00 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Wed, 04 May 2016 08:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00303.txt.bz2 Content-length: 489 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #21 from Uro=C5=A1 Bizjak --- (In reply to H.J. Lu from comment #12) > I still see: >=20 > vcvtss2sd (%ecx,%eax,4), %xmm5, %xmm5 >=20 > without vxorpd. You are looking in the cold section. This is by design, the splitter is conditioned on optimize_function_for_speed. Nevertheless, I'm cleaning a bit float_extend and float_truncate splitter/peephole2 pattern and will submit the patch soon. >>From gcc-bugs-return-524133-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 08:35:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129038 invoked by alias); 4 May 2016 08:35:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128896 invoked by uid 48); 4 May 2016 08:35:08 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70941] [5/6/7 Regression] Test miscompiled with -O2. Date: Wed, 04 May 2016 08:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00305.txt.bz2 Content-length: 616 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70941 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-04 CC| |jakub at gcc dot gnu.org Target Milestone|--- |5.4 Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Started with r217349. >>From gcc-bugs-return-524134-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 08:50:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60096 invoked by alias); 4 May 2016 08:50:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59553 invoked by uid 48); 4 May 2016 08:50:29 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70941] [5/6/7 Regression] Test miscompiled with -O2. Date: Wed, 04 May 2016 08:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00306.txt.bz2 Content-length: 803 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70941 --- Comment #2 from Jakub Jelinek --- I'd say this is already wrong in the original dump, the narrowing is done wrongly: *.original has: a =3D (char) (((unsigned char) -((signed char) (d !=3D 0 && c !=3D 0) ^ -= 128(OVF)) - (unsigned char) b) + 19); The (OVF) looks fishy and especially the negation performed in signed char instead of unsigned. So we then have in signed char types: _1 =3D _2 ^ -128; _3 =3D -_1; and VRP figures out that for valid program that is only possible if _2 is non-zero (i.e. if d and c are both non-zero). But ((d && c) ^ 2040097152) is in the source subtracted in int type rather = than signed char due to promotion, so we need to use unsigned char arithmetics i= f we want to narrow it. >>From gcc-bugs-return-524135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 08:52:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76283 invoked by alias); 4 May 2016 08:52:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76138 invoked by uid 48); 4 May 2016 08:51:51 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/67085] priority queue should not copy comparators when calling push_heap and pop_heap Date: Wed, 04 May 2016 08:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00307.txt.bz2 Content-length: 182 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67085 --- Comment #9 from Jonathan Wakely --- *** Bug 70898 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-524136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 08:52:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76291 invoked by alias); 4 May 2016 08:52:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76099 invoked by uid 48); 4 May 2016 08:51:48 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70898] Stateful Compare objects are very slow Date: Wed, 04 May 2016 08:52: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: 4.8.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00308.txt.bz2 Content-length: 656 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70898 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #7 from Jonathan Wakely --- Right, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67085#c5 It's a dup. There's no point making two very similar changes to address very slightly different things. *** This bug has been marked as a duplicate of bug 67085 *** >>From gcc-bugs-return-524137-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 08:54:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79555 invoked by alias); 4 May 2016 08:54:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79183 invoked by uid 48); 4 May 2016 08:54:05 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70941] [5/6/7 Regression] Test miscompiled with -O2. Date: Wed, 04 May 2016 08:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00309.txt.bz2 Content-length: 313 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70941 --- Comment #3 from Richard Biener --- 4.9 has (void) (a =3D (char) ((-(unsigned char) b - (unsigned char) ((signed char) ((signed char) d !=3D 0 && (signed char) c !=3D 0) ^ -128)) + 19)) >>>>>; if ((signed char) a !=3D -109) >>From gcc-bugs-return-524138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 08:55:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80937 invoked by alias); 4 May 2016 08:55:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 80447 invoked by uid 48); 4 May 2016 08:54:51 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70940] pmr::resource_adaptor requires optional allocator requirements and incorrectly aligns returned pointers. Date: Wed, 04 May 2016 08:55: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00310.txt.bz2 Content-length: 402 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70940 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-04 Ever confirmed|0 |1 >>From gcc-bugs-return-524139-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 08:59:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107978 invoked by alias); 4 May 2016 08:59:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107594 invoked by uid 48); 4 May 2016 08:59:02 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70893] codecvt incorrectly decodes UTF-16be Date: Wed, 04 May 2016 08:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.3.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00311.txt.bz2 Content-length: 572 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70893 --- Comment #7 from Jonathan Wakely --- (In reply to =D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB from comment #5) > It makes no sense, because you can explicitly specify little_endian in the > template parameters, but not big_endian. And the standard says that parameter is ignored for codecvt_utf8 and codecvt_utf8_utf16. But as I said, the spec is a mess. Clang's libc++ gives exactly the same result for your testcase as libstdc++ does, so its authors interpreted the spec the same way I did. >>From gcc-bugs-return-524140-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 08:59:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107988 invoked by alias); 4 May 2016 08:59:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107487 invoked by uid 48); 4 May 2016 08:58:55 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70941] [5/6/7 Regression] Test miscompiled with -O2. Date: Wed, 04 May 2016 08:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00312.txt.bz2 Content-length: 595 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70941 --- Comment #4 from Jakub Jelinek --- That looks fine indeed. The r217348 to r217349 *.original diff is similar (there is already the (OV= F), but that is probably not it, after all we strip OVF flag away during gimplification: - a =3D (char) ((-(unsigned char) b - (unsigned char) ((signed char) ((sig= ned char) d !=3D 0 && (signed char) c !=3D 0) ^ -128(OVF))) + 19); + a =3D (char) (((unsigned char) -((signed char) ((signed char) d !=3D 0 && (signed char) c !=3D 0) ^ -128(OVF)) - (unsigned char) b) + 19); >>From gcc-bugs-return-524141-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 09:01:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111381 invoked by alias); 4 May 2016 09:01:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111056 invoked by uid 48); 4 May 2016 09:01:18 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzcwOTM3XSBbNyBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUg?= =?UTF-8?B?Y29kZSDigJhzc2FfbmFtZeKAmSBpcyBub3Qgc3VwcG9ydGVkIGluIExUTyBz?= =?UTF-8?B?dHJlYW1z?= Date: Wed, 04 May 2016 09:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc component target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00313.txt.bz2 Content-length: 4092 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org Component|middle-end |fortran Target Milestone|--- |7.0 Summary|[7.0 Regression] ICE: tree |[7 Regression] ICE: tree |code =E2=80=98ssa_name=E2=80=99 is not |code =E2= =80=98ssa_name=E2=80=99 is not |supported in LTO streams |supported in LTO streams --- Comment #2 from Richard Biener --- This is fallout of gimplify-into-SSA and another case where SAVE_EXPRs insi= de type sizes are corrupted. I fixed one testsuite occurance with 2016-05-02 Richard Biener * trans-array.c (gfc_trans_create_temp_array): Properly create a DECL_EXPR for the anonymous VLA array type. but suspected more places need fixing. The affected type is constructed via #0 0x00000000009291a3 in gfc_get_character_type_len_for_eltype ( eltype=3D,=20 len=3D) at /space/rguenther/src/svn/trunk/gcc/fortran/trans-types.c:1026 #1 0x0000000000929214 in gfc_get_character_type_len (kind=3D1,=20 len=3D) at /space/rguenther/src/svn/trunk/gcc/fortran/trans-types.c:1036 #2 0x00000000009292d8 in gfc_get_character_type (kind=3D1, cl=3D0x26c9420) at /space/rguenther/src/svn/trunk/gcc/fortran/trans-types.c:1051 #3 0x00000000009293d5 in gfc_typenode_for_spec (spec=3D0x26c8040) at /space/rguenther/src/svn/trunk/gcc/fortran/trans-types.c:1095 #4 0x00000000008a78b6 in gfc_build_dummy_array_decl (sym=3D0x26c8020,=20 dummy=3D) at /space/rguenther/src/svn/trunk/gcc/fortran/trans-decl.c:1106 #5 0x00000000008a8dad in gfc_get_symbol_decl (sym=3D0x26c8020) at /space/rguenther/src/svn/trunk/gcc/fortran/trans-decl.c:1471 #6 0x00000000008b6e4d in generate_local_decl (sym=3D0x26c8020) at /space/rguenther/src/svn/trunk/gcc/fortran/trans-decl.c:5220 #7 0x000000000085fd94 in do_traverse_symtree (st=3D0x26c77b0, st_func=3D0x= 0,=20 sym_func=3D0x8b6d89 ) at /space/rguenther/src/svn/trunk/gcc/fortran/symbol.c:3817 and it needs to be handled similarly. Possibly somewhere here: #4 0x00000000008a78b6 in gfc_build_dummy_array_decl (sym=3D0x26c8020,=20 dummy=3D) at /space/rguenther/src/svn/trunk/gcc/fortran/trans-decl.c:1106 1106 : gfc_typenode_for_spec (&sym->ts); (gdb) l 1101 } 1102 1103 /* For classarrays the element type is required, but 1104 gfc_typenode_for_spec () returns the array descriptor. */ 1105 type =3D is_classarray ? gfc_get_element_type (type) 1106 : gfc_typenode_for_spec (&sym->ts); 1107 type =3D gfc_get_nodesc_array_type (type, as, packed, 1108 !sym->attr.target); or here: #5 0x00000000008a8dad in gfc_get_symbol_decl (sym=3D0x26c8020) at /space/rguenther/src/svn/trunk/gcc/fortran/trans-decl.c:1471 1471 decl =3D gfc_build_dummy_array_decl (sym, sym->backend_de= cl); (gdb) l 1466 1467 /* Use a copy of the descriptor for dummy arrays. */ 1468 if ((sym->attr.dimension || sym->attr.codimension) 1469 && !TREE_USED (sym->backend_decl)) 1470 { 1471 decl =3D gfc_build_dummy_array_decl (sym, sym->backend_de= cl); 1472 /* Prevent the dummy from being detected as unused if it = is copied. */ 1473 if (sym->backend_decl !=3D NULL && decl !=3D sym->backend= _decl) 1474 DECL_ARTIFICIAL (sym->backend_decl) =3D 1; 1475 sym->backend_decl =3D decl; >>From gcc-bugs-return-524142-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 09:02:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22182 invoked by alias); 4 May 2016 09:02:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13928 invoked by uid 48); 4 May 2016 09:02:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/70935] [6/7 Regression] ICE: verify_ssa failed (error: definition in block 9 does not dominate use in block 12) w/ -O3 -g Date: Wed, 04 May 2016 09:02: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00314.txt.bz2 Content-length: 372 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70935 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 CC| |ienkovich at gcc dot gnu.o= rg >>From gcc-bugs-return-524143-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 09:03:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34690 invoked by alias); 4 May 2016 09:03:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28438 invoked by uid 48); 4 May 2016 09:03:05 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70939] creating object of abstract class allowed in all versions of g++ Date: Wed, 04 May 2016 09:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on everconfirmed bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00315.txt.bz2 Content-length: 523 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70939 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-04 Ever confirmed|0 |1 Severity|major |normal >>From gcc-bugs-return-524144-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 09:07:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83420 invoked by alias); 4 May 2016 09:07:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73451 invoked by uid 48); 4 May 2016 09:07:18 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70931] [4.9/5/6/7 Regression] ICE with -g in native_encode_initializer, bei dwarf2out.c:17768 Date: Wed, 04 May 2016 09:07: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: 6.1.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00316.txt.bz2 Content-length: 1206 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70931 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.9.4 --- Comment #3 from Richard Biener --- I think this is a corner-case of native_encode_initializer not handling zero-sized FIELD_DECLs. Index: gcc/dwarf2out.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/dwarf2out.c (revision 235859) +++ gcc/dwarf2out.c (working copy) @@ -17806,7 +17806,7 @@ native_encode_initializer (tree init, un fieldsize =3D tree_to_shwi (DECL_SIZE_UNIT (field)); pos =3D int_byte_position (field); gcc_assert (pos + fieldsize <=3D size); - if (val + if (val && fieldsize !=3D 0 && !native_encode_initializer (val, array + pos, fieldsiz= e)) return false; } fixes it. >>From gcc-bugs-return-524145-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 09:11:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95058 invoked by alias); 4 May 2016 09:11:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94920 invoked by uid 48); 4 May 2016 09:10:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/70929] [4.9/5/6/7 regression] Cross-module inlining for functions having argument passed by reference is no longer working. Date: Wed, 04 May 2016 09:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00317.txt.bz2 Content-length: 180 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70929 --- Comment #2 from Richard Biener --- Looks reasonable if it can get some baking time on trunk. >>From gcc-bugs-return-524146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 09:12:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109737 invoked by alias); 4 May 2016 09:12:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103127 invoked by uid 48); 4 May 2016 09:12:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70931] [4.9/5/6/7 Regression] ICE with -g in native_encode_initializer, bei dwarf2out.c:17768 Date: Wed, 04 May 2016 09:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00318.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70931 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org >>From gcc-bugs-return-524147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 09:19:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130459 invoked by alias); 4 May 2016 09:19:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130246 invoked by uid 48); 4 May 2016 09:19:16 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70941] [5/6/7 Regression] Test miscompiled with -O2. Date: Wed, 04 May 2016 09:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00319.txt.bz2 Content-length: 458 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70941 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org --- Comment #5 from Richard Biener --- Mine. >>From gcc-bugs-return-524148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 09:25:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27132 invoked by alias); 4 May 2016 09:25:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26934 invoked by uid 48); 4 May 2016 09:25:07 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70902] [7 Regression] GCC freezes while compiling for 'skylake-avx512' target Date: Wed, 04 May 2016 09:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: compile-time-hog, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00320.txt.bz2 Content-length: 584 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70902 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Component|target |rtl-optimization --- Comment #3 from Uro=C5=A1 Bizjak --- (In reply to Kirill Yukhin from comment #2) > Started from Uros's r235523. This is kind of expected, the referred commit enabled SSE spills for the fi= rst time, and apparently triggers some problems in LRA. >>From gcc-bugs-return-524150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 09:34:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68059 invoked by alias); 4 May 2016 09:34:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67587 invoked by uid 48); 4 May 2016 09:34:12 -0000 From: "trulsjo at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70824] cc1plus consumes all available memory on specific template code Date: Wed, 04 May 2016 09:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trulsjo 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00322.txt.bz2 Content-length: 597 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70824 --- Comment #1 from Truls Johnsen --- Reduced the test case to only include and changed max to= a one-liner that still shows the same behavior. Removing constexpr from max, = or the (unused) template from a() makes the code compile: #include constexpr int max(std::initializer_list __l) { return *__l.begin(); } template void a() { const int v =3D max({1}); } I forgot to mention the host in the initial report: Intel(R) Core(TM) i5-2300 CPU @ 2.80GHz >>From gcc-bugs-return-524149-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 09:34:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67196 invoked by alias); 4 May 2016 09:34:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67007 invoked by uid 48); 4 May 2016 09:33:52 -0000 From: "vittorio.romeo at outlook dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70942] New: [c++14] Incorrect deduction of generic lambda `auto&&` parameter Date: Wed, 04 May 2016 09:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: vittorio.romeo at outlook dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00321.txt.bz2 Content-length: 3496 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70942 Bug ID: 70942 Summary: [c++14] Incorrect deduction of generic lambda `auto&&` parameter Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vittorio.romeo at outlook dot com Target Milestone: --- Created attachment 38410 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38410&action=3Dedit Minimal code example g++ 6.1 was recently introduced into Arch Linux's testing repositories, and some of my code that successfully compiled with g++ 5.3.0 does not compile anymore. I've made a minimal example: gcc.godbolt.org link:=20 https://godbolt.org/g/73RTHf // This code compiles with g++ 5.3.0 // This does not compile with g++ 6.1 #include #include #include #define FWD(...) ::std::forward(__VA_ARGS__) struct sinker { template void sink(T&) { } }; template void caller(T& v, TF&& f) { sinker s; f(s, v); } template void interface(T& v) { return caller(v, [](auto& xs, auto&& xv) -> decltype(auto) { xs.sink(FWD(xv)); }); } int main() { int x =3D 0; interface(x); } This is the reported error: : In instantiation of =E2=80=98get_impl(T&):: [with auto:1 =3D sinker; auto:2 =3D int; T =3D int]=E2=80=99: :25:58: required by substitution of =E2=80=98template get_impl(T&) [with T =3D int]::::operator=20 decltype (((get_impl(T&) [with T =3D int]::)0u).operator()(static_cast(), static_cast())) (*)(auto:1&, auto:2&&)() co= nst [with auto:1 =3D sinker; auto:2 =3D int]=E2=80=99 :19:6: required from =E2=80=98void chunk_fn_impl(T&, TF&&) [with T = =3D int; TF =3D get_impl(T&) [with T =3D int]::]=E2=80=99 :25:25: required from =E2=80=98void get_impl(T&) [with T =3D int]=E2= =80=99 :36:15: required from here :27:13: error: invalid initialization of non-const reference of type = =E2=80=98int&=E2=80=99 from an rvalue of type =E2=80=98int=E2=80=99 xs.sink(FWD(md)); ^~ :10:10: note: initializing argument 1 of =E2=80=98void sinker::sink(T= &) [with T =3D int]=E2=80=99 void sink(T&) ^~~~ --- Changing: return caller(v, [](auto& xs, auto&& xv) -> decltype(auto) to: return caller(v, [](auto& xs, auto& xv) -> decltype(auto) allows the code to successfully compile. --- I do not understand why this error is happening, as `xv` is being perfectly-forwarded and the `FWD(xv)` call should produce a lvalue referenc= e. Note that the code worked as intended in g++ 5.3.0 and clang++ 3.7. gcc.godbolt.org link:=20 https://godbolt.org/g/73RTHf Try compiling with multiple g++ versions and changing `auto&&` to `auto&`. Is this a g++ 6.1 bug? Or was the code incorrectly compiling with previous versions of g++ and clang++? --- More information: http://stackoverflow.com/questions/37023265 >>From gcc-bugs-return-524151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 09:37:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71503 invoked by alias); 4 May 2016 09:37:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71399 invoked by uid 48); 4 May 2016 09:37:21 -0000 From: "trulsjo at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70824] cc1plus consumes all available memory on specific template code Date: Wed, 04 May 2016 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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trulsjo 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: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00323.txt.bz2 Content-length: 572 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70824 Truls Johnsen changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #38348|0 |1 is obsolete| | --- Comment #2 from Truls Johnsen --- Created attachment 38411 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38411&action=3Dedit Preprocessed source for test case only including >>From gcc-bugs-return-524152-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 09:38:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74113 invoked by alias); 4 May 2016 09:38:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73783 invoked by uid 48); 4 May 2016 09:38:33 -0000 From: "rs2740 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70942] [c++14] Incorrect deduction of generic lambda `auto&&` parameter Date: Wed, 04 May 2016 09:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: rs2740 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00324.txt.bz2 Content-length: 1035 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70942 TC changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rs2740 at gmail dot com --- Comment #1 from TC --- Reduced: int main() { int x =3D 0; [](auto&& xv){ static_cast(xv) =3D 1; }(x); } OK on GCC 5. Fails with a bogus error on 6 and 7: main.cpp: In instantiation of 'main():: [with auto:1 =3D = int]': main.cpp:5:17: required by substitution of 'template main()::::operator decltype (((main()::)0u).operator()(static_cast())) (*)(auto:1&&)() const [with auto:1 =3D int]' main.cpp:7:8: required from here main.cpp:6:39: error: using xvalue (rvalue reference) as lvalue static_cast(xv) =3D 1; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ >>From gcc-bugs-return-524153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 09:38:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74132 invoked by alias); 4 May 2016 09:38:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73757 invoked by uid 48); 4 May 2016 09:38:33 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70940] pmr::resource_adaptor requires optional allocator requirements and incorrectly aligns returned pointers. Date: Wed, 04 May 2016 09:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00325.txt.bz2 Content-length: 622 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70940 --- Comment #1 from Jonathan Wakely --- Also: __null_memory_resource::do_is_equal() is missing a return statement, so ret= urns garbage off the stack. __null_memory_resource doesn't need to be a class template. new_delete_resource() returns something that: - doesn't have the required is_equal() behaviour. - only uses new/delete if std::allocator uses __gnu_cxx::new_allocator. And another one from Eric: Your new_delete_resource() also unnecessarily pads the allocation size befo= re invoking ::operator new, but that isn't a real bug. >>From gcc-bugs-return-524154-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 09:44:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123859 invoked by alias); 4 May 2016 09:44:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123516 invoked by uid 48); 4 May 2016 09:44:17 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70942] [c++14] Incorrect deduction of generic lambda `auto&&` parameter Date: Wed, 04 May 2016 09:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on everconfirmed bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00326.txt.bz2 Content-length: 521 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70942 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-04 Ever confirmed|0 |1 Severity|critical |normal >>From gcc-bugs-return-524155-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 09:44:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124457 invoked by alias); 4 May 2016 09:44:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123815 invoked by uid 48); 4 May 2016 09:44:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70941] [5/6/7 Regression] Test miscompiled with -O2. Date: Wed, 04 May 2016 09:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00327.txt.bz2 Content-length: 684 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70941 --- Comment #6 from Richard Biener --- The negation issue is a latent fold-const.c issue which when folding (19 - (unsigned char) b) + (unsigned char) ((signed char) (d !=3D 0 && c != =3D 0) ^ -128(OVF)) runs into the associate: case. We partially fixed this for an ICE with 2016-02-01 Bin Cheng PR tree-optimization/67921 * fold-const.c (split_tree): New parameters. Convert pointer type variable part to proper type before negating. (fold_binary_loc): Pass new arguments to split_tree. but appearantly the "real" fix never materialized. >>From gcc-bugs-return-524156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 09:50:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15093 invoked by alias); 4 May 2016 09:50:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14889 invoked by uid 48); 4 May 2016 09:50:42 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70941] [5/6/7 Regression] Test miscompiled with -O2. Date: Wed, 04 May 2016 09:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00328.txt.bz2 Content-length: 1415 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70941 --- Comment #7 from Richard Biener --- The following fixes this. Index: gcc/fold-const.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/fold-const.c (revision 235859) +++ gcc/fold-const.c (working copy) @@ -838,9 +838,8 @@ split_tree (location_t loc, tree in, tre *conp =3D negate_expr (*conp); if (neg_var_p) { - /* Convert to TYPE before negating a pointer type expr. */ - if (var && POINTER_TYPE_P (TREE_TYPE (var))) - var =3D fold_convert_loc (loc, type, var); + /* Convert to TYPE before negating. */ + var =3D fold_convert_loc (loc, type, var); var =3D negate_expr (var); } } @@ -863,9 +862,8 @@ split_tree (location_t loc, tree in, tre else if (*minus_litp) *litp =3D *minus_litp, *minus_litp =3D 0; *conp =3D negate_expr (*conp); - /* Convert to TYPE before negating a pointer type expr. */ - if (var && POINTER_TYPE_P (TREE_TYPE (var))) - var =3D fold_convert_loc (loc, type, var); + /* Convert to TYPE before negating. */ + var =3D fold_convert_loc (loc, type, var); var =3D negate_expr (var); } >>From gcc-bugs-return-524157-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 09:58:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25143 invoked by alias); 4 May 2016 09:58:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16741 invoked by uid 48); 4 May 2016 09:58:06 -0000 From: "rs2740 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70943] New: 'conflicting declaration' error with repeated typedefs in function templates Date: Wed, 04 May 2016 09:58: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rs2740 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00329.txt.bz2 Content-length: 851 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70943 Bug ID: 70943 Summary: 'conflicting declaration' error with repeated typedefs in function templates Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rs2740 at gmail dot com Target Milestone: --- template void foo(T t) { using meow =3D T; using meow =3D int; } template void foo(int); Accepted by clang, rejected by GCC: main.cpp: In function 'void foo(T)': main.cpp:4:21: error: conflicting declaration 'using meow =3D ' using meow =3D int; ^ main.cpp:3:19: note: previous declaration as 'using meow =3D T' using meow =3D T; >>From gcc-bugs-return-524158-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 10:12:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28876 invoked by alias); 4 May 2016 10:12:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28259 invoked by uid 48); 4 May 2016 10:12:39 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70944] New: [7 Regression] ICE in immed_wide_int_const, at emit-rtl.c:606 with -O3 Date: Wed, 04 May 2016 10:12: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: 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 target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00330.txt.bz2 Content-length: 2133 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70944 Bug ID: 70944 Summary: [7 Regression] ICE in immed_wide_int_const, at emit-rtl.c:606 with -O3 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- As mentioned in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70396#c5, after Richi's fix for PR70396, I still see very similar issue. $ cat tc.ii void fn1() { unsigned *a =3D 0; for (int i; i; ++i) { unsigned g(a[i] << 8 >> 24); a[i] =3D g; } } $ /home/marxin/bin/gcc2/lib/gcc/x86_64-pc-linux-gnu/7.0.0/cc1plus -fpreprocessed tc.ii -march=3Dhaswell -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -= mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mbmi2 -mno-tbm -mavx -mavx2 -msse4= .2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-pcommit -mno-mwaitx -mno-clzero -mno-pku --p= aram l1-cache-size=3D32 --param l1-cache-line-size=3D64 --param l2-cache-size=3D= 8192 -mtune=3Dhaswell -quiet -dumpbase tc.ii -O3 tc.ii:7:1: internal compiler error: in immed_wide_int_const, at emit-rtl.c:= 606 } ^ 0xa4cf35 immed_wide_int_const(generic_wide_int > const&, machine_mode) ../../gcc/emit-rtl.c:606 0x13929a9 change_zero_ext ../../gcc/combine.c:11111 0x13937d8 recog_for_combine ../../gcc/combine.c:11148 0x13a175d try_combine ../../gcc/combine.c:3503 0x13a6fc1 combine_instructions ../../gcc/combine.c:1288 0x13a6fc1 rest_of_handle_combine ../../gcc/combine.c:14348 0x13a6fc1 execute ../../gcc/combine.c:14391 Thanks >>From gcc-bugs-return-524159-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 10:14:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31391 invoked by alias); 4 May 2016 10:14:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31228 invoked by uid 48); 4 May 2016 10:14:07 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70396] ICE on valid code at -O3 in 32-bit and 64-bit modes on x86_64-linux-gnu (in immed_wide_int_const, at emit-rtl.c:606) Date: Wed, 04 May 2016 10: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00331.txt.bz2 Content-length: 435 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70396 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Richard Biener --- See PR70944. >>From gcc-bugs-return-524160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 10:15:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33265 invoked by alias); 4 May 2016 10:15:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33159 invoked by uid 48); 4 May 2016 10:15:33 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70944] [7 Regression] ICE in immed_wide_int_const, at emit-rtl.c:606 with -O3 Date: Wed, 04 May 2016 10:15: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status cf_reconfirmed_on cf_known_to_work target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00332.txt.bz2 Content-length: 679 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70944 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-*-* Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-04 Known to work| |6.1.0 Target Milestone|--- |7.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed with -O3 -march=3Dcore-avx2 >>From gcc-bugs-return-524161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 10:19:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43189 invoked by alias); 4 May 2016 10:19:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42931 invoked by uid 48); 4 May 2016 10:19:01 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70944] [7 Regression] ICE in immed_wide_int_const, at emit-rtl.c:606 with -O3 Date: Wed, 04 May 2016 10:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00333.txt.bz2 Content-length: 896 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70944 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- I'd say we really don't want vector mode ZERO_EXTRACTs/SIGN_EXTRACTs, so perhaps make_extraction could give up in that case, maybe: /* Never narrow an object, since that might not be safe. */ if (mode !=3D VOIDmode && GET_MODE_SIZE (extraction_mode) < GET_MODE_SIZE (mode)) extraction_mode =3D mode; and inside of if just do { /* Avoid vector mode extractions. */ if (VECTOR_MODE_P (mode)) return NULL_RTX; extraction_mode =3D mode; } Or should we punt even earlier? >>From gcc-bugs-return-524162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 11:00:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46313 invoked by alias); 4 May 2016 11:00:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 45299 invoked by uid 48); 4 May 2016 11:00:33 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/70945] New: Offloading: compatibility of target and offloading toolchains Date: Wed, 04 May 2016 11:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: openacc, openmp X-Bugzilla-Severity: enhancement X-Bugzilla-Who: tschwinge 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00334.txt.bz2 Content-length: 2573 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70945 Bug ID: 70945 Summary: Offloading: compatibility of target and offloading toolchains Product: gcc Version: unknown Status: UNCONFIRMED Keywords: openacc, openmp Severity: enhancement Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: tschwinge at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- It has been established that for offloading compilation, the target and offloading toolchains need to be compatible (for example: data types; bit-w= ise copying of data). For OpenACC/OpenMP, offloading is implemented such that the target compiler already applies certains transformations to the source code before handing = over to the offloading compilers an intermediate representation of the relevant pieces. Looking at one specific example: inclusion of under the presence of -ffinite-math-only (as implied by -ffast-math, or -Ofast). The (glibc) will then (__FINITE_MATH_ONLY__) include for "special entry points to use when the compiler got told to only expect fini= te results". In the configuration that I'm looking at right now, this works by diverting the math functions' assembler names from "[function]" to "__[function]_finite". This is a "bits/[...]" header file, that is applica= ble only to this one target's glibc configuration. For nvptx offloading, for example, we use newlib which doesn't provide these finite math entry points= , so when using the "log" function in offloaded code, you'll see the compilation fail because of "unresolved symbol __log_finite". The problem basically is that there is a mis-match between early transformations done by the target compiler (such as via header files, or d= one early in the compiler internally), that are not actually valid for the offloading compilers. Instead of playing "rat race", trying to make the ta= rget and offloading toolchains/compilers/ABIs match completely (which probably i= sn't even possible in the general case), can we maybe find a better solution? Of course, this problem is applicable only if we agree that it is valid to = use such functions in offlodead regions, which indeed is debatable for a lot of standard library functions, but for math functions clearly users expect to = be allowed to use them. Also consider Fortran, where such functions are actua= lly part of the language. >>From gcc-bugs-return-524163-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 12:00:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100941 invoked by alias); 4 May 2016 12:00:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100368 invoked by uid 48); 4 May 2016 12:00:41 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzcwOTM3XSBbNyBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUg?= =?UTF-8?B?Y29kZSDigJhzc2FfbmFtZeKAmSBpcyBub3Qgc3VwcG9ydGVkIGluIExUTyBz?= =?UTF-8?B?dHJlYW1z?= Date: Wed, 04 May 2016 12:00: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: hjl.tools 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00335.txt.bz2 Content-length: 438 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl.tools at gmail dot com --- Comment #3 from H.J. Lu --- I saw similar error with 465.tonto and 481.wrf from SPEC CPU 2006. >>From gcc-bugs-return-524164-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 12:04:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115602 invoked by alias); 4 May 2016 12:04:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115058 invoked by uid 48); 4 May 2016 12:04:39 -0000 From: "wdijkstr at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70946] New: Bad interaction between IVOpt and loop unrolling Date: Wed, 04 May 2016 12:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wdijkstr at arm 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00336.txt.bz2 Content-length: 2991 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70946 Bug ID: 70946 Summary: Bad interaction between IVOpt and loop unrolling Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: wdijkstr at arm dot com Target Milestone: --- IVOpt chooses between using indexing for induction variables or incrementing pointers. Due to way loop unrolling works, a decision that is optimal if unrolling is disabled may become very non-optimal with unrolling. Below are simple examples that show how the choice to use indexing can beco= me a very bad idea when unrolled, while using offset addressing leads to very de= cent code. To improve this we either to teach IVOpt about unrolling (eg. priorit= ise base+offset addressing) or add a tree unroller that unrolls small inner loo= ps before IVOpt. void loop1 (int *p, int *q, int i) { for (i =3D 0; i < 1000; i++) p[i] =3D q[i] + 1; } void loop2 (int *p, int i) { for (i =3D 0; i < 1000; i++) p[i] =3D p[i] + 1; } On AArch64 with -O2 -funroll-loops this gives: loop1: mov x2, 0 .p2align 2 .L41: ldr w4, [x1, x2] add x3, x2, 4 add x10, x2, 8 add x9, x2, 12 add w5, w4, 1 str w5, [x0, x2] add x8, x2, 16 add x7, x2, 20 add x6, x2, 24 add x11, x2, 28 ldr w12, [x1, x3] add x2, x2, 32 cmp x2, 4000 add w13, w12, 1 str w13, [x0, x3] ldr w14, [x1, x10] add w15, w14, 1 str w15, [x0, x10] ldr w16, [x1, x9] add w17, w16, 1 str w17, [x0, x9] ldr w18, [x1, x8] add w4, w18, 1 str w4, [x0, x8] ldr w3, [x1, x7] add w10, w3, 1 str w10, [x0, x7] ldr w9, [x1, x6] add w5, w9, 1 str w5, [x0, x6] ldr w8, [x1, x11] add w7, w8, 1 str w7, [x0, x11] bne .L41 ret loop2: add x6, x0, 4000 .p2align 2 .L51: mov x1, x0 ldr w2, [x0] add x0, x0, 32 add w3, w2, 1 cmp x0, x6 str w3, [x1], 4 ldr w4, [x0, -28] add w5, w4, 1 str w5, [x0, -28] ldr w7, [x1, 4] add w8, w7, 1 str w8, [x1, 4] ldp w9, w10, [x0, -20] ldp w11, w12, [x0, -12] add w14, w9, 1 ldr w13, [x0, -4] add w15, w10, 1 add w16, w11, 1 add w17, w12, 1 add w18, w13, 1 stp w14, w15, [x0, -20] stp w16, w17, [x0, -12] str w18, [x0, -4] bne .L51 ret >>From gcc-bugs-return-524165-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 12:09:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4490 invoked by alias); 4 May 2016 12:09:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4001 invoked by uid 55); 4 May 2016 12:09:18 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70940] pmr::resource_adaptor requires optional allocator requirements and incorrectly aligns returned pointers. Date: Wed, 04 May 2016 12:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00337.txt.bz2 Content-length: 2007 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70940 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Wed May 4 12:08:45 2016 New Revision: 235868 URL: https://gcc.gnu.org/viewcvs?rev=3D235868&root=3Dgcc&view=3Drev Log: libstdc++/70940 Start fixing polymorphic memory resources PR libstdc++/70940 * include/experimental/memory_resource (__resource_adaptor_imp::do_allocate): Do not default-construct rebound allocator. (__resource_adaptor_imp::do_deallocate): Likewise. Use allocator_traits to get pointer type. (__null_memory_resource::do_allocate): Remove unused parameters. (__null_memory_resource::do_deallocate): Likewise. (__null_memory_resource::do_is_equal): Likewise. Add return stateme= nt. * testsuite/experimental/type_erased_allocator/1.cc: Combine with .= .. * testsuite/experimental/type_erased_allocator/1_neg.cc: This, and move to ... * testsuite/experimental/memory_resource/1.cc: Here. * testsuite/experimental/memory_resource/null_memory_resource.cc: N= ew. * testsuite/experimental/memory_resource/resource_adaptor.cc: New. Added: trunk/libstdc++-v3/testsuite/experimental/memory_resource/ trunk/libstdc++-v3/testsuite/experimental/memory_resource/1.cc - copied, changed from r235859, trunk/libstdc++-v3/testsuite/experimental/type_erased_allocator/1.cc =20=20=20 trunk/libstdc++-v3/testsuite/experimental/memory_resource/null_memory_resou= rce.cc - copied, changed from r235859, trunk/libstdc++-v3/testsuite/experimental/type_erased_allocator/1_neg.cc =20=20=20 trunk/libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.= cc Removed: trunk/libstdc++-v3/testsuite/experimental/type_erased_allocator/1.cc trunk/libstdc++-v3/testsuite/experimental/type_erased_allocator/1_neg.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/experimental/memory_resource >>From gcc-bugs-return-524167-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 12:11:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21099 invoked by alias); 4 May 2016 12:11:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18823 invoked by uid 48); 4 May 2016 12:11:30 -0000 From: "wdijkstr at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70946] Bad interaction between IVOpt and loop unrolling Date: Wed, 04 May 2016 12:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wdijkstr at arm 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00339.txt.bz2 Content-length: 140 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70946 --- Comment #1 from Wilco --- PR36712 seems related to this >>From gcc-bugs-return-524166-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 12:11:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12497 invoked by alias); 4 May 2016 12:11:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7860 invoked by uid 48); 4 May 2016 12:10:48 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70940] pmr::resource_adaptor requires optional allocator requirements and incorrectly aligns returned pointers. Date: Wed, 04 May 2016 12:11: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: 6.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00338.txt.bz2 Content-length: 903 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70940 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu= .org Target Milestone|--- |6.2 --- Comment #3 from Jonathan Wakely --- (In reply to Eric Fiselier from comment #0) > resource_adapter incorrectly requires that the Allocator provide: > * A pointer typedef. > * A default constructor. Those errors are fixed on trunk now. (In reply to Jonathan Wakely from comment #1) > Also: >=20 > __null_memory_resource::do_is_equal() is missing a return statement, so > returns garbage off the stack. So is this. The rest isn't yet. >>From gcc-bugs-return-524168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 12:28:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61541 invoked by alias); 4 May 2016 12:28:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61378 invoked by uid 48); 4 May 2016 12:28:10 -0000 From: "amodra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70947] New: regrename Go breakage on powerpc64 Date: Wed, 04 May 2016 12:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00340.txt.bz2 Content-length: 978 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70947 Bug ID: 70947 Summary: regrename Go breakage on powerpc64 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- Instructions around a __morestack call typically have r0, used to save and restore lr, replaced with other regs by regrename. This trashes the current function parameter and return regs. =3D> 0x0000000010001550 <+112>: mflr r3 # argc trashed 0x0000000010001554 <+116>: std r3,16(r1) 0x0000000010001558 <+120>: bl 0x10001818 <__morestack> 0x000000001000155c <+124>: ld r4,16(r1) 0x0000000010001560 <+128>: mtlr r4 0x0000000010001564 <+132>: blr 0x0000000010001568 <+136>: b 0x100014fc >>From gcc-bugs-return-524169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 12:28:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62920 invoked by alias); 4 May 2016 12:28:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62551 invoked by uid 48); 4 May 2016 12:28:45 -0000 From: "amodra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70947] regrename Go breakage on powerpc64 Date: Wed, 04 May 2016 12:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00341.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70947 Alan Modra changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-04 Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot= com Ever confirmed|0 |1 >>From gcc-bugs-return-524170-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 12:40:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9100 invoked by alias); 4 May 2016 12:40:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4358 invoked by uid 48); 4 May 2016 12:40:36 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzcwOTM3XSBbNyBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUg?= =?UTF-8?B?Y29kZSDigJhzc2FfbmFtZeKAmSBpcyBub3Qgc3VwcG9ydGVkIGluIExUTyBz?= =?UTF-8?B?dHJlYW1z?= Date: Wed, 04 May 2016 12:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00342.txt.bz2 Content-length: 1727 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 --- Comment #4 from Richard Biener --- The following patch fixes the testcase (otherwise untested). Maybe the fir= st fix can be absorbed into this as well. I'll have some time on friday to continue investigating how the fortran FE works but eventually fortran peop= le can lend me a hand here given the following hint. (a little testing shows the assert triggers, needs investigation) Index: gcc/fortran/trans-decl.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/fortran/trans-decl.c (revision 235859) +++ gcc/fortran/trans-decl.c (working copy) @@ -6012,6 +6012,22 @@ finish_oacc_declare (gfc_namespace *ns, return; } +static stmtblock_t *place_decl_expr_init; +static void +place_decl_expr (gfc_symbol *sym) +{ + if (sym->backend_decl + && variably_modified_type_p (TREE_TYPE (sym->backend_decl), NULL)) + { + tree type =3D TREE_TYPE (sym->backend_decl); + while (POINTER_TYPE_P (type)) + type =3D TREE_TYPE (type); + gcc_assert (TYPE_NAME (type)); + gfc_add_expr_to_block (place_decl_expr_init, + build1 (DECL_EXPR, type, TYPE_NAME (type))); + } +} + /* Generate code for a function. */ @@ -6088,6 +6104,9 @@ gfc_generate_function_code (gfc_namespac has_coarray_vars =3D false; generate_local_vars (ns); + place_decl_expr_init =3D &init; + gfc_traverse_ns (ns, place_decl_expr); + if (flag_coarray =3D=3D GFC_FCOARRAY_LIB && has_coarray_vars) generate_coarray_init (ns); >>From gcc-bugs-return-524171-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 12:55:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47300 invoked by alias); 4 May 2016 12:55:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46650 invoked by uid 48); 4 May 2016 12:55:30 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzcwOTM3XSBbNyBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUg?= =?UTF-8?B?Y29kZSDigJhzc2FfbmFtZeKAmSBpcyBub3Qgc3VwcG9ydGVkIGluIExUTyBz?= =?UTF-8?B?dHJlYW1z?= Date: Wed, 04 May 2016 12:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00343.txt.bz2 Content-length: 873 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 --- Comment #5 from Richard Biener --- Ok, ->backend_decl isn't always a decl. Thus sth like the following (I sup= pose the check should be done in fortran terms rather than looking at backend_de= cl) static void place_decl_expr (gfc_symbol *sym) {=20=20=20 if (sym->backend_decl) { tree type =3D sym->backend_decl; if (DECL_P (sym->backend_decl)) type =3D TREE_TYPE (type); else gcc_assert (TYPE_P (type)); while (POINTER_TYPE_P (type)) type =3D TREE_TYPE (type); if (variably_modified_type_p (type, NULL)) {=20=20=20 if (TYPE_NAME (type))=20=20=20=20 gfc_add_expr_to_block (place_decl_expr_init, build1 (DECL_EXPR, type, TYPE_NAME (type= ))); } } } >>From gcc-bugs-return-524172-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 12:58:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87587 invoked by alias); 4 May 2016 12:58:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77192 invoked by uid 48); 4 May 2016 12:57:54 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70946] Bad interaction between IVOpt and loop unrolling Date: Wed, 04 May 2016 12:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00344.txt.bz2 Content-length: 173 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70946 --- Comment #2 from Richard Biener --- IVO before unrolling is never going to be optimal. >>From gcc-bugs-return-524173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 13:11:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85106 invoked by alias); 4 May 2016 13:11:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84836 invoked by uid 48); 4 May 2016 13:10:54 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70807] fwprop pass ICE with incoming CDI_DOMINATORS Date: Wed, 04 May 2016 13:11: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich 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.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00345.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70807 Ilya Enkovich changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ienkovich at gcc dot gnu.o= rg --- Comment #3 from Ilya Enkovich --- I see CSE invalidates dominance info via delete_insn_and_edges and doesn't = fix or free it. >>From gcc-bugs-return-524174-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 13:20:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63161 invoked by alias); 4 May 2016 13:20:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62190 invoked by uid 48); 4 May 2016 13:20:11 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzcwOTM3XSBbNyBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUg?= =?UTF-8?B?Y29kZSDigJhzc2FfbmFtZeKAmSBpcyBub3Qgc3VwcG9ydGVkIGluIExUTyBz?= =?UTF-8?B?dHJlYW1z?= Date: Wed, 04 May 2016 13:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00346.txt.bz2 Content-length: 175 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 --- Comment #6 from Dominique d'Humieres --- Started at r235817. Which patch should I test? >>From gcc-bugs-return-524175-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 13:26:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83816 invoked by alias); 4 May 2016 13:26:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83576 invoked by uid 48); 4 May 2016 13:26:35 -0000 From: "jiwang at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70948] New: [7 Regression] r235622 caused gcc.c-torture/execute/va-arg-pack-1.c execution failure AArch64 Date: Wed, 04 May 2016 13:26: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: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jiwang 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 cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00347.txt.bz2 Content-length: 1522 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70948 Bug ID: 70948 Summary: [7 Regression] r235622 caused gcc.c-torture/execute/va-arg-pack-1.c execution failure AArch64 Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jiwang at gcc dot gnu.org CC: rguenth at gcc dot gnu.org Target Milestone: --- Target: aarch64* Noticed the following regression on aarch64 after r235622 2016-04-29 Richard Biener PR tree-optimization/13962 PR tree-optimization/65686 * tree-ssa-alias.h (ptrs_compare_unequal): Declare. * tree-ssa-alias.c (ptrs_compare_unequal): New function using PTA to compare pointers. * match.pd: Add pattern for pointer equality compare simplification using ptrs_compare_unequal. make check RUNTESTFLAGS=3D"execute.exp=3Dva-arg-pack-1.c" FAIL: gcc.c-torture/execute/va-arg-pack-1.c -O2 execution test FAIL: gcc.c-torture/execute/va-arg-pack-1.c -O3 -g execution test FAIL: gcc.c-torture/execute/va-arg-pack-1.c -O2 -flto -fno-use-linker-plu= gin -flto-partition=3Dnone execution test FAIL: gcc.c-torture/execute/va-arg-pack-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects execution test >>From gcc-bugs-return-524176-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 13:37:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111296 invoked by alias); 4 May 2016 13:37:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110526 invoked by uid 48); 4 May 2016 13:37:05 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/70945] Offloading: compatibility of target and offloading toolchains Date: Wed, 04 May 2016 13:37: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: openacc, openmp X-Bugzilla-Severity: enhancement X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00348.txt.bz2 Content-length: 2087 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70945 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #1 from Alexander Monakov --- I don't think there's a reasonable way to "solve" this apart from saying th= at complete ABI compatibility is required, and enumerating rare exceptions whe= re it's not. Like you say, storage layout must be the same: size/align of all types must match (note this isn't true today for 'long double' and it's not even diagnosed), but also endianness, signedness of 'char'. Layout of _Complex types. Layout of structs that library functions operate on (e.g. div_t). As= an exception, va_list type need not match, because data of this type is not us= able on both host and accel sides. Typedefs must match, even if underlying types happen to be binary compatible (e.g. C++ mangled name of '::operator new' differs based on whether size_t = is 'unsigned' or 'unsigned long'). Basically I'd say that host compilation environment establishes an ABI base= line that the accel environment must follow. In your finite-math example, the problem exists due to an ABI extension in Glibc (note that the custom name could equally happen to be __glibc_log_finite). You'd see the same issue trying to run a new binary on old Glibc systems that didn't have that symbol yet, and now Glibc itself is bound to carry that entrypoint forever. And no= te that the issue is not limited to math symbols either: with -D_FORTIFY_SOURC= E, plain 'printf' may become '__printf_chk', which would also fail to link on Newlib. Is there any actual issue with Fortran functions? As I understand, they are provided by libgfortran, so ABI incompatibilities due to source-level differences, like in Glibc-vs-Newlib above, don't exist. If there are ABI issues due to other reasons, it should be reasonable to just fix those. >>From gcc-bugs-return-524177-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 13:44:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6587 invoked by alias); 4 May 2016 13:44:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6372 invoked by uid 48); 4 May 2016 13:44:35 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Wed, 04 May 2016 13:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00349.txt.bz2 Content-length: 1524 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail do= t com --- Comment #22 from Uro=C5=A1 Bizjak --- Created attachment 38412 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38412&action=3Dedit Proposed patch This patch moves all TARGET_SSE_PARTIAL_REG_DEPENDENCY FP conversion splitt= ers to a later split pass. Plus, the patch substantially cleans these and relat= ed patterns. The functionality of post-reload conversion splitters goes this way: - process FP conversions for TARGET_USE_VECTOR_FP_CONVERTS in an early post-reload splitter. This pass will rewrite FP conversions to vector insns= and is thus incompatible with the next two passes. AMDFAM10 processors depend on this transformation. - process FP conversions for TARGET_SPLIT_MEM_OPND_FOR_FP_CONVERTS in a peephole2 pass. This will transform mem->reg insns to reg->reg insns, and t= hese insn could be processed by the next pass. Some Intel processors depend on t= his transformation. - process FP conversions for TARGET_SSE_PARTIAL_REG_DEPENDENCY in a late post-reload splitter, when allocated registers are stable. AMD and Intel processors depend on this pass, so it is part of generic tuning. >>From gcc-bugs-return-524179-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 13:47:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20591 invoked by alias); 4 May 2016 13:47:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20446 invoked by uid 48); 4 May 2016 13:47:42 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/48778] gcc 4.6 -Waddress adds unhelpful new warning case when using from a macro Date: Wed, 04 May 2016 13:47: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.6.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: minor X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00351.txt.bz2 Content-length: 461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D48778 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Marek Polacek --- Fixed, for some definition of "fixed". >>From gcc-bugs-return-524178-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 13:47:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19210 invoked by alias); 4 May 2016 13:47:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19002 invoked by uid 55); 4 May 2016 13:46:50 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/48778] gcc 4.6 -Waddress adds unhelpful new warning case when using from a macro Date: Wed, 04 May 2016 13:47: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.6.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: minor X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00350.txt.bz2 Content-length: 576 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D48778 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Wed May 4 13:46:15 2016 New Revision: 235878 URL: https://gcc.gnu.org/viewcvs?rev=3D235878&root=3Dgcc&view=3Drev Log: PR c/48778 * c-typeck.c (build_binary_op): Don't issue -Waddress warnings for macro expansions. * gcc.dg/Waddress-2.c: New test. Added: trunk/gcc/testsuite/gcc.dg/Waddress-2.c Modified: trunk/gcc/c/ChangeLog trunk/gcc/c/c-typeck.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524180-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 13:50:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59280 invoked by alias); 4 May 2016 13:50:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52406 invoked by uid 48); 4 May 2016 13:50:45 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70804] Missed tail-call Date: Wed, 04 May 2016 13:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00352.txt.bz2 Content-length: 477 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70804 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #4 from Alexander Monakov --- Closing as invalid per the previous comment. >>From gcc-bugs-return-524181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 14:08:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56605 invoked by alias); 4 May 2016 14:08:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 56278 invoked by uid 48); 4 May 2016 14:08:32 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70371] Number added worng Date: Wed, 04 May 2016 14:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00353.txt.bz2 Content-length: 431 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70371 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME --- Comment #2 from Marek Polacek --- =2E >>From gcc-bugs-return-524182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 14:14:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97927 invoked by alias); 4 May 2016 14:14:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95976 invoked by uid 48); 4 May 2016 14:13:54 -0000 From: "ed at catmur dot co.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/60027] Problem with braced-init-lists and explicit ctors Date: Wed, 04 May 2016 14:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: ed at catmur dot co.uk X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00354.txt.bz2 Content-length: 979 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60027 Ed Catmur changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ed at catmur dot co.uk --- Comment #1 from Ed Catmur --- This is correct. [over.match.list]: [...] In copy-list-initialization, if an explicit constructor is chosen, the initialization is ill-formed. [ Note: This differs from other situations ([over.match.ctor], [over.match.copy]), where only converting constructors = are considered for copy-initialization. This restriction only applies if this initialization is part of the final result of overload resolution. =E2=80= =94 end note ] See also: https://llvm.org/bugs/show_bug.cgi?id=3D27642 http://stackoverflow.com/questions/34622076/calling-an-explicit-constructor= -with-a-braced-init-list-ambiguous-or-not?rq=3D1 >>From gcc-bugs-return-524183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 14:15:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101329 invoked by alias); 4 May 2016 14:15:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100911 invoked by uid 48); 4 May 2016 14:15:24 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70930] VLAs in stucts in loop headers are not evaluated each iteration Date: Wed, 04 May 2016 14:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00355.txt.bz2 Content-length: 561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70930 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-04 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed. >>From gcc-bugs-return-524184-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 14:20:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19624 invoked by alias); 4 May 2016 14:20:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19425 invoked by uid 48); 4 May 2016 14:19:59 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68945] enable libcilkrts on SPARC Date: Wed, 04 May 2016 14:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00356.txt.bz2 Content-length: 1125 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68945 --- Comment #9 from Rainer Orth --- Created attachment 38413 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38413&action=3Dedit sparcv9 support patch This patch (on top of the previous one) fixes the sparcv9 failures reported before. As I'd suspected, the problem was that the code didn't take the SPARC V9 st= ack bias into account: in a couple of places, the stack and frame pointers in t= he __builtin_setjmp/__builtin_longjmp internal jmpbuf are overwritten with unbiased addresses. The patch includes both debugging code (assertions to check that the stack pointer is either biased or unbiased) and CILK_ADJUST_SP/CILK_UNADJUST_SP macros to turn a stack pointer from unbiased to biased form. The patch is enough to successfully run all Cilk Plus in the gcc and g++ testsuites successfully on sparc-sun-solaris2.10, but there may be code paths that also need adjustments. I'm just posting the patch (which is relative to upstream libcilkrts, which should be merged into mainline any day now) for reference and comments. Rainer >>From gcc-bugs-return-524185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 14:21:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50369 invoked by alias); 4 May 2016 14:21:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41478 invoked by uid 48); 4 May 2016 14:21:30 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70771] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in operator[], at vec.h:714 Date: Wed, 04 May 2016 14:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00357.txt.bz2 Content-length: 393 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70771 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #5 from Marek Polacek --- Fixed? >>From gcc-bugs-return-524186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 14:22:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57395 invoked by alias); 4 May 2016 14:21:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51341 invoked by uid 48); 4 May 2016 14:21:46 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70775] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault Date: Wed, 04 May 2016 14:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00358.txt.bz2 Content-length: 393 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70775 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #4 from Marek Polacek --- Fixed? >>From gcc-bugs-return-524187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 14:30:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115752 invoked by alias); 4 May 2016 14:30:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115504 invoked by uid 48); 4 May 2016 14:30:34 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70938] internal compiler error: in tsubst_copy, at cp/pt.c:13008 Date: Wed, 04 May 2016 14:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00359.txt.bz2 Content-length: 588 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70938 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-04 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Fixed in r234442 for GCC 6 and GCC 7. >>From gcc-bugs-return-524189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 14:32:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129544 invoked by alias); 4 May 2016 14:32:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128069 invoked by uid 48); 4 May 2016 14:32:25 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70771] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in operator[], at vec.h:714 Date: Wed, 04 May 2016 14:32: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: amker 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00361.txt.bz2 Content-length: 396 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70771 amker at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from amker at gcc dot gnu.org --- Yes, fixed. >>From gcc-bugs-return-524188-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 14:32:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122585 invoked by alias); 4 May 2016 14:32:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120124 invoked by uid 48); 4 May 2016 14:31:48 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70775] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault Date: Wed, 04 May 2016 14:32: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: amker 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00360.txt.bz2 Content-length: 396 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70775 amker at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from amker at gcc dot gnu.org --- Yes, fixed. >>From gcc-bugs-return-524190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 14:38:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9337 invoked by alias); 4 May 2016 14:38:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9209 invoked by uid 48); 4 May 2016 14:37:55 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70051] ubsan doesn't detect VLA overflow Date: Wed, 04 May 2016 14:38: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00362.txt.bz2 Content-length: 415 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70051 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #1 from Marek Polacek --- Isn't this a dup of PR68065? >>From gcc-bugs-return-524191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 14:54:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4705 invoked by alias); 4 May 2016 14:54:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125160 invoked by uid 48); 4 May 2016 14:53:47 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70932] flexible array member with non-trivial destructor Date: Wed, 04 May 2016 14:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cf_known_to_work assigned_to everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00363.txt.bz2 Content-length: 1467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70932 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-04 Known to work| |4.9.3, 5.3.0 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot g= nu.org Ever confirmed|0 |1 Known to fail| |6.1.0 --- Comment #1 from Martin Sebor --- The problem was introduced r233126 as a result of switching the internal flexible array representation to use a null type domain. Prior to 6.1, GCC treated flexible array members the same as arrays of zero elements. I'll have to think about what the right solution is: reject flexible array members with non-trivial destructors with a better error (like clang does) = or allow them with a warning. My concern with allowing them is that while G++= 6.1 allows them to be initialized (5.x rejects the initialization which seems l= ike a bug), it won't be able to invoke their destructor in code like this: struct A { int i; ~A() { __builtin_printf ("%s\n", __PRETTY_FUNCTION__); } }; struct S { int i; A a[]; }; int main () { S s =3D { 3, { 1, 2, 3 } }; } >>From gcc-bugs-return-524192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 15:01:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17755 invoked by alias); 4 May 2016 15:01:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17624 invoked by uid 48); 4 May 2016 15:01:14 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/50410] [4.9/5/6/7 Regression] ICE in record_reference Date: Wed, 04 May 2016 15:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00364.txt.bz2 Content-length: 929 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D50410 --- Comment #23 from Gerhard Steinmetz --- These variants give : $ cat z1.f90 program p type ta integer :: a end type type t type(ta), pointer :: b end type type(t) :: z data z / t(ta(1)) / end $ gfortran-6 z1.f90 f951: internal compiler error: in record_reference, at cgraphbuild.c:64 $ cat z2.f90 program p type ta integer :: a end type type t type(ta) :: b end type type(t), pointer :: z data z / t(ta(1)) / end $ gfortran-6 z2.f90 f951: internal compiler error: in record_reference, at cgraphbuild.c:64 $ cat z3.f90 program p type ta integer :: a end type type t type(ta), pointer :: b end type type(t), pointer :: z data z / t(ta(1)) / end $ gfortran-6 z3.f90 internal compiler error: in fold_convert_loc, at fold-const.c:2256 >>From gcc-bugs-return-524193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 15:03:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27239 invoked by alias); 4 May 2016 15:03:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26930 invoked by uid 48); 4 May 2016 15:02:52 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/50410] [4.9/5/6/7 Regression] ICE in record_reference Date: Wed, 04 May 2016 15:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00365.txt.bz2 Content-length: 560 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D50410 --- Comment #24 from Gerhard Steinmetz --- And an exotic case : $ cat z5.f90 module m real, target :: a[*] real, pointer :: z =3D> a end $ gfortran-6 -fcoarray=3Dlib -c z5.f90 f951: internal compiler error: in record_reference, at cgraphbuild.c:64 $ cat z6.f90 program p real, target :: a[*] real, pointer :: z =3D> a end $ gfortran-6 -fcoarray=3Dlib -finit-local-zero -c z6.f90 internal compiler error: in fold_convert_loc, at fold-const.c:2256 >>From gcc-bugs-return-524195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 15:04:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31363 invoked by alias); 4 May 2016 15:04:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30803 invoked by uid 48); 4 May 2016 15:04:43 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70051] ubsan doesn't detect VLA overflow Date: Wed, 04 May 2016 15:04: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00367.txt.bz2 Content-length: 417 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70051 --- Comment #2 from Martin Sebor --- The bug here I believe is in how/where the C++ front end calls the sanitize= r to detect the overflow. With PR69517 resolved by having the C++ front end thr= ow an exception, this bug will become largely a non-issue (except with -fno-exceptions it will still need to be fixed), but PR68065 won't. >>From gcc-bugs-return-524194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 15:04:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30841 invoked by alias); 4 May 2016 15:04:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30656 invoked by uid 48); 4 May 2016 15:04:32 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70949] New: ICE in propagate_necessity, at tree-ssa-dce.c:924 Date: Wed, 04 May 2016 15:04: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00366.txt.bz2 Content-length: 1030 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70949 Bug ID: 70949 Summary: ICE in propagate_necessity, at tree-ssa-dce.c:924 Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fortran@t-online.de Target Milestone: --- Compiling with optimization level -Og, -Os, -O1 or higher : (affects older gfortran versions too) $ cat z1.f90 program p type t1 end type type t2 type(t1), pointer :: q end type type(t1), pointer :: a type(t2) :: c allocate(a) c%q =3D> a print *, 'a', associated(a, f(c)) contains function f(x) result (z) type(t2), intent(in) :: x class(t1), pointer :: z z =3D> x%q end end $ gfortran-6 -O2 z1.f90 z1.f90:12:0: print *, 'a', associated(a, f(c)) internal compiler error: in propagate_necessity, at tree-ssa-dce.c:924 >>From gcc-bugs-return-524196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 15:06:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33996 invoked by alias); 4 May 2016 15:06:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33729 invoked by uid 48); 4 May 2016 15:05:49 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70949] ICE in propagate_necessity, at tree-ssa-dce.c:924 Date: Wed, 04 May 2016 15:06: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00368.txt.bz2 Content-length: 558 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70949 --- Comment #1 from Gerhard Steinmetz --- This variant works : (as known from several other PRs : change "class" to "type") $ cat z2.f90 program p type t1 end type type t2 type(t1), pointer :: q end type type(t1), pointer :: a type(t2) :: c allocate(a) c%q =3D> a print *, 'a', associated(a, f(c)) contains function f(x) result (z) type(t2), intent(in) :: x type(t1), pointer :: z z =3D> x%q end end >>From gcc-bugs-return-524198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 15:10:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111186 invoked by alias); 4 May 2016 15:10:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110749 invoked by uid 48); 4 May 2016 15:10:35 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70877] [MPX] ICE in in convert_move Date: Wed, 04 May 2016 15:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ienkovich 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00370.txt.bz2 Content-length: 497 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70877 Ilya Enkovich changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-04 Assignee|unassigned at gcc dot gnu.org |ienkovich at gcc do= t gnu.org Ever confirmed|0 |1 >>From gcc-bugs-return-524197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 15:10:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110663 invoked by alias); 4 May 2016 15:10:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110552 invoked by uid 48); 4 May 2016 15:10:25 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70876] ICE in chkp_find_bounds: Unexpected tree code with_size_expr Date: Wed, 04 May 2016 15:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ienkovich 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00369.txt.bz2 Content-length: 497 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70876 Ilya Enkovich changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-04 Assignee|unassigned at gcc dot gnu.org |ienkovich at gcc do= t gnu.org Ever confirmed|0 |1 >>From gcc-bugs-return-524199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 15:11:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112385 invoked by alias); 4 May 2016 15:11:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111516 invoked by uid 48); 4 May 2016 15:10:56 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70950] New: ICE with -O0 in simplify_subreg, at simplify-rtx.c:5895 Date: Wed, 04 May 2016 15:11: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00371.txt.bz2 Content-length: 1231 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70950 Bug ID: 70950 Summary: ICE with -O0 in simplify_subreg, at simplify-rtx.c:5895 Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fortran@t-online.de Target Milestone: --- This error message is generated with optimization level -O0 : (affects older gfortran versions too) $ cat z1.f90 program p type t1 end type type t2 type(t1), pointer :: q =3D> null() end type type(t1), pointer :: a, b type(t2) :: c allocate(a) call s(a, c) print *, 'a', associated(a, f(c)) b =3D> f(c) print *, 'b', associated(a, b) contains subroutine s(x, y) type(t1), pointer :: x type(t2), intent(out) :: y y%q =3D> x end function f(x) result (z) type(t2), intent(in) :: x class(t1), pointer :: z z =3D> x%q end end $ gfortran-6 -O0 z1.f90 z1.f90:12:0: print *, 'a', associated(a, f(c)) internal compiler error: in simplify_subreg, at simplify-rtx.c:5895 >>From gcc-bugs-return-524200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 15:12:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16232 invoked by alias); 4 May 2016 15:12:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16067 invoked by uid 48); 4 May 2016 15:12:38 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70950] ICE with -O0 in simplify_subreg, at simplify-rtx.c:5895 Date: Wed, 04 May 2016 15:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00372.txt.bz2 Content-length: 1062 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70950 --- Comment #1 from Gerhard Steinmetz --- Please note : both examples from pr70949 are simplifications of this PR, thus related. Behaviour differs for -O0 (with/without ICE). Compiling the example from above with optimization level -Og, -Os, -O1 or higher shows the same ICE as in PR70949 comment 0. In total, pr70949 is more or less a subcase. Code compiles and works if "class" is changed to "type" : $ cat z2.f90 program p type t1 end type type t2 type(t1), pointer :: q =3D> null() end type type(t1), pointer :: a, b type(t2) :: c allocate(a) call s(a, c) print *, 'a', associated(a, f(c)) b =3D> f(c) print *, 'b', associated(a, b) contains subroutine s(x, y) type(t1), pointer :: x type(t2), intent(out) :: y y%q =3D> x end function f(x) result (z) type(t2), intent(in) :: x type(t1), pointer :: z z =3D> x%q end end $ gfortran-6 -O0 -g z2.f90 $ a.out a T b T >>From gcc-bugs-return-524201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 15:46:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116084 invoked by alias); 4 May 2016 15:46:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115901 invoked by uid 48); 4 May 2016 15:45:52 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Wed, 04 May 2016 15:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00373.txt.bz2 Content-length: 4036 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #23 from H.J. Lu --- (In reply to Uro=C5=A1 Bizjak from comment #22) > Created attachment 38412 [details] > Proposed patch >=20 > This patch moves all TARGET_SSE_PARTIAL_REG_DEPENDENCY FP conversion > splitters to a later split pass. Plus, the patch substantially cleans the= se > and related patterns. >=20 > The functionality of post-reload conversion splitters goes this way: >=20 > - process FP conversions for TARGET_USE_VECTOR_FP_CONVERTS in an early > post-reload splitter. This pass will rewrite FP conversions to vector ins= ns > and is thus incompatible with the next two passes. AMDFAM10 processors > depend on this transformation. >=20 > - process FP conversions for TARGET_SPLIT_MEM_OPND_FOR_FP_CONVERTS in a > peephole2 pass. This will transform mem->reg insns to reg->reg insns, and > these insn could be processed by the next pass. Some Intel processors dep= end > on this transformation. >=20 > - process FP conversions for TARGET_SSE_PARTIAL_REG_DEPENDENCY in a late > post-reload splitter, when allocated registers are stable. AMD and Intel > processors depend on this pass, so it is part of generic tuning. We need to move those special SSE SF->DF splitters before (define_split [(set (match_operand 0 "any_fp_register_operand") (float_extend (match_operand 1 "memory_operand")))] "reload_completed && (GET_MODE (operands[0]) =3D=3D TFmode || GET_MODE (operands[0]) =3D=3D XFmode || GET_MODE (operands[0]) =3D=3D DFmode)" [(set (match_dup 0) (match_dup 2))] { operands[2] =3D find_constant_src (curr_insn); if (operands[2] =3D=3D NULL_RTX || (SSE_REGNO_P (REGNO (operands[0])) && standard_sse_constant_p (operands[2], GET_MODE (operands[0])) !=3D 1) || (STACK_REGNO_P (REGNO (operands[0])) && standard_80387_constant_p (operands[2]) < 1)) FAIL; }) Otherwise, they may not be used on memory operand since the general SSE (In reply to Uro=C5=A1 Bizjak from comment #22) > Created attachment 38412 [details] > Proposed patch >=20 > This patch moves all TARGET_SSE_PARTIAL_REG_DEPENDENCY FP conversion > splitters to a later split pass. Plus, the patch substantially cleans the= se > and related patterns. >=20 > The functionality of post-reload conversion splitters goes this way: >=20 > - process FP conversions for TARGET_USE_VECTOR_FP_CONVERTS in an early > post-reload splitter. This pass will rewrite FP conversions to vector ins= ns > and is thus incompatible with the next two passes. AMDFAM10 processors > depend on this transformation. >=20 > - process FP conversions for TARGET_SPLIT_MEM_OPND_FOR_FP_CONVERTS in a > peephole2 pass. This will transform mem->reg insns to reg->reg insns, and > these insn could be processed by the next pass. Some Intel processors dep= end > on this transformation. >=20 > - process FP conversions for TARGET_SSE_PARTIAL_REG_DEPENDENCY in a late > post-reload splitter, when allocated registers are stable. AMD and Intel > processors depend on this pass, so it is part of generic tuning. We need to move those special SSE SF->DF splitters before (define_split [(set (match_operand 0 "any_fp_register_operand") (float_extend (match_operand 1 "memory_operand")))] "reload_completed && (GET_MODE (operands[0]) =3D=3D TFmode || GET_MODE (operands[0]) =3D=3D XFmode || GET_MODE (operands[0]) =3D=3D DFmode)" [(set (match_dup 0) (match_dup 2))] { operands[2] =3D find_constant_src (curr_insn); if (operands[2] =3D=3D NULL_RTX || (SSE_REGNO_P (REGNO (operands[0])) && standard_sse_constant_p (operands[2], GET_MODE (operands[0])) !=3D 1) || (STACK_REGNO_P (REGNO (operands[0])) && standard_80387_constant_p (operands[2]) < 1)) FAIL; }) Otherwise, they may not be used on memory operand since the general SSE float_extend splitter on memory operand will be used. >>From gcc-bugs-return-524202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 15:46:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117440 invoked by alias); 4 May 2016 15:46:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 117263 invoked by uid 48); 4 May 2016 15:46:42 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Wed, 04 May 2016 15:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00374.txt.bz2 Content-length: 297 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #24 from H.J. Lu --- Created attachment 38414 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38414&action=3Dedit A patch to move special SSE splitters before general SSE float_extend split= ter >>From gcc-bugs-return-524203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 16:13:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74776 invoked by alias); 4 May 2016 16:13:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74393 invoked by uid 48); 4 May 2016 16:12:55 -0000 From: "ysrumyan at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/70935] [6/7 Regression] ICE: verify_ssa failed (error: definition in block 9 does not dominate use in block 12) w/ -O3 -g Date: Wed, 04 May 2016 16:13: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ysrumyan at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00375.txt.bz2 Content-length: 871 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70935 --- Comment #3 from Yuri Rumyantsev --- Jacub, Here is a simple fix - do not take into consideration edges destination of which is loop latch block, i.e. loop is endless: diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c index dd6fd01..7de5fba 100644 --- a/gcc/tree-ssa-loop-unswitch.c +++ b/gcc/tree-ssa-loop-unswitch.c @@ -532,6 +532,12 @@ find_loop_guard (struct loop *loop) guard_edge->src->index, guard_edge->dest->index); return NULL; } + if (guard_edge->dest =3D=3D loop->latch) + { + if (dump_file && (dump_flags & TDF_DETAILS)) + fprintf(dump_file,"Guard edge destination is loop latch!\n"); + return NULL; + } if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, Is it OK for you? >>From gcc-bugs-return-524204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 16:20:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72364 invoked by alias); 4 May 2016 16:20:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69188 invoked by uid 48); 4 May 2016 16:20:15 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzcwOTM3XSBbNyBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUg?= =?UTF-8?B?Y29kZSDigJhzc2FfbmFtZeKAmSBpcyBub3Qgc3VwcG9ydGVkIGluIExUTyBz?= =?UTF-8?B?dHJlYW1z?= Date: Wed, 04 May 2016 16:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00376.txt.bz2 Content-length: 1853 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 --- Comment #7 from Dominique d'Humieres --- The ICEs are gone with the patch --- ../_clean/gcc/fortran/trans-decl.c 2016-03-28 13:03:29.000000000 +0200 +++ ../p_work/gcc/fortran/trans-decl.c 2016-05-04 16:13:21.000000000 +0200 @@ -6013,6 +6013,29 @@ finish_oacc_declare (gfc_namespace *ns,=20 } +static stmtblock_t *place_decl_expr_init; +static void +place_decl_expr (gfc_symbol *sym) +{=20=20=20 + if (sym->backend_decl) + { + tree type =3D sym->backend_decl; + if (DECL_P (sym->backend_decl)) + type =3D TREE_TYPE (type); + else + gcc_assert (TYPE_P (type)); + while (POINTER_TYPE_P (type)) + type =3D TREE_TYPE (type); + if (variably_modified_type_p (type, NULL)) + {=20=20=20 + if (TYPE_NAME (type))=20=20=20=20 + gfc_add_expr_to_block (place_decl_expr_init, + build1 (DECL_EXPR, type, TYPE_NAME (type))); + } + } +} + + /* Generate code for a function. */ void @@ -6088,6 +6111,9 @@ gfc_generate_function_code (gfc_namespac has_coarray_vars =3D false; generate_local_vars (ns); + place_decl_expr_init =3D &init; + gfc_traverse_ns (ns, place_decl_expr); + if (flag_coarray =3D=3D GFC_FCOARRAY_LIB && has_coarray_vars) generate_coarray_init (ns); However, I see several execution failures: FAIL: gfortran.dg/array_constructor_type_7.f03 -Oxx execution test where= xx depends on -m32/-m64 FAIL: gfortran.dg/auto_char_dummy_array_1.f90 -O* execution test FAIL: gfortran.dg/namelist_70.f90 -O* execution test FAIL: gfortran.dg/string_ctor_1.f90 -Oxx execution test where xx depend= s on -m32/-m64 FAIL: libgomp.fortran/task2.f90 -O execution test FAIL: libgomp.fortran/vla*.f90 -O* execution test >>From gcc-bugs-return-524205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 16:22:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83045 invoked by alias); 4 May 2016 16:22:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82687 invoked by uid 48); 4 May 2016 16:22:33 -0000 From: "egall at gwmail dot gwu.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/66773] sign-compare warning for == and != are pretty useless Date: Wed, 04 May 2016 16:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.7.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: egall at gwmail dot gwu.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00377.txt.bz2 Content-length: 668 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66773 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egall at gwmail dot gwu.edu --- Comment #6 from Eric Gallager --- (In reply to Andreas Schwab from comment #5) > A cast is seldom a good solution Well, that's the sort of solution this warning causes inexperienced program= mers who don't know any better (such as myself) to use... Maybe now that GCC has fixits, it could suggest something better? >>From gcc-bugs-return-524206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 16:28:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109237 invoked by alias); 4 May 2016 16:28:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108487 invoked by uid 48); 4 May 2016 16:27:57 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70951] New: misleading -Wignored-qualifiers text, incorrect documentation Date: Wed, 04 May 2016 16:28: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00378.txt.bz2 Content-length: 2774 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70951 Bug ID: 70951 Summary: misleading -Wignored-qualifiers text, incorrect documentation Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- The following C/C++ program elicits warnings in either language mode. The warning is expected, but the phrasing of the text isn't entirely correct because, as the program shows, qualifiers on function return types can be deduced in both languages and so are not ignored. I think this can be easi= ly corrected by tweaking the text of the warning to avoid giving the impression that the qualifiers are not part of the type. In addition, the documentation for the option states: Warn if the return type of a function has a type qualifier such as const. = For ISO C such a type qualifier has no effect, since the value returned by a function is not an lvalue. For C++, the warning is only emitted for scalar types or void. I noticed two problems with the documentation: First, as the C example program shows, a type qualifier on a function return type does have an effect even in C. The description should be expanded to = make it clear that the qualifier has no effect on the returned value but that it does affect the type of the function. Second, as the C++ example shows, G++ emits the warning also for enumeratio= ns in addition to scalar types. Either the C++ description should be correcte= d to mention that the warning is issued for enumerations as well, or the implementation fixed to match the documentation. $ (set -x; cat xx.c && gcc -Wall -Wextra -xc xx.c && gcc -Wall -Wextra -xc++ xx.c) + cat xx.c enum E { e }; typedef const enum E T; T foo (void) { return (T)0; } #if __cplusplus template void f (T); int main () { f (foo); } #else typedef T (*tf)(void); typedef enum E (*ef)(void); _Static_assert (1 =3D=3D _Generic (foo, tf: 1, ef: 0), ""); #endif + gcc -S -Wall -Wextra -xc xx.c xx.c:4:3: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] T foo (void) { return (T)0; } ^~~ xx.c:15:13: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] typedef T (*tf)(void); ^~ + gcc -Wall -Wextra -xc++ xx.c xx.c:4:12: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] T foo (void) { return (T)0; } ^ /tmp/cccrycoh.o: In function `main': xx.c:(.text+0x15): undefined reference to `void f(E const (*)())' collect2: error: ld returned 1 exit status >>From gcc-bugs-return-524207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 16:28:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110098 invoked by alias); 4 May 2016 16:28:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109952 invoked by uid 48); 4 May 2016 16:28:18 -0000 From: "egall at gwmail dot gwu.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/38470] value range propagation (VRP) would improve -Wsign-compare Date: Wed, 04 May 2016 16:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: egall at gwmail dot gwu.edu X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00379.txt.bz2 Content-length: 723 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D38470 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egall at gwmail dot gwu.edu --- Comment #15 from Eric Gallager --- (In reply to Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez from comment #6) > Fixing this is even more unlikely than fixing PR 23608, since the latter > only asks for constant propagation, but this one requires value range > propagation. That has since been closed as fixed. So are the chances of this one being f= ixed next somewhat better now? >>From gcc-bugs-return-524208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 16:32:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91127 invoked by alias); 4 May 2016 16:32:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90626 invoked by uid 48); 4 May 2016 16:32:40 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/70935] [6/7 Regression] ICE: verify_ssa failed (error: definition in block 9 does not dominate use in block 12) w/ -O3 -g Date: Wed, 04 May 2016 16:32: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00380.txt.bz2 Content-length: 1539 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70935 --- Comment #4 from Jakub Jelinek --- (In reply to Yuri Rumyantsev from comment #3) > Here is a simple fix - do not take into consideration edges destination of > which is loop latch block, i.e. loop is endless: > diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c > index dd6fd01..7de5fba 100644 > --- a/gcc/tree-ssa-loop-unswitch.c > +++ b/gcc/tree-ssa-loop-unswitch.c > @@ -532,6 +532,12 @@ find_loop_guard (struct loop *loop) > guard_edge->src->index, guard_edge->dest->index); > return NULL; > } > + if (guard_edge->dest =3D=3D loop->latch) > + { > + if (dump_file && (dump_flags & TDF_DETAILS)) > + fprintf(dump_file,"Guard edge destination is loop latch!\n"); Formatting - missing space before (. > + return NULL; > + } >=20=20 > if (dump_file && (dump_flags & TDF_DETAILS)) > fprintf (dump_file, >=20 > Is it OK for you? Richard knows this code much better than I do, so I'll defer to him. That said, is there any guarantee that for non-endless loop we won't run in= to the debug stmt issue? For normal non-debug uses of something set inside of= the loop there would need to be a PHI on the exit block if it is reachable from outside of the loop too, the question is if it is possible even in the non-endless case that the exit block will be only reachable from within the loop. If yes, even normal SSA_NAME uses, not just in debug stmts, could be= a problem. >>From gcc-bugs-return-524209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 16:40:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17747 invoked by alias); 4 May 2016 16:40:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16199 invoked by uid 48); 4 May 2016 16:40:17 -0000 From: "porton at narod dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/62042] Missing optimization of copying non-limited objects Date: Wed, 04 May 2016 16:40: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: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: porton at narod dot ru X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00381.txt.bz2 Content-length: 142 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D62042 --- Comment #10 from Victor Porton --- Not fixed in GCC 6.1.1. >>From gcc-bugs-return-524210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 16:41:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19410 invoked by alias); 4 May 2016 16:41:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19245 invoked by uid 48); 4 May 2016 16:41:31 -0000 From: "porton at narod dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/62235] segmentation fault on Ada 2012 code Date: Wed, 04 May 2016 16:41: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: porton at narod dot ru X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00382.txt.bz2 Content-length: 142 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D62235 --- Comment #8 from Victor Porton --- Note fixed in GCC 6.1.1. >>From gcc-bugs-return-524211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 16:42:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21297 invoked by alias); 4 May 2016 16:42:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21146 invoked by uid 48); 4 May 2016 16:42:38 -0000 From: "porton at narod dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/62236] : error: aggregate value used where an integer was expected Date: Wed, 04 May 2016 16:42: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: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: porton at narod dot ru X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00383.txt.bz2 Content-length: 141 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D62236 --- Comment #7 from Victor Porton --- Not fixed in GCC 6.1.1. >>From gcc-bugs-return-524212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 16:53:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86074 invoked by alias); 4 May 2016 16:53:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85848 invoked by uid 48); 4 May 2016 16:52:49 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70922] -Wparentheses warning should not complain about if-else from macro expansion Date: Wed, 04 May 2016 16:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00384.txt.bz2 Content-length: 1522 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70922 --- Comment #6 from Marek Polacek --- This should fix it then: diff --git a/gcc/c/c-parser.c b/gcc/c/c-parser.c index d275f8e..d31e915 100644 --- a/gcc/c/c-parser.c +++ b/gcc/c/c-parser.c @@ -5532,7 +5532,7 @@ c_parser_if_statement (c_parser *parser, bool *if_p, vec *chain) /* Set IF_P to true to indicate that this if statement has an else clause. This may trigger the Wparentheses warning below when we get back up to the parent if statement. */ - if (if_p !=3D NULL) + if (if_p !=3D NULL && !from_macro_expansion_at (loc)) *if_p =3D true; } else diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index da2ee3c..f6b8008 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -10848,6 +10848,7 @@ cp_parser_selection_statement (cp_parser* parser, b= ool *if_p, { tree statement; tree condition; + location_t loc =3D cp_lexer_peek_token (parser->lexer)->location; /* Look for the `('. */ if (!cp_parser_require (parser, CPP_OPEN_PAREN, RT_OPEN_PAREN)) @@ -10941,7 +10942,7 @@ cp_parser_selection_statement (cp_parser* parser, b= ool *if_p, indicate that this if statement has an else clause. This may trigger the Wparentheses warning below when we get back up to the parent if statement. */ - if (if_p !=3D NULL) + if (if_p !=3D NULL && !from_macro_expansion_at (loc)) *if_p =3D true; } else >>From gcc-bugs-return-524213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 16:57:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101265 invoked by alias); 4 May 2016 16:57:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101077 invoked by uid 48); 4 May 2016 16:57:16 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70952] New: Missing warning for likely-erroneous octal escapes in string literals Date: Wed, 04 May 2016 16:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00385.txt.bz2 Content-length: 1152 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70952 Bug ID: 70952 Summary: Missing warning for likely-erroneous octal escapes in string literals Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: amonakov at gcc dot gnu.org Target Milestone: --- GCC doesn't warn for: const char s[] =3D "\008"; (just the two zeros following the backslash become a part of the octal lite= ral, so the string literal is equivalent to "\0""8") \008 and \009 in string literals are most likely errors (\08 and \09 work j= ust as well if a nil character followed by a digit was really intended) I think a bit of a bikeshed is possible on the point how far we want to tak= e it (do we warn for "\08"? for "\799"?). I think warning when the octal escape with less than 3 digits is followed by [89] is desirable (this catches all = of the above), but warning when octal escape already has 3 digits may be not (= this exempts "\0009" from the warning). >>From gcc-bugs-return-524214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 17:12:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96910 invoked by alias); 4 May 2016 17:12:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90879 invoked by uid 48); 4 May 2016 17:12:04 -0000 From: "mrestelli at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70953] New: Reallocation on assignment does not work with debug flags Date: Wed, 04 May 2016 17:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mrestelli 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00386.txt.bz2 Content-length: 1224 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70953 Bug ID: 70953 Summary: Reallocation on assignment does not work with debug flags Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: mrestelli at gmail dot com Target Milestone: --- The attached code produces a runtime error when compiled with some debug flags (see later). The code however is correct: the dimension mismatch reported by the compiler is not an error but should trigger the allocation of the rhs. program p implicit none integer, allocatable :: v(:), x(:) allocate( x(3) ) v =3D int( x ) ! runtime error !v =3D x ! works correctly write(*,*) shape(v) end program p $ gfortran gf.f90 -g -O0 -fcheck=3Dall -ffpe-trap=3Dinvalid -o gf $ ./gf At line 7 of file gf.f90 Fortran runtime error: Array bound mismatch for dimension 1 of array 'v' (7233114627794677618/3) $ gfortran --version GNU Fortran (GCC) 7.0.0 20160422 (experimental) Removing either -fcheck=3Dall or -ffe-trap=3Dinvalid solves the problem. >>From gcc-bugs-return-524215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 17:19:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121684 invoked by alias); 4 May 2016 17:19:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121545 invoked by uid 48); 4 May 2016 17:19:09 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70953] Reallocation on assignment does not work with debug flags Date: Wed, 04 May 2016 17:19: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: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00387.txt.bz2 Content-length: 541 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70953 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2016-05-04 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- It looks like a duplicate of pr52162 (see comment 2). >>From gcc-bugs-return-524216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 17:26:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19772 invoked by alias); 4 May 2016 17:26:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19613 invoked by uid 48); 4 May 2016 17:26:42 -0000 From: "jens.maurer at gmx dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70932] flexible array member with non-trivial destructor Date: Wed, 04 May 2016 17:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jens.maurer at gmx dot net X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00388.txt.bz2 Content-length: 1058 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70932 --- Comment #2 from Jens Maurer --- The whole point of flexible array members seems to be to save an allocation= for the array, with the precondition that the array size can be determined at initialization time and stays fixed for the entire lifetime of the enclosing struct. In that scenario, I need to placement-new the array elements (or, probably, the entire array) anyway, so requiring to explicitly call the destructor(s) seems a natural duality. In the example S s =3D { 3, { 1, 2, 3 } }; it seems surprising that the destructor for the elements is not called, giv= en that the number of elements is "right there" in the source code. [Yes, I ha= ve an idea about the implementation difficulties here.] I'd rather prefer this initialization example to be ill-formed, if the element type has a non-triv= ial destructor. Consider if the element type is a std::string (with dynamic allocation) and this is inside a loop; this seems to cause a serious memory leak. >>From gcc-bugs-return-524217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 17:27:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20790 invoked by alias); 4 May 2016 17:27:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20660 invoked by uid 48); 4 May 2016 17:27:24 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70952] Missing warning for likely-erroneous octal escapes in string literals Date: Wed, 04 May 2016 17:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00389.txt.bz2 Content-length: 420 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70952 --- Comment #1 from Alexander Monakov --- Octal escapes have no more than three digits by definition, so "\0009" clea= rly doesn't fall under this warning. Upon further testing, there's no diagnostic for const char c =3D '\9'; /* same as ... =3D 9; */ Surely that's a bug? It is diagnosed (with a warning) inside of string literals. >>From gcc-bugs-return-524218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 17:32:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40293 invoked by alias); 4 May 2016 17:32:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40181 invoked by uid 48); 4 May 2016 17:32:17 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70954] New: -Wmisleading-indentation false positive on GNU "ed" Date: Wed, 04 May 2016 17:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00390.txt.bz2 Content-length: 1460 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70954 Bug ID: 70954 Summary: -Wmisleading-indentation false positive on GNU "ed" Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dmalcolm at gcc dot gnu.org Target Milestone: --- A user reported a false positive with -Wmisleading-indentation when compiling "ed" with gcc 6.1: https://gcc.gnu.org/ml/gcc/2016-05/msg00044.html Minimal reproducer: void test (const char ** const ibufpp) { int c =3D *(*ibufpp)++; switch (c) { case '#': while( *(*ibufpp)++ !=3D '\n' ) ; break; } } $ ./xgcc -B. -c test.c -Wall test.c: In function =E2=80=98test=E2=80=99: test.c:6:15: warning: this =E2=80=98while=E2=80=99 clause does not guard... [-Wmisleading-indentation] case '#': while( *(*ibufpp)++ !=3D '\n' ) ; ^~~~~ test.c:7:15: note: ...this statement, but the latter is misleadingly indent= ed as if it is guarded by the =E2=80=98while=E2=80=99 break; ^~~~~ I agree that this is a false positive. With trunk r235889 (and presumably the gcc-6-branch), we currently exit from should_warn_for_misleading_indentation here: 495 /* Otherwise, they are visually aligned: issue a warning.= */ 496 return true; >>From gcc-bugs-return-524219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 17:48:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119903 invoked by alias); 4 May 2016 17:48:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119726 invoked by uid 48); 4 May 2016 17:48:34 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70952] Missing warning for likely-erroneous octal escapes in string literals Date: Wed, 04 May 2016 17:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00391.txt.bz2 Content-length: 199 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70952 --- Comment #2 from Alexander Monakov --- Bah, please disregard the last point; '\9' is diagnosed similar to "\9". >>From gcc-bugs-return-524220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 18:05:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55768 invoked by alias); 4 May 2016 18:05:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49290 invoked by uid 48); 4 May 2016 18:05:16 -0000 From: "zenith432 at users dot sourceforge.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70955] New: regression in code generation for __builtin_ms_va_list in GCC 6.1 Date: Wed, 04 May 2016 18:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zenith432 at users dot sourceforge.net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00392.txt.bz2 Content-length: 1413 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70955 Bug ID: 70955 Summary: regression in code generation for __builtin_ms_va_list in GCC 6.1 Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: zenith432 at users dot sourceforge.net Target Milestone: --- I've tried on GCC 6.1.0 built for OS X, and GCC 6.1.1 on Fedora 23 supplied= by their rawhide. Same behavior. - variadic function with x86-64 ms_abi calling convention. - defines local variable of type __builtin_ms_va_list. - iterates with __builtin_va_arg (note: there is no corresponding __builtin_ms_va_arg). - __builtin_va_arg treats the __builtin_ms_va_list variable as a sysv va_li= st, and goes berserk. I've anaylzed this by looking at the code generated. Same wrong code generated if __builtin_va_list is used inside an ms_abi function instead of __builtin_ms_va_list. This functionality worked on both GCC 5.3 and GCC 4.9, so this is a regress= ion. I've compared the resulting code generated to GCC 5.3. The code generated= on GCC 5.3 is good. As mentioned above, there is no __builtin_ms_va_arg, and never was. The function __builtin_va_arg has previously been used to iterate on all types = of __builtin_*_va_list. >>From gcc-bugs-return-524221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 18:12:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99238 invoked by alias); 4 May 2016 18:12:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99117 invoked by uid 48); 4 May 2016 18:12:18 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70922] -Wparentheses warning should not complain about if-else from macro expansion Date: Wed, 04 May 2016 18: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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00393.txt.bz2 Content-length: 541 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70922 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #7 from Jakub Jelinek --- I think we should still warn. The patch will shut up the warning even when the whole dangling else is ins= ide of some macro, or when it spans multiple macros etc. >>From gcc-bugs-return-524222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 18:23:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14819 invoked by alias); 4 May 2016 18:23:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8872 invoked by uid 48); 4 May 2016 18:22:57 -0000 From: "palves at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70922] -Wparentheses warning should not complain about if-else from macro expansion Date: Wed, 04 May 2016 18:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: palves at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00394.txt.bz2 Content-length: 1368 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70922 --- Comment #8 from Pedro Alves --- - There's exactly the same number of ifs and elses in the macro. - The indentation of the else matches that of the if. - There's actually no "else" at all at the macro call site, making the warn= ing look odd. So, IMO, we want to warn about this: #define ALL_OBJFILE_OSECTIONS(objfile, osect) \ for (osect =3D sections; osect < sections_end; osect++) \ if (osect->the_bfd_section !=3D 0) \ and this: #define ALL_OBJFILE_OSECTIONS(objfile, osect) \ for (osect =3D sections; osect < sections_end; osect++) \ if (osect->the_bfd_section !=3D 0) \ if (whatever !=3D 0) \ Because this would do the wrong thing: if (condition) ALL_OBJFILE_OSECTIONS (o, osect) else return 0; But not this: #define ALL_OBJFILE_OSECTIONS(objfile, osect) \ for (osect =3D sections; osect < sections_end; osect++) \ if (osect->the_bfd_section !=3D 0) \ { \ /* Nothing. */ \ } \ else >>From gcc-bugs-return-524223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 18:29:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38091 invoked by alias); 4 May 2016 18:29:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37734 invoked by uid 48); 4 May 2016 18:29:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70922] -Wparentheses warning should not complain about if-else from macro expansion Date: Wed, 04 May 2016 18:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00395.txt.bz2 Content-length: 617 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70922 --- Comment #9 from Jakub Jelinek --- If you want your macro to be immune from this, can't you do something like: static inline struct obj_section * whatever (struct obj_section *osect, struct obj_section *sections_end) { while (osect < sections_end && osect->the_bfd_section !=3D 0) osect++; return osect; } and define: #define ALL_OBJFILE_OSECTIONS(objfile, osect) \ for (osect =3D sections; whatever (osect, sections_end) < sections_end; osect++) (or use ({ }) directly in the condition if you rely on GNU extensions)? >>From gcc-bugs-return-524224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 18:34:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59008 invoked by alias); 4 May 2016 18:34:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58818 invoked by uid 48); 4 May 2016 18:34:05 -0000 From: "palves at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70922] -Wparentheses warning should not complain about if-else from macro expansion Date: Wed, 04 May 2016 18:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: palves at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00396.txt.bz2 Content-length: 191 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70922 --- Comment #10 from Pedro Alves --- Sure can. But the point is discussing what makes sense for the warning. >>From gcc-bugs-return-524225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 18:35:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72254 invoked by alias); 4 May 2016 18:35:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70309 invoked by uid 48); 4 May 2016 18:35:33 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70922] -Wparentheses warning should not complain about if-else from macro expansion Date: Wed, 04 May 2016 18:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00397.txt.bz2 Content-length: 913 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70922 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #11 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- (In reply to Pedro Alves from comment #8) > Because this would do the wrong thing: >=20 > if (condition) > ALL_OBJFILE_OSECTIONS (o, osect) > else > return 0; >=20 >=20 > But not this: >=20 > #define ALL_OBJFILE_OSECTIONS(objfile, osect) \ > for (osect =3D sections; osect < sections_end; osect++) \ > if (osect->the_bfd_section !=3D 0) \ > { \ > /* Nothing. */ \ > } \ > else ??? That would expand to=20 } else else return 0; >>From gcc-bugs-return-524227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 18:41:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99526 invoked by alias); 4 May 2016 18:41:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99363 invoked by uid 48); 4 May 2016 18:41:22 -0000 From: "palves at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70922] -Wparentheses warning should not complain about if-else from macro expansion Date: Wed, 04 May 2016 18:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: palves at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00399.txt.bz2 Content-length: 485 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70922 --- Comment #13 from Pedro Alves --- Should have been: if (condition) ALL_OBJFILE_OSECTIONS (o, osect) { /* do something with each o / osect */ } else return 0; So if the ALL_OBJFILE_OSECTIONS macro contains an imbalanced if/else then t= he "else" above binds to the wrong "if". But not if the macro contains a bala= nced if/else, such as in the original code. >>From gcc-bugs-return-524226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 18:41:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97167 invoked by alias); 4 May 2016 18:41:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95897 invoked by uid 48); 4 May 2016 18:40:51 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70922] -Wparentheses warning should not complain about if-else from macro expansion Date: Wed, 04 May 2016 18:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00398.txt.bz2 Content-length: 765 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70922 --- Comment #12 from Jakub Jelinek --- The warning is about dangling else, which you have in the source. if (cond) for (...) if (cond2) ... else and while the C/C++ grammar say they bind to the inner-most if, many people actually mistake this. Put all of the above into a macro and with Marek's patch you won't get desirable warning. Now, you say that if the outer if is not from a macro or outer macro and the inner else is together with the inn= er if from the same macro, we shouldn't warn? That sounds quite complicated s= et of rules. What if the outer if, inner if and else each comes from a differ= ent macro? Note, clang and clang++ warn on this as well. >>From gcc-bugs-return-524228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 18:45:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104323 invoked by alias); 4 May 2016 18:45:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 104089 invoked by uid 48); 4 May 2016 18:45:28 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Wed, 04 May 2016 18:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00400.txt.bz2 Content-length: 1191 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #25 from Uro=C5=A1 Bizjak --- (In reply to H.J. Lu from comment #23) > We need to move those special SSE SF->DF splitters before No, this splitter will fail if the transformation doesn't result in a const= ant. So, we actually want this splitter first, to try to transform a memory load= to a constant load, and moving others before this one would be harmful. > (define_split > [(set (match_operand 0 "any_fp_register_operand") > (float_extend (match_operand 1 "memory_operand")))] > "reload_completed > && (GET_MODE (operands[0]) =3D=3D TFmode > || GET_MODE (operands[0]) =3D=3D XFmode > || GET_MODE (operands[0]) =3D=3D DFmode)" > [(set (match_dup 0) (match_dup 2))] > { > operands[2] =3D find_constant_src (curr_insn); >=20 > if (operands[2] =3D=3D NULL_RTX > || (SSE_REGNO_P (REGNO (operands[0])) > && standard_sse_constant_p (operands[2], > GET_MODE (operands[0])) !=3D 1) > || (STACK_REGNO_P (REGNO (operands[0])) > && standard_80387_constant_p (operands[2]) < 1)) > FAIL; > }) >>From gcc-bugs-return-524229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 18:46:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106258 invoked by alias); 4 May 2016 18:46:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106044 invoked by uid 48); 4 May 2016 18:46:17 -0000 From: "palves at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70922] -Wparentheses warning should not complain about if-else from macro expansion Date: Wed, 04 May 2016 18:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: palves at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00401.txt.bz2 Content-length: 771 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70922 --- Comment #14 from Pedro Alves --- (In reply to Jakub Jelinek from comment #12) > The warning is about dangling else, which you have in the source. > if (cond) > for (...) > if (cond2) > ... > else > and while the C/C++ grammar say they bind to the inner-most if, many peop= le > actually mistake this. At the risk of getting a bit off topic, or maybe generalizing in a different direction, IMO this should be tied to the new misleading indentation tracki= ng. What people actually mistake is this: if (cond) for (...) if (cond2) ... else ... While I seriously doubt anyone mistakes your example quoted above as the el= se binding to the outer if. >>From gcc-bugs-return-524230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 18:55:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97416 invoked by alias); 4 May 2016 18:55:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88953 invoked by uid 48); 4 May 2016 18:54:52 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70922] -Wparentheses warning should not complain about if-else from macro expansion Date: Wed, 04 May 2016 18:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: manu 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00402.txt.bz2 Content-length: 1534 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70922 --- Comment #15 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- Indeed, we also warn for void bar(int x) { if (x) for (int i =3D x; i < 5; i++)=20 if (i !=3D 0)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 {=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /* Nothing. */=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 }=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 else if(!x) return;=20 } Perhaps we should not warn if some other construct breaks the ambiguity (li= ke for, while, etc.). But I can see that one may wrongly write: void bar(int x) { if (x) MACRO_WITH_ELSE(x) if(!x) return;=20 } and not be aware that the macro changes the meaning of the following 'if'. = The extra braces may seem redundant, but they avoid such pitfalls: void bar(int x) { if (x) { MACRO_WITH_ELSE(x) if(!x) return;=20 } } >>From gcc-bugs-return-524232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 18:59:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104019 invoked by alias); 4 May 2016 18:59:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103886 invoked by uid 48); 4 May 2016 18:59:26 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70956] New: ICE in build_cross_bb_scalars_def, at graphite-scop-detection.c:1725 Date: Wed, 04 May 2016 18:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal 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 target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00404.txt.bz2 Content-length: 1656 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70956 Bug ID: 70956 Summary: ICE in build_cross_bb_scalars_def, at graphite-scop-detection.c:1725 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- $ gcc src/gcc/testsuite/gcc.dg/tree-ssa/vrp66.c -fgraphite-identity -O2 src/gcc/testsuite/gcc.dg/tree-ssa/vrp66.c: In function =E2=80=98main=E2=80= =99: src/gcc/testsuite/gcc.dg/tree-ssa/vrp66.c:827:1: internal compiler error: in build_cross_bb_scalars_def, at graphite-scop-detection.c:1725 main () ^~~~ 0x1d2e067 build_cross_bb_scalars_def src/gcc/graphite-scop-detection.c:1725 0x1d2e3ee graphite_find_cross_bb_scalar_vars src/gcc/graphite-scop-detection.c:1796 0x1d2e5a1 try_generate_gimple_bb src/gcc/graphite-scop-detection.c:1832 0x1d2ea7f before_dom_children src/gcc/graphite-scop-detection.c:1947 0x1ce6174 dom_walker::walk(basic_block_def*) src/gcc/domwalk.c:265 0x1d2edb2 build_scops(vec*) src/gcc/graphite-scop-detection.c:2015 0x1d18996 graphite_transform_loops() src/gcc/graphite.c:307 0x1d18ab5 graphite_transforms src/gcc/graphite.c:356 0x1d18bd7 execute src/gcc/graphite.c:433 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-524231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 18:59:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103022 invoked by alias); 4 May 2016 18:59:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102812 invoked by uid 48); 4 May 2016 18:58:50 -0000 From: "palves at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70922] -Wparentheses warning should not complain about if-else from macro expansion Date: Wed, 04 May 2016 18:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: palves at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00403.txt.bz2 Content-length: 589 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70922 --- Comment #16 from Pedro Alves --- (In reply to Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez from comment #15) > But I can see that one may wrongly write: >=20 > void bar(int x) > { > if (x) > MACRO_WITH_ELSE(x) > if(!x) > return;=20 > } >=20 > and not be aware that the macro changes the meaning of the following 'if'. This could also be sorted out with indentation level tracking -- the if bin= ds to the else in the macro, but it is not indented as one would expect if it = was meant to. >>From gcc-bugs-return-524233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 19:02:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115631 invoked by alias); 4 May 2016 19:02:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115519 invoked by uid 48); 4 May 2016 19:02:40 -0000 From: "seurer at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70957] New: testsuite/gcc.target/powerpc/vsx-elemrev-4.c fails on power7 Date: Wed, 04 May 2016 19:02: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: seurer 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00405.txt.bz2 Content-length: 11623 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70957 Bug ID: 70957 Summary: testsuite/gcc.target/powerpc/vsx-elemrev-4.c fails on power7 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: seurer at linux dot vnet.ibm.com Target Milestone: --- The dg comments force it to target power9 but does not limit to where it compiles. power7 does not support some of the Alitivec stuff it generates = and so produces error messages. /* { dg-do compile { target { powerpc64-*-* } } } */ /* { dg-skip-if "do not override mcpu" { powerpc*-*-* } { "-mcpu=3D*" } { "-mcpu=3Dpower9" } } */ /* { dg-options "-mcpu=3Dpower9 -O0" } */ make -k check-gcc RUNTESTFLAGS=3D"powerpc.exp=3Dvsx-elemrev-*.c" . . . in the log . . . spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/build/gcc-test/gcc/ /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c -fno-diagnostics-show-caret -fdiagnostics-color=3Dnever -mcpu=3Dpower9 -O0 = -S -o vsx-elemrev-4.s /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo6': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 62:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo7': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev- 4.c:67:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo8': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 72:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo9': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 77:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo16': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 112:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo17': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 117:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo18': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 122:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo19': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 127:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo26': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 162:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo27': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 167:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo28': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 172:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo29': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 177:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo36': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 212:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo37': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 217:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo38': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 222:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo39': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 227:3: error: invalid parameter combination for AltiVec intrinsic compiler exited with status 1 output is: /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo6': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 62:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo7': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 67:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo8': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 72:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo9': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 77:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo16': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 112:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo17': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 117:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo18': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 122:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo19': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 127:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo26': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 162:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo27': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 167:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo28': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 172:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo29': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 177:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo36': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 212:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo37': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 217:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo38': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 222:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= In function 'foo39': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 227:3: error: invalid parameter combination for AltiVec intrinsic FAIL: gcc.target/powerpc/vsx-elemrev-4.c (test for excess errors) Excess errors: /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 62:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 67:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 72:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 77:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 112:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 117:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 122:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 127:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 162:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 167:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 172:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 177:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 212:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 217:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 222:3: error: invalid parameter combination for AltiVec intrinsic /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c:= 227:3: error: invalid parameter combination for AltiVec intrinsic gcc.target/powerpc/vsx-elemrev-4.c: output file does not exist UNRESOLVED: gcc.target/powerpc/vsx-elemrev-4.c scan-assembler-times lxvx 40 gcc.target/powerpc/vsx-elemrev-4.c: output file does not exist UNRESOLVED: gcc.target/powerpc/vsx-elemrev-4.c scan-assembler-times stxvx 40 >>From gcc-bugs-return-524234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 19:08:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2133 invoked by alias); 4 May 2016 19:08:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1945 invoked by uid 55); 4 May 2016 19:08:40 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzcwOTM3XSBbNyBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUg?= =?UTF-8?B?Y29kZSDigJhzc2FfbmFtZeKAmSBpcyBub3Qgc3VwcG9ydGVkIGluIExUTyBz?= =?UTF-8?B?dHJlYW1z?= Date: Wed, 04 May 2016 19:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00406.txt.bz2 Content-length: 2368 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 --- Comment #8 from rguenther at suse dot de --- On May 4, 2016 6:20:14 PM GMT+02:00, "dominiq at lps dot ens.fr" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 > >--- Comment #7 from Dominique d'Humieres >--- >The ICEs are gone with the patch > >--- ../_clean/gcc/fortran/trans-decl.c 2016-03-28 13:03:29.000000000 >+0200 >+++ ../p_work/gcc/fortran/trans-decl.c 2016-05-04 16:13:21.000000000 >+0200 >@@ -6013,6 +6013,29 @@ finish_oacc_declare (gfc_namespace *ns,=20 > } > > >+static stmtblock_t *place_decl_expr_init; >+static void >+place_decl_expr (gfc_symbol *sym) >+{=20=20=20 >+ if (sym->backend_decl) >+ { >+ tree type =3D sym->backend_decl; >+ if (DECL_P (sym->backend_decl)) >+ type =3D TREE_TYPE (type); >+ else >+ gcc_assert (TYPE_P (type)); >+ while (POINTER_TYPE_P (type)) >+ type =3D TREE_TYPE (type); >+ if (variably_modified_type_p (type, NULL)) >+ {=20=20=20 >+ if (TYPE_NAME (type))=20=20=20=20 >+ gfc_add_expr_to_block (place_decl_expr_init, >+ build1 (DECL_EXPR, type, TYPE_NAME >(type))); >+ } >+ } >+} >+ >+ > /* Generate code for a function. */ > > void >@@ -6088,6 +6111,9 @@ gfc_generate_function_code (gfc_namespac > has_coarray_vars =3D false; > generate_local_vars (ns); > >+ place_decl_expr_init =3D &init; >+ gfc_traverse_ns (ns, place_decl_expr); >+ > if (flag_coarray =3D=3D GFC_FCOARRAY_LIB && has_coarray_vars) > generate_coarray_init (ns); > > >However, I see several execution failures: > >FAIL: gfortran.dg/array_constructor_type_7.f03 -Oxx execution test >where xx >depends on -m32/-m64 >FAIL: gfortran.dg/auto_char_dummy_array_1.f90 -O* execution test >FAIL: gfortran.dg/namelist_70.f90 -O* execution test >FAIL: gfortran.dg/string_ctor_1.f90 -Oxx execution test where xx >depends on >-m32/-m64 > >FAIL: libgomp.fortran/task2.f90 -O execution test >FAIL: libgomp.fortran/vla*.f90 -O* execution test As said FORTRAN people need to help here. The DECL_EXPRs need to be placed where the variables go into scope. I'll see how far as I can get here on Friday but somebody more knowledgeabl= e of the frontend might be faster. >>From gcc-bugs-return-524235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 19:17:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44693 invoked by alias); 4 May 2016 19:17:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44582 invoked by uid 48); 4 May 2016 19:17:01 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70957] testsuite/gcc.target/powerpc/vsx-elemrev-4.c fails on power7 Date: Wed, 04 May 2016 19:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: wschmidt at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00407.txt.bz2 Content-length: 414 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70957 Bill Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |wschmidt at gcc dot= gnu.org --- Comment #1 from Bill Schmidt --- Mine to investigate. >>From gcc-bugs-return-524236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 19:42:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89243 invoked by alias); 4 May 2016 19:42:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89023 invoked by uid 48); 4 May 2016 19:42:38 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70922] -Wparentheses warning should not complain about if-else from macro expansion Date: Wed, 04 May 2016 19:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: manu 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00408.txt.bz2 Content-length: 776 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70922 --- Comment #17 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- (In reply to Pedro Alves from comment #16) >=20 > This could also be sorted out with indentation level tracking -- the if > binds to the else in the macro, but it is not indented as one would expect > if it was meant to. What should the indentation track? The start of the macro? Or should it look within the macro? I can imagine that if the 'else' is within a macro, and we are going to war= n, then only warn if the column of the 'if' is <=3D the column of the macro expansion point. In principle, this should not trigger any new false positi= ves, since we only restrict the warning. But who knows, real code is sometimes weird. >>From gcc-bugs-return-524237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 20:01:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39425 invoked by alias); 4 May 2016 20:01:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39168 invoked by uid 48); 4 May 2016 20:00:49 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Wed, 04 May 2016 20: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: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00409.txt.bz2 Content-length: 1355 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #26 from H.J. Lu --- (In reply to Uro=C5=A1 Bizjak from comment #25) > (In reply to H.J. Lu from comment #23) >=20 > > We need to move those special SSE SF->DF splitters before >=20 > No, this splitter will fail if the transformation doesn't result in a > constant. So, we actually want this splitter first, to try to transform a > memory load to a constant load, and moving others before this one would be > harmful. >=20 > > (define_split > > [(set (match_operand 0 "any_fp_register_operand") > > (float_extend (match_operand 1 "memory_operand")))] > > "reload_completed > > && (GET_MODE (operands[0]) =3D=3D TFmode > > || GET_MODE (operands[0]) =3D=3D XFmode > > || GET_MODE (operands[0]) =3D=3D DFmode)" > > [(set (match_dup 0) (match_dup 2))] > > { > > operands[2] =3D find_constant_src (curr_insn); > >=20 > > if (operands[2] =3D=3D NULL_RTX > > || (SSE_REGNO_P (REGNO (operands[0])) > > && standard_sse_constant_p (operands[2], > > GET_MODE (operands[0])) !=3D 1) > > || (STACK_REGNO_P (REGNO (operands[0])) > > && standard_80387_constant_p (operands[2]) < 1)) > > FAIL; > > }) But when this splitter fails, no other splitters will be tried. >>From gcc-bugs-return-524238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 20:11:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85231 invoked by alias); 4 May 2016 20:11:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84244 invoked by uid 48); 4 May 2016 20:11:18 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Wed, 04 May 2016 20:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00410.txt.bz2 Content-length: 678 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #27 from Uro=C5=A1 Bizjak --- (In reply to H.J. Lu from comment #26) > But when this splitter fails, no other splitters will be tried. Bah. This is clearly an implementation bug in the split pass. I don't think= we have to work around it, the infrastructure bug should be fixed instead. Can= you please open a new bug about it? I propose to go ahead and commit my patch, which is already accumulating several semi-related fixes and improvements. The patch will probably expose= an optimization problem in the splitting pass, so we will have a testcase to illustrate the problem. >>From gcc-bugs-return-524239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 20:45:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83023 invoked by alias); 4 May 2016 20:45:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82659 invoked by uid 55); 4 May 2016 20:45:25 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70933] [7.0 regression] ICE with -Wall on valid code in inchash::add_expr Date: Wed, 04 May 2016 20:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00411.txt.bz2 Content-length: 979 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70933 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Wed May 4 20:44:40 2016 New Revision: 235902 URL: https://gcc.gnu.org/viewcvs?rev=3D235902&root=3Dgcc&view=3Drev Log: PR c++/70906 PR c++/70933 * tree-core.h (enum operand_equal_flag): Add OEP_HASH_CHECK. * tree.c (inchash::add_expr): If !IS_EXPR_CODE_CLASS (tclass), assert flags & OEP_HASH_CHECK, instead of asserting it never happens. Handle TARGET_EXPR. * fold-const.c (operand_equal_p): For hash verification, or in OEP_HASH_CHECK into flags. * g++.dg/opt/pr70906.C: New test. * g++.dg/opt/pr70933.C: New test. Added: trunk/gcc/testsuite/g++.dg/opt/pr70906.C trunk/gcc/testsuite/g++.dg/opt/pr70933.C Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-core.h trunk/gcc/tree.c >>From gcc-bugs-return-524240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 20:45:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83034 invoked by alias); 4 May 2016 20:45:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82696 invoked by uid 55); 4 May 2016 20:45:28 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70906] [7 Regression] ice in add_expr, at tree.c:7925 Date: Wed, 04 May 2016 20:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00412.txt.bz2 Content-length: 979 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70906 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Wed May 4 20:44:40 2016 New Revision: 235902 URL: https://gcc.gnu.org/viewcvs?rev=3D235902&root=3Dgcc&view=3Drev Log: PR c++/70906 PR c++/70933 * tree-core.h (enum operand_equal_flag): Add OEP_HASH_CHECK. * tree.c (inchash::add_expr): If !IS_EXPR_CODE_CLASS (tclass), assert flags & OEP_HASH_CHECK, instead of asserting it never happens. Handle TARGET_EXPR. * fold-const.c (operand_equal_p): For hash verification, or in OEP_HASH_CHECK into flags. * g++.dg/opt/pr70906.C: New test. * g++.dg/opt/pr70933.C: New test. Added: trunk/gcc/testsuite/g++.dg/opt/pr70906.C trunk/gcc/testsuite/g++.dg/opt/pr70933.C Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-core.h trunk/gcc/tree.c >>From gcc-bugs-return-524242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 20:47:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86741 invoked by alias); 4 May 2016 20:47:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86669 invoked by uid 48); 4 May 2016 20:47:51 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70906] [7 Regression] ice in add_expr, at tree.c:7925 Date: Wed, 04 May 2016 20:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00414.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70906 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #7 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-524241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 20:47:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85755 invoked by alias); 4 May 2016 20:47:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85514 invoked by uid 48); 4 May 2016 20:47:22 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70933] [7 regression] ICE with -Wall on valid code in inchash::add_expr Date: Wed, 04 May 2016 20:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc resolution short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00413.txt.bz2 Content-length: 697 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70933 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org Resolution|DUPLICATE |FIXED Summary|[7.0 regression] ICE with |[7 regression] ICE with |-Wall on valid code in |-Wall on valid code in |inchash::add_expr |inchash::add_expr --- Comment #3 from Jakub Jelinek --- Not really duplicate. But fixed by the same commit. >>From gcc-bugs-return-524243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 20:48:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88053 invoked by alias); 4 May 2016 20:48:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87883 invoked by uid 48); 4 May 2016 20:48:26 -0000 From: "j.v.dijk at tue dot nl" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/16106] Poor error message Date: Wed, 04 May 2016 20:48: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: 3.4.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: minor X-Bugzilla-Who: j.v.dijk at tue dot nl X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00415.txt.bz2 Content-length: 1146 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D16106 Jan van Dijk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |j.v.dijk at tue dot nl --- Comment #2 from Jan van Dijk --- It appears this has been fixed long time ago already: both g++ (SUSE Linux) 4.8.3 20140627 [gcc-4_8-branch revision 212064] g++ (GCC) 7.0.0 20160504 (experimental) print the desired error message: 16106.cpp: In constructor =E2=80=98A::A(T&) [with T =3D int]=E2=80=99: 16106.cpp:8:12: error: invalid initialization of non-const reference of type =E2=80=98int&=E2=80=99 from an rvalue of type =E2=80=98int=E2=80=99 A a; ^ 16106.cpp: In function =E2=80=98int main()=E2=80=99: 16106.cpp:8:12: error: invalid initialization of non-const reference of type =E2=80=98int&=E2=80=99 from an rvalue of type =E2=80=98int=E2=80=99 16106.cpp:3:9: note: in passing argument 1 of =E2=80=98A::A(T&) [with T = =3D int]=E2=80=99 A(T& t =3D T()) : tt(t) {} >>From gcc-bugs-return-524244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 20:56:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47464 invoked by alias); 4 May 2016 20:56:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47358 invoked by uid 48); 4 May 2016 20:56:04 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/38470] value range propagation (VRP) would improve -Wsign-compare Date: Wed, 04 May 2016 20:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: manu 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00416.txt.bz2 Content-length: 1711 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D38470 --- Comment #16 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- (In reply to Eric Gallager from comment #15) > That has since been closed as fixed. So are the chances of this one being > fixed next somewhat better now? Not really. PR23608 fixes the case where the variable is actually a "const"= by assuming the initial value cannot be changed. There is no propagation of values; we still warn for "i =3D 5; i < 5u;" To fix the general case, someone has to implement some kind of reduced data= flow within the FE. Something that once you see "x >=3D 0", records this info somewhere, keeps track of any subsequent jumps, then when it sees "x < Unsigned", it tries to see if "x >=3D 0" was recorded and there is a (unconditional?) path from there to here. Doing this seems to me to require= a non-trivial amount of work. The simplest case (x >=3D 0 && x < Unsigned) could perhaps be handled by so= me special (folding?) function that when seeing such expression, sets TREE_NO_WARNING for x, or converts the right-hand to (unsigned)x< Unsigned,= or something clever that I cannot even imagine.=20 If someone is interested in trying the above, look at warn_logical_operator= in c-common.c, which is one of those warnings that looks at logical && express= ions and tries to figure out whether to warn. You would need to create a similar function (and call it from wherever warn_logical_operator is called from), = but you may need to rewrite the expressions or set TREE_NO_WARNING or do someth= ing else to avoid warning later. This seems much less work, but still far from trivial and it will only catch this very specific case. >>From gcc-bugs-return-524245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 21:14:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99959 invoked by alias); 4 May 2016 21:14:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99536 invoked by uid 55); 4 May 2016 21:13:47 -0000 From: "uros at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Wed, 04 May 2016 21: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: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: uros at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00417.txt.bz2 Content-length: 1487 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #28 from uros at gcc dot gnu.org --- Author: uros Date: Wed May 4 21:13:13 2016 New Revision: 235906 URL: https://gcc.gnu.org/viewcvs?rev=3D235906&root=3Dgcc&view=3Drev Log: PR target/70873 * config/i386/i386.md (TARGET_SSE_PARTIAL_REG_DEPENDENCY float_extend sf->df peephole2): Change to post-epilogue_completed late splitter. Use sse_reg_opera= nd as operand 0 predicate. (TARGET_SSE_PARTIAL_REG_DEPENDENCY float_truncate df->sf peephole2): Ditto. (TARGET_SSE_PARTIAL_REG_DEPENDENCY float {si,di}->{sf,df} peephole2= ): Ditto. Emit the pattern using RTX. (TARGET_USE_VECTOR_FP_CONVERTS float_extend sf->df splitter): Use sse_reg_opreand as operand 0 predicate. Do not use true_regnum= in the post-reload splitter. Use lowpart_subreg instead of gen_rtx_RE= G. (TARGET_USE_VECTOR_FP_CONVERTS float_truncate df->sf splitter): Ditto. (TARGET_USE_VECTOR_CONVERTS float si->{sf,df} splitter): Use sse_reg_operand as operand 0 predicate. (TARGET_SPLIT_MEM_OPND_FOR_FP_CONVERTS float_extend sf->df peephole= 2): Use sse_reg_opreand as operand 0 predicate. Use lowpart_subreg instead of gen_rtx_REG. (TARGET_SPLIT_MEM_OPND_FOR_FP_CONVERTS float_truncate sf->df peephole2): Ditto. Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.md >>From gcc-bugs-return-524246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 22:00:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40484 invoked by alias); 4 May 2016 22:00:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39958 invoked by uid 48); 4 May 2016 22:00:02 -0000 From: "carlos.maziero at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70958] New: Flag -Wreturn-type does not warn about lacking return statement in main Date: Wed, 04 May 2016 22:00: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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: carlos.maziero 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00418.txt.bz2 Content-length: 1094 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70958 Bug ID: 70958 Summary: Flag -Wreturn-type does not warn about lacking return statement in main Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: carlos.maziero at gmail dot com Target Milestone: --- The GCC version provided with Ubuntu 16.04 (5.3.1 20160413) does not warn w= hen the main function lacks a return statement, when using -Wreturn-type or -Wa= ll. A minimum working example follows: Code (mwe.c): int main () { int i =3D 1 ; } In GCC 5.3.1: $ gcc mwe.c -Wreturn-type $=20 In GCC 4.8.4 (Ubuntu 14.04): $ gcc mwe.c -Wreturn-type mwe.c: In function =E2=80=98main=E2=80=99: mwe.c:4:1: warning: control reaches end of non-void function [-Wreturn-ty= pe] } ^ $ The value returned by main is important in UNIX programs, as it is frequent= ly used as a return status for scripts. >>From gcc-bugs-return-524247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 22:15:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99611 invoked by alias); 4 May 2016 22:15:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99274 invoked by uid 48); 4 May 2016 22:15:18 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68722] [4.9/5 Regression] internal compiler error: in merge_exception_specifiers, at cp/typeck2.c:2108 Date: Wed, 04 May 2016 22:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution assigned_to target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00419.txt.bz2 Content-length: 637 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68722 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Assignee|paolo.carlini at oracle dot com |unassigned at gcc d= ot gnu.org Target Milestone|4.9.4 |6.0 --- Comment #6 from Paolo Carlini --- Not going to backport the fix to gcc-4_9-branch and gcc-5-branch. >>From gcc-bugs-return-524248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 22:27:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22650 invoked by alias); 4 May 2016 22:27:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22440 invoked by uid 48); 4 May 2016 22:27:04 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70958] Flag -Wreturn-type does not warn about lacking return statement in main Date: Wed, 04 May 2016 22:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00420.txt.bz2 Content-length: 1065 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70958 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |msebor at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Martin Sebor --- The reason GCC 4.8 issues the warning is because it targets C89 by default,= and C89 doesn't say that falling off the end of main is allowed. The reason why GCC 5.3 doesn't issue the same warning is because it targets C11 by default, and C11 says that main that ends without explicitly returning a value as go= od as one that did. You can revert to the prior behavior with 5.3 by using the -std=3Dc89 option. While I believe GCC behaves correctly, I think the manual could stand to be clarified to explain this subtle nuance (similarly to how it explains it for C++). >>From gcc-bugs-return-524249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 22:41:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55324 invoked by alias); 4 May 2016 22:41:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55074 invoked by uid 48); 4 May 2016 22:40:43 -0000 From: "carlos.maziero at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70958] Flag -Wreturn-type does not warn about lacking return statement in main Date: Wed, 04 May 2016 22:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: carlos.maziero at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00421.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70958 --- Comment #2 from Carlos Maziero --- I understand you explanation and agree with it, but I still have some conce= rns. For instance, when using the -std=3Dc89 flag, GCC 5.3.1 complains about the= '//' comments, which are not allowed in C89 standard. Thus, which flags should I= use to match as close as possible the 4.8 behavior in 5.3? >>From gcc-bugs-return-524250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 22:43:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58614 invoked by alias); 4 May 2016 22:43:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58534 invoked by uid 48); 4 May 2016 22:43:33 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70958] Flag -Wreturn-type does not warn about lacking return statement in main Date: Wed, 04 May 2016 22:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00422.txt.bz2 Content-length: 190 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70958 --- Comment #3 from Andrew Pinski --- -std=3Dgnu90 or -std=3Dgnu89 (depending on the naming you like :) ). >>From gcc-bugs-return-524251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 22:57:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7907 invoked by alias); 4 May 2016 22:57:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6341 invoked by uid 55); 4 May 2016 22:57:09 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70951] misleading -Wignored-qualifiers text, incorrect documentation Date: Wed, 04 May 2016 22:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00423.txt.bz2 Content-length: 863 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70951 --- Comment #1 from joseph at codesourcery dot com --- On Wed, 4 May 2016, msebor at gcc dot gnu.org wrote: > First, as the C example program shows, a type qualifier on a function ret= urn > type does have an effect even in C. The description should be expanded t= o make > it clear that the qualifier has no effect on the returned value but that = it > does affect the type of the function. It's not clear to me how useful that detail is to mention. And if DR#423=20 gets closed with the TC proposed at=20 then it= =20 will no longer affect the type of the function (though I think that defect= =20 resolution is one it would be prudent to apply only in C11 mode, not for=20 older standards versions). >>From gcc-bugs-return-524252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 23:03:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18321 invoked by alias); 4 May 2016 23:03:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17868 invoked by uid 48); 4 May 2016 23:02:59 -0000 From: "ville.voutilainen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/69855] Missing diagnostic for overload that only differs by return type Date: Wed, 04 May 2016 23:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: ville.voutilainen 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00424.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69855 Ville Voutilainen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ville.voutilainen at gmail= dot com --- Comment #4 from Ville Voutilainen = --- Patch available: https://gcc.gnu.org/ml/gcc-patches/2016-05/msg00364.html >>From gcc-bugs-return-524253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 04 23:56:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39003 invoked by alias); 4 May 2016 23:56:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38874 invoked by uid 48); 4 May 2016 23:56:00 -0000 From: "carlos.maziero at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70958] Flag -Wreturn-type does not warn about lacking return statement in main Date: Wed, 04 May 2016 23:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: carlos.maziero at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00425.txt.bz2 Content-length: 302 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70958 Carlos Maziero changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |trivial >>From gcc-bugs-return-524254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 00:08:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98657 invoked by alias); 5 May 2016 00:08:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95761 invoked by uid 55); 5 May 2016 00:08:03 -0000 From: "amodra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68662] [6 regression] FAIL: gcc.dg/lto/20090210 c_lto_20090210_0.o-c_lto_20090210_1.o link, -O2 -flto -flto-partition=none -fuse-linker-plugin -fno-fat-lto-objects Date: Thu, 05 May 2016 00:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00426.txt.bz2 Content-length: 3101 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68662 --- Comment #15 from Alan Modra --- Author: amodra Date: Thu May 5 00:07:27 2016 New Revision: 235914 URL: https://gcc.gnu.org/viewcvs?rev=3D235914&root=3Dgcc&view=3Drev Log: [RS6000] TARGET_RELOCATABLE For ABI_V4, -mrelocatable and -fPIC both generate position independent code, with some extra "fixup" output for -mrelocatable. The similarity of these two options has led to the situation where the sysv4.h SUBTARGET_OVERRIDE_OPTIONS sets flag_pic on seeing -mrelocatable, and sets TARGET_RELOCATABLE on seeing -fPIC. That prevents LTO from properly optimizing position dependent executables, because the mutual dependence of the flags and the fact that LTO streaming records the state of rs6000_isa_flags, result in flag_pic being set when it shouldn't be. So, don't set TARGET_RELOCATABLE when -fPIC. Places that currently test TARGET_RELOCATABLE can instead test TARGET_RELOCATABLE || (DEFAULT_ABI =3D=3D ABI_V4 && flag_pic > 1) or since TARGET_RELOCATABLE can only be enabled when ABI_V4, DEFAULT_ABI =3D=3D ABI_V4 && (TARGET_RELOCATABLE || flag_pic > 1). Also, since flag_pic is set by -mrelocatable, a number of places that currently test TARGET_RELOCATABLE can be simplified. I also made -mrelocatable set TARGET_NO_FP_IN_TOC, allowing TARGET_RELOCATABLE to be removed from ASM_OUTPUT_SPECIAL_POOL_ENTRY_P. Reducing occurrences of TARGET_RELOCATABLE is a good thing. PR target/68662 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't set OPTION_MASK_RELOCATABLE when flag_pic =3D=3D 2. Set TARGET_NO_FP_IN_TOC for -mrelocatable. (MINIMAL_TOC_SECTION_ASM_OP): Remove redundant TARGET_RELOCATABLE test. (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Likewise. (ASM_PREFERRED_EH_DATA_FORMAT): Likewise. * config/rs6000/linux64.h (MINIMAL_TOC_SECTION_ASM_OP): Likewise. (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Likewise. (ASM_PREFERRED_EH_DATA_FORMAT): Likewise. * config/rs6000/freebsd64.h (MINIMAL_TOC_SECTION_ASM_OP): Likewise. (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Likewise. (ASM_PREFERRED_EH_DATA_FORMAT): Likewise. * config/rs6000/predicates.md (easy_fp_constant): Likewise. * config/rs6000/rs6000.c (rs6000_elf_output_toc_section_asm_op): Likewise. (rs6000_assemble_integer): Update TARGET_RELOCATABLE test. (rs6000_stack_info): Likewise. (rs6000_elf_asm_out_constructor): Likewise. (rs6000_elf_asm_out_destructor): Likewise. (rs6000_elf_declare_function_name): Likewise. * config/rs6000/rs6000.md (load_toc_aix_di): Likewise. * config/rs6000/rs6000.h (MASK_RELOCATABLE, MASK_MINIMAL_TOC): Don't define. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/freebsd64.h trunk/gcc/config/rs6000/linux64.h trunk/gcc/config/rs6000/predicates.md trunk/gcc/config/rs6000/rs6000.c trunk/gcc/config/rs6000/rs6000.h trunk/gcc/config/rs6000/rs6000.md trunk/gcc/config/rs6000/sysv4.h >>From gcc-bugs-return-524255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 00:26:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124354 invoked by alias); 5 May 2016 00:26:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124280 invoked by uid 48); 5 May 2016 00:26:37 -0000 From: "rs2740 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70942] [6/7 Regression] [c++14] Incorrect deduction of generic lambda `auto&&` parameter Date: Thu, 05 May 2016 00:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: rs2740 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00427.txt.bz2 Content-length: 530 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70942 --- Comment #2 from TC --- This only appears to affect captureless generic lambdas with a deduced retu= rn type. It might have something to do with the conversion function template to func= tion pointer - I'm guessing that it was somehow instantiated for the wrong templ= ate argument during overload resolution, which result in the lambda's body being instantiated with the wrong argument too (to deduce the return type), which triggers the error. >>From gcc-bugs-return-524256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 02:10:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119747 invoked by alias); 5 May 2016 02:10:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118527 invoked by uid 48); 5 May 2016 02:09:59 -0000 From: "w.clodius at icloud dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70959] New: Invalid change of value conversion warning message Date: Thu, 05 May 2016 02:10: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: w.clodius at icloud dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00428.txt.bz2 Content-length: 2462 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70959 Bug ID: 70959 Summary: Invalid change of value conversion warning message Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: w.clodius at icloud dot com Target Milestone: --- Created attachment 38415 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38415&action=3Dedit A simplified program generating the inappropriate error The file module test_int use, intrinsic:: iso_fortran_env integer(int64), parameter :: & e18 =3D 1000000000000000000_int64, & e19 =3D ( -huge(1_int64) + & (e18-223372036854775807_int64) & ) - 2 end module test_int when compiled using fortran -std=3Df2008 -fmax-errors=3D10 -Wall -Wimplicit-interface -O3 -fbac= ktrace -fwhole-file -I mod_dir -c -o test_int.o test_int.f90=20 on Mac OS X version 10.11.4 with version gfortran --version GNU Fortran (GCC) 6.1.0 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. produces the message test_int.f90:5:11: e18 =3D 1000000000000000000_int64, & 1 Warning: Change of value in conversion from =E2=80=98INTEGER(8)=E2=80=99 to= =E2=80=98REAL(4)=E2=80=99 at (1) [-Wconversion] This suggests that the front end is assigning the wrong type to at least on= e of e18 e19 or the expression ( -huge(1_int64) + (e18-223372036854775807_int64) ) - 2 According to Dominique D'Humi=C3=A8res the following simplified code has th= e result ! integer(8), parameter :: e18 =3D 10000000000_8 integer(8), parameter :: e18 =3D 100000000000_8 integer(8), parameter :: e19 =3D (e18) ! integer(8), parameter :: e19 =3D e18 print *, e18, e19 end warn_conv_db_3.f90:2:32: integer(8), parameter :: e18 =3D 100000000000_8 1 Warning: Change of value in conversion from 'INTEGER(8)' to 'REAL(4)' at (1) [-Wconversion] The warning is gone if I remove the parentheses in e19 =3D (e18) or if I re= place 100000000000_8 with 10000000000_8. which suggests that e18 is being assigned the inappropriate type due to the appearance of (e18) in the definition of e19 >>From gcc-bugs-return-524257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 02:18:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88102 invoked by alias); 5 May 2016 02:18:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88007 invoked by uid 48); 5 May 2016 02:18:27 -0000 From: "w.clodius at icloud dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70959] Invalid type determination due to expression in a type declaration statement Date: Thu, 05 May 2016 02:18: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: w.clodius at icloud 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: version short_desc bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00429.txt.bz2 Content-length: 576 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70959 William Clodius changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unknown |6.1.0 Summary|Invalid change of value |Invalid type determination |conversion warning message |due to expression in a type | |declaration statement Severity|normal |major >>From gcc-bugs-return-524258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 03:08:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126722 invoked by alias); 5 May 2016 03:08:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118254 invoked by uid 48); 5 May 2016 03:08:44 -0000 From: "sd.foolegg at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70810] std::function template variadic template arguments do not unpack in function template Date: Thu, 05 May 2016 03:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sd.foolegg 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_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00430.txt.bz2 Content-length: 902 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70810 sd.foolegg at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |--- --- Comment #3 from sd.foolegg at gmail dot com --- (In reply to Jonathan Wakely from comment #1) > Not a bug, the parameter pack for std::function cannot be > deduced from the arguments, because a function pointer is not a > std::function. why below code can run?: template struct Invoker { void invoke(std::function f, Ts ... args) { f(args ...); } }; Invoker invoker; invoker.invoke(foo, "a", 1); // ok and visual studio 2015 can deduce parameter pack normally (same code). >>From gcc-bugs-return-524259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 04:02:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79670 invoked by alias); 5 May 2016 04:02:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76290 invoked by uid 48); 5 May 2016 04:02:42 -0000 From: "amodra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70890] [7 regression] r235660 miscompiles stage2 compiler on ia64 Date: Thu, 05 May 2016 04:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build, wrong-code X-Bugzilla-Severity: blocker X-Bugzilla-Who: amodra at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00431.txt.bz2 Content-length: 469 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70890 Alan Modra changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Alan Modra --- https://gcc.gnu.org/ml/gcc-testresults/2016-05/msg00331.html >>From gcc-bugs-return-524260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 05:38:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60437 invoked by alias); 5 May 2016 05:38:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60322 invoked by uid 48); 5 May 2016 05:38:25 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70959] Invalid type determination due to expression in a type declaration statement Date: Thu, 05 May 2016 05:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00432.txt.bz2 Content-length: 1359 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70959 Jerry DeLisle changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jvdelisle at gcc dot gnu.o= rg --- Comment #1 from Jerry DeLisle --- With the parenthesis around the constant, it is being interpreted as a comp= lex number. The check in arith.c is taking this as a component of the complex constant. match_complex_constant in primary.c probably returns a MATCH_NO, but I think the warning is occurring in the middle of the attempted matching process. #0 gfc_warning_now (opt=3Dopt@entry=3D201,=20 gmsgid=3Dgmsgid@entry=3D0x140c530 "Change of value in conversion from %= qs to %qs at %L") at ../../trunk/gcc/fortran/error.c:1148 #1 0x000000000062e0ce in gfc_int2real (src=3D0x1ff3db0, kind=3D4) at ../../trunk/gcc/fortran/arith.c:2079 #2 0x00000000006abb35 in match_sym_complex_part (result=3D0x7fffffffd400) at ../../trunk/gcc/fortran/primary.c:1289 #3 match_complex_part (result=3D0x7fffffffd400) at ../../trunk/gcc/fortran/primary.c:1314 #4 0x00000000006abbc2 in match_complex_constant ( result=3Dresult@entry=3D0x7fffffffd690) at ../../trunk/gcc/fortran/primary.c:1347 >>From gcc-bugs-return-524261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 07:08:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78014 invoked by alias); 5 May 2016 07:08:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77844 invoked by uid 48); 5 May 2016 07:07:59 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70956] ICE in build_cross_bb_scalars_def, at graphite-scop-detection.c:1725 Date: Thu, 05 May 2016 07: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00433.txt.bz2 Content-length: 1704 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70956 vries at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 --- Comment #1 from vries at gcc dot gnu.org --- Consider graphite_find_cross_bb_scalar_vars: ... static void graphite_find_cross_bb_scalar_vars (scop_p scop, gimple *stmt, vec *reads, vec *writ= es) { tree def; if (gimple_code (stmt) =3D=3D GIMPLE_ASSIGN) def =3D gimple_assign_lhs (stmt); else if (gimple_code (stmt) =3D=3D GIMPLE_CALL) def =3D gimple_call_lhs (stmt); else if (gimple_code (stmt) =3D=3D GIMPLE_PHI) def =3D gimple_phi_result (stmt); else return; build_cross_bb_scalars_def (scop, def, gimple_bb (stmt), writes); ... ... We arrive at graphite_find_cross_bb_scalar_vars with: ... (gdb) call debug_gimple_stmt (stmt) # VUSE <.MEM_10(D)> f2 (_1); ... The call is resultless, so def becomes NULL_TREE. This tentative patch handles NULL_TREE def in build_cross_bb_scalars_def, a= nd fixes the assert: ... diff --git a/gcc/graphite-scop-detection.c b/gcc/graphite-scop-detection.c index 7615842..dd50a1e 100644 --- a/gcc/graphite-scop-detection.c +++ b/gcc/graphite-scop-detection.c @@ -1722,8 +1722,7 @@ static void build_cross_bb_scalars_def (scop_p scop, tree def, basic_block def_bb, vec *writes) { - gcc_assert (def); - if (!is_gimple_reg (def)) + if (!def || !is_gimple_reg (def)) return; /* Do not gather scalar variables that can be analyzed by SCEV as they c= an be ... >>From gcc-bugs-return-524262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 08:39:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84806 invoked by alias); 5 May 2016 08:39:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84670 invoked by uid 48); 5 May 2016 08:39:19 -0000 From: "rogero at howzatt dot demon.co.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/53984] iostream operation throwing exception when exceptions not enabled Date: Thu, 05 May 2016 08:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.6.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rogero at howzatt dot demon.co.uk X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00434.txt.bz2 Content-length: 224 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53984 --- Comment #5 from Roger Orr --- Still fails with gcc 6.1 Are there any plans on how (and when) to fix this, fairly serious, fault? >>From gcc-bugs-return-524263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 08:51:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121613 invoked by alias); 5 May 2016 08:51:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120703 invoked by uid 48); 5 May 2016 08:51:17 -0000 From: "zenith432 at users dot sourceforge.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70955] regression in code generation for __builtin_ms_va_list in GCC 6.1 Date: Thu, 05 May 2016 08:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zenith432 at users dot sourceforge.net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00435.txt.bz2 Content-length: 227 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70955 --- Comment #1 from zenith432 at users dot sourceforge.net --- Created attachment 38416 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38416&action=3Dedit va_main.c >>From gcc-bugs-return-524264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 08:52:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122999 invoked by alias); 5 May 2016 08:52:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122937 invoked by uid 48); 5 May 2016 08:52:13 -0000 From: "zenith432 at users dot sourceforge.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70955] regression in code generation for __builtin_ms_va_list in GCC 6.1 Date: Thu, 05 May 2016 08: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zenith432 at users dot sourceforge.net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00436.txt.bz2 Content-length: 227 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70955 --- Comment #2 from zenith432 at users dot sourceforge.net --- Created attachment 38417 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38417&action=3Dedit va_test.c >>From gcc-bugs-return-524265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 08:54:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129621 invoked by alias); 5 May 2016 08:54:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129007 invoked by uid 48); 5 May 2016 08:54:35 -0000 From: "zenith432 at users dot sourceforge.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70955] regression in code generation for __builtin_ms_va_list in GCC 6.1 Date: Thu, 05 May 2016 08:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zenith432 at users dot sourceforge.net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00437.txt.bz2 Content-length: 1466 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70955 zenith432 at users dot sourceforge.net changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |target --- Comment #3 from zenith432 at users dot sourceforge.net --- This only happens when compiling with -flto. Attached is a standalone sample (va_main.c + va_test.c) gcc -v COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/x86_64-redhat-linux/6.1.1/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=3Dc,c++,objc,obj-c++,fortran,ada,go,lto --prefix=3D/usr --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-bugurl=3Dhttp://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=3Dposix --enable-checking=3Drelease --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=3Dgnu --enable-plugin --enable-initfini-array --disable-libgcj --with-isl --enable-libmpx --enable-gnu-indirect-function --with-tune=3Dgeneric --with-arch_32=3Di686 --build=3Dx86_64-redhat-linux Thread model: posix gcc version 6.1.1 20160427 (Red Hat 6.1.1-1) (GCC)=20 gcc -o prog va_main.c va_test.c ./prog sum =3D=3D 15 gcc -o prog_flto -flto va_main.c va_test.c ./prog_flto Segmentation fault (core dumped) >>From gcc-bugs-return-524266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 08:59:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129475 invoked by alias); 5 May 2016 08:59:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120553 invoked by uid 48); 5 May 2016 08:59:26 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70954] -Wmisleading-indentation false positive on GNU "ed" Date: Thu, 05 May 2016 08:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00438.txt.bz2 Content-length: 561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70954 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-05 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed. >>From gcc-bugs-return-524267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 09:07:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105836 invoked by alias); 5 May 2016 09:07:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105569 invoked by uid 48); 5 May 2016 09:06:55 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70959] [6/7 Regression] Invalid type determination due to expression in a type declaration statement Date: Thu, 05 May 2016 09:07: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc cf_known_to_work short_desc everconfirmed cf_known_to_fail bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00439.txt.bz2 Content-length: 1109 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70959 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-05 CC| |tkoenig at gcc dot gnu.org Known to work| |5.3.0 Summary|Invalid type determination |[6/7 Regression] Invalid |due to expression in a type |type determination due to |declaration statement |expression in a type | |declaration statement Ever confirmed|0 |1 Known to fail| |6.1.0, 7.0 Severity|major |normal --- Comment #2 from Dominique d'Humieres --- This is a regression due to r224190. >>From gcc-bugs-return-524268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 09:15:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31749 invoked by alias); 5 May 2016 09:15:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31600 invoked by uid 48); 5 May 2016 09:15:28 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70810] std::function template variadic template arguments do not unpack in function template Date: Thu, 05 May 2016 09:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00440.txt.bz2 Content-length: 803 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70810 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #4 from Jonathan Wakely --- The compiler doesn't have to deduce the parameter pack Ts... in that exampl= e, because it is provided explicitly here: Invoker invoker; and so the compiler knows the exact type of std::function here: invoker.invoke(foo, "a", 1); // ok without needing to deduce anything. If Visual Studio compiles it then that seems like a bug in VC++ to me. >>From gcc-bugs-return-524269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 09:16:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35282 invoked by alias); 5 May 2016 09:16:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34156 invoked by uid 48); 5 May 2016 09:16:42 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/70955] [6/7 Regression] Wrong code generation for __builtin_ms_va_list with -flto Date: Thu, 05 May 2016 09:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on component cf_known_to_work short_desc everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00441.txt.bz2 Content-length: 933 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70955 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-05 Component|target |lto Known to work| |5.3.0 Summary|regression in code |[6/7 Regression] Wrong code |generation for |generation for |__builtin_ms_va_list in GCC |__builtin_ms_va_list with |6.1 |-flto Ever confirmed|0 |1 Known to fail| |6.1.0, 7.0 --- Comment #4 from Dominique d'Humieres --- Confirmed. >>From gcc-bugs-return-524270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 09:24:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84647 invoked by alias); 5 May 2016 09:24:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84460 invoked by uid 48); 5 May 2016 09:23:47 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70810] std::function template variadic template arguments do not unpack in function template Date: Thu, 05 May 2016 09:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00442.txt.bz2 Content-length: 855 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70810 --- Comment #5 from Jonathan Wakely --- Here is a simplified version of your code which gives an error using GCC, C= lang and Intel icc: template T declval(); template struct function { template()(declval()...= ))> function(F) { } void operator()(T...) const { } }; template struct Invoker { void invoke(function f, Ts ... args) { f(args ...); } }; template void invoke(function f, Ts ... args) { f(args ...); } struct string { string(const char*) { } }; void foo(string, int) { } int main() { Invoker invoker; invoker.invoke(foo, "a", 1); // ok invoke(foo, "a", 1); // fail } >>From gcc-bugs-return-524271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 09:38:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46734 invoked by alias); 5 May 2016 09:38:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35219 invoked by uid 48); 5 May 2016 09:38:37 -0000 From: "Joost.VandeVondele at mat dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70960] New: [7.0 Regression] ICE: tree check: expected ssa_name, have integer_cst in ifcvt_walk_pattern_tree, at tree-if-conv.c:2465 Date: Thu, 05 May 2016 09:38: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00443.txt.bz2 Content-length: 2227 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70960 Bug ID: 70960 Summary: [7.0 Regression] ICE: tree check: expected ssa_name, have integer_cst in ifcvt_walk_pattern_tree, at tree-if-conv.c:2465 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- recent trunk regression: > cat bug.f90=20 SUBROUTINE calbrec(a,ai,error) REAL(KIND=3D8) :: a(3,3), ai(3,3) DO i =3D 1, 3 il =3D 1 IF (i=3D=3D1) il =3D 2 DO j =3D 1, 3 ai(j,i) =3D (-1.0_8)**(i+j)*det*(a(il,jl)*a(iu,ju)-a(il,ju)*a(iu,= jl)) END DO END DO END SUBROUTINE calbrec > gfortran -c -fprofile-generate -O3 bug.f90=20 bug.f90:1:0: SUBROUTINE calbrec(a,ai,error) internal compiler error: tree check: expected ssa_name, have integer_cst in ifcvt_walk_pattern_tree, at tree-if-conv.c:2465 0xe42ad4 tree_check_failed(tree_node const*, char const*, int, char const*, ...) ../../gcc/gcc/tree.c:9753 0xc095d6 tree_check ../../gcc/gcc/tree.h:3025 0xc095d6 ifcvt_walk_pattern_tree ../../gcc/gcc/tree-if-conv.c:2465 0xc094e0 ifcvt_walk_pattern_tree ../../gcc/gcc/tree-if-conv.c:2491 0xc0edbe ifcvt_repair_bool_pattern ../../gcc/gcc/tree-if-conv.c:2580 0xc0edbe tree_if_conversion ../../gcc/gcc/tree-if-conv.c:2746 0xc0edbe execute ../../gcc/gcc/tree-if-conv.c:2829 0xc0edbe execute ../../gcc/gcc/tree-if-conv.c:2808 Please submit a full bug report, > gfortran -v Using built-in specs. COLLECT_GCC=3Dgfortran COLLECT_LTO_WRAPPER=3D/data/vjoost/gnu/gcc_trunk/install/libexec/gcc/x86_64= -pc-linux-gnu/7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc/configure --prefix=3D/data/vjoost/gnu/gcc_trunk/ins= tall --enable-languages=3Dc,c++,fortran --disable-multilib --enable-plugins --enable-lto --disable-bootstrap Thread model: posix gcc version 7.0.0 20160505 (experimental) [trunk revision 235918] (GCC) >>From gcc-bugs-return-524272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 10:20:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121133 invoked by alias); 5 May 2016 10:20:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110361 invoked by uid 48); 5 May 2016 10:20:08 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70960] [7 Regression] ICE: tree check: expected ssa_name, have integer_cst in ifcvt_walk_pattern_tree, at tree-if-conv.c:2465 Date: Thu, 05 May 2016 10: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cf_known_to_work short_desc everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00444.txt.bz2 Content-length: 1025 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70960 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-05 Known to work| |6.1.0 Summary|[7.0 Regression] ICE: tree |[7 Regression] ICE: tree |check: expected ssa_name, |check: expected ssa_name, |have integer_cst in |have integer_cst in |ifcvt_walk_pattern_tree, at |ifcvt_walk_pattern_tree, at |tree-if-conv.c:2465 |tree-if-conv.c:2465 Ever confirmed|0 |1 Known to fail| |7.0 --- Comment #1 from Dominique d'Humieres --- The change occurred between revisions r235803 (OK) and r235816 (ICE). >>From gcc-bugs-return-524273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 10:51:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35990 invoked by alias); 5 May 2016 10:51:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35733 invoked by uid 48); 5 May 2016 10:51:43 -0000 From: "blastrock at free dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/70517] c++filt crashes when demangling a symbol Date: Thu, 05 May 2016 10:51: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: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: blastrock at free dot fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00445.txt.bz2 Content-length: 3020 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70517 blastrock at free dot fr changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #38165|0 |1 is obsolete| | Attachment #38166|0 |1 is obsolete| | --- Comment #3 from blastrock at free dot fr --- Created attachment 38418 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38418&action=3Dedit Very small test case I investigated this bug a little more and managed to produce a very small t= est case. Compile this file with g++ 5.3.1 and clang 3.8 and you will get these two symbols: _Z4moveIRZ5awaitIRiEDaOT_EUlRKS3_E_ES4_S4_ from clang _Z4moveIRZ5awaitIRiEDaOT_EUlRKS2_E_ES3_S3_ from gcc When trying c++filt on the one got from gcc, it will just fail demangling it and print it raw. But when we do it with the one produced by clang, we get a crash. The only difference I see there is the substitutions which are shift= ed by one on the clang version (I have no idea which compiler is right though). I enabled the debug stuff from the demangle binary in libiberty and got thi= s (I added the addresses of the nodes for debugging): 0x7fffffffd620: typed name 0x7fffffffd5d8: template 0x7fffffffd410: name 'move' 0x7fffffffd5c0: template argument list 0x7fffffffd5a8: reference 0x7fffffffd590: local name 0x7fffffffd518: typed name 0x7fffffffd488: template 0x7fffffffd428: name 'await' 0x7fffffffd470: template argument list 0x7fffffffd458: reference 0x7fffffffd440: builtin type int 0x7fffffffd500: function type 0x7fffffffd4a0: name 'auto' 0x7fffffffd4e8: argument list 0x7fffffffd4d0: rvalue reference 0x7fffffffd4b8: template parameter 0 0x7fffffffd578: lambda 0 0x7fffffffd560: argument list 0x7fffffffd548: reference 0x7fffffffd530: const 0x7fffffffd4d0: rvalue reference 0x7fffffffd4b8: template parameter 0 0x7fffffffd608: function type 0x7fffffffd530: const 0x7fffffffd4d0: rvalue reference 0x7fffffffd4b8: template parameter 0 0x7fffffffd5f0: argument list 0x7fffffffd530: const 0x7fffffffd4d0: rvalue reference 0x7fffffffd4b8: template parameter 0 What I understand is that when libiberty goes down the first branch, the "template parameter 0" references this same branch and so we get infinite recursion. I guess we can at least prevent the crash if we keep in the stat= e a variable saying which template parameter we are referencing so that we don'= t go down the same path infinitely. My (de)mangling skills are still very low and I don't think I can solve this one alone. Any help is appreciated. >>From gcc-bugs-return-524274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 11:12:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108323 invoked by alias); 5 May 2016 11:12:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108089 invoked by uid 48); 5 May 2016 11:12:34 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Thu, 05 May 2016 11:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00446.txt.bz2 Content-length: 476 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #29 from Uro=C5=A1 Bizjak --- Created attachment 38419 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38419&action=3Dedit Patch to fix problematic splitters I'm testing the attached patch that introduces ix86_standard_x87sse_constant_load_p function, and uses it to limit problem= atic splitters only to cases, where we can actually transform the insn to a cons= tant load. >>From gcc-bugs-return-524275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 12:06:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11236 invoked by alias); 5 May 2016 12:06:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10967 invoked by uid 48); 5 May 2016 12:06:21 -0000 From: "kugan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/63586] x+x+x+x -> 4*x in gimple Date: Thu, 05 May 2016 12: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kugan at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kugan at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00447.txt.bz2 Content-length: 407 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63586 kugan at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zboson at zboson dot net --- Comment #7 from kugan at gcc dot gnu.org --- *** Bug 68105 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-524276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 12:06:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11254 invoked by alias); 5 May 2016 12:06:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10937 invoked by uid 48); 5 May 2016 12:06:20 -0000 From: "kugan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68105] optimizing repeated floating point addition to multiplication Date: Thu, 05 May 2016 12: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: 5.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kugan at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00448.txt.bz2 Content-length: 559 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68105 kugan at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |kugan at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #2 from kugan at gcc dot gnu.org --- Looks like a duplicate of PR63586. *** This bug has been marked as a duplicate of bug 63586 *** >>From gcc-bugs-return-524277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 12:09:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18394 invoked by alias); 5 May 2016 12:09:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15037 invoked by uid 48); 5 May 2016 12:09:12 -0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70896] gcc4 ABI compatible bootstrap fails Date: Thu, 05 May 2016 12:09: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: ramana at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00449.txt.bz2 Content-length: 1375 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70896 Ramana Radhakrishnan changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ramana at gcc dot gnu.org --- Comment #5 from Ramana Radhakrishnan --- (In reply to PeteVine from comment #4) > Until it failed again during the fortran part: >=20 > ../../../libgfortran/io/transfer.c: In function =E2=80=98bswap_array=E2= =80=99: > ../../../libgfortran/io/transfer.c:915:25: fatal error: You must enable N= EON > instructions (e.g. -mfloat-abi=3Dsoftfp -mfpu=3Dneon) to use these intrin= sics. > ((uint16_t*)dest)[i] =3D __builtin_bswap16 (((uint16_t*)src)[i]); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > compilation terminated. > make[3]: *** [transfer.lo] Error 1 >=20 > but that looks like user error. It would be nice if `configure` could abo= rt > or at least warn on not finding `-mfpu=3Dneon` among CFLAGS if fortran was > enabled. >=20 Strange - that shouldn't be happening and certainly looks like a bug - there are a number of folks who bootstrap in Thumb mode and --with-fpu=3Dvfpv3-d16 which is essentially the same as vfpv3 but with only 16 D registers.=20 I'm not sure what's going on here. >>From gcc-bugs-return-524278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 12:55:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50876 invoked by alias); 5 May 2016 12:55:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46318 invoked by uid 48); 5 May 2016 12:55:19 -0000 From: "wdijkstr at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70961] New: Regrename ignores preferred_rename_class Date: Thu, 05 May 2016 12:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wdijkstr at arm 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00450.txt.bz2 Content-length: 1144 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70961 Bug ID: 70961 Summary: Regrename ignores preferred_rename_class Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: wdijkstr at arm dot com Target Milestone: --- When deciding which register to use regrename.c calls the target function preferred_rename_class. However in pass 2 in find_rename_reg it then just ignores this preference. This results in significantly increased codesize on targets which prefer a subset of allocatable registers in order to use smal= ler instructions. Also the computed super_class appears to be the union of all uses and defs instead of the intersection. This should be the intersection as that is the= set of registers that all uses and defs support.=20 If the preferred class doesn't result in a valid rename then it could searc= h a wider class, but then it would need to check that the size of the newly selected patterns does not increase. >>From gcc-bugs-return-524279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 13:01:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110784 invoked by alias); 5 May 2016 13:01:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108365 invoked by uid 48); 5 May 2016 13:01:36 -0000 From: "chita40 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70962] New: optimization not working in Red Hat 5.7 after glibc patching Date: Thu, 05 May 2016 13:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.1.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: chita40 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00451.txt.bz2 Content-length: 814 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70962 Bug ID: 70962 Summary: optimization not working in Red Hat 5.7 after glibc patching Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chita40 at gmail dot com Target Milestone: --- $ cat tt.c #include #include int main( const int argc, const char * argv[] ) { std::ifstream in; in.open( "/dev/null", std::ios::in ); if (in.is_open() ) { std::cout << "opened" << std::endl; } else { std::cout << "failed" << std::endl; } return 0; } $ g++ tt.c && a.out opened $ g++ -O2 tt.c && a.out failed >>From gcc-bugs-return-524280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 13:48:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99751 invoked by alias); 5 May 2016 13:48:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99328 invoked by uid 48); 5 May 2016 13:48:00 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70962] optimization not working in Red Hat 5.7 after glibc patching Date: Thu, 05 May 2016 13:48: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.1.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00452.txt.bz2 Content-length: 569 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70962 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |trippels at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Markus Trippelsdorf --- Not a gcc issue. Please report this to redhat directly. >>From gcc-bugs-return-524281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 13:51:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105245 invoked by alias); 5 May 2016 13:51:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 104803 invoked by uid 48); 5 May 2016 13:51:39 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/70955] [6/7 Regression] Wrong code generation for __builtin_ms_va_list with -flto Date: Thu, 05 May 2016 13:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00453.txt.bz2 Content-length: 404 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70955 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl.tools at gmail dot com --- Comment #5 from H.J. Lu --- This may be related to PR 50818. >>From gcc-bugs-return-524282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 13:59:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50742 invoked by alias); 5 May 2016 13:59:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49957 invoked by uid 48); 5 May 2016 13:58:59 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68105] optimizing repeated floating point addition to multiplication Date: Thu, 05 May 2016 13:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: glisse 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00454.txt.bz2 Content-length: 928 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68105 --- Comment #3 from Marc Glisse --- (In reply to zboson from comment #0) > In addition, the following equations are always true even without > associative math. >=20 > 2*a =3D a + a > 3*a =3D a + a + a > 4*a =3D a + a + a + a > 5*a =3D a + a + a + a + a >=20 > It turns out that GCC does simplify a + a + a + a to 4*a but only with > associative math enabled e.g. with -Ofast when it could do it with -O3. This "always true" needs some qualification. It is wrong with -frounding-ma= th, where you have to stop at 3 IIRC. (In reply to kugan from comment #2) > Looks like a duplicate of PR63586. I am not convinced this is completely a dup. The patch https://gcc.gnu.org/ml/gcc-patches/2016-05/msg00368.html would probably clo= se PR63586, but not this one since all of the testcases about float in that pa= tch use -ffast-math. >>From gcc-bugs-return-524283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 14:12:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122349 invoked by alias); 5 May 2016 14:12:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122175 invoked by uid 48); 5 May 2016 14:12:23 -0000 From: "spop at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70956] ICE in build_cross_bb_scalars_def, at graphite-scop-detection.c:1725 Date: Thu, 05 May 2016 14:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: spop at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00455.txt.bz2 Content-length: 147 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70956 --- Comment #2 from Sebastian Pop --- The change looks good to me. >>From gcc-bugs-return-524284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 15:15:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127361 invoked by alias); 5 May 2016 15:15:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126378 invoked by uid 48); 5 May 2016 15:15:22 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/16106] Poor error message Date: Thu, 05 May 2016 15:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 3.4.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: minor X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc cf_known_to_work resolution cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00456.txt.bz2 Content-length: 669 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D16106 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |msebor at gcc dot gnu.org Known to work| |4.8.5, 4.9.3, 5.3.0, 6.1.0 Resolution|--- |FIXED Known to fail| |4.5.3 --- Comment #3 from Martin Sebor --- Thank you for the update. Resolving as Fixed. >>From gcc-bugs-return-524285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 16:06:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90993 invoked by alias); 5 May 2016 16:06:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81590 invoked by uid 48); 5 May 2016 16:06:28 -0000 From: "markos at freevec dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70963] New: vec_cts/vec_ctf intrinsics produce wrong results for 64-bit floating point Date: Thu, 05 May 2016 16:06: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: 5.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: markos at freevec 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget cf_gccbuild attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00457.txt.bz2 Content-length: 2128 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70963 Bug ID: 70963 Summary: vec_cts/vec_ctf intrinsics produce wrong results for 64-bit floating point Product: gcc Version: 5.3.1 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: markos at freevec dot org Target Milestone: --- Host: powerpc64le-linux-gnu Target: powerpc64le-linux-gnu Build: powerpc64le-linux-gnu Created attachment 38420 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38420&action=3Dedit small test program to verify vec_cts/vec_ctf working on doubles I've noticed some tests in Eigen failing for VSX 64-bit doubles code, when = the algorithm looked perfectly normal. Further investigation -and comparison wi= th direct output using same inputs from an SSE test program, showed that the conversion to integer yielded 0 results in the case of VSX (vec_cts basical= ly returned 0 vectors). I've written a small test case that verifies this on b= oth big/little endian VSX-capable systems (compiled with -m64 -mvsx). When using the intrinsic the result is wrong, when using the inline asm version, it wo= rks as expected. I could not test it in a more recent gcc so it may well be fix= ed, however it would be great if this would be backported to gcc 5. Some asm output follows from test program (attached): vec_cts: 1000066c: 60 67 00 f0 xvcvdpsxds vs0,vs12 10000670: 50 02 00 f0 xxswapd vs0,vs0 asm: 10000674: 51 02 00 f0 xxswapd vs32,vs0 10000678: 60 07 00 f0 xvcvdpsxds vs0,vs0 1000067c: 56 02 00 f0 xxswapd vs0,vs32 vec_ctf: 100006f8: 50 02 00 f0 xxswapd vs0,vs0 100006fc: e0 07 00 f0 xvcvsxddp vs0,vs0 10000700: 50 02 00 f0 xxswapd vs0,vs0 asm: 100006f8: 51 02 00 f0 xxswapd vs32,vs0 100006fc: e0 07 00 f0 xvcvsxddp vs0,vs0 10000700: 56 02 00 f0 xxswapd vs0,vs32 >>From gcc-bugs-return-524286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 16:20:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54125 invoked by alias); 5 May 2016 16:20:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53961 invoked by uid 48); 5 May 2016 16:20:37 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70964] New: [7 Regression] internal compiler error: in single_succ_edge, at basic-block.h:351 Date: Thu, 05 May 2016 16:20: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: ktkachov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00458.txt.bz2 Content-length: 1863 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70964 Bug ID: 70964 Summary: [7 Regression] internal compiler error: in single_succ_edge, at basic-block.h:351 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: ktkachov at gcc dot gnu.org Target Milestone: --- Target: aarch64 The testcase: int a, c, d, e, f; int b[0]; void fn1 () { int g; long h; for (;;) { g =3D a < 0 ?: g; long i =3D d =3D i < 0 && g < i ?: g + i; f =3D 6; for (; f; f--) { h =3D 6; for (; h; h--) { int j; long *k; d || j && (*k =3D c); b[f] =3D e; } } } } ICEs on aarch64-none-linux-gnu compiled with -Ofast. mycrash.c: In function =E2=80=98fn1=E2=80=99: mycrash.c:4:1: internal compiler error: in single_succ_edge, at basic-block.h:351 fn1 () ^~~ 0x6fdf23 single_succ_edge $SRC/gcc/basic-block.h:351 0x6fdf23 lv_adjust_loop_entry_edge $SRC/gcc/cfgloopmanip.c:1658 0x6fdf23 loop_version(loop*, void*, basic_block_def**, unsigned int, unsign= ed int, unsigned int, bool) $SRC/gcc/cfgloopmanip.c:1726 0xb494ff version_loop_for_if_conversion $SRC/gcc/tree-if-conv.c:2333 0xb494ff tree_if_conversion $SRC/gcc/tree-if-conv.c:2735 0xb494ff execute $SRC/gcc/tree-if-conv.c:2829 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Bisection shows this started with r235842. >>From gcc-bugs-return-524287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 16:21:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55268 invoked by alias); 5 May 2016 16:21:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55182 invoked by uid 48); 5 May 2016 16:21:08 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70964] [7 Regression] internal compiler error: in single_succ_edge, at basic-block.h:351 Date: Thu, 05 May 2016 16:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work target_milestone cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00459.txt.bz2 Content-length: 385 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70964 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |6.1.0 Target Milestone|--- |7.0 Known to fail| |7.0 >>From gcc-bugs-return-524288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 16:21:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56305 invoked by alias); 5 May 2016 16:21:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55924 invoked by uid 55); 5 May 2016 16:21:31 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/57206] Auto-vectorization fails when array index is an unsigned int expression Date: Thu, 05 May 2016 16:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.7.3 X-Bugzilla-Keywords: 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00460.txt.bz2 Content-length: 441 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57206 --- Comment #5 from amker at gcc dot gnu.org --- Author: amker Date: Thu May 5 16:20:54 2016 New Revision: 235926 URL: https://gcc.gnu.org/viewcvs?rev=3D235926&root=3Dgcc&view=3Drev Log: gcc/testsuite PR tree-optimization/57206 * gcc.dg/vect/pr57206.c: New test. Added: trunk/gcc/testsuite/gcc.dg/vect/pr57206.c Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 17:41:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130889 invoked by alias); 5 May 2016 17:41:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130530 invoked by uid 48); 5 May 2016 17:41:29 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/32003] Undocumened -fdump-tree options Date: Thu, 05 May 2016 17:41: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.3.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on cc cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00461.txt.bz2 Content-length: 2152 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D32003 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2012-01-28 00:00:00 |2016-5-5 CC| |msebor at gcc dot gnu.org Known to fail| |4.3.0, 4.5.3, 4.8.3, 4.9.3, | |5.3.0, 6.1.0 --- Comment #2 from Martin Sebor --- The -fdump-tree-objsz is also undocumented. I tried to get a comprehensive list of all undocumented tree dumps. Here's what I came up with for GCC 6.1. It looks like the vast majority of them a= re, in fact, undocumented. ipa-afdo ipa-build_ssa_passes ipa-cdtor ipa-chkp_cleanup ipa-chkp_ecleanup ipa-chkp_passes ipa-chkp_versioning ipa-comdats ipa-cp ipa-devirt ipa-dispachercalls ipa-emutls ipa-free-inline-summary ipa-hsa ipa-icf ipa-increase_alignment ipa-inline ipa-ipa_oacc ipa-ipa_oacc_kernels ipa-opt_local_passes ipa-profile ipa-profile_estimate ipa-pta1 ipa-pure-const ipa-simdclone ipa-single-use ipa-static-var ipa-targetclone ipa-tmipa ipa-visibility ipa-whole-program statistics aprefetch asan0 asan1 bswap ccp1 cdce cddce1 ch1 chkp chkpopt ch_vect copyprop1 cplxlower0 cplxlower1 crited1 cselim cunroll cunrolli dce1 dom1 dse1 ealias early_optimizations eh ehcleanup1 ehdisp ehopt einline eipa_sra esra fab1 feedback_fnsplit fix_loops fixup_cfg1 fnsplit forwprop1 fre1 graphite graphite0 hsagen ifcombine ifcvt inline_param1 isolate-paths ivcanon ivopts laddress ldist lim1 local-pure-const1 loop loopdone loopinit lower lower_vaarg mergephi1 no_loop nothrow oacc_kernels objsz1 ompexp ompexpssa1 omplower omptargetlink parloops1 pcom phicprop1 phiopt1 phiprop profile_estimate reassoc1 recip release_ssa resx retslot sancov1 sancov_O0 sanopt sccp simduid1 sincos slp1 slsr split-paths stdarg strlen switchconv tailc tailr1 tmedge tmlower tmmark tmmemopt tracer tsan0 tsan1 ubsan uncprop1 uninit1 unswitch veclower veclower21 vrp1 vtable-verify widening_mul >>From gcc-bugs-return-524290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 17:47:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69432 invoked by alias); 5 May 2016 17:47:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67180 invoked by uid 48); 5 May 2016 17:47:43 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/32003] Undocumened -fdump-tree options Date: Thu, 05 May 2016 17:47: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.3.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00462.txt.bz2 Content-length: 539 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D32003 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #3 from Marek Polacek --- I don't see much value in documenting those. It seems to me that we should simply document that the format is -fdump-{tree,ipa,rtl}-[-
]. >>From gcc-bugs-return-524291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 18:10:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87595 invoked by alias); 5 May 2016 18:10:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87296 invoked by uid 48); 5 May 2016 18:10:13 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70965] New: ice in useless_type_conversion_p Date: Thu, 05 May 2016 18:10: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.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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00463.txt.bz2 Content-length: 1094 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70965 Bug ID: 70965 Summary: ice in useless_type_conversion_p Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 38421 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38421&action=3Dedit gzipped C++ source code The attached C++ code, when compiled by gcc trunk dated 20160504, does this: /home/dcb/rpmbuild/BUILD/libkolabxml-1.0.3/src/kolabformat.cpp:291:1: inter= nal compiler error: Segmentation fault } ^ 0xe5113f crash_signal ../../src/trunk/gcc/toplev.c:333 0xb510c0 useless_type_conversion_p(tree_node*, tree_node*) ../../src/trunk/gcc/gimple-expr.c:67 0xf419d0 callsite_arguments_match_p ../../src/trunk/gcc/tree-sra.c:1371 0xf419d0 some_callers_have_mismatched_arguments_p ../../src/trunk/gcc/tree-sra.c:5063 Flag -O2 required. >>From gcc-bugs-return-524292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 18:15:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94413 invoked by alias); 5 May 2016 18:15:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93968 invoked by uid 48); 5 May 2016 18:15:19 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70965] ice in useless_type_conversion_p Date: Thu, 05 May 2016 18:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00464.txt.bz2 Content-length: 561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70965 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-05 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed. >>From gcc-bugs-return-524293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 18:41:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26504 invoked by alias); 5 May 2016 18:41:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26220 invoked by uid 48); 5 May 2016 18:41:38 -0000 From: "zenith432 at users dot sourceforge.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/70955] [6/7 Regression] Wrong code generation for __builtin_ms_va_list with -flto Date: Thu, 05 May 2016 18:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zenith432 at users dot sourceforge.net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00465.txt.bz2 Content-length: 1062 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70955 --- Comment #6 from zenith432 at users dot sourceforge.net --- (In reply to H.J. Lu from comment #5) > This may be related to PR 50818. PR 50818 has morphed into a feature request that the canonical __builtin_va_{list,start,end,copy} builtins behave according to the ABI of = the function they're in. Today they behave according to the '-mabi=3D' setting= on the command line. This is bug report that the specialized __builtin_ms_va_{list,start,end,cop= y} builtins have stopped working when -flto is used. They worked until gcc 5.= 3, both with or without -flto. In gcc 6.1 with -flto, the canonical iterator __builtin_va_arg ignores them and works on a sysv_va_list. To be precise, = it's __builtin_va_arg in the context of -flto that's broken, not the specialized builtins. __builtin_va_arg has always been a polymorphic builtin that chan= ges its behavior based on the type of va_list it's given as an argument. Witho= ut this polymorphic behavior, there's no way to iterate over an ms_va_list. >>From gcc-bugs-return-524294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 19:25:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29372 invoked by alias); 5 May 2016 19:25:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29118 invoked by uid 48); 5 May 2016 19:25:39 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/32003] Undocumened -fdump-tree options Date: Thu, 05 May 2016 19:25: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.3.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00466.txt.bz2 Content-length: 1684 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D32003 --- Comment #4 from Martin Sebor --- With most of the documentation for each option consisting of "the file name= is made by appending .xxx to the source file name" I agree that in its current form and state of completion the documentation isn't very useful. I also suspect that providing descriptions for the currently undocumented options and saying much more than what's in the boilerplate blurb above is unlikely. I like the idea of providing a generic description instead, as long is it m= akes it easy to derive the option names. I had to figure out by trial and error that the name of the option controlling the Object Size Checking dumps is -fdump-tree-objsz (by using -fdump-tree-all, looking at the suffix of the t= wo dump files, and appending it to -fdump-tree-). But after some experimenting and poking around in the manual I realize there's a better way to do it: 1) Run GCC with -fdump-passes and look for the pass code (e.g., objsz for Object Size Checking). 2) Append the pass code to the -fdump-tree- (or -fdump-rtl-) option to enab= le the dump. 3) Use the pass code to find the name of the dump file created by GCC for t= he pass (unless overridden). So maybe this would be sufficient documentation for all the options. The o= ne thing missing is a description of what each of those passes actually does. = For some it's fairly obvious but for others not so much. Maybe a brief descrip= tion could be added to GCC's -fdump-passes output to help figure that out (e.g., under -fdump-passes=3Dverbose if we want to keep the current output unchang= ed). How does this sound? >>From gcc-bugs-return-524295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 19:55:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105386 invoked by alias); 5 May 2016 19:55:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105122 invoked by uid 48); 5 May 2016 19:55:13 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70875] ICE in get_ubsan_type_info_for_type with -fsanitize=undefined Date: Thu, 05 May 2016 19:55: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00467.txt.bz2 Content-length: 960 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70875 --- Comment #2 from Marek Polacek --- Seems like an overzealous assert: diff --git a/gcc/ubsan.c b/gcc/ubsan.c index 802341e..080f798 100644 --- a/gcc/ubsan.c +++ b/gcc/ubsan.c @@ -302,11 +302,14 @@ ubsan_source_location (location_t loc) static unsigned short get_ubsan_type_info_for_type (tree type) { - gcc_assert (TYPE_SIZE (type) && tree_fits_uhwi_p (TYPE_SIZE (type))); if (TREE_CODE (type) =3D=3D REAL_TYPE) - return tree_to_uhwi (TYPE_SIZE (type)); + { + gcc_assert (TYPE_SIZE (type) && tree_fits_uhwi_p (TYPE_SIZE (type))); + return tree_to_uhwi (TYPE_SIZE (type)); + } else if (INTEGRAL_TYPE_P (type)) { + gcc_assert (TYPE_SIZE (type) && tree_fits_uhwi_p (TYPE_SIZE (type))); int prec =3D exact_log2 (tree_to_uhwi (TYPE_SIZE (type))); gcc_assert (prec !=3D -1); return (prec << 1) | !TYPE_UNSIGNED (type); >>From gcc-bugs-return-524296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 19:59:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118009 invoked by alias); 5 May 2016 19:59:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 117792 invoked by uid 48); 5 May 2016 19:59:41 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70875] ICE in get_ubsan_type_info_for_type with -fsanitize=undefined Date: Thu, 05 May 2016 19:59: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00468.txt.bz2 Content-length: 219 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70875 --- Comment #3 from Jakub Jelinek --- tree_to_uhwi already contains the tree_fits_uhwi_p assert, so there is no reason to duplicate that. >>From gcc-bugs-return-524297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 21:22:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82196 invoked by alias); 5 May 2016 21:22:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59240 invoked by uid 48); 5 May 2016 21:22:12 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70961] Regrename ignores preferred_rename_class Date: Thu, 05 May 2016 21:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00469.txt.bz2 Content-length: 1695 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70961 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-05 CC| |ebotcazou at gcc dot gnu.o= rg Ever confirmed|0 |1 --- Comment #1 from Eric Botcazou --- > When deciding which register to use regrename.c calls the target function > preferred_rename_class. However in pass 2 in find_rename_reg it then just > ignores this preference. This results in significantly increased codesize= on > targets which prefer a subset of allocatable registers in order to use > smaller instructions. Pass #2 ignores it since the preference simply couldn't be honored. > Also the computed super_class appears to be the union of all uses and defs > instead of the intersection. This should be the intersection as that is t= he > set of registers that all uses and defs support.=20 The super_class has nothing to do with the class that is searched for renam= ing registers though, it's just the info passed to the back-end to compute this class. For example, on the ARM, the preferred_class will be LO_REGS for any chain of GENERAL_REGS. > If the preferred class doesn't result in a valid rename then it could sea= rch > a wider class, but then it would need to check that the size of the newly > selected patterns does not increase. The size is an arbitrary criterion, this could also be the latency, etc. >>From gcc-bugs-return-524298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 21:35:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45593 invoked by alias); 5 May 2016 21:35:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43309 invoked by uid 48); 5 May 2016 21:35:07 -0000 From: "eric at efcs dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70966] New: new_delete_resource() has deinit lifetime issues. Date: Thu, 05 May 2016 21:35: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eric at efcs dot ca X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00470.txt.bz2 Content-length: 892 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70966 Bug ID: 70966 Summary: new_delete_resource() has deinit lifetime issues. Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: eric at efcs dot ca Target Milestone: --- Created attachment 38422 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38422&action=3Dedit example.cpp The value returned from 'new_delete_resource()' should be usable at all sta= ges of program startup and termination. In the current implementation the static deinitialization order fiasco can occur when a static object 'obj' is constructed before the first call to 'new_delete_resource()' and 'obj' references 'new_delete_resource()' in its destructor. >>From gcc-bugs-return-524299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 21:45:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74643 invoked by alias); 5 May 2016 21:45:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74103 invoked by uid 48); 5 May 2016 21:44:56 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70961] Regrename ignores preferred_rename_class Date: Thu, 05 May 2016 21:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00471.txt.bz2 Content-length: 1305 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70961 --- Comment #2 from Eric Botcazou --- > The super_class has nothing to do with the class that is searched for > renaming registers though, it's just the info passed to the back-end to > compute this class. For example, on the ARM, the preferred_class will be > LO_REGS for any chain of GENERAL_REGS. As a matter of fact, that might not be true, something like Index: config/arm/arm.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- config/arm/arm.c (revision 235858) +++ config/arm/arm.c (working copy) @@ -27721,9 +27721,9 @@ static reg_class_t arm_preferred_rename_class (reg_class_t rclass) { /* Thumb-2 instructions using LO_REGS may be smaller than instructions - using GENERIC_REGS. During register rename pass, we prefer LO_REGS, + using GENERAL_REGS. During register rename pass, we prefer LO_REGS, and code size can be reduced. */ - if (TARGET_THUMB2 && rclass =3D=3D GENERAL_REGS) + if (TARGET_THUMB2 && reg_class_subset_p (rclass, GENERAL_REGS)) return LO_REGS; else return NO_REGS; could be needed. >>From gcc-bugs-return-524300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 22:28:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65304 invoked by alias); 5 May 2016 22:28:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63751 invoked by uid 48); 5 May 2016 22:28:21 -0000 From: "wilson at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/69848] poor vectorization of a loop from SPEC2006 464.h264ref Date: Thu, 05 May 2016 22:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: wilson at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00472.txt.bz2 Content-length: 1322 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69848 --- Comment #6 from Jim Wilson --- Testing the vcond_mask* patch with make check gave 6 regressions for both a= rmhf and aarch64. FAIL: gcc.dg/vect/pr65947-10.c (internal compiler error) FAIL: gcc.dg/vect/pr65947-10.c (test for excess errors) FAIL: gcc.dg/vect/pr65947-10.c scan-tree-dump-times vect "LOOP VECTORIZED" 2 FAIL: gcc.dg/vect/pr65947-10.c -flto -ffat-lto-objects (internal compiler error) FAIL: gcc.dg/vect/pr65947-10.c -flto -ffat-lto-objects (test for excess err= ors) FAIL: gcc.dg/vect/pr65947-10.c -flto -ffat-lto-objects scan-tree-dump-times vec t "LOOP VECTORIZED" 2 The problem here looks like a flaw in the vcond* patterns. They support int and fp compare operands, but only int selection operands. E.g. for=20 (A op B ? X : Y) A and B can be either int or fp, but X and Y can only be int. Adding the vcond_mask* patterns apparently causes gcc to call vcond* in ways it didn't before, and that exposes the problem. The x86 port is the only port with vcond and vcond_mask patterns, and it supports all four combinations if int/fp compare/select operands, so it app= ears that aarch64 should also. I will need time to figure out how to fix the vcond* problems before I can formally submit the vcond_mask* patch. >>From gcc-bugs-return-524301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 22:31:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89874 invoked by alias); 5 May 2016 22:31:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89688 invoked by uid 48); 5 May 2016 22:31:01 -0000 From: "hpa at zytor dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70967] New: doc: Please document rotate idiom Date: Thu, 05 May 2016 22:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: hpa at zytor 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00473.txt.bz2 Content-length: 1153 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70967 Bug ID: 70967 Summary: doc: Please document rotate idiom Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: hpa at zytor dot com Target Milestone: --- The idiom that gcc has recognized since time immemorial (gcc 2-something) to generate a rotate: ((foo >> n) + (foo << (sizeof(foo) * CHAR_BIT - n)) /* | instead of + has been recognized for almost but not quite as long = */ ... is undefined behavior under the C standard when n =3D=3D 0. There is a technically portable idiom (bug 57157) which has been recognized since gcc 4.6.3, but that is not portable to older versions of gcc without generating suboptimal code. It would be great if the gcc manual could be augmented to document this idi= om for rotate as a GNU C extension so that people are less concerned about its validity, and compilers that mimic the GNU C dialect (icc, clang, etc.) kno= w to implement it correctly. >>From gcc-bugs-return-524302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 22:49:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129461 invoked by alias); 5 May 2016 22:49:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128170 invoked by uid 55); 5 May 2016 22:49:06 -0000 From: "uros at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Thu, 05 May 2016 22:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: uros at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00474.txt.bz2 Content-length: 842 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 --- Comment #30 from uros at gcc dot gnu.org --- Author: uros Date: Thu May 5 22:48:29 2016 New Revision: 235936 URL: https://gcc.gnu.org/viewcvs?rev=3D235936&root=3Dgcc&view=3Drev Log: PR target/70873 * config/i386/i386-protos.h (ix86_standard_x87sse_constant_load_p): New prototype. * config/i386/i386.c (ix86_standard_x87sse_constant_load_p): New. * config/i386/i386.md (push mem splitter): Use find_constant_src in the splitter condition. (FP load splitter): Use ix86_standard_x87sse_constant_load_p in the splitter condition. (FP float_extend load splitter): Ditto. Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386-protos.h trunk/gcc/config/i386/i386.c trunk/gcc/config/i386/i386.md >>From gcc-bugs-return-524303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 22:58:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33637 invoked by alias); 5 May 2016 22:58:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32394 invoked by uid 48); 5 May 2016 22:57:58 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/70968] New: Missed case for -Wmisleading-indentation Date: Thu, 05 May 2016 22:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00475.txt.bz2 Content-length: 913 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70968 Bug ID: 70968 Summary: Missed case for -Wmisleading-indentation Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: segher at gcc dot gnu.org Target Milestone: --- Compiling the following with current trunk: =3D=3D=3D void g(int); void f1(int x) { if (x) { g(x--); } while (x); } void f2(int x) { if (x) g(x--); while (x); } void f3(int x) { if (x) g(x--); while (x); } =3D=3D=3D (-Wall -W -O2) only warns for f3. f1 has quite misleading indentation. A warning for "while (x);" wouldn't hurt either probably, if there is no whitespace before the semicolon anyway, like in f3. >>From gcc-bugs-return-524304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 23:28:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130064 invoked by alias); 5 May 2016 23:28:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129867 invoked by uid 48); 5 May 2016 23:28:04 -0000 From: "tulipawn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70896] gcc4 ABI compatible bootstrap fails Date: Thu, 05 May 2016 23:28: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: tulipawn 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00476.txt.bz2 Content-length: 339 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70896 --- Comment #6 from PeteVine --- Building with -mfpu=3Dneon has duly helped. The fpu configure option is pro= bably not relevant here (simply setting the default for emitted code) but rather = the CFLAGS used for compiling these intrinsics. (-mfpu=3Dvfpv4) >>From gcc-bugs-return-524305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 05 23:39:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41185 invoked by alias); 5 May 2016 23:39:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41093 invoked by uid 48); 5 May 2016 23:38:54 -0000 From: "danglin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70795] [7 Regression] gcc/libjava/interpret.cc:1948:1: ICE: in binds_to_current_def_p, at symtab.c:2232 Date: Thu, 05 May 2016 23:39: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00477.txt.bz2 Content-length: 541 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70795 --- Comment #1 from John David Anglin --- Created attachment 38423 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38423&action=3Dedit Preprocessed source /test/gnu/gcc/objdir/./gcc/cc1plus -fpreprocessed interpret.ii -quiet -dump= base interpret.cc -auxbase-strip .libs/interpret.o -g -O2 -Wswitch-enum -Wextra -Wall -version -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -fw= rapv -fPIC -o interpret.s r235311 is okay. r235318 is bad. >>From gcc-bugs-return-524306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 01:03:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56301 invoked by alias); 6 May 2016 01:03:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 56085 invoked by uid 48); 6 May 2016 01:03:15 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70969] New: power64le ada bootstrap failure: s-unstyp.ads:40:15: violation of No_Elaboration_Code_All at line 42 Date: Fri, 06 May 2016 01:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00478.txt.bz2 Content-length: 1195 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70969 Bug ID: 70969 Summary: power64le ada bootstrap failure: s-unstyp.ads:40:15: violation of No_Elaboration_Code_All at line 42 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- Current trunk (7.0) fails to bootstrap on powerpc64le, due to the following error: /build/gcc-trunk-bootstrap/./gcc/xgcc -B/build/gcc-trunk-bootstrap/./gcc/ -B/usr/local/powerpc64le-unknown-linux-gnu/bin/ -B/usr/local/powerpc64le-unknown-linux-gnu/lib/ -isystem /usr/local/powerpc64le-unknown-linux-gnu/include -isystem /usr/local/powerpc64le-unknown-linux-gnu/sys-include -c -g -O2 -fPIC -W -Wall -gnatpg -nostdinc s-unstyp.ads -o s-unstyp.o s-unstyp.ads:40:15: violation of No_Elaboration_Code_All at line 42 s-unstyp.ads:40:15: unit "System" does not have No_Elaboration_Code_All make[7]: *** [s-unstyp.o] Error 1 make[7]: Leaving directory `/build/gcc-trunk-bootstrap/gcc/ada/rts' >>From gcc-bugs-return-524307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 01:13:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93339 invoked by alias); 6 May 2016 01:13:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93207 invoked by uid 48); 6 May 2016 01:13:24 -0000 From: "rcc.dark at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70970] New: Misaligned SSE with auto-vectorization Date: Fri, 06 May 2016 01:13: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rcc.dark at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00479.txt.bz2 Content-length: 1649 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70970 Bug ID: 70970 Summary: Misaligned SSE with auto-vectorization Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rcc.dark at gmail dot com Target Milestone: --- Created attachment 38424 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38424&action=3Dedit the code Sorry if this has been reported before. I have tested it under: gcc version 5.3.1 20151207 (Red Hat 5.3.1-2) (GCC) gcc version 5.2.1 20151028 (Debian 5.2.1-23)=20 gcc version 6.1.0 (GCC) <----- Windows gcc version 5.2.0 (GCC) <----- Windows, MinGW-W64 The following code crashes with -std=3Dc++14 -O3: #include #include template __attribute__ ((noinline)) void symmetric_difference(RI ai, RI af, RI bi) { while (ai !=3D af) { *ai++ ^=3D *bi++; } } int main( ) { auto p1 =3D reinterpret_cast(memalign(4096, 32)); auto p2 =3D reinterpret_cast(memalign(4096, 32)); // _aligned_malloc under Windows auto ai =3D reinterpret_cast(p1 + 1); auto bi =3D reinterpret_cast(p2 + 1); symmetric_difference(ai, ai + 64, bi); } It stops crashing with -O2 or if I remove the + 1 to the pointers; GDB tell= s me that the problem lies within: vmovdqa YMMWORD PTR [rbx+rcx*1],ymm0 The register rbx is not aligned and rcx =3D 0. It seems that it is reading = with vmovdqu but storing with vmovdqa. >>From gcc-bugs-return-524308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 01:19:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100354 invoked by alias); 6 May 2016 01:19:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100127 invoked by uid 55); 6 May 2016 01:19:35 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows Date: Fri, 06 May 2016 01:19: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00480.txt.bz2 Content-length: 804 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70684 --- Comment #18 from Jerry DeLisle --- Author: jvdelisle Date: Fri May 6 01:18:59 2016 New Revision: 235941 URL: https://gcc.gnu.org/viewcvs?rev=3D235941&root=3Dgcc&view=3Drev Log: 2016-05-05 Jerry DeLisle Backport from trunk. PR libgfortran/70684 * io/list_read (next_char): Add '\r' to check for end of line. factor. (two places) PR libgfortran/70684 * gfortran.dg/list_read_14.f90: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/gfortran.dg/list_read_14.f90 Modified: branches/gcc-4_9-branch/gcc/testsuite/ChangeLog branches/gcc-4_9-branch/libgfortran/ChangeLog branches/gcc-4_9-branch/libgfortran/io/list_read.c >>From gcc-bugs-return-524309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 01:44:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7094 invoked by alias); 6 May 2016 01:44:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6898 invoked by uid 48); 6 May 2016 01:44:34 -0000 From: "rcc.dark at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70970] Misaligned SSE with auto-vectorization Date: Fri, 06 May 2016 01: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rcc.dark 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: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00481.txt.bz2 Content-length: 507 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70970 Rodrigo changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #38424|0 |1 is obsolete| | --- Comment #1 from Rodrigo --- Created attachment 38425 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38425&action=3Dedit code (fixed) >>From gcc-bugs-return-524310-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 01:45:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8533 invoked by alias); 6 May 2016 01:45:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8377 invoked by uid 48); 6 May 2016 01:45:30 -0000 From: "rcc.dark at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70970] Misaligned SSE with auto-vectorization Date: Fri, 06 May 2016 01:45: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rcc.dark 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00482.txt.bz2 Content-length: 499 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70970 --- Comment #2 from Rodrigo --- Just noticed a dumb mistake in the parameter order of memalign (_aligned_ma= lloc is (size, alignment); memalign is (alignment, size)) but the problem persis= ts. Also forgot that I had to use -march=3Dnative under 5.3.1 but not 5.2.0. So= rry for the possible confusion this may cause, the computers in which I tested differ a lot. I just hope you can reproduce it without problems. >>From gcc-bugs-return-524311-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 02:50:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122033 invoked by alias); 6 May 2016 02:50:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121893 invoked by uid 48); 6 May 2016 02:50:39 -0000 From: "barry.revzin at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70971] New: ICE in parameter pack expansion Date: Fri, 06 May 2016 02:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: barry.revzin 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00483.txt.bz2 Content-length: 2041 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70971 Bug ID: 70971 Summary: ICE in parameter pack expansion Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: barry.revzin at gmail dot com Target Milestone: --- This may not be totally minimal, but the following code: #include struct A {}; template struct B : A { }; template struct typelist {}; template struct tag { using type =3D T; }; template std::unique_ptr chooseB(typelist ) { return std::unique_ptr(new B); } template std::unique_ptr chooseB(typelist choices, Idx i, Rest... rest) { auto f =3D [=3D](auto tag){ return [=3D]{ return chooseB(choices, rest...); }; }; std::function()> fs[] =3D { f(tag{})... }; return fs[i](); } int main() { auto p =3D chooseB(typelist{}, 0, 1, 2); } on gcc 5.3 with g++ -std=3Dc++1z -O2 -Wall -Wextra -Wconversion -pedantic -pthread produced (http://coliru.stacked-crooked.com/a/8dfc904ff5476477) main.cpp: In function 'std::unique_ptr chooseB(typelist, Idx, Re= st ...) [with Ts =3D {}; Cs =3D {int, double, char}; Idx =3D int; Rest =3D {in= t, int}]': main.cpp:29:1: error: unrecognizable insn: } ^ (insn 28 19 29 2 (set (mem/c:SI (plus:DI (reg/f:DI 82 virtual-stack-vars) (const_int -92 [0xffffffffffffffa4])) [65 MEM[(struct __lam= bda1 *)&fs + 4B]+0 S4 A32]) (reg/v 101 [ rest#0 ])) -1 (nil)) main.cpp:29:1: internal compiler error: in extract_insn, at recog.c:2287 libbacktrace could not find executable to open With -g instead of -O2 it compiles but segfaults. On clang it compiles fine. >>From gcc-bugs-return-524312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 05:21:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86263 invoked by alias); 6 May 2016 05:21:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86086 invoked by uid 48); 6 May 2016 05:21:02 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/5360] [SH] Useless address inc-dec sequence for DFmode access Date: Fri, 06 May 2016 05:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 3.4.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: olegendo 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00484.txt.bz2 Content-length: 1309 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D5360 --- Comment #6 from Oleg Endo --- When compiling the following test with -m2a -mb -O2 double test (void) { return 123.123; } we get mova .L2,r0 fmov.s @r0+,fr0 fmov.s @r0,fr1 rts add #-4,r0 .L3: .align 2 .L2: .long 1079953375 .long 996432413 Although the address reg is dead after the last load, the add #-4 insn is n= ot eliminated. This is probably because the DFmode move patterns are split at= a late stage during compilation. The add #-4 has to be put there initially because for the register allocator the DFmode constant looks like it doesn't modify the address register. In some cases this allows optimizations of consecutive constant loads, as in: void test (double* out) { out[0] =3D 123.123; out[1] =3D 222; } mova .L2,r0 fmov.s @r0+,fr2 fmov.s @r0+,fr3 add #4,r4 fmov.s fr3,@r4 fmov.s fr2,@-r4 fmov.s @r0+,fr2 fmov.s @r0,fr3 add #-4,r0 fmov.s fr2,@(8,r4) fmov.s fr3,@(12,r4) rts/n .L3: .align 2 .L2: .long 1079953375 .long 996432413 .long 1080803328 .long 0 >>From gcc-bugs-return-524313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 06:22:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92965 invoked by alias); 6 May 2016 06:22:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92844 invoked by uid 48); 6 May 2016 06:22:30 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70969] power64le ada bootstrap failure: s-unstyp.ads:40:15: violation of No_Elaboration_Code_All at line 42 Date: Fri, 06 May 2016 06:22: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.0 X-Bugzilla-Keywords: 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00485.txt.bz2 Content-length: 201 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70969 --- Comment #1 from Andreas Schwab --- r216965 missed system-linux-ppc64.ads when it added pragma No_Elaboration_Code_All. >>From gcc-bugs-return-524314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 06:31:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109969 invoked by alias); 6 May 2016 06:31:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109451 invoked by uid 48); 6 May 2016 06:31:22 -0000 From: "rs2740 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70972] New: [6/7 Regression] Inheriting constructors taking parameters by value should move them, not copy Date: Fri, 06 May 2016 06:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: rejects-valid, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rs2740 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 keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00486.txt.bz2 Content-length: 2262 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70972 Bug ID: 70972 Summary: [6/7 Regression] Inheriting constructors taking parameters by value should move them, not copy Product: gcc Version: 6.1.0 Status: UNCONFIRMED Keywords: rejects-valid, wrong-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rs2740 at gmail dot com Target Milestone: --- The following code, accepted by GCC 5.3, fails to compile in GCC 6.1 and 7: struct moveonly { moveonly(moveonly&&) =3D default; moveonly() =3D default; }; struct A { A(moveonly) {} }; struct B : A { using A::A; }; B b(moveonly{}); with a bogus error: + g++ -std=3Dc++14 -O2 -Wall -pedantic -pthread main.cpp main.cpp: In constructor 'B::B(moveonly)': main.cpp:10:14: error: use of deleted function 'constexpr moveonly::moveonly(const moveonly&)' using A::A; ^ main.cpp:1:8: note: 'constexpr moveonly::moveonly(const moveonly&)' is implicitly declared as deleted because 'moveonly' declares a move construct= or or move assignment operator struct moveonly { ^~~~~~~~ main.cpp: At global scope: main.cpp:13:15: note: synthesized method 'B::B(moveonly)' first required he= re=20 B b(moveonly{}); Per N4140 [class.inhctor]/8, an implicitly defined inheriting constructor should cast a passed-by-value parameter to an rvalue before forwarding it to the base class constructor: > Each expression in the expression-list [of the mem-initializer for the ba= se class] is of the form static_cast(p), where p is the name of the co= rresponding constructor parameter and T is the declared type of p. (The code above remains valid under the new inheriting constructor semantic= s in P0136R1.) However, GCC 6.1 looks for a copy constructor instead, and would call them instead of move: struct abort_on_copy{ abort_on_copy(abort_on_copy&&) =3D default; abort_on_copy(const abort_on_copy&) { __builtin_abort(); } abort_on_copy() =3D default; }; struct A { A(abort_on_copy) {} }; struct B : A { using A::A; }; int main() { B b(abort_on_copy{}); // aborts } >>From gcc-bugs-return-524315-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 06:33:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120632 invoked by alias); 6 May 2016 06:33:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120226 invoked by uid 48); 6 May 2016 06:32:52 -0000 From: "rs2740 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70972] [6/7 Regression] Inheriting constructors taking parameters by value should move them, not copy Date: Fri, 06 May 2016 06:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: rejects-valid, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rs2740 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00487.txt.bz2 Content-length: 167 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70972 --- Comment #1 from TC --- Originally from http://stackoverflow.com/q/37064993/2756719 >>From gcc-bugs-return-524316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 06:53:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40515 invoked by alias); 6 May 2016 06:53:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40345 invoked by uid 48); 6 May 2016 06:53:01 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/59400] [SH] gcc.c-torture/compile/pr55921.c fails with -O0 on big endian with FPU Date: Fri, 06 May 2016 06:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00488.txt.bz2 Content-length: 503 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59400 Oleg Endo changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Oleg Endo --- It seems the problem disappeared somewhere between r210624 and r216017 even without LRA. >>From gcc-bugs-return-524317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 07:07:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118573 invoked by alias); 6 May 2016 07:07:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118456 invoked by uid 48); 6 May 2016 07:06:48 -0000 From: "rs2740 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70972] [6/7 Regression] Inheriting constructors taking parameters by value should move them, not copy Date: Fri, 06 May 2016 07:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: rejects-valid, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rs2740 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00489.txt.bz2 Content-length: 790 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70972 --- Comment #2 from TC --- Not exactly that familiar with GCC, but looking at https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/cp/method.c?r1=3D233719&r2=3D2337= 18&pathrev=3D233719 tree type =3D TREE_TYPE (parm); if (DECL_PACK_P (parm)) type =3D PACK_EXPANSION_PATTERN (type); exp =3D build_static_cast (type, exp, tf_warning_or_error); This seems to do the equivalent of `static_cast(p)` (which is a copy) rather than the desired `static_cast(p)`. Consistent w= ith this hypothesis, with -fno-elide-constructors, a copy constructor call is emitted *in addition to* a move constructor call (http://coliru.stacked-crooked.com/a/5dd154da9c26472f), rather than instead= of one. >>From gcc-bugs-return-524318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 07:21:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20734 invoked by alias); 6 May 2016 07:21:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20625 invoked by uid 48); 6 May 2016 07:21:23 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70960] [7 Regression] ICE: tree check: expected ssa_name, have integer_cst in ifcvt_walk_pattern_tree, at tree-if-conv.c:2465 Date: Fri, 06 May 2016 07:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00490.txt.bz2 Content-length: 361 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70960 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Component|middle-end |tree-optimization Target Milestone|--- |7.0 >>From gcc-bugs-return-524319-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 07:33:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66618 invoked by alias); 6 May 2016 07:33:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66515 invoked by uid 48); 6 May 2016 07:33:41 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70960] [7 Regression] ICE: tree check: expected ssa_name, have integer_cst in ifcvt_walk_pattern_tree, at tree-if-conv.c:2465 Date: Fri, 06 May 2016 07:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00491.txt.bz2 Content-length: 1700 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70960 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org --- Comment #2 from Richard Biener --- Confirmed, a latent issue also present on branches. ifcvt_walk_pattern_tree assumes SSA name 'var' but is called like 2496 case BIT_AND_EXPR: 2497 case BIT_IOR_EXPR: 2498 case BIT_XOR_EXPR: 2499 ifcvt_walk_pattern_tree (rhs1, defuse_list, def_stmt); 2500 rhs2 =3D gimple_assign_rhs2 (def_stmt); 2501 ifcvt_walk_pattern_tree (rhs2, defuse_list, def_stmt); 2502 break; where obviously at least rhs2 may be a constant. Though the IL looks fishy= as well: powi_cond_75 =3D _110 & 1; powi_81 =3D powi_cond_75 ? -1.0e+0 : 1.0e+0; that powi_cond_75 doesn't look like a bool (_110 is int). "Obvious" patch: Index: gcc/tree-if-conv.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/tree-if-conv.c (revision 235859) +++ gcc/tree-if-conv.c (working copy) @@ -2462,6 +2462,9 @@ ifcvt_walk_pattern_tree (tree var, vec>From gcc-bugs-return-524320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 07:39:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93920 invoked by alias); 6 May 2016 07:39:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93763 invoked by uid 55); 6 May 2016 07:39:01 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70941] [5/6/7 Regression] Test miscompiled with -O2. Date: Fri, 06 May 2016 07:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00492.txt.bz2 Content-length: 642 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70941 --- Comment #8 from Richard Biener --- Author: rguenth Date: Fri May 6 07:38:27 2016 New Revision: 235943 URL: https://gcc.gnu.org/viewcvs?rev=3D235943&root=3Dgcc&view=3Drev Log: 2016-05-06 Richard Biener PR middle-end/70941 * fold-const.c (split_tree): Always convert to the original type before negating. * gcc.dg/torture/pr70941.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr70941.c Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524321-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 07:39:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95296 invoked by alias); 6 May 2016 07:39:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95168 invoked by uid 48); 6 May 2016 07:39:34 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70948] [7 Regression] r235622 caused gcc.c-torture/execute/va-arg-pack-1.c execution failure AArch64 Date: Fri, 06 May 2016 07:39: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: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00493.txt.bz2 Content-length: 636 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70948 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-06 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Target Milestone|--- |7.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- I will have a look. >>From gcc-bugs-return-524322-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 07:41:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103476 invoked by alias); 6 May 2016 07:41:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103337 invoked by uid 48); 6 May 2016 07:41:44 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70949] Invalid aggregate against pointer comparison Date: Fri, 06 May 2016 07:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00494.txt.bz2 Content-length: 1330 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70949 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-06 Summary|ICE in propagate_necessity, |Invalid aggregate against |at tree-ssa-dce.c:924 |pointer comparison Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- With checking enabled I get: c> ../../gcc5-g/gcc/f951 -quiet t.f90 -Os t.f90:1:0: program p ^ Error: mismatching comparison operand types struct __class_p_T1_p struct t1 * D.3422 =3D D.3421 =3D=3D a; t.f90:1:0: internal compiler error: verify_gimple failed 0xe6f96a verify_gimple_in_seq(gimple_statement_base*) /space/rguenther/src/svn/gcc-5-branch/gcc/tree-cfg.c:4739 0xb8e0e1 gimplify_body(tree_node*, bool) /space/rguenther/src/svn/gcc-5-branch/gcc/gimplify.c:9329 (with GCC 6 and trunk as well). So this is invalid GIMPLE after gimplifica= tion which usually means invalid GENERIC from the Frontend. Here we compare an aggregate with a pointer - that can't work. Confirmed as FE issue. >>From gcc-bugs-return-524325-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 07:43:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108859 invoked by alias); 6 May 2016 07:43:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108728 invoked by uid 48); 6 May 2016 07:43:24 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70941] [5/6 Regression] Test miscompiled with -O2. Date: Fri, 06 May 2016 07: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: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00497.txt.bz2 Content-length: 526 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70941 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |7.0 Summary|[5/6/7 Regression] Test |[5/6 Regression] Test |miscompiled with -O2. |miscompiled with -O2. --- Comment #9 from Richard Biener --- Fixed on trunk sofar. >>From gcc-bugs-return-524324-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 07:43:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107476 invoked by alias); 6 May 2016 07:43:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107083 invoked by uid 48); 6 May 2016 07:42:58 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjLzcwNzQ5XSBlcnJvcjogc3RvcmFnZSBzaXplIG9mIOKAmGHigJkg?= =?UTF-8?B?aXNu4oCZdCBrbm93biBnb2VzIGF3YXkgd2l0aCAtT3M=?= Date: Fri, 06 May 2016 07:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00496.txt.bz2 Content-length: 508 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70749 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gerhard.steinmetz.fortran@t | |-online.de --- Comment #3 from Richard Biener --- *** Bug 70950 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-524323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 07:43:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107216 invoked by alias); 6 May 2016 07:43:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107071 invoked by uid 48); 6 May 2016 07:42:58 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70950] ICE with -O0 in simplify_subreg, at simplify-rtx.c:5895 Date: Fri, 06 May 2016 07:43: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00495.txt.bz2 Content-length: 609 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70950 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Richard Biener --- Same issue. Error: mismatching comparison operand types struct __class_p_T1_p struct t1 * D.3434 =3D D.3433 =3D=3D a.5; *** This bug has been marked as a duplicate of bug 70749 *** >>From gcc-bugs-return-524326-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 07:44:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118127 invoked by alias); 6 May 2016 07:44:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118077 invoked by uid 48); 6 May 2016 07:44:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70931] [4.9/5/6 Regression] ICE with -g in native_encode_initializer, bei dwarf2out.c:17768 Date: Fri, 06 May 2016 07:44: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: 6.1.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00498.txt.bz2 Content-length: 665 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70931 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |7.0 Summary|[4.9/5/6/7 Regression] ICE |[4.9/5/6 Regression] ICE |with -g in |with -g in |native_encode_initializer, |native_encode_initializer, |bei dwarf2out.c:17768 |bei dwarf2out.c:17768 --- Comment #4 from Richard Biener --- Fixed on trunk sofar. >>From gcc-bugs-return-524327-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 07:45:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122885 invoked by alias); 6 May 2016 07:45:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118468 invoked by uid 55); 6 May 2016 07:44:54 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70931] [4.9/5/6 Regression] ICE with -g in native_encode_initializer, bei dwarf2out.c:17768 Date: Fri, 06 May 2016 07:45: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: 6.1.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00499.txt.bz2 Content-length: 616 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70931 --- Comment #5 from Richard Biener --- Author: rguenth Date: Fri May 6 07:44:22 2016 New Revision: 235944 URL: https://gcc.gnu.org/viewcvs?rev=3D235944&root=3Dgcc&view=3Drev Log: 2016-05-06 Richard Biener PR middle-end/70931 * dwarf2out.c (native_encode_initializer): Skip zero-sized fields. * gfortran.dg/pr70931.f90: New testcase. Added: trunk/gcc/testsuite/gfortran.dg/pr70931.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2out.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 07:56:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19464 invoked by alias); 6 May 2016 07:56:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17789 invoked by uid 48); 6 May 2016 07:56:40 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/70955] [6/7 Regression] Wrong code generation for __builtin_ms_va_list with -flto Date: Fri, 06 May 2016 07:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: lto, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00500.txt.bz2 Content-length: 824 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70955 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |lto, wrong-code Priority|P3 |P2 Target Milestone|--- |6.2 --- Comment #7 from Richard Biener --- The change with GCC 6 is that the builtins are now lowered during link-time optimization rather than at compile-time. Thus the abi selection bits are possibly not transfered correctly (type merging?). I remember the business was quite ugly, but eventually we just miss to properly transfer the functi= on attribute. Needs more investigation. >>From gcc-bugs-return-524329-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 08:03:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42947 invoked by alias); 6 May 2016 08:03:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42195 invoked by uid 48); 6 May 2016 08:03:23 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70970] Misaligned SSE with auto-vectorization Date: Fri, 06 May 2016 08:03: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00501.txt.bz2 Content-length: 535 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70970 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from Richard Biener --- You are accessing memory via a uint64_t * pointer that is not aligned to uint64_t but is misaligned by 1 byte. >>From gcc-bugs-return-524330-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 08:03:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45380 invoked by alias); 6 May 2016 08:03:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43612 invoked by uid 48); 6 May 2016 08:03:41 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70972] [6/7 Regression] Inheriting constructors taking parameters by value should move them, not copy Date: Fri, 06 May 2016 08:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: rejects-valid, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00502.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70972 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.2 >>From gcc-bugs-return-524331-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 08:08:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53872 invoked by alias); 6 May 2016 08:08:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53678 invoked by uid 48); 6 May 2016 08:08:17 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70964] [7 Regression] internal compiler error: in single_succ_edge, at basic-block.h:351 Date: Fri, 06 May 2016 08: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: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget priority bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00503.txt.bz2 Content-length: 615 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70964 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target|aarch64 |aarch64, x86_64-*-* Priority|P3 |P1 Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-06 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed on x86_64. >>From gcc-bugs-return-524332-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 08:09:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55317 invoked by alias); 6 May 2016 08:09:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55162 invoked by uid 48); 6 May 2016 08:09:30 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70964] [7 Regression] internal compiler error: in single_succ_edge, at basic-block.h:351 Date: Fri, 06 May 2016 08:09: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: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00504.txt.bz2 Content-length: 239 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70964 --- Comment #2 from Richard Biener --- 1736 latch_edge =3D single_succ_edge (get_bb_copy (loop->latch)); the fake edges make loop structure "invalid" >>From gcc-bugs-return-524333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 08:10:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56159 invoked by alias); 6 May 2016 08:10:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 56006 invoked by uid 48); 6 May 2016 08:09:52 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70965] [7 Regression] ICE on released SSA name during IPA SRA Date: Fri, 06 May 2016 08:10: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00505.txt.bz2 Content-length: 988 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70965 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c++ |tree-optimization Target Milestone|--- |7.0 Summary|ice in |[7 Regression] ICE on |useless_type_conversion_p |released SSA name during | |IPA SRA --- Comment #2 from Richard Biener --- (gdb) up #1 0x00000000011f5ac6 in callsite_arguments_match_p (call=3D ) at /space/rguenther/src/svn/trunk/gcc/tree-sra.c:1371 1371 if (!useless_type_conversion_p (TREE_TYPE (parm), TREE_TYPE (arg))) (gdb) p debug_tree (arg) $3 =3D void >>From gcc-bugs-return-524334-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 08:37:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25540 invoked by alias); 6 May 2016 08:37:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25373 invoked by uid 48); 6 May 2016 08:37:37 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70969] [7 regression] bootstrap failure: s-unstyp.ads:40:15: violation of No_Elaboration_Code_All at line 42 Date: Fri, 06 May 2016 08:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00506.txt.bz2 Content-length: 1246 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70969 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-06 CC| |ebotcazou at gcc dot gnu.o= rg Target Milestone|--- |7.0 Summary|power64le ada bootstrap |[7 regression] bootstrap |failure: |failure: |s-unstyp.ads:40:15: |s-unstyp.ads:40:15: |violation of |violation of |No_Elaboration_Code_All at |No_Elaboration_Code_All at |line 42 |line 42 Ever confirmed|0 |1 --- Comment #2 from Eric Botcazou --- Right, the pragma is missing for 8 files: system-darwin-ppc64.ads system-linux-armeb.ads system-linux-mips64el.ads system-linux-mips.ads system-linux-mipsel.ads system-linux-ppc64.ads system-linux-sparcv9.ads system-rtems.ads >>From gcc-bugs-return-524335-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 09:03:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16588 invoked by alias); 6 May 2016 09:03:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16496 invoked by uid 48); 6 May 2016 09:03:40 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70969] [7 regression] bootstrap failure: s-unstyp.ads:40:15: violation of No_Elaboration_Code_All at line 42 Date: Fri, 06 May 2016 09:03: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00507.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70969 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc do= t gnu.org --- Comment #3 from Eric Botcazou --- Fixing. >>From gcc-bugs-return-524336-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 09:12:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83118 invoked by alias); 6 May 2016 09:12:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82916 invoked by uid 55); 6 May 2016 09:12:13 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70969] [7 regression] bootstrap failure: s-unstyp.ads:40:15: violation of No_Elaboration_Code_All at line 42 Date: Fri, 06 May 2016 09:12: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 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00508.txt.bz2 Content-length: 1033 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70969 --- Comment #4 from Eric Botcazou --- Author: ebotcazou Date: Fri May 6 09:11:38 2016 New Revision: 235946 URL: https://gcc.gnu.org/viewcvs?rev=3D235946&root=3Dgcc&view=3Drev Log: PR ada/70969 * system-darwin-ppc64.ads: Add pragma No_Elaboration_Code_All. * system-linux-armeb.ads: Likewise. * system-linux-mips64el.ads: Likewise. * system-linux-mips.ads: Likewise. * system-linux-mipsel.ads: Likewise. * system-linux-ppc64.ads: Likewise. * system-linux-sparcv9.ads: Likewise. * system-rtems.ads: Likewise. Modified: trunk/gcc/ada/ChangeLog trunk/gcc/ada/system-darwin-ppc64.ads trunk/gcc/ada/system-linux-armeb.ads trunk/gcc/ada/system-linux-mips.ads trunk/gcc/ada/system-linux-mips64el.ads trunk/gcc/ada/system-linux-mipsel.ads trunk/gcc/ada/system-linux-ppc64.ads trunk/gcc/ada/system-linux-sparcv9.ads trunk/gcc/ada/system-rtems.ads >>From gcc-bugs-return-524337-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 09:12:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85505 invoked by alias); 6 May 2016 09:12:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83164 invoked by uid 55); 6 May 2016 09:12:28 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70969] [7 regression] bootstrap failure: s-unstyp.ads:40:15: violation of No_Elaboration_Code_All at line 42 Date: Fri, 06 May 2016 09:12: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 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00509.txt.bz2 Content-length: 1177 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70969 --- Comment #5 from Eric Botcazou --- Author: ebotcazou Date: Fri May 6 09:11:56 2016 New Revision: 235947 URL: https://gcc.gnu.org/viewcvs?rev=3D235947&root=3Dgcc&view=3Drev Log: PR ada/70969 * system-darwin-ppc64.ads: Add pragma No_Elaboration_Code_All. * system-linux-armeb.ads: Likewise. * system-linux-mips64el.ads: Likewise. * system-linux-mips.ads: Likewise. * system-linux-mipsel.ads: Likewise. * system-linux-ppc64.ads: Likewise. * system-linux-sparcv9.ads: Likewise. * system-rtems.ads: Likewise. Modified: branches/gcc-6-branch/gcc/ada/ChangeLog branches/gcc-6-branch/gcc/ada/system-darwin-ppc64.ads branches/gcc-6-branch/gcc/ada/system-linux-armeb.ads branches/gcc-6-branch/gcc/ada/system-linux-mips.ads branches/gcc-6-branch/gcc/ada/system-linux-mips64el.ads branches/gcc-6-branch/gcc/ada/system-linux-mipsel.ads branches/gcc-6-branch/gcc/ada/system-linux-ppc64.ads branches/gcc-6-branch/gcc/ada/system-linux-sparcv9.ads branches/gcc-6-branch/gcc/ada/system-rtems.ads >>From gcc-bugs-return-524338-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 09:12:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91909 invoked by alias); 6 May 2016 09:12:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84686 invoked by uid 55); 6 May 2016 09:12:41 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70969] [7 regression] bootstrap failure: s-unstyp.ads:40:15: violation of No_Elaboration_Code_All at line 42 Date: Fri, 06 May 2016 09:12: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 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00510.txt.bz2 Content-length: 1177 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70969 --- Comment #6 from Eric Botcazou --- Author: ebotcazou Date: Fri May 6 09:12:09 2016 New Revision: 235948 URL: https://gcc.gnu.org/viewcvs?rev=3D235948&root=3Dgcc&view=3Drev Log: PR ada/70969 * system-darwin-ppc64.ads: Add pragma No_Elaboration_Code_All. * system-linux-armeb.ads: Likewise. * system-linux-mips64el.ads: Likewise. * system-linux-mips.ads: Likewise. * system-linux-mipsel.ads: Likewise. * system-linux-ppc64.ads: Likewise. * system-linux-sparcv9.ads: Likewise. * system-rtems.ads: Likewise. Modified: branches/gcc-5-branch/gcc/ada/ChangeLog branches/gcc-5-branch/gcc/ada/system-darwin-ppc64.ads branches/gcc-5-branch/gcc/ada/system-linux-armeb.ads branches/gcc-5-branch/gcc/ada/system-linux-mips.ads branches/gcc-5-branch/gcc/ada/system-linux-mips64el.ads branches/gcc-5-branch/gcc/ada/system-linux-mipsel.ads branches/gcc-5-branch/gcc/ada/system-linux-ppc64.ads branches/gcc-5-branch/gcc/ada/system-linux-sparcv9.ads branches/gcc-5-branch/gcc/ada/system-rtems.ads >>From gcc-bugs-return-524339-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 09:13:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9486 invoked by alias); 6 May 2016 09:13:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1793 invoked by uid 48); 6 May 2016 09:13:23 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70969] [7 regression] bootstrap failure: s-unstyp.ads:40:15: violation of No_Elaboration_Code_All at line 42 Date: Fri, 06 May 2016 09: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 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00511.txt.bz2 Content-length: 448 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70969 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Eric Botcazou --- This should work again. >>From gcc-bugs-return-524340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 09:17:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86944 invoked by alias); 6 May 2016 09:17:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86681 invoked by uid 48); 6 May 2016 09:17:04 -0000 From: "jiwang at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70904] ICE: Max. number of generated reload insns per insn is achieved (90) with -fno-split-wide-types @ aarch64 Date: Fri, 06 May 2016 09:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jiwang at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jiwang 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00512.txt.bz2 Content-length: 658 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70904 Jiong Wang changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-06 CC| |jiwang at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jiwang at gcc dot g= nu.org Ever confirmed|0 |1 --- Comment #1 from Jiong Wang --- Confirmed, I will have a look. >>From gcc-bugs-return-524341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 09:30:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51790 invoked by alias); 6 May 2016 09:30:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46144 invoked by uid 48); 6 May 2016 09:29:57 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzcwOTM3XSBbNyBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUg?= =?UTF-8?B?Y29kZSDigJhzc2FfbmFtZeKAmSBpcyBub3Qgc3VwcG9ydGVkIGluIExUTyBz?= =?UTF-8?B?dHJlYW1z?= Date: Fri, 06 May 2016 09:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00513.txt.bz2 Content-length: 5667 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #9 from Richard Biener --- For gfortran.dg/array_constructor_type_7.f03 the difference is @@ -13,6 +13,7 @@ bitsizetype D.3466; sizetype D.3467; + typedef character(kind=3D1) struct character(kind=3D1)[1:2][1:.arr][1:2][1:.arr]; D.3462 =3D (bitsizetype) (sizetype) _s * 8; D.3463 =3D (sizetype) _s; D.3464 =3D (bitsizetype) (sizetype) _a1 * 8; which results in try { D.3477 =3D D.3458; D.3478 =3D D.3477 * 2; D.3479 =3D D.3459; ... .arr =3D MAX_EXPR <_9, 0>; _10 =3D (sizetype) .arr; _11 =3D (bitsizetype) _10; D.3458 =3D _11 * 8; and thus an uninitialized use of D.3458. Note there _is_ already a decl expr, but it looks like stmt side-effects arg 0 so it is for a VAR_DECL. It looks like the Fortran FE "gimplifes" type sizes on its own (in some cases at least). The above is built here: void gfc_trans_auto_array_allocation (tree decl, gfc_symbol * sym, gfc_wrapped_block * block) { ... /* Evaluate character string length. */ if (sym->ts.type =3D=3D BT_CHARACTER && onstack && !INTEGER_CST_P (sym->ts.u.cl->backend_decl)) { gfc_conv_string_length (sym->ts.u.cl, NULL, &init); gfc_trans_vla_type_sizes (sym, &init); /* Emit a DECL_EXPR for this variable, which will cause the gimplifier to allocate storage, and all that good stuff. */ tmp =3D fold_build1_loc (input_location, DECL_EXPR, TREE_TYPE (decl), decl); gfc_add_expr_to_block (&init, tmp); and gfc_trans_vla_type_sizes has the interesting comment: /* Make sure all type sizes and array domains are either constant, or variable or parameter decls. This is a simplified variant of gimplify_type_sizes, but we can't use it here, as none of the variables in the expressions have been gimplified yet. As type sizes and domains for various variable length arrays contain VAR_DECLs that are only initialized at gfc_trans_deferred_vars time, without this routine gimplify_type_sizes in the middle-end could result in the type sizes being gimplified earlier than where those variables are initialized. */ void gfc_trans_vla_type_sizes (gfc_symbol *sym, stmtblock_t *body) This code was added by Jakub ten years ago. I can fix the wrong-code regressions by restricting place_decl_expr to work on pointer types. But all this looks like the wrong way to fix the FE issue of missing DECL_EXPRs for some of its "anonymous" types it generates. But the above FE "gimplification" code suggests that it is wrong if the gimplifier ever sees non-gimplified type sizes. In this case the FE generated { integer(kind=3D8) D.3445; D.3445 =3D args->dim[0].stride; stride.1 =3D D.3445 !=3D 0 ? D.3445 : 1; args.0 =3D (character(kind=3D1)[0:D.3448][1:_args] * restrict) args->da= ta; ubound.0 =3D (args->dim[0].ubound - args->dim[0].lbound) + 1; size.3 =3D stride.1 * ubound.0; offset.2 =3D -stride.1; D.3446 =3D (bitsizetype) (sizetype) _args * 8; which is gimplified to _4 =3D (sizetype) _args; _5 =3D (bitsizetype) _4; D.3446 =3D _5 * 8; but the expression (sizetype) _args was also used in the TYPE_DECLs array type TYPE_SIZE SAVE_EXPR <((bitsizetype) _4 * (bitsizetype) (sizetype) ubound.0) * 8> which the FE "gimplification" doesn't adjust. The type we end up "gimplifying" is the one built by gfc_build_qualified_ar= ray. They are connected via TYPE_NAME (but they do not share sizes, they even use differently named decls): SAVE_EXPR <((bitsizetype) (sizetype) _args * (bitsizetype) (sizetype) uboun= d.0) * 8> SAVE_EXPR <((bitsizetype) (sizetype) _args * (bitsizetype) (sizetype) size.= 3) * 8> So the following patch also fixes this PR. Index: gcc/fortran/trans-decl.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/fortran/trans-decl.c (revision 235945) +++ gcc/fortran/trans-decl.c (working copy) @@ -3818,6 +3818,9 @@ gfc_trans_vla_type_sizes (gfc_symbol *sy } gfc_trans_vla_type_sizes_1 (type, body); + if (TYPE_NAME (type) + && TREE_TYPE (TYPE_NAME (type)) !=3D type) + gfc_trans_vla_type_sizes_1 (TREE_TYPE (TYPE_NAME (type)), body); } or the following, only making sure to get the unsharing correct. Index: gcc/fortran/trans-decl.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/fortran/trans-decl.c (revision 235945) +++ gcc/fortran/trans-decl.c (working copy) @@ -3818,6 +3818,11 @@ gfc_trans_vla_type_sizes (gfc_symbol *sy } gfc_trans_vla_type_sizes_1 (type, body); + /* gfc_build_qualified_array may have built this type but left TYPE_NAME + pointing to the original type whose type sizes we need to expose to + the gimplifier unsharing. */ + if (TYPE_NAME (type)) + gfc_add_expr_to_block (body, build1 (DECL_EXPR, type, TYPE_NAME (type)= )); } the last one I am testing now. >>From gcc-bugs-return-524342-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 09:31:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12341 invoked by alias); 6 May 2016 09:31:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8383 invoked by uid 48); 6 May 2016 09:31:39 -0000 From: "y.gribov at samsung dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/69443] -fsanitize=address should add -lpthread to linker call Date: Fri, 06 May 2016 09: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: y.gribov at samsung 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00514.txt.bz2 Content-length: 701 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69443 Yury Gribov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |y.gribov at samsung dot com --- Comment #2 from Yury Gribov --- (In reply to Jakub Jelinek from comment #1) > I'm afraid it is undesirable, various projects flag ldd -u diagnosed > dependencies as errors. Perhaps just configure without -fsanitize=3Daddr= ess > in CFLAGS and only add those for the actual builds? We could prefix -lpthread with -Wl,--as-needed to work around this. >>From gcc-bugs-return-524343-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 09:42:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129559 invoked by alias); 6 May 2016 09:42:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129417 invoked by uid 55); 6 May 2016 09:42:40 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/54089] [SH] Refactor shift patterns Date: Fri, 06 May 2016 09:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: olegendo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: olegendo at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00515.txt.bz2 Content-length: 603 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54089 --- Comment #45 from Oleg Endo --- Author: olegendo Date: Fri May 6 09:41:57 2016 New Revision: 235950 URL: https://gcc.gnu.org/viewcvs?rev=3D235950&root=3Dgcc&view=3Drev Log: gcc/ PR target/54089 * config/sh/sh.md (*rotcr): Add another variant. gcc/testsuite/ PR target/54089 * gcc.target/sh/pr54089-1.c (test_24): Add new sub-test. Modified: trunk/gcc/ChangeLog trunk/gcc/config/sh/sh.md trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/sh/pr54089-1.c >>From gcc-bugs-return-524344-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 09:48:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65931 invoked by alias); 6 May 2016 09:48:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60457 invoked by uid 55); 6 May 2016 09:47:58 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70875] ICE in get_ubsan_type_info_for_type with -fsanitize=undefined Date: Fri, 06 May 2016 09:48: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00516.txt.bz2 Content-length: 549 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70875 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Fri May 6 09:47:25 2016 New Revision: 235951 URL: https://gcc.gnu.org/viewcvs?rev=3D235951&root=3Dgcc&view=3Drev Log: PR sanitizer/70875 * ubsan.c (get_ubsan_type_info_for_type): Remove assert. * gcc.dg/ubsan/bounds-3.c: New test. Added: trunk/gcc/testsuite/gcc.dg/ubsan/bounds-3.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/ubsan.c >>From gcc-bugs-return-524345-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 09:53:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76501 invoked by alias); 6 May 2016 09:53:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75452 invoked by uid 55); 6 May 2016 09:53:09 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/52933] SH Target: Use div0s for integer sign comparisons Date: Fri, 06 May 2016 09:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: olegendo at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00517.txt.bz2 Content-length: 970 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52933 --- Comment #8 from Oleg Endo --- Author: olegendo Date: Fri May 6 09:52:35 2016 New Revision: 235952 URL: https://gcc.gnu.org/viewcvs?rev=3D235952&root=3Dgcc&view=3Drev Log: gcc/ PR target/52933 * config/sh/sh.md (*cmp_div0s_7, *cmp_div0s_8): Add div0s variants. * config/sh/sh.c (sh_rtx_costs): Add another div0s case. gcc/testsuite/ PR target/52933 * gcc.target/sh/pr52933-1.c (test_31, test_32, test_33, test_34, test_35, test_36, test_37, test_38, test_39, test_40): New sub-test= s. Adjust expected instruction counts. * gcc.target/sh/pr52933-2.c: Adjust expected instruction counts. Modified: trunk/gcc/ChangeLog trunk/gcc/config/sh/sh.c trunk/gcc/config/sh/sh.md trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/sh/pr52933-1.c trunk/gcc/testsuite/gcc.target/sh/pr52933-2.c >>From gcc-bugs-return-524346-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 09:58:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93474 invoked by alias); 6 May 2016 09:58:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93439 invoked by uid 48); 6 May 2016 09:58:36 -0000 From: "dhowells at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70973] New: x86: Can the __atomic_*() operations be made to list the LOCK prefixes? Date: Fri, 06 May 2016 09:58: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dhowells at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00518.txt.bz2 Content-length: 1971 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70973 Bug ID: 70973 Summary: x86: Can the __atomic_*() operations be made to list the LOCK prefixes? Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dhowells at redhat dot com Target Milestone: --- When generating x86 code, the Linux kernel constructs a list of the LOCK prefixes it applies to inline assembly-coded atomic operations. This allows the LOCK prefixes to be NOP'd out if there's only one CPU online. Would it be possible to duplicate this in gcc? What the kernel does is this: #ifdef CONFIG_SMP #define LOCK_PREFIX_HERE \ ".pushsection .smp_locks,\"a\"\n" \ ".balign 4\n" \ ".long 671f - .\n" /* offset */ \ ".popsection\n" \ "671:" #define LOCK_PREFIX LOCK_PREFIX_HERE "\n\tlock; " #else /* ! CONFIG_SMP */ #define LOCK_PREFIX_HERE "" #define LOCK_PREFIX "" #endif placing a 32-bit relative pointer in the .smp_locks section (we're assuming that .smp_locks isn't going to be more than 2G away from the .text section). Note, however, some LOCK prefixes apparently cannot be dispensed with, so t= he listing cannot be unconditional via a command-line flag. Would it be possible to provide a constant to OR with the memorder paramete= r to flag that this atomic op should be listed in .smp_locks? E.g.: orig =3D __atomic_fetch_or(ptr, mask, __ATOMIC_ACQUIRE | __ATOMIC_RECORD_LOCK); This might also be useful in userspace. So, for example, pthread initialisation could replace a bunch of NOPs with a bunch of LOCKs so that single-threaded processes don't get a performance penalty from LOCKed instructions. >>From gcc-bugs-return-524347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 10:01:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98949 invoked by alias); 6 May 2016 10:01:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98752 invoked by uid 48); 6 May 2016 10:01:38 -0000 From: "dhowells at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70973] x86: Can the __atomic_*() operations be made to list the LOCK prefixes? Date: Fri, 06 May 2016 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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dhowells at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00519.txt.bz2 Content-length: 446 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70973 --- Comment #1 from dhowells at redhat dot com = --- There may be space that can be used in the memorder parameter: "The memory order parameter is a signed int, but only the lower 16 bits are reserved for the memory order. The remainder of the signed int is reserved = for target use and should be 0. Use of the predefined atomic values ensures pro= per usage." >>From gcc-bugs-return-524348-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 10:02:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99836 invoked by alias); 6 May 2016 10:02:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99363 invoked by uid 48); 6 May 2016 10:01:55 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70948] [7 Regression] r235622 caused gcc.c-torture/execute/va-arg-pack-1.c execution failure AArch64 Date: Fri, 06 May 2016 10:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00520.txt.bz2 Content-length: 1211 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70948 --- Comment #2 from Richard Biener --- I don't have an arm execution environment so maybe you can help me reducing/analyzing this a bit. The two places the optimization happens on are during PRE in foo1: Visiting control stmt ending BB 34: if (v_23 !=3D &v4) Applying pattern match.pd:2408, gimple-match.c:1275 Marking all edges out of BB 34 but (34 -> 76) as not executable and in foo2: Visiting control stmt ending BB 34: if (v_23 !=3D &v2) Applying pattern match.pd:2408, gimple-match.c:1275 Marking all edges out of BB 34 but (34 -> 52) as not executable v_23 is found to point to nothing in both cases (PRE re-runs PTA here). Relevant constraints: _154 =3D &NONLOCAL _155 =3D _154 + UNKNOWN _156 =3D _155 ap.0+64 =3D _156 _159 =3D ap.64+64 iftmp.35_161 =3D _159 + UNKNOWN v_23 =3D *iftmp.35_161 There are no assigns to ap.64+64 (&ap at offset 64 bits, 64 bits size). The issue is that : # USE =3D nonlocal escaped # CLB =3D nonlocal escaped { D.2770 } (escaped) __builtin_va_start (&ap, 0); results in ap.0+64 =3D &NONLOCAL CALLCLOBBERED(15) =3D &ap.0+64 but fails to "clobber" all other fields. >>From gcc-bugs-return-524349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 10:12:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62967 invoked by alias); 6 May 2016 10:12:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62694 invoked by uid 48); 6 May 2016 10:12:07 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70948] [7 Regression] r235622 caused gcc.c-torture/execute/va-arg-pack-1.c execution failure AArch64 Date: Fri, 06 May 2016 10:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00521.txt.bz2 Content-length: 972 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70948 --- Comment #3 from Richard Biener --- The following should fix it, I am going to test it on x86_64: Index: gcc/tree-ssa-structalias.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/tree-ssa-structalias.c (revision 235945) +++ gcc/tree-ssa-structalias.c (working copy) @@ -4492,7 +4492,7 @@ find_func_aliases_for_builtin_call (stru tree valist =3D gimple_call_arg (t, 0); struct constraint_expr rhs, *lhsp; unsigned i; - get_constraint_for (valist, &lhsc); + get_constraint_for_ptr_offset (valist, NULL_TREE, &lhsc); do_deref (&lhsc); /* The va_list gets access to pointers in variadic arguments. Which we know in the case of IPA analysis >>From gcc-bugs-return-524350-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 10:19:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71773 invoked by alias); 6 May 2016 10:19:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71599 invoked by uid 48); 6 May 2016 10:19:23 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70960] [7 Regression] ICE: tree check: expected ssa_name, have integer_cst in ifcvt_walk_pattern_tree, at tree-if-conv.c:2465 Date: Fri, 06 May 2016 10:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00522.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70960 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Richard Biener --- Fixed. >>From gcc-bugs-return-524351-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 10:19:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72487 invoked by alias); 6 May 2016 10:19:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71711 invoked by uid 55); 6 May 2016 10:19:31 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70960] [7 Regression] ICE: tree check: expected ssa_name, have integer_cst in ifcvt_walk_pattern_tree, at tree-if-conv.c:2465 Date: Fri, 06 May 2016 10:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00523.txt.bz2 Content-length: 665 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70960 --- Comment #4 from Richard Biener --- Author: rguenth Date: Fri May 6 10:18:59 2016 New Revision: 235953 URL: https://gcc.gnu.org/viewcvs?rev=3D235953&root=3Dgcc&view=3Drev Log: 2016-05-06 Richard Biener PR tree-optimization/70960 * tree-if-conv.c (ifcvt_walk_pattern_tree): Handle non-SSA ops. * gfortran.fortran-torture/compile/pr70960.f90: New testcase. Added: trunk/gcc/testsuite/gfortran.fortran-torture/compile/pr70960.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-if-conv.c >>From gcc-bugs-return-524352-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 10:21:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74689 invoked by alias); 6 May 2016 10:21:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74498 invoked by uid 55); 6 May 2016 10:20:48 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/58219] [SH] mov.l insn length is wrong on SH2A Date: Fri, 06 May 2016 10:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00524.txt.bz2 Content-length: 1213 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58219 --- Comment #2 from Oleg Endo --- Author: olegendo Date: Fri May 6 10:20:13 2016 New Revision: 235954 URL: https://gcc.gnu.org/viewcvs?rev=3D235954&root=3Dgcc&view=3Drev Log: gcc/ PR target/58219 * config/sh/predicates.md (long_displacement_mem_operand): New. * config/sh/sh.md (movsi_i): Allow for SH2A, disallow for any FPU. Add movi20, movi20s alternatives. Adjust length attribute for alternatives. (movsi_ie): Allow for any FPU. Adjust length attribute for alternatives. (movsi_i_lowpart): Add movi20, movi20s alternatives. Adjust length attribute for alternatives. (*mov): Use long_displacement_mem_operand for length attribut= e. (*movdi_i, movdf_k, movdf_i4, movsf_i, movsf_ie, movsf_ie_ra): Adju= st length attribute for alternatives. gcc/testsuite/ PR target/58219 *gcc.target/sh/pr58219.c: New tests. Added: trunk/gcc/testsuite/gcc.target/sh/pr58219.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/sh/predicates.md trunk/gcc/config/sh/sh.md trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524353-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 10:27:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97405 invoked by alias); 6 May 2016 10:27:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97296 invoked by uid 48); 6 May 2016 10:27:12 -0000 From: "jiwang at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70948] [7 Regression] r235622 caused gcc.c-torture/execute/va-arg-pack-1.c execution failure AArch64 Date: Fri, 06 May 2016 10:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jiwang at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00525.txt.bz2 Content-length: 1105 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70948 --- Comment #4 from Jiong Wang --- (In reply to Richard Biener from comment #3) > The following should fix it, I am going to test it on x86_64: >=20 > Index: gcc/tree-ssa-structalias.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- gcc/tree-ssa-structalias.c (revision 235945) > +++ gcc/tree-ssa-structalias.c (working copy) > @@ -4492,7 +4492,7 @@ find_func_aliases_for_builtin_call (stru > tree valist =3D gimple_call_arg (t, 0); > struct constraint_expr rhs, *lhsp; > unsigned i; > - get_constraint_for (valist, &lhsc); > + get_constraint_for_ptr_offset (valist, NULL_TREE, &lhsc); > do_deref (&lhsc); > /* The va_list gets access to pointers in variadic > arguments. Which we know in the case of IPA analysis Thanks. This patch fixed all regressions on my native test. >>From gcc-bugs-return-524354-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 10:38:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31358 invoked by alias); 6 May 2016 10:38:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31162 invoked by uid 48); 6 May 2016 10:38:43 -0000 From: "noloader at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70974] New: armv8-a+crc does not define __ARM_ACLE Date: Fri, 06 May 2016 10:38: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: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: noloader 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00526.txt.bz2 Content-length: 2787 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70974 Bug ID: 70974 Summary: armv8-a+crc does not define __ARM_ACLE Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: noloader at gmail dot com Target Milestone: --- I'm working with a HiKey dev board. It provides AArch64. I'm trying to compile a simple program: $ cat test.cxx #if (defined(__ARM_NEON__) || defined(__ARM_NEON)) # define NEON_INTRINSICS_AVAILABLE 1 #else # define NEON_INTRINSICS_AVAILABLE 0 #endif #if BOOL_NEON_INTRINSICS_AVAILABLE # include # if (__ARM_ACLE >=3D 200) # include # endif #endif #include int main(int argc, char* argv[]) { uint32_t crc =3D 0; crc =3D __crc32b(crc, (uint8_t)0); return 0 } Compiling the program results in: $ g++ -march=3Darmv8-a+crc test.cxx -o test.exe test.cxx: In function =E2=80=98int main(int, char**)=E2=80=99: test.cxx:19:33: error: =E2=80=98__crc32b=E2=80=99 was not declared in this = scope crc =3D __crc32b(crc, (uint8_t)0); ^ test.cxx:22:1: error: expected =E2=80=98;=E2=80=99 before =E2=80=98}=E2=80= =99 token } ^ According to "ARM=C2=AE C Language Extensions Release 2.0" (http://infocenter.arm.com/help/topic/com.arm.doc.ihi0053c/IHI0053C_acle_2_= 0.pdf), it looks like GCC is failing to define the necessary preprocessor macros. F= or the CRC32 gear, it looks like GCC needs to -D__ARM_ACLE=3D200. Also, I'm using GCC 4.9, so __has_include(x) is not available to me. ---------- $ g++ -march=3Darmv8-a+crc -dM -E - >From gcc-bugs-return-524355-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 10:50:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110100 invoked by alias); 6 May 2016 10:50:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109777 invoked by uid 55); 6 May 2016 10:50:36 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70342] g++ -fsanitize=undefined never finishes compiling (>24h) in qtxmlpatterns test suite Date: Fri, 06 May 2016 10:50: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00527.txt.bz2 Content-length: 661 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70342 --- Comment #11 from Marek Polacek --- Author: mpolacek Date: Fri May 6 10:50:03 2016 New Revision: 235958 URL: https://gcc.gnu.org/viewcvs?rev=3D235958&root=3Dgcc&view=3Drev Log: PR sanitizer/70342 * fold-const.c (tree_single_nonzero_warnv_p): For TARGET_EXPR, use TARGET_EXPR_SLOT as a base. * g++.dg/ubsan/null-7.C: New test. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/ubsan/null-7.C Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/fold-const.c branches/gcc-6-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524356-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 10:54:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117165 invoked by alias); 6 May 2016 10:54:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 116983 invoked by uid 55); 6 May 2016 10:54:44 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70875] ICE in get_ubsan_type_info_for_type with -fsanitize=undefined Date: Fri, 06 May 2016 10:54: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00528.txt.bz2 Content-length: 613 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70875 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Fri May 6 10:54:12 2016 New Revision: 235959 URL: https://gcc.gnu.org/viewcvs?rev=3D235959&root=3Dgcc&view=3Drev Log: PR sanitizer/70875 * ubsan.c (get_ubsan_type_info_for_type): Remove assert. * gcc.dg/ubsan/bounds-3.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.dg/ubsan/bounds-3.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/ubsan.c >>From gcc-bugs-return-524357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 10:56:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49891 invoked by alias); 6 May 2016 10:56:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27656 invoked by uid 48); 6 May 2016 10:55:48 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70875] ICE in get_ubsan_type_info_for_type with -fsanitize=undefined Date: Fri, 06 May 2016 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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00529.txt.bz2 Content-length: 443 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70875 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Marek Polacek --- Fixed for GCC 6 / 7. >>From gcc-bugs-return-524358-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 10:56:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83705 invoked by alias); 6 May 2016 10:56:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54451 invoked by uid 48); 6 May 2016 10:56:09 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/70342] g++ -fsanitize=undefined never finishes compiling (>24h) in qtxmlpatterns test suite Date: Fri, 06 May 2016 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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00530.txt.bz2 Content-length: 444 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70342 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #12 from Marek Polacek --- Fixed for GCC 6 / 7. >>From gcc-bugs-return-524359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 11:22:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42472 invoked by alias); 6 May 2016 11:22:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42210 invoked by uid 48); 6 May 2016 11:22:34 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzcwOTM3XSBbNyBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUg?= =?UTF-8?B?Y29kZSDigJhzc2FfbmFtZeKAmSBpcyBub3Qgc3VwcG9ydGVkIGluIExUTyBz?= =?UTF-8?B?dHJlYW1z?= Date: Fri, 06 May 2016 11:22: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: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00531.txt.bz2 Content-length: 602 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 --- Comment #10 from Dominique d'Humieres --- With the second patch in comment 9 applied on top of my working tree (heavi= ly patched), I get [Book15] f90/bug% gfc /opt/gcc/_clean/gcc/testsuite/gfortran.dg/allocatable_function_4.f90 -fdump-tree-original /opt/gcc/_clean/gcc/testsuite/gfortran.dg/allocatable_function_4.f90:52:0: end function unique_A internal compiler error: tree check: expected tree that contains 'decl comm= on' structure, have 'identifier_node' in print_declaration, at tree-pretty-print.c:3287 >>From gcc-bugs-return-524360-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 11:28:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102595 invoked by alias); 6 May 2016 11:28:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102191 invoked by uid 55); 6 May 2016 11:28:45 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzcwOTM3XSBbNyBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUg?= =?UTF-8?B?Y29kZSDigJhzc2FfbmFtZeKAmSBpcyBub3Qgc3VwcG9ydGVkIGluIExUTyBz?= =?UTF-8?B?dHJlYW1z?= Date: Fri, 06 May 2016 11:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00532.txt.bz2 Content-length: 1782 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 --- Comment #11 from rguenther at suse dot de --- On Fri, 6 May 2016, dominiq at lps dot ens.fr wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 >=20 > --- Comment #10 from Dominique d'Humieres --- > With the second patch in comment 9 applied on top of my working tree (hea= vily > patched), I get >=20 > [Book15] f90/bug% gfc > /opt/gcc/_clean/gcc/testsuite/gfortran.dg/allocatable_function_4.f90 > -fdump-tree-original > /opt/gcc/_clean/gcc/testsuite/gfortran.dg/allocatable_function_4.f90:52:0: >=20 > end function unique_A >=20 > internal compiler error: tree check: expected tree that contains 'decl co= mmon' > structure, have 'identifier_node' in print_declaration, at > tree-pretty-print.c:3287 Which means TYPE_NAME is an IDENTIFIER_NODE here. Index: gcc/fortran/trans-decl.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/fortran/trans-decl.c (revision 235945) +++ gcc/fortran/trans-decl.c (working copy) @@ -3818,6 +3818,12 @@ gfc_trans_vla_type_sizes (gfc_symbol *sy } gfc_trans_vla_type_sizes_1 (type, body); + /* gfc_build_qualified_array may have built this type but left=20 TYPE_NAME + pointing to the original type whose type sizes we need to expose to + the gimplifier unsharing. */ + if (TYPE_NAME (type) + && TREE_CODE (TYPE_NAME (type)) =3D=3D TYPE_DECL) + gfc_add_expr_to_block (body, build1 (DECL_EXPR, type, TYPE_NAME=20 (type))); } fixes this. I'm going to re-test with that change, will not be able to commit before Monday. >>From gcc-bugs-return-524362-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 11:33:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110882 invoked by alias); 6 May 2016 11:33:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110697 invoked by uid 48); 6 May 2016 11:33:39 -0000 From: "wdijkstr at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70961] Regrename ignores preferred_rename_class Date: Fri, 06 May 2016 11:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wdijkstr at arm 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00534.txt.bz2 Content-length: 1310 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70961 --- Comment #3 from Wilco --- (In reply to Eric Botcazou from comment #2) > Pass #2 ignores it since the preference simply couldn't be honored. In which case it should not rename that chain rather than just ignore the preference (and a preference of NO_REGS should probably also block renaming= ). > > The super_class has nothing to do with the class that is searched for > > renaming registers though, it's just the info passed to the back-end to > > compute this class. For example, on the ARM, the preferred_class will = be > > LO_REGS for any chain of GENERAL_REGS. Actually for a chain of GENERAL_REGS the preferred class should be GENERAL_= REGS - using LO_REGS in that case would be counterproductive. You'd prefer LO_RE= GS only when *some* of the patterns in a chain are LO_REGS. But since the call= back only ever sees the union of all classes in a chain, I don't think could make the correct decision. > As a matter of fact, that might not be true, something like > > + if (TARGET_THUMB2 && reg_class_subset_p (rclass, GENERAL_REGS)) > return LO_REGS; I tried something similar, as well as always returning LO_REGS or NO_REGS, = but this makes no difference at all due to pass 2 ignoring the preference... >>From gcc-bugs-return-524361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 11:33:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109726 invoked by alias); 6 May 2016 11:33:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109637 invoked by uid 48); 6 May 2016 11:33:11 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70964] [7 Regression] internal compiler error: in single_succ_edge, at basic-block.h:351 Date: Fri, 06 May 2016 11:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00533.txt.bz2 Content-length: 809 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70964 --- Comment #3 from ktkachov at gcc dot gnu.org --- Another testcase that started ICEing with r235842. int a, b; int fn1 (int p1) { return p1 < 0 ? p1 : a; } void fn2 () { lbl_100: b =3D 1; for (; b !=3D 21; b =3D fn1 (b)) ; goto lbl_100; } with -Ofast with a different backtrace: ice.c:9:1: internal compiler error: in combine_blocks, at tree-if-conv.c:22= 19 fn2 () ^~~ 0xb49a15 combine_blocks $SRC/gcc/tree-if-conv.c:2219 0xb4b17b tree_if_conversion $SRC/gcc/tree-if-conv.c:2741 0xb4b17b execute $SRC/gcc/tree-if-conv.c:2829 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-524363-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 11:39:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118669 invoked by alias); 6 May 2016 11:39:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118504 invoked by uid 48); 6 May 2016 11:39:09 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70975] New: experimental/filesystem/operations/copy.cc FAILs on Solaris 12 Date: Fri, 06 May 2016 11:39: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget cf_gccbuild Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00535.txt.bz2 Content-length: 2263 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70975 Bug ID: 70975 Summary: experimental/filesystem/operations/copy.cc FAILs on Solaris 12 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Target Milestone: --- Host: *-*-solaris2.12 Target: *-*-solaris2.12 Build: *-*-solaris2.12 The experimental/filesystem/operations/copy.cc testcase FAILs on Solaris 12: FAIL: experimental/filesystem/operations/copy.cc execution test Unfortunately, the gdb stack trace is completely misleading, but dbx reveals signal SEGV (no mapping at the fault address) in sendfile at 0xfdf0e533 0xfdf0e533: sendfile+0x0023: movl (%esi),%eax Current function is do_copy_file 429 const auto n =3D ::sendfile(out.fd, in.fd, nullptr, from_st->st_size); [1] sendfile(0x4, 0x3, 0x0, 0x0), at 0xfdf0e533=20 =3D>[2] do_copy_file(from =3D CLASS, to =3D CLASS, option =3D copy_options:= :none, from_st =3D 0xfeffd628, to_st =3D (nil), ec =3D STRUCT), line 429 in "ops.c= c" [3] std::experimental::filesystem::v1::copy(from =3D CLASS, to =3D CLASS,= options =3D copy_options::none, ec =3D STRUCT), line 540 in "ops.cc" [4] std::experimental::filesystem::v1::copy(from =3D CLASS, to =3D CLASS,= options =3D copy_options::none), line 232 in "ops.cc" [5] std::experimental::filesystem::v1::copy(__from =3D CLASS, __to =3D CL= ASS), line 62 in "fs_ops.h" [6] test03(), line 109 in "copy.cc" [7] main(), line 152 in "copy.cc" Looking at the source reveals what's the problem: #ifdef _GLIBCXX_USE_SENDFILE const auto n =3D ::sendfile(out.fd, in.fd, nullptr, from_st->st_size); sendfile is called with off =3D nullptr. While this is supported on Linux, Solaris unconditionally dereferences off as can be seen in the OpenSolaris libsendfile sources. AFAICT, sendfile is not in XPG7, so it's unclear what the ultimate specification is. Solaris 10 and 11 are not affected since sendfile() only lives in libsendfi= le, while it has been folded into libc in Solaris 12. Rainer >>From gcc-bugs-return-524364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 11:39:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120599 invoked by alias); 6 May 2016 11:39:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120338 invoked by uid 48); 6 May 2016 11:39:46 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70975] experimental/filesystem/operations/copy.cc FAILs on Solaris 12 Date: Fri, 06 May 2016 11:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00536.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70975 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 >>From gcc-bugs-return-524365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 11:47:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54705 invoked by alias); 6 May 2016 11:47:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 45872 invoked by uid 48); 6 May 2016 11:47:02 -0000 From: "b7.10110111 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70976] New: Useless vectorization leads to degradation of performance Date: Fri, 06 May 2016 11:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: b7.10110111 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00537.txt.bz2 Content-length: 1509 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70976 Bug ID: 70976 Summary: Useless vectorization leads to degradation of performance Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: b7.10110111 at gmail dot com Target Milestone: --- See the following code: #include int main() { unsigned long u =3D 13; for(unsigned long i =3D 0; i < 1UL<<30; i++) u +=3D 23442*u; if (u =3D=3D 0) printf("0\n"); } Compiling it on an AMD64 system with -O2, I get normal assembly for the loo= p: .L2: imul rdx, rdx, 23443 sub rax, 1 jne .L2 But if I use -O3, the loop looks like this: .L2: movdqa xmm3, xmm1 add eax, 1 movdqa xmm0, xmm1 pmuludq xmm1, xmm4 cmp eax, 536870912 pmuludq xmm3, xmm2 psrlq xmm0, 32 pmuludq xmm0, xmm2 paddq xmm0, xmm1 movdqa xmm1, xmm3 psllq xmm0, 32 paddq xmm1, xmm0 jne .L2 Not only does it become longer, but also it needlessly does calculations on pairs of identical numbers. On my CPU (Intel(R) Xeon(R) CPU E3-1226 v3 @ 3.30GHz) the -O2 version is almost two times faster than -O3 one. This happens with gcc 4.7.3 and newer, but doesn't with 4.6.4 and older. >>From gcc-bugs-return-524366-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 11:59:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53631 invoked by alias); 6 May 2016 11:59:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51610 invoked by uid 48); 6 May 2016 11:59:11 -0000 From: "aleksandergajewski at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70977] New: Error during compilation of facebook/wangle (flag c++0x works, flag c++14 fails). Date: Fri, 06 May 2016 11:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aleksandergajewski 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00538.txt.bz2 Content-length: 2241 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70977 Bug ID: 70977 Summary: Error during compilation of facebook/wangle (flag c++0x works, flag c++14 fails). Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: aleksandergajewski at gmail dot com Target Milestone: --- GCC version as follows: (nothing but svn checkout release_6_1.. && ./config= ure --prefix=3D/usr && make && make install): adiog@box:~/dev/wangle/build-6.1$ c++ --version c++ (GCC) 6.1.0 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The problem should be easy to reproduce (compilation fails on first file in= a project). I have compiled https://github.com/facebook/wangle, but with chan= ged flag from -std=3Dc++0x to -std=3Dc++14. In first case compilation terminate= s after few seconds, in second one there is a gcc internal error (after few minutes with whole ram 4gb and whole swap consumed). htop does not show any cpu usa= ge. adiog@box:~/dev/wangle/build-6.1$ time /usr/bin/c++=20=20=20 -I/home/adiog/dev/wangle/.. -I/usr/local/include -I/home/adiog/dev/wangle/gmock/src/gmock/include -I/home/adiog/dev/wangle/gmock/src/gmock/gtest/include -std=3Dc++0x -fPIC = -o CMakeFiles/wangle.dir/acceptor/Acceptor.cpp.o -c /home/adiog/dev/wangle/acceptor/Acceptor.cpp real 0m6.311s user 0m6.036s sys 0m0.256s adiog@box:~/dev/wangle/build-6.1$ time /usr/bin/c++=20=20=20 -I/home/adiog/dev/wangle/.. -I/usr/local/include -I/home/adiog/dev/wangle/gmock/src/gmock/include -I/home/adiog/dev/wangle/gmock/src/gmock/gtest/include -std=3Dc++14 -fPIC = -o CMakeFiles/wangle.dir/acceptor/Acceptor.cpp.o -c /home/adiog/dev/wangle/acceptor/Acceptor.cpp c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. real 3m41.641s user 1m5.628s sys 0m5.684s >>From gcc-bugs-return-524367-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 12:00:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61184 invoked by alias); 6 May 2016 12:00:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60227 invoked by uid 55); 6 May 2016 12:00:31 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzcwOTM3XSBbNyBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUg?= =?UTF-8?B?Y29kZSDigJhzc2FfbmFtZeKAmSBpcyBub3Qgc3VwcG9ydGVkIGluIExUTyBz?= =?UTF-8?B?dHJlYW1z?= Date: Fri, 06 May 2016 12:00: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: rguenther at suse dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00539.txt.bz2 Content-length: 3482 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 --- Comment #12 from rguenther at suse dot de --- On Fri, 6 May 2016, Richard Biener wrote: > On Fri, 6 May 2016, dominiq at lps dot ens.fr wrote: >=20 > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 > >=20 > > --- Comment #10 from Dominique d'Humieres -= -- > > With the second patch in comment 9 applied on top of my working tree (h= eavily > > patched), I get > >=20 > > [Book15] f90/bug% gfc > > /opt/gcc/_clean/gcc/testsuite/gfortran.dg/allocatable_function_4.f90 > > -fdump-tree-original > > /opt/gcc/_clean/gcc/testsuite/gfortran.dg/allocatable_function_4.f90:52= :0: > >=20 > > end function unique_A > >=20 > > internal compiler error: tree check: expected tree that contains 'decl = common' > > structure, have 'identifier_node' in print_declaration, at > > tree-pretty-print.c:3287 >=20 > Which means TYPE_NAME is an IDENTIFIER_NODE here. >=20 > Index: gcc/fortran/trans-decl.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- gcc/fortran/trans-decl.c (revision 235945) > +++ gcc/fortran/trans-decl.c (working copy) > @@ -3818,6 +3818,12 @@ gfc_trans_vla_type_sizes (gfc_symbol *sy > } >=20=20 > gfc_trans_vla_type_sizes_1 (type, body); > + /* gfc_build_qualified_array may have built this type but left=20 > TYPE_NAME > + pointing to the original type whose type sizes we need to expose to > + the gimplifier unsharing. */ > + if (TYPE_NAME (type) > + && TREE_CODE (TYPE_NAME (type)) =3D=3D TYPE_DECL) > + gfc_add_expr_to_block (body, build1 (DECL_EXPR, type, TYPE_NAME=20 > (type))); > } >=20=20 >=20=20 >=20 > fixes this. I'm going to re-test with that change, will not be able > to commit before Monday. Interestingly even with that I still at least get FAIL: libgomp.fortran/vla7.f90 -O0 execution test FAIL: libgomp.fortran/vla7.f90 -O1 execution test FAIL: libgomp.fortran/vla7.f90 -O2 execution test FAIL: libgomp.fortran/vla7.f90 -O3 -fomit-frame-pointer -funroll-loops=20 -fpeel-loops -ftracer -finline-functions execution test FAIL: libgomp.fortran/vla7.f90 -O3 -g execution test FAIL: libgomp.fortran/vla7.f90 -Os execution test I wonder if it would be better to simply _not_ use the "old" type when building the TYPE_DECL for the restrict array type... Index: gcc/fortran/trans-decl.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/fortran/trans-decl.c (revision 235945) +++ gcc/fortran/trans-decl.c (working copy) @@ -1004,8 +1004,8 @@ gfc_build_qualified_array (tree decl, gf } } TYPE_NAME (type) =3D type_decl =3D build_decl (input_location, - TYPE_DECL, NULL, gtype); - DECL_ORIGINAL_TYPE (type_decl) =3D gtype; + TYPE_DECL, NULL, type); + DECL_ORIGINAL_TYPE (type_decl) =3D type; } } this also fixes the original testcase but it seems that was done on purpose for debug info in r139774 (by Jakub again). As for the execute fail it looks like the place of the DECL_EXPR is wrong (just guessing here). >>From gcc-bugs-return-524368-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 12:04:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84913 invoked by alias); 6 May 2016 12:04:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84707 invoked by uid 48); 6 May 2016 12:04:44 -0000 From: "aleksandergajewski at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70977] Error during compilation of facebook/wangle (flag c++0x works, flag c++14 fails). Date: Fri, 06 May 2016 12:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aleksandergajewski at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc cf_gccbuild Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00540.txt.bz2 Content-length: 567 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70977 Aleksander Gajewski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aleksandergajewski at gmai= l dot co | |m Build| |x86_64 --- Comment #1 from Aleksander Gajewski --- Compiled on Debian 8 with gcc-5.3. >>From gcc-bugs-return-524369-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 12:08:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94133 invoked by alias); 6 May 2016 12:08:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93633 invoked by uid 55); 6 May 2016 12:07:58 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/70935] [6/7 Regression] ICE: verify_ssa failed (error: definition in block 9 does not dominate use in block 12) w/ -O3 -g Date: Fri, 06 May 2016 12:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00541.txt.bz2 Content-length: 757 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70935 --- Comment #5 from Ilya Enkovich --- Author: ienkovich Date: Fri May 6 12:07:25 2016 New Revision: 235962 URL: https://gcc.gnu.org/viewcvs?rev=3D235962&root=3Dgcc&view=3Drev Log: gcc/ 2016-05-06 Yuri Rumyantsev PR debug/70935 * tree-ssa-loop-unswitch.c (find_loop_guard): Reject guard edge with loop latch destination. gcc/testsuite/ 2016-05-06 Yuri Rumyantsev PR debug/70935 * gcc.dg/torture/pr70935.c: New test. Added: trunk/gcc/testsuite/gcc.dg/torture/pr70935.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-loop-unswitch.c >>From gcc-bugs-return-524370-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 12:13:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103673 invoked by alias); 6 May 2016 12:13:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103336 invoked by uid 48); 6 May 2016 12:13:09 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70976] Useless vectorization leads to degradation of performance Date: Fri, 06 May 2016 12: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: 6.1.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cf_gcctarget bug_status cf_reconfirmed_on component everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00542.txt.bz2 Content-length: 1335 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70976 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Target| |x86_64-*-*, i?86-*-* Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-06 Component|rtl-optimization |target Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. The cost estimate for the unsigned vector multiplication is off. Confirmed also for the second observation - even the scalar loop could have been improved by transforming it into u =3D 1; for(unsigned long i =3D 0; i < 1UL<<30 / 2; i++) u +=3D 23442*u; u *=3D u; u *=3D 13; but I hardly think that blaming this on the compiler is ok - the source is simply using a very inefficient algorithm. Still we could pattern match some of the most common summation sequences and transform them into sth better. Keeping this bug for the target vectorizer cost model issue which should ha= ve prevented vectorization from being happened. >>From gcc-bugs-return-524371-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 12:19:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13589 invoked by alias); 6 May 2016 12:19:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13395 invoked by uid 48); 6 May 2016 12:19:03 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70978] New: [5 Regression] internal compiler error: in assign_by_spills, at lra-assigns.c:1428 on arm Date: Fri, 06 May 2016 12:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00543.txt.bz2 Content-length: 2334 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70978 Bug ID: 70978 Summary: [5 Regression] internal compiler error: in assign_by_spills, at lra-assigns.c:1428 on arm Product: gcc Version: 5.3.1 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org Target Milestone: --- Target: arm* Created attachment 38426 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38426&action=3Dedit Reduced testcase The attached testcases ICEs in LRA on the GCC 5 branch when compiled with -S -O3 -mfloat-abi=3Dhard -mcpu=3Dcortex-a57 -mfpu=3Dneon-fp-armv8. ../reduced.c: In function 'f2': ../reduced.c:36:5: warning: implicit declaration of function 'f3' [-Wimplicit-function-declaration] f3 (f, f3, m); ^ ../reduced.c:80:1: error: unable to find a register to spill } ^ ../reduced.c:80:1: error: this is the insn: (insn 242 241 33 4 (set (reg:SI 246) (plus:SI (reg:SI 243) (reg:SI 245))) ../reduced.c:40 4 {*arm_addsi3} (expr_list:REG_DEAD (reg:SI 245) (expr_list:REG_DEAD (reg:SI 243) (nil)))) ../reduced.c:80:1: internal compiler error: in assign_by_spills, at lra-assigns.c:1428 0xa67cfa _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) $SRC/gcc/rtl-error.c:110 0x987cfc assign_by_spills $SRC/gcc/lra-assigns.c:1428 0x987cfc lra_assign() $SRC/gcc/lra-assigns.c:1603 0x98424f lra(_IO_FILE*) $SRC/gcc/lra.c:2389 0x94576c do_reload $SRC/gcc/ira.c:5422 0x94576c execute $SRC/gcc/ira.c:5593 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. This doesn't happen on trunk, GCC 6, or 4.9. Bisection on the branch showed that it started with r233454, a backport of a trunk patch. However, that patch is very unlikely to be the cause of this, but rather se= ems to expose a latent bug, perhaps in LRA. I haven't been able to reproduce th= is on trunk by going to the same revision that r233454 backports. >>From gcc-bugs-return-524372-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 12:20:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15731 invoked by alias); 6 May 2016 12:20:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15434 invoked by uid 48); 6 May 2016 12:19:51 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70978] [5 Regression] internal compiler error: in assign_by_spills, at lra-assigns.c:1428 on arm Date: Fri, 06 May 2016 12:20: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: 5.3.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work target_milestone cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00544.txt.bz2 Content-length: 399 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70978 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |4.9.4, 6.1.0, 7.0 Target Milestone|--- |5.4 Known to fail| |5.3.1 >>From gcc-bugs-return-524373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 12:25:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43902 invoked by alias); 6 May 2016 12:25:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43779 invoked by uid 48); 6 May 2016 12:25:02 -0000 From: "felix.morgner at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70979] New: [C++14] g++ falsely accepts constexpr function returning a lambda Date: Fri, 06 May 2016 12:25: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: felix.morgner at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00545.txt.bz2 Content-length: 1675 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70979 Bug ID: 70979 Summary: [C++14] g++ falsely accepts constexpr function returning a lambda Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: felix.morgner at gmail dot com Target Milestone: --- Created attachment 38427 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38427&action=3Dedit The example code g++ accepts the following code as valid: constexpr auto make() { return []{}; } int main() { make()(); } However, according to ISO14882:2014 [dcl.constexpr] requires: The definition of a constexpr function shall satisfy the following constraints: [...] - its return type shall be a literal type; [...] While it states in [expr.prim.lambda]: The type of the lambda-expression (which is also the type of the closure object) is a unique, unnamed non-union class type - called the closure type= - whose properties are described below. This class type is neither an aggrega= te (8.5.1) nor a literal type (3.9) [...] clang++ reports the following error: lambda.cpp:1:16: error: constexpr function's return type '(lambda at lambda.cpp:3:10)' is not a literal type constexpr auto make() ^ lambda.cpp:3:10: note: '' is not literal because it is not an aggregate= and has no constexpr constructors other than copy or move constructors return []{}; ^ 1 error generated. which would be the expected behavior. >>From gcc-bugs-return-524375-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 12:49:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65046 invoked by alias); 6 May 2016 12:49:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64643 invoked by uid 48); 6 May 2016 12:49:44 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzcwOTM3XSBbNyBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUg?= =?UTF-8?B?Y29kZSDigJhzc2FfbmFtZeKAmSBpcyBub3Qgc3VwcG9ydGVkIGluIExUTyBz?= =?UTF-8?B?dHJlYW1z?= Date: Fri, 06 May 2016 12:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00547.txt.bz2 Content-length: 3214 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 --- Comment #13 from Richard Biener --- So it looks like we gimplify type sizes multiple times (in what order?!) and from ..__result =3D MAX_EXPR <*n, 0>; typedef character(kind=3D1) struct character(kind=3D1)[1:2][1:..__result][1:2][1:..__result]; { integer(kind=3D8) D.3659; ..__result =3D MAX_EXPR <*n, 0>; D.3659 =3D __result->dim[0].stride; stride.24 =3D D.3659 !=3D 0 ? D.3659 : 1; __result.0 =3D (character(kind=3D1)[0:D.3662][1:..__result] * restrict) __result->data; size.26 =3D stride.24 * 2; offset.25 =3D -stride.24; D.3660 =3D (bitsizetype) (sizetype) ..__result * 8; D.3661 =3D (sizetype) ..__result; D.3662 =3D size.26 + -1; D.3663 =3D SAVE_EXPR * (bitsizetype) (sizetype) size.26; D.3664 =3D SAVE_EXPR * (sizetype) size.26; typedef character(kind=3D1) struct character(kind=3D1)[1:2][1:..__result][1:2][1:..__result]; produce _1 =3D *n; ..__result =3D MAX_EXPR <_1, 0>; D.4154 =3D D.3660; D.4155 =3D D.4154 * 2; D.4156 =3D D.3661; D.4157 =3D D.4156 * 2; { integer(kind=3D8) D.3659; _4 =3D *n; ..__result =3D MAX_EXPR <_4, 0>; D.3659 =3D __result->dim[0].stride; if (D.3659 !=3D 0) goto ; else goto ; : iftmp.68 =3D D.3659; goto ; : iftmp.68 =3D 1; : stride.24 =3D iftmp.68; __result.0 =3D __result->data; size.26 =3D stride.24 * 2; offset.25 =3D -stride.24; _5 =3D (sizetype) ..__result; _6 =3D (bitsizetype) _5; D.3660 =3D _6 * 8; D.3661 =3D (sizetype) ..__result; ... note how the first DECL_EXPR gets gimplifier handling (not strictly needed, only needed for unsharing) while the second "array" was gfc_trans_vla_type_sizes'ized. Note the respective array types are the multi-dimensional ones and are crea= ted for debug info only. Another "fix" is to avoid the sharing issue between IL and save-expr conten= ts by simply making sure the IL we emit has no sharing issues. So the followi= ng also avoids the ICE on the original testcase and should be moderately light-weight (eventually the gimplifier unshares these anyway). Index: gcc/fortran/trans-decl.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/fortran/trans-decl.c (revision 235945) +++ gcc/fortran/trans-decl.c (working copy) @@ -45,6 +45,7 @@ along with GCC; see the file COPYING3. /* Only for gfc_trans_code. Shouldn't need to include this. */ #include "trans-stmt.h" #include "gomp-constants.h" +#include "gimplify.h" #define MAX_LABEL_VALUE 99999 @@ -3738,7 +3739,7 @@ gfc_trans_vla_one_sizepos (tree *tp, stm var =3D gfc_create_var_np (TREE_TYPE (t), NULL); gfc_add_decl_to_function (var); - gfc_add_modify (body, var, val); + gfc_add_modify (body, var, unshare_expr (val)); if (TREE_CODE (t) =3D=3D SAVE_EXPR) TREE_OPERAND (t, 0) =3D var; *tp =3D var; testing this variant as well now. No results before monday. >>From gcc-bugs-return-524374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 12:49:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65033 invoked by alias); 6 May 2016 12:49:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64537 invoked by uid 48); 6 May 2016 12:49:39 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70977] Error during compilation of facebook/wangle (flag c++0x works, flag c++14 fails). Date: Fri, 06 May 2016 12:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00546.txt.bz2 Content-length: 634 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70977 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2016-05-06 CC| |trippels at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Markus Trippelsdorf --- Please attach the preprocessed file, see https://gcc.gnu.org/bugs/. >>From gcc-bugs-return-524376-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 12:53:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98345 invoked by alias); 6 May 2016 12:53:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95364 invoked by uid 48); 6 May 2016 12:53:36 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70948] [7 Regression] r235622 caused gcc.c-torture/execute/va-arg-pack-1.c execution failure AArch64 Date: Fri, 06 May 2016 12: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: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00548.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70948 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Richard Biener --- Fixed. >>From gcc-bugs-return-524377-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 12:54:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99564 invoked by alias); 6 May 2016 12:54:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99159 invoked by uid 55); 6 May 2016 12:53:58 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70948] [7 Regression] r235622 caused gcc.c-torture/execute/va-arg-pack-1.c execution failure AArch64 Date: Fri, 06 May 2016 12: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: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00549.txt.bz2 Content-length: 562 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70948 --- Comment #6 from Richard Biener --- Author: rguenth Date: Fri May 6 12:53:26 2016 New Revision: 235963 URL: https://gcc.gnu.org/viewcvs?rev=3D235963&root=3Dgcc&view=3Drev Log: 2016-05-06 Richard Biener PR tree-optimization/70948 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Properly clobber all fields of va_list for __builtin_va_start. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-ssa-structalias.c >>From gcc-bugs-return-524378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 13:09:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8283 invoked by alias); 6 May 2016 13:09:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8239 invoked by uid 48); 6 May 2016 13:09:37 -0000 From: "rcc.dark at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70970] Misaligned SSE with auto-vectorization Date: Fri, 06 May 2016 13:09: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rcc.dark at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00550.txt.bz2 Content-length: 269 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70970 --- Comment #4 from Rodrigo --- Well, without auto-vectorization the code should work (x86 allows non-SSE misaligned reads and writes). But I think understand your rationale.=20 Thanks. >>From gcc-bugs-return-524379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 14:07:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65998 invoked by alias); 6 May 2016 14:07:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65828 invoked by uid 48); 6 May 2016 14:07:39 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70980] New: ICE pre_and_rev_post_order_compute, at cfganal.c:1056 Date: Fri, 06 May 2016 14:07: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget cf_gccbuild Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00551.txt.bz2 Content-length: 1713 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70980 Bug ID: 70980 Summary: ICE pre_and_rev_post_order_compute, at cfganal.c:1056 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Target Milestone: --- Host: i386-pc-solaris2.1[012], x86_64-pc-linux-gnu Target: i386-pc-solaris2.1[012], x86_64-pc-linux-gnu Build: i386-pc-solaris2.1[012], x86_64-pc-linux-gnu Between 20160504 and 20160505, g++.dg/pr62079.C began to FAIL on Linux/x86_= 64 and Solaris/x86, only for 64-bit: FAIL: g++.dg/pr62079.C (internal compiler error) FAIL: g++.dg/pr62079.C (test for excess errors) Excess errors: /vol/gcc/src/hg/trunk/local/gcc/testsuite/g++.dg/pr62079.C:78:1: internal compiler error: in pre_and_rev_post_order_compute, at cfganal.c:1056 0x8b6760e pre_and_rev_post_order_compute(int*, int*, bool) /vol/gcc/src/hg/trunk/local/gcc/cfganal.c:1055 0x8b35001 init_alias_analysis() /vol/gcc/src/hg/trunk/local/gcc/alias.c:3252 0x96134df sched_init() /vol/gcc/src/hg/trunk/local/gcc/haifa-sched.c:7369 0x9614b75 haifa_sched_init() /vol/gcc/src/hg/trunk/local/gcc/haifa-sched.c:7406 0x8f02a1e schedule_insns() /vol/gcc/src/hg/trunk/local/gcc/sched-rgn.c:3504 0x8f0323b schedule_insns() /vol/gcc/src/hg/trunk/local/gcc/sched-rgn.c:3498 0x8f0323b rest_of_handle_sched2 /vol/gcc/src/hg/trunk/local/gcc/sched-rgn.c:3737 0x8f0323b execute /vol/gcc/src/hg/trunk/local/gcc/sched-rgn.c:3873 Rainer >>From gcc-bugs-return-524380-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 14:08:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66839 invoked by alias); 6 May 2016 14:08:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66692 invoked by uid 48); 6 May 2016 14:08:01 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70980] ICE pre_and_rev_post_order_compute, at cfganal.c:1056 Date: Fri, 06 May 2016 14:08: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00552.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70980 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 >>From gcc-bugs-return-524381-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 14:14:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74039 invoked by alias); 6 May 2016 14:14:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73849 invoked by uid 48); 6 May 2016 14:14:22 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70981] New: [7 regression] gcc.target/i386/avx512f-vprord-1.c FAILs Date: Fri, 06 May 2016 14:14: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: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget cf_gccbuild Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00553.txt.bz2 Content-length: 1158 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70981 Bug ID: 70981 Summary: [7 regression] gcc.target/i386/avx512f-vprord-1.c FAILs Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Target Milestone: --- Host: i386-pc-solaris2.1[012], x86_64-pc-linux-gnu Target: i386-pc-solaris2.1[012], x86_64-pc-linux-gnu Build: i386-pc-solaris2.1[012], x86_64-pc-linux-gnu Between 20160503 and 20160504, gcc.target/i386/avx512f-vprord-1.c began to = FAIL (probably on all x86 targets), both 32 and 64-bit: FAIL: gcc.target/i386/avx512f-vprord-1.c scan-assembler-times vprord[ \\\\t]+[^{\\n]*%zmm[0-9]+(?:\\n|[ \\\\t]+#) 1 FAIL: gcc.target/i386/avx512f-vprord-1.c scan-assembler-times vprord[ \\\\t]+[^{\\n]*%zmm[0-9]+{%k[1-7]}(?:\\n|[ \\\\t]+#) 1 FAIL: gcc.target/i386/avx512f-vprord-1.c scan-assembler-times vprord[ \\\\t]+[^{\\n]*%zmm[0-9]+{%k[1-7]}{z}(?:\\n|[ \\\\t]+#) 1 Rainer >>From gcc-bugs-return-524382-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 14:17:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79244 invoked by alias); 6 May 2016 14:17:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79107 invoked by uid 48); 6 May 2016 14:17:02 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70981] [7 regression] gcc.target/i386/avx512f-vprord-1.c FAILs Date: Fri, 06 May 2016 14:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00554.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70981 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 >>From gcc-bugs-return-524383-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 14:24:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57334 invoked by alias); 6 May 2016 14:24:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48857 invoked by uid 48); 6 May 2016 14:24:16 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70360] abi_check FAILs with --enable-vtable-verify Date: Fri, 06 May 2016 14:24: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ctice at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00555.txt.bz2 Content-length: 708 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70360 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-06 CC| |ro at gcc dot gnu.org Summary|--enable-vtable-verify |abi_check FAILs with | |--enable-vtable-verify Ever confirmed|0 |1 --- Comment #6 from Rainer Orth --- I'm seeing the abi_check failure with >>From gcc-bugs-return-524384-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 14:31:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83298 invoked by alias); 6 May 2016 14:31:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83071 invoked by uid 55); 6 May 2016 14:31:21 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70360] abi_check FAILs with --enable-vtable-verify Date: Fri, 06 May 2016 14:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ctice at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00556.txt.bz2 Content-length: 1947 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70360 --- Comment #7 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #6 from Rainer Orth --- > I'm seeing the abi_check failure with --enable-vtable-verify on x86_64-pc-linux-gnu and i386-pc-solaris2.12: 7 incompatible symbols=20 0 _Z24__VLTVerifyVtablePointerPPvPKv __VLTVerifyVtablePointer(void**, void const*) version status: incompatible CXXABI_1.3.8 type: function status: added 1 __VLTChangePermission version status: incompatible CXXABI_1.3.8 type: function status: added 2 _Z16__VLTRegisterSetPPvPKvjjS0_ __VLTRegisterSet(void**, void const*, unsigned int, unsigned int, void**) version status: incompatible CXXABI_1.3.8 type: function status: added 3 _Z21__VLTRegisterSetDebugPPvPKvjjS0_ __VLTRegisterSetDebug(void**, void const*, unsigned int, unsigned int, void= **) version status: incompatible CXXABI_1.3.8 type: function status: added 4 _Z22__VLTRegisterPairDebugPPvPKvjS2_PKcS4_ __VLTRegisterPairDebug(void**, void const*, unsigned int, void const*, char const*, char const*) version status: incompatible CXXABI_1.3.8 type: function status: added 5 _Z29__VLTVerifyVtablePointerDebugPPvPKvPKcS4_ __VLTVerifyVtablePointerDebug(void**, void const*, char const*, char const*) version status: incompatible CXXABI_1.3.8 type: function status: added 6 _Z17__VLTRegisterPairPPvPKvjS2_ __VLTRegisterPair(void**, void const*, unsigned int, void const*) version status: incompatible CXXABI_1.3.8 type: function status: added =3D=3D=3D=3D libstdc++-v3 check-abi Summary =3D=3D=3D=3D # of added symbols: 94 # of missing symbols: 0 # of undesignated symbols: 0 # of incompatible symbols: 7 Nothing to do with --enable-default-pie. Perhaps one could have them in a baseline fragment that is only used/checked with --enable-vtable-verify? Rainer >>From gcc-bugs-return-524386-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 14:38:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37794 invoked by alias); 6 May 2016 14:38:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25275 invoked by uid 48); 6 May 2016 14:38:25 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70982] experimental/filesystem/iterators/directory_iterator.cc etc. FAIL with --enable-vtable-verify Date: Fri, 06 May 2016 14:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00558.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70982 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 >>From gcc-bugs-return-524385-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 14:38:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9401 invoked by alias); 6 May 2016 14:38:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3497 invoked by uid 48); 6 May 2016 14:37:50 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70982] New: experimental/filesystem/iterators/directory_iterator.cc etc. FAIL with --enable-vtable-verify Date: Fri, 06 May 2016 14:38: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget cf_gccbuild Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00557.txt.bz2 Content-length: 3612 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70982 Bug ID: 70982 Summary: experimental/filesystem/iterators/directory_iterator.c c etc. FAIL with --enable-vtable-verify Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Target Milestone: --- Host: i386-pc-solaris2.12, x86_64-pc-linux-gnu Target: i386-pc-solaris2.12, x86_64-pc-linux-gnu Build: i386-pc-solaris2.12, x86_64-pc-linux-gnu With --enable-vtable-verify, two libstdc++ testcases FAIL on Solaris 12/x86= and Linux/x86_64: FAIL: experimental/filesystem/iterators/directory_iterator.cc execution test VTV: PID=3D19218 PPID=3D27468 Looking for vtable 8097254 in set fdfdded4. VTV: PID=3D19218 PPID=3D27468 *** Unable to verify vtable pointer (8097254)= in set (fdfdded4) ***=20 VTV: PID=3D19218 PPID=3D27468 Backtrace:=20 /var/gcc/regression/trunk/12-gcc/build/i386-pc-solaris2.12/libvtv/.libs/lib= vtv.so.0.0.0'_Z30__vtv_log_verification_failurePKcb+0x56 [0xfdf86f06] /var/gcc/regression/trunk/12-gcc/build/i386-pc-solaris2.12/libvtv/.libs/lib= vtv.so.0.0.0'_Z17__vtv_verify_failPPvPKv+0x8c [0xfdf869fc] /var/gcc/regression/trunk/12-gcc/build/i386-pc-solaris2.12/libvtv/.libs/lib= vtv.so.0.0.0'_Z24__VLTVerifyVtablePointerPPvPKv+0xbf [0xfdf86c5f] /var/gcc/regression/trunk/12-gcc/build/i386-pc-solaris2.12/libstdc++-v3/tes= tsuite/normal4/directory_iterator.exe'_Z6test01v+0x3661 [0x8061681] /var/gcc/regression/trunk/12-gcc/build/i386-pc-solaris2.12/libstdc++-v3/tes= tsuite/normal4/directory_iterator.exe'main+0x16 [0x8061826] /var/gcc/regression/trunk/12-gcc/build/i386-pc-solaris2.12/libstdc++-v3/tes= tsuite/normal4/directory_iterator.exe'_start+0x46 [0x805cee6] *** Unable to verify vtable pointer (8097254) in set (fdfdded4) ***=20 Potential vtable pointer corruption detected!! FAIL: experimental/filesystem/operations/copy.cc execution test VTV: PID=3D31686 PPID=3D233690 Looking for vtable 0x614850 in set 0x7f03504= acd40. VTV: PID=3D31686 PPID=3D233690 *** Unable to verify vtable pointer (0x61485= 0) in set (0x7f03504acd40) *** VTV: PID=3D31686 PPID=3D233690 Backtrace: /var/gcc/regression/trunk/3.19.8-gcc-gas-gld/build/x86_64-pc-linux-gnu/libs= tdc++-v3/../libvtv/.libs/libvtv.so.0(_Z30__vtv_log_verification_failurePKcb= +0x4a)[0x7f03508bbbda] /var/gcc/regression/trunk/3.19.8-gcc-gas-gld/build/x86_64-pc-linux-gnu/libs= tdc++-v3/../libvtv/.libs/libvtv.so.0(_Z17__vtv_verify_failPPvPKv+0x89)[0x7f= 03508bb079] /var/gcc/regression/trunk/3.19.8-gcc-gas-gld/build/x86_64-pc-linux-gnu/libs= tdc++-v3/../libvtv/.libs/libvtv.so.0(_Z24__VLTVerifyVtablePointerPPvPKv+0xa= 8)[0x7f03508bb2d8] /var/gcc/regression/trunk/3.19.8-gcc-gas-gld/build/x86_64-pc-linux-gnu/./li= bstdc++-v3/src/.libs/libstdc++.so.6(_ZSt21__copy_streambufs_eofIcSt11char_t= raitsIcEElPSt15basic_streambufIT_T0_ES6_Rb+0x12e)[0x7f035058868e] /var/gcc/regression/trunk/3.19.8-gcc-gas-gld/build/x86_64-pc-linux-gnu/./li= bstdc++-v3/src/.libs/libstdc++.so.6(_ZNSolsEPSt15basic_streambufIcSt11char_= traitsIcEE+0x4f)[0x7f03505f1edf] ./copy.exe[0x40afd6] ./copy.exe[0x40b60a] ./copy.exe[0x40b845] ./copy.exe[0x406f8e] ./copy.exe[0x402ff3] /lib64/libc.so.6(__libc_start_main+0xf5)[0x3589a21d65] ./copy.exe[0x403dc5] *** Unable to verify vtable pointer (0x614850) in set (0x7f03504acd40) *** The second failure is currently hidden on Solaris 12 due to PR libstdc++/70= 975. Rainer >>From gcc-bugs-return-524387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 14:46:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76550 invoked by alias); 6 May 2016 14:46:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75300 invoked by uid 48); 6 May 2016 14:46:23 -0000 From: "andres.tiraboschi at tallertechnologies dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70201] Dump C++ template instantiations Date: Fri, 06 May 2016 14:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: andres.tiraboschi at tallertechnologies dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: andres.tiraboschi at tallertechnologies dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00559.txt.bz2 Content-length: 2114 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70201 Andr=C3=A9s Agust=C3=ADn Tiraboschi changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #38139|0 |1 is obsolete| | --- Comment #6 from Andr=C3=A9s Agust=C3=ADn Tiraboschi --- Created attachment 38428 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38428&action=3Dedit Patch adding new flag in order to dump information about template instantiations. Changelog 2016-05-6 Andres Tiraboschi * gcc/c-family/c.opt (ftemplate-instantiations): New flag. * gcc/flag-types.h (ti_dump_options): New type. * gcc/cp/decl2.c (cp_write_global_declarations): Added code to dump information. * gcc/cp/pt.h: New file. * gcc/cp/pt.h (template_instantiations_callbacks): New type. (dependence_tree): Likewise. (call_template_instantiation_callbacks): Declare. (add_template_instantiations_callbacks): Likewise. (clean_up_callbacks): Likewise. * gcc/cp/pt.c (human_readable_template_instantiations): New type. (instantiation_callbacks): Declare. (call_template_instantiation_callback): New function. (add_template_instantiations_callbacks): Likewise. (initialize_instantiations_callbacks): Likewise. (clean_up_callbacks): Likewise. (init_template_processing): Added code to initialize instatiation_callbacks. (register_specialization): Added code to dump information. (retrieve_specialization): Likewise. (lookup_template_class): Likewise. (lookup_template_function): Likewise. * gcc/doc/invoke.texi (ftemplate-instantiations): Added documentation. * gcc/cp/config-lang.in (gtfiles): Added \$(srcdir)/cp/pt.h * gcc/cp/Make-lang.in (CP_PLUGIN_HEADERS): Added pt.h. * gcc/cp/cp-lang.c: pt.h included. >>From gcc-bugs-return-524388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 14:49:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106158 invoked by alias); 6 May 2016 14:49:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88420 invoked by uid 48); 6 May 2016 14:48:51 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70975] experimental/filesystem/operations/copy.cc FAILs on Solaris 12 Date: Fri, 06 May 2016 14:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00560.txt.bz2 Content-length: 489 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70975 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-06 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu= .org Ever confirmed|0 |1 >>From gcc-bugs-return-524389-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 14:52:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64064 invoked by alias); 6 May 2016 14:52:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63716 invoked by uid 48); 6 May 2016 14:52:26 -0000 From: "jackweston at live dot co.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70983] New: False ambiguity on member function rvalue overload using auto Date: Fri, 06 May 2016 14:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jackweston at live dot co.uk X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00561.txt.bz2 Content-length: 1308 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70983 Bug ID: 70983 Summary: False ambiguity on member function rvalue overload using auto Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jackweston at live dot co.uk Target Milestone: --- In the following code, the call to Foo::GetString() works fine but the call= to Foo::GetStringAuto() is reported as ambiguous and fails to compile. The auto should be deduced as `std::string` in both cases and the two situations sho= uld be identical (and unambiguous). -------------- #include class Foo { public: Foo(std::string string) : m_string(std::move(string)) {} std::string & GetString() & { return m_string; } std::string && GetString() && { return std::move(m_string); } auto & GetStringAuto() & { return m_string; } auto && GetStringAuto() && { return std::move(m_string); } private: std::string m_string; }; int main() { Foo foo("blah"); std::string fooStringA =3D foo.GetString(); // works std::string fooStringB =3D foo.GetStringAuto(); // call is ambiguous return 0; } >>From gcc-bugs-return-524390-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 15:00:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93989 invoked by alias); 6 May 2016 15:00:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93433 invoked by uid 48); 6 May 2016 14:59:56 -0000 From: "aleksandergajewski at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70977] Error during compilation of facebook/wangle (flag c++0x works, flag c++14 fails). Date: Fri, 06 May 2016 15:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aleksandergajewski 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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00562.txt.bz2 Content-length: 298 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70977 --- Comment #3 from Aleksander Gajewski --- Created attachment 38429 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38429&action=3Dedit Preprocessed file Preprocessed file causing gcc-6.1 crash. >>From gcc-bugs-return-524391-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 15:01:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106700 invoked by alias); 6 May 2016 15:01:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100728 invoked by uid 48); 6 May 2016 15:01:18 -0000 From: "aleksandergajewski at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70977] Error during compilation of facebook/wangle (flag c++0x works, flag c++14 fails). Date: Fri, 06 May 2016 15: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aleksandergajewski 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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00563.txt.bz2 Content-length: 277 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70977 --- Comment #4 from Aleksander Gajewski --- Created attachment 38430 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38430&action=3Dedit Preprocessed file compiled by gcc-6.1. >>From gcc-bugs-return-524393-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 15:03:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53579 invoked by alias); 6 May 2016 15:03:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53418 invoked by uid 48); 6 May 2016 15:03:21 -0000 From: "jiwang at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63596] Saving of GPR/FPRs for stdarg even though the variable argument is not used Date: Fri, 06 May 2016 15: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.9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jiwang at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jiwang at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00565.txt.bz2 Content-length: 266 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63596 --- Comment #4 from Jiong Wang --- A patch set which clean up variable argument support on AArch64 has been se= nt for review https://gcc.gnu.org/ml/gcc-patches/2016-05/msg00508.html >>From gcc-bugs-return-524392-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 15:03:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52606 invoked by alias); 6 May 2016 15:03:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52465 invoked by uid 48); 6 May 2016 15:03:07 -0000 From: "seurer at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70941] [5/6 Regression] Test miscompiled with -O2. Date: Fri, 06 May 2016 15: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: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at linux dot vnet.ibm.com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00564.txt.bz2 Content-length: 2172 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70941 Bill Seurer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |seurer at linux dot vnet.i= bm.com --- Comment #10 from Bill Seurer --- The new test case fails on powerpc64le: > FAIL: gcc.dg/torture/pr70941.c -O0 execution test > FAIL: gcc.dg/torture/pr70941.c -O1 execution test > FAIL: gcc.dg/torture/pr70941.c -O2 execution test > FAIL: gcc.dg/torture/pr70941.c -O2 -flto -fno-use-linker-plugin -flto-p= artition=3Dnone execution test > FAIL: gcc.dg/torture/pr70941.c -O2 -flto -fuse-linker-plugin -fno-fat-l= to-objects execution test > FAIL: gcc.dg/torture/pr70941.c -O3 -g execution test > FAIL: gcc.dg/torture/pr70941.c -Os execution test seurer@genoa:~/gcc/build/gcc-test$ /home/seurer/gcc/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/build/gcc-test/gcc/ /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/torture/pr70941.c -fno-diagnostics-show-caret -fdiagnostics-color=3Dnever -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone -g -lm -o ./pr70941.exe seurer@genoa:~/gcc/build/gcc-test$ gdb ./pr70941.exe=20 (gdb) break 11 Breakpoint 1 at 0x100004d8: file /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/torture/pr70941.c, line 11. (gdb) run Starting program: /home/seurer/gcc/build/gcc-test/pr70941.exe=20 Breakpoint 1, main () at /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/torture/pr70941.c:12 12 abort(); (gdb) print a $1 =3D 147 '\223' (gdb) c Continuing. Program received signal SIGABRT, Aborted. 0x00003fffb7d00a88 in __GI_raise (sig=3D) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) where #0 0x00003fffb7d00a88 in __GI_raise (sig=3D) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00003fffb7d0686c in __GI_abort () at abort.c:89 #2 0x00000000100004dc in main () at /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/torture/pr70941.c:12 ( >>From gcc-bugs-return-524394-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 15:06:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85495 invoked by alias); 6 May 2016 15:06:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85236 invoked by uid 48); 6 May 2016 15:05:50 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70941] [5/6 Regression] Test miscompiled with -O2. Date: Fri, 06 May 2016 15:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00566.txt.bz2 Content-length: 211 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70941 --- Comment #11 from Jakub Jelinek --- unsigned char perhaps? Let me fix up the testcase. It has other non-portable assumptions. >>From gcc-bugs-return-524395-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 15:20:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77455 invoked by alias); 6 May 2016 15:20:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77195 invoked by uid 48); 6 May 2016 15:20:22 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/58219] [SH] mov.l insn length is wrong on SH2A Date: Fri, 06 May 2016 15:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00567.txt.bz2 Content-length: 458 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58219 Oleg Endo changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Oleg Endo --- Fixed for GCC 7. Not planning to backport. >>From gcc-bugs-return-524397-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 15:24:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84600 invoked by alias); 6 May 2016 15:24:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83914 invoked by uid 55); 6 May 2016 15:24:29 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70941] [5/6 Regression] Test miscompiled with -O2. Date: Fri, 06 May 2016 15:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00569.txt.bz2 Content-length: 636 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70941 --- Comment #12 from Jakub Jelinek --- Author: jakub Date: Fri May 6 15:23:56 2016 New Revision: 235978 URL: https://gcc.gnu.org/viewcvs?rev=3D235978&root=3Dgcc&view=3Drev Log: PR middle-end/70941 * gcc.dg/torture/pr70941.c (abort): Remove prototype. (a, b, c, d): Change type from char to signed char. (main): Compare against (signed char) -1634678893 instead of hardcoded -109. Use __builtin_abort instead of abort. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/torture/pr70941.c >>From gcc-bugs-return-524396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 15:24:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83963 invoked by alias); 6 May 2016 15:24:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82597 invoked by uid 48); 6 May 2016 15:24:17 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/52933] SH Target: Use div0s for integer sign comparisons Date: Fri, 06 May 2016 15:24: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.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: olegendo at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00568.txt.bz2 Content-length: 799 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52933 Oleg Endo changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #9 from Oleg Endo --- (In reply to Oleg Endo from comment #5) > Some of the original test cases are still not working. In particular cas= es > where bit positions !=3D 31 are compared/xor'ed: >=20 > ... I've added support for some of those cases. It could be extended to somehow deal with arbitrary bit positions of both operands, but it doesn't seem wor= th the trouble. Thus declaring issue as fixed. >>From gcc-bugs-return-524398-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 15:26:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97480 invoked by alias); 6 May 2016 15:26:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96887 invoked by uid 48); 6 May 2016 15:26:05 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70977] Error during compilation of facebook/wangle (flag c++0x works, flag c++14 fails). Date: Fri, 06 May 2016 15:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: compile-time-hog, memory-hog 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00570.txt.bz2 Content-length: 1191 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70977 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |compile-time-hog, | |memory-hog Status|WAITING |NEW --- Comment #5 from Markus Trippelsdorf --- Confirmed. The compiler keeps allocating memory until it gets killed by the OOM killer. Overhead Command Shared Object Symbol=20 19.35% cc1plus cc1plus [.] push_to_top_level=20 5.78% cc1plus cc1plus [.] ht_lookup 3.43% cc1plus libc-2.23.so [.] _int_malloc 2.69% cc1plus cc1plus [.] tsubst_copy_and_build 2.55% cc1plus cc1plus [.] ggc_internal_alloc 2.23% cc1plus cc1plus [.] maybe_constant_init 2.16% cc1plus cc1plus [.] implicit_conversion 2.16% cc1plus cc1plus [.] cp_type_quals=20 2.05% cc1plus libc-2.23.so [.] __libc_calloc >>From gcc-bugs-return-524399-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 15:30:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109901 invoked by alias); 6 May 2016 15:30:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107098 invoked by uid 48); 6 May 2016 15:30:28 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70977] Error during compilation of facebook/wangle (flag c++0x works, flag c++14 fails). Date: Fri, 06 May 2016 15:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: compile-time-hog, memory-hog 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00571.txt.bz2 Content-length: 4230 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70977 --- Comment #6 from Markus Trippelsdorf --- #0 tree_code_size (code=3Dcode@entry=3DCONSTRUCTOR) at ../../gcc/gcc/tree.= c:848 #1 0x0000000000fc562d in make_node_stat (code=3Dcode@entry=3DCONSTRUCTOR) = at ../../gcc/gcc/tree.c:1005 #2 0x0000000000fc88e4 in build_constructor (type=3D0x7ffff71ddb28, vals=3Dvals@entry=3D0x0) at ../../gcc/gcc/tree.c:1842 #3 0x000000000064d1e6 in reshape_init_array_1 (elt_type=3D0x7ffff701e000, max_index=3D0x7ffff70c5030, d=3D0x7fffffffb190, d@entry=3D0x7fffffffb188, complain=3Dcomplain@entry=3D1) at ../../gcc/gcc/cp/decl.c:5514 #4 0x000000000064c500 in reshape_init_vector (complain=3D, d=3D, type=3D) at ../../gcc/gcc/cp/decl.c:5599 #5 reshape_init_r (type=3Dtype@entry=3D0x7ffff16dee70, d=3Dd@entry=3D0x7ff= fffffb190, first_initializer_p=3Dfirst_initializer_p@entry=3Dtrue, complain=3Dcomplain= @entry=3D1) at ../../gcc/gcc/cp/decl.c:5905 #6 0x000000000064c0ab in reshape_init (type=3D0x7ffff16dee70, init=3Dinit@entry=3D0x7fff64da1ab0, complain=3Dcomplain@entry=3D1) at ../../gcc/gcc/cp/decl.c:5945 #7 0x00000000007ce2a9 in finish_compound_literal (type=3D, type@entry=3D0x7ffff16dee70, compound_literal=3D0x7fff64da1ab0, complain=3Dcomplain@entry=3D1) at ../../gcc/gcc/cp/semantics.c:2719 #8 0x00000000006a8bb9 in tsubst_copy_and_build (t=3Dt@entry=3D0x7fff64da1a= 98, args=3Dargs@entry=3D0x0, complain=3Dcomplain@entry=3D1, in_decl=3Din_decl@e= ntry=3D0x0, function_p=3Dfunction_p@entry=3Dfalse, integral_constant_expression_p=3Dintegral_constant_expression_p@entry=3Dtru= e) at ../../gcc/gcc/cp/pt.c:16962 #9 0x00000000006aa654 in instantiate_non_dependent_expr_internal (complain= =3D1, expr=3D0x7fff64da1a98) at ../../gcc/gcc/cp/pt.c:5640 #10 instantiate_non_dependent_or_null (expr=3D0x7fff64da1a98) at ../../gcc/gcc/cp/pt.c:5689 #11 0x00000000007a719c in constant_value_1 (decl=3D0x7fff64da7480, strict_p= =3Dtrue, return_aggregate_cst_ok_p=3Dreturn_aggregate_cst_ok_p@entry=3Dtrue) at ../../gcc/gcc/cp/init.c:2076 #12 0x00000000007a8fac in decl_constant_value (decl=3D) at ../../gcc/gcc/cp/init.c:2128 #13 0x0000000000861f29 in cxx_eval_constant_expression (ctx=3Dctx@entry=3D0x7fffffffb800, t=3D, t@entry=3D0x7ffff16= b5f30, lval=3Dlval@entry=3Dfalse, non_constant_p=3Dnon_constant_p@entry=3D0x7fffff= ffd78e, overflow_p=3Doverflow_p@entry=3D0x7fffffffd78f, jump_target=3Djump_target@e= ntry=3D0x0) at ../../gcc/gcc/cp/constexpr.c:3509 #14 0x000000000086052c in cxx_eval_array_reference (overflow_p=3D0x7fffffff= d78f, non_constant_p=3D0x7fffffffd78e, lval=3Dfalse, t=3D0x7ffff24f9818, ctx=3D0x7fffffffb800) at ../../gcc/gcc/cp/constexpr.c:1961 #15 cxx_eval_constant_expression (ctx=3Dctx@entry=3D0x7fffffffb800, t=3D, lval=3Dlval@entry=3Dfalse, non_constant_p=3Dnon_constant_p@entry=3D0x7fffffffd78e, overflow_p=3Doverflow_p@entry=3D0x7fffffffd78f, jump_target=3Djump_target@e= ntry=3D0x0) at ../../gcc/gcc/cp/constexpr.c:3832 #16 0x00000000008610fa in cxx_eval_indirect_ref (overflow_p=3D0x7fffffffd78= f, non_constant_p=3D0x7fffffffd78e, lval=3Dfalse, t=3D0x7ffff16e0d40, ctx=3D0x7fffffffb800) at ../../gcc/gcc/cp/constexpr.c:2868 #17 cxx_eval_constant_expression (ctx=3Dctx@entry=3D0x7fffffffb800, t=3D, t@entry=3D0x7ffff16e0d40, lval=3Dlval@entry=3Dfalse, non_constant_p=3Dnon_constant_p@entry=3D0x7fffffffd78e, overflow_p=3Doverflow_p@entry=3D0x7fffffffd78f, jump_target=3Djump_target@e= ntry=3D0x0) at ../../gcc/gcc/cp/constexpr.c:3695 #18 0x000000000086968e in cxx_eval_binary_expression (ctx=3Dctx@entry=3D0x7fffffffb800, t=3Dt@entry=3D0x7ffff24a4528, non_constant_p=3Dnon_constant_p@entry=3D0x7fffffffd78e, overflow_p=3Doverflow_p@entry=3D0x7fffffffd78f) at ../../gcc/gcc/cp/constexpr.c:1725 #19 0x00000000008604cd in cxx_eval_constant_expression (ctx=3Dctx@entry=3D0x7fffffffb800, t=3D, t@entry=3D0x7ffff24= a4528, lval=3Dlval@entry=3Dfalse, non_constant_p=3Dnon_constant_p@entry=3D0x7fffff= ffd78e, overflow_p=3Doverflow_p@entry=3D0x7fffffffd78f, jump_target=3Djump_target@e= ntry=3D0x0) at ../../gcc/gcc/cp/constexpr.c:3809 ... >>From gcc-bugs-return-524400-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 15:45:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9954 invoked by alias); 6 May 2016 15:45:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9656 invoked by uid 48); 6 May 2016 15:45:28 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70979] [C++14] g++ falsely accepts constexpr function returning a lambda Date: Fri, 06 May 2016 15:45: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.3.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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 cc blocked everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00572.txt.bz2 Content-length: 1205 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70979 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-06 CC| |msebor at gcc dot gnu.org Blocks| |55004 Ever confirmed|0 |1 Known to fail| |5.3.0, 6.1.0 --- Comment #1 from Martin Sebor --- Confirmed. Constexpr functions involving lambdas are not in C++ 14. A proposal to accept the construct was voted in to the next version of the language, C++ 17, at the last C++ meeting (P0170R1 - https://isocpp.org/files/papers/P0170R1.pdf). G++ is ahead of the game on = this feature but it should either disable it or diagnose it with a warning in C+= + 14 mode. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55004 [Bug 55004] [meta-bug] constexpr issues >>From gcc-bugs-return-524401-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 16:13:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19374 invoked by alias); 6 May 2016 16:13:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12845 invoked by uid 48); 6 May 2016 16:13:06 -0000 From: "seurer at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70941] [5/6 Regression] Test miscompiled with -O2. Date: Fri, 06 May 2016 16: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: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at linux dot vnet.ibm.com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00573.txt.bz2 Content-length: 166 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70941 --- Comment #13 from Bill Seurer --- That fixed the issues on power, thanks! >>From gcc-bugs-return-524402-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 16:29:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71942 invoked by alias); 6 May 2016 16:29:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71559 invoked by uid 48); 6 May 2016 16:28:53 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70961] Regrename ignores preferred_rename_class Date: Fri, 06 May 2016 16:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00574.txt.bz2 Content-length: 1122 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70961 --- Comment #4 from Eric Botcazou --- > In which case it should not rename that chain rather than just ignore the > preference (and a preference of NO_REGS should probably also block renami= ng). That's not what the hook was initially designed for, as implied by its name. > Actually for a chain of GENERAL_REGS the preferred class should be > GENERAL_REGS - using LO_REGS in that case would be counterproductive. You= 'd > prefer LO_REGS only when *some* of the patterns in a chain are LO_REGS. B= ut > since the callback only ever sees the union of all classes in a chain, I > don't think could make the correct decision. That's why the superunion was chosen. If all the patterns are LO_REGS, it = will be LO_REGS; likewise for HI_REGS. It's GENERAL_REGS only when there is a m= ixed bag of them. > I tried something similar, as well as always returning LO_REGS or NO_REGS, > but this makes no difference at all due to pass 2 ignoring the preference= ... So what happens if you block the second pass with a special class value? >>From gcc-bugs-return-524403-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 16:40:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92985 invoked by alias); 6 May 2016 16:40:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91747 invoked by uid 48); 6 May 2016 16:39:50 -0000 From: "felix.morgner at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70979] [C++14] g++ falsely accepts constexpr function returning a lambda Date: Fri, 06 May 2016 16:40: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.3.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: felix.morgner 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00575.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70979 --- Comment #2 from Felix Morgner --- That is why I explicitly referred to C++14. I strongly believe, that the ri= ght thing to do would be to disable it (handle it as an error) since it is just that when compiling in C++14 mode. Maybe the error message could state that this is not allowed in C++14 but as I said, in my opinion it has to be an error. >>From gcc-bugs-return-524404-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 16:50:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108416 invoked by alias); 6 May 2016 16:50:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108211 invoked by uid 48); 6 May 2016 16:50:07 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70957] testsuite/gcc.target/powerpc/vsx-elemrev-4.c fails on power7 Date: Fri, 06 May 2016 16:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: wschmidt 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00576.txt.bz2 Content-length: 1073 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70957 Bill Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-06 CC| |dje at gcc dot gnu.org, | |meissner at gcc dot gnu.or= g, | |segher at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Bill Schmidt --- Confirmed, but this is quite odd. A compiler configured for debug works fi= ne, but a compiler configured for bootstrap errors as described. The test case= is fine as written since we are just compiling code for a power9 target, not executing it. CCing others for suggestions on what would cause the P9 targ= et flags to go belly up when bootstrapped but not otherwise. >>From gcc-bugs-return-524405-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 16:57:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122195 invoked by alias); 6 May 2016 16:57:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118040 invoked by uid 48); 6 May 2016 16:56:51 -0000 From: "wdijkstr at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70961] Regrename ignores preferred_rename_class Date: Fri, 06 May 2016 16:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wdijkstr at arm 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00577.txt.bz2 Content-length: 2049 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70961 --- Comment #5 from Wilco --- As for a simple example, Proc_4 in Dhrystone is a good one. With -O2 and -fno-rename-registers I get the following on Thumb-2: 000000c8 : c8: b430 push {r4, r5} ca: f240 0300 movw r3, #0 ce: f240 0400 movw r4, #0 d2: f2c0 0300 movt r3, #0 d6: f2c0 0400 movt r4, #0 da: f240 0100 movw r1, #0 de: 681a ldr r2, [r3, #0] e0: f2c0 0100 movt r1, #0 e4: 7824 ldrb r4, [r4, #0] e6: 2542 movs r5, #66 ; 0x42 e8: 700d strb r5, [r1, #0] ea: 2c41 cmp r4, #65 ; 0x41 ec: bf08 it eq ee: f042 0201 orreq.w r2, r2, #1 f2: 601a str r2, [r3, #0] f4: bc30 pop {r4, r5} f6: 4770 bx lr With -frename-registers: 000000c8 : c8: b430 push {r4, r5} ca: f240 0300 movw r3, #0 ce: f240 0400 movw r4, #0 d2: f2c0 0300 movt r3, #0 d6: f2c0 0400 movt r4, #0 da: f240 0100 movw r1, #0 de: 681a ldr r2, [r3, #0] e0: f2c0 0100 movt r1, #0 e4: f894 c000 ldrb.w ip, [r4] e8: 2542 movs r5, #66 ; 0x42 ea: 700d strb r5, [r1, #0] ec: f1bc 0f41 cmp.w ip, #65 ; 0x41 f0: bf08 it eq f2: f042 0201 orreq.w r2, r2, #1 f6: 601a str r2, [r3, #0] f8: bc30 pop {r4, r5} fa: 4770 bx lr So here it changed 2 16-bit instructions into 32-bit ones by changing R4 to= IP. However there is no benefit in doing so as it doesn't remove a move or crea= te additionally scheduling opportunities (the first liverange of R4 has only a single use, so when it goes dead it is actually best to reuse R4 rather than use a different register). >>From gcc-bugs-return-524406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 16:57:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123033 invoked by alias); 6 May 2016 16:57:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122903 invoked by uid 48); 6 May 2016 16:57:16 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70957] testsuite/gcc.target/powerpc/vsx-elemrev-4.c fails on power7 Date: Fri, 06 May 2016 16:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: wschmidt at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00578.txt.bz2 Content-length: 1922 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70957 --- Comment #3 from Bill Schmidt --- Configuration for the two compilers used: $GCC_SRC/configure --enable-__cxa_atexit --enable-languages=3Dc,c++,fortran,objc,obj-c++,go --with-cpu=3Dpower7 --disable-libsanitizer --with-gmp=3D/home/wschmidt/gcc-libs/gcc-host-libs-p= pc64 --without-ppl --without-cloog --prefix=3D$GCC_INSTALL --enable-lto with --disable-bootstrap for the debug compiler. No change in option flags during compilation. wschmidt@bns:~/src> setgcc test debug GCC_SRC =3D /home/wschmidt/gcc/gcc-mainline-test GCC_BUILD =3D /home/wschmidt/gcc/build/gcc-mainline-test-debug GCC_INSTALL=3D /home/wschmidt/gcc/install/gcc-mainline-test-debug wschmidt@bns:~/src> $GCC_INSTALL/bin/gcc -O0 -mcpu=3Dpower9 vsx-elemrev-4.c= -S wschmidt@bns:~/src> grep -c lxvx vsx-elemrev-4.s 40 wschmidt@bns:~/src> grep -c stxvx vsx-elemrev-4.s 40 wschmidt@bns:~/src> setgcc test GCC_SRC =3D /home/wschmidt/gcc/gcc-mainline-test GCC_BUILD =3D /home/wschmidt/gcc/build/gcc-mainline-test GCC_INSTALL=3D /home/wschmidt/gcc/install/gcc-mainline-test wschmidt@bns:~/src> $GCC_INSTALL/bin/gcc -O0 -mcpu=3Dpower9 vsx-elemrev-4.c= -S vsx-elemrev-4.c: In function =E2=80=98foo21=E2=80=99: vsx-elemrev-4.c:137:3: error: invalid parameter combination for AltiVec intrinsic vsll =3D vec_xl (0, sllp); ^~~~ vsx-elemrev-4.c: In function =E2=80=98foo22=E2=80=99: vsx-elemrev-4.c:142:3: error: invalid parameter combination for AltiVec intrinsic vull =3D vec_xl (0, ullp); ^~~~ vsx-elemrev-4.c: In function =E2=80=98foo31=E2=80=99: vsx-elemrev-4.c:187:3: error: invalid parameter combination for AltiVec intrinsic vec_xst (vsll, 0, sllp); ^~~~~~~ vsx-elemrev-4.c: In function =E2=80=98foo32=E2=80=99: vsx-elemrev-4.c:192:3: error: invalid parameter combination for AltiVec intrinsic vec_xst (vull, 0, ullp); ^~~~~~~ wschmidt@bns:~/src> >>From gcc-bugs-return-524407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 17:00:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126867 invoked by alias); 6 May 2016 17:00:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126608 invoked by uid 48); 6 May 2016 17:00:22 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70957] testsuite/gcc.target/powerpc/vsx-elemrev-4.c fails on power7 Date: Fri, 06 May 2016 17:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: wschmidt at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00579.txt.bz2 Content-length: 244 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70957 --- Comment #4 from Bill Schmidt --- The other odd thing is that we fail only on the signed and unsigned long lo= ng cases, and all of the other variants work. >>From gcc-bugs-return-524408-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 17:20:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52090 invoked by alias); 6 May 2016 17:20:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51917 invoked by uid 48); 6 May 2016 17:19:49 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70949] Invalid aggregate against pointer comparison Date: Fri, 06 May 2016 17:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00580.txt.bz2 Content-length: 189 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70949 --- Comment #3 from Dominique d'Humieres --- *** Bug 70950 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-524409-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 17:20:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52120 invoked by alias); 6 May 2016 17:20:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51900 invoked by uid 48); 6 May 2016 17:19:47 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70950] ICE with -O0 in simplify_subreg, at simplify-rtx.c:5895 Date: Fri, 06 May 2016 17:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00581.txt.bz2 Content-length: 211 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70950 --- Comment #3 from Dominique d'Humieres --- Duplicate of pr70949. *** This bug has been marked as a duplicate of bug 70949 *** >>From gcc-bugs-return-524410-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 20:02:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128109 invoked by alias); 6 May 2016 20:02:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127934 invoked by uid 48); 6 May 2016 20:02:01 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70943] Bogus 'conflicting declaration' error with repeated typedefs in function templates Date: Fri, 06 May 2016 20:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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 cc everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00582.txt.bz2 Content-length: 1488 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70943 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-06 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 Known to fail| |4.5.3, 4.8.3, 4.9.3, 5.3.0, | |6.1.0 --- Comment #1 from Martin Sebor --- Confirmed. The following C++ 98 test case is also rejected with similar errors, going as far back as 4.5.3.=20 template void foo (T) { typedef T X; typedef int X; extern T bar (); extern int bar (); } template void foo (int); xxx.c: In function =E2=80=98void foo(T)=E2=80=99: xxx.c:4:17: error: conflicting declaration =E2=80=98typedef int X=E2=80=99 typedef int X; ^ xxx.c:3:15: note: previous declaration as =E2=80=98typedef T X=E2=80=99 typedef T X; ^ xxx.c:7:16: error: ambiguating new declaration of =E2=80=98int bar()=E2=80= =99 extern int bar (); ^~~ xxx.c:6:14: note: old declaration =E2=80=98T bar()=E2=80=99 extern T bar (); ^~~ >>From gcc-bugs-return-524411-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 20:09:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40551 invoked by alias); 6 May 2016 20:09:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40340 invoked by uid 48); 6 May 2016 20:09:39 -0000 From: "awise.gcc.bug at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70984] New: Templated derived class erroneously allows taking address of private base class member functions Date: Fri, 06 May 2016 20:09: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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: awise.gcc.bug at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00583.txt.bz2 Content-length: 6395 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70984 Bug ID: 70984 Summary: Templated derived class erroneously allows taking address of private base class member functions Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: awise.gcc.bug at gmail dot com Target Milestone: --- Created attachment 38431 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38431&action=3Dedit Preprocessed source code Given a base class: class B { protected: void fprot(); int iprot; private: void fpriv(); int ipriv; }; A normal non-templated derived class appears to honour the visibility of ba= se class members in the way that I'd expect: class A : public B { public: void f() { void (B::*f)(); int i; //f =3D &B::fprot; - protected in this context //f =3D &B::fpriv; - private in this context f =3D &A::fprot; // OK - access to protected base member via public derivation //f =3D &A::fpriv; - private in this context fprot(); // OK - access to protected base member via public derivation //fpriv(); - private in this context i =3D iprot; // OK - access to protected base member via public derivation //i =3D ipriv; - private in this context } }; However, a templated derived class allows the address of the private and protected member functions of the base class to be evaluated when I don't believe it should: template class C : public B { public: void f() { void (B::*f)(); int i; f =3D &B::fprot; // Should be an error - protected in this context? f =3D &B::fpriv; // Should be an error - private in this context? f =3D &C::fprot; // OK - access to protected base member via public derivation f =3D &C::fpriv; // Should be an error - private in this context? fprot(); // OK - access to protected base member via public derivation //fpriv(); - private in this context i =3D iprot; //i =3D ipriv; - private in this context } }; template class C<42>; I'd expect the visibility to be the same as in the non-templated derived cl= ass, above. log of compile invoked as "g++ -v -save-temps -c gcc_bug1.cpp": Using built-in specs. COLLECT_GCC=3Dg++ Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion=3D'Ubuntu 5.3.1-14ub= untu2' --with-bugurl=3Dfile:///usr/share/doc/gcc-5/README.Bugs --enable-languages=3Dc,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=3D/u= sr --program-suffix=3D-5 --enable-shared --enable-linker-build-id --libexecdir=3D/usr/lib --without-included-gettext --enable-threads=3Dposix --libdir=3D/usr/lib --enable-nls --with-sysroot=3D/ --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-libstdcxx-time=3Dyes --with-default-libstdcxx-abi=3Dnew --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=3Dgtk --enable-gtk-cairo --with-java-home=3D/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-ho= me --with-jvm-root-dir=3D/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=3D/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=3Damd64 --with-ecj-jar=3D/usr/share/java/eclipse-ecj.= jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=3Di686 --with-abi=3Dm64 --with-multilib-list=3Dm32,m64,mx32 --enable-multilib --with-tune=3Dgeneric --enable-checking=3Drelease --build=3Dx86_64-linux-gnu --host=3Dx86_64-linux-gnu --target=3Dx86_64-linux-gnu Thread model: posix gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2)=20 COLLECT_GCC_OPTIONS=3D'-v' '-save-temps' '-c' '-shared-libgcc' '-mtune=3Dge= neric' '-march=3Dx86-64' /usr/lib/gcc/x86_64-linux-gnu/5/cc1plus -E -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE gcc_bug1.cpp -mtune=3Dgeneric -march=3Dx86-64 -fpch-preprocess -fstack-protector-strong -Wformat -Wformat-security -o gcc_bug1.ii ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/5" ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/5/../../../../x86_64-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/include/c++/5 /usr/include/x86_64-linux-gnu/c++/5 /usr/include/c++/5/backward /usr/lib/gcc/x86_64-linux-gnu/5/include /usr/local/include /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed /usr/include/x86_64-linux-gnu /usr/include End of search list. COLLECT_GCC_OPTIONS=3D'-v' '-save-temps' '-c' '-shared-libgcc' '-mtune=3Dge= neric' '-march=3Dx86-64' /usr/lib/gcc/x86_64-linux-gnu/5/cc1plus -fpreprocessed gcc_bug1.ii -quiet -dumpbase gcc_bug1.cpp -mtune=3Dgeneric -march=3Dx86-64 -auxbase gcc_bug1 -= version -fstack-protector-strong -Wformat -Wformat-security -o gcc_bug1.s GNU C++ (Ubuntu 5.3.1-14ubuntu2) version 5.3.1 20160413 (x86_64-linux-gnu) compiled by GNU C version 5.3.1 20160413, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU C++ (Ubuntu 5.3.1-14ubuntu2) version 5.3.1 20160413 (x86_64-linux-gnu) compiled by GNU C version 5.3.1 20160413, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: a544146c1c8bd944ae4c4ff6181f339e COLLECT_GCC_OPTIONS=3D'-v' '-save-temps' '-c' '-shared-libgcc' '-mtune=3Dge= neric' '-march=3Dx86-64' as -v --64 -o gcc_bug1.o gcc_bug1.s GNU assembler version 2.26 (x86_64-linux-gnu) using BFD version (GNU Binuti= ls for Ubuntu) 2.26 COMPILER_PATH=3D/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-= gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr= /lib/gcc/x86_64-linux-gnu/ LIBRARY_PATH=3D/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-g= nu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../..= /lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/l= ib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS=3D'-v' '-save-temps' '-c' '-shared-libgcc' '-mtune=3Dge= neric' '-march=3Dx86-64' >>From gcc-bugs-return-524412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 20:12:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53151 invoked by alias); 6 May 2016 20:12:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52873 invoked by uid 48); 6 May 2016 20:11:53 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70985] New: ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed Date: Fri, 06 May 2016 20:12: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: su at cs dot ucdavis.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00584.txt.bz2 Content-length: 2022 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70985 Bug ID: 70985 Summary: ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: su at cs dot ucdavis.edu Target Milestone: --- The following code causes an ICE when compiled with the current gcc trunk at -O3 on x86_64-linux-gnu in both 32-bit and 64-bit modes. $ gcc-trunk -v Using built-in specs. COLLECT_GCC=3Dgcc-trunk COLLECT_LTO_WRAPPER=3D/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/= 7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=3Dc,c++,l= to --prefix=3D/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20160506 (experimental) [trunk revision 235952] (GCC)=20 $=20 $ gcc-trunk -O2 -c small.c $=20=20=20=20=20 $ gcc-trunk -O3 -c small.c small.c: In function =E2=80=98fn2=E2=80=99: small.c:15:1: error: invalid operand in unary operation fn2 () ^~~ # VUSE <.MEM_8(D)> a_f0_lsm0.8_15 =3D () MEM[(struct *)&a]; small.c:15:1: internal compiler error: verify_gimple failed 0xbfa87f verify_gimple_in_cfg(function*, bool) ../../gcc-source-trunk/gcc/tree-cfg.c:5166 0xae9152 execute_function_todo ../../gcc-source-trunk/gcc/passes.c:1968 0xae9b2b execute_todo ../../gcc-source-trunk/gcc/passes.c:2020 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $=20 ----------------------------- struct { int f0:24; } a, c, d; int b; int fn1 () { return 0; } void fn2 () { int e; if (b)=20 for (; e;) { d =3D c; if (fn1 (b)) b =3D a.f0; } } >>From gcc-bugs-return-524413-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 20:27:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92241 invoked by alias); 6 May 2016 20:27:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86256 invoked by uid 48); 6 May 2016 20:26:58 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70957] testsuite/gcc.target/powerpc/vsx-elemrev-4.c fails on power7 Date: Fri, 06 May 2016 20:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: wschmidt at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00585.txt.bz2 Content-length: 310 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70957 --- Comment #5 from Bill Schmidt --- I applied the same patch to gcc-6-branch, and the test works correctly on a Power7 machine. Thus we appear to be exposing a recent problem introduced = on trunk. I'll try to bisect this. >>From gcc-bugs-return-524414-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 20:31:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113401 invoked by alias); 6 May 2016 20:31:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111224 invoked by uid 48); 6 May 2016 20:31:07 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70983] False ambiguity on member function rvalue overload using auto Date: Fri, 06 May 2016 20:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cf_reconfirmed_on cc cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00586.txt.bz2 Content-length: 1952 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70983 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Last reconfirmed| |2016-5-6 CC| |msebor at gcc dot gnu.org Known to fail| |4.9.3, 5.3.0 --- Comment #1 from Martin Sebor --- Confirmed with 5.3.0 and 4.9.3 in C++ 14 mode. GCC 6.1.0 and 7.0 accept the program as expected. $ cat xxx.c && ~/bin/gcc-5.1.0/bin/g++ -Wall -Wextra -Wpedantic -std=3Dc++14 -xc++ xxx.c template struct RR { typedef T U; }; template struct RR { typedef T U; }; template typename RR::U&& move (T &&t) { return static_cast::U&&>(t); } struct Foo { int& Get () & { return m; } int&& Get () && { return move (m); } auto& GetAuto() & { return m; } auto&& GetAuto() && { return move (m); } int m; }; int main() { Foo foo; int A =3D foo.Get (); // works int B =3D foo.GetAuto (); // call is ambiguous } xxx.c: In function =E2=80=98int main()=E2=80=99: xxx.c:23:26: error: call of overloaded =E2=80=98GetAuto()=E2=80=99 is ambig= uous int B =3D foo.GetAuto (); // call is ambiguous ^ xxx.c:13:12: note: candidate: auto& Foo::GetAuto() auto& GetAuto() & { return m; } ^ xxx.c:14:12: note: candidate: auto&& Foo::GetAuto() auto&& GetAuto() && { return move (m); } ^ xxx.c:22:9: warning: unused variable =E2=80=98A=E2=80=99 [-Wunused-variable] int A =3D foo.Get (); // works ^ xxx.c:23:9: warning: unused variable =E2=80=98B=E2=80=99 [-Wunused-variable] int B =3D foo.GetAuto (); // call is ambiguous ^ >>From gcc-bugs-return-524415-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 20:31:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115121 invoked by alias); 6 May 2016 20:31:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 113381 invoked by uid 48); 6 May 2016 20:31:18 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70983] False ambiguity on member function rvalue overload using auto Date: Fri, 06 May 2016 20:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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 everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00587.txt.bz2 Content-length: 341 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70983 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 >>From gcc-bugs-return-524416-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 20:43:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35978 invoked by alias); 6 May 2016 20:43:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35735 invoked by uid 48); 6 May 2016 20:43:36 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70986] New: ICE on valid code at -O3 on x86_64-linux-gnu in combine_blocks, at tree-if-conv.c:2219 Date: Fri, 06 May 2016 20:43: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: su at cs dot ucdavis.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00588.txt.bz2 Content-length: 1936 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70986 Bug ID: 70986 Summary: ICE on valid code at -O3 on x86_64-linux-gnu in combine_blocks, at tree-if-conv.c:2219 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: su at cs dot ucdavis.edu Target Milestone: --- The following code causes an ICE when compiled with the current gcc trunk at -O3 on x86_64-linux-gnu in both 32-bit and 64-bit modes. $ gcc-trunk -v Using built-in specs. COLLECT_GCC=3Dgcc-trunk COLLECT_LTO_WRAPPER=3D/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/= 7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=3Dc,c++,l= to --prefix=3D/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20160506 (experimental) [trunk revision 235952] (GCC)=20 $=20 $ gcc-trunk -O2 -c small.c $=20 $ gcc-trunk -O3 -c small.c small.c: In function =E2=80=98fn2=E2=80=99: small.c:12:1: internal compiler error: in combine_blocks, at tree-if-conv.c:2219 fn2 () ^~~ 0xc1ffb7 combine_blocks ../../gcc-source-trunk/gcc/tree-if-conv.c:2219 0xc2264f tree_if_conversion ../../gcc-source-trunk/gcc/tree-if-conv.c:2741 0xc2264f execute ../../gcc-source-trunk/gcc/tree-if-conv.c:2829 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $=20 ------------------------------------------------------ int a, g; char b, c; short d, e, f; char fn1 () { return a ? a : 1; } void fn2 () { char h; for (; d;) for (; e; e++) c =3D (fn1 () && h) & !(f |=3D 9 ^ (b > (g =3D c))); for (;;) ; } >>From gcc-bugs-return-524417-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 21:35:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76656 invoked by alias); 6 May 2016 21:35:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76516 invoked by uid 48); 6 May 2016 21:35:41 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70956] [6/7 Regression] ICE in build_cross_bb_scalars_def, at graphite-scop-detection.c:1725 Date: Fri, 06 May 2016 21: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00589.txt.bz2 Content-length: 274 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70956 vries at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 >>From gcc-bugs-return-524418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 21:37:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78465 invoked by alias); 6 May 2016 21:37:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78300 invoked by uid 48); 6 May 2016 21:37:39 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70956] [6/7 Regression] ICE in build_cross_bb_scalars_def, at graphite-scop-detection.c:1725 Date: Fri, 06 May 2016 21:37: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00590.txt.bz2 Content-length: 274 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70956 vries at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|7.0 |6.2 >>From gcc-bugs-return-524419-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 21:52:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28634 invoked by alias); 6 May 2016 21:52:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28362 invoked by uid 48); 6 May 2016 21:52:44 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70957] testsuite/gcc.target/powerpc/vsx-elemrev-4.c fails on power7 Date: Fri, 06 May 2016 21:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: wschmidt at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00591.txt.bz2 Content-length: 183 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70957 --- Comment #6 from Bill Schmidt --- The test also passed on P7 at the time I committed the patch. >>From gcc-bugs-return-524420-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 06 23:45:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95929 invoked by alias); 6 May 2016 23:45:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95814 invoked by uid 48); 6 May 2016 23:45:34 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70987] New: missing -Wuninitialized calling built-in string functions with an uninitialized argument Date: Fri, 06 May 2016 23:45: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00592.txt.bz2 Content-length: 1569 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70987 Bug ID: 70987 Summary: missing -Wuninitialized calling built-in string functions with an uninitialized argument Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- In the program below, all functions access elements of the uninitialized lo= cal array, but only the first one causes a warning. The rest that make use of = the built-in functions do not. The same problem exists when calling the corresponding library functions (with or without _FORTIFY_SOURCE defined). The uninitialized warning should be issued even for built-ins and for the corresponding library functions that GCC has knowledge of. $ cat zzz.c && gcc -O2 -S -Wall -Wextra -Wpedantic zzz.c void f0 (char*); void f1 (void) { char a [4]; unsigned n =3D 0; for (char *p =3D a; *p; ++n, ++p); f0 (a + n); } void f2 (void) { char a [4]; unsigned n =3D __builtin_strlen (a); f0 (a + n); } void f3 (void) { char a [4]; __builtin_strcat (a, "abc"); f0 (a); } void f4 (void) { char a [4]; char b [4]; __builtin_strcpy (a, b); f0 (a); } zzz.c: In function =E2=80=98f1=E2=80=99: zzz.c:8:21: warning: =E2=80=98a=E2=80=99 is used uninitialized in this func= tion [-Wuninitialize] for (char *p =3D a; *p; ++n, ++p); ^~ >>From gcc-bugs-return-524421-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 00:12:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3504 invoked by alias); 7 May 2016 00:12:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3399 invoked by uid 48); 7 May 2016 00:12:16 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70988] New: missing buffer overflow warning on chained strcat calls Date: Sat, 07 May 2016 00:12: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00593.txt.bz2 Content-length: 2419 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70988 Bug ID: 70988 Summary: missing buffer overflow warning on chained strcat calls Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- In the program below, all of f1 through f4 clearly write past the end of the destination buffer. However, only f1 and f2 cause a warning about the overflow. f3 and f4 do not. Since chaining calls to strcat (or strcpy followed by strcat) is not an uncommon idiom, it might be worth checking for and diagnosing buffer overflow in it at compile time. I suspect that doing= so would also improve the generated code since in the absence of overflow chai= ned calls like 'strcat (strcat (a, "abc"), "def")' would be merged into a single call to __builtin_memcpy. $ cat t.c && /build/gcc-6.1.0/gcc/xgcc -B/build/gcc-6.1.0/gcc -D_FORTIFY_SOURCE=3D1 -O2 -Wall -Wextra -Wpedantic t.c #include #define NOINLINE __attribute__ ((noclone, noinline)) void NOINLINE f0 (char *s) { __builtin_puts (s); } void NOINLINE f1 (void) { char a [4]; strcat (a, "abcdef"); f0 (a); } void NOINLINE f2 (void) { char a [4] =3D ""; strcat (a, "abcdef"); f0 (a); } void NOINLINE f3 (void) { char a [4]; strcat (strcat (a, "abc"), "def"); f0 (a); } void NOINLINE f4 (void) { char a [4] =3D ""; strcat (strcat (a, "abc"), "def"); f0 (a); } int main () { f1 (); f2 (); f3 (); f4 (); } In file included from /usr/include/string.h:638:0, from t.c:1: In function =E2=80=98strcat=E2=80=99, inlined from =E2=80=98f1=E2=80=99 at t.c:10:3: /usr/include/bits/string3.h:142:10: warning: call to __builtin___strcat_chk will always overflow destination buffer return __builtin___strcat_chk (__dest, __src, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function =E2=80=98strcat=E2=80=99, inlined from =E2=80=98f2=E2=80=99 at t.c:17:3: /usr/include/bits/string3.h:142:10: warning: call to __builtin___memcpy_chk will always overflow destination buffer return __builtin___strcat_chk (__dest, __src, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>From gcc-bugs-return-524422-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 00:33:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80131 invoked by alias); 7 May 2016 00:33:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79575 invoked by uid 48); 7 May 2016 00:32:55 -0000 From: "danglin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70795] [7 Regression] gcc/libjava/interpret.cc:1948:1: ICE: in binds_to_current_def_p, at symtab.c:2232 Date: Sat, 07 May 2016 00:33: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00594.txt.bz2 Content-length: 409 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70795 John David Anglin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #2 from John David Anglin --- r235317 was okay. >>From gcc-bugs-return-524423-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 00:56:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69733 invoked by alias); 7 May 2016 00:56:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69624 invoked by uid 48); 7 May 2016 00:55:58 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/26904] A template named the same as its member confuses lookup through inheritance Date: Sat, 07 May 2016 00:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.0.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc cf_known_to_work resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00595.txt.bz2 Content-length: 691 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D26904 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |msebor at gcc dot gnu.org Known to work| |4.9.3, 5.3.0, 6.1.0 Resolution|--- |FIXED --- Comment #4 from Martin Sebor --- The test case compiles with today's trunk (7.0) as well all supported versi= ons (all the way back to 4.9.3). Resolving as Fixed. >>From gcc-bugs-return-524424-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 02:55:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70684 invoked by alias); 7 May 2016 02:55:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70594 invoked by uid 48); 7 May 2016 02:55:08 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70989] New: [SH] Further improve utilization of zero-displacement conditional branches Date: Sat, 07 May 2016 02:55: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00596.txt.bz2 Content-length: 2333 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70989 Bug ID: 70989 Summary: [SH] Further improve utilization of zero-displacement conditional branches Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: olegendo at gcc dot gnu.org Target Milestone: --- Created attachment 38432 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38432&action=3Dedit Simplify SH abs patterns The change in r235993 disables the delay branch for conditional branches du= ring the DBR pass, if the branch skips a single instruction. This improves the utilization of zero-displacement cbranches. There are still some cases where other basic block optimizations would reor= der blocks in a way which makes zero-displacement cbranches impossible to use. For example, when the abs patterns are simplified we get the following code= in CSiBE (cg_compiler_opensrc/compile.c). Before: .L872: cmp/pz r6 mov.l .L1024,r13 mov r6,r1 bt 0f neg r6,r1 0: mov.l r1,@(32,r15) After: .L872: cmp/pz r6 bt/s .L1004 mov.l r6,@(32,r15) bra .L1010 neg r6,r1 .L1004: mov.l @(32,r15),r2 .... < many blocks here > ... .L1010: bra .L1004 mov.l r1,@(32,r15) .align 1 .L1015: With -fno-reorder-blocks it's a bit better (from the branching point of vie= w): L818: cmp/pz r6 bt/s .L950 mov.l r6,@(32,r15) neg r6,r1 mov.l r1,@(32,r15) .L950: mov.l @(32,r15),r2 And with -fno-reorder-blocks -fno-delayed-branch it's clear that it's almost impossible to recover the zero-displacement branch at this stage anymore: .L794: cmp/pz r6 mov.l r6,@(32,r15) bt .L926 neg r6,r1 mov.l r1,@(32,r15) .L926: mov.l @(32,r15),r2 Disallowing transformation of 1-insn cbranches in the bb-reorder pass might lead to some improvements, but I guess that these 1-insn branches have to be "pinned" much earlier during compilation to get better results. >>From gcc-bugs-return-524425-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 03:02:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79444 invoked by alias); 7 May 2016 03:02:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78800 invoked by uid 48); 7 May 2016 03:01:26 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70990] New: [SH] Unreachable basic blocks Date: Sat, 07 May 2016 03:02: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00597.txt.bz2 Content-length: 918 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70990 Bug ID: 70990 Summary: [SH] Unreachable basic blocks Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: olegendo at gcc dot gnu.org Target Milestone: --- Target: sh*-*-* In CSiBE cg_compiler_opensrc/compile.c I've spotted the following code: .align 1 .L1012: mov #7,r5 jsr @r1 mov #24,r4 mov.l @(8,r15),r1 mov r0,r11 mov.l @r1,r2 bra .L891 mov.l r2,@(4,r0) bra .L908 <<< unreachable branch nop .align 1 .L1010: mov.l .L1064,r0 mov.l @(8,r15),r2 mov.l @r9,r5 mov.l @r2,r7 >>From gcc-bugs-return-524426-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 03:51:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95759 invoked by alias); 7 May 2016 03:51:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94147 invoked by uid 48); 7 May 2016 03:51:09 -0000 From: "appfault at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70991] New: Uninitialized class allowed if it came from self-assignment, or a member function Date: Sat, 07 May 2016 03:51: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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: appfault at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00598.txt.bz2 Content-length: 809 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70991 Bug ID: 70991 Summary: Uninitialized class allowed if it came from self-assignment, or a member function Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: appfault at hotmail dot com Target Milestone: --- g++ allows uninitialized class to be used for member variables (hitting uninitialized memory), if the class was declared as an assignment to itself. It's not clear whether this violates the C++ standard (it sure seems like it would), but at the very least compiling with `g++ -Wall -Wextra test.cpp` should generate a warning. >>From gcc-bugs-return-524427-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 03:52:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117129 invoked by alias); 7 May 2016 03:52:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 117045 invoked by uid 48); 7 May 2016 03:52:30 -0000 From: "appfault at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70991] Uninitialized class allowed if it came from self-assignment, or a member function Date: Sat, 07 May 2016 03: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: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: appfault at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00599.txt.bz2 Content-length: 261 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70991 --- Comment #1 from bennet brauer --- Created attachment 38433 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38433&action=3Dedit two similar test cases in one cpp file >>From gcc-bugs-return-524428-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 06:47:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114565 invoked by alias); 7 May 2016 06:47:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114432 invoked by uid 55); 7 May 2016 06:47:41 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70956] [6/7 Regression] ICE in build_cross_bb_scalars_def, at graphite-scop-detection.c:1725 Date: Sat, 07 May 2016 06:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00600.txt.bz2 Content-length: 682 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70956 --- Comment #3 from vries at gcc dot gnu.org --- Author: vries Date: Sat May 7 06:47:07 2016 New Revision: 235994 URL: https://gcc.gnu.org/viewcvs?rev=3D235994&root=3Dgcc&view=3Drev Log: Handle NULL def in build_cross_bb_scalars_def 2016-05-07 Tom de Vries PR tree-optimization/70956 * graphite-scop-detection.c (build_cross_bb_scalars_def): Handle NU= LL def. * gcc.dg/graphite/pr70956.c: New test. Added: trunk/gcc/testsuite/gcc.dg/graphite/pr70956.c Modified: trunk/gcc/ChangeLog trunk/gcc/graphite-scop-detection.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524429-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 07:03:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104095 invoked by alias); 7 May 2016 07:03:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 104032 invoked by uid 55); 7 May 2016 07:03:09 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70956] [6/7 Regression] ICE in build_cross_bb_scalars_def, at graphite-scop-detection.c:1725 Date: Sat, 07 May 2016 07:03: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00601.txt.bz2 Content-length: 833 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70956 --- Comment #4 from vries at gcc dot gnu.org --- Author: vries Date: Sat May 7 07:02:36 2016 New Revision: 235995 URL: https://gcc.gnu.org/viewcvs?rev=3D235995&root=3Dgcc&view=3Drev Log: backport "Handle NULL def in build_cross_bb_scalars_def" 2016-05-07 Tom de Vries backport: 2016-05-07 Tom de Vries PR tree-optimization/70956 * graphite-scop-detection.c (build_cross_bb_scalars_def): Handle NU= LL def. * gcc.dg/graphite/pr70956.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.dg/graphite/pr70956.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/graphite-scop-detection.c branches/gcc-6-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 07:19:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129948 invoked by alias); 7 May 2016 07:19:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129802 invoked by uid 48); 7 May 2016 07:19:03 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70992] New: Infinite recursion between fold_build2_stat_loc and fold_binary_loc w/ -fwrapv Date: Sat, 07 May 2016 07:19: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: unknown X-Bugzilla-Keywords: ice-on-invalid-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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00602.txt.bz2 Content-length: 7624 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70992 Bug ID: 70992 Summary: Infinite recursion between fold_build2_stat_loc and fold_binary_loc w/ -fwrapv Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- 1. Deep recursion between fold_binary_loc() and fold_build2_stat_loc() caus= es cc1 to ICE on the following reduced testcase when compiling w/ -fwrapv: unsigned int *od; int wy =3D (0 % 0 + 1) * *od * 2; % x86_64-unknown-linux-gnu-gcc-7.0.0-alpha20160501 -c -fwrapv zrcoshfy.c zrcoshfy.c:2:13: warning: division by zero [-Wdiv-by-zero] int wy =3D (0 % 0 + 1) * *od * 2; ^ x86_64-unknown-linux-gnu-gcc-7.0.0-alpha20160501: internal compiler error: Segmentation fault (program cc1) #0 0x00000000008a2d24 in operand_equal_p(tree_node const*, tree_node const= *, unsigned int) () #1 0x00000000008a2be0 in operand_equal_p(tree_node const*, tree_node const= *, unsigned int) () #2 0x0000000000fbb046 in generic_simplify_PLUS_EXPR(unsigned int, tree_cod= e, tree_node*, tree_node*, tree_node*) [clone .isra.217] () #3 0x0000000000fdf25e in generic_simplify(unsigned int, tree_code, tree_no= de*, tree_node*, tree_node*) () #4 0x00000000008b44bc in fold_binary_loc(unsigned int, tree_code, tree_nod= e*, tree_node*, tree_node*) () #5 0x00000000008c05cb in fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) () #6 0x00000000005a2d82 in fold_plusminus_mult_expr(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) () #7 0x00000000008b6184 in fold_binary_loc(unsigned int, tree_code, tree_nod= e*, tree_node*, tree_node*) () #8 0x00000000008c05cb in fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) () #9 0x00000000008cf9d0 in extract_muldiv(tree_node*, tree_node*, tree_code, tree_node*, bool*) () #10 0x00000000008b9d69 in fold_binary_loc(unsigned int, tree_code, tree_nod= e*, tree_node*, tree_node*) () #11 0x00000000008c05cb in fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) () #12 0x00000000008b6184 in fold_binary_loc(unsigned int, tree_code, tree_nod= e*, tree_node*, tree_node*) () #13 0x00000000008c05cb in fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) () #14 0x00000000008cf9d0 in extract_muldiv(tree_node*, tree_node*, tree_code, tree_node*, bool*) () #15 0x00000000008d022e in extract_muldiv(tree_node*, tree_node*, tree_code, tree_node*, bool*) () #16 0x00000000008b9d69 in fold_binary_loc(unsigned int, tree_code, tree_nod= e*, tree_node*, tree_node*) () #17 0x00000000008c05cb in fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) () <=E2=80=A6> #190618 0x00000000008b6f03 in fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) () #190619 0x00000000008c05cb in fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) () #190620 0x00000000008d01e1 in extract_muldiv(tree_node*, tree_node*, tree_c= ode, tree_node*, bool*) () #190621 0x00000000008b9d69 in fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) () #190622 0x00000000008c05cb in fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) () #190623 0x00000000008c0fa0 in fold_build2_initializer_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) () #190624 0x00000000006ad649 in c_fully_fold_internal(tree_node*, bool, bool*, bool*, bool) () #190625 0x00000000006b0a2c in c_fully_fold(tree_node*, bool, bool*) () #190626 0x000000000065a1ac in digest_init(unsigned int, tree_node*, tree_no= de*, tree_node*, bool, bool, int) () #190627 0x000000000065c8d8 in store_init_value(unsigned int, tree_node*, tree_node*, tree_node*) () #190628 0x00000000006321e9 in finish_decl(tree_node*, unsigned int, tree_no= de*, tree_node*, tree_node*) () #190629 0x0000000000696fda in c_parser_declaration_or_fndef(c_parser*, bool, bool, bool, bool, bool, tree_node**, vec, tree_no= de*) () #190630 0x00000000006a3837 in c_parser_external_declaration(c_parser*) () #190631 0x00000000006a42b3 in c_parse_file() () #190632 0x0000000000707f73 in c_common_parse_file() () #190633 0x0000000000b9cd1e in compile_file() () #190634 0x00000000006173f3 in toplev::main(int, char**) () #190635 0x0000000000619637 in main () 2. Changing "0 % 0" to "1 % 0" leads to a slightly different trace: #0 0x0000000000e9e9f0 in wi::mul_internal(long*, long const*, unsigned int, long const*, unsigned int, unsigned int, signop, bool*, bool) () #1 0x00000000008af916 in int_const_binop_1(tree_code, tree_node const*, tree_node const*, int) () #2 0x00000000008c4a38 in const_binop(tree_code, tree_node*, tree_node*) () #3 0x00000000008cfb71 in extract_muldiv(tree_node*, tree_node*, tree_code, tree_node*, bool*) () #4 0x00000000008b9d69 in fold_binary_loc(unsigned int, tree_code, tree_nod= e*, tree_node*, tree_node*) () #5 0x00000000008c05cb in fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) () #6 0x00000000008b6184 in fold_binary_loc(unsigned int, tree_code, tree_nod= e*, tree_node*, tree_node*) () #7 0x00000000008c05cb in fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) () #8 0x00000000008cf9d0 in extract_muldiv(tree_node*, tree_node*, tree_code, tree_node*, bool*) () #9 0x00000000008d022e in extract_muldiv(tree_node*, tree_node*, tree_code, tree_node*, bool*) () #10 0x00000000008b9d69 in fold_binary_loc(unsigned int, tree_code, tree_nod= e*, tree_node*, tree_node*) () #11 0x00000000008c05cb in fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) () <=E2=80=A6> #190616 0x00000000008b6f03 in fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) () #190617 0x00000000008c05cb in fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) () #190618 0x00000000008d01e1 in extract_muldiv(tree_node*, tree_node*, tree_c= ode, tree_node*, bool*) () #190619 0x00000000008b9d69 in fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) () #190620 0x00000000008c05cb in fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) () #190621 0x00000000008c0fa0 in fold_build2_initializer_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) () #190622 0x00000000006ad649 in c_fully_fold_internal(tree_node*, bool, bool*, bool*, bool) () #190623 0x00000000006b0a2c in c_fully_fold(tree_node*, bool, bool*) () #190624 0x000000000065a1ac in digest_init(unsigned int, tree_node*, tree_no= de*, tree_node*, bool, bool, int) () #190625 0x000000000065c8d8 in store_init_value(unsigned int, tree_node*, tree_node*, tree_node*) () #190626 0x00000000006321e9 in finish_decl(tree_node*, unsigned int, tree_no= de*, tree_node*, tree_node*) () #190627 0x0000000000696fda in c_parser_declaration_or_fndef(c_parser*, bool, bool, bool, bool, bool, tree_node**, vec, tree_no= de*) () #190628 0x00000000006a3837 in c_parser_external_declaration(c_parser*) () #190629 0x00000000006a42b3 in c_parse_file() () #190630 0x0000000000707f73 in c_common_parse_file() () #190631 0x0000000000b9cd1e in compile_file() () #190632 0x00000000006173f3 in toplev::main(int, char**) () #190633 0x0000000000619637 in main () >>From gcc-bugs-return-524431-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 07:35:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22187 invoked by alias); 7 May 2016 07:35:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22085 invoked by uid 48); 7 May 2016 07:34:55 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70956] [6/7 Regression] ICE in build_cross_bb_scalars_def, at graphite-scop-detection.c:1725 Date: Sat, 07 May 2016 07: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: vries at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00603.txt.bz2 Content-length: 556 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70956 vries at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |vries at gcc dot gn= u.org --- Comment #5 from vries at gcc dot gnu.org --- Patch with test-case committed to trunk, backported to 6 branch. Marking resolved-fixed. >>From gcc-bugs-return-524432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 09:15:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59981 invoked by alias); 7 May 2016 09:15:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59634 invoked by uid 48); 7 May 2016 09:15:40 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70989] [SH] Further improve utilization of zero-displacement conditional branches Date: Sat, 07 May 2016 09:15: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00604.txt.bz2 Content-length: 1101 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70989 --- Comment #1 from Oleg Endo --- Another case from bzlib.c: .L820: bt .L823 mov.l r0,@r7 .L823: tst r11,r11 bt/s .L824 <<< convert to zero-displacement cbranch mov #0,r1 <<< move common insn from successor bb to this bb mov.l r1,@r11 .L824: tst r12,r12 bt/s .L825 mov #0,r1 <<< likewise mov.l r1,@r12 .L825: result (1): .L820: bt .L823 mov.l r0,@r7 .L823: tst r11,r11 mov #0,r1 <<< now r1 can be propagated into successor bloc= ks bt .L824 mov.l r1,@r11 .L824: mov #0,r1 tst r12,r12 bt .L825 mov.l r1,@r12 .L825: result (2): .L820: bt .L823 mov.l r0,@r7 .L823: tst r11,r11 mov #0,r1 bt .L824 mov.l r1,@r11 .L824: tst r12,r12 bt .L825 mov.l r1,@r12 .L825: >>From gcc-bugs-return-524433-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 09:25:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76850 invoked by alias); 7 May 2016 09:25:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76637 invoked by uid 48); 7 May 2016 09:25:02 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzcwOTM3XSBbNyBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUg?= =?UTF-8?B?Y29kZSDigJhzc2FfbmFtZeKAmSBpcyBub3Qgc3VwcG9ydGVkIGluIExUTyBz?= =?UTF-8?B?dHJlYW1z?= Date: Sat, 07 May 2016 09:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00605.txt.bz2 Content-length: 199 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 --- Comment #14 from Dominique d'Humieres --- The patch in comment 13 fixes the regression without creating new one. >>From gcc-bugs-return-524434-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 09:30:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84995 invoked by alias); 7 May 2016 09:30:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84699 invoked by uid 48); 7 May 2016 09:30:31 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70977] [6/7 Regression] Out of memory during compilation of facebook/wangle (flag c++0x works, flag c++14 fails). Date: Sat, 07 May 2016 09:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: compile-time-hog, memory-hog 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00606.txt.bz2 Content-length: 1498 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70977 --- Comment #7 from Markus Trippelsdorf --- markus@x4 tmp % cat Acceptor-c++14.ii namespace __gnu_cxx { namespace __ops { struct _Iter_less_iter { template constexpr int operator()(_Iterator1, _Iterator2 __it2) { return *__it2; } }; constexpr _Iter_less_iter __iter_less_iter() { return _Iter_less_iter(); } } } namespace std { template struct initializer_list { typedef int *const_iterator; int *_M_array; unsigned long size; constexpr const_iterator begin() { return _M_array; } constexpr const_iterator end() { return 0; } }; template constexpr _FIter max_element(_FIter, _FIter); template constexpr _Tp max(initializer_list<_Tp> __l) { max_element(__l.begin(), __l.end()); } template constexpr _ForwardIterator __max_element(_ForwardIterator __first, _ForwardIterator, _Compare __comp)= { __comp(0, __first); } template constexpr _ForwardIterator max_element(_ForwardIterator __first, _ForwardIterator __last) { __max_element(__first, __last, __gnu_cxx::__ops::__iter_less_iter()); } template void estimateSpaceNeeded() { const int kMaxPositiveSpace =3D max({0}); } } markus@x4 tmp % g++ -c Acceptor-c++14.ii <> >>From gcc-bugs-return-524435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 11:46:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31390 invoked by alias); 7 May 2016 11:46:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31090 invoked by uid 48); 7 May 2016 11:46:39 -0000 From: "vincenzo.innocente at cern dot ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/70993] New: ICE with gcov and lto Date: Sat, 07 May 2016 11:46: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: vincenzo.innocente at cern dot ch 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00607.txt.bz2 Content-length: 1736 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70993 Bug ID: 70993 Summary: ICE with gcov and lto Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: vincenzo.innocente at cern dot ch Target Milestone: --- with gcc version 7.0.0 20160506 (experimental) [trunk revision 235977] (GCC= )=20 cat main.cpp=20 int main() { return 0;} c++ -O2 main.cpp=20 perf record -e cpu/event=3D0xc4,umask=3D0x20,name=3Dbr_inst_retired_near_taken,period=3D40= 0009/ -o perf.data ./a.out [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.016 MB perf.data (1 samples) ] create_gcov --binary=3D./a.out --profile=3Dperf.data --gcov=3Dfbdata.afdo -gcov_version 1 c++ -O2 main.cpp -fauto-profile -flto lto1: internal compiler error: in compute_working_sets, at gcov-io.c:1006 0x6fee03 compute_working_sets(gcov_ctr_summary const*, gcov_working_set_inf= o*) ../../gcc-trunk/gcc/gcov-io.c:1006 0xa1a72d get_working_sets() ../../gcc-trunk/gcc/profile.c:226 0x97cd1a input_symtab() ../../gcc-trunk/gcc/lto-cgraph.c:1869 0x6634a7 read_cgraph_and_symbols ../../gcc-trunk/gcc/lto/lto.c:2856 0x6634a7 lto_main() ../../gcc-trunk/gcc/lto/lto.c:3305 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. lto-wrapper: fatal error: c++ returned 1 exit status compilation terminated. /usr/bin/ld: lto-wrapper failed collect2: error: ld returned 1 exit status >>From gcc-bugs-return-524436-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 12:13:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19095 invoked by alias); 7 May 2016 12:13:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14058 invoked by uid 48); 7 May 2016 12:13:42 -0000 From: "physiker at toast2 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70994] New: gfortran: -fcheck=all implied do loop confusing messages Date: Sat, 07 May 2016 12:13: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: physiker at toast2 dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00608.txt.bz2 Content-length: 17363 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70994 Bug ID: 70994 Summary: gfortran: -fcheck=3Dall implied do loop confusing messages Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: physiker at toast2 dot net Target Milestone: --- Compiling the file f.90 with the command line option -fcheck=3Dall active, = causes the "Warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]". When the -fcheck=3Dall option is removed, there i= s no warning. Executing the compiled code causes an error termination. gfortran-6: At line 8 of file f.f90 Fortran runtime error: Substring out of bounds: upper bound (32767) of 'nam= e' exceeds string length (22) gfortran-5: At line 8 of file f.f90 Fortran runtime error: Substring out of bounds: lower bound (0) of 'name' is less than one When the variable i is initialized,e.g. i=3D1, there is no runtime error me= ssage.=C2=A0 f.f90 subroutine f(name) =C2=A0=C2=A0implicit none =C2=A0=C2=A0character(len=3D*), intent(in)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 :: name =C2=A0=C2=A0character, dimension(512)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0:: cname =C2=A0=C2=A0integer=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0:: i=20 =C2=A0=C2=A0cname(1:len_trim(name)+1) =3D (/ ( name(i:i), i =3D 1,len_trim(= name) ), char(0) /) end subroutine f program t =C2=A0=C2=A0implicit none =C2=A0=C2=A0character(len=3D22)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 :: name =C2=A0=C2=A0name =3D 'abcdefghijklmnopqr=C2=A0=C2=A0=C2=A0=C2=A0' =C2=A0=C2=A0call f(name) end program t LANG=3DC gfortran-fsf-6 -v -W -Wall -fcheck=3Dall f.f90 Driving: gfortran-fsf-6 -v -W -Wall -fcheck=3Dall f.f90 -mmacosx-version-min=3D10.9.4 -l gfortran -shared-libgcc Using built-in specs. COLLECT_GCC=3Dgfortran-fsf-6 COLLECT_LTO_WRAPPER=3D/sw/lib/gcc6/libexec/gcc/x86_64-apple-darwin13.4.0/6.= 1.0/lto-wrapper Target: x86_64-apple-darwin13.4.0 Configured with: ../gcc-6.1.0/configure --prefix=3D/sw --prefix=3D/sw/lib/g= cc6 --mandir=3D/sw/share/man --infodir=3D/sw/lib/gcc6/info --enable-languages=3Dc,c++,fortran,lto,objc,obj-c++,java --with-gmp=3D/sw --with-libiconv-prefix=3D/sw --with-isl=3D/sw --with-mpc=3D/sw --with-syste= m-zlib --program-suffix=3D-fsf-6 Thread model: posix gcc version 6.1.0 (GCC)=20 COLLECT_GCC_OPTIONS=3D'-v' '-Wextra' '-Wall' '-fcheck=3Dall' '-mmacosx-version-min=3D10.9.4' '-shared-libgcc' '-mtune=3Dcore2' /sw/lib/gcc6/libexec/gcc/x86_64-apple-darwin13.4.0/6.1.0/f951 f.f90 -fPIC -quiet -dumpbase f.f90 -mmacosx-version-min=3D10.9.4 -mtune=3Dcore2 -auxbas= e f -Wextra -Wall -version -fcheck=3Dall -fintrinsic-modules-path /sw/lib/gcc6/lib/gcc/x86_64-apple-darwin13.4.0/6.1.0/finclude -o /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//ccD8RIOC.s GNU Fortran (GCC) version 6.1.0 (x86_64-apple-darwin13.4.0) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0compiled by GNU C version 6= .1.0, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version 0.15 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU Fortran2008 (GCC) version 6.1.0 (x86_64-apple-darwin13.4.0) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0compiled by GNU C version 6= .1.0, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version 0.15 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 f.f90:8:0: =C2=A0=C2=A0 cname(1:len_trim(name)+1) =3D (/ ( name(i:i), i =3D 1,len_trim= (name) ), char(0) /) Warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitiali= zed] COLLECT_GCC_OPTIONS=3D'-v' '-Wextra' '-Wall' '-fcheck=3Dall' '-mmacosx-version-min=3D10.9.4' '-shared-libgcc' '-mtune=3Dcore2' as -arch x86_64 -force_cpusubtype_ALL -o /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//cc66pKlk.o /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//ccD8RIOC.s Reading specs from /sw/lib/gcc6/lib/gcc/x86_64-apple-darwin13.4.0/6.1.0/../../../libgfortran.s= pec rename spec lib to liborig COLLECT_GCC_OPTIONS=3D'-v' '-Wextra' '-Wall' '-fcheck=3Dall' '-mmacosx-version-min=3D10.9.4' '-shared-libgcc' '-mtune=3Dcore2' COMPILER_PATH=3D/sw/lib/gcc6/libexec/gcc/x86_64-apple-darwin13.4.0/6.1.0/:/= sw/lib/gcc6/libexec/gcc/x86_64-apple-darwin13.4.0/6.1.0/:/sw/lib/gcc6/libex= ec/gcc/x86_64-apple-darwin13.4.0/:/sw/lib/gcc6/lib/gcc/x86_64-apple-darwin1= 3.4.0/6.1.0/:/sw/lib/gcc6/lib/gcc/x86_64-apple-darwin13.4.0/ LIBRARY_PATH=3D/sw/lib/gcc6/lib/gcc/x86_64-apple-darwin13.4.0/6.1.0/:/sw/li= b/gcc6/lib/gcc/x86_64-apple-darwin13.4.0/6.1.0/../../../ COLLECT_GCC_OPTIONS=3D'-v' '-Wextra' '-Wall' '-fcheck=3Dall' '-mmacosx-version-min=3D10.9.4' '-shared-libgcc' '-mtune=3Dcore2' /sw/lib/gcc6/libexec/gcc/x86_64-apple-darwin13.4.0/6.1.0/collect2 -dynamic -arch x86_64 -macosx_version_min 10.9.4 -weak_reference_mismatches non-weak= -o a.out -L/sw/lib/gcc6/lib/gcc/x86_64-apple-darwin13.4.0/6.1.0 -L/sw/lib/gcc6/lib/gcc/x86_64-apple-darwin13.4.0/6.1.0/../../.. /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//cc66pKlk.o -lgfortran -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.1= 0.5 -lgcc -lSystem -v collect2 version 6.1.0 /usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.9.4 -weak_reference_mismatches non-weak -o a.out -L/sw/lib/gcc6/lib/gcc/x86_64-apple-darwin13.4.0/6.1.0 -L/sw/lib/gcc6/lib/gcc/x86_64-apple-darwin13.4.0/6.1.0/../../.. /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//cc66pKlk.o -lgfortran -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.1= 0.5 -lgcc -lSystem -v @(#)PROGRAM:ld=C2=A0=C2=A0PROJECT:ld64-241.9 configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7m armv7em Library search paths: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/sw/lib/gcc6/lib/gcc/x86_64= -apple-darwin13.4.0/6.1.0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/sw/lib/gcc6/lib =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/usr/lib =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/usr/local/lib Framework search paths: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/Library/Frameworks/ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/System/Library/Frameworks/ /usr/bin/nm -n /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//cc66pKlk.o Compilation finished at Sat May=C2=A0=C2=A07 13:35:36 bash-3.2$ ./a.out At line 8 of file f.f90 Fortran runtime error: Substring out of bounds: upper bound (32767) of 'nam= e' exceeds string length (22) Error termination. Backtrace: #0=C2=A0=C2=A00x104946749 #1=C2=A0=C2=A00x104947415 #2=C2=A0=C2=A00x1049477ba #3=C2=A0=C2=A00x10493ea2a #4=C2=A0=C2=A00x10493ec44 #5=C2=A0=C2=A00x10493ec86 LANG=3DC gfortran-fsf-5 -v -W -Wall -fcheck=3Dall f.f90 Driving: gfortran-fsf-5 -mmacosx-version-min=3D10.9.4 -v -W -Wall -fcheck= =3Dall f.f90 -l gfortran -shared-libgcc Using built-in specs. COLLECT_GCC=3Dgfortran-fsf-5 COLLECT_LTO_WRAPPER=3D/sw/lib/gcc5/libexec/gcc/x86_64-apple-darwin13.4.0/5.= 3.0/lto-wrapper Target: x86_64-apple-darwin13.4.0 Configured with: ../gcc-5.3.0/configure --prefix=3D/sw --prefix=3D/sw/lib/g= cc5 --mandir=3D/sw/share/man --infodir=3D/sw/lib/gcc5/info --enable-languages=3Dc,c++,fortran,lto,objc,obj-c++,java --with-gmp=3D/sw --with-libiconv-prefix=3D/sw --with-isl=3D/sw --with-mpc=3D/sw --with-syste= m-zlib --program-suffix=3D-fsf-5 Thread model: posix gcc version 5.3.0 (GCC)=20 COLLECT_GCC_OPTIONS=3D'-mmacosx-version-min=3D10.9.4' '-v' '-Wextra' '-Wall' '-fcheck=3Dall' '-shared-libgcc' '-mtune=3Dcore2' /sw/lib/gcc5/libexec/gcc/x86_64-apple-darwin13.4.0/5.3.0/f951 f.f90 -fPIC -quiet -dumpbase f.f90 -mmacosx-version-min=3D10.9.4 -mtune=3Dcore2 -auxbas= e f -Wextra -Wall -version -fcheck=3Dall -fintrinsic-modules-path /sw/lib/gcc5/lib/gcc/x86_64-apple-darwin13.4.0/5.3.0/finclude -o /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//cc8Us4wE.s GNU Fortran (GCC) version 5.3.0 (x86_64-apple-darwin13.4.0) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0compiled by GNU C version 5= .3.0, GMP version 6.0.0, MPFR version 3.1.3, MPC version 1.0.3 warning: GMP header version 6.0.0 differs from library version 6.1.0. warning: MPFR header version 3.1.3 differs from library version 3.1.4. GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU Fortran2008 (GCC) version 5.3.0 (x86_64-apple-darwin13.4.0) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0compiled by GNU C version 5= .3.0, GMP version 6.0.0, MPFR version 3.1.3, MPC version 1.0.3 warning: GMP header version 6.0.0 differs from library version 6.1.0. warning: MPFR header version 3.1.3 differs from library version 3.1.4. GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 f.f90:8:0: =C2=A0=C2=A0 cname(1:len_trim(name)+1) =3D (/ ( name(i:i), i =3D 1,len_trim= (name) ), char(0)=20 ^ Warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitiali= zed] COLLECT_GCC_OPTIONS=3D'-mmacosx-version-min=3D10.9.4' '-v' '-Wextra' '-Wall' '-fcheck=3Dall' '-shared-libgcc' '-mtune=3Dcore2' as -arch x86_64 -force_cpusubtype_ALL -o /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//cc9CbUa9.o /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//cc8Us4wE.s Reading specs from /sw/lib/gcc5/lib/gcc/x86_64-apple-darwin13.4.0/5.3.0/../../../libgfortran.s= pec rename spec lib to liborig COLLECT_GCC_OPTIONS=3D'-mmacosx-version-min=3D10.9.4' '-v' '-Wextra' '-Wall' '-fcheck=3Dall' '-shared-libgcc' '-mtune=3Dcore2' COMPILER_PATH=3D/sw/lib/gcc5/libexec/gcc/x86_64-apple-darwin13.4.0/5.3.0/:/= sw/lib/gcc5/libexec/gcc/x86_64-apple-darwin13.4.0/5.3.0/:/sw/lib/gcc5/libex= ec/gcc/x86_64-apple-darwin13.4.0/:/sw/lib/gcc5/lib/gcc/x86_64-apple-darwin1= 3.4.0/5.3.0/:/sw/lib/gcc5/lib/gcc/x86_64-apple-darwin13.4.0/ LIBRARY_PATH=3D/sw/lib/gcc5/lib/gcc/x86_64-apple-darwin13.4.0/5.3.0/:/sw/li= b/gcc5/lib/gcc/x86_64-apple-darwin13.4.0/5.3.0/../../../:/usr/lib/ COLLECT_GCC_OPTIONS=3D'-mmacosx-version-min=3D10.9.4' '-v' '-Wextra' '-Wall' '-fcheck=3Dall' '-shared-libgcc' '-mtune=3Dcore2' /sw/lib/gcc5/libexec/gcc/x86_64-apple-darwin13.4.0/5.3.0/collect2 -dynamic -arch x86_64 -macosx_version_min 10.9.4 -weak_reference_mismatches non-weak= -o a.out -L/sw/lib/gcc5/lib/gcc/x86_64-apple-darwin13.4.0/5.3.0 -L/sw/lib/gcc5/lib/gcc/x86_64-apple-darwin13.4.0/5.3.0/../../.. /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//cc9CbUa9.o -lgfortran -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.1= 0.5 -lgcc -lSystem -v collect2 version 5.3.0 /usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.9.4 -weak_reference_mismatches non-weak -o a.out -L/sw/lib/gcc5/lib/gcc/x86_64-apple-darwin13.4.0/5.3.0 -L/sw/lib/gcc5/lib/gcc/x86_64-apple-darwin13.4.0/5.3.0/../../.. /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//cc9CbUa9.o -lgfortran -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.1= 0.5 -lgcc -lSystem -v @(#)PROGRAM:ld=C2=A0=C2=A0PROJECT:ld64-241.9 configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7m armv7em Library search paths: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/sw/lib/gcc5/lib/gcc/x86_64= -apple-darwin13.4.0/5.3.0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/sw/lib/gcc5/lib =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/usr/lib =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/usr/local/lib Framework search paths: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/Library/Frameworks/ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/System/Library/Frameworks/ /usr/bin/nm -n /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//cc9CbUa9.o bash-3.2$ ./a.out At line 8 of file f.f90 Fortran runtime error: Substring out of bounds: upper bound (32767) of 'nam= e' exceeds string length (22) Error termination. Backtrace: #0=C2=A0=C2=A00x104946749 #1=C2=A0=C2=A00x104947415 #2=C2=A0=C2=A00x1049477ba #3=C2=A0=C2=A00x10493ea2a #4=C2=A0=C2=A00x10493ec44 #5=C2=A0=C2=A00x10493ec86 LANG=3DC gfortran-fsf-5 -v -W -Wall -fcheck=3Dall f.f90 Driving: gfortran-fsf-5 -mmacosx-version-min=3D10.9.4 -v -W -Wall -fcheck= =3Dall f.f90 -l gfortran -shared-libgcc Using built-in specs. COLLECT_GCC=3Dgfortran-fsf-5 COLLECT_LTO_WRAPPER=3D/sw/lib/gcc5/libexec/gcc/x86_64-apple-darwin13.4.0/5.= 3.0/lto-wrapper Target: x86_64-apple-darwin13.4.0 Configured with: ../gcc-5.3.0/configure --prefix=3D/sw --prefix=3D/sw/lib/g= cc5 --mandir=3D/sw/share/man --infodir=3D/sw/lib/gcc5/info --enable-languages=3Dc,c++,fortran,lto,objc,obj-c++,java --with-gmp=3D/sw --with-libiconv-prefix=3D/sw --with-isl=3D/sw --with-mpc=3D/sw --with-syste= m-zlib --program-suffix=3D-fsf-5 Thread model: posix gcc version 5.3.0 (GCC)=20 COLLECT_GCC_OPTIONS=3D'-mmacosx-version-min=3D10.9.4' '-v' '-Wextra' '-Wall' '-fcheck=3Dall' '-shared-libgcc' '-mtune=3Dcore2' /sw/lib/gcc5/libexec/gcc/x86_64-apple-darwin13.4.0/5.3.0/f951 f.f90 -fPIC -quiet -dumpbase f.f90 -mmacosx-version-min=3D10.9.4 -mtune=3Dcore2 -auxbas= e f -Wextra -Wall -version -fcheck=3Dall -fintrinsic-modules-path /sw/lib/gcc5/lib/gcc/x86_64-apple-darwin13.4.0/5.3.0/finclude -o /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//cc8Us4wE.s GNU Fortran (GCC) version 5.3.0 (x86_64-apple-darwin13.4.0) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0compiled by GNU C version 5= .3.0, GMP version 6.0.0, MPFR version 3.1.3, MPC version 1.0.3 warning: GMP header version 6.0.0 differs from library version 6.1.0. warning: MPFR header version 3.1.3 differs from library version 3.1.4. GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU Fortran2008 (GCC) version 5.3.0 (x86_64-apple-darwin13.4.0) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0compiled by GNU C version 5= .3.0, GMP version 6.0.0, MPFR version 3.1.3, MPC version 1.0.3 warning: GMP header version 6.0.0 differs from library version 6.1.0. warning: MPFR header version 3.1.3 differs from library version 3.1.4. GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 f.f90:8:0: =C2=A0=C2=A0 cname(1:len_trim(name)+1) =3D (/ ( name(i:i), i =3D 1,len_trim= (name) ), char(0)=20 ^ Warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitiali= zed] COLLECT_GCC_OPTIONS=3D'-mmacosx-version-min=3D10.9.4' '-v' '-Wextra' '-Wall' '-fcheck=3Dall' '-shared-libgcc' '-mtune=3Dcore2' as -arch x86_64 -force_cpusubtype_ALL -o /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//cc9CbUa9.o /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//cc8Us4wE.s Reading specs from /sw/lib/gcc5/lib/gcc/x86_64-apple-darwin13.4.0/5.3.0/../../../libgfortran.s= pec rename spec lib to liborig COLLECT_GCC_OPTIONS=3D'-mmacosx-version-min=3D10.9.4' '-v' '-Wextra' '-Wall' '-fcheck=3Dall' '-shared-libgcc' '-mtune=3Dcore2' COMPILER_PATH=3D/sw/lib/gcc5/libexec/gcc/x86_64-apple-darwin13.4.0/5.3.0/:/= sw/lib/gcc5/libexec/gcc/x86_64-apple-darwin13.4.0/5.3.0/:/sw/lib/gcc5/libex= ec/gcc/x86_64-apple-darwin13.4.0/:/sw/lib/gcc5/lib/gcc/x86_64-apple-darwin1= 3.4.0/5.3.0/:/sw/lib/gcc5/lib/gcc/x86_64-apple-darwin13.4.0/ LIBRARY_PATH=3D/sw/lib/gcc5/lib/gcc/x86_64-apple-darwin13.4.0/5.3.0/:/sw/li= b/gcc5/lib/gcc/x86_64-apple-darwin13.4.0/5.3.0/../../../:/usr/lib/ COLLECT_GCC_OPTIONS=3D'-mmacosx-version-min=3D10.9.4' '-v' '-Wextra' '-Wall' '-fcheck=3Dall' '-shared-libgcc' '-mtune=3Dcore2' /sw/lib/gcc5/libexec/gcc/x86_64-apple-darwin13.4.0/5.3.0/collect2 -dynamic -arch x86_64 -macosx_version_min 10.9.4 -weak_reference_mismatches non-weak= -o a.out -L/sw/lib/gcc5/lib/gcc/x86_64-apple-darwin13.4.0/5.3.0 -L/sw/lib/gcc5/lib/gcc/x86_64-apple-darwin13.4.0/5.3.0/../../.. /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//cc9CbUa9.o -lgfortran -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.1= 0.5 -lgcc -lSystem -v collect2 version 5.3.0 /usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.9.4 -weak_reference_mismatches non-weak -o a.out -L/sw/lib/gcc5/lib/gcc/x86_64-apple-darwin13.4.0/5.3.0 -L/sw/lib/gcc5/lib/gcc/x86_64-apple-darwin13.4.0/5.3.0/../../.. /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//cc9CbUa9.o -lgfortran -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.1= 0.5 -lgcc -lSystem -v @(#)PROGRAM:ld=C2=A0=C2=A0PROJECT:ld64-241.9 configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7m armv7em Library search paths: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/sw/lib/gcc5/lib/gcc/x86_64= -apple-darwin13.4.0/5.3.0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/sw/lib/gcc5/lib =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/usr/lib =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/usr/local/lib Framework search paths: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/Library/Frameworks/ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/System/Library/Frameworks/ /usr/bin/nm -n /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//cc9CbUa9.o Compilation finished at Sat May=C2=A0=C2=A07 13:37:55 bash-3.2$ ./a.out At line 8 of file f.f90 Fortran runtime error: Substring out of bounds: lower bound (0) of 'name' is less than one >>From gcc-bugs-return-524437-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 12:16:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25108 invoked by alias); 7 May 2016 12:16:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24866 invoked by uid 48); 7 May 2016 12:16:38 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70853] ICE on pointing to null, in gfc_add_block_to_block, at fortran/trans.c:1599 Date: Sat, 07 May 2016 12:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00609.txt.bz2 Content-length: 671 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70853 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-07 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres --- Confirmed from 4.6 up to trunk (7.0). Before 4.6 compiling the first test in comment 0 gives the following error Error: Pointer bounds remapping at (1) is not yet implemented in gfortran >>From gcc-bugs-return-524438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 12:46:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84849 invoked by alias); 7 May 2016 12:46:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84731 invoked by uid 48); 7 May 2016 12:46:36 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70995] New: [SH] rotcl usage results in bloaty code Date: Sat, 07 May 2016 12:46: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00610.txt.bz2 Content-length: 1458 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70995 Bug ID: 70995 Summary: [SH] rotcl usage results in bloaty code Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: olegendo at gcc dot gnu.org Target Milestone: --- Target: sh*-*-* While the following: unsigned int test_14 (unsigned int a, int b, int c) { bool r =3D b =3D=3D c; return (a << 9) | r; } compiles to a minimal sequence (-m4 -O2): cmp/eq r6,r5 shll8 r4 mov r4,r0 rts rotcl r0 changing the input values a little: unsigned int test_15 (unsigned int a, int b, int c) { bool r =3D b !=3D c; return (a << 11) | r; } results in (-m4 -O2): cmp/eq r6,r5 movt r1 shll8 r4 tst r1,r1 shll2 r4 mov r4,r0 rts rotcl r0 and on SH2A (has nott insn): shll8 r4 cmp/eq r6,r5 shll2 r4 mov r4,r0 nott rts rotcl r0 It seems for certain parameters it's better to not use the rotcl insn if the nott insn is not available, as it saves one insn:=20 shll8 r4 cmp/eq r6,r5 shll2 r4 mov #-1,r0 negc r0,r0 rts or r4,r0 >>From gcc-bugs-return-524439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 13:18:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82859 invoked by alias); 7 May 2016 13:18:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82688 invoked by uid 48); 7 May 2016 13:18:16 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70994] gfortran: -fcheck=all implied do loop confusing messages Date: Sat, 07 May 2016 13:18: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00611.txt.bz2 Content-length: 1080 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70994 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-07 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- Confirmed from 4.5 up to trunk (7.0). Note that the code compiled with 4.4.7 and '-Wall -fbounds-check' executes without error. Work-around subroutine f(name) implicit none character(len=3D*), intent(in) :: name character, dimension(512) :: cname integer :: i, l l =3D len_trim(name) i =3D l cname(1:len_trim(name)+1) =3D (/ ( name(i:i), i =3D 1,len_trim(name) ), c= har(0) /) end subroutine f program t implicit none character(len=3D22) :: name name =3D 'abcdefghijklmnopqr ' call f(name) end program t >>From gcc-bugs-return-524440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 14:14:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82526 invoked by alias); 7 May 2016 14:14:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82401 invoked by uid 48); 7 May 2016 14:13:49 -0000 From: "magum1977 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70996] New: deadlock on compilation sequence of operator<< Date: Sat, 07 May 2016 14:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: magum1977 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00612.txt.bz2 Content-length: 2628 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70996 Bug ID: 70996 Summary: deadlock on compilation sequence of operator<< Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: magum1977 at gmail dot com Target Milestone: --- Created attachment 38434 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38434&action=3Dedit compilation of this src is endless Code like below error() << "call() wrong id got:" << hex << (unsigned)op2()=20 << " expect:" << (unsigned)op3() << '\n' << dec << " toSend op: " << (unsigned)op() << '\n' << " response msgid:" << (unsigned)op2() << '\n' << " response len: " << (unsigned)op3() << '\n' << " response op: " << op4() << '\n'=20 << endl; with logger class which implement several overrided operator<< leads to infinite compilation.=20 during infinite compilation cc1plus takes about 8% CPU. see src example in attach i compile it in c++98 mode with following options: g++ -pipe -c -msse2 -m64 -MD -Wno-trigraphs -Wno-multichar -Wformat -Wno-format-extra-args -ffunction-sections -fdata-sections -fno-omit-frame-pointer -ffast-math -ffinite-math-only -minline-all-stringo= ps=20 -std=3Dc++98 -fconserve-space -Wno-invalid-offsetof -I /usr/include -g -fstack-protector -fexceptions -Wreturn-type -Werror -pthread -o message_po= rt.o ../../prog/3rdPartyLibs/mongo-cxx-driver/mongo/util/net/message_port_test.c= pp % gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --prefix=3D/usr --libdir=3D/u= sr/lib --libexecdir=3D/usr/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/in= fo --with-bugurl=3Dhttps://bugs.archlinux.org/ --enable-languages=3Dc,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=3Dposix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=3Dgnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=3Dgnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=3Drelease Thread model: posix gcc version 6.1.1 20160501 (GCC) >>From gcc-bugs-return-524441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 14:26:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13848 invoked by alias); 7 May 2016 14:26:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13739 invoked by uid 48); 7 May 2016 14:26:34 -0000 From: "magum1977 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70996] deadlock on compilation sequence of operator<< Date: Sat, 07 May 2016 14:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: magum1977 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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00613.txt.bz2 Content-length: 1431 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70996 --- Comment #1 from Alexander --- Created attachment 38435 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38435&action=3Dedit actually only this src leads inifinite compilation. src before finished with error after 5 minutes actually only this src leads inifinite compilation.=20 src before finished with error after 5 minutes error (which occured after 5 mins): g++ -pipe -c -msse2 -m64 -MD -Wno-trigraphs -Wno-multichar -Wformat -Wno-format-extra-args -ffunction-sections -fdata-sections -fno-omit-frame-pointer -ffast-math -ffinite-math-only -minline-all-stringo= ps=20 -std=3Dc++98 -fconserve-space -Wno-invalid-offsetof -I /usr/include -g -fstack-protector -fexceptions -Wreturn-type -Werror -pthread -o message_po= rt.o ../../prog/3rdPartyLibs/mongo-cxx-driver/mongo/util/net/message_port_test.c= pp ../../prog/3rdPartyLibs/mongo-cxx-driver/mongo/util/net/message_port_test.c= pp: In instantiation of 'Nullstream& Nullstream::operator<<(T*) [with T =3D std::ios_base&(std::ios_base&)]': ../../prog/3rdPartyLibs/mongo-cxx-driver/mongo/util/net/message_port_test.c= pp:46:50: required from here ../../prog/3rdPartyLibs/mongo-cxx-driver/mongo/util/net/message_port_test.c= pp:23:32: error: invalid static_cast from type 'std::ios_base& (*)(std::ios_base&)' to type 'void*' return operator<<( static_cast( t ) ); >>From gcc-bugs-return-524442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 14:31:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10485 invoked by alias); 7 May 2016 14:31:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10290 invoked by uid 48); 7 May 2016 14:31:42 -0000 From: "magum1977 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70996] deadlock on compilation sequence of operator<< Date: Sat, 07 May 2016 14:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: magum1977 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00614.txt.bz2 Content-length: 148 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70996 --- Comment #2 from Alexander --- std-98 is not affect to result >>From gcc-bugs-return-524443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 14:41:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26114 invoked by alias); 7 May 2016 14:41:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25955 invoked by uid 48); 7 May 2016 14:40:59 -0000 From: "doko at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70997] New: [7 Regression] bootstrap broken on s390x-linux-gnu Date: Sat, 07 May 2016 14:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00615.txt.bz2 Content-length: 3579 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70997 Bug ID: 70997 Summary: [7 Regression] bootstrap broken on s390x-linux-gnu Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- seen with 20160506 on s390x-linux-gnu /<>/build/./prev-gcc/xg++ -B/<>/build/./prev-gcc/ -B/usr/lib/gcc-snapshot/s390x-linux-gnu/bin/ -nostdinc++ -B/<>/build/prev-s390x-linux-gnu/libstdc++-v3/src/.libs -B/<>/build/prev-s390x-linux-gnu/libstdc++-v3/libsupc++/.libs= =20 -I/<>/build/prev-s390x-linux-gnu/libstdc++-v3/include/s390x-li= nux-gnu -I/<>/build/prev-s390x-linux-gnu/libstdc++-v3/include=20 -I/<>/src/libstdc++-v3/libsupc++ -L/<>/build/prev-s390x-linux-gnu/libstdc++-v3/src/.libs -L/<>/build/prev-s390x-linux-gnu/libstdc++-v3/libsupc++/.libs -fno-PIE -c -g -O2 -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common=20 -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include=20 -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cfganal.o -MT cfgana= l.o -MMD -MP -MF ./.deps/cfganal.TPo ../../src/gcc/cfganal.c ../../src/gcc/cfganal.c: In function 'edge_def* find_edge(basic_block, basic_block)': ../../src/gcc/cfganal.c:500:1: internal compiler error: in redirect_jump, at jump.c:1560 } ^ 0x80cfcefd redirect_jump(rtx_jump_insn*, rtx_def*, int) ../../src/gcc/jump.c:1560 0x81877341 try_optimize_cfg ../../src/gcc/cfgcleanup.c:2899 0x81877df1 cleanup_cfg(int) ../../src/gcc/cfgcleanup.c:3150 0x818781bd execute ../../src/gcc/cfgcleanup.c:3279 Please submit a full bug report, with preprocessed source if appropriate. configured with=20 // Target: s390x-linux-gnu // Configured with: ../src/configure -v --with-pkgversion=3D'Ubuntu 20160506-1ubuntu1' --with-bugurl=3Dfile:///usr/share/doc/gcc-snapshot/READM= E.Bugs --enable-languages=3Dc,ada,c++,java,go,fortran,objc,obj-c++ --prefix=3D/usr/lib/gcc-snapshot --enable-shared --enable-linker-build-id --disable-nls --with-sysroot=3D/ --enable-clocale=3Dgnu --enable-libstdcxx-= debug --enable-libstdcxx-time=3Dyes --with-default-libstdcxx-abi=3Dnew --enable-gnu-unique-object --disable-libsanitizer --disable-libquadmath --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=3Dgtk --enable-gtk-cairo --with-java-home=3D/usr/lib/jvm/java-1.5.0-gcj-7-snap-s390x/jre --enable-java-home --with-jvm-root-dir=3D/usr/lib/jvm/java-1.5.0-gcj-7-snap= -s390x --with-jvm-jar-dir=3D/usr/lib/jvm-exports/java-1.5.0-gcj-7-snap-s390x --with-arch-directory=3Ds390x --with-ecj-jar=3D/usr/share/java/eclipse-ecj.= jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch=3DzEC12 --with-long-double-128 --enable-multilib --enable-checking=3Dyes --build=3Ds390x-linux-gnu --host=3Ds390x-linux-gnu --target=3Ds390x-linux-g= nu full build log https://launchpadlibrarian.net/258248825/buildlog_ubuntu-yakkety-s390x.gcc-= snapshot_20160506-1ubuntu1_BUILDING.txt.gz >>From gcc-bugs-return-524444-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 14:43:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29680 invoked by alias); 7 May 2016 14:43:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29528 invoked by uid 48); 7 May 2016 14:43:20 -0000 From: "magum1977 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70996] regression - infinite compilation of sequence overrided operator<< Date: Sat, 07 May 2016 14:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: magum1977 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: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00616.txt.bz2 Content-length: 557 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70996 Alexander changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|infinite compilation of |regression - infinite |sequence overrided |compilation of sequence |operator<< |overrided operator<< --- Comment #3 from Alexander --- gcc 5.3 have no any problems with such code >>From gcc-bugs-return-524445-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 14:54:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45133 invoked by alias); 7 May 2016 14:54:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 45002 invoked by uid 48); 7 May 2016 14:54:29 -0000 From: "physiker at toast2 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66328] Wrong initialization of derived-type DATA Date: Sat, 07 May 2016 14:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: physiker at toast2 dot net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00617.txt.bz2 Content-length: 4552 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66328 physiker at toast2 dot net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |physiker at toast2 dot net --- Comment #1 from physiker at toast2 dot net --- It seems that the bug is fixed. When the code is compiled with gfortran 6.1, the binary produces the expected output when run (see below). bash-3.2$ LANG=3DC gfortran-fsf-6 -v ddata.f90 Driving: gfortran-fsf-6 -v ddata.f90 -mmacosx-version-min=3D10.9.4 -l gfort= ran -shared-libgcc Using built-in specs. COLLECT_GCC=3Dgfortran-fsf-6 COLLECT_LTO_WRAPPER=3D/sw/lib/gcc6/libexec/gcc/x86_64-apple-darwin13.4.0/6.= 1.0/lto-wrapper Target: x86_64-apple-darwin13.4.0 Configured with: ../gcc-6.1.0/configure --prefix=3D/sw --prefix=3D/sw/lib/g= cc6 --mandir=3D/sw/share/man --infodir=3D/sw/lib/gcc6/info --enable-languages=3Dc,c++,fortran,lto,objc,obj-c++,java --with-gmp=3D/sw --with-libiconv-prefix=3D/sw --with-isl=3D/sw --with-mpc=3D/sw --with-syste= m-zlib --program-suffix=3D-fsf-6 Thread model: posix gcc version 6.1.0 (GCC)=20 COLLECT_GCC_OPTIONS=3D'-v' '-mmacosx-version-min=3D10.9.4' '-shared-libgcc' '-mtune=3Dcore2' /sw/lib/gcc6/libexec/gcc/x86_64-apple-darwin13.4.0/6.1.0/f951 ddata.f90 -f= PIC -quiet -dumpbase ddata.f90 -mmacosx-version-min=3D10.9.4 -mtune=3Dcore2 -au= xbase ddata -version -fintrinsic-modules-path /sw/lib/gcc6/lib/gcc/x86_64-apple-darwin13.4.0/6.1.0/finclude -o /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//ccxnGIeX.s GNU Fortran (GCC) version 6.1.0 (x86_64-apple-darwin13.4.0) compiled by GNU C version 6.1.0, GMP version 6.1.0, MPFR version 3.= 1.4, MPC version 1.0.3, isl version 0.15 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU Fortran2008 (GCC) version 6.1.0 (x86_64-apple-darwin13.4.0) compiled by GNU C version 6.1.0, GMP version 6.1.0, MPFR version 3.= 1.4, MPC version 1.0.3, isl version 0.15 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 COLLECT_GCC_OPTIONS=3D'-v' '-mmacosx-version-min=3D10.9.4' '-shared-libgcc' '-mtune=3Dcore2' as -arch x86_64 -force_cpusubtype_ALL -o /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//ccpWyVcF.o /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//ccxnGIeX.s Reading specs from /sw/lib/gcc6/lib/gcc/x86_64-apple-darwin13.4.0/6.1.0/../../../libgfortran.s= pec rename spec lib to liborig COLLECT_GCC_OPTIONS=3D'-v' '-mmacosx-version-min=3D10.9.4' '-shared-libgcc' '-mtune=3Dcore2' COMPILER_PATH=3D/sw/lib/gcc6/libexec/gcc/x86_64-apple-darwin13.4.0/6.1.0/:/= sw/lib/gcc6/libexec/gcc/x86_64-apple-darwin13.4.0/6.1.0/:/sw/lib/gcc6/libex= ec/gcc/x86_64-apple-darwin13.4.0/:/sw/lib/gcc6/lib/gcc/x86_64-apple-darwin1= 3.4.0/6.1.0/:/sw/lib/gcc6/lib/gcc/x86_64-apple-darwin13.4.0/ LIBRARY_PATH=3D/sw/lib/gcc6/lib/gcc/x86_64-apple-darwin13.4.0/6.1.0/:/sw/li= b/gcc6/lib/gcc/x86_64-apple-darwin13.4.0/6.1.0/../../../ COLLECT_GCC_OPTIONS=3D'-v' '-mmacosx-version-min=3D10.9.4' '-shared-libgcc' '-mtune=3Dcore2' /sw/lib/gcc6/libexec/gcc/x86_64-apple-darwin13.4.0/6.1.0/collect2 -dynamic -arch x86_64 -macosx_version_min 10.9.4 -weak_reference_mismatches non-weak= -o a.out -L/sw/lib/gcc6/lib/gcc/x86_64-apple-darwin13.4.0/6.1.0 -L/sw/lib/gcc6/lib/gcc/x86_64-apple-darwin13.4.0/6.1.0/../../.. /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//ccpWyVcF.o -lgfortran -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.1= 0.5 -lgcc -lSystem -v collect2 version 6.1.0 /usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.9.4 -weak_reference_mismatches non-weak -o a.out -L/sw/lib/gcc6/lib/gcc/x86_64-apple-darwin13.4.0/6.1.0 -L/sw/lib/gcc6/lib/gcc/x86_64-apple-darwin13.4.0/6.1.0/../../.. /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//ccpWyVcF.o -lgfortran -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.1= 0.5 -lgcc -lSystem -v @(#)PROGRAM:ld PROJECT:ld64-241.9 configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7m armv7em Library search paths: /sw/lib/gcc6/lib/gcc/x86_64-apple-darwin13.4.0/6.1.0 /sw/lib/gcc6/lib /usr/lib /usr/local/lib Framework search paths: /Library/Frameworks/ /System/Library/Frameworks/ /usr/bin/nm -n /var/folders/97/4qnhjhtn25s86s9hkz0h37_m0000gn/T//ccpWyVcF.o bash-3.2$ ./a.out 1.00000000 1.00000000=20=20=20=20 1.00000000 1.00000000=20=20=20=20 bash-3.2$ >>From gcc-bugs-return-524446-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 14:55:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46657 invoked by alias); 7 May 2016 14:55:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46108 invoked by uid 48); 7 May 2016 14:54:59 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70998] New: [7 Regression]: ICE in pre_and_rev_post_order_compute, at cfganal.c Date: Sat, 07 May 2016 14:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00618.txt.bz2 Content-length: 5480 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70998 Bug ID: 70998 Summary: [7 Regression]: ICE in pre_and_rev_post_order_compute, at cfganal.c Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ubizjak at gmail dot com Target Milestone: --- Recent commit caused following regression in the testsuite for x86_64-linux= -gnu target: FAIL: g++.dg/pr62079.C (internal compiler error) FAIL: g++.dg/pr62079.C (test for excess errors) cc1plus -quiet -std=3Dc++11 -O2 -fnon-call-exceptions pr62079.C=20 pr62079.C: In function =E2=80=98int main()=E2=80=99: pr62079.C:78:1: internal compiler error: in pre_and_rev_post_order_compute,= at cfganal.c:1056 } ^ 0x936c5d pre_and_rev_post_order_compute(int*, int*, bool) /home/uros/gcc-svn/trunk/gcc/cfganal.c:1055 0x901f8f init_alias_analysis() /home/uros/gcc-svn/trunk/gcc/alias.c:3252 0x13d0d5e sched_init() /home/uros/gcc-svn/trunk/gcc/haifa-sched.c:7369 0x13d23cd haifa_sched_init() /home/uros/gcc-svn/trunk/gcc/haifa-sched.c:7406 0xcf8d79 schedule_insns() /home/uros/gcc-svn/trunk/gcc/sched-rgn.c:3504 0xcf959d schedule_insns() /home/uros/gcc-svn/trunk/gcc/sched-rgn.c:3498 0xcf959d rest_of_handle_sched2 /home/uros/gcc-svn/trunk/gcc/sched-rgn.c:3737 0xcf959d execute /home/uros/gcc-svn/trunk/gcc/sched-rgn.c:3873 Please submit a full bug report, ... (gdb) bt #0 internal_error (gmsgid=3Dgmsgid@entry=3D0x1beef58 "in %s, at %s:%d") at /home/uros/gcc-svn/trunk/gcc/diagnostic.c:1251 #1 0x000000000149f494 in fancy_abort (file=3Dfile@entry=3D0x1602c78 "/home/uros/gcc-svn/trunk/gcc/cfganal.c", line=3Dline@entry=3D1056,=20 function=3Dfunction@entry=3D0x1602df0 "pre_and_rev_post_order_compute") at /home/uros/gcc-svn/trunk/gcc/diagnostic.c:1327 #2 0x0000000000936c5e in pre_and_rev_post_order_compute (pre_order=3Dpre_order@entry=3D0x0,=20 rev_post_order=3Drev_post_order@entry=3D0x21ed630, include_entry_exit=3Dinclude_entry_exit@entry=3Dfalse) at /home/uros/gcc-svn/trunk/gcc/cfganal.c:1055 #3 0x0000000000901f90 in init_alias_analysis () at /home/uros/gcc-svn/trunk/gcc/alias.c:3252 #4 0x00000000013d0d5f in sched_init () at /home/uros/gcc-svn/trunk/gcc/haifa-sched.c:7369 #5 0x00000000013d23ce in haifa_sched_init () at /home/uros/gcc-svn/trunk/gcc/haifa-sched.c:7406 #6 0x0000000000cf8d7a in schedule_insns () at /home/uros/gcc-svn/trunk/gcc/sched-rgn.c:3504 #7 0x0000000000cf959e in schedule_insns () at /home/uros/gcc-svn/trunk/gcc/sched-rgn.c:3498 #8 rest_of_handle_sched2 () at /home/uros/gcc-svn/trunk/gcc/sched-rgn.c:37= 37 #9 (anonymous namespace)::pass_sched2::execute (this=3D) at /home/uros/gcc-svn/trunk/gcc/sched-rgn.c:3873 #10 0x0000000000c85a04 in execute_one_pass (pass=3Dpass@entry=3D0x21bb200) = at /home/uros/gcc-svn/trunk/gcc/passes.c:2344 #11 0x0000000000c85fd8 in execute_pass_list_1 (pass=3D0x21bb200) at /home/uros/gcc-svn/trunk/gcc/passes.c:2428 #12 0x0000000000c85fea in execute_pass_list_1 (pass=3D0x21ba9c0) at /home/uros/gcc-svn/trunk/gcc/passes.c:2429 #13 0x0000000000c85fea in execute_pass_list_1 (pass=3D0x21b98e0) at /home/uros/gcc-svn/trunk/gcc/passes.c:2429 #14 0x0000000000c86035 in execute_pass_list (fn=3D, pass=3D) at /home/uros/gcc-svn/trunk/gcc/passes.c:2439 #15 0x000000000097c9c4 in cgraph_node::expand (this=3Dthis@entry=3D0x7fffef= fb7730) at /home/uros/gcc-svn/trunk/gcc/cgraphunit.c:1982 #16 0x000000000097e268 in expand_all_functions () at /home/uros/gcc-svn/trunk/gcc/cgraphunit.c:2118 #17 symbol_table::compile (this=3Dthis@entry=3D0x7fffefe0c0a8) at /home/uros/gcc-svn/trunk/gcc/cgraphunit.c:2474 #18 0x0000000000980623 in symbol_table::compile (this=3D0x7fffefe0c0a8) at /home/uros/gcc-svn/trunk/gcc/cgraphunit.c:2538 #19 symbol_table::finalize_compilation_unit (this=3D0x7fffefe0c0a8) at /home/uros/gcc-svn/trunk/gcc/cgraphunit.c:2564 #20 0x0000000000d4c458 in compile_file () at /home/uros/gcc-svn/trunk/gcc/toplev.c:488 #21 0x000000000062d9a4 in do_compile () at /home/uros/gcc-svn/trunk/gcc/toplev.c:1987 #22 toplev::main (this=3Dthis@entry=3D0x7fffffffdb90, argc=3D, argc@entry=3D6, argv=3D,=20 argv@entry=3D0x7fffffffdc98) at /home/uros/gcc-svn/trunk/gcc/toplev.c:2= 095 #23 0x000000000062fb87 in main (argc=3D6, argv=3D0x7fffffffdc98) at /home/uros/gcc-svn/trunk/gcc/main.c:39 (gdb) f 2 #2 0x0000000000936c5e in pre_and_rev_post_order_compute (pre_order=3Dpre_order@entry=3D0x0,=20 rev_post_order=3Drev_post_order@entry=3D0x21ed630, include_entry_exit=3Dinclude_entry_exit@entry=3Dfalse) at /home/uros/gcc-svn/trunk/gcc/cfganal.c:1055 1055 gcc_assert (pre_order_num (gdb) list 1050 /* The number of nodes visited should be the number of blocks. = */ 1051 gcc_assert (pre_order_num =3D=3D n_basic_blocks_for_fn (cfun)); 1052 else 1053 /* The number of nodes visited should be the number of blocks m= inus 1054 the entry and exit blocks which are not visited here. */ 1055 gcc_assert (pre_order_num 1056 =3D=3D (n_basic_blocks_for_fn (cfun) - NUM_FIXED_BL= OCKS)); 1057 1058 return pre_order_num; 1059 } (gdb) >>From gcc-bugs-return-524447-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 14:57:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52125 invoked by alias); 7 May 2016 14:57:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51995 invoked by uid 48); 7 May 2016 14:56:50 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70998] [7 Regression]: ICE in pre_and_rev_post_order_compute, at cfganal.c Date: Sat, 07 May 2016 14:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: alias X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cf_gcctarget target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00619.txt.bz2 Content-length: 414 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70998 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |alias Target| |x86_64-linux-gnu Target Milestone|--- |7.0 >>From gcc-bugs-return-524448-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 15:08:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62313 invoked by alias); 7 May 2016 15:08:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62176 invoked by uid 48); 7 May 2016 15:07:59 -0000 From: "gigo121 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70999] New: String incorrectly placed in flash instead of RAM when building with -ffunction-sections Date: Sat, 07 May 2016 15:08: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: gigo121 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00620.txt.bz2 Content-length: 1035 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70999 Bug ID: 70999 Summary: String incorrectly placed in flash instead of RAM when building with -ffunction-sections Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: gigo121 at gmail dot com Target Milestone: --- Created attachment 38436 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38436&action=3Dedit Test source code When building with AVR-GCC 6.1.0, -ffunction-sections and any optimization level other than -O0 then strings that are passed as a parameter to a funct= ion like puts("whatever") will be stored in flash instead of RAM. However, this will correctly store myString in RAM with -ffunction-sections: static const char myString[] =3D "whatever"; puts(myString); avr-gcc -mmcu=3Datmega328 -Wall -Wextra -O1 -ffunction-sections main.c >>From gcc-bugs-return-524449-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 15:43:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30237 invoked by alias); 7 May 2016 15:43:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30148 invoked by uid 48); 7 May 2016 15:43:35 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70998] [7 Regression]: ICE in pre_and_rev_post_order_compute, at cfganal.c Date: Sat, 07 May 2016 15:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: alias X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00621.txt.bz2 Content-length: 564 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70998 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-07 CC| |hjl.tools at gmail dot com Ever confirmed|0 |1 --- Comment #1 from H.J. Lu --- It was triggered by r235906. >>From gcc-bugs-return-524450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 17:10:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57367 invoked by alias); 7 May 2016 17:10:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57199 invoked by uid 48); 7 May 2016 17:10:31 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70998] [7 Regression]: ICE in pre_and_rev_post_order_compute, at cfganal.c Date: Sat, 07 May 2016 17:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: alias X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00622.txt.bz2 Content-length: 1059 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70998 --- Comment #2 from Uro=C5=A1 Bizjak --- sse2_cvtsd2ss pattern is wrong. This pattern is written as: (define_insn "sse2_cvtsd2ss" [(set (match_operand:V4SF 0 "register_operand" "=3Dx,x,v") (vec_merge:V4SF (vec_duplicate:V4SF (float_truncate:V2SF (match_operand:V2DF 2 "nonimmediate_operand" "x,m,"))) (match_operand:V4SF 1 "register_operand" "0,0,v") (const_int 1)))] This implies V2DF load from memory, which is not the case. The pattern should be similar to e.g. cvtsi2ss pattern: (define_insn "sse_cvtsi2ss" [(set (match_operand:V4SF 0 "register_operand" "=3Dx,x,v") (vec_merge:V4SF (vec_duplicate:V4SF (float:SF (match_operand:SI 2 "" "r,m,"))) (match_operand:V4SF 1 "register_operand" "0,0,v") (const_int 1)))] This is correct scalar memory load. >>From gcc-bugs-return-524451-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 17:12:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76844 invoked by alias); 7 May 2016 17:12:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76529 invoked by uid 48); 7 May 2016 17:11:55 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70998] [7 Regression]: ICE in pre_and_rev_post_order_compute, at cfganal.c Date: Sat, 07 May 2016 17:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: alias X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00623.txt.bz2 Content-length: 435 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70998 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Component|rtl-optimization |target --- Comment #3 from Uro=C5=A1 Bizjak --- Target issue. BTW: several SSE scalar conversion patterns are wrong. >>From gcc-bugs-return-524452-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 17:25:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33612 invoked by alias); 7 May 2016 17:25:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33245 invoked by uid 48); 7 May 2016 17:25:24 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66328] Wrong initialization of derived-type DATA Date: Sat, 07 May 2016 17:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00624.txt.bz2 Content-length: 595 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66328 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #2 from Dominique d'Humieres --- This PR has been "fixed" between revisions r230421 (2015-11-16, wrong-code)= and r230500+patch for pr59910 (2015-11-17), likely by r230580 (pr59910). Steve, could you please check that this is right? >>From gcc-bugs-return-524453-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 17:37:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75637 invoked by alias); 7 May 2016 17:37:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75437 invoked by uid 48); 7 May 2016 17:37:08 -0000 From: "soltan.gris at gmx dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71000] New: Wrong defines for ATMEGA328p Date: Sat, 07 May 2016 17:37: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: soltan.gris at gmx dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00625.txt.bz2 Content-length: 1184 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71000 Bug ID: 71000 Summary: Wrong defines for ATMEGA328p Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: soltan.gris at gmx dot net Target Milestone: --- Target: AVR In the iom328p.h are the defines for the Portpins PORTyx while in the other= .h files is it Pyx. Where y is the Port and x the pin number. iom328p.h : #define PORTB _SFR_IO8(0x05) #define PORTB0 0 #define PORTB1 1 #define PORTB2 2 #define PORTB3 3 #define PORTB4 4 #define PORTB5 5 #define PORTB6 6 #define PORTB7 7 iotn2313.h /* Data Register, Port B PORTB[7:0] */ #define PORTB _SFR_IO8(0x18) #define PB7 7 #define PB6 6 #define PB5 5 #define PB4 4 #define PB3 3 #define PB2 2 #define PB1 1 #define PB0 0 iomxx4.h #define PORTB _SFR_IO8(0x05) #define PB7 7 #define PB6 6 #define PB5 5 #define PB4 4 #define PB3 3 #define PB2 2 #define PB1 1 #define PB0 0 Kind regards >>From gcc-bugs-return-524454-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 18:12:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95179 invoked by alias); 7 May 2016 18:11:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94912 invoked by uid 48); 7 May 2016 18:11:46 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70985] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed Date: Sat, 07 May 2016 18:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00626.txt.bz2 Content-length: 894 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70985 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-07 CC| |jakub at gcc dot gnu.org Target Milestone|--- |7.0 Summary|ICE on valid code at -O3 on |[7 Regression] ICE on valid |x86_64-linux-gnu: |code at -O3 on |verify_gimple failed |x86_64-linux-gnu: | |verify_gimple failed Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Started with r235871. >>From gcc-bugs-return-524455-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 18:57:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97909 invoked by alias); 7 May 2016 18:57:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97715 invoked by uid 48); 7 May 2016 18:57:16 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70985] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed Date: Sat, 07 May 2016 18:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00627.txt.bz2 Content-length: 270 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70985 --- Comment #2 from Jakub Jelinek --- BIT_FIELD_REF allows non-is_gimple_val first operand, but when it is transformed into a cast, obviously it needs to be forced into gimple val fi= rst. >>From gcc-bugs-return-524456-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 18:58:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100303 invoked by alias); 7 May 2016 18:58:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100251 invoked by uid 48); 7 May 2016 18:58:02 -0000 From: "appfault at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70991] Uninitialized class allowed if it came from self-assignment, or a member function Date: Sat, 07 May 2016 18:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: appfault 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00628.txt.bz2 Content-length: 425 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70991 --- Comment #2 from bennet brauer --- By the way, this bug mentions classes specifically, because the same idea b= ut with a simple "int" assignment generates a warning: error: =E2=80=98foo=E2=80=99 is used uninitialized in this function [-Werro= r=3Duninitialized] int foo =3D foo; // Unintialized direct assignment. ^ >>From gcc-bugs-return-524457-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 19:01:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103969 invoked by alias); 7 May 2016 19:01:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103785 invoked by uid 48); 7 May 2016 19:00:56 -0000 From: "daniel.c.klauer at web dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/71001] New: cross build native: fixincludes searches host path on build system Date: Sat, 07 May 2016 19:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: daniel.c.klauer at web dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00629.txt.bz2 Content-length: 2490 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71001 Bug ID: 71001 Summary: cross build native: fixincludes searches host path on build system Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: daniel.c.klauer at web dot de Target Milestone: --- Created attachment 38437 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38437&action=3Dedit example to reproduce the problem Hello, I have encountered an issue when cross-compiling a native gcc for i686-w64-mingw32 on a GNU/Linux system. The build tries to access a host pa= th on the build system, which makes no sense when cross-compiling. In this case it is "/mingw/include", which is supposed to exist on i686-w64-mingw32 but of course not on the GNU/Linux that's used as build system, thus the build fails (perhaps luckily even -- if it was a more common path = like /usr/include, I imagine the problem would go unnoticed). $ uname -m -o x86_64 GNU/Linux $ ../gcc-6.1.0/configure \ --build=3Dx86_64-pc-linux-gnu \ --host=3Di686-w64-mingw32 \ --target=3Di686-w64-mingw32 \ --prefix=3D/usr \ --enable-languages=3Dc \ --with-gmp=3D"$sysroot"/usr \ --with-mpfr=3D"$sysroot"/usr \ --with-mpc=3D"$sysroot"/usr ... $ make ... The directory that should contain system headers does not exist: /mingw/include Makefile:2907: recipe for target 'stmp-fixinc' failed ... It appears that using --with-sysroot to specify a i686-w64-mingw32 sysroot fixes it, but it also encodes the sysroot path into the newly built compiler for use at runtime, which I don't want since it is a build-system-specific path. And this isn't building a cross-compiler anyways (which is where --with-sysroot makes sense). So I looked at --with-build-sysroot instead. If I understood correctly, --with-build-sysroot is meant for specifying the target sysroot for use dur= ing the gcc build process only, and not later at runtime. But the fixincludes s= tep does not respect --with-build-sysroot. Maybe fixincludes should use --with-build-sysroot if that's set, and be disabled otherwise (when cross-compiling and no sysroot is given). I found an old posting about this issue here, though it wasn't answered: https://gcc.gnu.org/ml/gcc-help/2006-04/msg00191.html >>From gcc-bugs-return-524458-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 19:54:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47970 invoked by alias); 7 May 2016 19:54:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47911 invoked by uid 48); 7 May 2016 19:54:01 -0000 From: "tavianator at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71002] New: [6 Regression] -fstrict-aliasing breaks Boost's short string optimization implementation Date: Sat, 07 May 2016 19:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tavianator at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00630.txt.bz2 Content-length: 1582 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71002 Bug ID: 71002 Summary: [6 Regression] -fstrict-aliasing breaks Boost's short string optimization implementation Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: tavianator at gmail dot com Target Milestone: --- Created attachment 38438 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38438&action=3Dedit Reduced test case (This is the miscompilation I reported seeing in PR70054. I have a reduced test case for it now.) Since GCC 6, the following simple use of boost::container::string is broken: $ cat foo.cpp #include #include #include using boost::container::string; struct foo { __attribute__((noinline)) foo(string str) : m_str{std::move(str)}, m_len{m_str.length()} { } string m_str; std::size_t m_len; }; int main() { foo f{"the quick brown fox jumps over the lazy dog"}; if (f.m_len =3D=3D 0) { std::abort(); } return 0; } $ g++ -O2 -Wall foo.cpp -o foo && ./foo [1] 12277 abort (core dumped) ./foo It works with -fno-strict-aliasing. I reduced the problem to the attached standalone test case. Boost's code doesn't seem to be 100% compliant, but = the worst thing it does is access a non-active union member (the is_short bitfield). As far as I know, GCC permits that as an extension. >>From gcc-bugs-return-524459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 22:55:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99538 invoked by alias); 7 May 2016 22:55:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98837 invoked by uid 48); 7 May 2016 22:54:50 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/33041] g++ incorrectly resolves an identically named templated struct in a super class Date: Sat, 07 May 2016 22:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.2.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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 cc everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00631.txt.bz2 Content-length: 1831 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D33041 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-07 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 Known to fail| |4.5.3, 4.8.3, 4.9.3, 5.3.0, | |6.1.0 --- Comment #5 from Martin Sebor --- Confirming for the compilation error mentioned in comment #4. The latest t= runk (7.0) fails to compile the test case with the errors below. (Both Clang a= nd the EDG front end accept the code.) $ cat x.cpp && gcc -Wall -Wextra -Wpedantic x.cpp struct bar { typedef bar type; template struct foo { static const int value =3D 2; }; }; template struct foo: bar { static const int value =3D 1; }; int main() { // foo is the foo struct at namespace level, foo // should be the foo struct within bar, but it is not in g++ __builtin_printf ("%i\n", foo::foo::value); // foo is again the foo struct at namespace level, // ::type explicitly takes its superclass so foo is // the foo struct within bar. __builtin_printf ("%i\n", foo::type::foo::value); } x.cpp: In function =E2=80=98int main()=E2=80=99: x.cpp:14:43: error: expected primary-expression before =E2=80=98double=E2= =80=99 __builtin_printf ("%i\n", foo::foo::value); ^~~~~~ >>From gcc-bugs-return-524460-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 23:17:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5179 invoked by alias); 7 May 2016 23:17:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5056 invoked by uid 55); 7 May 2016 23:17:02 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56226] Add support for DEC UNION and MAP extensions Date: Sat, 07 May 2016 23:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00632.txt.bz2 Content-length: 8055 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56226 --- Comment #20 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat May 7 23:16:23 2016 New Revision: 235999 URL: https://gcc.gnu.org/viewcvs?rev=3D235999&root=3Dgcc&view=3Drev Log: 2016-05-07 Fritz Reese PR fortran/56226 * module.c (dt_upper_string): Rename to gfc_dt_upper_string (dt_lower_string): Likewise. * gfortran.h: Make new gfc_dt_upper/lower_string global. * class.c: Use gfc_dt_upper_string. * decl.c: Likewise. * symbol.c: Likewise. * resolve.c (resolve_component): New function. (resolve_fl_derived0): Move component loop code to resolve_componen= t. * parse.c (check_component): New function. (parse_derived): Move loop code to check_component. * lang.opt, invoke.texi, options.c : New option -fdec-structure. * libgfortran.h (bt): New basic type BT_UNION. * gfortran.h (gfc_option): New option -fdec-structure. (gfc_get_union_type, gfc_compare_union_types): New prototypes. (gfc_bt_struct, gfc_fl_struct, case_bt_struct, case_fl_struct): New macros. (gfc_find_component): Change prototype. * match.h (gfc_match_member_sep, gfc_match_map, gfc_match_union, gfc_match_structure_decl): New prototypes. * parse.h (gfc_comp_struct): New macro. * symbol.c (gfc_find_component): Search for components in nested un= ions * class.c (insert_component_ref, gfc_add_component_ref, add_proc_co= mp, copy_vtab_proc_comps): Update calls to gfc_find_component. * primary.c (gfc_convert_to_structure_constructor): Likewise. * symbol.c (gfc_add_component): Likewise. * resolve.c (resolve_typebound_function, resolve_typebound_subrouti= ne, resolve_typebound_procedure, resolve_component, resolve_fl_derived): Likewise. * expr.c (get_union_init, component_init): New functions. * decl.c (match_clist_expr, match_record_decl, get_struct_decl, gfc_match_map, gfc_match_union, gfc_match_structure_decl): Likewise. * interface.c (compare_components, gfc_compare_union_types): Likewi= se. * match.c (gfc_match_member_sep): Likewise. * parse.c (check_component, parse_union, parse_struct_map): Likewis= e. * resolve.c (resolve_fl_struct): Likewise. * symbol.c (find_union_component): Likewise. * trans-types.c (gfc_get_union_type): Likewise. * parse.c (parse_derived): Use new functions. * interface.c (gfc_compare_derived_types, gfc_compare_types): Likew= ise. * expr.c (gfc_default_initializer): Likewise. * gfortran.texi: Support for DEC structures, unions, and maps. * gfortran.h (gfc_statement, sym_flavor): Likewise. * check.c (gfc_check_kill_sub): Likewise. * expr.c (gfc_copy_expr, simplify_const_ref, gfc_has_default_initializer): Likewise. * decl.c (build_sym, match_data_constant, add_init_expr_to_sym, match_pointer_init, build_struct, variable_decl, gfc_match_decl_type_spec, gfc_mach_data-decl, gfc_match_entry, gfc_match_end, gfc_match_derived_decl): Likewise. * interface.c (check_interface0, check_interface1, gfc_search_interface): Likewise. * misc.c (gfc_basic_typename, gfc_typename): Likewise. * module.c (add_true_name, build_tnt, bt_types, mio_typespec, fix_mio_expr, load_needed, mio_symbol, read_module, write_symbol, gfc_get_module_backend_decl): Likewise. * parse.h (gfc_compile_state): Likewise. * parse.c (decode_specification_statement, decode_statement, gfc_ascii_statement, verify_st_order, parse_spec): Likewise. * primary.c (gfc_match_varspec, gfc_match_structure_constructor, gfc_match_rvalue, match_variable): Likewise. * resolve.c (find_arglists, resolve_structure_cons, is_illegal_recursion, resolve_generic_f, get_declared_from_expr, resolve_typebound_subroutine, resolve_allocate_expr, nonscalar_typebound_assign, generate_component_assignments, resolve_fl_variable_derived, check_defined_assignments, resolve_component, resolve_symbol, resolve_equivalence_derived): Likewise. * symbol.c (flavors, check_conflict, gfc_add_flavor, gfc_use_derive= d, gfc_restore_last_undo_checkpoint, gfc_type_compatible, gfc_find_dt_in_generic): Likewise. * trans-decl.c (gfc_get_module_backend_decl, create_function_arglis= t, gfc_create_module_variable, check_constant_initializer): Likewise. * trans-expr.c (gfc_conv_component_ref, gfc_conv_initializer, gfc_trans_alloc_subarray_assign, gfc_trans_subcomponent_assign, gfc_conv_structure, gfc_trans_scalar_assign, copyable_array_p): Likewise. * trans-io.c (transfer_namelist_element, transfer_expr, gfc_trans_transfer): Likewise. * trans-stmt.c (gfc_trans_deallocate): Likewise. * trans-types.c (gfc_typenode_for_spec, gfc_copy_dt_decls_ifequal, gfc_get_derived_type): Likewise. 2016-05-07 Fritz Reese PR fortran/56226 * gfortran.dg/dec_structure_1.f90: New testcase. * gfortran.dg/dec_structure_2.f90: Ditto. * gfortran.dg/dec_structure_3.f90: Ditto. * gfortran.dg/dec_structure_4.f90: Ditto. * gfortran.dg/dec_structure_5.f90: Ditto. * gfortran.dg/dec_structure_6.f90: Ditto. * gfortran.dg/dec_structure_7.f90: Ditto. * gfortran.dg/dec_structure_8.f90: Ditto. * gfortran.dg/dec_structure_9.f90: Ditto. * gfortran.dg/dec_structure_10.f90: Ditto. * gfortran.dg/dec_structure_11.f90: Ditto. * gfortran.dg/dec_union_1.f90: Ditto. * gfortran.dg/dec_union_2.f90: Ditto. * gfortran.dg/dec_union_3.f90: Ditto. * gfortran.dg/dec_union_4.f90: Ditto. * gfortran.dg/dec_union_5.f90: Ditto. * gfortran.dg/dec_union_6.f90: Ditto. * gfortran.dg/dec_union_7.f90: Ditto. Added: trunk/gcc/testsuite/gfortran.dg/dec_structure_1.f90 trunk/gcc/testsuite/gfortran.dg/dec_structure_10.f90 trunk/gcc/testsuite/gfortran.dg/dec_structure_11.f90 trunk/gcc/testsuite/gfortran.dg/dec_structure_2.f90 trunk/gcc/testsuite/gfortran.dg/dec_structure_3.f90 trunk/gcc/testsuite/gfortran.dg/dec_structure_4.f90 trunk/gcc/testsuite/gfortran.dg/dec_structure_5.f90 trunk/gcc/testsuite/gfortran.dg/dec_structure_6.f90 trunk/gcc/testsuite/gfortran.dg/dec_structure_7.f90 trunk/gcc/testsuite/gfortran.dg/dec_structure_8.f90 trunk/gcc/testsuite/gfortran.dg/dec_structure_9.f90 trunk/gcc/testsuite/gfortran.dg/dec_union_1.f90 trunk/gcc/testsuite/gfortran.dg/dec_union_2.f90 trunk/gcc/testsuite/gfortran.dg/dec_union_3.f90 trunk/gcc/testsuite/gfortran.dg/dec_union_4.f90 trunk/gcc/testsuite/gfortran.dg/dec_union_5.f90 trunk/gcc/testsuite/gfortran.dg/dec_union_6.f90 trunk/gcc/testsuite/gfortran.dg/dec_union_7.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/check.c trunk/gcc/fortran/class.c trunk/gcc/fortran/decl.c trunk/gcc/fortran/dump-parse-tree.c trunk/gcc/fortran/expr.c trunk/gcc/fortran/gfortran.h trunk/gcc/fortran/gfortran.texi trunk/gcc/fortran/interface.c trunk/gcc/fortran/invoke.texi trunk/gcc/fortran/lang.opt trunk/gcc/fortran/libgfortran.h trunk/gcc/fortran/match.c trunk/gcc/fortran/match.h trunk/gcc/fortran/misc.c trunk/gcc/fortran/module.c trunk/gcc/fortran/options.c trunk/gcc/fortran/parse.c trunk/gcc/fortran/parse.h trunk/gcc/fortran/primary.c trunk/gcc/fortran/resolve.c trunk/gcc/fortran/symbol.c trunk/gcc/fortran/trans-decl.c trunk/gcc/fortran/trans-expr.c trunk/gcc/fortran/trans-io.c trunk/gcc/fortran/trans-stmt.c trunk/gcc/fortran/trans-types.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524461-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 23:26:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13581 invoked by alias); 7 May 2016 23:26:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13441 invoked by uid 48); 7 May 2016 23:26:45 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56226] Add support for DEC UNION and MAP extensions Date: Sat, 07 May 2016 23:26: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00633.txt.bz2 Content-length: 227 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56226 --- Comment #21 from kargl at gcc dot gnu.org --- Created attachment 38439 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38439&action=3Dedit fortran/ChangeLog diff >>From gcc-bugs-return-524462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 23:27:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15072 invoked by alias); 7 May 2016 23:27:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14861 invoked by uid 48); 7 May 2016 23:27:30 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56226] Add support for DEC UNION and MAP extensions Date: Sat, 07 May 2016 23:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00634.txt.bz2 Content-length: 233 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56226 --- Comment #22 from kargl at gcc dot gnu.org --- Created attachment 38440 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38440&action=3Dedit gcc/testsuite/ChangeLog diff >>From gcc-bugs-return-524463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 23:29:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17318 invoked by alias); 7 May 2016 23:29:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17063 invoked by uid 48); 7 May 2016 23:28:52 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56226] Add support for DEC UNION and MAP extensions Date: Sat, 07 May 2016 23:29: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00635.txt.bz2 Content-length: 229 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56226 --- Comment #23 from kargl at gcc dot gnu.org --- Created attachment 38441 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38441&action=3Dedit diff for revision 235999 >>From gcc-bugs-return-524464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat May 07 23:31:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21639 invoked by alias); 7 May 2016 23:31:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20983 invoked by uid 48); 7 May 2016 23:31:21 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56226] Add support for DEC UNION and MAP extensions Date: Sat, 07 May 2016 23:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00636.txt.bz2 Content-length: 645 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56226 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gn= u.org --- Comment #24 from kargl at gcc dot gnu.org --- I have attached the diffs for fortran/ChangeLog, testsuite/ChangeLog, and code changes for revision 235999. This is now in trunk. I'll commit to the 6-branch next weekend. Please keep an eye open for bug reports. >>From gcc-bugs-return-524467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 00:03:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111206 invoked by alias); 8 May 2016 00:03:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110547 invoked by uid 48); 8 May 2016 00:02:49 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/34747] __attribute__((aligned(x)))+__alignof != correct behaviour Date: Sun, 08 May 2016 00:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.1.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc blocked resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00639.txt.bz2 Content-length: 1917 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D34747 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |msebor at gcc dot gnu.org Blocks| |58601 Resolution|--- |DUPLICATE --- Comment #5 from Martin Sebor --- When compiled with the current trunk (7.0), the test produces the output be= low (same as in comment #4). After reviewing the tests I believe all the failu= res are false positives. The failing tests assume that a #pragma pack directive doesn't affect the alignment of struct members. However, according to GCC documentation for attribute packed: "Specifying this attribute [packed] for struct and union types is equivalent to specifying the packed attribute on = each of the structure or union members." And specifying the attribute on a memb= er reduces its alignment to the one specified. So test5, for instance, expects the alignment of a struct defined just following #pragma pack not to be affected by the #pragma. Similarly for all the other failing tests. Since= the valid tests pass (fixed by PR 10179) I'll go ahead and close this report as= a duplicate of that bug. (Based on the summary of this I'm assuming the expectation is that #pragma pack have the same effect as attribute packed a= nd not something else.) FAILED: test5 FAILED: test7 FAILED: test20 FAILED: test21 FAILED: test25 FAILED: test26 FAILED: test37 FAILED: test46 FAILED: test47 FAILED: test48 10 tests failed! *** This bug has been marked as a duplicate of bug 10179 *** Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58601 [Bug 58601] [meta-bug] alignas >>From gcc-bugs-return-524465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 00:03:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111088 invoked by alias); 8 May 2016 00:03:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110569 invoked by uid 48); 8 May 2016 00:02:50 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/10179] alignment attributes are not inherited correctly with empty classes Date: Sun, 08 May 2016 00:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 3.2.2 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.3.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00637.txt.bz2 Content-length: 436 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D10179 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andry at inbox dot ru --- Comment #7 from Martin Sebor --- *** Bug 34747 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-524466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 00:03:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111101 invoked by alias); 8 May 2016 00:03:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110591 invoked by uid 48); 8 May 2016 00:02:51 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58601] [meta-bug] alignas Date: Sun, 08 May 2016 00:03: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: unknown X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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 resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00638.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58601 Bug 58601 depends on bug 34747, which changed state. Bug 34747 Summary: __attribute__((aligned(x)))+__alignof !=3D correct behav= iour https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D34747 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE >>From gcc-bugs-return-524468-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 01:44:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103101 invoked by alias); 8 May 2016 01:44:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102896 invoked by uid 48); 8 May 2016 01:44:43 -0000 From: "egall at gwmail dot gwu.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71003] New: __extension__ silences pedwarn for "\e" in C but not in C++ Date: Sun, 08 May 2016 01:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egall at gwmail dot gwu.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget cf_gccbuild Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00640.txt.bz2 Content-length: 2816 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71003 Bug ID: 71003 Summary: __extension__ silences pedwarn for "\e" in C but not in C++ Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: egall at gwmail dot gwu.edu Target Milestone: --- Host: i386-apple-darwin9.8.0 Target: i386-apple-darwin9.8.0 Build: i386-apple-darwin9.8.0 Say I have the following file: $ cat __extension__.c const char *str0 =3D "\e"; const char *str1 =3D __extension__ "\e"; When I try to compile it with gcc, everything works as expected: $ /usr/local/bin/gcc -pedantic -c __extension__.c __extension__.c:1:20: warning: non-ISO-standard escape sequence, '\e' const char *str0 =3D "\e"; ^~~~ i.e., it only warns on the string where I left off the __extension__. However, when I try to compile it with g++, it warns on both strings: $ /usr/local/bin/g++ -pedantic -c __extension__.c __extension__.c:1:20: warning: non-ISO-standard escape sequence, '\e' const char *str0 =3D "\e"; ^~~~ __extension__.c:2:34: warning: non-ISO-standard escape sequence, '\e' const char *str1 =3D __extension__ "\e"; ^~~~ This behavior is inconsistent. I would expect the warning for the string wi= th __extension__ to be silenced in both cases, not just in C. g++ version info: $ /usr/local/bin/g++ -v Using built-in specs. COLLECT_GCC=3D/usr/local/bin/g++ COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc/i386-apple-darwin9.8.0/7.0.0/l= to-wrapper Target: i386-apple-darwin9.8.0 Configured with: ../configure --disable-werror --enable-languages=3Dc,c++,lto,objc,obj-c++ --enable-stage1-checking=3Drele= ase -C --with-system-libunwind --enable-secureplt --enable-frame-pointer --enable-version-specific-runtime-libs --enable-assert --enable-fat --enable-portable-binary --enable-browser-plugin --enable-gconf-peer --enable-libgcj-debug --enable-gc-debug --enable-interpreter --enable-aot-compile-rpm --enable-java-home --with-x --enable-collections --enable-gstreamer-peer --enable-xmlj --enable-qt-peer --enable-debug --enable-local-sockets --without-isl --enable-objc-gc --enable-maintainer-m= ode --enable-host-shared CC=3D/usr/local/bin/gcc CXX=3D/usr/local/bin/g++ AUTOCONF=3D/usr/local/bin/autoconf AUTOHEADER=3D/usr/local/bin/autoheader AUTOM4TE=3D/usr/local/bin/autom4te AUTORECONF=3D/usr/local/bin/autoreconf AUTOSCAN=3D/usr/local/bin/autoscan AUTOUPDATE=3D/usr/local/bin/autoupdate IFNAMES=3D/usr/local/bin/ifnames Thread model: posix gcc version 7.0.0 20160426 (experimental) (GCC) >>From gcc-bugs-return-524469-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 02:21:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66037 invoked by alias); 8 May 2016 02:21:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65885 invoked by uid 48); 8 May 2016 02:21:31 -0000 From: "eric at efcs dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71004] New: recursive_directory_iterator does not have a user-provided default ctor Date: Sun, 08 May 2016 02:21: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eric at efcs dot ca X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00641.txt.bz2 Content-length: 759 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71004 Bug ID: 71004 Summary: recursive_directory_iterator does not have a user-provided default ctor Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: eric at efcs dot ca Target Milestone: --- Hi Jonathan, The default ctor provided for recursive_directory_iterator won't allow it t= o it to be constructed as const. // reproducer.cpp #include int main() { using namespace std::experimental::filesystem; const recursive_directory_iterator endIt2; } >>From gcc-bugs-return-524470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 02:27:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73677 invoked by alias); 8 May 2016 02:27:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73443 invoked by uid 48); 8 May 2016 02:27:35 -0000 From: "eric at efcs dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71004] recursive_directory_iterator does not have a user-provided default ctor Date: Sun, 08 May 2016 02:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eric at efcs dot ca X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00642.txt.bz2 Content-length: 526 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71004 --- Comment #1 from Eric Fiselier --- Additionally this seems to be affecting the value returned from "recursion_pending()". The following code compiles and runs without asserti= ng on my machine. #include #include using namespace std::experimental::filesystem; int main() { recursive_directory_iterator it; assert(it.recursion_pending() =3D=3D false); assert(it.recursion_pending() =3D=3D true); } >>From gcc-bugs-return-524471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 02:37:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86574 invoked by alias); 8 May 2016 02:37:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86375 invoked by uid 48); 8 May 2016 02:37:29 -0000 From: "eric at efcs dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71005] New: recursive_directory_iterator::operator++(int) incorrectly implemented Date: Sun, 08 May 2016 02:37: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eric at efcs dot ca X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00643.txt.bz2 Content-length: 701 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71005 Bug ID: 71005 Summary: recursive_directory_iterator::operator++(int) incorrectly implemented Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: eric at efcs dot ca Target Milestone: --- Hi Jonathan, The postfix increment operator returns the incremented value of the iterato= r, not the previous one. For example: directory_iterator it("."); path elem =3D *it; path elem2 =3D *it++; assert(elem =3D=3D elem2); // fires >>From gcc-bugs-return-524472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 03:25:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60584 invoked by alias); 8 May 2016 03:25:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59698 invoked by uid 48); 8 May 2016 03:24:45 -0000 From: "dje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70963] vec_cts/vec_ctf intrinsics produce wrong results for 64-bit floating point Date: Sun, 08 May 2016 03:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dje 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00644.txt.bz2 Content-length: 782 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70963 David Edelsohn changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-08 CC| |dje at gcc dot gnu.org, | |meissner at gcc dot gnu.or= g, | |segher at gcc dot gnu.org, | |wschmidt at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from David Edelsohn --- Confirmed. >>From gcc-bugs-return-524473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 07:16:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53115 invoked by alias); 8 May 2016 07:16:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52923 invoked by uid 48); 8 May 2016 07:16:09 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70977] [6/7 Regression] Out of memory during compilation of facebook/wangle (flag c++0x works, flag c++14 fails). Date: Sun, 08 May 2016 07:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: compile-time-hog, memory-hog 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00645.txt.bz2 Content-length: 417 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70977 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #8 from Markus Trippelsdorf --- Started with r231863. >>From gcc-bugs-return-524474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 09:09:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2086 invoked by alias); 8 May 2016 09:09:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1961 invoked by uid 48); 8 May 2016 09:09:11 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/67485] expmed.c sanitizer detects overflow Date: Sun, 08 May 2016 09:09: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00646.txt.bz2 Content-length: 508 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67485 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-08 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres --- Confirmed also on trunk. >>From gcc-bugs-return-524475-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 09:12:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5922 invoked by alias); 8 May 2016 09:12:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5802 invoked by uid 48); 8 May 2016 09:12:40 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/67482] dwarf2out.c sanitizer detects undefined behaviour negation of -9223372036854775808 Date: Sun, 08 May 2016 09:12: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00647.txt.bz2 Content-length: 558 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67482 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2016-05-08 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- I cannot reproduce the runtime error with my instrumented trunk (7.0). >>From gcc-bugs-return-524476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 09:15:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9021 invoked by alias); 8 May 2016 09:15:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8744 invoked by uid 48); 8 May 2016 09:15:25 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67483] combine.c sanitizer detects undefined negative left shift Date: Sun, 08 May 2016 09:15: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00648.txt.bz2 Content-length: 505 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67483 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-08 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- Confirmed with trunk. >>From gcc-bugs-return-524477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 09:17:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121787 invoked by alias); 8 May 2016 09:17:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 117879 invoked by uid 48); 8 May 2016 09:17:10 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/67486] ira-color.c sanitizer detects signed integer overflow Date: Sun, 08 May 2016 09: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: 5.2.0 X-Bugzilla-Keywords: ra X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00649.txt.bz2 Content-length: 608 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67486 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-08 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- Confirmed on trunk (7.0). I also see ../../work/gcc/sreal.c:231:20: runtime error: left shift of negative value -2013265920 >>From gcc-bugs-return-524478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 09:27:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73086 invoked by alias); 8 May 2016 09:27:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72966 invoked by uid 48); 8 May 2016 09:26:58 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/66940] ifcvt.c:1907 signed integer overflow Date: Sun, 08 May 2016 09:27: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00650.txt.bz2 Content-length: 514 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66940 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-08 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- Confirmed on trunk (7.0) also. >>From gcc-bugs-return-524479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 10:09:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41395 invoked by alias); 8 May 2016 10:09:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41208 invoked by uid 48); 8 May 2016 10:09:13 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56226] Add support for DEC UNION and MAP extensions Date: Sun, 08 May 2016 10:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00651.txt.bz2 Content-length: 534 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56226 --- Comment #25 from Andreas Schwab --- FAIL: gfortran.dg/dec_union_4.f90 -O0 execution test FAIL: gfortran.dg/dec_union_4.f90 -O1 execution test FAIL: gfortran.dg/dec_union_4.f90 -O2 execution test FAIL: gfortran.dg/dec_union_4.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test FAIL: gfortran.dg/dec_union_4.f90 -O3 -g execution test FAIL: gfortran.dg/dec_union_4.f90 -Os execution test >>From gcc-bugs-return-524480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 10:41:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8686 invoked by alias); 8 May 2016 10:41:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8415 invoked by uid 48); 8 May 2016 10:40:49 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71006] New: [7 Regression] ICE: verify_gimple failed (error: type mismatch in conditional expression) w/ -O1 -ftree-loop-vectorize Date: Sun, 08 May 2016 10:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: 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 bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00652.txt.bz2 Content-length: 1244 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71006 Bug ID: 71006 Summary: [7 Regression] ICE: verify_gimple failed (error: type mismatch in conditional expression) w/ -O1 -ftree-loop-vectorize Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc-7.0.0-alpha20160501 snapshot ICEs when compiling the following reduced testcase w/ -O1 -ftree-loop-vectorize: % gcc-7.0.0-alpha20160501 -c -O1 -ftree-loop-vectorize gmqj07kc.c gmqj07kc.c: In function 'fs': gmqj07kc.c:4:1: error: type mismatch in conditional expression fs (void) ^~ vector(16) char vector(16) unsigned char vector(16) unsigned char vect__16.14_73 =3D VEC_COND_EXPR ; gmqj07kc.c:4:1: internal compiler error: verify_gimple failed unsigned char uu, gu, e2; void fs (void) { char *nq =3D (char *)&gu, *k4 =3D (char *)&gu; while (*k4 < 1) { uu +=3D (*nq !=3D 0 || e2 !=3D 0); ++*k4; } } >>From gcc-bugs-return-524481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 11:04:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130758 invoked by alias); 8 May 2016 11:04:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130470 invoked by uid 48); 8 May 2016 11:04:19 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68717] [6/7 Regression] New (bogus?) warnings when compiling some gfortran.dg tests with -flto after r231239 Date: Sun, 08 May 2016 11:04: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: 6.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00653.txt.bz2 Content-length: 511 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68717 --- Comment #3 from Dominique d'Humieres --- > As discussed in the other related PR, those are real issues - Fortran > fronetnd should not declare one function with multiple and incompatible > declarations. The other related PR is pr68649. The note: "code may be misoptimized unless -fno-strict-aliasing is used" lo= oks odd as the warnings are still there if one uses -fno-strict-aliasing as it = was the case before r231239. >>From gcc-bugs-return-524482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 11:31:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62089 invoked by alias); 8 May 2016 11:31:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61858 invoked by uid 48); 8 May 2016 11:31:25 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67498] interface.c sanitizer runtime error: load of value 1818451807, which is not a valid value for type 'expr_t' Date: Sun, 08 May 2016 11:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00654.txt.bz2 Content-length: 398 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67498 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #5 from Dominique d'Humieres --- Confirmed on trunk (7.0). >>From gcc-bugs-return-524483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 11:41:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110969 invoked by alias); 8 May 2016 11:41:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110574 invoked by uid 48); 8 May 2016 11:41:46 -0000 From: "schaub.johannes at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71007] New: Divergence between treatment of char[0] between OR (=> SFINAE failure) and diagnostic printing (no failure) Date: Sun, 08 May 2016 11:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schaub.johannes at googlemail 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00655.txt.bz2 Content-length: 1710 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71007 Bug ID: 71007 Summary: Divergence between treatment of char[0] between OR (=3D> SFINAE failure) and diagnostic printing (no failure) Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: schaub.johannes at googlemail dot com Target Milestone: --- The following is supposed to tell the user that char[0] is an invalid type, during diagnostic printing. But instead, it infinitely recurses up to SIZE_= MAX or something during printing the diagnostic message, eventually crashing #include #include template auto ignore_n(std::integer_sequence) { return std::make_tuple((I, std::ignore)...); } template auto function(Ts... ts) -> decltype((std::tuple_cat( =20=20=20=20=20=20=20=20=20=20=20 ignore_n(std::make_index_sequence (= )), std::tuple()) =3D std::forward_as_tuple(ts...)), void()) { } int main() { function(2); function(1, 2, 3); } Reduced test-case. Here it prints nothing when detailing on why "function" = is not callable: main.cpp: In function 'int main()': main.cpp:9:7: error: no matching function for call to 'f(char [1])' f(x); ^ main.cpp:4:6: note: candidate: template void f(char (&)[= N]) void f(char(&)[N]) ^ main.cpp:4:6: note: template argument deduction/substitution failed: >>From gcc-bugs-return-524485-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 11:43:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 515 invoked by alias); 8 May 2016 11:43:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130723 invoked by uid 55); 8 May 2016 11:43:23 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/60290] 32-bit g++.dg/cilk-plus/CK/catch_exc.cc FAILs on Solaris/x86 Date: Sun, 08 May 2016 11: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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00657.txt.bz2 Content-length: 681 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60290 --- Comment #11 from Rainer Orth --- Author: ro Date: Sun May 8 11:42:49 2016 New Revision: 236005 URL: https://gcc.gnu.org/viewcvs?rev=3D236005&root=3Dgcc&view=3Drev Log: Compile libcilkrts with -funwind-tables (PR target/60290) Backport from mainline 2016-04-26 Rainer Orth PR target/60290 * Makefile.am (GENERAL_FLAGS): Add -funwind-tables. * Makefile.in: Regenerate. Modified: branches/gcc-6-branch/libcilkrts/ChangeLog branches/gcc-6-branch/libcilkrts/Makefile.am branches/gcc-6-branch/libcilkrts/Makefile.in >>From gcc-bugs-return-524484-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 11:43:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130932 invoked by alias); 8 May 2016 11:43:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130607 invoked by uid 48); 8 May 2016 11:43:22 -0000 From: "schaub.johannes at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71007] Divergence between treatment of char[0] between OR (=> SFINAE failure) and diagnostic printing (no failure) Date: Sun, 08 May 2016 11:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schaub.johannes at googlemail 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00656.txt.bz2 Content-length: 326 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71007 --- Comment #1 from Johannes Schaub = --- Sorry, forgot to actually add the code of the reduced testcase: template void f(char(&)[N]) { } int main() { char x[1]; f(x); } >>From gcc-bugs-return-524486-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 11:45:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47577 invoked by alias); 8 May 2016 11:45:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47265 invoked by uid 55); 8 May 2016 11:45:36 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/60290] 32-bit g++.dg/cilk-plus/CK/catch_exc.cc FAILs on Solaris/x86 Date: Sun, 08 May 2016 11:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00658.txt.bz2 Content-length: 681 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60290 --- Comment #12 from Rainer Orth --- Author: ro Date: Sun May 8 11:45:03 2016 New Revision: 236006 URL: https://gcc.gnu.org/viewcvs?rev=3D236006&root=3Dgcc&view=3Drev Log: Compile libcilkrts with -funwind-tables (PR target/60290) Backport from mainline 2016-04-26 Rainer Orth PR target/60290 * Makefile.am (GENERAL_FLAGS): Add -funwind-tables. * Makefile.in: Regenerate. Modified: branches/gcc-5-branch/libcilkrts/ChangeLog branches/gcc-5-branch/libcilkrts/Makefile.am branches/gcc-5-branch/libcilkrts/Makefile.in >>From gcc-bugs-return-524487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 11:46:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48872 invoked by alias); 8 May 2016 11:46:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48742 invoked by uid 48); 8 May 2016 11:46:15 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/69582] [meta-bug] Cilk+ Date: Sun, 08 May 2016 11:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: ro 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 resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00659.txt.bz2 Content-length: 488 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69582 Bug 69582 depends on bug 60290, which changed state. Bug 60290 Summary: 32-bit g++.dg/cilk-plus/CK/catch_exc.cc FAILs on Solaris= /x86 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60290 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-524488-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 11:46:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48882 invoked by alias); 8 May 2016 11:46:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48549 invoked by uid 48); 8 May 2016 11:46:11 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/60290] 32-bit g++.dg/cilk-plus/CK/catch_exc.cc FAILs on Solaris/x86 Date: Sun, 08 May 2016 11:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00660.txt.bz2 Content-length: 480 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60290 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|6.2 |5.4 --- Comment #13 from Rainer Orth --- Fixed for 5.4, 6.2. >>From gcc-bugs-return-524489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 13:57:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127850 invoked by alias); 8 May 2016 13:57:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127484 invoked by uid 48); 8 May 2016 13:56:53 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71008] New: [7 Regression] FAIL: gcc.target/i386/avx512f-vprord-1.c scan-assembler-times vprord Date: Sun, 08 May 2016 13:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.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 cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00661.txt.bz2 Content-length: 999 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71008 Bug ID: 71008 Summary: [7 Regression] FAIL: gcc.target/i386/avx512f-vprord-1.c scan-assembler-times vprord Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: kirill.yukhin at intel dot com, ubizjak at gmail dot com Target Milestone: --- On x86, r235852 triggers: FAIL: gcc.target/i386/avx512f-vprord-1.c scan-assembler-times vprord[ \\t]+[^{\n]*%zmm[0-9]+(?:\n|[ \\t]+#) 1 FAIL: gcc.target/i386/avx512f-vprord-1.c scan-assembler-times vprord[ \\t]+[^{\n]*%zmm[0-9]+{%k[1-7]}(?:\n|[ \\t]+#) 1 FAIL: gcc.target/i386/avx512f-vprord-1.c scan-assembler-times vprord[ \\t]+[^{\n]*%zmm[0-9]+{%k[1-7]}{z}(?:\n|[ \\t]+#) 1 It generates vprold, instead of vprord. >>From gcc-bugs-return-524490-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 14:03:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7510 invoked by alias); 8 May 2016 14:03:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7274 invoked by uid 48); 8 May 2016 14:03:29 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71008] [7 Regression] FAIL: gcc.target/i386/avx512f-vprord-1.c scan-assembler-times vprord Date: Sun, 08 May 2016 14: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00662.txt.bz2 Content-length: 1667 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71008 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-08 Target Milestone|--- |7.0 Ever confirmed|0 |1 --- Comment #1 from H.J. Lu --- Combine turns (insn 20 16 22 2 (set (reg:V16SI 111) (vec_merge:V16SI (rotatert:V16SI (reg:V16SI 112 [ x.1_2 ]) (const_int 12 [0xc])) (subreg:V16SI (reg:V8DI 91 [ x.3_5 ]) 0) (reg:HI 89 [ m.2_3 ]))) /export/build/gnu/gcc/build-x86_64-linux/gcc/include/avx512fintrin.h:6931 3= 152 {avx512f_rorv16si_mask} (expr_list:REG_DEAD (reg:V16SI 112 [ x.1_2 ]) (expr_list:REG_DEAD (reg:V8DI 91 [ x.3_5 ]) (expr_list:REG_DEAD (reg:HI 89 [ m.2_3 ]) (nil))))) (insn 22 20 23 2 (set (reg:V8DI 101 [ _19 ]) (subreg:V8DI (reg:V16SI 111) 0)) /export/build/gnu/gcc/build-x86_64-linux/gcc/include/avx512fintrin.h:6931 1= 221 {movv8di_internal} (expr_list:REG_DEAD (reg:V16SI 111) (nil))) into Trying 20 -> 22:=20 Successfully matched this instruction: (set (subreg:V16SI (reg:V8DI 101 [ _19 ]) 0) (vec_merge:V16SI (rotate:V16SI (reg:V16SI 112 [ x.1_2 ]) (const_int 20 [0x14])) (subreg:V16SI (reg:V8DI 91 [ x.3_5 ]) 0) (reg:HI 89 [ m.2_3 ]))) allowing combination of insns 20 and 22 It is rotatert vs rotate. How did this happen? >>From gcc-bugs-return-524491-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 14:06:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9845 invoked by alias); 8 May 2016 14:06:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9723 invoked by uid 48); 8 May 2016 14:05:49 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71008] [7 Regression] FAIL: gcc.target/i386/avx512f-vprord-1.c scan-assembler-times vprord Date: Sun, 08 May 2016 14:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00663.txt.bz2 Content-length: 616 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71008 --- Comment #2 from H.J. Lu --- (In reply to H.J. Lu from comment #1) > It is rotatert vs rotate. How did this happen? There is: /* Convert ROTATERT to ROTATE. */ if (code =3D=3D ROTATERT) {=20=20=20 unsigned int bitsize =3D GET_MODE_PRECISION (result_mode); code =3D ROTATE;=20 if (VECTOR_MODE_P (result_mode)) count =3D bitsize / GET_MODE_NUNITS (result_mode) - count; else count =3D bitsize - count; } This testcase needs an update. >>From gcc-bugs-return-524492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 14:30:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114137 invoked by alias); 8 May 2016 14:30:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114013 invoked by uid 48); 8 May 2016 14:30:41 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/67482] dwarf2out.c sanitizer detects undefined behaviour negation of -9223372036854775808 Date: Sun, 08 May 2016 14:30: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00664.txt.bz2 Content-length: 230 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67482 --- Comment #2 from Dominique d'Humieres --- > I cannot reproduce the runtime error with my instrumented trunk (7.0). nor with instrumented 6.1.1. >>From gcc-bugs-return-524493-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 14:54:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68991 invoked by alias); 8 May 2016 14:54:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68845 invoked by uid 55); 8 May 2016 14:54:31 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56226] Add support for DEC UNION and MAP extensions Date: Sun, 08 May 2016 14:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00665.txt.bz2 Content-length: 820 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56226 --- Comment #26 from Steve Kargl = --- On Sun, May 08, 2016 at 10:09:02AM +0000, schwab@linux-m68k.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56226 >=20 > --- Comment #25 from Andreas Schwab --- > FAIL: gfortran.dg/dec_union_4.f90 -O0 execution test > FAIL: gfortran.dg/dec_union_4.f90 -O1 execution test > FAIL: gfortran.dg/dec_union_4.f90 -O2 execution test > FAIL: gfortran.dg/dec_union_4.f90 -O3 -fomit-frame-pointer -funroll-loo= ps > -fpeel-loops -ftracer -finline-functions execution test > FAIL: gfortran.dg/dec_union_4.f90 -O3 -g execution test > FAIL: gfortran.dg/dec_union_4.f90 -Os execution test >=20 WORKFORME on i686-*-freebsd and x86_64-*-freebsd. >>From gcc-bugs-return-524494-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 15:06:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79326 invoked by alias); 8 May 2016 15:06:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79184 invoked by uid 48); 8 May 2016 15:06:40 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56226] Add support for DEC UNION and MAP extensions Date: Sun, 08 May 2016 15:06: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00666.txt.bz2 Content-length: 274 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56226 --- Comment #27 from Dominique d'Humieres --- > WORKFORME on i686-*-freebsd and x86_64-*-freebsd. See https://gcc.gnu.org/ml/gcc-testresults/2016-05/msg00779.html for m68k-unknown-linux-gnu. >>From gcc-bugs-return-524495-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 15:10:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82608 invoked by alias); 8 May 2016 15:10:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82460 invoked by uid 55); 8 May 2016 15:10:41 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/67482] dwarf2out.c sanitizer detects undefined behaviour negation of -9223372036854775808 Date: Sun, 08 May 2016 15:10: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00667.txt.bz2 Content-length: 166 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67482 --- Comment #3 from Vittorio Zecca --- I confirm I cannot reproduce it on 6.1.0 nor 7 >>From gcc-bugs-return-524496-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 15:14:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85515 invoked by alias); 8 May 2016 15:14:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85318 invoked by uid 48); 8 May 2016 15:14:40 -0000 From: "egall at gwmail dot gwu.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71009] New: g++: ICE on modified gdb/valarith.c with -Ofast Date: Sun, 08 May 2016 15:14: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: egall at gwmail dot gwu.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget cf_gccbuild Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00668.txt.bz2 Content-length: 5253 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71009 Bug ID: 71009 Summary: g++: ICE on modified gdb/valarith.c with -Ofast Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: egall at gwmail dot gwu.edu Target Milestone: --- Host: i386-apple-darwin9.8.0 Target: i386-apple-darwin9.8.0 Build: i386-apple-darwin9.8.0 Full command line and output: $ make CFLAGS=3D"-g3 -Ofast -force_cpusubtype_ALL -gstrict-dwarf -gdwarf-2 = -gfull -save-temps" V=3D1 this target, 'config.h' just makes its dep, 'stamp-h' /usr/local/bin/g++ -g3 -Ofast -force_cpusubtype_ALL -gstrict-dwarf -gdwarf-2 -gfull -save-temps -arch i386 -DTARGET_I386 -I./macosx -I./macosx -DWITH_CF= M=3D0 -DUSE_PTHREADS=3D1 -D_DARWIN_UNLIMITED_STREAMS -mmacosx-version-min=3D10.5 = -I. -I. -I./config -DHAVE_CONFIG_H -DHAVE_SYS_TYPES_H -DLOCALEDIR=3D"\"/usr/local/share/locale\"" -I./../include/opcode -I./../readline/.. -I./../zlib -I../bfd -I./../bfd -I./../include -I./../mmalloc -I../mmalloc -I../intl -I./../intl -DMI_OUT=3D1 -I/sw/include/libxml2 -I/sw/include -D__MigTypeCheck=3D1 -D__DARWIN_UNIX03= =3D1 -Wreturn-type -Wcomment -Wtrigraphs -Wparentheses -Wpointer-arith -Wchar-subscripts -Wno-unused -Wunused-value -Wunused-label -Wunused-result -Wunused-variable -Wunused-but-set-variable -Wunused-function -Wempty-body -Wmissing-declarations -Wignored-qualifiers -Wmissing-format-attribute -Waddress -Wattributes -Wswitch -Wclobbered -Wcoverage-mismatch -Wdiv-by-ze= ro -Wdouble-promotion -Wfree-nonheap-object -Wsign-compare -Wtype-limits -Winvalid-memory-model -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-include-dirs -Woverflow -Woverlength-strings -Wpragmas -Wreturn-local-addr -Wsequence-point -Wsizeof-pointer-memaccess -Wtrampolin= es -Wunknown-pragmas -Wnormalized=3Dnfkc -Wlogical-op -Wfloat-conversion -Wmissing-field-initializers -Wno-deprecated-declarations -Wbool-compare -Wlogical-not-parentheses -Wsizeof-array-argument -Wswitch-bool -Wshift-count-negative -Wshift-count-overflow -Wshift-negative-value -Wshift-overflow=3D2 -Wmisleading-indentation -Wlto-type-mismatch -Wtautological-compare -Wduplicated-cond -Wwrite-strings -Wenum-compare -Wnonnull-compare -Wabi -Wabi-tag -Woverloaded-virtual -Wsign-promo -Wodr -Wsubobject-linkage -Wctor-dtor-privacy -Wterminate -Wc++11-compat -Wdelete-incomplete -Wdelete-non-virtual-dtor -Winherited-variadic-ctor -Winvalid-offsetof -Wliteral-suffix -Wnoexcept -Wnon-template-friend -Wnon-virtual-dtor -Wreorder -Wstrict-null-sentinel -Wmultiple-inheritance -Wvirtual-inheritance -Wpmf-conversions -Wtemplates -Wvirtual-move-assign -Wconversion-null -Weffc++ -Wsized-deallocation -Wplacement-new=3D2 -fpermi= ssive -Wendif-labels -Wformat -Wformat-y2k -Wformat-security -Wnonnull -Wnonportable-cfstrings -Wno-unused-const-variable -std=3Dgnu++03 -pedantic -Wno-long-long -Wcast-align -Wuninitialized -Winit-self -Wmissing-noreturn -Wvolatile-register-var -Wdisabled-optimization -Winline -Waggressive-loop-optimizations -Wvector-operation-performance -Wmaybe-uninitialized -Wstrict-overflow=3D1 -fno-strict-aliasing -Wnull-dereference -Wframe-address -Wframe-larger-than=3D262144 -Wlarger-than=3D262144 -Wsuggest-attribute=3Dconst -Warray-bounds -Wall -W= extra -Wno-unused-parameter -c -o valarith.o valarith.c valarith.c: In function =E2=80=98value* value_binop(value*, value*, exp_opc= ode)=E2=80=99: valarith.c:1408:1: internal compiler error: in gen_reg_rtx, at emit-rtl.c:1= 025 } ^ libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [valarith.o] Error 1 The file compiles fine with all the other optimization levels I've tested recently (-O3, -O2, -O1, -Os, -Og, -O0). g++ version info: $ /usr/local/bin/g++ -v Using built-in specs. COLLECT_GCC=3D/usr/local/bin/g++ COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc/i386-apple-darwin9.8.0/7.0.0/l= to-wrapper Target: i386-apple-darwin9.8.0 Configured with: ../configure --disable-werror --enable-languages=3Dc,c++,lto,objc,obj-c++ --enable-stage1-checking=3Drele= ase -C --with-system-libunwind --enable-secureplt --enable-frame-pointer --enable-version-specific-runtime-libs --enable-assert --enable-fat --enable-portable-binary --enable-browser-plugin --enable-gconf-peer --enable-libgcj-debug --enable-gc-debug --enable-interpreter --enable-aot-compile-rpm --enable-java-home --with-x --enable-collections --enable-gstreamer-peer --enable-xmlj --enable-qt-peer --enable-debug --enable-local-sockets --without-isl --enable-objc-gc --enable-maintainer-m= ode --enable-host-shared CC=3D/usr/local/bin/gcc CXX=3D/usr/local/bin/g++ AUTOCONF=3D/usr/local/bin/autoconf AUTOHEADER=3D/usr/local/bin/autoheader AUTOM4TE=3D/usr/local/bin/autom4te AUTORECONF=3D/usr/local/bin/autoreconf AUTOSCAN=3D/usr/local/bin/autoscan AUTOUPDATE=3D/usr/local/bin/autoupdate IFNAMES=3D/usr/local/bin/ifnames Thread model: posix gcc version 7.0.0 20160426 (experimental) (GCC) >>From gcc-bugs-return-524497-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 15:19:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93321 invoked by alias); 8 May 2016 15:19:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89566 invoked by uid 48); 8 May 2016 15:19:13 -0000 From: "egall at gwmail dot gwu.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71009] g++: ICE on modified gdb/valarith.c with -Ofast Date: Sun, 08 May 2016 15:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: egall at gwmail dot gwu.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00669.txt.bz2 Content-length: 250 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71009 --- Comment #1 from Eric Gallager --- Created attachment 38442 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38442&action=3Dedit bzipped preprocessed source >>From gcc-bugs-return-524498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 15:45:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78043 invoked by alias); 8 May 2016 15:45:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77869 invoked by uid 48); 8 May 2016 15:45:24 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/67482] dwarf2out.c sanitizer detects undefined behaviour negation of -9223372036854775808 Date: Sun, 08 May 2016 15:45: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00670.txt.bz2 Content-length: 195 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67482 --- Comment #4 from Dominique d'Humieres --- > I confirm I cannot reproduce it on 6.1.0 nor 7 Closing as FIXED? >>From gcc-bugs-return-524499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 15:59:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8027 invoked by alias); 8 May 2016 15:59:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7924 invoked by uid 55); 8 May 2016 15:59:32 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/67482] dwarf2out.c sanitizer detects undefined behaviour negation of -9223372036854775808 Date: Sun, 08 May 2016 15:59: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00671.txt.bz2 Content-length: 265 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67482 --- Comment #5 from Vittorio Zecca --- Running the sanitized version of gcc against the testsuite I got no runtime error in dwarf2out.c So I believe this issue can be closed as FIXED. >>From gcc-bugs-return-524500-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 16:03:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13016 invoked by alias); 8 May 2016 16:03:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12908 invoked by uid 55); 8 May 2016 16:03:23 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56226] Add support for DEC UNION and MAP extensions Date: Sun, 08 May 2016 16:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00672.txt.bz2 Content-length: 599 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56226 --- Comment #28 from Steve Kargl = --- On Sun, May 08, 2016 at 03:06:39PM +0000, dominiq at lps dot ens.fr wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56226 >=20 > --- Comment #27 from Dominique d'Humieres --- > > WORKFORME on i686-*-freebsd and x86_64-*-freebsd. >=20 > See https://gcc.gnu.org/ml/gcc-testresults/2016-05/msg00779.html for > m68k-unknown-linux-gnu. >=20 Why? There is no information there that isn't in Andreas's comment (a content-free post). >>From gcc-bugs-return-524501-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 16:41:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95624 invoked by alias); 8 May 2016 16:41:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95519 invoked by uid 48); 8 May 2016 16:41:23 -0000 From: "theubik at mail dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71010] New: error: 'begin' was not declared in this scope Date: Sun, 08 May 2016 16:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: theubik at mail dot ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00673.txt.bz2 Content-length: 882 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71010 Bug ID: 71010 Summary: error: 'begin' was not declared in this scope Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: theubik at mail dot ru Target Milestone: --- For example: // https://godbolt.org/g/Zp5ABy #include class X { int m_x[5] =3D { 0, 1, 2, 3, 4 }; public: int* first() { return &m_x[0]; } int* last() { return &m_x[4]; } }; namespace std { int* begin(X& x) { return x.first(); } int* end(X& x) { return x.last(); } } int main() { X x; for (auto xi : x) // error: 'begin' was not declared in this scope std::cout << xi << std::endl; return 0; } With gcc 4.8 is OK. This is bug? >>From gcc-bugs-return-524502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 18:19:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102594 invoked by alias); 8 May 2016 18:19:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94554 invoked by uid 55); 8 May 2016 18:19:17 -0000 From: "uros at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70998] [7 Regression]: ICE in pre_and_rev_post_order_compute, at cfganal.c Date: Sun, 08 May 2016 18:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00674.txt.bz2 Content-length: 740 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70998 --- Comment #4 from uros at gcc dot gnu.org --- Author: uros Date: Sun May 8 18:18:42 2016 New Revision: 236011 URL: https://gcc.gnu.org/viewcvs?rev=3D236011&root=3Dgcc&view=3Drev Log: PR target/70998 * config/i386/sse.md (*sse2_vd_cvtsd2ss): New insn pattern. (*sse2_vd_cvtss2sd): Ditto. * config/i386/i386.md (TARGET_SSE_PARTIAL_REG_DEPENDENCY float_truncate df->sf splitter): Generate *sse2_vd_cvtsd2ss pattern. (TARGET_SSE_PARTIAL_REG_DEPENDENCY float_extend sf->df splitter): Generate *sse2_vd_cvtss2sd pattern. Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.md trunk/gcc/config/i386/sse.md >>From gcc-bugs-return-524503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 18:42:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71040 invoked by alias); 8 May 2016 18:42:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70794 invoked by uid 48); 8 May 2016 18:42:32 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70873] [7 Regressio] 20% performance regression at 482.sphinx3 after r235442 with -O2 -m32 on Haswell. Date: Sun, 08 May 2016 18:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00675.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70873 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #31 from Uro=C5=A1 Bizjak --- Fixed. >>From gcc-bugs-return-524504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 18:43:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72420 invoked by alias); 8 May 2016 18:43:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72176 invoked by uid 48); 8 May 2016 18:43:19 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70998] [7 Regression]: ICE in pre_and_rev_post_order_compute, at cfganal.c Date: Sun, 08 May 2016 18: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00676.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70998 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Uro=C5=A1 Bizjak --- Fixed. >>From gcc-bugs-return-524506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 20:12:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116506 invoked by alias); 8 May 2016 20:12:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 116269 invoked by uid 48); 8 May 2016 20:12:34 -0000 From: "bobby.prani at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71011] Wrong "may be uninitialized" warning Date: Sun, 08 May 2016 20: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bobby.prani at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00678.txt.bz2 Content-length: 507 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71011 Pranith Kumar changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bobby.prani at gmail dot c= om --- Comment #1 from Pranith Kumar --- Created attachment 38443 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38443&action=3Dedit original source >>From gcc-bugs-return-524505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 20:12:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115567 invoked by alias); 8 May 2016 20:12:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115349 invoked by uid 48); 8 May 2016 20:12:11 -0000 From: "bobby.prani at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71011] New: Wrong "may be uninitialized" warning Date: Sun, 08 May 2016 20:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bobby.prani 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00677.txt.bz2 Content-length: 1019 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71011 Bug ID: 71011 Summary: Wrong "may be uninitialized" warning Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bobby.prani at gmail dot com Target Milestone: --- I am getting a warning that "data" may be uninitialized. But there is no su= ch variable being used anywhere. src/allocate.cc: In member function =E2=80=98void allocate_c::run_a_cycle()= =E2=80=99: src/allocate.cc:136:19: error: =E2=80=98data=E2=80=99 may be used uninitial= ized in this function [-Werror=3Dmaybe-uninitialized] else if (uop->m_uop_type =3D=3D UOP_IADD || // integer register ~~~~~^~~~~~~~~~ cc1plus: all warnings being treated as errors Please find attached the source along with pre-processed file. Tested with = g++ 4.7 and up and it is the same in all versions. >>From gcc-bugs-return-524507-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 20:14:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127397 invoked by alias); 8 May 2016 20:14:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127233 invoked by uid 48); 8 May 2016 20:14:00 -0000 From: "bobby.prani at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71011] Wrong "may be uninitialized" warning Date: Sun, 08 May 2016 20:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bobby.prani 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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00679.txt.bz2 Content-length: 243 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71011 --- Comment #2 from Pranith Kumar --- Created attachment 38444 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38444&action=3Dedit pre-procssed source >>From gcc-bugs-return-524508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 20:15:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128903 invoked by alias); 8 May 2016 20:15:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128694 invoked by uid 48); 8 May 2016 20:14:47 -0000 From: "bobby.prani at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71011] Wrong "may be uninitialized" warning Date: Sun, 08 May 2016 20:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bobby.prani 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00680.txt.bz2 Content-length: 336 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71011 --- Comment #3 from Pranith Kumar --- Command which shows this error: $ g++ -o .opt_build/src/allocate.o -c -O3 -std=3Dc++11 -funroll-loops -Werr= or -Wuninitialized -Wno-write-strings -DLONG_COUNTERS -DNO_MPI -DNO_DEBUG src/allocate.i -Wall -Wextra >>From gcc-bugs-return-524509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 20:46:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56721 invoked by alias); 8 May 2016 20:46:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 56604 invoked by uid 48); 8 May 2016 20:46:12 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71011] Wrong decl in a "may be uninitialized" warning Date: Sun, 08 May 2016 20:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: diagnostic 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00681.txt.bz2 Content-length: 1572 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71011 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-08 Summary|Wrong "may be |Wrong decl in a "may be |uninitialized" warning |uninitialized" warning Ever confirmed|0 |1 --- Comment #4 from Andrew Pinski --- What is happening is ssa_name which was used with uop is being renamed to be use the data decl Which: uop_c *uop =3D (uop_c *)m_frontend_q->peek(0); Where peek is defined as : T peek(int entry) { .... T data; int count =3D 0; for (int ii =3D m_current_index; ii < m_current_index + m_size; ++ii)= { int index =3D ii % m_size; for (auto I =3D m_entry[index].begin(), E =3D m_entry[index].end();= I !=3D E; ++I) { if (count++ =3D=3D entry) { data =3D (*I)->m_data; break; } } } return data; } If m_size was 0, then data would be unitialized or if m_entry[m_current_index].empty() is false. I have not dug in to see m_size= can not be non 0 or GCC can figure out if it can be non 0 or the other case is true. So only the decl in the warning is incorrect as far as I can tell. >>From gcc-bugs-return-524510-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 21:05:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126203 invoked by alias); 8 May 2016 21:05:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126084 invoked by uid 48); 8 May 2016 21:04:48 -0000 From: "glaubitz at physik dot fu-berlin.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71012] New: ICE: in expand_expr_real_2, at expr.c:9348 when compiling stress-ng Date: Sun, 08 May 2016 21:05: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: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glaubitz at physik dot fu-berlin.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_file_loc bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00682.txt.bz2 Content-length: 2815 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71012 Bug ID: 71012 Summary: ICE: in expand_expr_real_2, at expr.c:9348 when compiling stress-ng Product: gcc Version: 5.3.1 URL: https://buildd.debian.org/status/fetch.php?pkg=3Dstress- ng&arch=3Dpowerpcspe&ver=3D0.06.01-1&stamp=3D1462574245 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: glaubitz at physik dot fu-berlin.de Target Milestone: --- Host: powerpc-linux-gnuspe Target: powerpc-linux-gnuspe Created attachment 38445 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38445&action=3Dedit Pre-processed source for stress-vecmath.c Hi! When building stress-ng on powerpc-linux-gnuspe, an internal compiler error occurs when compiling stress-vecmath.c: cc -g -O2 -fstack-protector-strong -Wformat -Werror=3Dformat-security -Wall -Wextra -DVERSION=3D"0.06.01" -O2 -DHAVE_APPARMOR -DHAVE_KEYUTILS_H -DHAVE_XATTR_H -DHAVE_LIB_BSD -DHAVE_LIB_Z -DHAVE_LIB_CRYPT -DHAVE_LIB_RT -DHAVE_LIB_PTHREAD -DHAVE_FLOAT_DECIMAL -DHAVE_SECCOMP_H -DHAVE_LIB_AIO -DHAVE_SYS_CAP_H -c -o stress-vecmath.o stress-vecmath.c stress-vecmath.c: In function 'stress_vecmath': stress-vecmath.c:49:4: internal compiler error: in expand_expr_real_2, at expr.c:9348 a ^=3D c; \ ^ stress-vecmath.c:114:4: note: in expansion of macro 'OPS' OPS(a64, b64, c64, s64); ^ 0x103166eb expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) ../../src/gcc/expr.c:9348 0x1021f24b expand_gimple_stmt_1 ../../src/gcc/cfgexpand.c:3462 0x1021f24b expand_gimple_stmt ../../src/gcc/cfgexpand.c:3522 0x10222ed3 expand_gimple_basic_block ../../src/gcc/cfgexpand.c:5534 0x10224f33 execute ../../src/gcc/cfgexpand.c:6152 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Preprocessed source stored into /tmp/ccRHm88P.out file, please attach this = to your bugreport. This has been failing for quite some time. However, it seems it does not se= em to be related to gcc directly as both the last successful build [1] and the last unsuccessful build [2] used both the same revision of gcc-4.9.2: r2189= 87. Attaching the pre-processed source from the last build with gcc-5. Adrian > [1] https://buildd.debian.org/status/fetch.php?pkg=3Dstress-ng&arch=3Dpow= erpcspe&ver=3D0.03.12-1&stamp=3D1422673290 > [2] https://buildd.debian.org/status/fetch.php?pkg=3Dstress-ng&arch=3Dpow= erpcspe&ver=3D0.03.13-1&stamp=3D1422840779 >>From gcc-bugs-return-524511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 21:46:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76523 invoked by alias); 8 May 2016 21:46:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76106 invoked by uid 48); 8 May 2016 21:46:11 -0000 From: "danglin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/71013] New: [7 Regression] c-common.c:12810:37: error: 'LLONG_MAX' was not declared in this scope Date: Sun, 08 May 2016 21:46: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00683.txt.bz2 Content-length: 2092 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71013 Bug ID: 71013 Summary: [7 Regression] c-common.c:12810:37: error: 'LLONG_MAX' was not declared in this scope Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org CC: doko at gcc dot gnu.org Target Milestone: --- Host: hppa64-hp-hpux11.11 Target: hppa64-hp-hpux11.11 Build: hppa64-hp-hpux11.11 In stage1, g++ -std=3Dgnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN= _GCC=20=20=20 -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings=20=20 -DHAVE_CONFIG_H -I. -Ic-family -I../../gcc/gcc -I../../gcc/gcc/c-family -I../.. /gcc/gcc/../include -I./../intl -I../../gcc/gcc/../libcpp/include -I/opt/gnu64/g cc/gmp/include -I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/gcc/../libbacktrace -o c-family/c-common.o - MT c-family/c-common.o -MMD -MP -MF c-family/.deps/c-common.TPo ../../gcc/gcc/c- family/c-common.c ../../gcc/gcc/c-family/c-common.c: In function 'time_t get_source_date_epoch()': ../../gcc/gcc/c-family/c-common.c:12810:37: error: 'LLONG_MAX' was not decl= ared in this scope if ((errno =3D=3D ERANGE && (epoch =3D=3D LLONG_MAX || epoch =3D=3D LLON= G_MIN)) ^ ../../gcc/gcc/c-family/c-common.c:12810:59: error: 'LLONG_MIN' was not decl= ared in this scope if ((errno =3D=3D ERANGE && (epoch =3D=3D LLONG_MAX || epoch =3D=3D LLON= G_MIN)) ^ make[3]: *** [c-family/c-common.o] Error 1 Bootstrap compiler was: gcc version 5.3.1 20160217 [gcc-5-branch revision 233498] (GCC) >>From gcc-bugs-return-524512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 22:03:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22664 invoked by alias); 8 May 2016 22:03:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22481 invoked by uid 48); 8 May 2016 22:03:19 -0000 From: "gccbugzilla at limegreensocks dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/30527] Use of input/output operands in __asm__ templates not fully documented Date: Sun, 08 May 2016 22:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 4.1.1 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: gccbugzilla at limegreensocks 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00684.txt.bz2 Content-length: 1175 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D30527 David changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gccbugzilla@limegreensocks. | |com --- Comment #5 from David --- These modifiers are intended primarily for use by Machine Descriptions. As= a result, some of them aren't going to be meaningful/usable by inline asm cod= e.=20 And it makes sense to leave open the option to change their meaning should future MD work require it, something that documenting them all would preven= t. On the other hand, some of these values are indeed quite useful for inline = asm. The compromise, as evidenced by 6.43.2.7 (added in v5.x), is to document certain commonly needed/used modifiers (such as the %k0 referenced above). If there is some additional modifier that you need, I'd recommend opening a= new bug and making an explicit case for it. In the meantime, I recommend closing this bug (as fixed). >>From gcc-bugs-return-524513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 22:04:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29226 invoked by alias); 8 May 2016 22:04:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28733 invoked by uid 48); 8 May 2016 22:04:25 -0000 From: "gccbugzilla at limegreensocks dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/39440] User Manual: describe asm ("%a0,%c0"::) Date: Sun, 08 May 2016 22:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 4.4.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: enhancement X-Bugzilla-Who: gccbugzilla at limegreensocks 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00685.txt.bz2 Content-length: 460 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D39440 --- Comment #5 from David --- This is a duplicate of 30527. A subset of the most commonly needed/used modifiers have been added to the = docs as of 5.x (including the %c0 referenced above). For this reason, I recomme= nd this bug be closed. If there is some additional modifier that you need, I'd recommend opening a= new bug and making an explicit case for it. >>From gcc-bugs-return-524514-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 22:06:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40051 invoked by alias); 8 May 2016 22:06:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38980 invoked by uid 48); 8 May 2016 22:06:09 -0000 From: "gccbugzilla at limegreensocks dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/43319] Lack of documentation on asm extension Date: Sun, 08 May 2016 22:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: unknown X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: minor X-Bugzilla-Who: gccbugzilla at limegreensocks 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00686.txt.bz2 Content-length: 859 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D43319 David changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gccbugzilla@limegreensocks. | |com --- Comment #3 from David --- This is a duplicate of 30527. A subset of the most commonly needed/used modifiers have been added to the = docs as of 5.x (including the %c1 referenced above). %P (also mentioned above) is not currently documented, and I see no reason = that it should be. An examination of glibc suggests that instead of using the undocumented/unsupported %P1, they can accomplish what they need with the already documented %c1. >>From gcc-bugs-return-524515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 22:36:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105482 invoked by alias); 8 May 2016 22:36:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105287 invoked by uid 48); 8 May 2016 22:36:15 -0000 From: "klindsay at ucar dot edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71014] New: associate statement inside omp parallel do appears to disable default private attribute for inner loop indices Date: Sun, 08 May 2016 22:36: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: klindsay at ucar dot edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00687.txt.bz2 Content-length: 1592 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71014 Bug ID: 71014 Summary: associate statement inside omp parallel do appears to disable default private attribute for inner loop indices Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: klindsay at ucar dot edu Target Milestone: --- Created attachment 38446 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38446&action=3Dedit program demonstrating problem Hi, I have some code using the associate construct inside an openmp parallel do loop. The associate construct appears to disable giving loop indices inside= the construct the private attribute. The attached program demonstrates the prob= lem. The inner loop adds the numbers 1..100, and should yield 5050. This is done= 8 times. When I run the program with OMP_NUM_THREADS=3D8, I usually get misma= tches between s_true and s. Sometimes the program hangs, seemingly in an infinite loop. I am running this on a Linux system. If I add a PRIVATE(i) clause to the OMP directive, the problem goes away. If I comment out the associate construct, the problem goes away, even witho= ut adding a PRIVATE(i) clause. Note that the associate construct in this examp= le is not really doing anything. The associated name is not actually used insi= de the associate construct. Could this be looked into please? Thank you, Keith Lindsay >>From gcc-bugs-return-524516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 08 23:41:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116155 invoked by alias); 8 May 2016 23:41:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115651 invoked by uid 48); 8 May 2016 23:40:57 -0000 From: "eric at efcs dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/69523] -Wliteral-suffix should not warn within namespace std Date: Sun, 08 May 2016 23:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: eric at efcs dot ca X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00688.txt.bz2 Content-length: 241 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69523 --- Comment #5 from Eric Fiselier --- Would it be possible to add a -Wno-literal-suffix flag? I really want to use warning with GCC, but I need to disable this one. >>From gcc-bugs-return-524517-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 00:06:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68807 invoked by alias); 9 May 2016 00:06:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68513 invoked by uid 48); 9 May 2016 00:05:50 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70987] missing -Wuninitialized calling built-in string functions with an uninitialized argument Date: Mon, 09 May 2016 00: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00689.txt.bz2 Content-length: 499 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70987 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #1 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- This seems to me a duplicate of PR10138 (at least in C++), or closely relat= ed. >>From gcc-bugs-return-524518-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 05:58:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92046 invoked by alias); 9 May 2016 05:58:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91511 invoked by uid 48); 9 May 2016 05:58:36 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70986] ICE on valid code at -O3 on x86_64-linux-gnu in combine_blocks, at tree-if-conv.c:2219 Date: Mon, 09 May 2016 05: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: 7.0 X-Bugzilla-Keywords: 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00690.txt.bz2 Content-length: 626 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70986 Arseny Solokha changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asolokha at gmx dot com --- Comment #1 from Arseny Solokha --- int gi, dg; void fe (void) { int ka =3D gi; for (;;) { if (ka !=3D 0) { if (dg !=3D 0) gi =3D 0; ++ka; } ++dg; } } -O2 -ftree-loop-if-convert-stores is enough for both cases. >>From gcc-bugs-return-524519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 06:06:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123269 invoked by alias); 9 May 2016 06:06:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123037 invoked by uid 48); 9 May 2016 06:06:16 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/71015] New: [7 Regression] ICE in inline_small_functions, at ipa-inline.c:1881 Date: Mon, 09 May 2016 06:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00691.txt.bz2 Content-length: 1345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71015 Bug ID: 71015 Summary: [7 Regression] ICE in inline_small_functions, at ipa-inline.c:1881 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: hubicka at gcc dot gnu.org Target Milestone: --- Probably since r236012 I get: trippels@gcc2-power8 voicemail % cat VoicemailParent.ii struct A { virtual unsigned Release() =3D 0; }; struct nsCOMPtr_base { ~nsCOMPtr_base() { mRawPtr->Release(); } A *mRawPtr; }; struct PVoicemailParent { virtual ~PVoicemailParent(); }; struct B : PVoicemailParent, A { unsigned Release(); nsCOMPtr_base mService; }; unsigned B::Release() {} trippels@gcc2-power8 voicemail % c++ -O3 -c VoicemailParent.ii VoicemailParent.ii:15:24: internal compiler error: in inline_small_function= s, at ipa-inline.c:1881 unsigned B::Release() {} ^ 0x1126c37b inline_small_functions ../../gcc/gcc/ipa-inline.c:1881 0x1126c37b ipa_inline ../../gcc/gcc/ipa-inline.c:2437 0x1126c37b execute ../../gcc/gcc/ipa-inline.c:2848 Please submit a full bug report, >>From gcc-bugs-return-524520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 07:18:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78902 invoked by alias); 9 May 2016 07:18:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78645 invoked by uid 48); 9 May 2016 07:17:45 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71006] [6/7 Regression] ICE: verify_gimple failed (error: type mismatch in conditional expression) w/ -O1 -ftree-loop-vectorize Date: Mon, 09 May 2016 07:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00692.txt.bz2 Content-length: 1063 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71006 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-09 CC| |ienkovich at gcc dot gnu.o= rg, | |jakub at gcc dot gnu.org Target Milestone|--- |6.2 Summary|[7 Regression] ICE: |[6/7 Regression] ICE: |verify_gimple failed |verify_gimple failed |(error: type mismatch in |(error: type mismatch in |conditional expression) w/ |conditional expression) w/ |-O1 -ftree-loop-vectorize |-O1 -ftree-loop-vectorize Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Started with r230098. >>From gcc-bugs-return-524521-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 07:43:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113330 invoked by alias); 9 May 2016 07:43:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89480 invoked by uid 55); 9 May 2016 07:43:21 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzcwOTM3XSBbNyBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUg?= =?UTF-8?B?Y29kZSDigJhzc2FfbmFtZeKAmSBpcyBub3Qgc3VwcG9ydGVkIGluIExUTyBz?= =?UTF-8?B?dHJlYW1z?= Date: Mon, 09 May 2016 07:43: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: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00693.txt.bz2 Content-length: 711 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 --- Comment #15 from Richard Biener --- Author: rguenth Date: Mon May 9 07:42:45 2016 New Revision: 236021 URL: https://gcc.gnu.org/viewcvs?rev=3D236021&root=3Dgcc&view=3Drev Log: 2016-05-09 Richard Biener PR fortran/70937 * trans-decl.c: Include gimplify.h for unshare_expr. (gfc_trans_vla_one_sizepos): Unshare exprs before inserting them into the IL. * gfortran.dg/pr70937.f90: New testcase. Added: trunk/gcc/testsuite/gfortran.dg/pr70937.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-decl.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524522-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 07:48:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56074 invoked by alias); 9 May 2016 07:48:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55129 invoked by uid 48); 9 May 2016 07:47:57 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzcwOTM3XSBbNyBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUg?= =?UTF-8?B?Y29kZSDigJhzc2FfbmFtZeKAmSBpcyBub3Qgc3VwcG9ydGVkIGluIExUTyBz?= =?UTF-8?B?dHJlYW1z?= Date: Mon, 09 May 2016 07:48: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: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00694.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70937 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #16 from Richard Biener --- Fixed. >>From gcc-bugs-return-524524-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 08:26:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97978 invoked by alias); 9 May 2016 08:26:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97204 invoked by uid 48); 9 May 2016 08:26:29 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/71013] [7 Regression] c-common.c:12810:37: error: 'LLONG_MAX' was not declared in this scope Date: Mon, 09 May 2016 08:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00696.txt.bz2 Content-length: 347 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71013 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |build Priority|P3 |P1 >>From gcc-bugs-return-524523-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 08:26:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97212 invoked by alias); 9 May 2016 08:26:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93117 invoked by uid 48); 9 May 2016 08:26:16 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/71013] [7 Regression] c-common.c:12810:37: error: 'LLONG_MAX' was not declared in this scope Date: Mon, 09 May 2016 08:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00695.txt.bz2 Content-length: 477 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71013 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 --- Comment #1 from Richard Biener --- How do you get LLONG_MAX on hpux? There is HAVE_LONG_LONG[_INT] in auto-host.h, maybe that needs to be used here. >>From gcc-bugs-return-524525-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 08:29:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5251 invoked by alias); 9 May 2016 08:29:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4128 invoked by uid 48); 9 May 2016 08:28:48 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71006] [6/7 Regression] ICE: verify_gimple failed (error: type mismatch in conditional expression) w/ -O1 -ftree-loop-vectorize Date: Mon, 09 May 2016 08:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00697.txt.bz2 Content-length: 422 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71006 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-checking, | |ice-on-valid-code Priority|P3 |P2 >>From gcc-bugs-return-524526-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 08:31:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27547 invoked by alias); 9 May 2016 08:31:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27337 invoked by uid 48); 9 May 2016 08:31:34 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71002] [6/7 Regression] -fstrict-aliasing breaks Boost's short string optimization implementation Date: Mon, 09 May 2016 08:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc cf_known_to_work target_milestone short_desc everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00698.txt.bz2 Content-length: 1072 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71002 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-09 CC| |rguenth at gcc dot gnu.org Known to work| |5.3.0 Target Milestone|--- |6.2 Summary|[6 Regression] |[6/7 Regression] |-fstrict-aliasing breaks |-fstrict-aliasing breaks |Boost's short string |Boost's short string |optimization implementation |optimization implementation Ever confirmed|0 |1 Known to fail| |6.1.0 --- Comment #1 from Richard Biener --- Confirmed the testcase fails with -O2 for GCC 6 and trunk but not GCC 5. >>From gcc-bugs-return-524527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 08:32:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28579 invoked by alias); 9 May 2016 08:32:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28480 invoked by uid 48); 9 May 2016 08:32:03 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70986] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in combine_blocks, at tree-if-conv.c:2219 Date: Mon, 09 May 2016 08:32: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: ktkachov 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.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_work keywords cf_reconfirmed_on cc everconfirmed short_desc target_milestone cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00699.txt.bz2 Content-length: 1398 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70986 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Known to work| |6.1.0 Keywords| |ice-on-valid-code Last reconfirmed| |2016-05-09 CC| |ktkachov at gcc dot gnu.org Ever confirmed|0 |1 Summary|ICE on valid code at -O3 on |[7 Regression] ICE on valid |x86_64-linux-gnu in |code at -O3 on |combine_blocks, at |x86_64-linux-gnu in |tree-if-conv.c:2219 |combine_blocks, at | |tree-if-conv.c:2219 Target Milestone|--- |7.0 Known to fail| |7.0 --- Comment #2 from ktkachov at gcc dot gnu.org --- Confirmed on aarch64 also. I have another testcase that ICEs like this. int a, b; int fn1 (int p1) { return p1 < 0 ? p1 : a; } void fn2 () { lbl_100: b =3D 1; for (; b !=3D 21; b =3D fn1 (b)) ; goto lbl_100; } caused by the same commit as PR 70964, but I don't know if the bugs are distinct >>From gcc-bugs-return-524528-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 08:41:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81845 invoked by alias); 9 May 2016 08:41:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81501 invoked by uid 48); 9 May 2016 08:41:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71002] [6/7 Regression] -fstrict-aliasing breaks Boost's short string optimization implementation Date: Mon, 09 May 2016 08:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00700.txt.bz2 Content-length: 488 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71002 --- Comment #2 from Richard Biener --- The issue is similar to that in PR70054 in that for example string::swap_da= ta copy-initializes repr_t which has the long_raw_t member that is not of the type that it is modified as (for some odd reason). (just from looking at the source now, not analyzing what GCC does to it) Why doesn't boost just use union repr_t { long_t l; short_t s; ... ? >>From gcc-bugs-return-524529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 08:42:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83285 invoked by alias); 9 May 2016 08:42:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83141 invoked by uid 48); 9 May 2016 08:42:08 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71016] New: [6/7 Regression] Redundant sign extension with conditional __builtin_clzl Date: Mon, 09 May 2016 08: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: 6.1.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00701.txt.bz2 Content-length: 1765 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71016 Bug ID: 71016 Summary: [6/7 Regression] Redundant sign extension with conditional __builtin_clzl Product: gcc Version: 6.1.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org Target Milestone: --- Target: aarch64 Consider: long int foo (long i) { return (i =3D=3D 0) ? 17 : __builtin_clzl (i); } On aarch64 with GCC 5 at -O2 we generate: foo: mov x2, 17 clz x1, x0 cmp x0, xzr csel x0, x1, x2, ne ret whereas with GCC 6 and trunk we generate: foo: mov w1, 17 clz x2, x0 cmp x0, 0 csel w0, w1, w2, eq sxtw x0, w0 //redundant sign-extend ret In GCC 5 the tree structure being expanded is: i.1_3 =3D (long unsigned int) i_2(D); _4 =3D __builtin_clzl (i.1_3); iftmp.0_5 =3D (long int) _4; ;; basic block 4, loop depth 0 ;; pred: 3 ;; 2 # iftmp.0_1 =3D PHI return iftmp.0_1; so the RTL optimisers see the DI mode clz followed by a subreg and a sign-extend and optimise it away. However trunk now moves the sign-extend out of the conditional: i.1_3 =3D (long unsigned int) i_2(D); _4 =3D __builtin_clzl (i.1_3); ;; basic block 4, loop depth 0 ;; pred: 3 ;; 2 # _7 =3D PHI <_4(3), 17(2)> prephitmp_8 =3D (long int) _7; return prephitmp_8; So it's very hard for RTL ifcvt or combine or ree to catch it. >>From gcc-bugs-return-524530-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 08:50:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16999 invoked by alias); 9 May 2016 08:50:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16841 invoked by uid 48); 9 May 2016 08:49:51 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66328] Wrong initialization of derived-type DATA Date: Mon, 09 May 2016 08:50: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00702.txt.bz2 Content-length: 175 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66328 --- Comment #3 from Dominique d'Humieres --- The bug reappears on trunk if I revert r230580. >>From gcc-bugs-return-524531-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 08:52:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20026 invoked by alias); 9 May 2016 08:52:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19850 invoked by uid 48); 9 May 2016 08:52:33 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70985] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed Date: Mon, 09 May 2016 08: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00703.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70985 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org >>From gcc-bugs-return-524532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 08:56:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42385 invoked by alias); 9 May 2016 08:56:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42150 invoked by uid 48); 9 May 2016 08:56:23 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70986] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in combine_blocks, at tree-if-conv.c:2219 Date: Mon, 09 May 2016 08:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00704.txt.bz2 Content-length: 466 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70986 --- Comment #3 from Richard Biener --- Same cause as the other PR. 2016-05-03 Jakub Jelinek Richard Biener PR tree-optimization/70916 * tree-if-conv.c: Include cfganal.h. (pass_if_conversion::execute): Call connect_infinite_loops_to_exit and remove_fake_exit_edges around the optimization pass. >>From gcc-bugs-return-524533-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 08:59:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48323 invoked by alias); 9 May 2016 08:59:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47820 invoked by uid 48); 9 May 2016 08:59:04 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71017] New: libgcc/config/i386/cpuinfo.c:346:17: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' Date: Mon, 09 May 2016 08:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00705.txt.bz2 Content-length: 1244 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71017 Bug ID: 71017 Summary: libgcc/config/i386/cpuinfo.c:346:17: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dominiq at lps dot ens.fr Target Milestone: --- When compiling some tests, e.g. gcc.c-torture/compile/20000511-1.c -O, using gcc built with -fsanitize=3Dundefined, I get the following error at runtime libgcc/config/i386/cpuinfo.c:346:17: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' This is fixed with the following patch --- ../_clean/gcc/config/i386/cpuid.h 2016-01-04 19:51:13.000000000 +0100 +++ gcc/config/i386/cpuid.h 2016-05-01 12:49:40.000000000 +0200 @@ -90,7 +90,7 @@ #define bit_AVX512CD (1 << 28) #define bit_SHA (1 << 29) #define bit_AVX512BW (1 << 30) -#define bit_AVX512VL (1 << 31) +#define bit_AVX512VL (1u << 31) /* %ecx */ #define bit_PREFETCHWT1 (1 << 0) >>From gcc-bugs-return-524534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 09:01:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53170 invoked by alias); 9 May 2016 09:01:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51921 invoked by uid 48); 9 May 2016 09:00:51 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70992] Infinite recursion between fold_build2_stat_loc and fold_binary_loc w/ -fwrapv Date: Mon, 09 May 2016 09:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: 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 version everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00706.txt.bz2 Content-length: 677 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70992 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|ice-on-invalid-code |ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-09 Version|unknown |6.1.0 Ever confirmed|0 |1 Known to fail| |4.3.5 --- Comment #1 from Richard Biener --- Confirmed back to GCC 4.3. >>From gcc-bugs-return-524535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 09:02:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54451 invoked by alias); 9 May 2016 09:02:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54279 invoked by uid 48); 9 May 2016 09:01:47 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70997] [7 Regression] bootstrap broken on s390x-linux-gnu Date: Mon, 09 May 2016 09:02: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.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00707.txt.bz2 Content-length: 348 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70997 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |build Target Milestone|--- |7.0 >>From gcc-bugs-return-524536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 09:02:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55464 invoked by alias); 9 May 2016 09:02:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55318 invoked by uid 48); 9 May 2016 09:02:25 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/71015] [7 Regression] ICE in inline_small_functions, at ipa-inline.c:1881 Date: Mon, 09 May 2016 09:02: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00708.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71015 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 >>From gcc-bugs-return-524537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 09:13:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87561 invoked by alias); 9 May 2016 09:13:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87364 invoked by uid 48); 9 May 2016 09:13:20 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70992] Infinite recursion between fold_build2_stat_loc and fold_binary_loc w/ -fwrapv Date: Mon, 09 May 2016 09:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00709.txt.bz2 Content-length: 611 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70992 --- Comment #2 from Richard Biener --- I think the issue is that the associate case treats (0 % 0 + 1) * 2 as cons= tant but that gets further "simplified" when combined with the rest. In the end our refusal to simplify 0 % 0 to 0 causes things to go downhill (we _do_ simplify 0 % a to 0!) (for mod (ceil_mod floor_mod round_mod trunc_mod) /* 0 % X is always zero. */ (simplify (mod integer_zerop@0 @1) /* But not for 0 % 0 so that we can get the proper warnings and errors. = */ (if (!integer_zerop (@1)) @0)) >>From gcc-bugs-return-524539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 09:24:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13439 invoked by alias); 9 May 2016 09:24:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13238 invoked by uid 48); 9 May 2016 09:24:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70985] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed Date: Mon, 09 May 2016 09:24: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00711.txt.bz2 Content-length: 317 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70985 --- Comment #3 from Richard Biener --- This wasn't supposed to apply to non-registers even though technically it could. I'm going to disable that on GIMPLE instead [I'm still thinking on how to d= eal with "memory" stuff in match.pd] >>From gcc-bugs-return-524538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 09:24:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13428 invoked by alias); 9 May 2016 09:24:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13136 invoked by uid 48); 9 May 2016 09:24:41 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/71015] [7 Regression] ICE in inline_small_functions, at ipa-inline.c:1881 Date: Mon, 09 May 2016 09:24: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00710.txt.bz2 Content-length: 561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71015 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-09 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed. >>From gcc-bugs-return-524540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 09:28:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72797 invoked by alias); 9 May 2016 09:28:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63960 invoked by uid 48); 9 May 2016 09:28:21 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70985] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed Date: Mon, 09 May 2016 09:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00712.txt.bz2 Content-length: 1629 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70985 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ktkachov at gcc dot gnu.org --- Comment #4 from ktkachov at gcc dot gnu.org --- I'm also seeing an ICE on the testcase: struct { char f0; unsigned f2 : 16; } e; struct U2 { char f3; }; int **a; int b, c, h, i, j; int *d, *g, *k; volatile struct U2 f; void fn1() { for (; b;) { f; **a =3D *g =3D *d =3D *k !=3D i =3D=3D h; if (j) c =3D e.f2; else for (;;) ; } } at -O3. Given that it contains bitfields too I'm guessing it's the same cau= se. mycrash.c:15:6: error: invalid operand in unary operation void fn1() { ^~~ # VUSE <.MEM_18(D)> e_f2_lsm0.12_27 =3D (short unsigned int) MEM[(struct *)&e + 1B]; mycrash.c:15:6: error: invalid operands in binary operation mycrash.c:15:6: error: incorrect sharing of tree nodes MEM[(struct *)&e + 1B] # VUSE <.MEM_22> _14 =3D MEM[(struct *)&e + 1B] & 65535; mycrash.c:15:6: internal compiler error: verify_gimple failed 0xb23a53 verify_gimple_in_cfg(function*, bool) $SRC/gcc/tree-cfg.c:5166 0xa14349 execute_function_todo $SRC/gcc/passes.c:1968 0xa14554 do_per_function $SRC/gcc/passes.c:1652 0xa1469c execute_todo $SRC/gcc/passes.c:2020 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-524541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 09:33:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31052 invoked by alias); 9 May 2016 09:33:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30927 invoked by uid 48); 9 May 2016 09:33:46 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/66940] ifcvt.c:1907 signed integer overflow Date: Mon, 09 May 2016 09:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00713.txt.bz2 Content-length: 720 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66940 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Last reconfirmed|2016-05-08 00:00:00 |2016-5-9 CC| |ktkachov at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |ktkachov at gcc dot= gnu.org --- Comment #2 from ktkachov at gcc dot gnu.org --- Confirmed also on current trunk by adding: gcc_assert (desired_val !=3D HOST_WIDE_INT_MAX); before the: if (actual_val =3D=3D desired_val + 1) check >>From gcc-bugs-return-524542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 09:35:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49796 invoked by alias); 9 May 2016 09:35:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49689 invoked by uid 48); 9 May 2016 09:35:38 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70984] Templated derived class erroneously allows taking address of private base class member functions Date: Mon, 09 May 2016 09:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00714.txt.bz2 Content-length: 229 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70984 --- Comment #1 from Jonathan Wakely --- Please check the known bugs linked to from PR 59002 as I'm pretty sure this= is a duplicate of one of them. >>From gcc-bugs-return-524543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 09:41:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80066 invoked by alias); 9 May 2016 09:41:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79649 invoked by uid 48); 9 May 2016 09:41:28 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/26904] A template named the same as its member confuses lookup through inheritance Date: Mon, 09 May 2016 09:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.0.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00715.txt.bz2 Content-length: 182 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D26904 --- Comment #5 from Jonathan Wakely --- For the record, it seems to have first been fixed for GCC 4.5 >>From gcc-bugs-return-524544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 09:42:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81553 invoked by alias); 9 May 2016 09:42:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81450 invoked by uid 48); 9 May 2016 09:42:30 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70996] regression - infinite compilation of sequence overrided operator<< Date: Mon, 09 May 2016 09:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.1 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_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00716.txt.bz2 Content-length: 294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70996 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal >>From gcc-bugs-return-524545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 09:43:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83856 invoked by alias); 9 May 2016 09:43:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83528 invoked by uid 48); 9 May 2016 09:43:33 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71004] recursive_directory_iterator does not have a user-provided default ctor Date: Mon, 09 May 2016 09:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00717.txt.bz2 Content-length: 489 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71004 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-09 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu= .org Ever confirmed|0 |1 >>From gcc-bugs-return-524546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 09:44:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87526 invoked by alias); 9 May 2016 09:44:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86056 invoked by uid 48); 9 May 2016 09:44:12 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71005] recursive_directory_iterator::operator++(int) incorrectly implemented Date: Mon, 09 May 2016 09:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00718.txt.bz2 Content-length: 489 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71005 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-09 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu= .org Ever confirmed|0 |1 >>From gcc-bugs-return-524547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 09:49:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121037 invoked by alias); 9 May 2016 09:49:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120830 invoked by uid 48); 9 May 2016 09:49:37 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/69523] -Wliteral-suffix should not warn within namespace std Date: Mon, 09 May 2016 09:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00719.txt.bz2 Content-length: 425 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69523 --- Comment #6 from Jonathan Wakely --- We already support that flag, but the warning that you get on the declarati= on of operator""s is not controlled by that flag. The warning should be controlled by *some* flag, but I'm not sure whether or not linking it with -Wliteral-suffix makes sense. I'll prepare a patch and = see what people think. >>From gcc-bugs-return-524548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 09:54:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130368 invoked by alias); 9 May 2016 09:54:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129994 invoked by uid 48); 9 May 2016 09:54:41 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71010] error: 'begin' was not declared in this scope Date: Mon, 09 May 2016 09:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00720.txt.bz2 Content-length: 1058 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71010 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Jonathan Wakely --- No, it's not a bug. Range-based 'for' is not supposed to find std::begin and std::end unless std is an associated namespace. Furthermore, your code has undefined behaviour, it is forbidden to add your= own functions to namespace std. The correct way to do it is to write the begin/= end overloads in the same namespace as your type (in this case that's the global namespace). class X { int m_x[5] =3D { 0, 1, 2, 3, 4 }; public: int* first() { return &m_x[0]; } int* last() { return &m_x[4]; } }; int* begin(X& x) { return x.first(); } int* end(X& x) { return x.last(); } This works with all versions of GCC that support C++11. >>From gcc-bugs-return-524549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 10:06:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56286 invoked by alias); 9 May 2016 10:06:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54941 invoked by uid 48); 9 May 2016 10:06:38 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/39440] User Manual: describe asm ("%a0,%c0"::) Date: Mon, 09 May 2016 10:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 4.4.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00721.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D39440 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #6 from Richard Biener --- dup *** This bug has been marked as a duplicate of bug 30527 *** >>From gcc-bugs-return-524550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 10:06:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56315 invoked by alias); 9 May 2016 10:06:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55086 invoked by uid 48); 9 May 2016 10:06:40 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/30527] Use of input/output operands in __asm__ templates not fully documented Date: Mon, 09 May 2016 10:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 4.1.1 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00722.txt.bz2 Content-length: 454 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D30527 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |etienne_lorrain at yahoo d= ot fr --- Comment #6 from Richard Biener --- *** Bug 39440 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-524552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 10:07:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59719 invoked by alias); 9 May 2016 10:07:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59594 invoked by uid 48); 9 May 2016 10:07:23 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/30527] Use of input/output operands in __asm__ templates not fully documented Date: Mon, 09 May 2016 10:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 4.1.1 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00724.txt.bz2 Content-length: 446 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D30527 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pi3orama at gmail dot com --- Comment #7 from Richard Biener --- *** Bug 43319 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-524551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 10:07:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59702 invoked by alias); 9 May 2016 10:07:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59552 invoked by uid 48); 9 May 2016 10:07:22 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/43319] Lack of documentation on asm extension Date: Mon, 09 May 2016 10:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: unknown X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: minor X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00723.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D43319 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #4 from Richard Biener --- dup. *** This bug has been marked as a duplicate of bug 30527 *** >>From gcc-bugs-return-524553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 10:08:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63122 invoked by alias); 9 May 2016 10:08:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63026 invoked by uid 48); 9 May 2016 10:08:00 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71005] recursive_directory_iterator::operator++(int) incorrectly implemented Date: Mon, 09 May 2016 10:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.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: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00725.txt.bz2 Content-length: 546 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71005 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.4 --- Comment #1 from Jonathan Wakely --- It looks like directory_iterator will have the same problem, as both just c= opy the object, which shares ownership of the underlying representation instead= of making a new state. Oops. >>From gcc-bugs-return-524554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 10:10:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68989 invoked by alias); 9 May 2016 10:10:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68750 invoked by uid 55); 9 May 2016 10:10:11 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71004] recursive_directory_iterator does not have a user-provided default ctor Date: Mon, 09 May 2016 10:10: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: 6.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00726.txt.bz2 Content-length: 833 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71004 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Mon May 9 10:09:37 2016 New Revision: 236023 URL: https://gcc.gnu.org/viewcvs?rev=3D236023&root=3Dgcc&view=3Drev Log: libstdc++/71004 fix recursive_directory_iterator default constructor PR libstdc++/71004 * include/experimental/bits/fs_dir.h (recursive_directory_iterator): Initialize scalar member variables in default constructor. * testsuite/experimental/filesystem/iterators/ recursive_directory_iterator.cc: Teste default construction. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/experimental/bits/fs_dir.h =20=20=20 trunk/libstdc++-v3/testsuite/experimental/filesystem/iterators/recursive_di= rectory_iterator.cc >>From gcc-bugs-return-524555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 10:27:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52783 invoked by alias); 9 May 2016 10:27:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52576 invoked by uid 48); 9 May 2016 10:27:07 -0000 From: "doko at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/70997] [7 Regression] bootstrap broken on s390x-linux-gnu Date: Mon, 09 May 2016 10:27: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.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: doko 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00727.txt.bz2 Content-length: 171 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70997 --- Comment #1 from Matthias Klose --- only seen when configured with --enable-default-pie >>From gcc-bugs-return-524556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 10:41:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98276 invoked by alias); 9 May 2016 10:41:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98007 invoked by uid 48); 9 May 2016 10:41:28 -0000 From: "riad93 at mail dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/71018] New: lto + ipa-pta causes exception with trivial boost::ptime code. Date: Mon, 09 May 2016 10:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: riad93 at mail dot ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00728.txt.bz2 Content-length: 564 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71018 Bug ID: 71018 Summary: lto + ipa-pta causes exception with trivial boost::ptime code. Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: riad93 at mail dot ru Target Milestone: --- Created attachment 38447 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38447&action=3Dedit My code >>From gcc-bugs-return-524557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 10:47:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110174 invoked by alias); 9 May 2016 10:47:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109942 invoked by uid 48); 9 May 2016 10:46:54 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71019] New: AVX512BW instructions emitted even without AVX512BW Date: Mon, 09 May 2016 10:47: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00729.txt.bz2 Content-length: 560 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71019 Bug ID: 71019 Summary: AVX512BW instructions emitted even without AVX512BW Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- With -mavx512vl -mno-avx512bw GCC emits vpack{ss,us}{wb,dw} EVEX encoded instructions even when they are only in the AVX512BW ISA. >>From gcc-bugs-return-524558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 10:48:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113162 invoked by alias); 9 May 2016 10:48:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112876 invoked by uid 48); 9 May 2016 10:48:18 -0000 From: "riad93 at mail dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/71018] lto + ipa-pta causes exception with trivial boost::ptime code. Date: Mon, 09 May 2016 10:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: riad93 at mail dot ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00730.txt.bz2 Content-length: 1310 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71018 --- Comment #1 from riad93 at mail dot ru --- Accidentaly sent before adding info -v: Using built-in specs. COLLECT_GCC=3D/opt/gcc-6/bin/c++-6.1 COLLECT_LTO_WRAPPER=3D/opt/gcc-6/libexec/gcc/x86_64-pc-linux-gnu/6.1.0/lto-= wrapper Target: x86_64-pc-linux-gnu Configured with: ../configure --enable-languages=3Dc,c++ --enable-shared --enable-threads=3Dposix --program-suffix=3D-6.1 --with-system-zlib --prefix=3D/opt/gcc-6/ --disable-multilib --disable-bootstrap Thread model: posix gcc version 6.1.0 (GCC) Command line: /opt/gcc-6/bin/c++-6.1 -O2 -fipa-pta -flto=3D24 flto_test.cpp -o flto_test -Wl,-rpath,/opt/gcc-6/lib64 -Wall -Wextra -fno-strict-aliasing -fwrapv -fsanitize=3Dundefined && ./flto_test Output: flto_test.cpp: In function =E2=80=98time_type {anonymous}::utc_to_local(con= st time_type&)=E2=80=99: flto_test.cpp:18:22: warning: variable =E2=80=98dd=E2=80=99 set but not used [-Wunused-but-set-variable] date_duration_type dd =3D t.date() - time_t_start_day; ^~ terminate called after throwing an instance of 'boost::exception_detail::clone_impl >' what(): Year is out of valid range: 1400..10000 [1] 10332 abort ./flto_test >>From gcc-bugs-return-524559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 10:52:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118268 invoked by alias); 9 May 2016 10:52:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118024 invoked by uid 48); 9 May 2016 10:51:56 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71019] AVX512BW instructions emitted even without AVX512BW Date: Mon, 09 May 2016 10:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00731.txt.bz2 Content-length: 689 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71019 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-09 Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Created attachment 38448 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38448&action=3Dedit gcc7-pr71019.patch Untested fix. >>From gcc-bugs-return-524560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 11:00:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83280 invoked by alias); 9 May 2016 11:00:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81238 invoked by uid 48); 9 May 2016 11:00:17 -0000 From: "riad93 at mail dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/71018] lto + ipa-pta causes exception with trivial boost::ptime code. Date: Mon, 09 May 2016 11:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: riad93 at mail dot ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00732.txt.bz2 Content-length: 282 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71018 --- Comment #2 from riad93 at mail dot ru --- Created attachment 38449 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38449&action=3Dedit preprocessed code It's in tar.gz since it's too big for upload here as plaintext >>From gcc-bugs-return-524561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 11:05:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95785 invoked by alias); 9 May 2016 11:05:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86920 invoked by uid 48); 9 May 2016 11:05:33 -0000 From: "riad93 at mail dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/71018] lto + ipa-pta causes exception with trivial boost::ptime code. Date: Mon, 09 May 2016 11:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: riad93 at mail dot ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00733.txt.bz2 Content-length: 509 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71018 riad93 at mail dot ru changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #38449|0 |1 is obsolete| | --- Comment #3 from riad93 at mail dot ru --- Created attachment 38450 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38450&action=3Dedit preprocessed code Fixed preprocessed code >>From gcc-bugs-return-524562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 11:17:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45089 invoked by alias); 9 May 2016 11:17:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44818 invoked by uid 48); 9 May 2016 11:17:26 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71016] [6/7 Regression] Redundant sign extension with conditional __builtin_clzl Date: Mon, 09 May 2016 11:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00734.txt.bz2 Content-length: 1519 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71016 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-09 Target Milestone|--- |6.2 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- So PRE still does the desired tranform: : if (i_4(D) !=3D 0) goto ; else goto ; : i.1_1 =3D (long unsigned int) i_4(D); _2 =3D __builtin_clzl (i.1_1); _5 =3D (long int) _2; : # _7 =3D PHI <_2(3), 17(2)> # prephitmp_8 =3D PHI <_5(3), 17(2)> return prephitmp_8; but then later phiopt comes along and un-does it: --- t.c.172t.forwprop4 2016-05-09 13:15:20.830707963 +0200 +++ t.c.173t.phiopt3 2016-05-09 13:15:20.830707963 +0200 @@ -6,7 +6,7 @@ { long unsigned int i.1_1; int _2; - long int _5; + int _7; long int prephitmp_8; : @@ -18,10 +18,10 @@ : i.1_1 =3D (long unsigned int) i_4(D); _2 =3D __builtin_clzl (i.1_1); - _5 =3D (long int) _2; : - # prephitmp_8 =3D PHI <_5(3), 17(2)> + # _7 =3D PHI <_2(3), 17(2)> + prephitmp_8 =3D (long int) _7; return prephitmp_8; } I think this was intended to be an enablement transform of some sort - obviously here it mis-fires. >>From gcc-bugs-return-524564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 11:19:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48611 invoked by alias); 9 May 2016 11:19:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48140 invoked by uid 48); 9 May 2016 11:19:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71016] [6/7 Regression] Redundant sign extension with conditional __builtin_clzl Date: Mon, 09 May 2016 11:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00736.txt.bz2 Content-length: 713 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71016 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kuganv at linaro dot org --- Comment #2 from Richard Biener --- PHI prephitmp_8 changed to factor conversion out from COND_EXPR. New stmt with CAST that defines prephitmp_8. Added with 2015-07-12 Kugan Vivekanandarajah PR middle-end/66726 * tree-ssa-phiopt.c(factor_out_conditional_conversion): New functio= n. tree_ssa_phiopt_worker): Call it. >>From gcc-bugs-return-524565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 11:19:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48660 invoked by alias); 9 May 2016 11:19:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48369 invoked by uid 48); 9 May 2016 11:19:29 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71016] [6/7 Regression] Redundant sign extension with conditional __builtin_clzl Date: Mon, 09 May 2016 11:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00737.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71016 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >>From gcc-bugs-return-524563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 11:19:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48579 invoked by alias); 9 May 2016 11:19:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48217 invoked by uid 48); 9 May 2016 11:19:21 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71004] recursive_directory_iterator does not have a user-provided default ctor Date: Mon, 09 May 2016 11:19: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: 6.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: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00735.txt.bz2 Content-length: 386 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71004 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.4 --- Comment #3 from Jonathan Wakely --- Only fixed on trunk so far. >>From gcc-bugs-return-524566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 11:26:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71027 invoked by alias); 9 May 2016 11:26:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70683 invoked by uid 48); 9 May 2016 11:25:49 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/71018] lto + ipa-pta causes exception with trivial boost::ptime code. Date: Mon, 09 May 2016 11:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00738.txt.bz2 Content-length: 254 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71018 --- Comment #4 from Richard Biener --- Possibly related to PR70760 or PR70785. Can't reproduce with GCC 6 branch = head (so I'd say 70785), building GCC 6.1.0 right now. >>From gcc-bugs-return-524567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 11:28:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76985 invoked by alias); 9 May 2016 11:28:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76273 invoked by uid 48); 9 May 2016 11:28:04 -0000 From: "pdewacht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71020] New: SSA corruption: Unable to coalesce ssa_names 2 and 13 which are marked as MUST COALESCE. Date: Mon, 09 May 2016 11:28: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pdewacht 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00739.txt.bz2 Content-length: 3021 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71020 Bug ID: 71020 Summary: SSA corruption: Unable to coalesce ssa_names 2 and 13 which are marked as MUST COALESCE. Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pdewacht at gmail dot com Target Milestone: --- This function triggers an internal compiler error. Reduced using C-Reduce f= rom a source file from FMSLogo. $ cat ssa2.c binary() { double b =3D get(); _setjmp(); b =3D sqrt(b); err_logo(); } $ gcc-6 -O -w -c ssa2.c Unable to coalesce ssa_names 2 and 13 which are marked as MUST COALESCE. b_2(ab) and b_13(ab) ssa2.c: In function =E2=80=98binary=E2=80=99: ssa2.c:1:1: internal compiler error: SSA corruption binary() { ^~~~~~ 0xa90f9c fail_abnormal_edge_coalesce ../../src/gcc/tree-ssa-coalesce.c:1010 0xa90f9c coalesce_partitions ../../src/gcc/tree-ssa-coalesce.c:1411 0xa90f9c coalesce_ssa_name() ../../src/gcc/tree-ssa-coalesce.c:1895 0xa4798f remove_ssa_form ../../src/gcc/tree-outof-ssa.c:978 0xa4798f rewrite_out_of_ssa(ssaexpand*) ../../src/gcc/tree-outof-ssa.c:1202 0x69b2e0 execute ../../src/gcc/cfgexpand.c:6136 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ gcc-6 -v Using built-in specs. COLLECT_GCC=3Dgcc-6 COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion=3D'Debian 6.1.1-1' --with-bugurl=3Dfile:///usr/share/doc/gcc-6/README.Bugs --enable-languages=3Dc,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=3D/u= sr --program-suffix=3D-6 --enable-shared --enable-linker-build-id --libexecdir=3D/usr/lib --without-included-gettext --enable-threads=3Dposix --libdir=3D/usr/lib --enable-nls --with-sysroot=3D/ --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-libstdcxx-time=3Dyes --with-default-libstdcxx-abi=3Dnew --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=3Dgtk --enable-gtk-cairo --with-java-home=3D/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-ho= me --with-jvm-root-dir=3D/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=3D/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=3Damd64 --with-ecj-jar=3D/usr/share/java/eclipse-ecj.= jar --enable-objc-gc --enable-multiarch --with-arch-32=3Di686 --with-abi=3Dm64 --with-multilib-list=3Dm32,m64,mx32 --enable-multilib --with-tune=3Dgeneric --enable-checking=3Drelease --build=3Dx86_64-linux-gnu --host=3Dx86_64-linu= x-gnu --target=3Dx86_64-linux-gnu Thread model: posix gcc version 6.1.1 20160430 (Debian 6.1.1-1) >>From gcc-bugs-return-524568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 11:31:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85960 invoked by alias); 9 May 2016 11:31:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85765 invoked by uid 55); 9 May 2016 11:30:50 -0000 From: "dave.anglin at bell dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/71013] [7 Regression] c-common.c:12810:37: error: 'LLONG_MAX' was not declared in this scope Date: Mon, 09 May 2016 11:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: dave.anglin at bell dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00740.txt.bz2 Content-length: 972 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71013 --- Comment #2 from dave.anglin at bell dot net --- On 2016-05-09, at 4:26 AM, rguenth at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71013 >=20 > Richard Biener changed: >=20 > What |Removed |Added > -------------------------------------------------------------------------= --- > Target Milestone|--- |7.0 >=20 > --- Comment #1 from Richard Biener --- > How do you get LLONG_MAX on hpux? There is HAVE_LONG_LONG[_INT] in > auto-host.h, > maybe that needs to be used here. LLONG_MAX is not defined in hpux11.11. It comes from fixed limits.h: ./lib/gcc/hppa64-hp-hpux11.11/5.3.1/include-fixed/limits.h:# undef LLONG_MIN ./lib/gcc/hppa64-hp-hpux11.11/5.3.1/include-fixed/limits.h:# define LLONG_M= IN (-LLONG_MAX - 1LL) -- John David Anglin dave.anglin@bell.net >>From gcc-bugs-return-524569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 11:47:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22186 invoked by alias); 9 May 2016 11:47:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22020 invoked by uid 48); 9 May 2016 11:47:09 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71020] [6/7 Regression] SSA corruption: Unable to coalesce ssa_names 2 and 13 which are marked as MUST COALESCE. Date: Mon, 09 May 2016 11:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cf_known_to_work target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00741.txt.bz2 Content-length: 943 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71020 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-09 Known to work| |5.3.0 Target Milestone|--- |6.2 Summary|SSA corruption: Unable to |[6/7 Regression] SSA |coalesce ssa_names 2 and 13 |corruption: Unable to |which are marked as MUST |coalesce ssa_names 2 and 13 |COALESCE. |which are marked as MUST | |COALESCE. Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. >>From gcc-bugs-return-524570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 11:49:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31602 invoked by alias); 9 May 2016 11:49:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28193 invoked by uid 48); 9 May 2016 11:49:00 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71004] recursive_directory_iterator does not have a user-provided default ctor Date: Mon, 09 May 2016 11:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.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: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00742.txt.bz2 Content-length: 426 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71004 --- Comment #4 from Jonathan Wakely --- (In reply to Eric Fiselier from comment #1) > recursive_directory_iterator it; > assert(it.recursion_pending() =3D=3D false); > assert(it.recursion_pending() =3D=3D true); N.B. This test is undefined, those observer functions have preconditions th= at they are not called on the end iterator. >>From gcc-bugs-return-524571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 11:50:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43832 invoked by alias); 9 May 2016 11:50:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42297 invoked by uid 55); 9 May 2016 11:50:34 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71004] recursive_directory_iterator does not have a user-provided default ctor Date: Mon, 09 May 2016 11:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.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: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00743.txt.bz2 Content-length: 679 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71004 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Mon May 9 11:50:01 2016 New Revision: 236028 URL: https://gcc.gnu.org/viewcvs?rev=3D236028&root=3Dgcc&view=3Drev Log: libstdc++/71004 fix recent additions to testcase PR libstdc++/71004 * testsuite/experimental/filesystem/iterators/ recursive_directory_iterator.cc: Fix test02 to not call member functions on invalid iterator, and use VERIFY not assert. Modified: trunk/libstdc++-v3/ChangeLog =20=20=20 trunk/libstdc++-v3/testsuite/experimental/filesystem/iterators/recursive_di= rectory_iterator.cc >>From gcc-bugs-return-524572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 11:57:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76128 invoked by alias); 9 May 2016 11:57:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75929 invoked by uid 48); 9 May 2016 11:57:38 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71020] [6/7 Regression] SSA corruption: Unable to coalesce ssa_names 2 and 13 which are marked as MUST COALESCE. Date: Mon, 09 May 2016 11:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00744.txt.bz2 Content-length: 936 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71020 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 CC| |rsandifo at gcc dot gnu.org --- Comment #2 from Richard Biener --- b_13(ab) =3D SQRT (b_1(ab)); DCE_COND_LB.2_15 =3D b_1(ab); if (DCE_COND_LB.2_15 u>=3D 0.0) introduced by cdce. Likely triggered by Richards changes. We have : # b_1(ab) =3D PHI _setjmp (); b_13(ab) =3D sqrt (b_1(ab)); err_logo (); goto ; where one way to fix this is push b_1(ab) to a non-abnormal temporary before the call and re-use that. Or simply give up for example via checking for abnormal SSA call arguments in an appropriate place. >>From gcc-bugs-return-524573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 12:11:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29940 invoked by alias); 9 May 2016 12:11:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29379 invoked by uid 48); 9 May 2016 12:10:57 -0000 From: "tavianator at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71002] [6/7 Regression] -fstrict-aliasing breaks Boost's short string optimization implementation Date: Mon, 09 May 2016 12:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tavianator 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00745.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71002 --- Comment #3 from Tavian Barnes --- Because their long_t is not POD. I don't know why that is though. It coul= d be POD if they removed the default/copy constructors and assignment operator. Actually they're probably worried about custom allocators where the pointer type is not POD. So it couldn't be POD in general, and thus can't appear i= n a union directly (in C++03). >>From gcc-bugs-return-524574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 12:14:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34777 invoked by alias); 9 May 2016 12:14:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34433 invoked by uid 48); 9 May 2016 12:14:33 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68945] enable libcilkrts on SPARC Date: Mon, 09 May 2016 12: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: 4.9.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00746.txt.bz2 Content-length: 2160 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68945 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #38221|0 |1 is obsolete| | Attachment #38413|0 |1 is obsolete| | --- Comment #10 from Rainer Orth --- Created attachment 38451 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38451&action=3Dedit Revised patch Here's a version of the patch that is, I believe, ready for upstream submission. It's based on the upstream version as has just been merged into the gcc rep= o. Compared to the previous sparcv9 support, the assertions are gone to allow = for an easier read. I've also replaced the times(3C) based implementation of __cilkrts_getticks= by one reading %tick directly, which should work on all UltraSPARC CPUs, independent of O/S. I've replaced the _GNU_SOURCE guard around runtime/sysdep-unix.c (get_runtime_path) around the use dladdr by the result of a configure check. The previous version had been wrong (j= ust defining _GNU_SOURCE) doesn't suddently materialize dladdr), and the functi= on=20 is present in Solaris libc. Perhaps Eric could have a look at the SPARC assembler code to double-check = that I got it right: * In runtime/config/sparc/os-unix-sysdep.c (__cilkrts_getticks) I needed different 32- and 64-bit versions. I tested the result in standalone program which just printed the result. * One thing I wonder about is runtime/config/sparc/os-fence.h: when using __sync_synchronize, gcc emits membar #StoreLoad, while Stefan's patch had membar #LoadLoad | #LoadStore | #StoreStore | #StoreLoad. It seems th= at all but #StoreLoad are no-ops for TSO SPARC CPUs, but I'd better get this right. I also believe that only so little of Stefan's code is left (__cilkrts_short_pause mostly) to not require a separate assignement for upstream submission. If I'm mistaken, we'd better get that ball rolling. Rainer >>From gcc-bugs-return-524575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 12:20:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49989 invoked by alias); 9 May 2016 12:20:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49823 invoked by uid 55); 9 May 2016 12:20:40 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71002] [6/7 Regression] -fstrict-aliasing breaks Boost's short string optimization implementation Date: Mon, 09 May 2016 12: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00747.txt.bz2 Content-length: 832 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71002 --- Comment #4 from rguenther at suse dot de --- On Mon, 9 May 2016, tavianator at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71002 >=20 > --- Comment #3 from Tavian Barnes --- > Because their long_t is not POD. I don't know why that is though. It co= uld be > POD if they removed the default/copy constructors and assignment operator. >=20 > Actually they're probably worried about custom allocators where the point= er > type is not POD. So it couldn't be POD in general, and thus can't appear= in a > union directly (in C++03). But if it is not POD then assuming it gets copied correctly when init-constructing a POD union where they placed such object is an interesting assumption... >>From gcc-bugs-return-524576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 12:23:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88842 invoked by alias); 9 May 2016 12:23:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70330 invoked by uid 55); 9 May 2016 12:23:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70985] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed Date: Mon, 09 May 2016 12:23: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00748.txt.bz2 Content-length: 653 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70985 --- Comment #5 from Richard Biener --- Author: rguenth Date: Mon May 9 12:23:11 2016 New Revision: 236032 URL: https://gcc.gnu.org/viewcvs?rev=3D236032&root=3Dgcc&view=3Drev Log: 2016-05-09 Richard Biener PR tree-optimization/70985 * match.pd (BIT_FIELD_REF -> (type)): Disable on GIMPLE when op0 isn't a gimple register. * gcc.dg/torture/pr70985.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr70985.c Modified: trunk/gcc/ChangeLog trunk/gcc/match.pd trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 12:25:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24088 invoked by alias); 9 May 2016 12:25:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23822 invoked by uid 48); 9 May 2016 12:25:07 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70985] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed Date: Mon, 09 May 2016 12:25: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00749.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70985 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Richard Biener --- Fixed. >>From gcc-bugs-return-524578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 12:34:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41308 invoked by alias); 9 May 2016 12:34:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41029 invoked by uid 48); 9 May 2016 12:34:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/70785] LTO bootstrap with IPA PTA is broken Date: Mon, 09 May 2016 12:34: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: 6.0 X-Bugzilla-Keywords: lto, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00750.txt.bz2 Content-length: 442 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70785 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |riad93 at mail dot ru --- Comment #6 from Richard Biener --- *** Bug 71018 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-524579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 12:34:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41317 invoked by alias); 9 May 2016 12:34:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40963 invoked by uid 48); 9 May 2016 12:34:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/71018] lto + ipa-pta causes exception with trivial boost::ptime code. Date: Mon, 09 May 2016 12:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00751.txt.bz2 Content-length: 546 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71018 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #5 from Richard Biener --- The patch for PR70785 fixed this, thus fixed for GCC 6.2. *** This bug has been marked as a duplicate of bug 70785 *** >>From gcc-bugs-return-524580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 12:36:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44847 invoked by alias); 9 May 2016 12:36:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44621 invoked by uid 55); 9 May 2016 12:35:59 -0000 From: "amodra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/70826] [7 regression] many test cases fail starting with r235442 Date: Mon, 09 May 2016 12:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00752.txt.bz2 Content-length: 516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70826 --- Comment #10 from Alan Modra --- Author: amodra Date: Mon May 9 12:35:25 2016 New Revision: 236033 URL: https://gcc.gnu.org/viewcvs?rev=3D236033&root=3Dgcc&view=3Drev Log: [RS6000] Fragile testcase breaks with -frename-registers PR testsuite/70826 * gcc.target/powerpc/savres.c: Compile with -fno-rename-registers. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/powerpc/savres.c >>From gcc-bugs-return-524581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 12:39:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52644 invoked by alias); 9 May 2016 12:39:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52423 invoked by uid 48); 9 May 2016 12:39:15 -0000 From: "amodra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/70826] [7 regression] many test cases fail starting with r235442 Date: Mon, 09 May 2016 12:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00753.txt.bz2 Content-length: 557 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70826 Alan Modra changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC|amodra at gcc dot gnu.org, | |amodra at gmail dot com | Resolution|--- |FIXED --- Comment #11 from Alan Modra --- Fixed, until it breaks next time. >>From gcc-bugs-return-524582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 12:56:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2536 invoked by alias); 9 May 2016 12:56:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2151 invoked by uid 48); 9 May 2016 12:56:22 -0000 From: "romain.geissler at amadeus dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/71021] New: [libatomic testsuite] Test program compilation fail (missing -pthread flag) Date: Mon, 09 May 2016 12:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: romain.geissler at amadeus dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00754.txt.bz2 Content-length: 5567 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71021 Bug ID: 71021 Summary: [libatomic testsuite] Test program compilation fail (missing -pthread flag) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Created attachment 38452 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38452&action=3Dedit Add "-pthread" flag when compiling libatomic test programs Hi, I am currently building up the Amadeus toolchain and I have trouble running= the testsuite with libatomic. All test fails because the compilation of the test program fails. This happens in the specific case of our own toolchain becau= se we build and install glibc/binutils/gcc in a custom prefix "/opt/1A/toolchain/x86_64-2.6.32-v2-6/". It also fails since the default sy= stem glibc (found in /lib) is different from the Amadeus toolchain glibc against which we link both binutils and glibc. The toolchain glibc is glibc 2.23 wh= ile the system glibc is glibc This happens on Linux x86_64, using gcc 4.9.4. I haven't checked yet if it = also happens with gcc 6 but I will check soon. When I run: make check-target-libatomic RUNTESTFLAGS=3D"c.exp=3Datomic-compare-exchange= -1.c -v -v" I can see: Executing on host: /workdir/build/final-system/gcc-build/gcc/xgcc -B/workdir/build/final-system/gcc-build/gcc/ /workdir/src/gcc-4.9.4/libatomic/testsuite/libatomic.c/atomic-compare-excha= nge-1.c -B/workdir/build/final-system/gcc-build/x86_64-1a-linux-gnu/./libatomic/ -I/workdir/build/final-system/gcc-build/x86_64-1a-linux-gnu/./libatomic -I/workdir/src/gcc-4.9.4/libatomic/testsuite/.. -fmessage-length=3D0 -fno-inline-atomics -g=20=20 -L/workdir/build/final-system/gcc-build/x86_64-1a-linux-gnu/./libatomic/.li= bs -latomic -lm -o ./atomic-compare-exchange-1.exe (timeout =3D 300) pid is 23832 -23832 waitres is 23832 exp8 0 1 close result is 23832 exp8 0 1 output is /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference to `h_errno@GLIBC_PRIVATE' collect2: error: ld returned 1 exit status If I manually run the link phase with "-Wl,-v,-t" I have this: /workdir/build/final-system/gcc-build/gcc/collect-ld -plugin /workdir/build/final-system/gcc-build/gcc/liblto_plugin.so -plugin-opt=3D/workdir/build/final-system/gcc-build/gcc/lto-wrapper -plugin-opt=3D-fresolution=3D/tmp/ccSu6fuN.res -plugin-opt=3D-pass-through= =3D-lgcc -plugin-opt=3D-pass-through=3D-lgcc_s -plugin-opt=3D-pass-through=3D-lc -plugin-opt=3D-pass-through=3D-lgcc -plugin-opt=3D-pass-through=3D-lgcc_s -= -build-id --eh-frame-hdr --hash-style=3Dgnu -m elf_x86_64 -dynamic-linker /opt/1A/toolchain/x86_64-2.6.32-v2-6/lib64/ld-linux-x86-64.so.2 -o ./atomic-compare-exchange-1.exe /opt/1A/toolchain/x86_64-2.6.32-v2-6/lib/../lib64/crt1.o /opt/1A/toolchain/x86_64-2.6.32-v2-6/lib/../lib64/crti.o /workdir/build/final-system/gcc-build/gcc/crtbegin.o -L/workdir/build/final-system/gcc-build/x86_64-1a-linux-gnu/./libatomic/.li= bs -L/workdir/build/final-system/gcc-build/gcc -L/workdir/build/final-system/gcc-build/x86_64-1a-linux-gnu/./libatomic -L/opt/1A/toolchain/x86_64-2.6.32-v2-6/lib/../lib64 -L/opt/1A/toolchain/x86_64-2.6.32-v2-6/lib /tmp/cccwFSDA.o -latomic -lm -v = -t -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /workdir/build/final-system/gcc-build/gcc/crtend.o /opt/1A/toolchain/x86_64-2.6.32-v2-6/lib/../lib64/crtn.o GNU ld (GNU Binutils) 2.26.0.20160501 /opt/1A/toolchain/x86_64-2.6.32-v2-6/x86_64-1a-linux-gnu/bin/ld: mode elf_x86_64 /opt/1A/toolchain/x86_64-2.6.32-v2-6/lib/../lib64/crt1.o /opt/1A/toolchain/x86_64-2.6.32-v2-6/lib/../lib64/crti.o /workdir/build/final-system/gcc-build/gcc/crtbegin.o /tmp/cccwFSDA.o -latomic (/workdir/build/final-system/gcc-build/x86_64-1a-linux-gnu/./libatomic/.lib= s/libatomic.so) /opt/1A/toolchain/x86_64-2.6.32-v2-6/lib/libm.so.6/opt/1A/toolchain/x86_64-= 2.6.32-v2-6/lib/libmvec.so.1 /opt/1A/toolchain/x86_64-2.6.32-v2-6/lib/libmvec.so.1 -lgcc_s (/workdir/build/final-system/gcc-build/gcc/libgcc_s.so)=20=20 /opt/1A/toolchain/x86_64-2.6.32-v2-6/lib/libc.so.6=20=20 (/opt/1A/toolchain/x86_64-2.6.32-v2-6/lib/libc_nonshared.a)elf-init.oS /opt/1A/toolchain/x86_64-2.6.32-v2-6/lib/ld-linux-x86-64.so.2 /opt/1A/toolchain/x86_64-2.6.32-v2-6/lib/ld-linux-x86-64.so.2=20=20 -lgcc_s (/workdir/build/final-system/gcc-build/gcc/libgcc_s.so)=20=20 /workdir/build/final-system/gcc-build/gcc/crtend.o=20=20 /opt/1A/toolchain/x86_64-2.6.32-v2-6/lib/../lib64/crtn.o=20=20 /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference to `h_errno@GLIBC_PRIVATE'=20=20 /opt/1A/toolchain/x86_64-2.6.32-v2-6/x86_64-1a-linux-gnu/bin/ld: link errors found, deleting executable `./atomic-compare-exchange-1.exe' collect2: error: ld returned 1 exit status So it clearly shows there is a conflict between the glibc in /opt/1A/toolchain/x86_64-2.6.32-v2-6/ and the one in /lib. The linker uses = by default the one in /lib because libatomic depends on libpthread, but the te= st binary was *NOT* built with either "-pthread" or "-lpthread" while it shoul= d. This is an issue inside the libatomic test framework. I have fixed it using= the attached patch (by adding "-pthread" to "ALWAYS_CFLAGS" in "libatomic/testsuite/lib/libatomic.exp". However I am not sure this patch is correct for all different target that gcc is compatible with. Cheers, Romain >>From gcc-bugs-return-524583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 13:08:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86876 invoked by alias); 9 May 2016 13:08:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86631 invoked by uid 48); 9 May 2016 13:08:02 -0000 From: "tavianator at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71002] [6/7 Regression] -fstrict-aliasing breaks Boost's short string optimization implementation Date: Mon, 09 May 2016 13:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tavianator 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00755.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71002 --- Comment #5 from Tavian Barnes --- > But if it is not POD then assuming it gets copied correctly when > init-constructing a POD union where they placed such object is > an interesting assumption... Hrm? They seem to always copy it manually with long_t's copy constructor: ::new(&m_repr.long_repr()) long_t(other.m_repr.long_repr()); >>From gcc-bugs-return-524584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 13:32:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97355 invoked by alias); 9 May 2016 13:32:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97216 invoked by uid 48); 9 May 2016 13:31:50 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/70955] [6/7 Regression] Wrong code generation for __builtin_ms_va_list with -flto Date: Mon, 09 May 2016 13:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: lto, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00756.txt.bz2 Content-length: 461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70955 vries at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vries at gcc dot gnu.org --- Comment #8 from vries at gcc dot gnu.org --- Created attachment 38453 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38453&action=3Dedit tentative patch >>From gcc-bugs-return-524585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 13:32:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99587 invoked by alias); 9 May 2016 13:32:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99510 invoked by uid 48); 9 May 2016 13:32:30 -0000 From: "nsz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/71021] [libatomic testsuite] Test program compilation fail (missing -pthread flag) Date: Mon, 09 May 2016 13:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 4.9.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nsz at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00757.txt.bz2 Content-length: 1247 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71021 nsz at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nsz at gcc dot gnu.org --- Comment #1 from nsz at gcc dot gnu.org --- i think target lib tests are broken in gcc (other than libstdc++ and libgfortran). if the build-sysroot paths were used then the right libc would be linked. but CC (with all the necessary flags) is not passed from make to the test system, instead dejagnu find_gcc is used and some heuristics to reconstruct= the -B etc flags, and thus the build sysroot is missing. (e.g. getenv CC instea= d of find_gcc would be a correct fix in libatomic.exp.. +export CC in the makefi= le). others seem to have run into this too, but apparently it was not fixed: https://gcc.gnu.org/ml/gcc-patches/2013-05/msg01181.html (the libstdc++ solution is also less than elegant: it generates a shell scr= ipt that knows the paths/flags and call that repeatedly from the dejagnu tcl co= de.. instead of just passing the envvars from make to runtest) all target libs with tests need this fix when --with-build-sysroot is used. >>From gcc-bugs-return-524586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 13:34:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116350 invoked by alias); 9 May 2016 13:34:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 116178 invoked by uid 48); 9 May 2016 13:34:04 -0000 From: "wdijkstr at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/71022] New: GCC prefers register moves over move immediate Date: Mon, 09 May 2016 13:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wdijkstr at arm 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00758.txt.bz2 Content-length: 1952 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71022 Bug ID: 71022 Summary: GCC prefers register moves over move immediate Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: wdijkstr at arm dot com Target Milestone: --- When assigning the same immediate value to different registers, GCC will al= ways CSE the immediate and emit a register move for subsequent uses. This creates unnecessary register dependencies and increases latency. When the cost of an immediate move is the same as a register move (which should be true for most targets), it should prefer the former. A register move is better only when = the immediate requires multiple instructions or is larger with -Os. It's not obvious where this is best done. The various cprop phases before I= RA do the right thing, but cse2 (which runs later) then undoes it. And cprop_hardreg doesn't appear to be able to deal with immediates. int f1(int x) { int y =3D 1, z =3D 1; while (x--) { y +=3D z; z +=3D x; } return y + z; } void g(float, float); void f2(void) { g(1.0, 1.0); g(3.3, 3.3); } On AArch64 I get: f1: sub w1, w0, #1 cbz w0, .L12 mov w0, 1 mov w2, w0 *** mov w2, 1 .p2align 2 .L11: add w2, w2, w0 add w0, w0, w1 sub w1, w1, #1 cmn w1, #1 bne .L11 add w0, w2, w0 ret .L12: mov w0, 2 ret f2: fmov s1, 1.0e+0 str x30, [sp, -16]! fmov s0, s1 *** fmov s0, 1.0 bl g adrp x0, .LC1 ldr x30, [sp], 16 ldr s1, [x0, #:lo12:.LC1] fmov s0, s1 *** ldr s0, [x0, #:lo12:.LC1]=20 b g >>From gcc-bugs-return-524587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 13:36:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24047 invoked by alias); 9 May 2016 13:36:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23346 invoked by uid 55); 9 May 2016 13:36:45 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71002] [6/7 Regression] -fstrict-aliasing breaks Boost's short string optimization implementation Date: Mon, 09 May 2016 13:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00759.txt.bz2 Content-length: 2061 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71002 --- Comment #6 from rguenther at suse dot de --- On Mon, 9 May 2016, tavianator at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71002 >=20 > --- Comment #5 from Tavian Barnes --- > > But if it is not POD then assuming it gets copied correctly when > > init-constructing a POD union where they placed such object is > > an interesting assumption... >=20 > Hrm? They seem to always copy it manually with long_t's copy constructor: >=20 > ::new(&m_repr.long_repr()) long_t(other.m_repr.long_repr()); I stand corrected. At least they always read from short_t when computing is_short() even if that is not the active union member. Some missed optimizations: foo::foo(string) (struct foo * const this, struct string & restrict str) { ... : MEM[(struct short_t &)this_2(D)].h.is_short =3D 1; MEM[(struct short_t &)this_2(D)].h.length =3D 0; MEM[(struct short_t &)this_2(D)].data[0] =3D 0; _19 =3D BIT_FIELD_REF ; _20 =3D _19 & 1; if (_20 !=3D 0) this is fold-const.c at work replacing the load from h.is_short with the BIT_FIELD_REF. But then we go to short_t short_backup(m_repr.short_repr()); m_repr.short_repr().~short_t(); ::new(&m_repr.long_repr()) long_t(other.m_repr.long_repr()); other.m_repr.long_repr().~long_t(); ::new(&other.m_repr.short_repr()) short_t(short_backup); : short_backup =3D MEM[(const struct short_t &)this_2(D)]; MEM[(struct long_t *)this_2(D)] =3D MEM[(const struct long_t *)str_5(D)]; MEM[(struct short_t *)str_5(D)] =3D short_backup; short_backup =3D{v} {CLOBBER}; goto ; which looks good. But : # prephitmp_52 =3D PHI <_51(10), 0(5)> goto ; : # iftmp.7_13 =3D PHI *this_2(D).m_len =3D iftmp.7_13; stores zero into the length field. Somehow PRE does this transform. I'll investigate some more. >>From gcc-bugs-return-524588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 13:44:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53839 invoked by alias); 9 May 2016 13:44:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53629 invoked by uid 48); 9 May 2016 13:44:35 -0000 From: "mrestelli at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71023] New: Problem with associate and function returning derived type Date: Mon, 09 May 2016 13:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mrestelli 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00760.txt.bz2 Content-length: 1051 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71023 Bug ID: 71023 Summary: Problem with associate and function returning derived type Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: mrestelli at gmail dot com Target Milestone: --- gfortran does not compile the following valid code: module m implicit none type :: t integer :: i end type t contains pure function make_a_t(i) result(at) integer, intent(in) :: i type(t) :: at at%i =3D i end function make_a_t subroutine s() associate( my_t =3D> make_a_t(5) ) write(*,*) my_t%i end associate end subroutine s end module m $ gfortran -c asb.f90 -o asb.o asb.f90:20:18: write(*,*) my_t%i 1 Error: Symbol =C2=BBmy_t=C2=AB at (1) has no IMPLICIT type $ gfortran --version GNU Fortran (GCC) 7.0.0 20160422 (experimental) >>From gcc-bugs-return-524589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 13:58:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124545 invoked by alias); 9 May 2016 13:58:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120904 invoked by uid 48); 9 May 2016 13:58:28 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71024] New: Missing warning for contradictory attributes Date: Mon, 09 May 2016 13:58: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00761.txt.bz2 Content-length: 1074 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71024 Bug ID: 71024 Summary: Missing warning for contradictory attributes Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mpolacek at gcc dot gnu.org Target Milestone: --- Observe that on=20 void __attribute ((always_inline)) foo (void); void __attribute ((noinline)) foo (void); $ ./cc1 -quiet q.cc=20 q.cc:2:31: warning: declaration of =E2=80=98foo=E2=80=99 with attribute =E2= =80=98noinline=E2=80=99 follows declaration with attribute =E2=80=98always_inline=E2=80=99 [-Wattributes] void __attribute ((noinline)) foo (void); ^~~ q.cc:1:36: note: previous declaration of =E2=80=98foo=E2=80=99 was here void __attribute ((always_inline)) foo (void); ^~~ but cc1plus is silent. I think we need to factor out some code out of diagnose_mismatched_decls. >>From gcc-bugs-return-524590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 14:13:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93906 invoked by alias); 9 May 2016 14:13:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93793 invoked by uid 48); 9 May 2016 14:13:36 -0000 From: "eric at efcs dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71004] recursive_directory_iterator does not have a user-provided default ctor Date: Mon, 09 May 2016 14:13: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eric at efcs dot ca 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: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00762.txt.bz2 Content-length: 506 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71004 --- Comment #6 from Eric Fiselier --- (In reply to Jonathan Wakely from comment #4) > (In reply to Eric Fiselier from comment #1) > > recursive_directory_iterator it; > > assert(it.recursion_pending() =3D=3D false); > > assert(it.recursion_pending() =3D=3D true); >=20 > N.B. This test is undefined, those observer functions have preconditions > that they are not called on the end iterator. That's true, my mistake. >>From gcc-bugs-return-524591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 14:16:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97913 invoked by alias); 9 May 2016 14:16:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97653 invoked by uid 48); 9 May 2016 14:16:14 -0000 From: "vfried at opentext dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71025] New: std::call_once aborts instead of propagating an exception (AIX 6.1) Date: Mon, 09 May 2016 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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vfried at opentext 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00763.txt.bz2 Content-length: 1553 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71025 Bug ID: 71025 Summary: std::call_once aborts instead of propagating an exception (AIX 6.1) Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: vfried at opentext dot com Target Milestone: --- When an exception is thrown inside a function called from std::call_once, t= he process is aborted. The exception should be propagated outside std::call_on= ce. #include #include #include int main() { static std::once_flag flag; printf( "start\n" ); try { std::call_once( flag, [&]() { throw std::runtime_error("thrown from once"= ); } ); } catch ( std::runtime_error const& exc ) { printf( "%s\n", exc.what() ); } printf( "end\n" ); return 0; } bea@stbldap02:~/samples$ g++ -std=3Dc++14 -pthread std_call_once_exception.= cxx bea@stbldap02:~/samples$ ./a.out start terminate called after throwing an instance of 'std::runtime_error' what(): thrown from once IOT/Abort trap (core dumped) BTW: the system on which I tested it should be the same as in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67478 >>From gcc-bugs-return-524592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 14:22:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111583 invoked by alias); 9 May 2016 14:22:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106287 invoked by uid 48); 9 May 2016 14:22:24 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71023] Problem with associate and function returning derived type Date: Mon, 09 May 2016 14:22: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: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00764.txt.bz2 Content-length: 536 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71023 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Dominique d'Humieres --- I think it is a duplicate of pr60483. *** This bug has been marked as a duplicate of bug 60483 *** >>From gcc-bugs-return-524593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 14:22:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111591 invoked by alias); 9 May 2016 14:22:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106309 invoked by uid 48); 9 May 2016 14:22:25 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/60483] [4.9/5/6/7 Regression] No IMPLICIT type error with: ASSOCIATE( X => derived_type() ) [i.e. w/ structure constructor] Date: Mon, 09 May 2016 14:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00765.txt.bz2 Content-length: 457 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60483 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrestelli at gmail dot com --- Comment #8 from Dominique d'Humieres --- *** Bug 71023 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-524594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 14:25:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125684 invoked by alias); 9 May 2016 14:25:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125524 invoked by uid 48); 9 May 2016 14:25:18 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70957] testsuite/gcc.target/powerpc/vsx-elemrev-4.c fails on power7 Date: Mon, 09 May 2016 14:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: wschmidt at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00766.txt.bz2 Content-length: 577 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70957 Bill Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |UNCONFIRMED Ever confirmed|1 |0 --- Comment #7 from Bill Schmidt --- I can no longer reproduce this with a bootstrap compiler, even on the revis= ion where it failed for me before. I'm perplexed. Do you still see it failing? >>From gcc-bugs-return-524595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 14:27:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12088 invoked by alias); 9 May 2016 14:26:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3329 invoked by uid 48); 9 May 2016 14:26:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71002] [6/7 Regression] -fstrict-aliasing breaks Boost's short string optimization implementation Date: Mon, 09 May 2016 14:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00767.txt.bz2 Content-length: 2575 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71002 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org --- Comment #7 from Richard Biener --- So PRE sees: : # .MEM_3 =3D VDEF <.MEM_1(D)> MEM[(struct &)this_2(D)] =3D{v} {CLOBBER}; # .MEM_14 =3D VDEF <.MEM_3> MEM[(struct &)this_2(D)] =3D{v} {CLOBBER}; # .MEM_15 =3D VDEF <.MEM_14> MEM[(struct short_t &)this_2(D)].h.is_short =3D 1; # .MEM_16 =3D VDEF <.MEM_15> MEM[(struct short_t &)this_2(D)].h.length =3D 0; # .MEM_17 =3D VDEF <.MEM_16> MEM[(struct short_t &)this_2(D)].data[0] =3D 0; # VUSE <.MEM_17> _19 =3D BIT_FIELD_REF ; _20 =3D _19 & 1; if (_20 !=3D 0) goto ; else goto ; : # VUSE <.MEM_17> _21 =3D BIT_FIELD_REF ; _22 =3D _21 & 1; if (_22 !=3D 0) goto ; else goto ; : # .MEM_34 =3D VDEF <.MEM_17> short_backup =3D MEM[(const struct short_t &)this_2(D)]; # .MEM_35 =3D VDEF <.MEM_34> MEM[(struct long_t *)this_2(D)] =3D MEM[(const struct long_t *)str_5(D)]; # .MEM_36 =3D VDEF <.MEM_35> MEM[(struct short_t *)str_5(D)] =3D short_backup; # .MEM_37 =3D VDEF <.MEM_36> short_backup =3D{v} {CLOBBER}; goto ; : # .MEM_29 =3D PHI <.MEM_33(13), .MEM_37(5)> # VUSE <.MEM_29> _9 =3D MEM[(const struct short_t &)this_2(D)].h.length; _10 =3D (long unsigned int) _9; goto ; and it concludes that on the path bb2 -> bb5 -> bb10 nothing can clobber MEM[(const struct short_t &)this_2(D)].h.length and thus it is safe to replace it with zero (from the init in bb2). The "obvious" clobbering candidate is # .MEM_35 =3D VDEF <.MEM_34> MEM[(struct long_t *)this_2(D)] =3D MEM[(const struct long_t *)str_5(D)]; but that is storing using a different type. So the error must happen earli= er. It might be as early as the BIT_FIELD_REF folding of the is_short read which does _19 =3D BIT_FIELD_REF ; It is DOM who threads further reads from the above again not considering the above store clobbering a read via 'struct string' (which does not include long_t in its alias subsets). Thus mine (to fix optimize_bit_field_compare). >>From gcc-bugs-return-524596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 14:28:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23579 invoked by alias); 9 May 2016 14:28:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23256 invoked by uid 48); 9 May 2016 14:28:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71002] [6/7 Regression] -fstrict-aliasing breaks Boost's short string optimization implementation Date: Mon, 09 May 2016 14:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00768.txt.bz2 Content-length: 286 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71002 --- Comment #8 from Richard Biener --- Note that ultimatively the error is still that is_short () accesses the wro= ng union member. I'll still see whether there is a bug in optimize_bit_field_compare. >>From gcc-bugs-return-524597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 14:30:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28663 invoked by alias); 9 May 2016 14:30:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28498 invoked by uid 48); 9 May 2016 14:30:33 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70957] testsuite/gcc.target/powerpc/vsx-elemrev-4.c fails on power7 Date: Mon, 09 May 2016 14:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: wschmidt at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00769.txt.bz2 Content-length: 265 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70957 --- Comment #8 from Bill Schmidt --- Looks like it also did not fail in the latest gcc-testresults Power7 BE run= .=20 Going to stop looking at this unless/until it shows up again. >>From gcc-bugs-return-524598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 14:38:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48922 invoked by alias); 9 May 2016 14:38:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 45124 invoked by uid 48); 9 May 2016 14:38:41 -0000 From: "vfried at opentext dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71025] std::call_once aborts instead of propagating an exception (AIX 6.1) Date: Mon, 09 May 2016 14:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vfried at opentext 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00770.txt.bz2 Content-length: 208 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71025 --- Comment #1 from Vojtech Fried --- I am sorry, probably duplicate of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66146 >>From gcc-bugs-return-524600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 14:42:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62450 invoked by alias); 9 May 2016 14:42:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62107 invoked by uid 48); 9 May 2016 14:42:16 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/52162] Bogus -fcheck=bounds with realloc on assignment to unallocated LHS Date: Mon, 09 May 2016 14: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: 4.7.0 X-Bugzilla-Keywords: wrong-code 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00772.txt.bz2 Content-length: 457 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52162 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrestelli at gmail dot com --- Comment #6 from Dominique d'Humieres --- *** Bug 70953 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-524599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 14:42:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62438 invoked by alias); 9 May 2016 14:42:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62086 invoked by uid 48); 9 May 2016 14:42:15 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70953] Reallocation on assignment does not work with debug flags Date: Mon, 09 May 2016 14: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 lps dot ens.fr X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00771.txt.bz2 Content-length: 603 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70953 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Dominique d'Humieres --- > It looks like a duplicate of pr52162 (see comment 2). Not challenged, marked as duplicate of pr52162. *** This bug has been marked as a duplicate of bug 52162 *** >>From gcc-bugs-return-524601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 14:48:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30948 invoked by alias); 9 May 2016 14:48:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30737 invoked by uid 48); 9 May 2016 14:48:28 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices Date: Mon, 09 May 2016 14:48: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: 6.1.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00773.txt.bz2 Content-length: 741 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71014 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2016-05-09 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- WORKSFORME on x86_64-apple-darwin15 from 4.9.3 up to trunk (7.0). With 4.8.= 5 I get pr71014.f90:19:0: internal compiler error: in omp_add_variable, at gimplify.c:5896 associate (jassoc =3D> j) Could you please post the result of 'gfortran -v'? >>From gcc-bugs-return-524602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 14:55:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105890 invoked by alias); 9 May 2016 14:55:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95728 invoked by uid 48); 9 May 2016 14:55:05 -0000 From: "fritzoreese at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56226] Add support for DEC UNION and MAP extensions Date: Mon, 09 May 2016 14:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: fritzoreese at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00774.txt.bz2 Content-length: 725 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56226 --- Comment #29 from Fritz Reese --- (In reply to Andreas Schwab from comment #25) > FAIL: gfortran.dg/dec_union_4.f90 -O0 execution test > FAIL: gfortran.dg/dec_union_4.f90 -O1 execution test > FAIL: gfortran.dg/dec_union_4.f90 -O2 execution test > FAIL: gfortran.dg/dec_union_4.f90 -O3 -fomit-frame-pointer -funroll-loo= ps > -fpeel-loops -ftracer -finline-functions execution test > FAIL: gfortran.dg/dec_union_4.f90 -O3 -g execution test > FAIL: gfortran.dg/dec_union_4.f90 -Os execution test It was silly of me to disregard endian-ness in this test case. Fixed: https://gcc.gnu.org/ml/fortran/2016-05/msg00018.html >>From gcc-bugs-return-524603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 15:06:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39054 invoked by alias); 9 May 2016 15:06:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38738 invoked by uid 48); 9 May 2016 15:06:17 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/69699] libstdc++ ABI documentation is out of date Date: Mon, 09 May 2016 15:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00775.txt.bz2 Content-length: 144 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69699 --- Comment #6 from Jonathan Wakely --- There is no such macro. >>From gcc-bugs-return-524604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 15:20:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94670 invoked by alias); 9 May 2016 15:20:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94518 invoked by uid 48); 9 May 2016 15:20:47 -0000 From: "ssbssa at yahoo dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/70955] [6/7 Regression] Wrong code generation for __builtin_ms_va_list with -flto Date: Mon, 09 May 2016 15:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: lto, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ssbssa at yahoo dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00776.txt.bz2 Content-length: 499 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70955 Domani Hannes changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ssbssa at yahoo dot de --- Comment #9 from Domani Hannes --- I've the same behavior on windows as well, even if I remove the ms_abi attribute (probably because it's always ms_abi anyway?). >>From gcc-bugs-return-524605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 15:31:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18244 invoked by alias); 9 May 2016 15:31:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17957 invoked by uid 48); 9 May 2016 15:31:03 -0000 From: "klindsay at ucar dot edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices Date: Mon, 09 May 2016 15:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: klindsay at ucar dot edu X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00777.txt.bz2 Content-length: 243 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71014 --- Comment #2 from Keith Lindsay --- Created attachment 38454 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38454&action=3Dedit output from gfortran -v >>From gcc-bugs-return-524606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 15:31:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19552 invoked by alias); 9 May 2016 15:31:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19076 invoked by uid 48); 9 May 2016 15:31:30 -0000 From: "klindsay at ucar dot edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices Date: Mon, 09 May 2016 15:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: klindsay at ucar dot edu X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00778.txt.bz2 Content-length: 243 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71014 --- Comment #3 from Keith Lindsay --- Created attachment 38455 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38455&action=3Dedit output from gfortran -v >>From gcc-bugs-return-524607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 15:32:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62299 invoked by alias); 9 May 2016 15:32:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44162 invoked by uid 48); 9 May 2016 15:32:27 -0000 From: "klindsay at ucar dot edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices Date: Mon, 09 May 2016 15:32: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: 6.1.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: klindsay at ucar dot edu 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00779.txt.bz2 Content-length: 310 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71014 --- Comment #4 from Keith Lindsay --- Thanks for taking a look. I've attached the output from the command gfortran -v -fopenmp openmp_nested_loops.f90 -o openmp_nested_loops on two different systems where I'm seeing the problem. >>From gcc-bugs-return-524608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 15:54:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54320 invoked by alias); 9 May 2016 15:54:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54229 invoked by uid 48); 9 May 2016 15:54:01 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70894] ICE when using neon intrinsic with mabi=apcs-gnu Date: Mon, 09 May 2016 15:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00780.txt.bz2 Content-length: 768 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70894 Richard Earnshaw changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-09 Ever confirmed|0 |1 Known to fail| |7.0 --- Comment #1 from Richard Earnshaw --- Confirmed on trunk. Note that I don't expect that we ever intended to make ACLE extensions work with the old ABI (-mabi=3Dapcs-gnu). Nevertheless, we shouldn't ICE. >>From gcc-bugs-return-524609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 16:08:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99646 invoked by alias); 9 May 2016 16:08:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99482 invoked by uid 48); 9 May 2016 16:08:16 -0000 From: "wdijkstr at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71026] New: Missing division optimizations Date: Mon, 09 May 2016 16:08: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: wdijkstr at arm 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00781.txt.bz2 Content-length: 1325 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71026 Bug ID: 71026 Summary: Missing division optimizations Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: wdijkstr at arm dot com Target Milestone: --- With -Ofast GCC doesn't reassociate constant multiplies or negates away from divisors to allow for more reciprocal division optimizations. It is also possible to avoid divisions (or multiplies) involving immediates in compari= sons that check for a positive/negative result. float f1(float x, float y) { return x / (y * y); } // -> x * (1/y) * (1/= y) float f2(float x, float y) { return x / (y * 3.0f); } // -> (x/3) / y float f3(float x, float y) { return x / -y; } // -> (-x) / y int f4(float x) { return (1.0f / x) < 0.0f; } // -> x < 0.0f int f5(float x) { return (x / 2.0f) <=3D 0.0f; } // -> x <=3D 0.0f A quick experiment shows the first transformation could remove almost 100 divisions from SPEC2006, the 2nd 50. The first transformation is only usefu= l if there is at least one other division by y, so likely best done in the divis= ion reciprocal optimization phase. >>From gcc-bugs-return-524610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 16:11:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110104 invoked by alias); 9 May 2016 16:11:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109798 invoked by uid 48); 9 May 2016 16:10:50 -0000 From: "jiwang at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70904] ICE: Max. number of generated reload insns per insn is achieved (90) with -fno-split-wide-types @ aarch64 Date: Mon, 09 May 2016 16:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jiwang at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jiwang at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00782.txt.bz2 Content-length: 3135 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70904 Jiong Wang changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vmakarov at redhat dot com --- Comment #2 from Jiong Wang --- (In reply to Zdenek Sojka from comment #0) > Created attachment 38393 [details] > reduced testcase >=20 > Compiler output: > $ aarch64-unknown-linux-gnu-gcc -O -fno-split-wide-types testcase.c=20 > testcase.c: In function 'foo': > testcase.c:8:1: internal compiler error: Max. number of generated reload > insns per insn is achieved (90) >=20 > } > ^ > 0x9dafa9 lra_constraints(bool) > /repo/gcc-trunk/gcc/lra-constraints.c:4440 > 0x9c63dc lra(_IO_FILE*) > /repo/gcc-trunk/gcc/lra.c:2290 > 0x96de19 do_reload > /repo/gcc-trunk/gcc/ira.c:5425 > 0x96de19 execute > /repo/gcc-trunk/gcc/ira.c:5609 =46rom rtl dump, reload is trying to insert the following reload insn r93:OI =3D r80:OI r93 is with general register class and r80 is with vector register class. r93 was created to meet the constraint inside insn 17, and was to replace the vector register r80 inside the subreg, as vector register can't be used as index register. (insn 17 11 20 2 (set (mem:SI (plus:DI (sign_extract:DI (mult:DI (subreg:DI (reg:OI 80 [ D.2754 ]) 0) (const_int 4 [0x4]))=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 (const_int 34 [0x22])=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 (const_int 0 [0])) (reg/f:DI 83)) [1 *_9+0 S4 A32]) (const_int 0 [0])) bug-1.c:7 49 {*movsi_aarch64} reload here is trying to reload the inner register r80 instead of the whole subreg, thus creating a new "OImode (vector register)" to "OImode (general register" move which can't be supported in hardware and caused further endless reload. For mode with size bigger than word_mode, there won't be "mov" between two registers with different classes, but there normally will be "mov" which transfers element of vector register into the general register, and this normally will be a subreg. So I think we should teach reload about this to reload the whole subreg if above conditions met. Comments? (CCed RA maintainer Vlad) diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c index 14d5f1d..0ca7a7d 100644 --- a/gcc/lra-constraints.c +++ b/gcc/lra-constraints.c @@ -1307,7 +1307,15 @@ process_addr_reg (rtx *loc, bool check_only_p, rtx_i= nsn **before, rtx_insn **aft subreg_p =3D GET_CODE (*loc) =3D=3D SUBREG; if (subreg_p) - loc =3D &SUBREG_REG (*loc); + { + reg =3D SUBREG_REG (*loc); + mode =3D GET_MODE (reg); + + if (in_class_p (reg, cl, &new_class) + || GET_MODE_SIZE (mode) <=3D GET_MODE_SIZE (word_mode)) + loc =3D &SUBREG_REG (*loc); + } + reg =3D *loc; mode =3D GET_MODE (reg); if (! REG_P (reg)) >>From gcc-bugs-return-524611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 16:53:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4464 invoked by alias); 9 May 2016 16:53:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4309 invoked by uid 48); 9 May 2016 16:52:56 -0000 From: "zenith432 at users dot sourceforge.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/70955] [6/7 Regression] Wrong code generation for __builtin_ms_va_list with -flto Date: Mon, 09 May 2016 16:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: lto, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zenith432 at users dot sourceforge.net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00783.txt.bz2 Content-length: 723 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70955 --- Comment #10 from zenith432 at users dot sourceforge.net --- (In reply to vries from comment #8) > Created attachment 38453 [details] > tentative patch vries, thank you very much. I verified and looks good. Built GCC 6.1.0 with patch from released sources on ftp.gnu.org. [moved the patch to the right place of course] Built a fairly large UEFI-based project with a good number of ms_va_list.=20 Checked the disassembly manually for 1 instance. Code is right + tested it= to run ok in various scenarios I know to use __builtin_va_arg. Bug can be changed to resolved as far as I'm concerned. Not sure whether it has to wait for commit, so leaving it to TPTB. >>From gcc-bugs-return-524612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 17:11:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82786 invoked by alias); 9 May 2016 17:11:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82684 invoked by uid 48); 9 May 2016 17:11:02 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71010] error: 'begin' was not declared in this scope Date: Mon, 09 May 2016 17:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00784.txt.bz2 Content-length: 865 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71010 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #2 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- (In reply to Jonathan Wakely from comment #1) Furthermore, your code has undefined behaviour, it is forbidden to add your > own functions to namespace std. The correct way to do it is to write the > begin/end overloads in the same namespace as your type (in this case that= 's > the global namespace). I actually did not know that. Would it be possible to warn about this? I gu= ess libstdc++ files are system-headers and can avoid the warning. >>From gcc-bugs-return-524613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 18:06:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112460 invoked by alias); 9 May 2016 18:06:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112261 invoked by uid 48); 9 May 2016 18:05:49 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71027] New: -fsanitize=address catches out of bounds access on assumed size array only with -O0 Date: Mon, 09 May 2016 18: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00785.txt.bz2 Content-length: 796 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71027 Bug ID: 71027 Summary: -fsanitize=3Daddress catches out of bounds access on assumed size array only with -O0 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- ! -fsanitize=3Daddress -O0 catches out of bounds access on assumed size arr= ay ! any other optimization level, even -Og, inhibits catching dimension v(10) call sub(v) contains subroutine sub(vv) dimension vv(*) x=3Dvv(20) ! out of bounds access end subroutine end >>From gcc-bugs-return-524614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 18:07:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122335 invoked by alias); 9 May 2016 18:07:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122220 invoked by uid 48); 9 May 2016 18:07:27 -0000 From: "ssbssa at yahoo dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/70955] [6/7 Regression] Wrong code generation for __builtin_ms_va_list with -flto Date: Mon, 09 May 2016 18:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: lto, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ssbssa at yahoo dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00786.txt.bz2 Content-length: 175 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70955 --- Comment #11 from Domani Hannes --- I can confirm that this patch works for windows as well. >>From gcc-bugs-return-524615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 18:09:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129545 invoked by alias); 9 May 2016 18:09:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128651 invoked by uid 48); 9 May 2016 18:08:52 -0000 From: "vp at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71028] New: [7 regression] ICE in redirect_jump, at jump.c:1560 Date: Mon, 09 May 2016 18:09: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: vp 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00787.txt.bz2 Content-length: 969 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71028 Bug ID: 71028 Summary: [7 regression] ICE in redirect_jump, at jump.c:1560 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: vp at gcc dot gnu.org Target Milestone: --- gcc.c-torture/compile/pr37483.c and gcc.dg/20010822-1.c FAILs on arm-none-eabi with: ...: internal compiler error: in redirect_jump, at jump.c:1560 } ^ 0x98314d redirect_jump(rtx_jump_insn*, rtx_def*, int) ../../gcc/gcc/jump.c:1560 0x10b8276 try_optimize_cfg ../../gcc/gcc/cfgcleanup.c:2900 0x10b8276 cleanup_cfg(int) ../../gcc/gcc/cfgcleanup.c:3150 0x10b9646 execute ../../gcc/gcc/cfgcleanup.c:3279 The following commit seem to cause it: https://gcc.gnu.org/viewcvs?rev=3D235904&root=3Dgcc&view=3Drev >>From gcc-bugs-return-524616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 18:15:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20651 invoked by alias); 9 May 2016 18:15:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20462 invoked by uid 48); 9 May 2016 18:15:46 -0000 From: "anlauf at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices Date: Mon, 09 May 2016 18:15: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: 6.1.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gmx dot de X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00788.txt.bz2 Content-length: 849 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71014 Harald Anlauf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gmx dot de --- Comment #5 from Harald Anlauf --- (In reply to Keith Lindsay from comment #4) > Thanks for taking a look. I've attached the output from the command > gfortran -v -fopenmp openmp_nested_loops.f90 -o openmp_nested_loops > on two different systems where I'm seeing the problem. Do you still see the problem when you replace the line !$OMP PARALLEL DO by !$OMP PARALLEL DO private(i,j) shared(s) default(none) ? What you see might be a race condition, since you did not declare the inner loop variable i as private. >>From gcc-bugs-return-524617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 18:31:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54835 invoked by alias); 9 May 2016 18:31:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54354 invoked by uid 48); 9 May 2016 18:31:35 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71025] std::call_once aborts instead of propagating an exception (AIX 6.1) Date: Mon, 09 May 2016 18:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00789.txt.bz2 Content-length: 505 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71025 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Jonathan Wakely --- Yes this is PR 66146 *** This bug has been marked as a duplicate of bug 66146 *** >>From gcc-bugs-return-524618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 18:31:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54853 invoked by alias); 9 May 2016 18:31:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54419 invoked by uid 48); 9 May 2016 18:31:36 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/66146] call_once not C++11-compliant on ppc64le Date: Mon, 09 May 2016 18:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00790.txt.bz2 Content-length: 183 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66146 --- Comment #18 from Jonathan Wakely --- *** Bug 71025 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-524619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 18:33:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62873 invoked by alias); 9 May 2016 18:33:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57408 invoked by uid 48); 9 May 2016 18:32:57 -0000 From: "alisdairm at me dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71029] New: large fold expressions compile slowly with -Wall Date: Mon, 09 May 2016 18: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alisdairm at me dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00791.txt.bz2 Content-length: 1788 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71029 Bug ID: 71029 Summary: large fold expressions compile slowly with -Wall Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alisdairm at me dot com Target Milestone: --- Created attachment 38456 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38456&action=3Dedit file is very slow compiled with Wall The attached file uses a simple fold expression over a comma operator to consume 'get' on each element of a std::array, so essentially 2047 comma operators separating empty 'sink' function calls. On my current machine, with just with just g++ -std=3Dc++1z file.cpp, this = takes around 2.5 seconds to compile. With g++ -std=3Dc++1z -Wall file.cpp it tak= es 25 seconds, and still reports no warnings. The generated code is also quite large, regardless of warning setting, generating an executable of around 650k. This is less than 5k when compiled -O3. Running the same scenario through Clang, the unoptimized code produced s 90k executable, and consistently gives a 1.5 second compile time, regardless of warning level. I suspect that Clang is getting in an early optimization around the do-noth= ing function to eliminate a lot of code prior to running warning passes, but th= at is entirely speculation as I have no idea how either compiler is implemente= d ;) For the curious, compiling with the latest gcc 7 branch available through MacPorts, this takes around 60% longer again although I am not sure if that compiler is built with the same optimization settings as the released gcc 6= .1 compiler. >>From gcc-bugs-return-524620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 18:33:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88340 invoked by alias); 9 May 2016 18:33:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76825 invoked by uid 48); 9 May 2016 18:33:19 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71027] -fsanitize=address catches out of bounds access on assumed size array only with -O0 Date: Mon, 09 May 2016 18:33: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: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00792.txt.bz2 Content-length: 1289 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71027 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2016-05-09 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- IMO your expectation is invalid: [Book15] f90/bug% gfc pr71027.f90 -Og -fdump-tree-optimized [Book15] f90/bug% cat pr71027.f90.211t.optimized=20 ;; Function main (main, funcdef_no=3D2, decl_uid=3D3429, cgraph_uid=3D2, symbol_order=3D2) (executed once) __attribute__((externally_visible)) main (integer(kind=3D4) argc, character(kind=3D1) * * argv) { static integer(kind=3D4) options.0[9] =3D {68, 1023, 0, 0, 1, 1, 0, 0, 31= }; : _gfortran_set_args (argc_2(D), argv_3(D)); _gfortran_set_options (9, &options.0[0]); return 0; } i.e., the subroutine sub is optimized away. If you do something such as subroutine sub(vv) dimension vv(*) x=3Dvv(20) ! out of bounds access vv(1)=3Dx end subroutine then -fsanitize=3Daddress catches the invalid address. >>From gcc-bugs-return-524621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 18:40:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82035 invoked by alias); 9 May 2016 18:40:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81400 invoked by uid 48); 9 May 2016 18:39:55 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71028] [7 regression] ICE in redirect_jump, at jump.c:1560 Date: Mon, 09 May 2016 18:40: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00793.txt.bz2 Content-length: 629 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71028 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-09 Assignee|unassigned at gcc dot gnu.org |segher at gcc dot g= nu.org Ever confirmed|0 |1 --- Comment #1 from Segher Boessenkool --- Confirmed (with arm-linux-gnueabi, -O2 to reproduce). Mine. >>From gcc-bugs-return-524622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 18:49:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10432 invoked by alias); 9 May 2016 18:49:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10193 invoked by uid 48); 9 May 2016 18:49:25 -0000 From: "formateu at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/71030] New: Strange segmentation fault Date: Mon, 09 May 2016 18: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: formateu at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00794.txt.bz2 Content-length: 2440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71030 Bug ID: 71030 Summary: Strange segmentation fault Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: formateu at gmail dot com Target Milestone: --- Created attachment 38457 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38457&action=3Dedit preprocessed file Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc-multilib/src/gcc/configure --prefix=3D/usr --libdir=3D/usr/lib --libexecdir=3D/usr/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-bugurl=3Dhttps://bugs.archlinux.org/ --enable-languages=3Dc,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=3Dposix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=3Dgnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=3Dgnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=3Drelease Thread model: posix gcc version 6.1.1 20160501 (GCC)=20 Used makefile=20 CC=3Dgcc CFLAGS=3D -Wall -m32=20=20=20=20=20=20=20=20=20 all: main.o f.o $(CC) $(CFLAGS) main.o f.o -o fun main.o: main.c=20=20=20=20=20=20=20=20=20=20=20=20=20 $(CC) $(CFLAGS) -c main.c -o main.o f.o: f.s=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 nasm -f elf -g f.s -o f.o make && ./fun 2 2 Program runs intel x86 assembly function in main. Use of the EBX register inside that function causes segmentation fault (after return from function). It seems like gcc is using EBX instead of EBP before function call. Program compiled using clang works properly. Bug was noticed firstly on gcc 5.3.0 version, but is still present on latest repository version. main.c file :=20 #include "f.h" // only void f(int); + guardian int main() { int var =3D 4; f(var); return 0; } f.s file : section .text global f f: push ebp mov ebp, esp mov eax, [ebp+8] mov ebx, 0 begin: mov cl, [eax] mov ebx, 0 add cl, 1 mov [eax], cl mov esp, ebp pop ebp ret >>From gcc-bugs-return-524623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 18:52:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32606 invoked by alias); 9 May 2016 18:52:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32384 invoked by uid 48); 9 May 2016 18:52:22 -0000 From: "rs2740 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70796] [DR 1030] Initialization order with braced-init-lists still broken Date: Mon, 09 May 2016 18: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rs2740 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00795.txt.bz2 Content-length: 490 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70796 --- Comment #2 from TC --- It occurred to me that one issue here is whether initialization of the parameter object (of the constructor) is considered a "value computation [o= r] side effect associated with" an initializer-clause. If not, then the current behavior is correct - the increments are sequenced relative to each other b= ut not to the initialization of the parameter objects (which reads from 'i'). >>From gcc-bugs-return-524624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 19:07:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111085 invoked by alias); 9 May 2016 19:07:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110979 invoked by uid 48); 9 May 2016 19:07:18 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/71030] Strange segmentation fault Date: Mon, 09 May 2016 19:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00796.txt.bz2 Content-length: 559 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71030 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2016-05-09 CC| |hjl.tools at gmail dot com Ever confirmed|0 |1 --- Comment #1 from H.J. Lu --- Please provide f.i. >>From gcc-bugs-return-524625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 19:14:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31012 invoked by alias); 9 May 2016 19:14:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30907 invoked by uid 48); 9 May 2016 19:14:11 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71029] large fold expressions compile slowly with -Wall Date: Mon, 09 May 2016 19:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: compile-time-hog 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 everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00797.txt.bz2 Content-length: 894 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71029 Marc Glisse changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |compile-time-hog Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-09 Ever confirmed|0 |1 --- Comment #1 from Marc Glisse --- Could be my profiling going wrong, but we seem to spend a lot of time in mark_used, with a running time at least quadratic in 2048, so maybe we mark= as used all the previous elements of the comma chain, for each element? Clang does not emit the thousands of get<1234> functions. I am not sure we = want to follow them there, as it would make debugging harder. >>From gcc-bugs-return-524626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 19:15:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32810 invoked by alias); 9 May 2016 19:15:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32553 invoked by uid 55); 9 May 2016 19:14:51 -0000 From: "dave.anglin at bell dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/71013] [7 Regression] c-common.c:12810:37: error: 'LLONG_MAX' was not declared in this scope Date: Mon, 09 May 2016 19:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: dave.anglin at bell dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00798.txt.bz2 Content-length: 1388 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71013 --- Comment #3 from dave.anglin at bell dot net --- On 2016-05-09 7:29 AM, John David Anglin wrote > LLONG_MAX is not defined in hpux11.11. It comes from fixed limits.h: > ./lib/gcc/hppa64-hp-hpux11.11/5.3.1/include-fixed/limits.h:# undef LLONG_= MIN > ./lib/gcc/hppa64-hp-hpux11.11/5.3.1/include-fixed/limits.h:# define LLONG= _MIN (-LLONG_MAX - 1LL) > Should have provided more details: #if defined (__STDC_VERSION__) && __STDC_VERSION__ >=3D 199901L /* Minimum and maximum values a `signed long long int' can hold. */ # undef LLONG_MIN # define LLONG_MIN (-LLONG_MAX - 1LL) # undef LLONG_MAX # define LLONG_MAX __LONG_LONG_MAX__ /* Maximum value an `unsigned long long int' can hold. (Minimum is 0). */ # undef ULLONG_MAX # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL) #endif __STDC_VERSION__ is not defined when c-family/c-common.c is compiled with g++ driver. It is defined when gcc driver is used: else if (CPP_OPTION (pfile, lang) =3D=3D CLK_STDC94) _cpp_define_builtin (pfile, "__STDC_VERSION__ 199409L"); else if (CPP_OPTION (pfile, lang) =3D=3D CLK_STDC11 || CPP_OPTION (pfile, lang) =3D=3D CLK_GNUC11) _cpp_define_builtin (pfile, "__STDC_VERSION__ 201112L"); else if (CPP_OPTION (pfile, c99)) _cpp_define_builtin (pfile, "__STDC_VERSION__ 199901L"); glimits.h has same issue. >>From gcc-bugs-return-524627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 19:16:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35594 invoked by alias); 9 May 2016 19:16:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35424 invoked by uid 48); 9 May 2016 19:16:33 -0000 From: "formateu at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/71030] Strange segmentation fault Date: Mon, 09 May 2016 19:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: formateu 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00799.txt.bz2 Content-length: 256 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71030 --- Comment #2 from Mateusz Forc --- (In reply to H.J. Lu from comment #1) > Please provide f.i. f.i is not generated using -save-temps, how am I supposed to get this file? >>From gcc-bugs-return-524628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 19:18:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37914 invoked by alias); 9 May 2016 19:18:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37801 invoked by uid 48); 9 May 2016 19:18:14 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71031] New: [7 Regression] ICE in extract_range_from_binary_expr_1, at tree-vrp.c:2535 w/ -Os Date: Mon, 09 May 2016 19:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00800.txt.bz2 Content-length: 1294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71031 Bug ID: 71031 Summary: [7 Regression] ICE in extract_range_from_binary_expr_1, at tree-vrp.c:2535 w/ -Os 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: asolokha at gmx dot com Target Milestone: --- gcc-7.0.0-alpha20160508 snapshot ICEs when compiling the following reduced testcase w/ -Os: int zj; int **yr; void nn (void) { unsigned int od =3D 4; for (;;) { int lk; for (lk =3D 0; lk < 2; ++lk) { static int cm; zj =3D 0; if (od =3D=3D 0) return; ++od; for (cm =3D 0; cm < 2; ++cm) { --od; **yr =3D 0; } } } } % gcc-7.0.0-alpha20160508 -c -Os z5y81wfl.c=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 z5y81wfl.c: In function 'nn': z5y81wfl.c:5:1: internal compiler error: in extract_range_from_binary_expr_= 1, at tree-vrp.c:2535 nn (void) ^~ >>From gcc-bugs-return-524629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 19:28:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91001 invoked by alias); 9 May 2016 19:28:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90873 invoked by uid 48); 9 May 2016 19:28:40 -0000 From: "formateu at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/71030] Strange segmentation fault Date: Mon, 09 May 2016 19:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: formateu at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00801.txt.bz2 Content-length: 352 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71030 Mateusz Forc changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID >>From gcc-bugs-return-524630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 19:30:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28834 invoked by alias); 9 May 2016 19:30:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28661 invoked by uid 48); 9 May 2016 19:30:18 -0000 From: "kendrick.killian at colostate dot edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71032] New: explicit interface and must not have attributes generates gfortran: internal compiler error: Abort trap: 6 (program f951) Date: Mon, 09 May 2016 19:30: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kendrick.killian at colostate dot edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00802.txt.bz2 Content-length: 2675 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71032 Bug ID: 71032 Summary: explicit interface and must not have attributes generates gfortran: internal compiler error: Abort trap: 6 (program f951) Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: kendrick.killian at colostate dot edu Target Milestone: --- Created attachment 38458 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38458&action=3Dedit source file that generates f951 Segmentation fault I had a routine that typed a function and declared it as external. I added = the function as an "contains" routine. An obvious over specification. The compi= ler issued the error message, Procedure ... has an explicit interface and must not have attributes declared the following error messages: ----------------------- ----------------------- GCC VERSION: gfortran -v Using built-in specs. COLLECT_GCC=3Dgfortran COLLECT_LTO_WRAPPER=3D/usr/local/gfortran/libexec/gcc/x86_64-apple-darwin14= /5.2.0/lto-wrapper Target: x86_64-apple-darwin14 Configured with: ../gcc-5.2.0/configure --prefix=3D/usr/local/gfortran --with-gmp=3D/Users/fx/devel/gcc/deps-static/x86_64 --enable-languages=3Dc,c++,fortran,objc,obj-c++ --build=3Dx86_64-apple-darw= in14 Thread model: posix gcc version 5.2.0 (GCC)=20 system type: Model Name: MacBook Pro Model Identifier: MacBookPro8,2 Processor Name: Intel Core i7 System Version: OS X 10.11.4 (15E65) Kernel Version: Darwin 15.4.0 Developer Tools: Version: 7.3.1 (7D1014) Location: /Applications/Xcode.app Compile Command: gfortran -O3 -fno-underscoring -Wunused -Waliasing -Wampersand -Wsurprising -Wno-tabs -c internalerr.f90 compiler output: catanf.f:5.28: Included at internalerr.f90:40: real function carctanf(x,a,b,c,d) 1 internalerr.f90:25.39: real agdrat, bgdrat, carctanf 2 Error: Procedure 'carctanf' at (1) has an explicit interface and must not h= ave attributes declared at (2) f951: internal compiler error: Segmentation fault: 11 f951: internal compiler error: Abort trap: 6 gfortran: internal compiler error: Abort trap: 6 (program f951) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Files: Sorry I don't know where preprocessed file (*.i*) is The short attached source file generate the error. >>From gcc-bugs-return-524631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 19:30:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29647 invoked by alias); 9 May 2016 19:30:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29590 invoked by uid 48); 9 May 2016 19:30:50 -0000 From: "klindsay at ucar dot edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices Date: Mon, 09 May 2016 19:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: klindsay at ucar dot edu 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00803.txt.bz2 Content-length: 759 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71014 --- Comment #6 from Keith Lindsay --- Harald, The problem does go away if I add a PRIVATE(i) clause to the OMP directive. However, my understanding of OpenMP in fortran is that all loop iteration variables, even inner nested loops, in an OpenMP PARALLEL DO construct (and some others) are private by default. I.e., they do not need to be declared private in the OMP directive. (I think this specification is different than= the specification for inner loops in C.) Indeed, if I comment out the associate construct, the problem goes away. So= I'm inferring that the associate construct is interfering with the inner loop i= ndex being assigned the private attribute. Keith >>From gcc-bugs-return-524633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 19:41:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74600 invoked by alias); 9 May 2016 19:41:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74486 invoked by uid 48); 9 May 2016 19:41:24 -0000 From: "formateu at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/71033] New: Segmentation fault c + intel assembly, unable to use EBX Date: Mon, 09 May 2016 19:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: formateu at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00805.txt.bz2 Content-length: 2478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71033 Bug ID: 71033 Summary: Segmentation fault c + intel assembly, unable to use EBX Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: formateu at gmail dot com Target Milestone: --- Created attachment 38459 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38459&action=3Dedit the preprocessed file Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc-multilib/src/gcc/configure --prefix=3D/usr --libdir=3D/usr/lib --libexecdir=3D/usr/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-bugurl=3Dhttps://bugs.archlinux.org/ --enable-languages=3Dc,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=3Dposix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=3Dgnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=3Dgnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=3Drelease Thread model: posix gcc version 6.1.1 20160501 (GCC)=20 Program runs intel x86 assembly function in main. Use of the EBX register inside that function causes segmentation fault (after return from function). It seems like gcc is using EBX instead of EBP before function call. Program compiled using clang works properly. Bug was noticed firstly on gcc 5.3.0 version, but is still present on latest repository version. Used makefile: CC=3Dgcc CFLAGS=3D -Wall -m32 -O0 -save-temps all: main.o f.o $(CC) $(CFLAGS) main.o f.o -o fun main.o: main.c $(CC) $(CFLAGS) -c main.c -o main.o command : make && ./fun 2 f.o: f.s nasm -f elf -g f.s -o f.o main.c : #include "f.h" //only void f(char*) int main(int argc, char *argv[]) { if(argc < 2) { return 1; } f(argv[1]); return 0; } f.s : ;f.i is not generated section .text global f f: push ebp mov ebp, esp mov eax, [ebp+8] mov ebx, 9 begin: mov cl, [eax] cmp cl, 0=20 jz end add cl, 1 mov [eax], cl inc eax jmp begin end: mov esp, ebp pop ebp ret >>From gcc-bugs-return-524632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 19:41:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74581 invoked by alias); 9 May 2016 19:41:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74480 invoked by uid 48); 9 May 2016 19:41:24 -0000 From: "klindsay at ucar dot edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices Date: Mon, 09 May 2016 19:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: klindsay at ucar dot edu 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00804.txt.bz2 Content-length: 575 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71014 --- Comment #7 from Keith Lindsay --- The Linux system that I'm working on has multiple versions of gcc/gfortran installed. I've compiled and run my example program with different versions= and have found the following: Versions 4.9.0, 4.9.1, 4.9.2, 4.9.3, 5.0.1, 5.1.0 Program, as is, works (i.e. no reported mismatches over 10 runs) Versions 5.2.0, 5.3.0, 6.0.1, 6.1.0 Program, as is, reports mismatches (and sometimes hangs) So it seems like the behavior I'm seeing originated in 5.2.0. >>From gcc-bugs-return-524634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 20:00:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70834 invoked by alias); 9 May 2016 20:00:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70605 invoked by uid 48); 9 May 2016 20:00:33 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/71033] Segmentation fault c + intel assembly, unable to use EBX Date: Mon, 09 May 2016 20:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00806.txt.bz2 Content-length: 333 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71033 --- Comment #1 from Uro=C5=A1 Bizjak --- x86 ABI requires that %ebx is preserved across function call. So, you need = to save it to stack in f.s and restore it before function returs. Or, you can = use %edx instead, which can be clobbered in function. >>From gcc-bugs-return-524635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 20:04:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79074 invoked by alias); 9 May 2016 20:04:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79017 invoked by uid 55); 9 May 2016 20:04:04 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71027] -fsanitize=address catches out of bounds access on assumed size array only with -O0 Date: Mon, 09 May 2016 20:04: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: zeccav 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00807.txt.bz2 Content-length: 244 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71027 --- Comment #2 from Vittorio Zecca --- Yes, you are right, and probably in real programs the subroutine would not be optimized away. Thank you for the explanation. >>From gcc-bugs-return-524636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 20:06:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83079 invoked by alias); 9 May 2016 20:06:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82743 invoked by uid 48); 9 May 2016 20:06:17 -0000 From: "formateu at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/71033] Segmentation fault c + intel assembly, unable to use EBX Date: Mon, 09 May 2016 20:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: formateu at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00808.txt.bz2 Content-length: 678 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71033 Mateusz Forc changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Mateusz Forc --- (In reply to Uro=C5=A1 Bizjak from comment #1) > x86 ABI requires that %ebx is preserved across function call. So, you need > to save it to stack in f.s and restore it before function returs. Or, you > can use %edx instead, which can be clobbered in function. >>From gcc-bugs-return-524637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 20:24:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 724 invoked by alias); 9 May 2016 20:24:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 542 invoked by uid 55); 9 May 2016 20:24:04 -0000 From: "cesar at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/69363] ICE when doing a pragma simd reduction with max Date: Mon, 09 May 2016 20:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-code, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: cesar at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00809.txt.bz2 Content-length: 2327 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69363 --- Comment #8 from cesar at gcc dot gnu.org --- Author: cesar Date: Mon May 9 20:23:31 2016 New Revision: 236047 URL: https://gcc.gnu.org/viewcvs?rev=3D236047&root=3Dgcc&view=3Drev Log: Backport trunk r235290: 2016-04-20 Ilya Verbin gcc/c-family/ PR c++/69363 * c-cilkplus.c (c_finish_cilk_clauses): Remove function. * c-common.h (c_finish_cilk_clauses): Remove declaration. gcc/c/ PR c++/69363 * c-parser.c (c_parser_cilk_all_clauses): Use c_finish_omp_clauses instead of c_finish_cilk_clauses. * c-tree.h (c_finish_omp_clauses): Add new default argument. * c-typeck.c (c_finish_omp_clauses): Add new argument. Allow floating-point variables in the linear clause for Cilk Plus. gcc/cp/ PR c++/69363 * cp-tree.h (finish_omp_clauses): Add new default argument. * parser.c (cp_parser_cilk_simd_all_clauses): Use finish_omp_clauses instead of c_finish_cilk_clauses. * semantics.c (finish_omp_clauses): Add new argument. Allow floating-point variables in the linear clause for Cilk Plus. gcc/testsuite/ PR c++/69363 * c-c++-common/cilk-plus/PS/clauses3.c: Adjust dg-error string. * c-c++-common/cilk-plus/PS/clauses4.c: New test. * c-c++-common/cilk-plus/PS/pr69363.c: New test. Added: branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/cilk-plus/PS/clause= s4.c branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/cilk-plus/PS/pr6936= 3.c Modified: branches/gomp-4_0-branch/gcc/c-family/ChangeLog.gomp branches/gomp-4_0-branch/gcc/c-family/c-cilkplus.c branches/gomp-4_0-branch/gcc/c-family/c-common.h branches/gomp-4_0-branch/gcc/c/ChangeLog.gomp branches/gomp-4_0-branch/gcc/c/c-parser.c branches/gomp-4_0-branch/gcc/c/c-tree.h branches/gomp-4_0-branch/gcc/c/c-typeck.c branches/gomp-4_0-branch/gcc/cp/ChangeLog.gomp branches/gomp-4_0-branch/gcc/cp/cp-tree.h branches/gomp-4_0-branch/gcc/cp/parser.c branches/gomp-4_0-branch/gcc/cp/semantics.c branches/gomp-4_0-branch/gcc/testsuite/ChangeLog.gomp branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/cilk-plus/PS/clause= s3.c >>From gcc-bugs-return-524638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 20:31:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13899 invoked by alias); 9 May 2016 20:31:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12778 invoked by uid 48); 9 May 2016 20:31:35 -0000 From: "anlauf at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices Date: Mon, 09 May 2016 20:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gmx dot de X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00810.txt.bz2 Content-length: 2311 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71014 --- Comment #8 from Harald Anlauf --- (In reply to Keith Lindsay from comment #6) > Harald, >=20 > The problem does go away if I add a PRIVATE(i) clause to the OMP directiv= e. >=20 > However, my understanding of OpenMP in fortran is that all loop iteration > variables, even inner nested loops, in an OpenMP PARALLEL DO construct (a= nd > some others) are private by default. I.e., they do not need to be declared > private in the OMP directive. (I think this specification is different th= an > the specification for inner loops in C.) The OpenMP 4.5 standard says (2.15.1.1, for Fortran): - The loop iteration variable(s) in the associated do-loop(s) of a do, parallel do, taskloop, or distribute construct is (are) private. [...] - A loop iteration variable for a sequential loop in a parallel or task generating construct is private in the innermost such construct that encloses the loop. [...] Now the question is: what are the "associated do-loop(s)"? And what exactly does the second item above mean? I'm not too versed in reading the standard, and I tend to be on the conservative side here and interpret the ASSOCIATE construct to generate something like a BLOCK that makes things interesting, so that the i loop is to be dealt with separately. (I usually declare all loop variables explicitly.) What do you get when replacing ASSOCIATE by BLOCK/END BLOCK? I'd expect you experience the same problem. > Indeed, if I comment out the associate construct, the problem goes away. = So > I'm inferring that the associate construct is interfering with the inner > loop index being assigned the private attribute. >=20 > Keith I would recommend to always validate OpenMP parallelized code under some suitable tool, like valgrind/helgrind, gcc/thread-sanitizer, or Intel Inspector. Don't rely on just running your code. (I get a possible data race when running your original code under valgrind with gfortran and ifort, and a cross-thread stack access with ifort/Intel Inspector for the line doing the accumulation. However, I also get this for the fixed code.) If you need more insight on what gfortran is doing, add the option "-fdump-tree-original" and compare the resulting intermediate files *.003t.original. >>From gcc-bugs-return-524639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 20:43:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58753 invoked by alias); 9 May 2016 20:43:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58590 invoked by uid 55); 9 May 2016 20:43:21 -0000 From: "cesar at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70626] bogus results in 'acc parallel loop' reductions Date: Mon, 09 May 2016 20:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: cesar at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: cesar at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00811.txt.bz2 Content-length: 3020 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70626 --- Comment #6 from cesar at gcc dot gnu.org --- Author: cesar Date: Mon May 9 20:42:47 2016 New Revision: 236049 URL: https://gcc.gnu.org/viewcvs?rev=3D236049&root=3Dgcc&view=3Drev Log: Backport trunk r235651: 2016-04-29 Cesar Philippidis gcc/c-family/ PR middle-end/70626 * c-common.h (c_oacc_split_loop_clauses): Add boolean argument. * c-omp.c (c_oacc_split_loop_clauses): Use it to duplicate reduction clauses in acc parallel loops. gcc/c/ PR middle-end/70626 * c-parser.c (c_parser_oacc_loop): Don't augment mask with OACC_LOOP_CLAUSE_MASK. (c_parser_oacc_kernels_parallel): Update call to c_oacc_split_loop_clauses. gcc/cp/ PR middle-end/70626 * parser.c (cp_parser_oacc_loop): Don't augment mask with OACC_LOOP_CLAUSE_MASK. (cp_parser_oacc_kernels_parallel): Update call to c_oacc_split_loop_clauses. gcc/fortran/ PR middle-end/70626 * trans-openmp.c (gfc_trans_oacc_combined_directive): Duplicate the reduction clause in both parallel and loop directives. gcc/testsuite/ PR middle-end/70626 * c-c++-common/goacc/combined-reduction.c: New test. * gfortran.dg/goacc/reduction-2.f95: Add check for kernels reductio= ns. libgomp/ PR middle-end/70626 * testsuite/libgomp.oacc-c++/template-reduction.C: Adjust test. * testsuite/libgomp.oacc-c-c++-common/combined-reduction.c: New tes= t. * testsuite/libgomp.oacc-fortran/combined-reduction.f90: New test. Added: =20=20=20 branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/combined-reductio= n.c branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/pr70688.c =20=20=20 branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c-c++-common/combin= ed-reduction.c =20=20=20 branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-fortran/combined-re= duction.f90 Modified: branches/gomp-4_0-branch/gcc/c-family/ChangeLog.gomp branches/gomp-4_0-branch/gcc/c-family/c-common.h branches/gomp-4_0-branch/gcc/c-family/c-omp.c branches/gomp-4_0-branch/gcc/c/ChangeLog.gomp branches/gomp-4_0-branch/gcc/c/c-parser.c branches/gomp-4_0-branch/gcc/cp/ChangeLog.gomp branches/gomp-4_0-branch/gcc/cp/parser.c branches/gomp-4_0-branch/gcc/cp/semantics.c branches/gomp-4_0-branch/gcc/fortran/ChangeLog.gomp branches/gomp-4_0-branch/gcc/fortran/gfortran.h branches/gomp-4_0-branch/gcc/fortran/match.c branches/gomp-4_0-branch/gcc/fortran/trans-openmp.c branches/gomp-4_0-branch/gcc/testsuite/ChangeLog.gomp =20=20=20 branches/gomp-4_0-branch/gcc/testsuite/gfortran.dg/goacc/combined-directive= s.f90 branches/gomp-4_0-branch/gcc/testsuite/gfortran.dg/goacc/reduction-2.f95 =20=20=20 branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c++/template-reduct= ion.C >>From gcc-bugs-return-524640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 20:44:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65681 invoked by alias); 9 May 2016 20:44:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64259 invoked by uid 48); 9 May 2016 20:43:53 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70988] missing buffer overflow detection in chained strcat calls Date: Mon, 09 May 2016 20:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00812.txt.bz2 Content-length: 2233 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70988 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|missing buffer overflow |missing buffer overflow |warning on chained strcat |detection in chained strcat |calls |calls Known to fail| |4.5.3, 4.8.3, 4.9.3, 5.3.0, | |6.1.0 --- Comment #1 from Martin Sebor --- Furthermore, in cases where GCC does optimize multiple chained strcat calls into calls to __builtin_memcpy (which are then expanded into inline assembl= y) as in the test case below, it fails to add the instrumentation necessary to detect the buffer overflow. $ cat xxx.c && /home/msebor/build/gcc-trunk-git/gcc/xgcc -B/home/msebor/build/gcc-trunk-git/gcc -D_FORTIFY_SOURCE=3D2 -O2 -S -Wall -= Wextra -Wpedantic -fdump-tree-optimized=3D/dev/stdout xxx.c && ./a.out=20 #include void __attribute__ ((noclone, noinline)) f (const char *s) { __builtin_printf ("\"%s\"\n", s); } void __attribute__ ((noclone, noinline)) g (void) { char a [4] =3D ""; strcat (a, "abc"); strcat (a, "def"); strcat (a, "ghi"); strcat (a, "jkl"); f (a); } int main () { g (); } ;; Function f (f, funcdef_no=3D24, decl_uid=3D2214, cgraph_uid=3D24, symbol= _order=3D24) __attribute__((noinline, noclone)) f (const char * s) { : __builtin_printf ("\"%s\"\n", s_2(D)); [tail call] return; } ;; Function g (g, funcdef_no=3D25, decl_uid=3D2217, cgraph_uid=3D25, symbol= _order=3D25) __attribute__((noinline, noclone)) g () { char a[4]; : MEM[(char * {ref-all})&a] =3D "abc"; __builtin_memcpy (&MEM[(void *)&a + 3B], "def", 4); __builtin_memcpy (&MEM[(void *)&a + 6B], "ghi", 4); __builtin_memcpy (&MEM[(void *)&a + 9B], "jkl", 4); f (&a); a =3D{v} {CLOBBER}; return; } ;; Function main (main, funcdef_no=3D26, decl_uid=3D2220, cgraph_uid=3D26, symbol_order=3D26) (executed once) main () { : g (); return 0; } "=EF=BF=BD@abcdef" >>From gcc-bugs-return-524641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 21:19:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33836 invoked by alias); 9 May 2016 21:19:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33654 invoked by uid 48); 9 May 2016 21:18:52 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71034] New: abs(f) u>= 0. is always true Date: Mon, 09 May 2016 21:19: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: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00813.txt.bz2 Content-length: 826 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71034 Bug ID: 71034 Summary: abs(f) u>=3D 0. is always true Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: glisse at gcc dot gnu.org Target Milestone: --- A very simple missed optimization, we optimize abs(x)<0 to false (in forwpr= op, haven't found the exact place yet) but not abs(x) u>=3D 0 to true. I notice= d it because cdce now produces this comparison for sqrt, which causes a small regression on a dead sqrt(abs(x)). int f(double x){ x=3D__builtin_fabs(x); // return x<0; return !__builtin_isless(x,0); } >>From gcc-bugs-return-524642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 21:31:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130312 invoked by alias); 9 May 2016 21:31:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130138 invoked by uid 48); 9 May 2016 21:31:12 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71034] abs(f) u>= 0. is always true Date: Mon, 09 May 2016 21:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00814.txt.bz2 Content-length: 475 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71034 --- Comment #1 from Andrew Pinski --- I think this is the optimizations that should be done: abs(x) < 0 -> x !=3D x abs(x) >=3D 0 -> x u=3D=3D x abs(x) =3D=3D 0 -> x =3D=3D 0 abs(x) <=3D 0 -> x =3D=3D 0 (since this is an ordered comparison) abs(x) u< 0 -> false abs(x) u>=3D 0 -> false abs(x) u=3D=3D 0 -> x =3D=3D 0 I Hope I did not mess this up and got the unordered comparisons correct. >>From gcc-bugs-return-524643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 21:41:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18427 invoked by alias); 9 May 2016 21:41:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18281 invoked by uid 48); 9 May 2016 21:41:27 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71034] abs(f) u>= 0. is always true Date: Mon, 09 May 2016 21:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00815.txt.bz2 Content-length: 771 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71034 --- Comment #2 from Marc Glisse --- (In reply to Andrew Pinski from comment #1) > I think this is the optimizations that should be done: > abs(x) < 0 -> x !=3D x for x=3DNaN, abs(x) is NaN, and NaN<0 is false. So the current simplificati= on to false seems correct. > abs(x) >=3D 0 -> x u=3D=3D x x =3D=3D x. I'd like to canonicalize it to x ord x, but that's a different = issue. > abs(x) =3D=3D 0 -> x =3D=3D 0 > abs(x) <=3D 0 -> x =3D=3D 0 (since this is an ordered comparison) ok > abs(x) u< 0 -> false > abs(x) u>=3D 0 -> false u<, u>=3D are true if an argument is NaN... u< can simplify to x unord x, a= nd u>=3D is always true. > abs(x) u=3D=3D 0 -> x =3D=3D 0 x u=3D=3D 0 >>From gcc-bugs-return-524644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 21:49:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41012 invoked by alias); 9 May 2016 21:49:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37762 invoked by uid 55); 9 May 2016 21:49:12 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56226] Add support for DEC UNION and MAP extensions Date: Mon, 09 May 2016 21:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00816.txt.bz2 Content-length: 1077 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56226 --- Comment #30 from Steve Kargl = --- On Mon, May 09, 2016 at 02:55:01PM +0000, fritzoreese at gmail dot com wrot= e: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56226 >=20 > --- Comment #29 from Fritz Reese --- > (In reply to Andreas Schwab from comment #25) > > FAIL: gfortran.dg/dec_union_4.f90 -O0 execution test > > FAIL: gfortran.dg/dec_union_4.f90 -O1 execution test > > FAIL: gfortran.dg/dec_union_4.f90 -O2 execution test > > FAIL: gfortran.dg/dec_union_4.f90 -O3 -fomit-frame-pointer -funroll-l= oops > > -fpeel-loops -ftracer -finline-functions execution test > > FAIL: gfortran.dg/dec_union_4.f90 -O3 -g execution test > > FAIL: gfortran.dg/dec_union_4.f90 -Os execution test >=20 > It was silly of me to disregard endian-ness in this test case. Fixed: >=20 > https://gcc.gnu.org/ml/fortran/2016-05/msg00018.html >=20 Thanks for the patch. I'll take care of this on Saturday, if no one else commits before then. >>From gcc-bugs-return-524645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 22:05:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128375 invoked by alias); 9 May 2016 22:05:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128044 invoked by uid 48); 9 May 2016 22:05:34 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70963] vec_cts/vec_ctf intrinsics produce wrong results for 64-bit floating point Date: Mon, 09 May 2016 22:05: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: 5.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00817.txt.bz2 Content-length: 659 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70963 --- Comment #2 from Bill Schmidt --- The xxswapd's are a bit of a red herring. These are part of the little-end= ian normalization code that are required with the funky lxvd2x and stxvd2x instructions. The problem appears to be the register assignment on the instructions generated for vec_cts and vec_ctf. The use of vs12 on vec_cts= is an obvious problem, since vs12 doesn't contain any value assigned in the function. The code for vec_ctf looks fine. So we need to figure out what happened with the register number on xvcvdpsxds. The problem still exists on trunk. >>From gcc-bugs-return-524646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 22:08:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17924 invoked by alias); 9 May 2016 22:08:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14704 invoked by uid 48); 9 May 2016 22:08:06 -0000 From: "seurer at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70957] testsuite/gcc.target/powerpc/vsx-elemrev-4.c fails on power7 Date: Mon, 09 May 2016 22:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at linux dot vnet.ibm.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: wschmidt at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00818.txt.bz2 Content-length: 932 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70957 --- Comment #9 from Bill Seurer --- Systems where I see it fail: granola yavin3 Systems where I do not: bns All are power7 BE systems. I didn't do anything special on any of the syst= ems. I ran configure like this on all of them: /home/seurer/gcc/gcc-test/configure --prefix=3D/home/seurer/gcc/install/gcc= -test=20 --enable-languages=3Dc,fortran,c++ --disable-multilib --disable-libsanitiz= er --disable-bootstrap Different compiler versions were used to build on all of the systems. seurer@bns:~/gcc/build/gcc-test$ $CC --version gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973] On bns I also tried a bootstrapped gcc 7.0 and the test case still worked there. seurer@yavin3:~/gcc/build/gcc-test$ $CC --version gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16) seurer@granola:~/gcc/build/gcc-test$ $CC --version gcc (GCC) 5.3.0 >>From gcc-bugs-return-524647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 22:12:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44226 invoked by alias); 9 May 2016 22:12:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44009 invoked by uid 48); 9 May 2016 22:11:48 -0000 From: "Judy.Ward at intel dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71035] New: GNU does not give error on declaration of non literal type in template function Date: Mon, 09 May 2016 22:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Judy.Ward at intel dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00819.txt.bz2 Content-length: 966 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71035 Bug ID: 71035 Summary: GNU does not give error on declaration of non literal type in template function Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: Judy.Ward at intel dot com Target Milestone: --- Both EDG and Clang give an error on the code below. GNU only gives an error if call() is not a template function (see -DERROR below) or if call() is used in a way that requires it to be constexpr (i.e.= in a static_assert). I think this should be an error. struct C { C(); // constructor is not declared constexpr }; #ifdef ERROR #else template #endif constexpr void call() { C c; } int main() { #ifdef ERROR call(); #else call(); #endif return 0; } >>From gcc-bugs-return-524648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 22:12:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44245 invoked by alias); 9 May 2016 22:12:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44107 invoked by uid 48); 9 May 2016 22:11:55 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70963] vec_cts/vec_ctf intrinsics produce wrong results for 64-bit floating point Date: Mon, 09 May 2016 22:12: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: 5.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00820.txt.bz2 Content-length: 373 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70963 --- Comment #3 from Bill Schmidt --- Note also that your asm constraints are wrong. You need VSX registers, not Altivec registers, so you should be using the "wa" constraint instead of the "v" constraint. This is why you get some apparently wrong register numbers with your asm results. >>From gcc-bugs-return-524649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 22:48:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42264 invoked by alias); 9 May 2016 22:47:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42136 invoked by uid 48); 9 May 2016 22:47:47 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70963] vec_cts/vec_ctf intrinsics produce wrong results for 64-bit floating point Date: Mon, 09 May 2016 22:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00821.txt.bz2 Content-length: 284 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70963 --- Comment #4 from Bill Schmidt --- OK, there is an obvious bug in the define_expand for vsx_xvcvdpsxds_scale. = If the scale factor is 0, wrong code is always generated. I'll get a patch go= ing. >>From gcc-bugs-return-524650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 22:57:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51241 invoked by alias); 9 May 2016 22:57:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50995 invoked by uid 48); 9 May 2016 22:57:41 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71032] explicit interface and must not have attributes generates gfortran: internal compiler error: Abort trap: 6 (program f951) Date: Mon, 09 May 2016 22:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00822.txt.bz2 Content-length: 873 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71032 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2016-05-09 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- There is no ICE (only normal errors) when compiling the tests with gfortran 6.1.0 and trunk (7.0). The ICE has been fixed between revisions r223447 (2015-05-20, ICE) and r223= 694 (2015-05-26, errors), likely r223614 (last patch for pr44054). AFAICT there= is no plan to back port the fix to the gcc-5 branch. Unless someone objects, I= 'll close this PR as fixed in the coming days. >>From gcc-bugs-return-524651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 23:01:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60459 invoked by alias); 9 May 2016 23:01:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60306 invoked by uid 48); 9 May 2016 23:01:24 -0000 From: "klindsay at ucar dot edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71014] associate statement inside omp parallel do appears to disable default private attribute for inner loop indices Date: Mon, 09 May 2016 23:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: klindsay at ucar dot edu 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00823.txt.bz2 Content-length: 1437 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71014 --- Comment #9 from Keith Lindsay --- Harald, Thanks for your tips on validation/sanitizing tools. I am not sufficiently fluent in standard-ese to know what 'associated do-loops(s)" means. It doesn't help that BLOCK and ASSOCIATE appear in other contexts in the OpenMP standard, making it challenging to locate information about them in the standard. If I replace ASSOCIATE with BLOCK/END BLOCK, I do see the same problems. I added -fdump-tree-original to the gfortran invocation and compiled code w= ith and without the BLOCK construct. The generated intermediate files have the difference @@ -6,7 +6,7 @@ static integer(kind=3D4) s_true =3D 5050; s =3D {}; - #pragma omp parallel private(i) + #pragma omp parallel { { #pragma omp for private(j) nowait (There are other differences that appear to simply be renaming of labels, I= 'm ignoring those.) So it does seem that the presence of the BLOCK construct is changing how the compiler assigns attributes to the inner loop index. I did= n't think this was correct, but perhaps I'm misunderstanding how the OpenMP and Fortran standards interact. At this point, I would like to know if the compiler is in the right in doing this. If it is, then I would change my coding practice. If it isn't, then I assume that gfortran developers would want to know about this. Keith >>From gcc-bugs-return-524652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 23:13:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78747 invoked by alias); 9 May 2016 23:13:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78557 invoked by uid 55); 9 May 2016 23:12:54 -0000 From: "amodra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70947] regrename Go breakage on powerpc64 Date: Mon, 09 May 2016 23: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: 7.0 X-Bugzilla-Keywords: patch, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00824.txt.bz2 Content-length: 719 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70947 --- Comment #1 from Alan Modra --- Author: amodra Date: Mon May 9 23:12:20 2016 New Revision: 236052 URL: https://gcc.gnu.org/viewcvs?rev=3D236052&root=3Dgcc&view=3Drev Log: [RS6000] Stop regrename twiddling with split-stack prologue PR target/70947 * config/rs6000/rs6000.c (rs6000_expand_split_stack_prologue): Stop regrename modifying insns saving lr before __morestack call. * config/rs6000/rs6000.md (split_stack_return): Similarly for insns restoring lr after __morestack call. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000.c trunk/gcc/config/rs6000/rs6000.md >>From gcc-bugs-return-524653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 23:27:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123048 invoked by alias); 9 May 2016 23:27:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122895 invoked by uid 48); 9 May 2016 23:27:35 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68945] enable libcilkrts on SPARC Date: Mon, 09 May 2016 23:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00825.txt.bz2 Content-length: 902 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68945 --- Comment #11 from Eric Botcazou --- > * In runtime/config/sparc/os-unix-sysdep.c (__cilkrts_getticks) I needed > different > 32- and 64-bit versions. I tested the result in standalone program whi= ch > just > printed the result. This looks good to me. > * One thing I wonder about is runtime/config/sparc/os-fence.h: when using > __sync_synchronize, gcc emits membar #StoreLoad, while Stefan's patch h= ad > membar #LoadLoad | #LoadStore | #StoreStore | #StoreLoad. It seems = that > all but #StoreLoad are no-ops for TSO SPARC CPUs, but I'd better get th= is > right. __sync_synchronize emits the minimum memory barrier for the memory model, w= hich is TSO on Solaris so only #StoreLoad is needed. The 4 flags are needed for= RMO theoretically, but I'm not sure RMO ever existed in real life. >>From gcc-bugs-return-524654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 23:38:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34972 invoked by alias); 9 May 2016 23:38:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34856 invoked by uid 48); 9 May 2016 23:38:02 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71035] GNU does not give error on declaration of non literal type in template function Date: Mon, 09 May 2016 23:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor 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 cc everconfirmed cf_known_to_fail bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00826.txt.bz2 Content-length: 2214 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71035 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-09 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 Known to fail| |4.9.3, 5.3.0, 6.1.0 Severity|normal |enhancement --- Comment #1 from Martin Sebor --- Hi Judy! I'll take a stab at this -- let me know if I missed something. I agree that similarly to the non-template case, (in the absence of a valid explicit specialization) diagnosing the constexpr function template below would be useful, even though in p5 and p6 of [dcl.constexpr], the standard leaves bo= th cases as a matter of QoI: -6- If the instantiated template specialization of a constexpr function template o member function of a class template would fail to satisfy the requirements for a constexpr function or constexpr constructor, that specialization is still a constexpr function or constexpr constructor, even though a call to such a function cannot appear in a constant expression. I= f no specialization of the template would satisfy the requirements for a constex= pr function or constexpr constructor when considered as a non-template functio= n or constructor, the template is ill-formed; no diagnostic required. (I read the last sentence as referring to implicit specializations of the template definition, not explicit ones with valid definitions.) Thus, I'm inclined to view this bug not as a defect but an enhancement requ= est. Let me know if you disagree. Clang is more strict than GCC here by issuing the optional diagnostic. My copy of EDG (version 4.10) rejects the program because it doesn't fully implement the C++ 14 rules: a) it doesn't recognize void as a literal type,= and b) it doesn't allow statements in constexpr functions. >>From gcc-bugs-return-524655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 09 23:56:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71637 invoked by alias); 9 May 2016 23:56:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71470 invoked by uid 48); 9 May 2016 23:56:34 -0000 From: "danglin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/71013] [7 Regression] c-common.c:12810:37: error: 'LLONG_MAX' was not declared in this scope Date: Mon, 09 May 2016 23:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00827.txt.bz2 Content-length: 322 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71013 --- Comment #4 from John David Anglin --- Created attachment 38460 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38460&action=3Dedit Patch This fixes build failure on hppa64-hpux. Not sure its the right place or even right fix. >>From gcc-bugs-return-524656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 00:00:46 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76549 invoked by alias); 10 May 2016 00:00:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76189 invoked by uid 55); 10 May 2016 00:00:24 -0000 From: "Judy.Ward at intel dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71035] GNU does not give error on declaration of non literal type in template function Date: Tue, 10 May 2016 00:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: enhancement X-Bugzilla-Who: Judy.Ward at intel 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00828.txt.bz2 Content-length: 2932 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71035 --- Comment #2 from Judy Ward --- Yes I have a beta copy of EDG=20 4.11 which has relaxed constexpr and they give an error. Unfortunately some Boost code (I think inadvertently) relies on not giving a diagnostic. Yes I see your point that this is really a QOI issue but GNU does seem inconsistent and EDG will have to emulate that inconsistency. Thanks Judy > On May 9, 2016, at 7:38 PM, msebor at gcc dot gnu.org wrote: >=20 > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71035 >=20 > Martin Sebor changed: >=20 > What |Removed |Added > -------------------------------------------------------------------------= --- > Keywords| |accepts-invalid > Status|UNCONFIRMED |NEW > Last reconfirmed| |2016-05-09 > CC| |msebor at gcc dot gnu.org > Ever confirmed|0 |1 > Known to fail| |4.9.3, 5.3.0, 6.1.0 > Severity|normal |enhancement >=20 > --- Comment #1 from Martin Sebor --- > Hi Judy! >=20 > I'll take a stab at this -- let me know if I missed something. I agree t= hat > similarly to the non-template case, (in the absence of a valid explicit > specialization) diagnosing the constexpr function template below would be > useful, even though in p5 and p6 of [dcl.constexpr], the standard leaves = both > cases as a matter of QoI: >=20 > -6- If the instantiated template specialization of a constexpr function > template o member function of a class template would fail to satisfy the > requirements for a constexpr function or constexpr constructor, that > specialization is still a constexpr function or constexpr constructor, ev= en > though a call to such a function cannot appear in a constant expression. = If no > specialization of the template would satisfy the requirements for a const= expr > function or constexpr constructor when considered as a non-template funct= ion or > constructor, the template is ill-formed; no diagnostic required. >=20 > (I read the last sentence as referring to implicit specializations of the > template definition, not explicit ones with valid definitions.) >=20 > Thus, I'm inclined to view this bug not as a defect but an enhancement re= quest. > Let me know if you disagree. >=20 > Clang is more strict than GCC here by issuing the optional diagnostic. >=20 > My copy of EDG (version 4.10) rejects the program because it doesn't fully > implement the C++ 14 rules: a) it doesn't recognize void as a literal typ= e, and > b) it doesn't allow statements in constexpr functions. >=20 > --=20 > You are receiving this mail because: > You reported the bug. >>From gcc-bugs-return-524657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 01:00:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67262 invoked by alias); 10 May 2016 01:00:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67027 invoked by uid 48); 10 May 2016 01:00:23 -0000 From: "eric at efcs dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71036] New: create_directory(p, ...) reports a failure when 'p' is an existing directory Date: Tue, 10 May 2016 01:00: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eric at efcs dot ca X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00829.txt.bz2 Content-length: 908 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71036 Bug ID: 71036 Summary: create_directory(p, ...) reports a failure when 'p' is an existing directory Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: eric at efcs dot ca Target Milestone: --- The create_directory functions should not report an error when the directory they are trying to create already exists. The create_directory(...) functio= ns seem to report this error. #include #include using namespace std::experimental::filesystem; int main() { path p =3D "/tmp/foo"; assert(!exists(p)); create_directory(p); // create the directory once create_directory(p); // THROWS! } >>From gcc-bugs-return-524658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 01:20:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59029 invoked by alias); 10 May 2016 01:20:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47525 invoked by uid 48); 10 May 2016 01:20:07 -0000 From: "eric at efcs dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71037] New: Exceptions thrown from "filesystem::canonical(...)" should contain both paths. Date: Tue, 10 May 2016 01:20: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eric at efcs dot ca X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00830.txt.bz2 Content-length: 997 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71037 Bug ID: 71037 Summary: Exceptions thrown from "filesystem::canonical(...)" should contain both paths. Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: eric at efcs dot ca Target Milestone: --- The filesystem error thrown from canonical only contains the first path, not the base. Since the base path can be user specified the exception should contain this as well. #include #include using namespace std::experimental::filesystem; int main() { const path p =3D "DNE" const path base =3D "BASE"; try { canonical(p, base); assert(false); } catch (filesystem_error const& err) { assert(err.path1() =3D=3D p); assert(err.path2() =3D=3D base); // FIRES } } >>From gcc-bugs-return-524659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 01:24:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72495 invoked by alias); 10 May 2016 01:24:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72392 invoked by uid 48); 10 May 2016 01:23:49 -0000 From: "eric at efcs dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71038] New: copy_file(...) returns false on successful copy. Date: Tue, 10 May 2016 01:24: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eric at efcs dot ca X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00831.txt.bz2 Content-length: 859 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71038 Bug ID: 71038 Summary: copy_file(...) returns false on successful copy. Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: eric at efcs dot ca Target Milestone: --- The title says it all. copy_file always seems to return false. Example: #include #include #include using namespace std::experimental::filesystem; int main() { std::ofstream out("/tmp/foo.txt"); out << "hello world!\n"; out.close(); const path p =3D "/tmp/foo.txt"; const path to =3D "/tmp/bar.txt"; bool ret =3D copy_file(p, to); assert(ret =3D=3D true); } >>From gcc-bugs-return-524660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 03:13:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50384 invoked by alias); 10 May 2016 03:13:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50226 invoked by uid 48); 10 May 2016 03:13:15 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71039] New: [7 Regression] ICE: verify_ssa failed (error: definition in block 4 does not dominate use in block 5) w/ -O1 and above Date: Tue, 10 May 2016 03:13: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: 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00832.txt.bz2 Content-length: 1215 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71039 Bug ID: 71039 Summary: [7 Regression] ICE: verify_ssa failed (error: definition in block 4 does not dominate use in block 5) w/ -O1 and above 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: asolokha at gmx dot com Target Milestone: --- gcc-7.0.0-alpha20160508 snapshot ICEs when compiling the following reduced snippet at -O1 and above: struct wv { int qi; } qp, *ft; void *pb; void wz (void) { struct wv *vf =3D pb ? (struct wv *)&pb : &qp; *ft =3D *vf; } % x86_64-pc-linux-gnu-gcc-7.0.0-alpha20160508 -c -O1 fo7dullr.c=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 fo7dullr.c: In function 'wz': fo7dullr.c:8:1: error: definition in block 4 does not dominate use in block= 5 wz (void) ^~ for SSA_NAME: ft.2_2 in statement: # .MEM_7 =3D VDEF <.MEM_4(D)> *ft.2_2 =3D MEM[(struct wv *)&pb]; fo7dullr.c:8:1: internal compiler error: verify_ssa failed >>From gcc-bugs-return-524661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 04:06:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41637 invoked by alias); 10 May 2016 04:06:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41157 invoked by uid 48); 10 May 2016 04:05:49 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71040] New: [7 Regression] ICE: verify_gimple failed (error: invalid operand in unary operation; error: incorrect sharing of tree nodes) w/ -O3 Date: Tue, 10 May 2016 04:06: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: 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00833.txt.bz2 Content-length: 1395 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71040 Bug ID: 71040 Summary: [7 Regression] ICE: verify_gimple failed (error: invalid operand in unary operation; error: incorrect sharing of tree nodes) w/ -O3 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: asolokha at gmx dot com Target Milestone: --- gcc-7.0.0-alpha20160508 ICEs when compiling the following reduced snippet w/ -O3: struct { int b8 : 24; } ud, ce; int et; void fo (void); void p4 (int pn) { while (et !=3D 0) { short int *uc =3D (short int *)&ud; if (pn !=3D 0) fo (); *uc =3D ce.b8; ++et; } } % gcc-7.0.0-alpha20160508 -c -O3 apdexura.c apdexura.c: In function 'p4': apdexura.c:11:1: error: invalid operand in unary operation p4 (int pn) ^~ # VUSE <.MEM_8(D)> ce_b8_lsm0.5_6 =3D () MEM[(struct *)&ce]; apdexura.c:11:1: error: invalid operand in unary operation apdexura.c:11:1: error: incorrect sharing of tree nodes MEM[(struct *)&ce] # VUSE <.MEM_8(D)> _23 =3D (short int) MEM[(struct *)&ce]; apdexura.c:11:1: internal compiler error: verify_gimple failed >>From gcc-bugs-return-524662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 06:36:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52976 invoked by alias); 10 May 2016 06:36:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52655 invoked by uid 48); 10 May 2016 06:35:50 -0000 From: "markos at freevec dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70963] vec_cts/vec_ctf intrinsics produce wrong results for 64-bit floating point Date: Tue, 10 May 2016 06:36: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: 5.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: markos at freevec dot 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00834.txt.bz2 Content-length: 220 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70963 --- Comment #5 from Konstantinos Margaritis --- Ack, thanks for the heads up on VSX registers, it does print more reasonable results now. >>From gcc-bugs-return-524663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 07:11:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80191 invoked by alias); 10 May 2016 07:11:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 80033 invoked by uid 55); 10 May 2016 07:11:33 -0000 From: "sh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/70720] moxie-rtems stanza does not include crti/crtn extra_parts Date: Tue, 10 May 2016 07:11: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: 4.9.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sh 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00835.txt.bz2 Content-length: 569 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70720 --- Comment #1 from sh at gcc dot gnu.org --- Author: sh Date: Tue May 10 07:11:00 2016 New Revision: 236064 URL: https://gcc.gnu.org/viewcvs?rev=3D236064&root=3Dgcc&view=3Drev Log: [RTEMS] Fix moxie libgcc support libgcc/ PR libgcc/70720 * config.host (moxie-*-rtems*): Merge this stanza with other moxie targets so the same extra_parts are built. Also have tmake_file add on to its value rather than override. Modified: trunk/libgcc/ChangeLog trunk/libgcc/config.host >>From gcc-bugs-return-524664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 07:13:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124324 invoked by alias); 10 May 2016 07:13:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124138 invoked by uid 48); 10 May 2016 07:13:25 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71039] [7 Regression] ICE: verify_ssa failed (error: definition in block 4 does not dominate use in block 5) w/ -O1 and above Date: Tue, 10 May 2016 07:13: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: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00836.txt.bz2 Content-length: 572 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71039 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-10 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Started with r235208. >>From gcc-bugs-return-524665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 07:14:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125200 invoked by alias); 10 May 2016 07:14:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125020 invoked by uid 48); 10 May 2016 07:13:48 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71039] [7 Regression] ICE: verify_ssa failed (error: definition in block 4 does not dominate use in block 5) w/ -O1 and above Date: Tue, 10 May 2016 07: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00837.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71039 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 >>From gcc-bugs-return-524666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 07:16:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129665 invoked by alias); 10 May 2016 07:16:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129508 invoked by uid 48); 10 May 2016 07:15:49 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71040] [7 Regression] ICE: verify_gimple failed (error: invalid operand in unary operation; error: incorrect sharing of tree nodes) w/ -O3 Date: Tue, 10 May 2016 07: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: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00838.txt.bz2 Content-length: 625 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71040 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-10 CC| |mpolacek at gcc dot gnu.org Target Milestone|--- |7.0 Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Started with r235871. >>From gcc-bugs-return-524667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 07:22:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17445 invoked by alias); 10 May 2016 07:22:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17250 invoked by uid 48); 10 May 2016 07:22:26 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71040] [7 Regression] ICE: verify_gimple failed (error: invalid operand in unary operation; error: incorrect sharing of tree nodes) w/ -O3 Date: Tue, 10 May 2016 07:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00839.txt.bz2 Content-length: 530 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71040 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jakub at gcc dot gnu.org Resolution|--- |FIXED --- Comment #2 from Jakub Jelinek --- r236032 should have fixed this already. >>From gcc-bugs-return-524668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 07:29:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90779 invoked by alias); 10 May 2016 07:29:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90527 invoked by uid 48); 10 May 2016 07:29:03 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71002] [6/7 Regression] -fstrict-aliasing breaks Boost's short string optimization implementation Date: Tue, 10 May 2016 07:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00840.txt.bz2 Content-length: 1614 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71002 --- Comment #9 from Richard Biener --- So optimize_bit_field_compare does make a difference implementation-wise (but not really fixes the undefinedness in the boost code wrt the access of the non-active union-member when reading from is_short). optimize_bit_field_compare turns ((const struct string *) this)->m_repr.s.h.is_short !=3D 0 into (BIT_FIELD_REF <*(const struct string *) this, 8, 0> & 1) !=3D 0 where the former memory access uses alias-set zero because of c-common.c:c_common_get_alias_set handling of union-accesses: /* Permit type-punning when accessing a union, provided the access is directly through the union. For example, this code does not permit taking the address of a union member and then storing through it. Even the type-punning allowed here is a GCC extension, albeit a common and useful one; the C standard says that such accesses have implementation-defined behavior. */ for (u =3D t; TREE_CODE (u) =3D=3D COMPONENT_REF || TREE_CODE (u) =3D=3D ARRAY_REF; u =3D TREE_OPERAND (u, 0)) if (TREE_CODE (u) =3D=3D COMPONENT_REF && TREE_CODE (TREE_TYPE (TREE_OPERAND (u, 0))) =3D=3D UNION_TYPE) return 0; (which is something I am trying to get rid of for quite some time ...) And the latter gets alias-set (that of type 'string') (which I think is the better behavior, even if "miscompiling" this case). Not applying optimize_bit_field_compare also gets us better optimization, removing dead code already at the early GIMPLE level. >>From gcc-bugs-return-524669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 07:43:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4659 invoked by alias); 10 May 2016 07:43:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4091 invoked by uid 48); 10 May 2016 07:43:28 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70988] missing buffer overflow detection in chained strcat calls Date: Tue, 10 May 2016 07:43: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00841.txt.bz2 Content-length: 1883 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70988 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- At least #c1 is indeed a tree-ssa-strlen.c bug. It transforms a =3D ""; __builtin___strcat_chk (&a, "abc", 4); __builtin___strcat_chk (&a, "def", 4); __builtin___strcat_chk (&a, "ghi", 4); __builtin___strcat_chk (&a, "jkl", 4); into: a =3D ""; __builtin___memcpy_chk (&a, "abc", 4, 4); _9 =3D &a + 3; __builtin___memcpy_chk (_9, "def", 4, 4); _10 =3D &a + 6; __builtin___memcpy_chk (_10, "ghi", 4, 4); _11 =3D &a + 9; __builtin___memcpy_chk (_11, "jkl", 4, 4); which is wrong, we need to subtract the current known length of the destina= tion string from the __strcat_chk BOS sizes to get the __memcpy_chk BOS size (and both have to be integers), otherwise we have to punt on the transformation = (BOS can't be variable). So the above would be: a =3D ""; __builtin___memcpy_chk (&a, "abc", 4, 4); _9 =3D &a + 3; __builtin___memcpy_chk (_9, "def", 4, 1); _10 =3D &a + 6; __builtin___memcpy_chk (_10, "ghi", 4, 0); _11 =3D &a + 9; __builtin___memcpy_chk (_11, "jkl", 4, 0); For known variable length of destination string before __strcat_chk, the question is if we shouldn't transform it to memcpy instead with if (var_len= + const_size >=3D strcat_bos) __chk_fail (); but we'd then might run into ove= rflow issues and from the basic design principle that -D_FORTIFY_SOURCE=3D2 should provide only very cheap checks. So maybe use ADD_OVERFLOW too on the addit= ion? The strcat -> memcpy transformation is important on the other side, would be bad if we lost it. >>From gcc-bugs-return-524670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 07:59:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89692 invoked by alias); 10 May 2016 07:59:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89033 invoked by uid 48); 10 May 2016 07:58:51 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71002] [6/7 Regression] -fstrict-aliasing breaks Boost's short string optimization implementation Date: Tue, 10 May 2016 07:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00842.txt.bz2 Content-length: 3640 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71002 --- Comment #10 from Richard Biener --- Hmm, so trying to preserve alias-set zero from the BIT_FIELD_REF folding us= ing a MEM_REF and reference_alias_ptr_type doesn't work as the latter doesn't preserve the langhook effects (duh, that's some interesting thing on its ow= n). Leaves the possibility to not doing the BIT_FIELD_REF producing folding if alias-sets would not agree. The following restores GCC 5 behavior here. Note Boost still is buggy here. Index: gcc/fold-const.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/fold-const.c (revision 236032) +++ gcc/fold-const.c (working copy) @@ -117,8 +117,6 @@ static enum tree_code compcode_to_compar static int operand_equal_for_comparison_p (tree, tree, tree); static int twoval_comparison_p (tree, tree *, tree *, int *); static tree eval_subst (location_t, tree, tree, tree, tree, tree); -static tree make_bit_field_ref (location_t, tree, tree, - HOST_WIDE_INT, HOST_WIDE_INT, int, int); static tree optimize_bit_field_compare (location_t, enum tree_code, tree, tree, tree); static tree decode_field_reference (location_t, tree, HOST_WIDE_INT *, @@ -3859,7 +3857,9 @@ optimize_bit_field_compare (location_t l linner =3D get_inner_reference (lhs, &lbitsize, &lbitpos, &offset, &lmod= e, &lunsignedp, &lreversep, &lvolatilep, false= ); if (linner =3D=3D lhs || lbitsize =3D=3D GET_MODE_BITSIZE (lmode) || lbi= tsize < 0 - || offset !=3D 0 || TREE_CODE (linner) =3D=3D PLACEHOLDER_EXPR || lv= olatilep) + || offset !=3D 0 || TREE_CODE (linner) =3D=3D PLACEHOLDER_EXPR || lv= olatilep + /* Make sure we can preserve alias-sets. */ + || get_alias_set (lhs) !=3D get_alias_set (linner)) return 0; if (const_p) @@ -3874,7 +3874,9 @@ optimize_bit_field_compare (location_t l if (rinner =3D=3D rhs || lbitpos !=3D rbitpos || lbitsize !=3D rbitsi= ze || lunsignedp !=3D runsignedp || lreversep !=3D rreversep || offse= t !=3D 0 - || TREE_CODE (rinner) =3D=3D PLACEHOLDER_EXPR || rvolatilep) + || TREE_CODE (rinner) =3D=3D PLACEHOLDER_EXPR || rvolatilep + /* Make sure we can preserve alias-sets. */ + || get_alias_set (rhs) !=3D get_alias_set (rinner)) return 0; } @@ -5791,7 +5793,10 @@ fold_truth_andor_1 (location_t loc, enum || ll_unsignedp !=3D lr_unsignedp || rl_unsignedp !=3D rr_unsigne= dp /* Make sure the two fields on the right correspond to the left without being swapped. */ - || ll_bitpos - rl_bitpos !=3D lr_bitpos - rr_bitpos) + || ll_bitpos - rl_bitpos !=3D lr_bitpos - rr_bitpos + /* Make sure we can preserve alias-sets. */ + || get_alias_set (ll_arg) !=3D get_alias_set (ll_inner) + || get_alias_set (lr_arg) !=3D get_alias_set (lr_inner)) return 0; first_bit =3D MIN (lr_bitpos, rr_bitpos); @@ -5921,6 +5926,10 @@ fold_truth_andor_1 (location_t loc, enum } } + /* Make sure we can preserve alias-sets. */ + if (get_alias_set (ll_arg) !=3D get_alias_set (ll_inner)) + return NULL_TREE; + /* Construct the expression we will return. First get the component reference we will make. Unless the mask is all ones the width of that field, perform the mask operation. Then compare with the >>From gcc-bugs-return-524671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 08:02:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103448 invoked by alias); 10 May 2016 08:02:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103227 invoked by uid 48); 10 May 2016 08:02:12 -0000 From: "bugs at stellardeath dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70350] [5 Regression] ICE with -fcheck=all and array initialization Date: Tue, 10 May 2016 08:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bugs at stellardeath dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00843.txt.bz2 Content-length: 960 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70350 Lorenz H=C3=BCdepohl changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugs at stellardeath dot o= rg --- Comment #5 from Lorenz H=C3=BCdepohl --- I also stumbled upon this, it seems. I can contribute a somewhat smaller te= st case, maybe this might help you. ! compile with ! gfortran -fcheck=3Dall module m type subtype real, allocatable :: array(:) end type subtype type object type(subtype), allocatable :: array_of_subtypes(:,:,:) end type object contains subroutine allocate_objects(this) class(object), intent(inout) :: this allocate(this%array_of_subtypes(1,2,3)) end subroutine end module m I get an ICE on 5.3.1 20160412, but not on 5.3.0 and neither on 6.1.0 >>From gcc-bugs-return-524672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 08:15:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56839 invoked by alias); 10 May 2016 08:15:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 56526 invoked by uid 48); 10 May 2016 08:14:59 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67483] combine.c sanitizer detects undefined negative left shift Date: Tue, 10 May 2016 08:15: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: 5.2.0 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00844.txt.bz2 Content-length: 329 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67483 --- Comment #2 from Vittorio Zecca --- Yes I confirm it is in trunk: ../../gcc7/gcc/combine.c:7727:40: runtime error: shift exponent -1 is negat= ive combine.c:7727 is "& ((((unsigned HOST_WIDE_INT) 1 << count)) - 1)) =3D=3D = 0" count=3D=3D-1 ? >>From gcc-bugs-return-524674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 08:21:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6739 invoked by alias); 10 May 2016 08:21:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125025 invoked by uid 55); 10 May 2016 08:21:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/28367] accessing via union on a vector does not cause vec_extract to be used Date: Tue, 10 May 2016 08:21: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.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00846.txt.bz2 Content-length: 1277 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D28367 --- Comment #8 from Richard Biener --- Author: rguenth Date: Tue May 10 08:20:43 2016 New Revision: 236066 URL: https://gcc.gnu.org/viewcvs?rev=3D236066&root=3Dgcc&view=3Drev Log: 2016-05-10 Richard Biener PR tree-optimization/70497 PR tree-optimization/28367 * tree-ssa-sccvn.c (vn_nary_build_or_lookup): New function split out from ... (visit_reference_op_load): ... here. (vn_reference_lookup_3): Use it to handle subreg-like accesses with simplified BIT_FIELD_REFs. * tree-ssa-pre.c (eliminate_insert): Handle inserting BIT_FIELD_REF= s. * tree-complex.c (extract_component): Handle BIT_FIELD_REFs correctly. * gcc.dg/torture/20160404-1.c: New testcase. * gcc.dg/tree-ssa/ssa-fre-54.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-55.c: Likewise. Added: trunk/gcc/testsuite/gcc.dg/torture/20160404-1.c trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-54.c trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-55.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-complex.c trunk/gcc/tree-ssa-pre.c trunk/gcc/tree-ssa-sccvn.c >>From gcc-bugs-return-524675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 08:21:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6864 invoked by alias); 10 May 2016 08:21:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1181 invoked by uid 48); 10 May 2016 08:21:26 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/29756] SSE intrinsics hard to use without redundant temporaries appearing Date: Tue, 10 May 2016 08:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.1.2 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00847.txt.bz2 Content-length: 497 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D29756 Bug 29756 depends on bug 28367, which changed state. Bug 28367 Summary: accessing via union on a vector does not cause vec_extra= ct to be used https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D28367 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-524673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 08:21:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6517 invoked by alias); 10 May 2016 08:21:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130707 invoked by uid 48); 10 May 2016 08:21:25 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/28367] accessing via union on a vector does not cause vec_extract to be used Date: Tue, 10 May 2016 08:21: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.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00845.txt.bz2 Content-length: 491 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D28367 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |7.0 --- Comment #9 from Richard Biener --- Fixed on trunk. >>From gcc-bugs-return-524677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 08:21:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11880 invoked by alias); 10 May 2016 08:21:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11080 invoked by uid 48); 10 May 2016 08:21:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70497] Missed CSE of subregs on GIMPLE Date: Tue, 10 May 2016 08:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00849.txt.bz2 Content-length: 491 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70497 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |7.0 --- Comment #4 from Richard Biener --- Fixed on trunk. >>From gcc-bugs-return-524676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 08:21:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6975 invoked by alias); 10 May 2016 08:21:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122774 invoked by uid 55); 10 May 2016 08:21:17 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70497] Missed CSE of subregs on GIMPLE Date: Tue, 10 May 2016 08:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00848.txt.bz2 Content-length: 1277 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70497 --- Comment #3 from Richard Biener --- Author: rguenth Date: Tue May 10 08:20:43 2016 New Revision: 236066 URL: https://gcc.gnu.org/viewcvs?rev=3D236066&root=3Dgcc&view=3Drev Log: 2016-05-10 Richard Biener PR tree-optimization/70497 PR tree-optimization/28367 * tree-ssa-sccvn.c (vn_nary_build_or_lookup): New function split out from ... (visit_reference_op_load): ... here. (vn_reference_lookup_3): Use it to handle subreg-like accesses with simplified BIT_FIELD_REFs. * tree-ssa-pre.c (eliminate_insert): Handle inserting BIT_FIELD_REF= s. * tree-complex.c (extract_component): Handle BIT_FIELD_REFs correctly. * gcc.dg/torture/20160404-1.c: New testcase. * gcc.dg/tree-ssa/ssa-fre-54.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-55.c: Likewise. Added: trunk/gcc/testsuite/gcc.dg/torture/20160404-1.c trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-54.c trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-55.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-complex.c trunk/gcc/tree-ssa-pre.c trunk/gcc/tree-ssa-sccvn.c >>From gcc-bugs-return-524678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 08:34:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2969 invoked by alias); 10 May 2016 08:34:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2687 invoked by uid 48); 10 May 2016 08:34:21 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/29756] SSE intrinsics hard to use without redundant temporaries appearing Date: Tue, 10 May 2016 08:34: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.1.2 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00850.txt.bz2 Content-length: 880 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D29756 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-10 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #6 from Richard Biener --- So what is missing here is avoiding 'v' for _26 =3D BIT_FIELD_REF ; BIT_FIELD_REF =3D _26; v.1_24 =3D v; _25 =3D __builtin_ia32_shufps (v.1_24, v.1_24, 0); v =3D{v} {CLOBBER}; which can be done with a new BIT_FIELD_EXPR like so: v_24 =3D BIT_FIELD_EXPR ; >>From gcc-bugs-return-524679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 08:51:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112544 invoked by alias); 10 May 2016 08:51:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111988 invoked by uid 48); 10 May 2016 08:51:25 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71039] [7 Regression] ICE: verify_ssa failed (error: definition in block 4 does not dominate use in block 5) w/ -O1 and above Date: Tue, 10 May 2016 08: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: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00851.txt.bz2 Content-length: 463 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71039 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org --- Comment #2 from Richard Biener --- Mine then. >>From gcc-bugs-return-524680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 08:54:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121033 invoked by alias); 10 May 2016 08:54:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120612 invoked by uid 48); 10 May 2016 08:54:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71034] abs(f) u>= 0. is always true Date: Tue, 10 May 2016 08: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: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00852.txt.bz2 Content-length: 689 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71034 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-10 Ever confirmed|0 |1 --- Comment #3 from Richard Biener --- abs(x) < 0 is optimized via fold as forwprop still combines comparisons with def stmts using fold ... :/ (I've not got to instrumenting it catching missing cases that need to be moved from fold-const.c to match.pd) >>From gcc-bugs-return-524682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 08:57:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8640 invoked by alias); 10 May 2016 08:57:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8152 invoked by uid 48); 10 May 2016 08:57:20 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/71028] [7 regression] ICE in redirect_jump, at jump.c:1560 Date: Tue, 10 May 2016 08:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00854.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71028 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 >>From gcc-bugs-return-524681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 08:57:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7365 invoked by alias); 10 May 2016 08:57:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6916 invoked by uid 48); 10 May 2016 08:57:00 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71031] [6/7 Regression] ICE in extract_range_from_binary_expr_1, at tree-vrp.c:2535 w/ -Os Date: Tue, 10 May 2016 08:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cf_known_to_work target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00853.txt.bz2 Content-length: 1953 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71031 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-10 Known to work| |5.3.0 Target Milestone|--- |6.2 Summary|[7 Regression] ICE in |[6/7 Regression] ICE in |extract_range_from_binary_e |extract_range_from_binary_e |xpr_1, at tree-vrp.c:2535 |xpr_1, at tree-vrp.c:2535 |w/ -Os |w/ -Os Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. #1 0x00000000011690fc in extract_range_from_binary_expr_1 (vr=3D0x7fffffff= d8b0,=20 code=3DPLUS_EXPR, expr_type=3D,=20 vr0_=3D0x7fffffffd790, vr1_=3D0x7fffffffd7b0) at /space/rguenther/src/svn/trunk3/gcc/tree-vrp.c:2534 2534 gcc_assert ((min_ovf =3D=3D -1 && max_ovf =3D=3D = 0) (gdb) l 2529 { 2530 /* Min underflow or max overflow. The range kind 2531 changes to VR_ANTI_RANGE. */ 2532 bool covers =3D false; 2533 wide_int tem =3D tmin; 2534 gcc_assert ((min_ovf =3D=3D -1 && max_ovf =3D=3D = 0) 2535 || (max_ovf =3D=3D 1 && min_ovf =3D= =3D 0)); 2536 type =3D VR_ANTI_RANGE; 2537 tmin =3D tmax + 1; 2538 if (wi::cmp (tmin, tmax, sgn) < 0) (gdb) p min_ovf $1 =3D 1 (gdb) p max_ovf $2 =3D 0 also ICEs on the GCC 6 branch. >>From gcc-bugs-return-524683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 09:00:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15603 invoked by alias); 10 May 2016 09:00:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15184 invoked by uid 48); 10 May 2016 08:59:51 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71026] Missing division optimizations Date: Tue, 10 May 2016 09:00: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00855.txt.bz2 Content-length: 609 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71026 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-10 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. Note the precision changes for all of them are different than the current transform so careful evaluation needs to be done. >>From gcc-bugs-return-524684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 09:05:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26099 invoked by alias); 10 May 2016 09:05:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25661 invoked by uid 48); 10 May 2016 09:05:29 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71031] [6/7 Regression] ICE in extract_range_from_binary_expr_1, at tree-vrp.c:2535 w/ -Os Date: Tue, 10 May 2016 09:05: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: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00856.txt.bz2 Content-length: 408 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71031 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #2 from Marek Polacek --- Started with r231098. >>From gcc-bugs-return-524685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 09:06:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64361 invoked by alias); 10 May 2016 09:06:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48724 invoked by uid 48); 10 May 2016 09:06:10 -0000 From: "andrew.bennett at imgtec dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71041] New: mIPS: Date: Tue, 10 May 2016 09:06: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andrew.bennett at imgtec 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00857.txt.bz2 Content-length: 392 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71041 Bug ID: 71041 Summary: mIPS: Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: andrew.bennett at imgtec dot com Target Milestone: --- >>From gcc-bugs-return-524686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 09:08:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64290 invoked by alias); 10 May 2016 09:08:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57504 invoked by uid 48); 10 May 2016 09:08:09 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/70955] [6/7 Regression] Wrong code generation for __builtin_ms_va_list with -flto Date: Tue, 10 May 2016 09:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: lto, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00858.txt.bz2 Content-length: 1866 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70955 --- Comment #12 from Richard Biener --- The patch hints at type merging not being performed properly. AFAIR I saw that for some of the eventually late built "global" types in the backend: /* Calling abi specific va_list type nodes. */ static GTY(()) tree sysv_va_list_type_node; static GTY(()) tree ms_va_list_type_node; those are not streamed by-index and thus while cross-TU merging will produce exactly _one_ ms_va_list_type_node the one created by the backend for lto1 is _not_ merged with the one coming from the input TUs. And type "sharing" in the middle-end is broken by the explicit call to build_variant_type_copy in /* Setup the builtin va_list data type and for 64-bit the additional calling convention specific va_list data types. */ static tree ix86_build_builtin_va_list (void) { if (TARGET_64BIT) { /* Initialize ABI specific va_list builtin types. */ tree sysv_va_list, ms_va_list; sysv_va_list =3D ix86_build_builtin_va_list_64 (); sysv_va_list_type_node =3D build_variant_type_copy (sysv_va_list); /* For MS_ABI we use plain pointer to argument area. */ ms_va_list =3D build_pointer_type (char_type_node); ms_va_list_type_node =3D build_variant_type_copy (ms_va_list); return (ix86_abi =3D=3D MS_ABI) ? ms_va_list : sysv_va_list; because just having a char * pointer would otherwise be matching too many "random" pointers? Anyway, dispatching based on the type given the above "non-difference" is not going to work reliably. LTO type merging will have merged the incoming TUs ms_va_list_type_node with char_type_node. I suggest to differentiate the type by attaching an attribute, say, do the equivalent of typedef char *ms_va_list_type_node __attribute__((ms_va_list_type)); or similar. >>From gcc-bugs-return-524687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 09:13:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122802 invoked by alias); 10 May 2016 09:13:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122455 invoked by uid 48); 10 May 2016 09:12:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/71022] GCC prefers register moves over move immediate Date: Tue, 10 May 2016 09:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00859.txt.bz2 Content-length: 690 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71022 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-10 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- IRA might choose to do this as part of life-range splitting/shortening. No= te that reg-reg moves may be cheaper code-size wise (like on CISC archs with non-fixed insn lengths). RTL cost should tell you, of course. >>From gcc-bugs-return-524688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 09:16:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129323 invoked by alias); 10 May 2016 09:16:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129176 invoked by uid 48); 10 May 2016 09:16:11 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71031] [6/7 Regression] ICE in extract_range_from_binary_expr_1, at tree-vrp.c:2535 w/ -Os Date: Tue, 10 May 2016 09: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: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00860.txt.bz2 Content-length: 151 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71031 --- Comment #3 from Marek Polacek --- I'd like to give this a try. >>From gcc-bugs-return-524689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 09:56:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66289 invoked by alias); 10 May 2016 09:56:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66064 invoked by uid 48); 10 May 2016 09:56:38 -0000 From: "chengniansun at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70964] [7 Regression] internal compiler error: in single_succ_edge, at basic-block.h:351 Date: Tue, 10 May 2016 09:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: chengniansun at gmail dot com 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00861.txt.bz2 Content-length: 1365 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70964 Chengnian Sun changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chengniansun at gmail dot = com --- Comment #4 from Chengnian Sun --- (In reply to ktkachov from comment #3) > Another testcase that started ICEing with r235842. >=20 > int a, b; > int > fn1 (int p1) > { > return p1 < 0 ? p1 : a; > } >=20 > void > fn2 () > { > lbl_100: > b =3D 1; > for (; b !=3D 21; b =3D fn1 (b)) > ; > goto lbl_100; > } >=20 > with -Ofast with a different backtrace: > ice.c:9:1: internal compiler error: in combine_blocks, at tree-if-conv.c:= 2219 > fn2 () > ^~~ > 0xb49a15 combine_blocks > $SRC/gcc/tree-if-conv.c:2219 > 0xb4b17b tree_if_conversion > $SRC/gcc/tree-if-conv.c:2741 > 0xb4b17b execute > $SRC/gcc/tree-if-conv.c:2829 > Please submit a full bug report, > with preprocessed source if appropriate. > Please include the complete backtrace with any bug report. > See for instructions. Hi,=20 May I know how did you find this bug-triggering test case? Is it generated = by some program generator or from the torture test suite? Thank you. >>From gcc-bugs-return-524690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 09:58:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75565 invoked by alias); 10 May 2016 09:58:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73812 invoked by uid 48); 10 May 2016 09:57:57 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/71042] New: libtsan requires __pointer_chk_guard@GLIBC_PRIVATE (6) Date: Tue, 10 May 2016 09:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00862.txt.bz2 Content-length: 724 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71042 Bug ID: 71042 Summary: libtsan requires __pointer_chk_guard@GLIBC_PRIVATE (6) Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org Target Milestone: --- Target: aarch64-linux This makes it rpm-uninstallable for SUSE at least as we filter out GLIBC_PRIVATE symbols from glibc provides. >>From gcc-bugs-return-524691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 10:00:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80155 invoked by alias); 10 May 2016 10:00:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79834 invoked by uid 48); 10 May 2016 10:00:27 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70964] [7 Regression] internal compiler error: in single_succ_edge, at basic-block.h:351 Date: Tue, 10 May 2016 10:00: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: ktkachov at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00863.txt.bz2 Content-length: 378 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70964 --- Comment #5 from ktkachov at gcc dot gnu.org --- (In reply to Chengnian Sun from comment #4) >=20 > Hi,=20 >=20 > May I know how did you find this bug-triggering test case? Is it generated > by some program generator or from the torture test suite? >=20 Hi, It was auto-generated using csmith and reduced with creduce. >>From gcc-bugs-return-524692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 10:01:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82175 invoked by alias); 10 May 2016 10:01:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81943 invoked by uid 48); 10 May 2016 10:01:27 -0000 From: "dvyukov at google dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/71042] libtsan requires __pointer_chk_guard@GLIBC_PRIVATE (6) Date: Tue, 10 May 2016 10:01: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dvyukov at google 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00864.txt.bz2 Content-length: 426 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71042 Dmitry Vyukov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dvyukov at google dot com --- Comment #1 from Dmitry Vyukov --- Can we compiler libtsan without stack checks? >>From gcc-bugs-return-524693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 10:11:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25491 invoked by alias); 10 May 2016 10:11:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25323 invoked by uid 48); 10 May 2016 10:11:01 -0000 From: "andrew.bennett at imgtec dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71043] New: MIPS: Don't generate multiple lo_sums to access unaligned symbols or fields in packed structures Date: Tue, 10 May 2016 10: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andrew.bennett at imgtec 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00865.txt.bz2 Content-length: 3774 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71043 Bug ID: 71043 Summary: MIPS: Don't generate multiple lo_sums to access unaligned symbols or fields in packed structures Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: andrew.bennett at imgtec dot com Target Milestone: --- In MIPS (and similarly for other RISC architectures) to load an absolute address of an object requires a two instruction sequence: one instruction to load the high part of the object's address, and one instruction to load the= low part of the object's address. Typically the result from the calculation of= the high part of the address will only be used by one instruction to load the l= ow part of the address. However, when loading or storing double word values, = or accessing fields in a packed structure the the high part of the address can= be used by multiple instructions to load the low parts of an address at differ= ent offsets. Lets show this with an example C program. struct __attribute__((packed)) { short s; unsigned long long l; } h; void foo (void) { h.l =3D 0; } When this is compiled for MIPS it produces the following assembly: lui $2,%hi(h) addiu $4,$2,%lo(h+2) addiu $3,$2,%lo(h+6) swl $0,3($4) swr $0,%lo(h+2)($2) swl $0,3($3) jr $31 swr $0,%lo(h+6)($2) ... .globl h .section .bss,"aw",@nobits .align 2 .type h, @object .size h, 10 h: .space 10 The high part of the address of object h is loaded into register $2, and th= is is then used as part of the low part calculation by two the addiu/swr instructions which each have different offsets. In MIPS the value of a low part calculation is treated as a signed value. It is therefore valid to use= the result of a high part calculation with multiple low part calculations containing different offsets so long as when adding the result of the high = part to the each of the sign extended low parts we get valid addresses.=20 Unfortunately in this testcase we have low part calculations which add an offset of 6 to the address of the h structure which is greater than its alignment. This will cause invalid address to be calculated in certain situations. To explain why lets show how this example will be linked if it is built usi= ng the O32 ABI. Here when the MIPS linker resolves a HI relocation (i.e. %hi(= h)) it finds the next LO relocation (i.e. %lo(h+2)) in the relocation table and using the information from both of these relocations it computes the object= 's address and extracts its high part. Then, when the MIPS linker resolves a = LO relocation it adds the offset to the object's address and then extracts the= low part. Lets assume that object h has an address of 0x80007ffc. When the MIPS link= er resolves the value of the HI relocation for object h, it will also use the value of the LO relocation for object h with an offset of 2. The high part value is therefore: HIGH (0x80007ffc + 2) =3D HIGH (0x80007ffe) =3D 0x8000 Then the MIPS linker resolves the value of LO relocation for object h with = an offset of 2: LO (0x80007ffc + 2) =3D LO (0x80007ffe) =3D 0x7ffe Finally the MIPS linker resolves the value of the LO relocation for object h with an offset of 6: LO (0x80007ffc + 6) =3D LO (0x80008002) =3D 0x8002 In MIPS the value of a LO relocation is treated as a signed value, so when = the program is run the address of h+6 will be 0x7fff8002 when it should be 0x80008002. >>From gcc-bugs-return-524694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 10:15:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23985 invoked by alias); 10 May 2016 10:15:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23746 invoked by uid 48); 10 May 2016 10:15:43 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/71042] libtsan requires __pointer_chk_guard@GLIBC_PRIVATE (6) Date: Tue, 10 May 2016 10:15: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00866.txt.bz2 Content-length: 168 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71042 --- Comment #2 from Richard Biener --- The symbol is provided by ld-linux-aarch64.so >>From gcc-bugs-return-524695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 10:23:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48058 invoked by alias); 10 May 2016 10:23:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47850 invoked by uid 55); 10 May 2016 10:22:50 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70255] change of the order of summation of floating point numbers despite no-associative-math Date: Tue, 10 May 2016 10:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00867.txt.bz2 Content-length: 601 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70255 --- Comment #10 from Marek Polacek --- Author: mpolacek Date: Tue May 10 10:22:16 2016 New Revision: 236071 URL: https://gcc.gnu.org/viewcvs?rev=3D236071&root=3Dgcc&view=3Drev Log: PR c/70255 * c-decl.c (diagnose_mismatched_decls): Warn for optimize attribute on a declaration following the definition. * gcc.dg/attr-opt-1.c: New test. Added: trunk/gcc/testsuite/gcc.dg/attr-opt-1.c Modified: trunk/gcc/c/ChangeLog trunk/gcc/c/c-decl.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 10:26:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73424 invoked by alias); 10 May 2016 10:26:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73046 invoked by uid 48); 10 May 2016 10:26:25 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71041] mIPS: Date: Tue, 10 May 2016 10: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00868.txt.bz2 Content-length: 500 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71041 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |ktkachov at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from ktkachov at gcc dot gnu.org --- I don't think MIPS is a bug ;) >>From gcc-bugs-return-524697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 10:29:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76773 invoked by alias); 10 May 2016 10:29:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76592 invoked by uid 48); 10 May 2016 10:28:47 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70255] change of the order of summation of floating point numbers despite no-associative-math Date: Tue, 10 May 2016 10:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00869.txt.bz2 Content-length: 465 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70255 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #11 from Marek Polacek --- I added the warning, so closing as fixed. >>From gcc-bugs-return-524698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 10:30:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78618 invoked by alias); 10 May 2016 10:30:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78285 invoked by uid 48); 10 May 2016 10:29:55 -0000 From: "wdijkstr at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/71022] GCC prefers register moves over move immediate Date: Tue, 10 May 2016 10:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wdijkstr at arm 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00870.txt.bz2 Content-length: 631 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71022 --- Comment #2 from Wilco --- (In reply to Richard Biener from comment #1) > IRA might choose to do this as part of life-range splitting/shortening. = Note > that reg-reg moves may be cheaper code-size wise (like on CISC archs with > non-fixed insn lengths). RTL cost should tell you, of course. The cases I spotted are typically conflicting liveranges that just happen to share the same initialization value (0 being the most common). This transformation can be done in a generic phase using RTL costs, the moves ev= en have the correct regnotes. >>From gcc-bugs-return-524699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 10:31:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82815 invoked by alias); 10 May 2016 10:31:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82520 invoked by uid 48); 10 May 2016 10:31:45 -0000 From: "maximilien.levesque at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70350] [5 Regression] ICE with -fcheck=all and array initialization Date: Tue, 10 May 2016 10:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: maximilien.levesque at gmail dot com 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: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00871.txt.bz2 Content-length: 974 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70350 max changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maximilien.levesque at gma= il dot c | |om --- Comment #6 from max --- I confirm on 5.3.1 20160413 A very small contribution (In reply to Lorenz H=C3=BCdepohl from comment #5= ) to make the example self-sufficient: ! compile with ! gfortran -fcheck=3Dall program m type subtype real, allocatable :: array(:) end type subtype type object type(subtype), allocatable :: array_of_subtypes(:,:,:) end type object contains subroutine allocate_objects(this) class(object), intent(inout) :: this allocate(this%array_of_subtypes(1,2,3)) end subroutine end program m >>From gcc-bugs-return-524700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 10:40:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11624 invoked by alias); 10 May 2016 10:40:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11391 invoked by uid 48); 10 May 2016 10:39:58 -0000 From: "shatz at dsit dot co.il" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70255] change of the order of summation of floating point numbers despite no-associative-math Date: Tue, 10 May 2016 10:40: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.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: shatz at dsit dot co.il X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00872.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70255 --- Comment #12 from shatz at dsit dot co.il --- (In reply to Marek Polacek from comment #11) > I added the warning, so closing as fixed. Warning is nice, but IMHO it is far more important to document the behavior= in online documentation, including docs for older versions. In fact, if there will be a proper documentation in place, a warning is not= so necessary. >>From gcc-bugs-return-524701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 10:44:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32301 invoked by alias); 10 May 2016 10:44:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31981 invoked by uid 48); 10 May 2016 10:44:42 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70255] change of the order of summation of floating point numbers despite no-associative-math Date: Tue, 10 May 2016 10:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00873.txt.bz2 Content-length: 282 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70255 --- Comment #13 from Marek Polacek --- So what exactly is not documented? And I disagree that a warning isn't necessary just because something is documented -- that applies for almost any warning. >>From gcc-bugs-return-524702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 11:25:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72824 invoked by alias); 10 May 2016 11:25:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72539 invoked by uid 55); 10 May 2016 11:25:38 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71005] recursive_directory_iterator::operator++(int) incorrectly implemented Date: Tue, 10 May 2016 11:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.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: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00874.txt.bz2 Content-length: 1086 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71005 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Tue May 10 11:25:06 2016 New Revision: 236072 URL: https://gcc.gnu.org/viewcvs?rev=3D236072&root=3Dgcc&view=3Drev Log: libstdc++/71005 fix post-increment for filesystem iterators PR libstdc++/71005 * include/experimental/bits/fs_dir.h (__directory_iterator_proxy): New type. (directory_iterator::operator++(int)): Return proxy. (recursive_directory_iterator::operator++(int)): Likewise. * testsuite/experimental/filesystem/iterators/directory_iterator.cc: Test post-increment. * testsuite/experimental/filesystem/iterators/ recursive_directory_iterator.cc: Likewise. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/experimental/bits/fs_dir.h =20=20=20 trunk/libstdc++-v3/testsuite/experimental/filesystem/iterators/directory_it= erator.cc =20=20=20 trunk/libstdc++-v3/testsuite/experimental/filesystem/iterators/recursive_di= rectory_iterator.cc >>From gcc-bugs-return-524703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 11:39:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103159 invoked by alias); 10 May 2016 11:39:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103030 invoked by uid 48); 10 May 2016 11:39:01 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71044] New: Optimize std::filesystem implementation Date: Tue, 10 May 2016 11:39: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: 7.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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00875.txt.bz2 Content-length: 1784 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71044 Bug ID: 71044 Summary: Optimize std::filesystem implementation Product: gcc Version: 7.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: --- Before the code is moved from std::experimental::filesystem to std::filesys= tem (and into the shared library) there are a few improvements that should be m= ade. http://wg21.link/lwg2674 relaxes requirements on path::iterator so that a p= ath is no longer required to embed a container of paths. The components could be stored as string_view objects, and only converted to path objects as needed (generally that means when a path::iterator is dereferenced). Parsing and splitting a path into components could be done lazily, so that = it isn't done for intermediate temporary copies of a path, only the final value that is manipulated. Move semantics might mean this is unnecessary, since performance-sensitive code can usually move values instead of copying them. Directory iterators currently construct a path object on every increment. T= his means that incrementing a directory iterator five times then dereferencing = it constructs five paths which are never used (and each one is eagerly split i= nto components, allocating a container of paths!). Construction of the path cou= ld be postponed so that it's only done on dereference, so that the five increm= ents are cheap. This has thread-safety consequences, as the dereference is a con= st operation and could be performed concurrently, so the lazy construction of = the path needs to be synchronized. >>From gcc-bugs-return-524704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 11:42:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108465 invoked by alias); 10 May 2016 11:42:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108254 invoked by uid 48); 10 May 2016 11:42:43 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71044] Optimize std::filesystem implementation Date: Tue, 10 May 2016 11:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00876.txt.bz2 Content-length: 928 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71044 --- Comment #1 from Jonathan Wakely --- Created attachment 38461 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38461&action=3Dedit Make directory iterators lazy (In reply to Jonathan Wakely from comment #0) > Directory iterators currently construct a path object on every increment. > This means that incrementing a directory iterator five times then > dereferencing it constructs five paths which are never used (and each one= is > eagerly split into components, allocating a container of paths!). > Construction of the path could be postponed so that it's only done on > dereference, so that the five increments are cheap. This has thread-safety > consequences, as the dereference is a const operation and could be perfor= med > concurrently, so the lazy construction of the path needs to be synchroniz= ed. As in the attached patch. >>From gcc-bugs-return-524705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 12:05:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96795 invoked by alias); 10 May 2016 12:05:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96501 invoked by uid 48); 10 May 2016 12:04:57 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70755] [ARM] excessive struct alignment for globals Date: Tue, 10 May 2016 12:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on resolution everconfirmed bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00877.txt.bz2 Content-length: 1078 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70755 Richard Earnshaw changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|RESOLVED |NEW Last reconfirmed| |2016-05-10 Resolution|WONTFIX |--- Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #4 from Richard Earnshaw --- Having given this some thought, there is perhaps a worthwhile enhancement opportunity here. We should probably add some options similar to those use= d in the CHRIS port that allow users to turn off over-alignment. -mstack-align -mno-stack-align -mdata-align -mno-data-align -mconst-align -mno-const-align I would expect the -m-align options to remain the default setting, however. >>From gcc-bugs-return-524706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 12:16:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16383 invoked by alias); 10 May 2016 12:16:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10677 invoked by uid 48); 10 May 2016 12:16:02 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71045] New: [SH] gcc.dg/torture/pr68264.c -O0 and -Os failures Date: Tue, 10 May 2016 12:16: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo 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_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00878.txt.bz2 Content-length: 771 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71045 Bug ID: 71045 Summary: [SH] gcc.dg/torture/pr68264.c -O0 and -Os failures Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: olegendo at gcc dot gnu.org CC: kkojima at gcc dot gnu.org Target Milestone: --- Target: sh*-*-* The gcc.dg/torture/pr68264.c test case has been failing since a while. It started somewhere during GCC 6 ... https://gcc.gnu.org/ml/gcc-testresults/2016-04/msg01595.html Kaz, do you know what's going wrong there? Some silent wrong code related = to fenv maybe? >>From gcc-bugs-return-524707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 12:18:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29938 invoked by alias); 10 May 2016 12:18:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29686 invoked by uid 48); 10 May 2016 12:17:51 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/71046] New: gcov time hog Date: Tue, 10 May 2016 12:18: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00879.txt.bz2 Content-length: 2701 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71046 Bug ID: 71046 Summary: gcov time hog Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- struct A { char a1, a2, a3, a4, a5, a6, a7, a8, a9; char b1, b2, b3, b4, b5, b6, b7, b8, b9; char c1, c2, c3, c4, c5; }; struct A s; int main () { if (__builtin_expect (s.a1 < 0 || s.a1 > 200 || s.a2 < 0 || s.a2 > 200 || s.a3 < 0 || s.a3 > 200 || s.a4 < 0 || s.a4 > 200 || s.a5 < 0 || s.a5 > 200 || s.a6 < 0 || s.a6 > 200 || s.a7 < 0 || s.a7 > 200 || s.a8 < 0 || s.a8 > 200 || s.a9 < 0 || s.a9 > 200 || s.b1 < 0 || s.b1 > 200 || s.b2 < 0 || s.b2 > 200 || s.b3 < 0 || s.b3 > 200 || s.b4 < 0 || s.b4 > 200 || s.b5 < 0 || s.b5 > 200 || s.b6 < 0 || s.b6 > 200 || s.b7 < 0 || s.b7 > 200 || s.b8 < 0 || s.b8 > 200 || s.b9 < 0 || s.b9 > 200 || s.c1 < 0 || s.c1 > 200 || s.c2 < 0 || s.c2 > 200 || s.c3 < 0 || s.c3 > 200 || s.c4 < 0 || s.c4 > 200 || s.c5 < 0 || s.c5 > 200, 0)) __builtin_printf ("hello\n"); return 0; } (reduced from Linux kernel) with gcc -O2 -fprofile-arcs -ftest-coverage test.c ./a.out gcov -b -c -d -a test.gcda gets stuck in accumulate_line_counts until killed. There are no loops in the testcase, all bbs have at most 2 successors, one = bb has 23 predecessors, most others have just one. The comment in accumulate_line_counts says: /* Find the loops. This uses the algorithm described in Tiernan 'An Efficient Search Algorithm to Find the Elementary Circuits of a Graph', CACM Dec 1970. We hold the P array by having each block point to the arc that connects to the previous block. The H array is implicitly held because of the arc ordering, and the block's previous arc pointer. Although the algorithm is O(N^3) for highly connected graphs, at worst we'll have O(N^2), as most blocks have only one or two exits. Most graphs will be small. For each loop we find, locate the arc with the smallest transition count, and add that to the cumulative count. Decrease flow over the cycle and remove the arc from consideration. */ >>From gcc-bugs-return-524708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 12:19:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55561 invoked by alias); 10 May 2016 12:19:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51028 invoked by uid 48); 10 May 2016 12:19:21 -0000 From: "shatz at dsit dot co.il" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70255] change of the order of summation of floating point numbers despite no-associative-math Date: Tue, 10 May 2016 12:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: shatz at dsit dot co.il X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00880.txt.bz2 Content-length: 528 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70255 --- Comment #14 from shatz at dsit dot co.il --- (In reply to Marek Polacek from comment #13) > So what exactly is not documented? >=20 > And I disagree that a warning isn't necessary just because something is > documented -- that applies for almost any warning. It is not documented that __attribute__((optimize(""))) works reliably when= it is present in the source before the function body, but is ignored (always? occasionally?) when it specified after function body. >>From gcc-bugs-return-524709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 12:21:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60253 invoked by alias); 10 May 2016 12:21:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59171 invoked by uid 48); 10 May 2016 12:21:07 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71037] Exceptions thrown from "filesystem::canonical(...)" should contain both paths. Date: Tue, 10 May 2016 12:21: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: 6.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: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00881.txt.bz2 Content-length: 542 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71037 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-10 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu= .org Target Milestone|--- |5.4 Ever confirmed|0 |1 >>From gcc-bugs-return-524710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 12:23:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22350 invoked by alias); 10 May 2016 12:23:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22146 invoked by uid 55); 10 May 2016 12:23:04 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71037] Exceptions thrown from "filesystem::canonical(...)" should contain both paths. Date: Tue, 10 May 2016 12:23: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: 6.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: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00882.txt.bz2 Content-length: 748 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71037 --- Comment #1 from Jonathan Wakely --- Author: redi Date: Tue May 10 12:22:32 2016 New Revision: 236074 URL: https://gcc.gnu.org/viewcvs?rev=3D236074&root=3Dgcc&view=3Drev Log: libstdc++/71037 Add base path to filesystem::canonical exceptions PR libstdc++/71037 * src/filesystem/ops.cc (canonical(const path&, const path&)): Add base path to exception. * testsuite/experimental/filesystem/operations/canonical.cc: Test paths contained in exception. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/src/filesystem/ops.cc =20=20=20 trunk/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc >>From gcc-bugs-return-524711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 12:24:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26161 invoked by alias); 10 May 2016 12:24:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25908 invoked by uid 48); 10 May 2016 12:24:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/67992] GCOV takes an absurdly long time to process a file Date: Tue, 10 May 2016 12:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00884.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67992 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek --- *** Bug 71046 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-524712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 12:24:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26173 invoked by alias); 10 May 2016 12:24:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25847 invoked by uid 48); 10 May 2016 12:24:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/71046] gcov time hog Date: Tue, 10 May 2016 12:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00883.txt.bz2 Content-length: 518 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71046 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Jakub Jelinek --- Oops, sorry, this is already filed. *** This bug has been marked as a duplicate of bug 67992 *** >>From gcc-bugs-return-524714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 12:25:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29312 invoked by alias); 10 May 2016 12:25:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28477 invoked by uid 48); 10 May 2016 12:25:12 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/67992] GCOV takes an absurdly long time to process a file Date: Tue, 10 May 2016 12:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00886.txt.bz2 Content-length: 1228 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67992 --- Comment #5 from Jakub Jelinek --- Shorter testcase: struct A { char a1, a2, a3, a4, a5, a6, a7, a8, a9; char b1, b2, b3, b4, b5, b6, b7, b8, b9; char c1, c2, c3, c4, c5; }; struct A s; int main () { if (__builtin_expect (s.a1 < 0 || s.a1 > 200 || s.a2 < 0 || s.a2 > 200 || s.a3 < 0 || s.a3 > 200 || s.a4 < 0 || s.a4 > 200 || s.a5 < 0 || s.a5 > 200 || s.a6 < 0 || s.a6 > 200 || s.a7 < 0 || s.a7 > 200 || s.a8 < 0 || s.a8 > 200 || s.a9 < 0 || s.a9 > 200 || s.b1 < 0 || s.b1 > 200 || s.b2 < 0 || s.b2 > 200 || s.b3 < 0 || s.b3 > 200 || s.b4 < 0 || s.b4 > 200 || s.b5 < 0 || s.b5 > 200 || s.b6 < 0 || s.b6 > 200 || s.b7 < 0 || s.b7 > 200 || s.b8 < 0 || s.b8 > 200 || s.b9 < 0 || s.b9 > 200 || s.c1 < 0 || s.c1 > 200 || s.c2 < 0 || s.c2 > 200 || s.c3 < 0 || s.c3 > 200 || s.c4 < 0 || s.c4 > 200 || s.c5 < 0 || s.c5 > 200, 0)) __builtin_printf ("hello\n"); return 0; } >>From gcc-bugs-return-524713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 12:25:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28236 invoked by alias); 10 May 2016 12:25:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26892 invoked by uid 48); 10 May 2016 12:24:56 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71036] create_directory(p, ...) reports a failure when 'p' is an existing directory Date: Tue, 10 May 2016 12:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.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: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00885.txt.bz2 Content-length: 542 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71036 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-10 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu= .org Target Milestone|--- |5.4 Ever confirmed|0 |1 >>From gcc-bugs-return-524715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 12:52:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85922 invoked by alias); 10 May 2016 12:52:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85764 invoked by uid 48); 10 May 2016 12:52:35 -0000 From: "kkojima at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71045] [SH] gcc.dg/torture/pr68264.c -O0 and -Os failures Date: Tue, 10 May 2016 12:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kkojima 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00887.txt.bz2 Content-length: 627 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71045 --- Comment #1 from Kazumoto Kojima --- (In reply to Oleg Endo from comment #0) > Kaz, do you know what's going wrong there? Some silent wrong code related > to fenv maybe? Maybe, though I have no idea for what is going on. You can see that those tests fail on several other targets: powerpc-ibm-aix7.1.0.0 https://gcc.gnu.org/ml/gcc-testresults/2016-05/msg00925.html x86_64-unknown-freebsd9.3 https://gcc.gnu.org/ml/gcc-testresults/2016-05/msg00932.html i386-unknown-freebsd10.3 https://gcc.gnu.org/ml/gcc-testresults/2016-05/msg00919.html >>From gcc-bugs-return-524716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 12:56:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96976 invoked by alias); 10 May 2016 12:56:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96760 invoked by uid 55); 10 May 2016 12:55:58 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68945] enable libcilkrts on SPARC Date: Tue, 10 May 2016 12:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00888.txt.bz2 Content-length: 927 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68945 --- Comment #12 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #11 from Eric Botcazou --- [...] >> * One thing I wonder about is runtime/config/sparc/os-fence.h: when using >> __sync_synchronize, gcc emits membar #StoreLoad, while Stefan's patch = had >> membar #LoadLoad | #LoadStore | #StoreStore | #StoreLoad. It seems= that >> all but #StoreLoad are no-ops for TSO SPARC CPUs, but I'd better get t= his >> right. > > __sync_synchronize emits the minimum memory barrier for the memory model,= which > is TSO on Solaris so only #StoreLoad is needed. The 4 flags are needed f= or RMO > theoretically, but I'm not sure RMO ever existed in real life. Ok, so I'll keep the __sync_synchronize and inline asm versions in sync and submit the result upstream. Thanks. Rainer >>From gcc-bugs-return-524717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 12:56:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98823 invoked by alias); 10 May 2016 12:56:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98512 invoked by uid 48); 10 May 2016 12:56:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70986] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in combine_blocks, at tree-if-conv.c:2219 Date: Tue, 10 May 2016 12:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00889.txt.bz2 Content-length: 1240 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70986 --- Comment #4 from Richard Biener --- The following fixes it for me, making sure the loop is rejected early by if-conversion. Index: gcc/cfganal.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/cfganal.c (revision 236066) +++ gcc/cfganal.c (working copy) @@ -26,6 +26,7 @@ along with GCC; see the file COPYING3. #include "cfghooks.h" #include "timevar.h" #include "cfganal.h" +#include "cfgloop.h" /* Store the data structures necessary for depth-first search. */ struct depth_first_search_ds { @@ -602,7 +603,10 @@ connect_infinite_loops_to_exit (void) break; deadend_block =3D dfs_find_deadend (unvisited_block); - make_edge (deadend_block, EXIT_BLOCK_PTR_FOR_FN (cfun), EDGE_FAKE); + edge e =3D make_edge (deadend_block, EXIT_BLOCK_PTR_FOR_FN (cfun), + EDGE_FAKE); + if (current_loops !=3D NULL) + rescan_loop_exit (e, true, false); flow_dfs_compute_reverse_add_bb (&dfs_ds, deadend_block); } >>From gcc-bugs-return-524718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 12:58:16 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109219 invoked by alias); 10 May 2016 12:58:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108980 invoked by uid 48); 10 May 2016 12:58:02 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71045] [SH] gcc.dg/torture/pr68264.c -O0 and -Os failures Date: Tue, 10 May 2016 12:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00890.txt.bz2 Content-length: 802 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71045 --- Comment #2 from Oleg Endo --- (In reply to Kazumoto Kojima from comment #1) > (In reply to Oleg Endo from comment #0) > > Kaz, do you know what's going wrong there? Some silent wrong code rela= ted > > to fenv maybe? >=20 > Maybe, though I have no idea for what is going on. > You can see that those tests fail on several other targets: >=20 > powerpc-ibm-aix7.1.0.0 > https://gcc.gnu.org/ml/gcc-testresults/2016-05/msg00925.html > x86_64-unknown-freebsd9.3 > https://gcc.gnu.org/ml/gcc-testresults/2016-05/msg00932.html > i386-unknown-freebsd10.3 > https://gcc.gnu.org/ml/gcc-testresults/2016-05/msg00919.html Oh, good to know. Thanks for checking. Probably we can close this PR as "invalid" after a while... >>From gcc-bugs-return-524719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 13:05:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125829 invoked by alias); 10 May 2016 13:05:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125613 invoked by uid 55); 10 May 2016 13:04:54 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71036] create_directory(p, ...) reports a failure when 'p' is an existing directory Date: Tue, 10 May 2016 13:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.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: 5.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00891.txt.bz2 Content-length: 707 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71036 --- Comment #1 from Jonathan Wakely --- Author: redi Date: Tue May 10 13:04:21 2016 New Revision: 236076 URL: https://gcc.gnu.org/viewcvs?rev=3D236076&root=3Dgcc&view=3Drev Log: libstdc++/71036 Handle EEXIST in filesystem::create_directory PR libstdc++/71036 * src/filesystem/ops.cc (create_dir): Handle EEXIST from mkdir. * testsuite/experimental/filesystem/operations/create_directory.cc: New test. Added: =20=20=20 trunk/libstdc++-v3/testsuite/experimental/filesystem/operations/create_dire= ctory.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/src/filesystem/ops.cc >>From gcc-bugs-return-524720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 13:14:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64556 invoked by alias); 10 May 2016 13:14:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64273 invoked by uid 55); 10 May 2016 13:14:31 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71039] [7 Regression] ICE: verify_ssa failed (error: definition in block 4 does not dominate use in block 5) w/ -O1 and above Date: Tue, 10 May 2016 13:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00892.txt.bz2 Content-length: 773 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71039 --- Comment #3 from Richard Biener --- Author: rguenth Date: Tue May 10 13:13:59 2016 New Revision: 236079 URL: https://gcc.gnu.org/viewcvs?rev=3D236079&root=3Dgcc&view=3Drev Log: 2016-05-10 Richard Biener PR tree-optimization/71039 * tree-ssa-phiprop.c: Include tree-ssa-loop.h. (chk_uses): New function. (propagate_with_phi): Verify we can safely replicate the lhs of an aggregate assignment on all incoming edges. * gcc.dg/torture/pr71039.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr71039.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-phiprop.c >>From gcc-bugs-return-524721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 13:17:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75522 invoked by alias); 10 May 2016 13:17:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75072 invoked by uid 48); 10 May 2016 13:17:13 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70986] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in combine_blocks, at tree-if-conv.c:2219 Date: Tue, 10 May 2016 13:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00893.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70986 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org >>From gcc-bugs-return-524722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 13:23:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40817 invoked by alias); 10 May 2016 13:23:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40570 invoked by uid 48); 10 May 2016 13:23:36 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71039] [7 Regression] ICE: verify_ssa failed (error: definition in block 4 does not dominate use in block 5) w/ -O1 and above Date: Tue, 10 May 2016 13:23: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: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00894.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71039 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Richard Biener --- Fixed. >>From gcc-bugs-return-524723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 13:26:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67397 invoked by alias); 10 May 2016 13:26:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67111 invoked by uid 48); 10 May 2016 13:26:36 -0000 From: "mrestelli at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71047] New: Allocatable component of INTENT(OUT) dummy not set correctly Date: Tue, 10 May 2016 13:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mrestelli 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00895.txt.bz2 Content-length: 1612 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71047 Bug ID: 71047 Summary: Allocatable component of INTENT(OUT) dummy not set correctly Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: mrestelli at gmail dot com Target Milestone: --- When compiled with gfortran, the attached code, which is correct as far as I can tell, produces an error at runtime: $ ./test At line 20 of file test.f90 Fortran runtime error: Attempting to allocate already allocated variable 'y' $ gfortran --version GNU Fortran (GCC) 7.0.0 20160510 (experimental) Notice that the dummy argument "y" of "set" has intent(out), so that its component "f" can not be allocated regardless of the state of the actual argument. I think that the code was working with an older version of the gfortran trunk (some weeks ago?) - or, at least, the code I derived this example from was working correctly. module m implicit none type, abstract :: c_abstr integer :: i =3D 0 end type c_abstr type, extends(c_abstr) :: t_a class(c_abstr), allocatable :: f end type t_a type, extends(c_abstr) :: t_b end type t_b contains subroutine set(y,x) class(c_abstr), intent(in) :: x type(t_a), intent(out) :: y allocate( y%f , source=3Dx ) end subroutine set end module m program p use m implicit none type(t_a) :: res type(t_b) :: var call set( res , var ) write(*,*) res%i end program p >>From gcc-bugs-return-524724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 13:26:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67699 invoked by alias); 10 May 2016 13:26:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67250 invoked by uid 48); 10 May 2016 13:26:38 -0000 From: "tavianator at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71002] [6/7 Regression] -fstrict-aliasing breaks Boost's short string optimization implementation Date: Tue, 10 May 2016 13:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tavianator at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00896.txt.bz2 Content-length: 205 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71002 --- Comment #11 from Tavian Barnes --- Yeah I reported the Boost bug as https://svn.boost.org/trac/boost/ticket/12= 183. >>From gcc-bugs-return-524725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 13:30:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77176 invoked by alias); 10 May 2016 13:30:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75811 invoked by uid 48); 10 May 2016 13:30:09 -0000 From: "ledvinap+bugzilla at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/71048] New: unexpected/invalid handling of partially aligned volatile Date: Tue, 10 May 2016 13:30: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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ledvinap+bugzilla at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00897.txt.bz2 Content-length: 4724 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71048 Bug ID: 71048 Summary: unexpected/invalid handling of partially aligned volatile Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ledvinap+bugzilla at gmail dot com Target Milestone: --- Created attachment 38462 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38462&action=3Dedit minimal test code When dereferencing volatile pointer that is half-word aligned (and gcc can infer it): - two half-word accesses are used - memory location is read too Test code: #define BTABLE (*(uint32_t*)100) *(volatile uint32_t*)(BTABLE * 2) =3D 101; generated assembly: movs r3, #100 @ tmp114, ldr r3, [r3] @ MEM[(uint32_t *)100B], MEM[(uint32_t *)10= 0B] movs r0, #0 @ tmp117, lsls r3, r3, #1 @ D.4231, MEM[(uint32_t *)100B], ldrh r2, [r3] @, *_4 movs r2, #101 @ tmp119, strh r2, [r3] @ movhi @ tmp119, *_4 ldrh r2, [r3, #2] @, *_4 strh r0, [r3, #2] @ movhi @ tmp117, *_4 - memory is written using strh instruction on architecture that allows non-aligned access. This is not a bug, but is very confusing.=20 - unexpected read instruction (ldrh) is emitted before read - access is read(lower halfword) / write(lower halfword) / read(upper halfw= ord) / write(upper halfword) When dereferencing (BTABLE * 1), (BTABLE * 3), (BTABLE * 4), (BTABLE * 11), ((BTABLE * 2) & ~3) the generated code is reasonable (using single ldr instruction, only reading memory location): *(volatile uint32_t*)(BTABLE) =3D 101; movs r3, #100 @ tmp113, ldr r3, [r3] @ D.4230, MEM[(uint32_t *)100B] movs r2, #101 @ tmp114, str r2, [r3] @ tmp114, *_3 movs r0, #0 @, With (BTABLE * 6), mul instruction is used to get correct address, then rea= d is identical to (BTABLE * 2) case. t1.c: #include #define BTABLE (*(uint32_t*)100) int test(void) { *(volatile uint32_t*)((BTABLE * 2)) =3D 101; return 0; } void _start(void) { test(); } command to compile: arm-none-eabi-gcc -nostartfiles -mthumb -mcpu=3Dcortex-m3 -Os -ffat-lto-obj= ects -fverbose-asm -S t1.c Affected version (from https://launchpad.net/gcc-arm-embedded/5.0/5-2016-q1-update/+download/gcc-a= rm-none-eabi-5_3-2016q1-20160330-linux.tar.bz2): arm-none-eabi-gcc -v=20=20=20=20=20 Using built-in specs. COLLECT_GCC=3Darm-none-eabi-gcc COLLECT_LTO_WRAPPER=3D/home/ledvinap/gcc-arm-none-eabi-5_3-2016q1/bin/../li= b/gcc/arm-none-eabi/5.3.1/lto-wrapper Target: arm-none-eabi Configured with: /home/build/work/GCC-5-0-build/src/gcc/configure --target=3Darm-none-eabi --prefix=3D/home/build/work/GCC-5-0-build/install-= native --libexecdir=3D/home/build/work/GCC-5-0-build/install-native/lib --infodir=3D/home/build/work/GCC-5-0-build/install-native/share/doc/gcc-arm= -none-eabi/info --mandir=3D/home/build/work/GCC-5-0-build/install-native/share/doc/gcc-arm-= none-eabi/man --htmldir=3D/home/build/work/GCC-5-0-build/install-native/share/doc/gcc-arm= -none-eabi/html --pdfdir=3D/home/build/work/GCC-5-0-build/install-native/share/doc/gcc-arm-= none-eabi/pdf --enable-languages=3Dc,c++ --enable-plugins --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadma= th --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-newlib --with-headers=3Dyes --with-python-dir=3Dshare/gcc-arm-none-eabi --with-sysroot=3D/home/build/work/GCC-5-0-build/install-native/arm-none-eabi --build=3Di686-linux-gnu --host=3Di686-linux-gnu --with-gmp=3D/home/build/work/GCC-5-0-build/build-native/host-libs/usr --with-mpfr=3D/home/build/work/GCC-5-0-build/build-native/host-libs/usr --with-mpc=3D/home/build/work/GCC-5-0-build/build-native/host-libs/usr --with-isl=3D/home/build/work/GCC-5-0-build/build-native/host-libs/usr --with-cloog=3D/home/build/work/GCC-5-0-build/build-native/host-libs/usr --with-libelf=3D/home/build/work/GCC-5-0-build/build-native/host-libs/usr --with-host-libstdcxx=3D'-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion=3D'GNU Tools for ARM Embedded Processors' --with-multilib-list=3Darmv6-m,armv7-m,armv7e-m,armv7-r,armv8-m.base,armv8-= m.main Thread model: single gcc version 5.3.1 20160307 (release) [ARM/embedded-5-branch revision 234589] (GNU Tools for ARM Embedded Processors) >>From gcc-bugs-return-524726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 13:33:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91455 invoked by alias); 10 May 2016 13:33:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91354 invoked by uid 48); 10 May 2016 13:33:27 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71038] copy_file(...) returns false on successful copy. Date: Tue, 10 May 2016 13:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00898.txt.bz2 Content-length: 161 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71038 --- Comment #1 from Jonathan Wakely --- I can't reproduce this with any version. >>From gcc-bugs-return-524727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 14:16:29 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41538 invoked by alias); 10 May 2016 14:16:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40606 invoked by uid 48); 10 May 2016 14:16:15 -0000 From: "joel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/70720] moxie-rtems stanza does not include crti/crtn extra_parts Date: Tue, 10 May 2016 14:16: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: 4.9.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joel 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00899.txt.bz2 Content-length: 197 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70720 --- Comment #2 from Joel Sherrill --- Sebastian, should this be applied to other branches? Should the PR be closed? >>From gcc-bugs-return-524728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 14:27:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122876 invoked by alias); 10 May 2016 14:27:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122450 invoked by uid 55); 10 May 2016 14:27:10 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/70935] [6 Regression] ICE: verify_ssa failed (error: definition in block 9 does not dominate use in block 12) w/ -O3 -g Date: Tue, 10 May 2016 14:27: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00900.txt.bz2 Content-length: 1019 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70935 --- Comment #6 from Ilya Enkovich --- Author: ienkovich Date: Tue May 10 14:26:37 2016 New Revision: 236081 URL: https://gcc.gnu.org/viewcvs?rev=3D236081&root=3Dgcc&view=3Drev Log: gcc/ 2016-05-10 Yuri Rumyantsev Backport from mainline r235962. 2016-05-06 Yuri Rumyantsev PR debug/70935 * tree-ssa-loop-unswitch.c (find_loop_guard): Reject guard edge with loop latch destination. gcc/testsuite/ 2016-05-10 Yuri Rumyantsev Backport from mainline r235962. 2016-05-06 Yuri Rumyantsev PR debug/70935 * gcc.dg/torture/pr70935.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.dg/torture/pr70935.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/tree-ssa-loop-unswitch.c >>From gcc-bugs-return-524729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 14:27:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127444 invoked by alias); 10 May 2016 14:27:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125573 invoked by uid 55); 10 May 2016 14:27:45 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70963] vec_cts/vec_ctf intrinsics produce wrong results for 64-bit floating point Date: Tue, 10 May 2016 14:27: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: 5.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00901.txt.bz2 Content-length: 813 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70963 --- Comment #6 from Bill Schmidt --- Author: wschmidt Date: Tue May 10 14:27:12 2016 New Revision: 236082 URL: https://gcc.gnu.org/viewcvs?rev=3D236082&root=3Dgcc&view=3Drev Log: [gcc] 2016-05-10 Bill Schmidt PR target/70963 * config/rs6000/vsx.md (vsx_xvcvdpsxds_scale): Generate correct code for a zero scale factor. (vsx_xvcvdpuxds_scale): Likewise. [gcc/testsuite] 2016-05-10 Bill Schmidt PR target/70963 * gcc.target/powerpc/pr70963.c: New. Added: trunk/gcc/testsuite/gcc.target/powerpc/pr70963.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/vsx.md trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 14:30:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44138 invoked by alias); 10 May 2016 14:30:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43955 invoked by uid 55); 10 May 2016 14:30:35 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70927] avx512dq instructions emitted even with -mavx512vl -mno-avx512dq Date: Tue, 10 May 2016 14:30: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00902.txt.bz2 Content-length: 978 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70927 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Tue May 10 14:30:02 2016 New Revision: 236083 URL: https://gcc.gnu.org/viewcvs?rev=3D236083&root=3Dgcc&view=3Drev Log: PR target/70927 * config/i386/sse.md (_andnot3), *3): For !TARGET_AVX512DQ and EVEX encoding, use vp*[dq] instead of v*p[sd] instructions and adjust mode attribu= te accordingly. * gcc.target/i386/avx512vl-logic-1.c: New test. * gcc.target/i386/avx512vl-logic-2.c: New test. * gcc.target/i386/avx512dq-logic-2.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/avx512dq-logic-2.c trunk/gcc/testsuite/gcc.target/i386/avx512vl-logic-1.c trunk/gcc/testsuite/gcc.target/i386/avx512vl-logic-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/sse.md trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 15:00:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39233 invoked by alias); 10 May 2016 15:00:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38842 invoked by uid 48); 10 May 2016 15:00:18 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71038] copy_file(...) returns false on successful copy. Date: Tue, 10 May 2016 15: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: 6.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00903.txt.bz2 Content-length: 542 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71038 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-10 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu= .org Target Milestone|--- |6.2 Ever confirmed|0 |1 >>From gcc-bugs-return-524732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 15:39:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23098 invoked by alias); 10 May 2016 15:39:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22935 invoked by uid 55); 10 May 2016 15:39:47 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71038] copy_file(...) returns false on successful copy. Date: Tue, 10 May 2016 15:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00904.txt.bz2 Content-length: 683 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71038 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Tue May 10 15:39:14 2016 New Revision: 236084 URL: https://gcc.gnu.org/viewcvs?rev=3D236084&root=3Dgcc&view=3Drev Log: libstdc++/71038 fix error checks in filesystem::copy_file PR libstdc++/71038 * src/filesystem/ops.cc (do_copy_file): Fix backwards conditions. * testsuite/experimental/filesystem/operations/copy_file.cc: New te= st. Added: =20=20=20 trunk/libstdc++-v3/testsuite/experimental/filesystem/operations/copy_file.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/src/filesystem/ops.cc >>From gcc-bugs-return-524733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 15:43:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35455 invoked by alias); 10 May 2016 15:43:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35284 invoked by uid 48); 10 May 2016 15:43:25 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71044] Optimize std::filesystem implementation Date: Tue, 10 May 2016 15:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.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 attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00905.txt.bz2 Content-length: 930 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71044 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-10 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu= .org Ever confirmed|0 |1 --- Comment #2 from Jonathan Wakely --- Created attachment 38463 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38463&action=3Dedit Add assertions to directory iterator functions Also consider replacing non-inline functions such as directory_iterator::increment() with inline ones with assertions. This would allow those functions to check preconditions at runtime, and more functions could be noexcept. >>From gcc-bugs-return-524734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 15:57:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32052 invoked by alias); 10 May 2016 15:57:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31889 invoked by uid 55); 10 May 2016 15:57:00 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/70786] Missing "not" breaks Ada.Text_IO.Get_Immediate(File, Item, Available) Date: Tue, 10 May 2016 15:57: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00906.txt.bz2 Content-length: 771 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70786 --- Comment #8 from Ilya Enkovich --- Author: ienkovich Date: Tue May 10 15:56:27 2016 New Revision: 236086 URL: https://gcc.gnu.org/viewcvs?rev=3D236086&root=3Dgcc&view=3Drev Log: gcc/ PR tree-optimization/70786 * tree-chkp.c (chkp_find_bounds_1): Support WITH_SIZE_EXPR. * gcc/calls.c (initialize_argument_information): Bind bounds with corresponding args passed by reference. gcc/testsuite/ PR tree-optimization/70786 * gcc.target/i386/pr70876.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr70876.c Modified: trunk/gcc/ChangeLog trunk/gcc/calls.c trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-chkp.c >>From gcc-bugs-return-524735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 16:04:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47200 invoked by alias); 10 May 2016 16:04:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47007 invoked by uid 48); 10 May 2016 16:04:10 -0000 From: "jiwang at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/70227] pr69589 does not check for -rdynamic availability Date: Tue, 10 May 2016 16:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jiwang at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00907.txt.bz2 Content-length: 794 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70227 Jiong Wang changed: What |Removed |Added ---------------------------------------------------------------------------- Target|arm-none-eabi |arm-none-eabi, | |spu-unknown-elf CC| |jiwang at gcc dot gnu.org --- Comment #2 from Jiong Wang --- I suspect all elf target will fail this except xtensa which has explicitly -rdynamic support for elf (https://gcc.gnu.org/ml/gcc-patches/2011-02/msg00567.html). =46rom gcc test mailing list, at least spu-elf (https://gcc.gnu.org/ml/gcc-testresults/2016-04/msg02046.html) is failing a= lso. >>From gcc-bugs-return-524736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 16:07:22 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93717 invoked by alias); 10 May 2016 16:07:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84357 invoked by uid 55); 10 May 2016 16:07:09 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70877] [MPX] ICE in in convert_move Date: Tue, 10 May 2016 16:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ienkovich at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00908.txt.bz2 Content-length: 645 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70877 --- Comment #1 from Ilya Enkovich --- Author: ienkovich Date: Tue May 10 16:06:36 2016 New Revision: 236088 URL: https://gcc.gnu.org/viewcvs?rev=3D236088&root=3Dgcc&view=3Drev Log: gcc/ PR middle-end/70877 * tree-chkp.c (chkp_add_bounds_to_call_stmt): Handle calls with type casted fndecl. gcc/testsuite/ PR middle-end/70877 * gcc.target/i386/pr70877.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr70877.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-chkp.c >>From gcc-bugs-return-524737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 16:07:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98752 invoked by alias); 10 May 2016 16:07:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98498 invoked by uid 55); 10 May 2016 16:07:41 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70963] vec_cts/vec_ctf intrinsics produce wrong results for 64-bit floating point Date: Tue, 10 May 2016 16: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: 5.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00909.txt.bz2 Content-length: 1069 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70963 --- Comment #7 from Bill Schmidt --- Author: wschmidt Date: Tue May 10 16:07:04 2016 New Revision: 236089 URL: https://gcc.gnu.org/viewcvs?rev=3D236089&root=3Dgcc&view=3Drev Log: [gcc] 2016-05-10 Bill Schmidt Backport from mainline 2016-05-10 Bill Schmidt PR target/70963 * config/rs6000/vsx.md (vsx_xvcvdpsxds_scale): Generate correct code for a zero scale factor. (vsx_xvcvdpuxds_scale): Likewise. [gcc/testsuite] 2016-05-10 Bill Schmidt Backport from mainline 2016-05-10 Bill Schmidt PR target/70963 * gcc.target/powerpc/pr70963.c: New. Added: branches/gcc-5-branch/gcc/testsuite/gcc.target/powerpc/pr70963.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/rs6000/vsx.md branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 16:09:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110800 invoked by alias); 10 May 2016 16:09:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110346 invoked by uid 55); 10 May 2016 16:09:15 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70799] STV pass does not convert DImode shifts and rotates Date: Tue, 10 May 2016 16:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ienkovich 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00910.txt.bz2 Content-length: 883 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70799 --- Comment #3 from Ilya Enkovich --- Author: ienkovich Date: Tue May 10 16:08:42 2016 New Revision: 236090 URL: https://gcc.gnu.org/viewcvs?rev=3D236090&root=3Dgcc&view=3Drev Log: gcc/ PR target/70799 * config/i386/i386.c (dimode_scalar_to_vector_candidate_p): Allow integer constants. (dimode_scalar_chain::vector_const_cost): New. (dimode_scalar_chain::compute_convert_gain): Handle constants. (dimode_scalar_chain::convert_op): Likewise. (dimode_scalar_chain::convert_insn): Likewise. gcc/testsuite/ PR target/70799 * gcc.target/i386/pr70799-1.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr70799-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 16:10:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112607 invoked by alias); 10 May 2016 16:10:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112361 invoked by uid 55); 10 May 2016 16:10:00 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70963] vec_cts/vec_ctf intrinsics produce wrong results for 64-bit floating point Date: Tue, 10 May 2016 16:10: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: 5.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00911.txt.bz2 Content-length: 1077 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70963 --- Comment #8 from Bill Schmidt --- Author: wschmidt Date: Tue May 10 16:09:28 2016 New Revision: 236091 URL: https://gcc.gnu.org/viewcvs?rev=3D236091&root=3Dgcc&view=3Drev Log: [gcc] 2016-05-10 Bill Schmidt Backport from mainline 2016-05-10 Bill Schmidt PR target/70963 * config/rs6000/vsx.md (vsx_xvcvdpsxds_scale): Generate correct code for a zero scale factor. (vsx_xvcvdpuxds_scale): Likewise. [gcc/testsuite] 2016-05-10 Bill Schmidt Backport from mainline 2016-05-10 Bill Schmidt PR target/70963 * gcc.target/powerpc/pr70963.c: New. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.target/powerpc/pr70963.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/config/rs6000/vsx.md branches/gcc-4_9-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 16:16:08 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126281 invoked by alias); 10 May 2016 16:16:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126152 invoked by uid 55); 10 May 2016 16:15:54 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/70132] ARM -mcpu=native can cause a double free abort. Date: Tue, 10 May 2016 16:16: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: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00912.txt.bz2 Content-length: 658 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70132 --- Comment #11 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue May 10 16:15:20 2016 New Revision: 236092 URL: https://gcc.gnu.org/viewcvs?rev=3D236092&root=3Dgcc&view=3Drev Log: [ARM] PR driver/70132: Avoid double fclose in driver-arm.c Backport from mainline 2016-03-23 Kyrylo Tkachov PR driver/70132 * config/arm/driver-arm.c (host_detect_local_cpu): Reorder exit log= ic to not call fclose twice on file. Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/config/arm/driver-arm.c >>From gcc-bugs-return-524741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 16:17:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127940 invoked by alias); 10 May 2016 16:17:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127789 invoked by uid 48); 10 May 2016 16:17:00 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/70132] ARM -mcpu=native can cause a double free abort. Date: Tue, 10 May 2016 16:17: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: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00913.txt.bz2 Content-length: 421 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70132 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #12 from ktkachov at gcc dot gnu.org --- Fixed on all active branches. >>From gcc-bugs-return-524742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 16:26:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118376 invoked by alias); 10 May 2016 16:26:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110283 invoked by uid 48); 10 May 2016 16:26:00 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68030] Redundant address calculations in vectorized loop Date: Tue, 10 May 2016 16:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00914.txt.bz2 Content-length: 7461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68030 --- Comment #6 from amker at gcc dot gnu.org --- It's not only the vectorizer generating CSE sub-optimal code, pre and lim a= lso do this kind of transform. Compiling the attached example with below command line $ ./gcc -S -Ofast -march=3Dhaswell pr68030.c -o pr68030.S -fdump-tree-vect-details -fdump-tree-slp -fdump-tree-ivopts-details=20 -fdump-tree-all -fno-tree-vectorize Gives below dump info before IVOPT: : local_Filter_33 =3D global_Filters; pretmp_887 =3D global_Output; pretmp_889 =3D global_Input; goto ; : : # ix_187 =3D PHI <_202(3), 2(7)> # ivtmp_1065 =3D PHI _154 =3D ix_187 + -2; _157 =3D _154 + _971; _158 =3D (long unsigned int) _157; _159 =3D _158 * 4; _160 =3D pretmp_889 + _159; _161 =3D *_160; _165 =3D *local_Filter_33; _166 =3D _161 * _165; _170 =3D ix_187 + -1; _173 =3D _170 + _971; _174 =3D (long unsigned int) _173; _175 =3D _174 * 4; _176 =3D pretmp_889 + _175; _177 =3D *_176; _181 =3D MEM[(float *)local_Filter_33 + 4B]; _182 =3D _177 * _181; _81 =3D _166 + _182; _189 =3D ix_187 + _971; _190 =3D (long unsigned int) _189; _191 =3D _190 * 4; _192 =3D pretmp_889 + _191; _193 =3D *_192; _197 =3D MEM[(float *)local_Filter_33 + 8B]; _198 =3D _193 * _197; _202 =3D ix_187 + 1; _205 =3D _202 + _971; _206 =3D (long unsigned int) _205; _207 =3D _206 * 4; _208 =3D pretmp_889 + _207; _209 =3D *_208; _213 =3D MEM[(float *)local_Filter_33 + 12B]; _214 =3D _209 * _213; _218 =3D ix_187 + 2; _221 =3D _218 + _971; _222 =3D (long unsigned int) _221; _223 =3D _222 * 4; _224 =3D pretmp_889 + _223; _225 =3D *_224; _229 =3D MEM[(float *)local_Filter_33 + 16B]; _230 =3D _225 * _229; _82 =3D _214 + _230; _67 =3D _81 + _82; _243 =3D _154 + _980; _244 =3D (long unsigned int) _243; _245 =3D _244 * 4; _246 =3D pretmp_889 + _245; _247 =3D *_246; _251 =3D MEM[(float *)local_Filter_33 + 20B]; _252 =3D _247 * _251; _259 =3D _170 + _980; _260 =3D (long unsigned int) _259; _261 =3D _260 * 4; _262 =3D pretmp_889 + _261; _263 =3D *_262; _267 =3D MEM[(float *)local_Filter_33 + 24B]; _268 =3D _263 * _267; _78 =3D _252 + _268; _275 =3D ix_187 + _980; _276 =3D (long unsigned int) _275; _277 =3D _276 * 4; _278 =3D pretmp_889 + _277; _279 =3D *_278; _283 =3D MEM[(float *)local_Filter_33 + 28B]; _284 =3D _279 * _283; _72 =3D _198 + _284; _291 =3D _202 + _980; _292 =3D (long unsigned int) _291; _293 =3D _292 * 4; _294 =3D pretmp_889 + _293; _295 =3D *_294; _299 =3D MEM[(float *)local_Filter_33 + 32B]; _300 =3D _295 * _299; _307 =3D _218 + _980; _308 =3D (long unsigned int) _307; _309 =3D _308 * 4; _310 =3D pretmp_889 + _309; _311 =3D *_310; _315 =3D MEM[(float *)local_Filter_33 + 36B]; _316 =3D _311 * _315; _79 =3D _300 + _316; _56 =3D _78 + _79; _329 =3D _154 + _985; _330 =3D (long unsigned int) _329; _331 =3D _330 * 4; _332 =3D pretmp_889 + _331; _333 =3D *_332; _337 =3D MEM[(float *)local_Filter_33 + 40B]; _338 =3D _333 * _337; _345 =3D _170 + _985; _346 =3D (long unsigned int) _345; _347 =3D _346 * 4; _348 =3D pretmp_889 + _347; _349 =3D *_348; _353 =3D MEM[(float *)local_Filter_33 + 44B]; _354 =3D _349 * _353; _75 =3D _338 + _354; _361 =3D ix_187 + _985; _362 =3D (long unsigned int) _361; _363 =3D _362 * 4; _364 =3D pretmp_889 + _363; _365 =3D *_364; _369 =3D MEM[(float *)local_Filter_33 + 48B]; _370 =3D _365 * _369; _377 =3D _202 + _985; _378 =3D (long unsigned int) _377; _379 =3D _378 * 4; _380 =3D pretmp_889 + _379; _381 =3D *_380; _385 =3D MEM[(float *)local_Filter_33 + 52B]; _386 =3D _381 * _385; _393 =3D _218 + _985; _394 =3D (long unsigned int) _393; _395 =3D _394 * 4; _396 =3D pretmp_889 + _395; _397 =3D *_396; _401 =3D MEM[(float *)local_Filter_33 + 56B]; _402 =3D _397 * _401; _76 =3D _386 + _402; _495 =3D _75 + _76; _415 =3D _154 + _991; _416 =3D (long unsigned int) _415; _417 =3D _416 * 4; _418 =3D pretmp_889 + _417; _419 =3D *_418; _423 =3D MEM[(float *)local_Filter_33 + 60B]; _424 =3D _419 * _423; _431 =3D _170 + _991; _432 =3D (long unsigned int) _431; _433 =3D _432 * 4; _434 =3D pretmp_889 + _433; _435 =3D *_434; _439 =3D MEM[(float *)local_Filter_33 + 64B]; _440 =3D _435 * _439; _572 =3D _424 + _440; _447 =3D ix_187 + _991; _448 =3D (long unsigned int) _447; _449 =3D _448 * 4; _450 =3D pretmp_889 + _449; _451 =3D *_450; _455 =3D MEM[(float *)local_Filter_33 + 68B]; _456 =3D _451 * _455; _73 =3D _370 + _456; _65 =3D _72 + _73; _55 =3D _65 + _67; _25 =3D _55 + _56; _19 =3D _25 + _495; _463 =3D _202 + _991; _464 =3D (long unsigned int) _463; _465 =3D _464 * 4; _466 =3D pretmp_889 + _465; _467 =3D *_466; _471 =3D MEM[(float *)local_Filter_33 + 72B]; _472 =3D _467 * _471; _479 =3D _218 + _991; _480 =3D (long unsigned int) _479; _481 =3D _480 * 4; _482 =3D pretmp_889 + _481; _483 =3D *_482; _487 =3D MEM[(float *)local_Filter_33 + 76B]; _488 =3D _483 * _487; _556 =3D _472 + _488; _20 =3D _556 + _572; _429 =3D _19 + _20; _501 =3D _154 + _997; _502 =3D (long unsigned int) _501; _503 =3D _502 * 4; _504 =3D pretmp_889 + _503; _505 =3D *_504; _509 =3D MEM[(float *)local_Filter_33 + 80B]; _510 =3D _505 * _509; _517 =3D _170 + _997; _518 =3D (long unsigned int) _517; _519 =3D _518 * 4; _520 =3D pretmp_889 + _519; _521 =3D *_520; _525 =3D MEM[(float *)local_Filter_33 + 84B]; _526 =3D _521 * _525; _444 =3D _510 + _526; _533 =3D ix_187 + _997; _534 =3D (long unsigned int) _533; _535 =3D _534 * 4; _536 =3D pretmp_889 + _535; _537 =3D *_536; _541 =3D MEM[(float *)local_Filter_33 + 88B]; _542 =3D _537 * _541; _549 =3D _202 + _997; _550 =3D (long unsigned int) _549; _551 =3D _550 * 4; _552 =3D pretmp_889 + _551; _553 =3D *_552; _557 =3D MEM[(float *)local_Filter_33 + 92B]; _558 =3D _553 * _557; _565 =3D _218 + _997; _566 =3D (long unsigned int) _565; _567 =3D _566 * 4; _568 =3D pretmp_889 + _567; _569 =3D *_568; _573 =3D MEM[(float *)local_Filter_33 + 96B]; _574 =3D _569 * _573; _445 =3D _558 + _574; _430 =3D _444 + _445; _257 =3D _429 + _430; sum_575 =3D _257 + _542; _21 =3D pretmp_887 + _363; *_21 =3D sum_575; ivtmp_1064 =3D ivtmp_1065 - 1; if (ivtmp_1064 !=3D 0) goto ; else goto ; : ivtmp_1062 =3D ivtmp_1063 - 1; if (ivtmp_1062 !=3D 0) goto ; else goto ; : : # iy_186 =3D PHI <_990(6), 2(2)> # ivtmp_1063 =3D PHI _970 =3D iy_186 + -2; _971 =3D _970 * 516; _979 =3D iy_186 + -1; _980 =3D _979 * 516; _985 =3D iy_186 * 516; _990 =3D iy_186 + 1; _991 =3D _990 * 516; _996 =3D iy_186 + 2; _997 =3D _996 * 516; goto ; : return; Most memory references in are accessing the same memory object, but IVOPT failed to group these IVs because PRE hoists some parts of address computation into . And PRE/LIM creates more difficult code than vectorizer because the CSE opportunities are hidden by re-association. I will first try to fix vectorizer issue since PRE/LIM issue isn't that critical because it's only exposed in loops unrolled by tree cunroll, and in versioned/peeled loops only. >>From gcc-bugs-return-524743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 16:53:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115635 invoked by alias); 10 May 2016 16:53:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115123 invoked by uid 55); 10 May 2016 16:53:07 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70877] [MPX] ICE in in convert_move Date: Tue, 10 May 2016 16:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ienkovich at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00915.txt.bz2 Content-length: 166 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70877 --- Comment #2 from Vittorio Zecca --- I confirm fixed in 6.1.0 and trunk. Thank you! >>From gcc-bugs-return-524744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 16:59:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16936 invoked by alias); 10 May 2016 16:59:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15516 invoked by uid 55); 10 May 2016 16:59:36 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70916] [6 Regression] gcc ICE at -O3 on valid code on x86_64-linux-gnu in "tree_operand_check" Date: Tue, 10 May 2016 16:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00916.txt.bz2 Content-length: 814 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70916 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Tue May 10 16:59:04 2016 New Revision: 236094 URL: https://gcc.gnu.org/viewcvs?rev=3D236094&root=3Dgcc&view=3Drev Log: Backported from mainline 2016-05-03 Jakub Jelinek PR tree-optimization/70916 * tree-vect-patterns.c (vect_recog_mask_conversion_pattern): Give up if COND_EXPR rhs1 is neither SSA_NAME nor COMPARISON_CLASS_P. * gcc.c-torture/compile/pr70916.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.c-torture/compile/pr70916.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/tree-vect-patterns.c >>From gcc-bugs-return-524745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 17:05:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74088 invoked by alias); 10 May 2016 17:05:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64098 invoked by uid 55); 10 May 2016 17:05:15 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68030] Redundant address calculations in vectorized loop Date: Tue, 10 May 2016 17:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00917.txt.bz2 Content-length: 8077 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68030 --- Comment #7 from rguenther at suse dot de --- On May 10, 2016 6:25:57 PM GMT+02:00, "amker at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68030 > >--- Comment #6 from amker at gcc dot gnu.org --- >It's not only the vectorizer generating CSE sub-optimal code, pre and >lim also >do this kind of transform. In another PR I suggested swapping LIM and PRE to cleanup after LIM. IIRC = that had some testsuite regressions. >Compiling the attached example with below command line > >$ ./gcc -S -Ofast -march=3Dhaswell pr68030.c -o pr68030.S >-fdump-tree-vect-details -fdump-tree-slp -fdump-tree-ivopts-details=20 >-fdump-tree-all -fno-tree-vectorize > >Gives below dump info before IVOPT: > > : > local_Filter_33 =3D global_Filters; > pretmp_887 =3D global_Output; > pretmp_889 =3D global_Input; > goto ; > > : > > : > # ix_187 =3D PHI <_202(3), 2(7)> > # ivtmp_1065 =3D PHI > _154 =3D ix_187 + -2; > _157 =3D _154 + _971; > _158 =3D (long unsigned int) _157; > _159 =3D _158 * 4; > _160 =3D pretmp_889 + _159; > _161 =3D *_160; > _165 =3D *local_Filter_33; > _166 =3D _161 * _165; > _170 =3D ix_187 + -1; > _173 =3D _170 + _971; > _174 =3D (long unsigned int) _173; > _175 =3D _174 * 4; > _176 =3D pretmp_889 + _175; > _177 =3D *_176; > _181 =3D MEM[(float *)local_Filter_33 + 4B]; > _182 =3D _177 * _181; > _81 =3D _166 + _182; > _189 =3D ix_187 + _971; > _190 =3D (long unsigned int) _189; > _191 =3D _190 * 4; > _192 =3D pretmp_889 + _191; > _193 =3D *_192; > _197 =3D MEM[(float *)local_Filter_33 + 8B]; > _198 =3D _193 * _197; > _202 =3D ix_187 + 1; > _205 =3D _202 + _971; > _206 =3D (long unsigned int) _205; > _207 =3D _206 * 4; > _208 =3D pretmp_889 + _207; > _209 =3D *_208; > _213 =3D MEM[(float *)local_Filter_33 + 12B]; > _214 =3D _209 * _213; > _218 =3D ix_187 + 2; > _221 =3D _218 + _971; > _222 =3D (long unsigned int) _221; > _223 =3D _222 * 4; > _224 =3D pretmp_889 + _223; > _225 =3D *_224; > _229 =3D MEM[(float *)local_Filter_33 + 16B]; > _230 =3D _225 * _229; > _82 =3D _214 + _230; > _67 =3D _81 + _82; > _243 =3D _154 + _980; > _244 =3D (long unsigned int) _243; > _245 =3D _244 * 4; > _246 =3D pretmp_889 + _245; > _247 =3D *_246; > _251 =3D MEM[(float *)local_Filter_33 + 20B]; > _252 =3D _247 * _251; > _259 =3D _170 + _980; > _260 =3D (long unsigned int) _259; > _261 =3D _260 * 4; > _262 =3D pretmp_889 + _261; > _263 =3D *_262; > _267 =3D MEM[(float *)local_Filter_33 + 24B]; > _268 =3D _263 * _267; > _78 =3D _252 + _268; > _275 =3D ix_187 + _980; > _276 =3D (long unsigned int) _275; > _277 =3D _276 * 4; > _278 =3D pretmp_889 + _277; > _279 =3D *_278; > _283 =3D MEM[(float *)local_Filter_33 + 28B]; > _284 =3D _279 * _283; > _72 =3D _198 + _284; > _291 =3D _202 + _980; > _292 =3D (long unsigned int) _291; > _293 =3D _292 * 4; > _294 =3D pretmp_889 + _293; > _295 =3D *_294; > _299 =3D MEM[(float *)local_Filter_33 + 32B]; > _300 =3D _295 * _299; > _307 =3D _218 + _980; > _308 =3D (long unsigned int) _307; > _309 =3D _308 * 4; > _310 =3D pretmp_889 + _309; > _311 =3D *_310; > _315 =3D MEM[(float *)local_Filter_33 + 36B]; > _316 =3D _311 * _315; > _79 =3D _300 + _316; > _56 =3D _78 + _79; > _329 =3D _154 + _985; > _330 =3D (long unsigned int) _329; > _331 =3D _330 * 4; > _332 =3D pretmp_889 + _331; > _333 =3D *_332; > _337 =3D MEM[(float *)local_Filter_33 + 40B]; > _338 =3D _333 * _337; > _345 =3D _170 + _985; > _346 =3D (long unsigned int) _345; > _347 =3D _346 * 4; > _348 =3D pretmp_889 + _347; > _349 =3D *_348; > _353 =3D MEM[(float *)local_Filter_33 + 44B]; > _354 =3D _349 * _353; > _75 =3D _338 + _354; > _361 =3D ix_187 + _985; > _362 =3D (long unsigned int) _361; > _363 =3D _362 * 4; > _364 =3D pretmp_889 + _363; > _365 =3D *_364; > _369 =3D MEM[(float *)local_Filter_33 + 48B]; > _370 =3D _365 * _369; > _377 =3D _202 + _985; > _378 =3D (long unsigned int) _377; > _379 =3D _378 * 4; > _380 =3D pretmp_889 + _379; > _381 =3D *_380; > _385 =3D MEM[(float *)local_Filter_33 + 52B]; > _386 =3D _381 * _385; > _393 =3D _218 + _985; > _394 =3D (long unsigned int) _393; > _395 =3D _394 * 4; > _396 =3D pretmp_889 + _395; > _397 =3D *_396; > _401 =3D MEM[(float *)local_Filter_33 + 56B]; > _402 =3D _397 * _401; > _76 =3D _386 + _402; > _495 =3D _75 + _76; > _415 =3D _154 + _991; > _416 =3D (long unsigned int) _415; > _417 =3D _416 * 4; > _418 =3D pretmp_889 + _417; > _419 =3D *_418; > _423 =3D MEM[(float *)local_Filter_33 + 60B]; > _424 =3D _419 * _423; > _431 =3D _170 + _991; > _432 =3D (long unsigned int) _431; > _433 =3D _432 * 4; > _434 =3D pretmp_889 + _433; > _435 =3D *_434; > _439 =3D MEM[(float *)local_Filter_33 + 64B]; > _440 =3D _435 * _439; > _572 =3D _424 + _440; > _447 =3D ix_187 + _991; > _448 =3D (long unsigned int) _447; > _449 =3D _448 * 4; > _450 =3D pretmp_889 + _449; > _451 =3D *_450; > _455 =3D MEM[(float *)local_Filter_33 + 68B]; > _456 =3D _451 * _455; > _73 =3D _370 + _456; > _65 =3D _72 + _73; > _55 =3D _65 + _67; > _25 =3D _55 + _56; > _19 =3D _25 + _495; > _463 =3D _202 + _991; > _464 =3D (long unsigned int) _463; > _465 =3D _464 * 4; > _466 =3D pretmp_889 + _465; > _467 =3D *_466; > _471 =3D MEM[(float *)local_Filter_33 + 72B]; > _472 =3D _467 * _471; > _479 =3D _218 + _991; > _480 =3D (long unsigned int) _479; > _481 =3D _480 * 4; > _482 =3D pretmp_889 + _481; > _483 =3D *_482; > _487 =3D MEM[(float *)local_Filter_33 + 76B]; > _488 =3D _483 * _487; > _556 =3D _472 + _488; > _20 =3D _556 + _572; > _429 =3D _19 + _20; > _501 =3D _154 + _997; > _502 =3D (long unsigned int) _501; > _503 =3D _502 * 4; > _504 =3D pretmp_889 + _503; > _505 =3D *_504; > _509 =3D MEM[(float *)local_Filter_33 + 80B]; > _510 =3D _505 * _509; > _517 =3D _170 + _997; > _518 =3D (long unsigned int) _517; > _519 =3D _518 * 4; > _520 =3D pretmp_889 + _519; > _521 =3D *_520; > _525 =3D MEM[(float *)local_Filter_33 + 84B]; > _526 =3D _521 * _525; > _444 =3D _510 + _526; > _533 =3D ix_187 + _997; > _534 =3D (long unsigned int) _533; > _535 =3D _534 * 4; > _536 =3D pretmp_889 + _535; > _537 =3D *_536; > _541 =3D MEM[(float *)local_Filter_33 + 88B]; > _542 =3D _537 * _541; > _549 =3D _202 + _997; > _550 =3D (long unsigned int) _549; > _551 =3D _550 * 4; > _552 =3D pretmp_889 + _551; > _553 =3D *_552; > _557 =3D MEM[(float *)local_Filter_33 + 92B]; > _558 =3D _553 * _557; > _565 =3D _218 + _997; > _566 =3D (long unsigned int) _565; > _567 =3D _566 * 4; > _568 =3D pretmp_889 + _567; > _569 =3D *_568; > _573 =3D MEM[(float *)local_Filter_33 + 96B]; > _574 =3D _569 * _573; > _445 =3D _558 + _574; > _430 =3D _444 + _445; > _257 =3D _429 + _430; > sum_575 =3D _257 + _542; > _21 =3D pretmp_887 + _363; > *_21 =3D sum_575; > ivtmp_1064 =3D ivtmp_1065 - 1; > if (ivtmp_1064 !=3D 0) > goto ; > else > goto ; > > : > ivtmp_1062 =3D ivtmp_1063 - 1; > if (ivtmp_1062 !=3D 0) > goto ; > else > goto ; > > : > > : > # iy_186 =3D PHI <_990(6), 2(2)> > # ivtmp_1063 =3D PHI > _970 =3D iy_186 + -2; > _971 =3D _970 * 516; > _979 =3D iy_186 + -1; > _980 =3D _979 * 516; > _985 =3D iy_186 * 516; > _990 =3D iy_186 + 1; > _991 =3D _990 * 516; > _996 =3D iy_186 + 2; > _997 =3D _996 * 516; > goto ; > > : > return; > >Most memory references in are accessing the same memory object, >but >IVOPT failed to group these IVs because PRE hoists some parts of >address >computation into . And PRE/LIM creates more difficult code than >vectorizer because the CSE opportunities are hidden by re-association. > >I will first try to fix vectorizer issue since PRE/LIM issue isn't that >critical because it's only exposed in loops unrolled by tree cunroll, >and in >versioned/peeled loops only. >>From gcc-bugs-return-524747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 17:25:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126203 invoked by alias); 10 May 2016 17:25:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126130 invoked by uid 48); 10 May 2016 17:25:36 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70963] vec_cts/vec_ctf intrinsics produce wrong results for 64-bit floating point Date: Tue, 10 May 2016 17:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00919.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70963 Bill Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #10 from Bill Schmidt --- Fixed everywhere. >>From gcc-bugs-return-524746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 17:25:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124928 invoked by alias); 10 May 2016 17:25:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124697 invoked by uid 55); 10 May 2016 17:25:05 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70963] vec_cts/vec_ctf intrinsics produce wrong results for 64-bit floating point Date: Tue, 10 May 2016 17:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00918.txt.bz2 Content-length: 1069 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70963 --- Comment #9 from Bill Schmidt --- Author: wschmidt Date: Tue May 10 17:24:32 2016 New Revision: 236097 URL: https://gcc.gnu.org/viewcvs?rev=3D236097&root=3Dgcc&view=3Drev Log: [gcc] 2016-05-10 Bill Schmidt Backport from mainline 2016-05-10 Bill Schmidt PR target/70963 * config/rs6000/vsx.md (vsx_xvcvdpsxds_scale): Generate correct code for a zero scale factor. (vsx_xvcvdpuxds_scale): Likewise. [gcc/testsuite] 2016-05-10 Bill Schmidt Backport from mainline 2016-05-10 Bill Schmidt PR target/70963 * gcc.target/powerpc/pr70963.c: New. Added: branches/gcc-6-branch/gcc/testsuite/gcc.target/powerpc/pr70963.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/rs6000/vsx.md branches/gcc-6-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 18:02:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17904 invoked by alias); 10 May 2016 18:02:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17660 invoked by uid 48); 10 May 2016 18:02:01 -0000 From: "doko at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71049] New: [6/7 Regression] libstdc++ fails to build --with-default-libstdcxx-abi=gcc4-compatible --disable-libstdcxx-dual-abi Date: Tue, 10 May 2016 18:02: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00920.txt.bz2 Content-length: 1069 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71049 Bug ID: 71049 Summary: [6/7 Regression] libstdc++ fails to build --with-default-libstdcxx-abi=3Dgcc4-compatible --disable-libstdcxx-dual-abi Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- libstdc++ fails to build when configured --with-default-libstdcxx-abi=3Dgcc4-compatible --disable-libstdcxx-dual-abi ../../../../../src/libstdc++-v3/src/c++11/cow-stdexcept.cc: In function 'co= nst char* _txnal_sso_string_c_str(const void*)': ../../../../../src/libstdc++-v3/src/c++11/cow-stdexcept.cc:300:40: error: 'const __sso_string {aka const class std::basic_string}' has no member named '_M_s'; did you mean '_M_rep'? &((const std::__sso_string*) that)->_M_s._M_p)); ^~~~ >>From gcc-bugs-return-524749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 18:15:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57868 invoked by alias); 10 May 2016 18:15:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57582 invoked by uid 48); 10 May 2016 18:15:44 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows Date: Tue, 10 May 2016 18: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00921.txt.bz2 Content-length: 212 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70684 --- Comment #19 from Jerry DeLisle --- Fixed on 7, 6, 5, and 4.9. and closing. Please let me know if further problems arise. >>From gcc-bugs-return-524750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 18:16:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58834 invoked by alias); 10 May 2016 18:16:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58638 invoked by uid 48); 10 May 2016 18:16:06 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows Date: Tue, 10 May 2016 18:16: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00922.txt.bz2 Content-length: 433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70684 Jerry DeLisle changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #20 from Jerry DeLisle --- and ... >>From gcc-bugs-return-524751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 19:37:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23363 invoked by alias); 10 May 2016 19:37:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23128 invoked by uid 48); 10 May 2016 19:36:51 -0000 From: "seurer at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71050] New: [7 regression] test case gcc.target/powerpc/lhs-1.c fails starting with r236066 Date: Tue, 10 May 2016 19:37: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00923.txt.bz2 Content-length: 1968 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71050 Bug ID: 71050 Summary: [7 regression] test case gcc.target/powerpc/lhs-1.c fails starting with r236066 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: seurer at linux dot vnet.ibm.com Target Milestone: --- Executing on host: /home/seurer/gcc/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/build/gcc-test/gcc/ linker_plugin40918.c=20 -fno-diagnostics-show-caret -fdiagnostics-color=3Dnever -flto -fuse-linker-plugin -lm -o linker_plugin40918.exe (timeout =3D 300) spawn /home/seurer/gcc/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/build/gcc-test/gcc/ linker_plugin40918.c -fno-diagnostics-show-caret -fdiagnostics-color=3Dnever -flto -fuse-linker-= plugin -lm -o linker_plugin40918.exe Executing on host: /home/seurer/gcc/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/build/gcc-test/gcc/ /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/lhs-1.c=20 -fno-diagnostics-show-caret -fdiagnostics-color=3Dnever -O2 -mcpu=3Dpower5 -ffat-lto-objects -S -o lhs-1.s (timeout =3D 300) spawn /home/seurer/gcc/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/build/gcc-test/gcc/ /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.target/powerpc/lhs-1.c -fno-diagnostics-show-caret -fdiagnostics-color=3Dnever -O2 -mcpu=3Dpower5 -ffat-lto-objects -S -o lhs-1.s PASS: gcc.target/powerpc/lhs-1.c (test for excess errors) FAIL: gcc.target/powerpc/lhs-1.c scan-assembler-times nop 3 =3D=3D=3D gcc Summary =3D=3D=3D # of expected passes 1 # of unexpected failures 1 The test case is looking for nops but there are a bunch of extra instructio= ns being generated. stfd 1,0(4) lwz 3,4(4) to this: stfd 1,-16(1) stfd 1,0(4) ld 3,-16(1) srdi 3,3,32 >>From gcc-bugs-return-524752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 20:18:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36657 invoked by alias); 10 May 2016 20:18:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36318 invoked by uid 48); 10 May 2016 20:18:11 -0000 From: "acsawdey at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/44382] Slow integer multiply Date: Tue, 10 May 2016 20:18: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.6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: acsawdey 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00924.txt.bz2 Content-length: 735 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D44382 acsawdey at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |acsawdey at gcc dot gnu.org --- Comment #11 from acsawdey at gcc dot gnu.org --- 236043 adds rs6000_reassociation_width() to enable parallel reassociation f= or ppc64/ppc64le with -mcpu=3Dpower8. The width is picked to be a balance betw= een something wide enough to exploit the core resources but not so wide that we generate a lot of excess spills. SPEC 2006 int is pretty neutral but fp sees some gains, largely because lbm gets a big improvement from this. >>From gcc-bugs-return-524753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 20:25:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63657 invoked by alias); 10 May 2016 20:25:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62729 invoked by uid 48); 10 May 2016 20:25:14 -0000 From: "martin at netbsd dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/71051] New: incorrect sparc64 code generated, inevitable jump to null function pointer Date: Tue, 10 May 2016 20:25: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: martin at netbsd 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 attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00925.txt.bz2 Content-length: 2783 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71051 Bug ID: 71051 Summary: incorrect sparc64 code generated, inevitable jump to null function pointer Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: martin at netbsd dot org Target Milestone: --- Created attachment 38464 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38464&action=3Dedit striped down example C code Attached is a reduced example of code that is part of the NetBSD C startup,= it is used to call all destructors in a shared binary before unloading the mod= ule. There is some linker magic used to fill the dtor pointer array. We hit the issue in the wild, but the stripped attached example shows the invalid code. We have seen similar issues on other architectures, so it is likely not sparc64 specific, but this case has been analyzed best. The loop over the dtors is terminated when the current dtor pointer is >=3D __DTOR_LIST_END__, and the generated asm code goes like: or %i4, %l44(__DTOR_LIST_END__), %i4 cmp %i5, %i4 blu,pt %xcc, .LL5 mov 0, %g1 If the branch to .LL5 is taken, %g1 will always be NULL. So not surprisingl= y we crash by jumping to 0: .LL5: call %g1, 0 add %i5, 8, %i5 This is with the 5.3 version integrated in NetBSD-current: > cc -v Using built-in specs. COLLECT_GCC=3Dcc COLLECT_LTO_WRAPPER=3D/usr/libexec/lto-wrapper Target: sparc64--netbsd Configured with: /usr/src/tools/gcc/../../external/gpl3/gcc/dist/configure --target=3Dsparc64--netbsd --enable-long-long --enable-threads --with-bugurl=3Dhttp://www.NetBSD.org/Misc/send-pr.html --with-pkgversion= =3D'NetBSD nb1 20160317' --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-threads --enable-libstdcxx-time=3Drt --with-mpc-lib=3D/var/obj/mknative/sparc64/usr/src/external/lgpl3/mpc/lib/l= ibmpc --with-mpfr-lib=3D/var/obj/mknative/sparc64/usr/src/external/lgpl3/mpfr/lib= /libmpfr --with-gmp-lib=3D/var/obj/mknative/sparc64/usr/src/external/lgpl3/gmp/lib/l= ibgmp --with-mpc-include=3D/usr/src/external/lgpl3/mpc/dist/src --with-mpfr-include=3D/usr/src/external/lgpl3/mpfr/dist/src --with-gmp-include=3D/usr/src/external/lgpl3/gmp/lib/libgmp/arch/sparc64 --enable-tls --disable-multilib --disable-symvers --disable-libstdcxx-pch --build=3Dx86_64-unknown-netbsd7.0. --host=3Dsparc64--netbsd --with-sysroot=3D/var/obj/mknative/sparc64/usr/src/destdir.sparc64 Thread model: posix gcc version 5.3.0 (nb1 20160317)=20 and the compiler invocation w.as cc -Wall -Wextra -O2 -fno-strict-aliasing -fwrapv -c -S example.c >>From gcc-bugs-return-524754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 20:26:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70784 invoked by alias); 10 May 2016 20:26:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70605 invoked by uid 48); 10 May 2016 20:26:05 -0000 From: "martin at netbsd dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/71051] incorrect sparc64 code generated, inevitable jump to null function pointer Date: Tue, 10 May 2016 20:26: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: martin at netbsd 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00926.txt.bz2 Content-length: 240 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71051 --- Comment #1 from Martin Husemann --- Created attachment 38465 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38465&action=3Dedit generated asm code >>From gcc-bugs-return-524755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 20:55:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70514 invoked by alias); 10 May 2016 20:55:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70046 invoked by uid 48); 10 May 2016 20:55:38 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/44382] Slow integer multiply Date: Tue, 10 May 2016 20:55: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.6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: wschmidt 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00927.txt.bz2 Content-length: 219 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D44382 --- Comment #12 from Bill Schmidt --- I'd propose that this bug can now be closed. If nobody objects, I'll do th= at later this week. >>From gcc-bugs-return-524756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 21:16:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122837 invoked by alias); 10 May 2016 21:16:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122606 invoked by uid 48); 10 May 2016 21:16:28 -0000 From: "dengel at synopsys dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71052] New: Use of Range Based For Loop in unsupported dialect results in malformed code Date: Tue, 10 May 2016 21:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dengel at synopsys 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00928.txt.bz2 Content-length: 1471 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71052 Bug ID: 71052 Summary: Use of Range Based For Loop in unsupported dialect results in malformed code Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dengel at synopsys dot com Target Milestone: --- Using GCC 5.1 if range based for loop is present and we are not compiling in c++11 or gnu++11 mode some weird behavior is observed. Upon compilation, we are met with a warning, however, we compile successful= ly and the resulting code is broken. The below code snippet compiles and runs = as expected in c++11 mode, but in c++98 mode we see a warning, and the resulti= ng binary loops infinitely. Reproducer: $ cat t.cpp int arr[10] =3D { 0 }; void foo() { for (int i: arr) {=20 } } $ g++ -c -std=3Dc++98 -O0 t.cpp t.cpp: In function =E2=80=98void foo()=E2=80=99: t.cpp:3:17: warning: range-based =E2=80=98for=E2=80=99 loops only available= with -std=3Dc++11 or -std=3Dgnu++11 for (int i: arr) {=20 ^ $ objdump -d t.o t.o: file format elf64-x86-64 Disassembly of section .text: 0000000000000000 <_Z3foov>: 0: 55 push %rbp 1: 48 89 e5 mov %rsp,%rbp 4: eb fe jmp 4 <_Z3foov+0x4> >>From gcc-bugs-return-524757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 21:35:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33157 invoked by alias); 10 May 2016 21:35:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32804 invoked by uid 48); 10 May 2016 21:35:27 -0000 From: "michael at weiser dot dinsnail.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71053] New: [6.1 regression] Volatile read optimized into endless loop Date: Tue, 10 May 2016 21:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: michael at weiser dot dinsnail.net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00929.txt.bz2 Content-length: 4484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71053 Bug ID: 71053 Summary: [6.1 regression] Volatile read optimized into endless loop Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: michael at weiser dot dinsnail.net Target Milestone: --- avr-g++ of vanilla gcc 6.1.0 called with avr-g++ -Wall -Wextra -fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations -Os t.c -o = t.S -S compiles the following code while (((*(volatile unsigned char *)(0x1)) & 1) =3D=3D 0); into lds r24,1 sbrs r24,0 .L4: rjmp .L4 , producing and endless loop. avr-gcc from the same install as well as avr-= gcc and avr-g++ of vanilla gcc 5.3.0 produce: .L2: lds r24,1 sbrs r24,0 rjmp .L2 Preprocessed source: # ~/bin/gcc-6.1.0-avr/bin/avr-g++ -Wall -Wextra -fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations -Os t.c -E # 1 "t.c" # 1 "" # 1 "" # 1 "t.c" int main(void) { while (((*(volatile unsigned char *)(0x1)) & 1) =3D=3D 0); } Full call and output: # ~/bin/gcc-6.1.0-avr/bin/avr-g++ -Wall -Wextra -fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations -Os t.c -o t.S -S -v Using built-in specs. Reading specs from /Users/michael/bin/gcc-6.1.0-avr/lib/gcc/avr/6.1.0/device-specs/specs-avr2 COLLECT_GCC=3D/Users/michael/bin/gcc-6.1.0-avr/bin/avr-g++ Target: avr Configured with: ../configure --prefix=3D/Users/michael/bin/gcc-6.1.0-avr --with-gmp=3D/Users/michael/bin/gcc-6.1.0-avr --with-mpfr=3D/Users/michael/bin/gcc-6.1.0-avr --with-mpc=3D/Users/michael/bin/gcc-6.1.0-avr --target=3Davr --enable-languages=3Dc,c++ --disable-nls --disable-libssp --with-dwarf2 Thread model: single gcc version 6.1.0 (GCC)=20 COLLECT_GCC_OPTIONS=3D'-Wall' '-Wextra' '-fno-strict-aliasing' '-fwrapv' '-fno-aggressive-loop-optimizations' '-Os' '-o' 't.S' '-S' '-v' '-specs=3Ddevice-specs/specs-avr2' /Users/michael/bin/gcc-6.1.0-avr/libexec/gcc/avr/6.1.0/cc1plus -quiet -v t= .c -mn-flash=3D6 -mskip-bug -quiet -dumpbase t.c -auxbase-strip t.S -Os -Wall -Wextra -version -fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations -o t.S -mn-flash=3D6 -mskip-bug -fno-rtti -fno-enforce-eh-specs -fno-exceptions GNU C++14 (GCC) version 6.1.0 (avr) compiled by GNU C version 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.29), GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3,= isl version none GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 ignoring nonexistent directory "/Users/michael/bin/gcc-6.1.0-avr/lib/gcc/avr/6.1.0/../../../../avr/include= /c++/6.1.0" ignoring nonexistent directory "/Users/michael/bin/gcc-6.1.0-avr/lib/gcc/avr/6.1.0/../../../../avr/include= /c++/6.1.0/avr" ignoring nonexistent directory "/Users/michael/bin/gcc-6.1.0-avr/lib/gcc/avr/6.1.0/../../../../avr/include= /c++/6.1.0/backward" ignoring nonexistent directory "/Users/michael/bin/gcc-6.1.0-avr/lib/gcc/avr/6.1.0/../../../../avr/sys-inc= lude" #include "..." search starts here: #include <...> search starts here: /Users/michael/bin/gcc-6.1.0-avr/lib/gcc/avr/6.1.0/include /Users/michael/bin/gcc-6.1.0-avr/lib/gcc/avr/6.1.0/include-fixed /Users/michael/bin/gcc-6.1.0-avr/lib/gcc/avr/6.1.0/../../../../avr/include End of search list. GNU C++14 (GCC) version 6.1.0 (avr) compiled by GNU C version 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.29), GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3,= isl version none GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: 7c30ccc7fec31875d3fa3f6ec56cc92b COMPILER_PATH=3D/Users/michael/bin/gcc-6.1.0-avr/libexec/gcc/avr/6.1.0/:/Us= ers/michael/bin/gcc-6.1.0-avr/libexec/gcc/avr/6.1.0/:/Users/michael/bin/gcc= -6.1.0-avr/libexec/gcc/avr/:/Users/michael/bin/gcc-6.1.0-avr/lib/gcc/avr/6.= 1.0/:/Users/michael/bin/gcc-6.1.0-avr/lib/gcc/avr/:/Users/michael/bin/gcc-6= .1.0-avr/lib/gcc/avr/6.1.0/../../../../avr/bin/ LIBRARY_PATH=3D/Users/michael/bin/gcc-6.1.0-avr/lib/gcc/avr/6.1.0/:/Users/m= ichael/bin/gcc-6.1.0-avr/lib/gcc/avr/6.1.0/../../../../avr/lib/ COLLECT_GCC_OPTIONS=3D'-Wall' '-Wextra' '-fno-strict-aliasing' '-fwrapv' '-fno-aggressive-loop-optimizations' '-Os' '-o' 't.S' '-S' '-v' '-specs=3Ddevice-specs/specs-avr2' >>From gcc-bugs-return-524758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 22:02:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87680 invoked by alias); 10 May 2016 22:02:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87314 invoked by uid 48); 10 May 2016 22:01:51 -0000 From: "john.ettedgui at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71054] New: internal compiler error: in expand_expr_real_2, at expr.c:8097 Date: Tue, 10 May 2016 22:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: john.ettedgui 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00930.txt.bz2 Content-length: 4855 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71054 Bug ID: 71054 Summary: internal compiler error: in expand_expr_real_2, at expr.c:8097 Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: john.ettedgui at gmail dot com Target Milestone: --- Hello, Compiling the latest rpcs3 code from git, I get an internal compiler error. This is my first time getting that so I'm not quite sure how to report it. I am using gcc 6.1.1, on Arch Linux x64, Linux 4.5.3. My CPU is an Intel i7-4790K, so Haswell Refresh. gcc's options for building: # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D48565 CFLAGS=3D${CFLAGS/-pipe/} CXXFLAGS=3D${CXXFLAGS/-pipe/} configure --prefix=3D/usr \ --libdir=3D/usr/lib --libexecdir=3D/usr/lib \ --mandir=3D/usr/share/man --infodir=3D/usr/share/info \ --with-bugurl=3Dhttps://bugs.archlinux.org/ \ --enable-languages=3Dc,c++,ada,fortran,go,lto,objc,obj-c++ \ --enable-shared --enable-threads=3Dposix --enable-libmpx \ --with-system-zlib --with-isl --enable-__cxa_atexit \ --disable-libunwind-exceptions --enable-clocale=3Dgnu \ --disable-libstdcxx-pch --disable-libssp \ --enable-gnu-unique-object --enable-linker-build-id \ --enable-lto --enable-plugin --enable-install-libiberty \ --with-linker-hash-style=3Dgnu --enable-gnu-indirect-function \ --enable-multilib --disable-werror \ --enable-checking=3Drelease make # make documentation make -C $CHOST/libstdc++-v3/doc doc-man-doxygen g++ -v=20 Using built-in specs. COLLECT_GCC=3D/usr/bin/g++ COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc-multilib/src/gcc/configure --prefix=3D/usr --libdir=3D/usr/lib --libexecdir=3D/usr/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-bugurl=3Dhttps://bugs.archlinux.org/ --enable-languages=3Dc,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=3Dposix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=3Dgnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=3Dgnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=3Drelease Thread model: posix gcc version 6.1.1 20160501 (GCC) The command line that triggers the bug: /usr/lib/ccache/bin/c++ -DCMAKE_BUILD -DGLX_GLXEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES -DWXUSINGDLL -D_FILE_OFFSET_BITS=3D64 -D__WXGTK__ -Dw= xGUI -isystem /usr/lib/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -I/usr/include/AL -Irpcs3-git/src/rpcs3/rpcs3/../3rdparty/pugixml/src -Irpcs3-git/src/rpcs3/rpcs3 -Irpcs3-git/src/rpcs3/rpcs3/Loader -Irpcs3-git/src/rpcs3/rpcs3/Crypto -Irpcs3-git/src/rpcs3/rpcs3/.. -Irpcs3-git/src/rpcs3/rpcs3/../Utilities/yaml-cpp/include -Irpcs3-git/src/rpcs3/rpcs3/../asmjit/src/asmjit -Irpcs3-git/src/rpcs3/rpcs3/../3rdparty/GSL/include -Irpcs3-git/src/rpcs3/rpcs3/../rsx_program_decompiler/rsx_decompiler -Irpcs3-git/src/rpcs3/rpcs3/../rsx_program_decompiler/shader_code -Irpcs3-git/src/rpcs3/rpcs3/../Vulkan/Vulkan-LoaderAndValidationLayers/incl= ude -Irpcs3-git/src/rpcs3/rpcs3/../Vulkan/glslang/glslang/Public -Irpcs3-git/src/rpcs3/rpcs3/../3rdparty/GL -Irpcs3-git/src/rpcs3/rpcs3/../3rdparty/stblib -fno-pie -fno-lto -std=3Dc+= +14 -fexceptions -pthread -g -Wno-attributes -Wno-enum-compare -Wno-invalid-offsetof -msse -msse2 -mcx16 -mssse3 -Winvalid-pch -include "rpcs3-git/src/rpcs3/build/rpcs3/cotire/rpcs3_CXX_prefix.hxx" -o CMakeFiles/rpcs3.dir/Emu/Cell/SPUASMJITRecompiler.cpp.o -c rpcs3-git/src/rpcs3/rpcs3/Emu/Cell/SPUASMJITRecompiler.cpp The output: In file included from rpcs3-git/src/rpcs3/rpcs3/Emu/Cell/SPUASMJITRecompiler.cpp:6:0: rpcs3-git/src/rpcs3/rpcs3/Emu/Cell/SPUThread.h:380:31: warning: ignoring attributes on template argument =E2=80=98__m128 {aka __vector(4) float}=E2= =80=99 [-Wignored-attributes] std::array<__m128, 155 + 174> m_data; ^ c++: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. rpcs3/CMakeFiles/rpcs3.dir/build.make:5021: recipe for target 'rpcs3/CMakeFiles/rpcs3.dir/Emu/Cell/SPUASMJITRecompiler.cpp.o' failed make[2]: *** [rpcs3/CMakeFiles/rpcs3.dir/Emu/Cell/SPUASMJITRecompiler.cpp.o] Error 4 I hope that's enough information, please ask for anything I may have forgot= ten. Thank you! John >>From gcc-bugs-return-524759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 22:05:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49749 invoked by alias); 10 May 2016 22:05:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39032 invoked by uid 48); 10 May 2016 22:05:38 -0000 From: "john.ettedgui at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71054] internal compiler error: in expand_expr_real_2, at expr.c:8097 Date: Tue, 10 May 2016 22:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: john.ettedgui 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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00931.txt.bz2 Content-length: 315 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71054 --- Comment #1 from John Ettedgui --- Created attachment 38466 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38466&action=3Dedit The .ii file in gzip format The standard .ii was too big to be attached so I gzipped it. >>From gcc-bugs-return-524760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 22:30:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122833 invoked by alias); 10 May 2016 22:30:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122603 invoked by uid 48); 10 May 2016 22:30:32 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71047] [7 Regression] Allocatable component of INTENT(OUT) dummy not set correctly Date: Tue, 10 May 2016 22:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00932.txt.bz2 Content-length: 2264 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71047 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-10 CC| |fritzoreese at gmail dot c= om, | |kargl at gcc dot gnu.org Summary|Allocatable component of |[7 Regression] Allocatable |INTENT(OUT) dummy not set |component of INTENT(OUT) |correctly |dummy not set correctly Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- Started at revision r235999 (pr56226). The difference between the dump-tree-original for r235998 and r235999 is --- pr71047.f90_ r235998.003t.original 2016-05-11 00:17:55.000000000 +0200 +++ pr71047.f90_ r235999.003t.original 2016-05-11 00:17:22.000000000 +0200 @@ -6,8 +6,6 @@ set (struct t_a & restrict y, struct __c struct t_a t_a.0; t_a.0.c_abstr.i =3D 0; - t_a.0.f._data =3D 0B; - t_a.0.f._vptr =3D (struct __vtype_m_C_abstr * {ref-all}) &__vtab_m_C_a= bstr; D.3445 =3D *y; *y =3D t_a.0; if (D.3445.f._data !=3D 0B && D.3445.f._vptr->_final !=3D 0B) @@ -50,7 +48,7 @@ p () { static struct t_b __def_init_m_T_b =3D {.c_abstr=3D{.i=3D0}}; static struct __vtype_m_T_b __vtab_m_T_b =3D {._hash=3D99994213, ._size= =3D4, ._extends=3D&__vtab_m_C_abstr, ._def_init=3D&__def_init_m_T_b, ._copy=3D__c= opy_m_T_b, ._final=3D0B}; - static struct t_a res =3D {.c_abstr=3D{.i=3D0}, .f=3D{._vptr=3D&__vtab_m= _C_abstr}}; + static struct t_a res =3D {.c_abstr=3D{.i=3D0}}; static struct t_b var =3D {.c_abstr=3D{.i=3D0}}; static void __copy_m_T_b (struct t_b & restrict, struct t_b & restrict); @@ -58,8 +56,6 @@ p () struct t_a t_a.4; t_a.4.c_abstr.i =3D 0; - t_a.4.f._data =3D 0B; - t_a.4.f._vptr =3D (struct __vtype_m_C_abstr * {ref-all}) &__vtab_m_C_a= bstr; res =3D t_a.4; } { >>From gcc-bugs-return-524761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 22:49:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113678 invoked by alias); 10 May 2016 22:49:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 113512 invoked by uid 48); 10 May 2016 22:49:23 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71049] [6/7 Regression] libstdc++ fails to build --with-default-libstdcxx-abi=gcc4-compatible --disable-libstdcxx-dual-abi Date: Tue, 10 May 2016 22:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.1.1 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00933.txt.bz2 Content-length: 175 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71049 --- Comment #1 from Jonathan Wakely --- This should be dealt with at the same time as PR 65762 >>From gcc-bugs-return-524762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 22:51:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119843 invoked by alias); 10 May 2016 22:51:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119718 invoked by uid 48); 10 May 2016 22:51:34 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71049] [6/7 Regression] libstdc++ fails to build --with-default-libstdcxx-abi=gcc4-compatible --disable-libstdcxx-dual-abi Date: Tue, 10 May 2016 22:51: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: 6.1.1 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00934.txt.bz2 Content-length: 352 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71049 --- Comment #2 from Jonathan Wakely --- Actually, the errors involving CTORDTOR suggest this is a problem with the = TM library support. I think that's meant to be disabled completely with --disable-libstdcxx-dual-abi, but seems to be causing a bootstrap failure instead. >>From gcc-bugs-return-524763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 23:32:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92393 invoked by alias); 10 May 2016 23:32:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92209 invoked by uid 55); 10 May 2016 23:32:00 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/71028] [7 regression] ICE in redirect_jump, at jump.c:1560 Date: Tue, 10 May 2016 23:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00935.txt.bz2 Content-length: 1380 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71028 --- Comment #2 from Segher Boessenkool --- Author: segher Date: Tue May 10 23:31:27 2016 New Revision: 236106 URL: https://gcc.gnu.org/viewcvs?rev=3D236106&root=3Dgcc&view=3Drev Log: cfgcleanup: Handle a branch with just a return in both arms (PR71028) If we have a conditional jump that has only a return in both the branch path and the fallthrough path, and the return on the branch path can not be made a conditional return, we will try to make a conditional return from the fallthrough path, and that does not work because we then try to redirect the (new) jump in the fallthrough block to the original dest in the branch path, which is the exit block. For the testcase on ARM we end up in this situation because before the jump2 pass there are some other insns in the return blocks as well, but the same insns in both, so those are moved above the conditional jump. Only later (in the ce3 pass) are the conditional jump and two returns melded into one return, so we need to handle this strange case here. PR rtl-optimization/71028 * cfgcleanup.c (try_optimize_cfg): Do not flip a conditional jump with just a return in the fallthrough block if the branch block contains just a returns as well. Modified: trunk/gcc/ChangeLog trunk/gcc/cfgcleanup.c >>From gcc-bugs-return-524764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 23:47:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127947 invoked by alias); 10 May 2016 23:47:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126908 invoked by uid 48); 10 May 2016 23:47:33 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71051] incorrect sparc64 code generated, inevitable jump to null function pointer Date: Tue, 10 May 2016 23:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.3.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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00936.txt.bz2 Content-length: 214 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71051 --- Comment #2 from Andrew Pinski --- p < __DTOR_LIST_END__; is undefined as you are comparing addresses of two different arrays. >>From gcc-bugs-return-524765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 23:49:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1033 invoked by alias); 10 May 2016 23:49:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 433 invoked by uid 48); 10 May 2016 23:49:42 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71051] incorrect sparc64 code generated, inevitable jump to null function pointer Date: Tue, 10 May 2016 23:49: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: 5.3.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 component resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00937.txt.bz2 Content-length: 862 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71051 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|target |middle-end Resolution|--- |INVALID --- Comment #3 from Andrew Pinski --- Simple fix: const fptr_t *start =3D __DTOR_LIST__ ; const fptr_t *end=3D __DTOR_LIST_END__; asm("":"+r"(start)); asm("":"+r"(end)); for (const fptr_t *p =3D start + 1; p < end; ) { (*(*p++))(); } ---- CUT ---- Basically GCC no longer knows that the array of __DTOR_LIST__ is only of s= ize 1 or that start and end point to two different arrays. >>From gcc-bugs-return-524766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 10 23:52:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6467 invoked by alias); 10 May 2016 23:52:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6197 invoked by uid 48); 10 May 2016 23:52:26 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71055] New: [7 Regression] FAIL: gcc.dg/torture/pr53663-1.c -Os execution test Date: Tue, 10 May 2016 23:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.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 cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00938.txt.bz2 Content-length: 1323 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71055 Bug ID: 71055 Summary: [7 Regression] FAIL: gcc.dg/torture/pr53663-1.c -Os execution test Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: rguenth at gcc dot gnu.org Target Milestone: --- On x86, r236066 caused FAIL: gcc.dg/torture/pr53663-1.c -O1 execution test FAIL: gcc.dg/torture/pr53663-1.c -O2 execution test FAIL: gcc.dg/torture/pr53663-1.c -O3 -g execution test FAIL: gcc.dg/torture/pr53663-1.c -Os execution test FAIL: gcc.dg/torture/pr53663-1.c -O2 -flto -fno-use-linker-plugin -flto-partit ion=3Dnone execution test FAIL: gcc.dg/torture/pr53663-1.c -O1 execution test FAIL: gcc.dg/torture/pr53663-1.c -O2 execution test FAIL: gcc.dg/torture/pr53663-1.c -O3 -g execution test FAIL: gcc.dg/torture/pr53663-1.c -Os execution test FAIL: gcc.dg/torture/pr53663-1.c -O2 -flto -fno-use-linker-plugin -flto-partit ion=3Dnone execution test with make check-gcc RUNTESTFLAGS=3D"dg-torture.exp=3Dpr53663-1.c --target_board=3D'unix{-m32\ -fpic,-fpic}'" >>From gcc-bugs-return-524767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 00:10:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45567 invoked by alias); 11 May 2016 00:10:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 45251 invoked by uid 48); 11 May 2016 00:10:31 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70255] change of the order of summation of floating point numbers despite no-associative-math Date: Wed, 11 May 2016 00:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00939.txt.bz2 Content-length: 672 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70255 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #15 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- (In reply to shatz from comment #14) > It is not documented that __attribute__((optimize(""))) works reliably wh= en Unfortunately, you should not expect the optimize attribute to work reliabl= y: https://gcc.gnu.org/wiki/FAQ#optimize_attribute_broken >>From gcc-bugs-return-524768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 00:12:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54051 invoked by alias); 11 May 2016 00:12:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53938 invoked by uid 48); 11 May 2016 00:12:37 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70255] change of the order of summation of floating point numbers despite no-associative-math Date: Wed, 11 May 2016 00: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: 5.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00940.txt.bz2 Content-length: 382 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70255 --- Comment #16 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- (In reply to Richard Biener from comment #1) > which is probably an artifact of fully delayed folding. Do you mean "early folding"? Because "delayed" folding should not apply any optimizations and not change the source code while parsing. >>From gcc-bugs-return-524769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 00:32:27 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14277 invoked by alias); 11 May 2016 00:32:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6294 invoked by uid 48); 11 May 2016 00:32:18 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71047] [7 Regression] Allocatable component of INTENT(OUT) dummy not set correctly Date: Wed, 11 May 2016 00:32: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: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00941.txt.bz2 Content-length: 558 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71047 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #2 from kargl at gcc dot gnu.org --- Works for me on gfortran 5.3.x, 6.1 with patch, and 7.0 with patch. Of course, I had to guess at what the expected output is and guess at the options to use. YMMV. PS, Please don't add my email address to PR's >>From gcc-bugs-return-524770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 00:53:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42350 invoked by alias); 11 May 2016 00:53:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35225 invoked by uid 48); 11 May 2016 00:53:27 -0000 From: "yyc1992 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71056] New: __builtin_bswap32 NEON instruction error with -O3 Date: Wed, 11 May 2016 00:53: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yyc1992 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00942.txt.bz2 Content-length: 3633 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71056 Bug ID: 71056 Summary: __builtin_bswap32 NEON instruction error with -O3 Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: yyc1992 at gmail dot com Target Milestone: --- The following code generate a NEON instruction not available error when compiling with `gcc -march=3Darmv7-a -mfloat-abi=3Dhard -mfpu=3Dvfpv3-d16 -= O3 -o /dev/null -c a.c` on ARM on gcc 6.1.1 (ArchLinuxARM). ```c #include #include extern char *buff; int f2(); struct T1 { int32_t reserved[2]; uint32_t ip; uint16_t cs; uint16_t rsrv2; }; void f3(const char *p) { struct T1 x; memcpy(&x, p, sizeof(struct T1)); x.reserved[0] =3D __builtin_bswap32(x.reserved[0]); x.reserved[1] =3D __builtin_bswap32(x.reserved[1]); x.ip =3D __builtin_bswap32(x.ip); x.cs =3D x.cs << 8 | x.cs >> 8; x.rsrv2 =3D x.rsrv2 << 8 | x.rsrv2 >> 8; if (f2()) { memcpy(buff, "\n", 1); } } ``` Error message ``` alarm% gcc -march=3Darmv7-a -mfloat-abi=3Dhard -mfpu=3Dvfpv3-d16 -O3 -o /de= v/null -c a.c a.c: In function =E2=80=98f3=E2=80=99: a.c:16:21: fatal error: You must enable NEON instructions (e.g. -mfloat-abi=3Dsoftfp -mfpu=3Dneon) to use these intrinsics. x.reserved[0] =3D __builtin_bswap32(x.reserved[0]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. ``` Note that `NEON` isn't enabled and there's no direct use of NEON instructions/intrinsics in the code so the NEON instructions must have been added by the optimizer. Seemingly subtle change can make the error disappear. This includes. 1. -O3 -> -O2 (ok, this one is not particularly subtle) 2. Remove any of the byteswap or field 3. Remove any of the memcpy 4. Make the second memcpy unconditional 5. Remove `f2()` (but leave the memcpy condition in some other way) 6. Pass in `x` as argument (either as value or pointer) The asm generated when compiling with `fpu=3Dneon` ``` f3: @ args =3D 0, pretend =3D 0, frame =3D 16 @ frame_needed =3D 0, uses_anonymous_args =3D 0 mov r3, r0 str lr, [sp, #-4]! sub sp, sp, #20 ldr r2, [r3, #8] @ unaligned ldr r1, [r3, #4] @ unaligned mov ip, sp ldr r0, [r0] @ unaligned ldr r3, [r3, #12] @ unaligned stmia ip!, {r0, r1, r2, r3} mov r3, r2 ldrh ip, [sp, #12] rev r3, r3 ldrh r0, [sp, #14] vldr d16, [sp] lsr r1, ip, #8 str r3, [sp, #8] vrev32.8 d16, d16 lsr r2, r0, #8 orr r2, r2, r0, lsl #8 orr r1, r1, ip, lsl #8 strh r2, [sp, #14] @ movhi strh r1, [sp, #12] @ movhi vstr d16, [sp] bl f2 cmp r0, #0 movwne r3, #:lower16:buff movtne r3, #:upper16:buff movne r2, #10 ldrne r3, [r3] strbne r2, [r3] add sp, sp, #20 @ sp needed ldr pc, [sp], #4 .size f3, .-f3 .ident "GCC: (GNU) 6.1.1 20160501" ``` And it seems that the NEON instruction it want to generate is `vrev32.8` The case is simplified from https://github.com/llvm-mirror/llvm/blob/da4b82ab1387da8c959a4e2439bce10b9c= efbc8a/tools/llvm-objdump/MachODump.cpp#L8240-L8263 I don't remember seeing this on gcc 5. >>From gcc-bugs-return-524771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 01:28:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1429 invoked by alias); 11 May 2016 01:28:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1195 invoked by uid 48); 11 May 2016 01:28:36 -0000 From: "danglin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/71013] [7 Regression] c-common.c:12810:37: error: 'LLONG_MAX' was not declared in this scope Date: Wed, 11 May 2016 01:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00943.txt.bz2 Content-length: 580 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71013 --- Comment #5 from John David Anglin --- It seems on gnu systems, _GNU_SOURCE is defined in CPLUSPLUS_CPP_SPEC irrespective of -std=3Dgnu++98. This is in gnu-user.h: /* The GNU C++ standard library requires that these macros be defined. */ #undef CPLUSPLUS_CPP_SPEC #define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)" As a result, all C features through to C11 are enabled for c++ on at least Debian unstable. Is this correct? I could do something similar for hpux so the macros get defined. >>From gcc-bugs-return-524772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 02:09:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84732 invoked by alias); 11 May 2016 02:09:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82214 invoked by uid 48); 11 May 2016 02:08:58 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/55004] [meta-bug] constexpr issues Date: Wed, 11 May 2016 02:09: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.8.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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 resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00944.txt.bz2 Content-length: 507 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55004 Bug 55004 depends on bug 38377, which changed state. Bug 38377 Summary: __builtin_constant_p(t) ? t : 1 is not considered a cons= tant integer expression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D38377 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-524773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 02:09:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85185 invoked by alias); 11 May 2016 02:09:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82139 invoked by uid 48); 11 May 2016 02:08:57 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/38377] __builtin_constant_p(t) ? t : 1 is not considered a constant integer expression Date: Wed, 11 May 2016 02: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: 4.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc cf_known_to_work blocked resolution cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00945.txt.bz2 Content-length: 1029 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D38377 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |msebor at gcc dot gnu.org Known to work| |4.9.3, 5.3.0, 6.1.0 Blocks| |55004 Resolution|--- |FIXED Known to fail| |4.2.0, 4.5.3 --- Comment #9 from Martin Sebor --- The test case still fails with 4.5.3, but compiles successfully with 4.9.3 = and later. Tests similar to the one in comment #0 that exercise this are in the test suite (two were were added in r230453). I'm resolving this bug as Fix= ed. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55004 [Bug 55004] [meta-bug] constexpr issues >>From gcc-bugs-return-524774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 03:04:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23860 invoked by alias); 11 May 2016 03:04:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23536 invoked by uid 55); 11 May 2016 03:04:39 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/38611] alignof does not always apply to typedef Date: Wed, 11 May 2016 03:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.3.3 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00946.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D38611 --- Comment #5 from Martin Sebor --- Author: msebor Date: Wed May 11 03:04:03 2016 New Revision: 236112 URL: https://gcc.gnu.org/viewcvs?rev=3D236112&root=3Dgcc&view=3Drev Log: PR c++/38611 - missing -Wattributes on a typedef with attribute aligned Added: trunk/gcc/testsuite/g++.dg/Wattributes.C Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 03:08:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31747 invoked by alias); 11 May 2016 03:08:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31490 invoked by uid 48); 11 May 2016 03:08:03 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/38611] missing -Wattributes on a typedef with attribute aligned Date: Wed, 11 May 2016 03:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.3.3 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc cf_known_to_work resolution short_desc cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00947.txt.bz2 Content-length: 930 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D38611 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Last reconfirmed| |2016-05-10 CC| |msebor at gcc dot gnu.org Known to work| |4.5.3, 4.9.3, 5.3.0, 6.1.0 Resolution|--- |FIXED Summary|alignof does not always |missing -Wattributes on a |apply to typedef |typedef with attribute | |aligned Known to fail| | --- Comment #6 from Martin Sebor --- Test case added in r236112. Resolving as Fixed. >>From gcc-bugs-return-524776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 03:31:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53533 invoked by alias); 11 May 2016 03:31:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53135 invoked by uid 48); 11 May 2016 03:30:55 -0000 From: "schnetter at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71057] New: ICE in schedule_generic_params_dies_gen, at dwarf2out.c:24142 Date: Wed, 11 May 2016 03:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schnetter 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00948.txt.bz2 Content-length: 1618 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71057 Bug ID: 71057 Summary: ICE in schedule_generic_params_dies_gen, at dwarf2out.c:24142 Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: schnetter at gmail dot com Target Milestone: --- A self-built version of GCC {{{ $ /Users/eschnett/src/spack/opt/spack/darwin-x86_64/clang-7.3.0-apple/gcc-6.1= .0-t6ty2xtlhizrs3elacvgpludfccnekb2/bin/g++ --version g++ (GCC) 6.1.0 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. }}} aborts with an ICE for this command {{{ Users/eschnett/src/spack/opt/spack/darwin-x86_64/clang-7.3.0-apple/gcc-6.1.= 0-t6ty2xtlhizrs3elacvgpludfccnekb2/bin/g++ -g -S fun_test.ii }}} with this error {{{ fun/fun_test.cc:41:1: internal compiler error: in schedule_generic_params_dies_gen, at dwarf2out.c:24142 } ^ fun/fun_test.cc:41:1: internal compiler error: Abort trap: 6 g++: internal compiler error: Abort trap: 6 (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. }}} for the preprocessed C++ source code available at . Leaving out the "-g" flag avoids the error. This is on OS X with an x86-64 CPU. >>From gcc-bugs-return-524777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 05:03:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127451 invoked by alias); 11 May 2016 05:03:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127208 invoked by uid 48); 11 May 2016 05:03:16 -0000 From: "vapier at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71058] New: ICE when building heavy templating and -std=c++17 -gstabs Date: Wed, 11 May 2016 05:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vapier 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_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00949.txt.bz2 Content-length: 5466 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71058 Bug ID: 71058 Summary: ICE when building heavy templating and -std=3Dc++17 -gstabs Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vapier at gcc dot gnu.org CC: toolchain at gentoo dot org Target Milestone: --- Target: x86_64-linux-gnu when compiling this small test case, gcc-5+ crashes. not a regression sinc= e it requires -std=3Dc++17 which is new to gcc-5. $ cat test.ii enum VkPipelineBindPoint {}; template struct A; template struct B; template <> struct A { template static auto a =3D B

::func; }; $ g++-5.3.0 -c test.ii -gstabs -std=3Dc++17 test.ii:4:20: internal compiler error: Segmentation fault template <> struct A { ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. $ gdb --args g++-5.3.0 -c test.ii -gstabs -std=3Dc++17 (gdb) set follow-fork-mode child (gdb) run Starting program: /usr/bin/g++-5.3.0 -c test.ii -gstabs -std=3Dc++17 [New process 25621] process 25621 is executing new program: /usr/libexec/gcc/x86_64-pc-linux-gnu/5.3.0/cc1plus Thread 2.1 "cc1plus" received signal SIGSEGV, Segmentation fault. [Switching to process 25621] 0x0000000000d071a3 in safe_uhwi (val=3Dval@entry=3D0x7ffff68a13f8, len=3Dlen@entry=3D0x0, i=3D) at .../gcc-5.3.0/gcc/wide-int.c= c:85 85 .../gcc-5.3.0/gcc/wide-int.cc: No such file or directory. (gdb) bt #0 0x0000000000d071a3 in safe_uhwi (val=3Dval@entry=3D0x7ffff68a13f8, len=3Dlen@entry=3D0x0, i=3D) at .../gcc-5.3.0/gcc/wide-int.c= c:85 #1 0x0000000000d09cb3 in safe_uhwi (i=3D, len=3D0x0, val=3D0x7ffff68a13f8) at .../gcc-5.3.0/gcc/wide-int.cc:85 #2 wi::lshift_large (val=3Dval@entry=3D0x7fffffffc250, xval=3D0x7ffff68a13= f8, xlen=3D0x0, precision=3Dprecision@entry=3D0x80, shift=3Dshift@entry=3D0x3) = at .../gcc-5.3.0/gcc/wide-int.cc:1917 #3 0x00000000007eae41 in wi::lshift >, int> (y=3D, x=3D...) at .../gcc-5.3.0/gcc/wide-int.h:2860 #4 int_bit_position (field=3D0x7ffff68a0280, field=3D0x7ffff68a0280) at .../gcc-5.3.0/gcc/tree.h:5079 #5 dbxout_type_fields (type=3D) at .../gcc-5.3.0/gcc/dbxout.c:1546 #6 dbxout_type (type=3D, type@entry=3D0x7ffff689ec78, full=3D, full@entry=3D0x1) at .../gcc-5.3.0/gcc/dbxout.c:2223 #7 0x00000000007ed437 in dbxout_symbol (decl=3D0x7ffff689a720, local=3D) at .../gcc-5.3.0/gcc/dbxout.c:2795 #8 0x0000000000a33d56 in rest_of_type_compilation (type=3Dtype@entry=3D0x7ffff689ec78, toplev=3D0x1) at .../gcc-5.3.0/gcc/pas= ses.c:309 #9 0x0000000000663b50 in finish_struct_1 (t=3D0x7ffff689ec78) at .../gcc-5.3.0/gcc/cp/class.c:6742 #10 0x000000000066484d in finish_struct (t=3Dt@entry=3D0x7ffff689ec78, attributes=3D0x0) at .../gcc-5.3.0/gcc/cp/class.c:6908 #11 0x0000000000682506 in cp_parser_class_specifier_1 (parser=3D0x7ffff68a0= 000) at .../gcc-5.3.0/gcc/cp/parser.c:19880 #12 cp_parser_class_specifier (parser=3D0x7ffff68a0000) at .../gcc-5.3.0/gcc/cp/parser.c:20108=20=20 #13 cp_parser_type_specifier (parser=3Dparser@entry=3D0x7ffff68a0000, flags=3Dflags@entry=3D0x1, decl_specs=3Ddecl_specs@entry=3D0x7fffffffc6f0, is_declaration=3Dis_declaration@entry=3D0x1, declares_class_or_enum=3Ddeclares_class_or_enum@entry=3D0x7fffffffc684, is_cv_qualifier=3Dis_cv_qualifier@entry=3D0x7fffffffc683) at .../gcc-5.3.0/gcc/cp/parser.c:14727=20=20 #14 0x0000000000697de0 in cp_parser_decl_specifier_seq (parser=3Dparser@entry=3D0x7ffff68a0000, flags=3Dflags@entry=3D0x1, decl_specs=3Ddecl_specs@entry=3D0x7fffffffc6f0, declares_class_or_enum=3Ddeclares_class_or_enum@entry=3D0x7fffffffc6ec) at .../gcc-5.3.0/gcc/cp/parser.c:11958=20=20 #15 0x000000000069ceed in cp_parser_single_declaration (parser=3Dparser@entry=3D0x7ffff68a0000, checks=3Dchecks@entry=3D0x0, member_p=3Dmember_p@entry=3D0x0, explicit_specialization_p=3Dexplicit_specialization_p@entry=3D0x1, friend_p=3Dfriend_p@entry=3D0x0) at .../gcc-5.3.0/gcc/cp/parser.c:23776 #16 0x000000000069d8a9 in cp_parser_explicit_specialization (parser=3Dparser@entry=3D0x7ffff68a0000) at .../gcc-5.3.0/gcc/cp/parser.c:1= 4623 #17 0x000000000067f9b0 in cp_parser_declaration (parser=3Dparser@entry=3D0x7ffff68a0000) at .../gcc-5.3.0/gcc/cp/parser.c:1= 1332 #18 0x00000000006a703b in cp_parser_declaration_seq_opt (parser=3Dparser@entry=3D0x7ffff68a0000) at .../gcc-5.3.0/gcc/cp/parser.c:1= 1265 #19 0x00000000006a7392 in cp_parser_translation_unit (parser=3D0x7ffff68a00= 00) at .../gcc-5.3.0/gcc/cp/parser.c:4100 #20 c_parse_file () at .../gcc-5.3.0/gcc/cp/parser.c:33229 #21 0x000000000075f0ba in c_common_parse_file () at .../gcc-5.3.0/gcc/c-family/c-opts.c:1057 #22 0x0000000000ae1331 in compile_file () at .../gcc-5.3.0/gcc/toplev.c:594 #23 0x00000000005e7cb0 in do_compile () at .../gcc-5.3.0/gcc/toplev.c:2067 #24 toplev::main (this=3Dthis@entry=3D0x7fffffffc920, argc=3Dargc@entry=3D0= xf, argv=3Dargv@entry=3D0x7fffffffca28) at .../gcc-5.3.0/gcc/toplev.c:2165 #25 0x00000000005e8a1e in main (argc=3D0xf, argv=3D0x7fffffffca28) at .../gcc-5.3.0/gcc/main.c:39 >>From gcc-bugs-return-524778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 05:21:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72504 invoked by alias); 11 May 2016 05:21:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72123 invoked by uid 48); 11 May 2016 05:21:18 -0000 From: "helloqirun at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71059] New: gcc ICE at -O3 on valid code on x86_64-linux-gnu in "vn_nary_op_insert_into" Date: Wed, 11 May 2016 05:21: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: helloqirun at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00950.txt.bz2 Content-length: 2837 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71059 Bug ID: 71059 Summary: gcc ICE at -O3 on valid code on x86_64-linux-gnu in "vn_nary_op_insert_into" Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: helloqirun at gmail dot com Target Milestone: --- The following valid code causes an ICE when compiled with the current gcc t= runk at only -O3 on x86_64-linux-gnu in both 32-bit and 64-bit modes. It appears to be a 7 regression. $ gcc-trunk -v Using built-in specs. COLLECT_GCC=3Dgcc-trunk COLLECT_LTO_WRAPPER=3D/home/absozero/trunk/root-gcc/libexec/gcc/x86_64-pc-l= inux-gnu/7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc/configure --prefix=3D/home/absozero/trunk/root-gcc --enable-languages=3Dc,c++ --disable-werror --enable-multilib Thread model: posix gcc version 7.0.0 20160510 (experimental) [trunk revision 236075] (GCC) $ gcc-trunk -O3 abc.c abc.c: In function =E2=80=98fn2=E2=80=99: abc.c:8:6: internal compiler error: in vn_nary_op_insert_into, at tree-ssa-sccvn.c:2735 void fn2() { ^~~ 0xd564b0 vn_nary_op_insert_into ../../gcc/gcc/tree-ssa-sccvn.c:2735 0xd569e6 vn_nary_build_or_lookup ../../gcc/gcc/tree-ssa-sccvn.c:1699 0xd5942c vn_reference_lookup_3 ../../gcc/gcc/tree-ssa-sccvn.c:1955 0xca6e46 walk_non_aliased_vuses(ao_ref*, tree_node*, void* (*)(ao_ref*, tree_node*, unsigned int, void*), void* (*)(ao_ref*, tree_node*, void*, boo= l*), tree_node* (*)(tree_node*), void*) ../../gcc/gcc/tree-ssa-alias.c:2734 0xd575e0 vn_reference_lookup_pieces(tree_node*, int, tree_node*, vec, vn_reference_s**, vn_lookup_k= ind) ../../gcc/gcc/tree-ssa-sccvn.c:2305 0xd37696 phi_translate_1 ../../gcc/gcc/tree-ssa-pre.c:1599 0xd3551d phi_translate ../../gcc/gcc/tree-ssa-pre.c:1740 0xd383e4 do_partial_partial_insertion ../../gcc/gcc/tree-ssa-pre.c:3338 0xd383e4 insert_aux ../../gcc/gcc/tree-ssa-pre.c:3458 0xd37d1f insert_aux ../../gcc/gcc/tree-ssa-pre.c:3466 0xd37d1f insert_aux ../../gcc/gcc/tree-ssa-pre.c:3466 0xd3a3e7 insert ../../gcc/gcc/tree-ssa-pre.c:3489 0xd3a3e7 execute ../../gcc/gcc/tree-ssa-pre.c:4788 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ cat abc.c short a, c; union { unsigned f0; unsigned short f1; } b; volatile int d; short fn1(short p1) { return p1 + a; } void fn2() { b.f0 =3D 0; for (;; b.f0 =3D fn1(b.f0)) (c && b.f1) || d; } >>From gcc-bugs-return-524779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 06:01:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8238 invoked by alias); 11 May 2016 06:01:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7939 invoked by uid 48); 11 May 2016 06:00:56 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/71057] [6/7 Regression] ICE in schedule_generic_params_dies_gen, at dwarf2out.c:24142 Date: Wed, 11 May 2016 06:01: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.1.0 X-Bugzilla-Keywords: 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc component short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00951.txt.bz2 Content-length: 865 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71057 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-11 CC| |trippels at gcc dot gnu.org Component|c++ |debug Summary|ICE in |[6/7 Regression] ICE in |schedule_generic_params_die |schedule_generic_params_die |s_gen, at dwarf2out.c:24142 |s_gen, at dwarf2out.c:24142 Ever confirmed|0 |1 --- Comment #1 from Markus Trippelsdorf --- Confirmed. Reducing. >>From gcc-bugs-return-524780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 06:05:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21777 invoked by alias); 11 May 2016 06:05:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21530 invoked by uid 48); 11 May 2016 06:04:52 -0000 From: "redboltz at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61636] generic lambda "cannot call member function without object" Date: Wed, 11 May 2016 06:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redboltz at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: abutcher at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00952.txt.bz2 Content-length: 4045 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61636 Takatoshi Kondo changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |redboltz at gmail dot com --- Comment #17 from Takatoshi Kondo --- x.g([]{}) made the following compile error only if it is called *after* cal= ling f(x) without this->. It seems that a side effect of the problem. If I add this-> to f(x), all errors are disappeared.=20 clang++ doesn't make a compile error. Error message -------------------- ccc_this2.cpp:9:10: note: no known conversion for argument 1 from =E2=80=98X::defer_f():: [with auto:1 =3D X]::=E2= =80=99 to =E2=80=98std::function=E2=80=99 gcc_this2.cpp:7:10: error: =E2=80=98void X::f(T) [with T =3D X::defer_f():: [with auto:1 =3D X]::]=E2=80=99, d= eclared using local type =E2=80=98X::defer_f():: [with auto:1 =3D X]::=E2=80=99, is used but never defined [-fpermissive] void f(T) {} Code ----------------------------- #include struct X { // function template template void f(T) {} // function that has std::function as a parameter void g(std::function =3D std::function()) {} // function (non template) void h() {} auto defer_f() { return [&] (auto x) { x.g([]{}); // Compile passed calling before f(x) f(x); // Compile error *1 (without this->) x.f([]{}); // Compile passed x.h(); // Compile passed x.g(); // Compile passed x.g([]{}); // Compile error (maybe side effect of *1) }; } }; int main() { X x; x.defer_f()(x); } Tested compiler -------------- gcc -v=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Using built-in specs. COLLECT_GCC=3D/usr/bin/gcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/lto-wrapp= er Target: x86_64-unknown-linux-gnu Configured with: /build/gcc-multilib/src/gcc-5-20160209/configure --prefix= =3D/usr --libdir=3D/usr/lib --libexecdir=3D/usr/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-bugurl=3Dhttps://bugs.archlinux.org/ --enable-languages=3Dc,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=3Dposix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=3Dgnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=3Dgnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=3Drelease Thread model: posix gcc version 5.3.0 (GCC)=20 clang++ -v=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 clang version 3.7.1 (tags/RELEASE_371/final) Target: x86_64-unknown-linux-gnu Thread model: posix Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/5.3.0 Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/5.3.0 Found candidate GCC installation: /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3= .0 Found candidate GCC installation: /usr/lib64/gcc/x86_64-unknown-linux-gnu/5= .3.0 Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/5= .3.0 Candidate multilib: .;@m64 Candidate multilib: 32;@m32 Selected multilib: .;@m64 >>From gcc-bugs-return-524781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 06:12:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65778 invoked by alias); 11 May 2016 06:12:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63066 invoked by uid 48); 11 May 2016 06:11:20 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71054] [6/7 Regression] ICE: in expand_expr_real_2, at expr.c:8097 Date: Wed, 11 May 2016 06: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: 6.1.0 X-Bugzilla-Keywords: 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00953.txt.bz2 Content-length: 1662 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71054 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-11 CC| |trippels at gcc dot gnu.org Summary|internal compiler error: in |[6/7 Regression] ICE: in |expand_expr_real_2, at |expand_expr_real_2, at |expr.c:8097 |expr.c:8097 Ever confirmed|0 |1 --- Comment #2 from Markus Trippelsdorf --- Creduce came up with: markus@x4 tmp % cat SPUASMJITRecompiler.ii namespace std { template class initializer_list { int *_M_array; unsigned long _M_len; }; } using u32 =3D int; template struct spu_decoder { struct A { u32 magn; u32 value; T pointer; }; spu_decoder() { std::initializer_list a{{0, 0, &D::FMS}}; } }; struct spu_recompiler { void FMS(int); void UNK(int); }; spu_decoder b; markus@x4 tmp % g++ -O2 -c SPUASMJITRecompiler.ii SPUASMJITRecompiler.ii: In constructor =E2=80=98spu_decoder::spu_deco= der() [with D =3D spu_recompiler; T =3D void (spu_recompiler::*)(int)]=E2=80=99: SPUASMJITRecompiler.ii:14:61: internal compiler error: in add_expr, at tree.c:7870 markus@x4 tmp % g++ -c SPUASMJITRecompiler.ii g++: internal compiler error: Segmentation fault (program cc1plus) >>From gcc-bugs-return-524782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 06:26:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5082 invoked by alias); 11 May 2016 06:26:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4852 invoked by uid 48); 11 May 2016 06:25:58 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/71057] [6/7 Regression] ICE in schedule_generic_params_dies_gen, at dwarf2out.c:24142 Date: Wed, 11 May 2016 06:26: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.1.0 X-Bugzilla-Keywords: 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00954.txt.bz2 Content-length: 2024 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71057 --- Comment #2 from Markus Trippelsdorf --- trippels@gcc2-power8 ~ % cat fun_test.ii template using decay_t =3D _Tp; template struct A; template struct B { B(A); }; template struct C { template using constructor =3D B>; typedef constructor dummy; }; template struct D {}; C a; D> fn1() { fn1, a; } trippels@gcc2-power8 ~ % g++ -g -c fun_test.ii fun_test.ii:10:27: internal compiler error: in schedule_generic_params_dies_gen, at dwarf2out.c:24143 D> fn1() { fn1, a; } ^ 0x10681ebf schedule_generic_params_dies_gen ../../gcc/gcc/dwarf2out.c:24143 0x10681ebf gen_struct_or_union_type_die ../../gcc/gcc/dwarf2out.c:22440 0x10681ebf gen_tagged_type_die ../../gcc/gcc/dwarf2out.c:22682 0x10666bef gen_type_die_with_usage ../../gcc/gcc/dwarf2out.c:22847 0x10667cf7 gen_type_die ../../gcc/gcc/dwarf2out.c:22902 0x1066f8c7 modified_type_die ../../gcc/gcc/dwarf2out.c:11454 0x10672053 add_type_attribute ../../gcc/gcc/dwarf2out.c:19033 0x10675bdf gen_formal_parameter_die ../../gcc/gcc/dwarf2out.c:19666 0x1066807f gen_formal_types_die ../../gcc/gcc/dwarf2out.c:19764 0x10669f93 gen_subprogram_die ../../gcc/gcc/dwarf2out.c:20667 0x1066bb47 gen_decl_die ../../gcc/gcc/dwarf2out.c:23471 0x10681bc3 gen_member_die ../../gcc/gcc/dwarf2out.c:22395 0x10681bc3 gen_struct_or_union_type_die ../../gcc/gcc/dwarf2out.c:22479 0x10681bc3 gen_tagged_type_die ../../gcc/gcc/dwarf2out.c:22682 0x10666bef gen_type_die_with_usage ../../gcc/gcc/dwarf2out.c:22847 0x10667cf7 gen_type_die ../../gcc/gcc/dwarf2out.c:22902 0x10685f0f retry_incomplete_types ../../gcc/gcc/dwarf2out.c:19409 0x10685f0f dwarf2out_finish ../../gcc/gcc/dwarf2out.c:27388 Please submit a full bug report >>From gcc-bugs-return-524783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 06:40:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53370 invoked by alias); 11 May 2016 06:40:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53134 invoked by uid 48); 11 May 2016 06:40:42 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71047] [7 Regression] Allocatable component of INTENT(OUT) dummy not set correctly Date: Wed, 11 May 2016 06:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00955.txt.bz2 Content-length: 655 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71047 --- Comment #3 from Dominique d'Humieres --- > Works for me on gfortran 5.3.x, 6.1 with patch, and 7.0 with patch. > > at the options to use. YMMV. [Book15] f90/bug% /opt/gcc/gcc7p-235998/bin/gfortran pr71047.f90 [Book15] f90/bug% ./a.out 0 [Book15] f90/bug% /opt/gcc/gcc7p-235999/bin/gfortran pr71047.f90 [Book15] f90/bug% ./a.out Program received signal SIGSEGV: Segmentation fault - invalid memory refere= nce. Backtrace for this error: #0 0x10868d5a9 #1 0x10868c985 #2 0x7fff9305f529 #3 0x108688b30 #4 0x108688cb8 #5 0x108688d56 Segmentation fault >>From gcc-bugs-return-524784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 06:42:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55566 invoked by alias); 11 May 2016 06:42:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55328 invoked by uid 48); 11 May 2016 06:42:20 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71035] GCC does not give error on declaration of non literal type in template function Date: Wed, 11 May 2016 06:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00956.txt.bz2 Content-length: 894 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71035 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu.o= rg Summary|GNU does not give error on |GCC does not give error on |declaration of non literal |declaration of non literal |type in template function |type in template function --- Comment #3 from Eric Botcazou --- > Yes I see your point that this is really a QOI issue but GNU does seem > inconsistent and EDG will have to emulate that inconsistency. The name of the compiler is GCC (or G++ for the C++ compiler specifically),= GNU is the name of the entire Unix-like project of the FSF. >>From gcc-bugs-return-524785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 07:25:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25321 invoked by alias); 11 May 2016 07:25:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24241 invoked by uid 55); 11 May 2016 07:24:51 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70255] change of the order of summation of floating point numbers despite no-associative-math Date: Wed, 11 May 2016 07:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00957.txt.bz2 Content-length: 744 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70255 --- Comment #17 from rguenther at suse dot de --- On Wed, 11 May 2016, manu at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70255 >=20 > --- Comment #16 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- > (In reply to Richard Biener from comment #1) > > which is probably an artifact of fully delayed folding. >=20 > Do you mean "early folding"? Because "delayed" folding should not apply a= ny > optimizations and not change the source code while parsing. I meant "fully folding" at a point where decls are not yet merged (whether delayed or not delayed doesn't really matter). So it's not delayed enough yet. >>From gcc-bugs-return-524786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 07:32:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75039 invoked by alias); 11 May 2016 07:32:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74806 invoked by uid 48); 11 May 2016 07:31:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71059] [7 Regression] gcc ICE at -O3 on valid code on x86_64-linux-gnu in "vn_nary_op_insert_into" Date: Wed, 11 May 2016 07:32: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00958.txt.bz2 Content-length: 921 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71059 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-11 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Target Milestone|--- |7.0 Summary|gcc ICE at -O3 on valid |[7 Regression] gcc ICE at |code on x86_64-linux-gnu in |-O3 on valid code on |"vn_nary_op_insert_into" |x86_64-linux-gnu in | |"vn_nary_op_insert_into" Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed, mine. >>From gcc-bugs-return-524787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 08:14:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107475 invoked by alias); 11 May 2016 08:14:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97243 invoked by uid 48); 11 May 2016 08:14:30 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/71058] ICE when building heavy templating and -std=c++17 -gstabs Date: Wed, 11 May 2016 08:14: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on component version everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00959.txt.bz2 Content-length: 653 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71058 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-11 Component|c++ |debug Version|unknown |5.3.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. Note that -gstabs is mostly dead and surely unmaintained. >>From gcc-bugs-return-524788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 08:17:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113940 invoked by alias); 11 May 2016 08:17:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 113745 invoked by uid 48); 11 May 2016 08:17:39 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0 Date: Wed, 11 May 2016 08:17: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00960.txt.bz2 Content-length: 765 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63773 --- Comment #35 from Rainer Orth --- (In reply to Iain Sandoe from comment #31) > (In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #30) > > With Xcode 6.4 as, 32-bit bootstrap is now well into running the testsu= ite. > >=20 > > I've filed bug > >=20 > > 23669324 Xcode 7 as creates relocation ld cannot handle >=20 > Thanks! >=20 > The .s file in your attachment crashes TOT llvm/clang (clang -target > i686-apple-darwin12 xxxx.s -o t.o ) with an assertion "Value does not fit= in > Fixup field". Will try to investigate if I have any spare cycles today. I've just been notified that the bug is fixed in Xcode 7.3.1. Will try tha= t as soon as it hits the Appstore. Rainer >>From gcc-bugs-return-524789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 08:24:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42380 invoked by alias); 11 May 2016 08:24:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42067 invoked by uid 48); 11 May 2016 08:23:50 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/71057] [6/7 Regression] ICE in schedule_generic_params_dies_gen, at dwarf2out.c:24142 Date: Wed, 11 May 2016 08:24: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.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cc cf_known_to_work assigned_to target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00961.txt.bz2 Content-length: 2540 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71057 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Status|NEW |ASSIGNED CC| |rguenth at gcc dot gnu.org Known to work| |5.3.0 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Target Milestone|--- |6.2 --- Comment #3 from Richard Biener --- Hum. static void dwarf2out_finish (const char *filename) { ... /* Walk through the list of incomplete types again, trying once more to emit full debugging info for them. */ retry_incomplete_types (); that's certainly not within the spirit of early-debug. Trivial patch (on trunk free the vector): Index: gcc/dwarf2out.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/dwarf2out.c (revision 236032) +++ gcc/dwarf2out.c (working copy) @@ -19401,11 +19401,13 @@ gen_entry_point_die (tree decl, dw_die_r static void retry_incomplete_types (void) { + set_early_dwarf s; int i; for (i =3D vec_safe_length (incomplete_types) - 1; i >=3D 0; i--) if (should_emit_struct_debug ((*incomplete_types)[i], DINFO_USAGE_DIR_USE)) gen_type_die ((*incomplete_types)[i], comp_unit_die ()); + vec_safe_truncate (incomplete_types, 0); } /* Determine what tag to use for a record type. */ @@ -27382,10 +27384,6 @@ dwarf2out_finish (const char *filename) resolve_addr (comp_unit_die ()); move_marked_base_types (); - /* Walk through the list of incomplete types again, trying once more to - emit full debugging info for them. */ - retry_incomplete_types (); - if (flag_eliminate_unused_debug_types) prune_unused_types (); @@ -27686,6 +27684,10 @@ dwarf2out_finish (const char *filename) static void dwarf2out_early_finish (void) { + /* Walk through the list of incomplete types again, trying once more to + emit full debugging info for them. */ + retry_incomplete_types (); + /* The point here is to flush out the limbo list so that it is empty and we don't need to stream it for LTO. */ flush_limbo_die_list (); >>From gcc-bugs-return-524790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 08:25:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47493 invoked by alias); 11 May 2016 08:25:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46297 invoked by uid 48); 11 May 2016 08:25:14 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71056] [6/7 Regression] __builtin_bswap32 NEON instruction error with -O3 Date: Wed, 11 May 2016 08:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status cf_reconfirmed_on cc cf_known_to_work target_milestone short_desc everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00962.txt.bz2 Content-length: 964 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71056 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |arm Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-11 CC| |ktkachov at gcc dot gnu.org Known to work| |5.3.1 Target Milestone|--- |6.2 Summary|__builtin_bswap32 NEON |[6/7 Regression] |instruction error with -O3 |__builtin_bswap32 NEON | |instruction error with -O3 Ever confirmed|0 |1 Known to fail| |6.1.0, 7.0 --- Comment #1 from ktkachov at gcc dot gnu.org --- Confirmed. >>From gcc-bugs-return-524791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 08:34:05 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108526 invoked by alias); 11 May 2016 08:34:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98531 invoked by uid 48); 11 May 2016 08:33:52 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71055] [7 Regression] FAIL: gcc.dg/torture/pr53663-1.c -Os execution test Date: Wed, 11 May 2016 08:34: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00963.txt.bz2 Content-length: 1121 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71055 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-11 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Target Milestone|--- |7.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Mine. Even without -fpic we miscompile this - but twice, cancelling the effect. With -fpic we miscompile it only once, namely v.i =3D 10; f (&v1, v); v.b =3D 0; Deleted redundant store v.b =3D 0; This is because we now figure that the read from v.b results in 0 which is of course wrong (technically it has _Bool type and thus its precision makes the value that GCC can use for optimization zero but it cannot use that "precision" to say the store is redundant (because it stores still 8 bits). >>From gcc-bugs-return-524792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 08:34:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109984 invoked by alias); 11 May 2016 08:34:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109769 invoked by uid 48); 11 May 2016 08:34:30 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68030] Redundant address calculations in vectorized loop Date: Wed, 11 May 2016 08:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00964.txt.bz2 Content-length: 1384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68030 --- Comment #8 from amker at gcc dot gnu.org --- (In reply to rguenther@suse.de from comment #7) > On May 10, 2016 6:25:57 PM GMT+02:00, "amker at gcc dot gnu.org" > wrote: > >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68030 > > > >--- Comment #6 from amker at gcc dot gnu.org --- > >It's not only the vectorizer generating CSE sub-optimal code, pre and > >lim also > >do this kind of transform. >=20 > In another PR I suggested swapping LIM and PRE to cleanup after LIM. IIRC > that had some testsuite regressions. >=20 Not really, PRE and LIM do same transform here. What we need is to transfo= rm below: _970 =3D iy_186 + -2; _971 =3D _970 * 516; _979 =3D iy_186 + -1; _980 =3D _979 * 516; _985 =3D iy_186 * 516; _990 =3D iy_186 + 1; _991 =3D _990 * 516; _996 =3D iy_186 + 2; _997 =3D _996 * 516; into: _x =3D iy_186 * 516 _971 =3D _x - 516 * 2 _980 =3D _x - 516 _985 =3D _x _990 =3D _x + 516 _997 =3D _x + 516 * 2 I remember a way to handle reassociation is to assign different ranks to const/ssa_names, and re-associate expressions wrto to ranks. GCC creates n= ew expressions time to time (for this case, it's cunroll), we may be able to do same re-association when we are creating new expressions, thus they can be easily handled by CSE (or something else). >>From gcc-bugs-return-524793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 08:37:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121624 invoked by alias); 11 May 2016 08:37:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121481 invoked by uid 48); 11 May 2016 08:36:51 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71056] [6/7 Regression] __builtin_bswap32 NEON instruction error with -O3 Date: Wed, 11 May 2016 08:37: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.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00965.txt.bz2 Content-length: 544 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71056 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ktkachov at gcc dot= gnu.org --- Comment #2 from ktkachov at gcc dot gnu.org --- The problem is arm_builtin_vectorized_function returning a NEON builtin even though NEON is not enabled. I'll have a look >>From gcc-bugs-return-524794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 08:56:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20303 invoked by alias); 11 May 2016 08:56:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20178 invoked by uid 48); 11 May 2016 08:55:57 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71054] [6/7 Regression] ICE: in expand_expr_real_2, at expr.c:8097 Date: Wed, 11 May 2016 08:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00966.txt.bz2 Content-length: 452 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71054 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org Target Milestone|--- |6.2 --- Comment #3 from Jakub Jelinek --- Started with r234940. >>From gcc-bugs-return-524795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:05:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47844 invoked by alias); 11 May 2016 09:05:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47517 invoked by uid 48); 11 May 2016 09:04:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71055] [7 Regression] FAIL: gcc.dg/torture/pr53663-1.c -Os execution test Date: Wed, 11 May 2016 09:05: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00967.txt.bz2 Content-length: 272 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71055 --- Comment #2 from Richard Biener --- It's a latent issue in unchanged code, not sure how it got exposed by r2360= 66, ah - I removed the VN_WALKREWRITE check that isn't really necessary. >>From gcc-bugs-return-524796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:07:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51144 invoked by alias); 11 May 2016 09:07:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51076 invoked by uid 48); 11 May 2016 09:07:24 -0000 From: "thiago at kde dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/69549] Named Address Spaces does not compile in C++ Date: Wed, 11 May 2016 09:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: thiago at kde 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00968.txt.bz2 Content-length: 165 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69549 --- Comment #1 from Thiago Macieira --- Bump? Still happening on 7.0 (built 20160502) >>From gcc-bugs-return-524797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:08:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52398 invoked by alias); 11 May 2016 09:08:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52235 invoked by uid 48); 11 May 2016 09:08:35 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71054] [6/7 Regression] ICE: in expand_expr_real_2, at expr.c:8097 Date: Wed, 11 May 2016 09:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00969.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71054 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >>From gcc-bugs-return-524798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:10:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56032 invoked by alias); 11 May 2016 09:10:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55034 invoked by uid 48); 11 May 2016 09:10:17 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71053] [6/7 Regression] Volatile read optimized into endless loop Date: Wed, 11 May 2016 09:10: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.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority component target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00970.txt.bz2 Content-length: 946 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71053 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Priority|P3 |P4 Component|c++ |target Target Milestone|--- |6.2 Summary|[6.1 regression] Volatile |[6/7 Regression] Volatile |read optimized into endless |read optimized into endless |loop |loop --- Comment #1 from Richard Biener --- On x86_64 I get main: .LFB0: .cfi_startproc .L2: movb 1, %al testb $1, %al je .L2 xorl %eax, %eax ret and thus it works fine there. Target issue. >>From gcc-bugs-return-524799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:18:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98363 invoked by alias); 11 May 2016 09:18:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98248 invoked by uid 48); 11 May 2016 09:18:17 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71054] [6/7 Regression] ICE: in expand_expr_real_2, at expr.c:8097 Date: Wed, 11 May 2016 09:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00971.txt.bz2 Content-length: 750 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71054 --- Comment #4 from Jakub Jelinek --- The problem is that with the PTRMEM_CST handling moved from the gimplificat= ion hook to genericization (the right thing), as apparently we don't genericize DECL_INITIAL of VAR_DECLs, nothing handles the PTRMEM_CST anymore. We have a DECL_EXPR with an artificial VAR_DECL in there that has DECL_INIT= IAL set to a CONSTRUCTOR that contains PTRMEM_CST somewhere. This is due to else if (IS_TYPE_OR_DECL_P (stmt)) *walk_subtrees =3D 0; Shall we recurse on DECL_INITIAL when handling DECL_EXPRs, when handling the VAR_Ps, something else? Or just call a different walk_tree that only remov= es the PTRMEM_CSTs and nothing else? >>From gcc-bugs-return-524800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:20:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106133 invoked by alias); 11 May 2016 09:20:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 104067 invoked by uid 48); 11 May 2016 09:20:05 -0000 From: "niva at niisi dot msk.ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71060] New: Compiler reports "loop vectorized" but actually it was not Date: Wed, 11 May 2016 09:20: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: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: niva at niisi dot msk.ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00972.txt.bz2 Content-length: 1245 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71060 Bug ID: 71060 Summary: Compiler reports "loop vectorized" but actually it was not Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: niva at niisi dot msk.ru Target Milestone: --- Created attachment 38467 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38467&action=3Dedit The test case to reproduce the problem I compile the attached test8.c as follows: /usr/local/bin/gcc -O3 -S -mavx -fopt-info-vec-optimized -DSCOUT -Wall -Wextra -Werror -Wno-unknown-pragmas test8.c -o test8.s3 The output is: test8.c:24:2: note: loop vectorized test8.c:24:2: note: loop versioned for vectorization because of possible aliasing But the resulting assembler code contains no vector instructions.=20 Other problems related to this test are: 1. The pointers in this function has the restrict specifier, so there shoul= d be no loop versioning. 2. I tried to use -ftree-loop-if-convert-stores but it did not help. Possibly this bug is the same as 65206. >>From gcc-bugs-return-524801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:25:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118340 invoked by alias); 11 May 2016 09:25:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118122 invoked by uid 48); 11 May 2016 09:25:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71050] [7 regression] test case gcc.target/powerpc/lhs-1.c fails starting with r236066 Date: Wed, 11 May 2016 09:25: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: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00973.txt.bz2 Content-length: 1980 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71050 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Target Milestone|--- |7.0 --- Comment #1 from Richard Biener --- On GIMPLE this is now "optimized" to refer to the upper half of the double with a BIT_FIELD_REF of the parameter d and the union is optimized away. Ideally this results in (subreg:SI (reg:DF ...) 4) or an equivalent highpar= t. It looks like expansion spills this to memory (in theory ok, you'd get sth equivalent to the union) but then sth messes up things badly. The GIMPLE transform doesn't factor in that the store to u->val isn't dead after it. RTL opt/target bug. Equivalent code for pre-r236066 would be unsigned int f (double d, words *u) { u->val =3D d; return ((unsigned int *)&d)[1]; } and compiling with -fno-strict-aliasing. With -mcpu=3Dpower8 I get f: mfvsrd 9,1 stfd 1,0(4) srdi 3,9,32 blr Expansion does a df->di move and then extracts the bits via a shift. So, as I suspected it might be neccessary to restrict the kind of "subregs" we create. The transform was designed to avoid the union for the variant typedef union { double val; struct { unsigned int w1; unsigned int w2; }; } words; unsigned int f (double d) { words u; u.val =3D d; return u.w2; } but even for that RTL opts cannot recover the original code it seems as the backend lies to the middle-end(?) in claiming it can do (insn 6 5 7 (set (reg:DI 158) (subreg:DI (reg/v:DF 156 [ d ]) 0)) t.c:13 -1 (nil)) but in reality it later goes through memory for this which when done at expansion time would have resulted in the same code as when being present with the union. >>From gcc-bugs-return-524802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:26:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121733 invoked by alias); 11 May 2016 09:26:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121485 invoked by uid 48); 11 May 2016 09:26:39 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71049] [6/7 Regression] libstdc++ fails to build --with-default-libstdcxx-abi=gcc4-compatible --disable-libstdcxx-dual-abi Date: Wed, 11 May 2016 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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00974.txt.bz2 Content-length: 455 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71049 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-11 Target Milestone|--- |6.2 Ever confirmed|0 |1 >>From gcc-bugs-return-524803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:27:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122459 invoked by alias); 11 May 2016 09:27:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122404 invoked by uid 48); 11 May 2016 09:27:01 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71049] [6/7 Regression] libstdc++ fails to build --with-default-libstdcxx-abi=gcc4-compatible --disable-libstdcxx-dual-abi Date: Wed, 11 May 2016 09:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00975.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71049 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >>From gcc-bugs-return-524804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:28:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127890 invoked by alias); 11 May 2016 09:28:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127101 invoked by uid 48); 11 May 2016 09:27:49 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70916] [6 Regression] gcc ICE at -O3 on valid code on x86_64-linux-gnu in "tree_operand_check" Date: Wed, 11 May 2016 09:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00976.txt.bz2 Content-length: 286 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70916 --- Comment #9 from Jakub Jelinek --- The ICE is fixed, the second patch has been just an optimization, so should= n't be backported, but for the last patch dunno, I believe it already had some follow up. >>From gcc-bugs-return-524805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:29:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130353 invoked by alias); 11 May 2016 09:29:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130202 invoked by uid 48); 11 May 2016 09:28:51 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70876] ICE in chkp_find_bounds: Unexpected tree code with_size_expr Date: Wed, 11 May 2016 09:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ienkovich at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00977.txt.bz2 Content-length: 149 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70876 --- Comment #1 from Ilya Enkovich --- Fixed in trunk by r236086 >>From gcc-bugs-return-524807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:32:26 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6221 invoked by alias); 11 May 2016 09:32:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6121 invoked by uid 48); 11 May 2016 09:32:21 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71060] Compiler reports "loop vectorized" but actually it was not Date: Wed, 11 May 2016 09:32: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.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00979.txt.bz2 Content-length: 818 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71060 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-11 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Yeah, I guess it's the same as PR65206 - a disconnect between dependence analysis and versioning for aliasing. I'm going to fix the diagnostic issue, the underlying issue is tracked in PR65206. >>From gcc-bugs-return-524806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:32:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5442 invoked by alias); 11 May 2016 09:32:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5361 invoked by uid 48); 11 May 2016 09:31:51 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70869] [6/7 Regression] internal compiler error: Segmentation fault on array of pointer to function members Date: Wed, 11 May 2016 09:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00978.txt.bz2 Content-length: 672 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70869 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #5 from Jakub Jelinek --- Guess pretty much a dup of PR71054, at least the original issue is the same= , we have DECL_EXPR with VAR_DECL that has DECL_INITIAL of CONSTRUCTOR that cont= ains PTRMEM_CSTs inside of it. And we never call cp_genericize_r or anything el= se that would replace PTRMEM_CSTs on the CONSTRUCTOR. >>From gcc-bugs-return-524808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:33:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13465 invoked by alias); 11 May 2016 09:33:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13273 invoked by uid 55); 11 May 2016 09:33:46 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70807] fwprop pass ICE with incoming CDI_DOMINATORS Date: Wed, 11 May 2016 09:33: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich 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.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00980.txt.bz2 Content-length: 1102 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70807 --- Comment #4 from Ilya Enkovich --- Author: ienkovich Date: Wed May 11 09:33:13 2016 New Revision: 236114 URL: https://gcc.gnu.org/viewcvs?rev=3D236114&root=3Dgcc&view=3Drev Log: gcc/ PR middle-end/70807 * cfgrtl.h (delete_insn_and_edges): Now return bool. * cfgrtl.c (delete_insn_and_edges): Likewise. * config/i386/i386.c (convert_scalars_to_vector): Remove redundant code. * cse.c (cse_insn): Compute cse_cfg_altered. (delete_trivially_dead_insns): Likewise. (cse_cc_succs): Likewise. (rest_of_handle_cse): Free dominance info if required. (rest_of_handle_cse2): Likewise. (rest_of_handle_cse_after_global_opts): Likewise. gcc/testsuite/ PR middle-end/70807 * gcc.dg/pr70807.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr70807.c Modified: trunk/gcc/ChangeLog trunk/gcc/cfgrtl.c trunk/gcc/cfgrtl.h trunk/gcc/config/i386/i386.c trunk/gcc/cse.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:36:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23726 invoked by alias); 11 May 2016 09:36:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23600 invoked by uid 48); 11 May 2016 09:35:59 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70855] [6/7 Regression] ICE with -fopenmp in gfc_trans_omp_workshare(): Bad statement code Date: Wed, 11 May 2016 09:36: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: 6.1.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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00981.txt.bz2 Content-length: 425 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70855 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- Started with r222864 aka PR37131 to be precise. >>From gcc-bugs-return-524810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:43:21 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41941 invoked by alias); 11 May 2016 09:43:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6982 invoked by uid 48); 11 May 2016 09:43:08 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70807] fwprop pass ICE with incoming CDI_DOMINATORS Date: Wed, 11 May 2016 09:43: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00982.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70807 Ilya Enkovich changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Ilya Enkovich --- Fixed >>From gcc-bugs-return-524811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:52:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29107 invoked by alias); 11 May 2016 09:52:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29006 invoked by uid 55); 11 May 2016 09:52:22 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70876] ICE in chkp_find_bounds: Unexpected tree code with_size_expr Date: Wed, 11 May 2016 09: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ienkovich at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00983.txt.bz2 Content-length: 1055 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70876 --- Comment #2 from Ilya Enkovich --- Author: ienkovich Date: Wed May 11 09:51:49 2016 New Revision: 236115 URL: https://gcc.gnu.org/viewcvs?rev=3D236115&root=3Dgcc&view=3Drev Log: gcc/ Backport from mainline r236086. 2016-05-10 Ilya Enkovich PR tree-optimization/70876 * tree-chkp.c (chkp_find_bounds_1): Support WITH_SIZE_EXPR. * gcc/calls.c (initialize_argument_information): Bind bounds with corresponding args passed by reference. gcc/testsuite/ Backport from mainline r236086. 2016-05-10 Ilya Enkovich PR tree-optimization/70876 * gcc.target/i386/pr70876.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr70876.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/calls.c branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/tree-chkp.c >>From gcc-bugs-return-524812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:56:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78412 invoked by alias); 11 May 2016 09:56:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77304 invoked by uid 55); 11 May 2016 09:56:27 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70877] [MPX] ICE in in convert_move Date: Wed, 11 May 2016 09: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ienkovich at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00984.txt.bz2 Content-length: 913 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70877 --- Comment #3 from Ilya Enkovich --- Author: ienkovich Date: Wed May 11 09:55:55 2016 New Revision: 236116 URL: https://gcc.gnu.org/viewcvs?rev=3D236116&root=3Dgcc&view=3Drev Log: gcc/ Backport from mainline r236088. 2016-05-10 Ilya Enkovich PR middle-end/70877 * tree-chkp.c (chkp_add_bounds_to_call_stmt): Handle calls with type casted fndecl. gcc/testsuite/ Backport from mainline r236088. 2016-05-10 Ilya Enkovich PR middle-end/70877 * gcc.target/i386/pr70877.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr70877.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/tree-chkp.c >>From gcc-bugs-return-524813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:57:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79670 invoked by alias); 11 May 2016 09:57:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79518 invoked by uid 48); 11 May 2016 09:56:53 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/70877] [MPX] ICE in in convert_move Date: Wed, 11 May 2016 09:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ienkovich at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00985.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70877 Ilya Enkovich changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Ilya Enkovich --- Fixed >>From gcc-bugs-return-524814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 09:58:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83332 invoked by alias); 11 May 2016 09:58:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82883 invoked by uid 48); 11 May 2016 09:58:24 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70876] ICE in chkp_find_bounds: Unexpected tree code with_size_expr Date: Wed, 11 May 2016 09:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ienkovich at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00986.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70876 Ilya Enkovich changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Ilya Enkovich --- Fixed >>From gcc-bugs-return-524815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 10:09:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95272 invoked by alias); 11 May 2016 10:09:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94435 invoked by uid 48); 11 May 2016 10:09:22 -0000 From: "tuwwcn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70845] [6/7 Regression] inherited piecewise_construct_t constructor from std::pair by "using-declarations" is missing Date: Wed, 11 May 2016 10:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: tuwwcn 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00987.txt.bz2 Content-length: 173 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70845 --- Comment #8 from Wei-Wei Tu --- Would this bug be fixed in gcc 6.1.1 or in later version? >>From gcc-bugs-return-524816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 10:24:02 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106355 invoked by alias); 11 May 2016 10:24:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 104949 invoked by uid 48); 11 May 2016 10:23:48 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70855] [6/7 Regression] ICE with -fopenmp in gfc_trans_omp_workshare(): Bad statement code Date: Wed, 11 May 2016 10:24: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00988.txt.bz2 Content-length: 1126 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70855 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #4 from Jakub Jelinek --- Created attachment 38468 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38468&action=3Dedit gcc7-pr70855.patch Untested simple fix (that is backportable too). If we want to parallelize this, I'd say the right thing would be still to disable the inlining during frontend passes when in omp workshare, make the inline_matmul_assign function no longer static and during omp workshare translation call that with some special arguments that would arrange for it= to be properly parallelized. We'd need to ensure that the c =3D 0 clearing is= split to threads the same way as the following loop, and that each entry in the c array is only set and modified in the same thread. >>From gcc-bugs-return-524817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 10:25:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110255 invoked by alias); 11 May 2016 10:25:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110109 invoked by uid 48); 11 May 2016 10:24:44 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71002] [6 Regression] -fstrict-aliasing breaks Boost's short string optimization implementation Date: Wed, 11 May 2016 10:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00989.txt.bz2 Content-length: 674 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71002 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |7.0 Summary|[6/7 Regression] |[6 Regression] |-fstrict-aliasing breaks |-fstrict-aliasing breaks |Boost's short string |Boost's short string |optimization implementation |optimization implementation --- Comment #12 from Richard Biener --- Mitigated on trunk sofar. >>From gcc-bugs-return-524818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 10:25:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111014 invoked by alias); 11 May 2016 10:25:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110171 invoked by uid 55); 11 May 2016 10:24:48 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71002] [6 Regression] -fstrict-aliasing breaks Boost's short string optimization implementation Date: Wed, 11 May 2016 10:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00990.txt.bz2 Content-length: 1707 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71002 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |7.0 Summary|[6/7 Regression] |[6 Regression] |-fstrict-aliasing breaks |-fstrict-aliasing breaks |Boost's short string |Boost's short string |optimization implementation |optimization implementation --- Comment #12 from Richard Biener --- Mitigated on trunk sofar. --- Comment #13 from Richard Biener --- Author: rguenth Date: Wed May 11 10:24:11 2016 New Revision: 236117 URL: https://gcc.gnu.org/viewcvs?rev=3D236117&root=3Dgcc&view=3Drev Log: 2016-05-11 Richard Biener PR middle-end/71002 * alias.c (reference_alias_ptr_type): Preserve alias-set zero if the langhook insists on it. * fold-const.c (make_bit_field_ref): Add arg for the original reference and preserve its alias-set. (decode_field_reference): Take exp by reference and adjust it to the original memory reference. (optimize_bit_field_compare): Adjust callers. (fold_truth_andor_1): Likewise. * gimplify.c (gimplify_expr): Adjust in-SSA form test. * g++.dg/torture/pr71002.C: New testcase. Added: trunk/gcc/testsuite/g++.dg/torture/pr71002.C Modified: trunk/gcc/ChangeLog trunk/gcc/alias.c trunk/gcc/fold-const.c trunk/gcc/gimplify.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 10:40:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18927 invoked by alias); 11 May 2016 10:40:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18761 invoked by uid 48); 11 May 2016 10:40:41 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71060] Compiler reports "loop vectorized" but actually it was not Date: Wed, 11 May 2016 10:40: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.1 X-Bugzilla-Keywords: diagnostic, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00991.txt.bz2 Content-length: 835 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71060 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #2 from Richard Biener --- Ok, so in this case the issue is not different base objects but operand_equ= al_p returning zero because 3058 || (MR_DEPENDENCE_CLIQUE (arg0) 3059 !=3D MR_DEPENDENCE_CLIQUE (arg1)) 3060 || (MR_DEPENDENCE_BASE (arg0) 3061 !=3D MR_DEPENDENCE_BASE (arg1))) and thus indeed restrict info. restrict info is not preserved when if-conversion creates MASK_{LOAD,STORE}. >>From gcc-bugs-return-524820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 10:49:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83263 invoked by alias); 11 May 2016 10:49:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82918 invoked by uid 48); 11 May 2016 10:49:07 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/70845] [6/7 Regression] inherited piecewise_construct_t constructor from std::pair by "using-declarations" is missing Date: Wed, 11 May 2016 10:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00992.txt.bz2 Content-length: 242 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70845 --- Comment #9 from Jonathan Wakely --- 6.1.1 is not a release, it's the current development snapshot from the gcc-6 branch. It will be fixed in a later version. >>From gcc-bugs-return-524821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 11:17:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103453 invoked by alias); 11 May 2016 11:17:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102412 invoked by uid 48); 11 May 2016 11:17:10 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0 Date: Wed, 11 May 2016 11:17: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00993.txt.bz2 Content-length: 277 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63773 --- Comment #36 from Dominique d'Humieres --- > I've just been notified that the bug is fixed in Xcode 7.3.1.=20 > Will try that as soon as it hits the Appstore. I have Xcode 7.3.1 since May 4. >>From gcc-bugs-return-524822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 11:30:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66238 invoked by alias); 11 May 2016 11:30:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66068 invoked by uid 48); 11 May 2016 11:30:38 -0000 From: "michael at weiser dot dinsnail.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71053] [6/7 Regression] Volatile read optimized into endless loop Date: Wed, 11 May 2016 11:30: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.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: michael at weiser dot dinsnail.net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00994.txt.bz2 Content-length: 3671 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71053 --- Comment #2 from Michael Weiser --- Also happens with trunk r236113: # ~/bin/gcc-trunk-20160511-avr/bin/avr-g++ -Wall -Wextra -fno-strict-aliasi= ng -fwrapv -fno-aggressive-loop-optimizations -Os t.c -o t.S -S -v Using built-in specs. Reading specs from /Users/michael/bin/gcc-trunk-20160511-avr/lib/gcc/avr/7.0.0/device-specs/sp= ecs-avr2 COLLECT_GCC=3D/Users/michael/bin/gcc-trunk-20160511-avr/bin/avr-g++ Target: avr Configured with: ../configure --prefix=3D/Users/michael/bin/gcc-trunk-20160511-avr --with-gmp=3D/Users/michael/bin/gcc-6.1.0-avr --with-mpfr=3D/Users/michael/bin/gcc-6.1.0-avr --with-mpc=3D/Users/michael/bin/gcc-6.1.0-avr --target=3Davr --enable-languages=3Dc,c++ --disable-nls --disable-libssp --with-dwarf2 Thread model: single gcc version 7.0.0 20160511 (experimental) (GCC)=20 COLLECT_GCC_OPTIONS=3D'-Wall' '-Wextra' '-fno-strict-aliasing' '-fwrapv' '-fno-aggressive-loop-optimizations' '-Os' '-o' 't.S' '-S' '-v' '-specs=3Ddevice-specs/specs-avr2' /Users/michael/bin/gcc-trunk-20160511-avr/libexec/gcc/avr/7.0.0/cc1plus -q= uiet -v t.c -mn-flash=3D6 -mskip-bug -quiet -dumpbase t.c -auxbase-strip t.S -Os= -Wall -Wextra -version -fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations -o t.S -mn-flash=3D6 -mskip-bug -fno-rtti -fno-enforce-eh-specs -fno-exceptions GNU C++14 (GCC) version 7.0.0 20160511 (experimental) (avr) compiled by GNU C version 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.29), GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3,= isl version none GGC heuristics: --param ggc-min-expand=3D30 --param ggc-min-heapsize=3D4096 ignoring nonexistent directory "/Users/michael/bin/gcc-trunk-20160511-avr/lib/gcc/avr/7.0.0/../../../../av= r/include/c++/7.0.0" ignoring nonexistent directory "/Users/michael/bin/gcc-trunk-20160511-avr/lib/gcc/avr/7.0.0/../../../../av= r/include/c++/7.0.0/avr" ignoring nonexistent directory "/Users/michael/bin/gcc-trunk-20160511-avr/lib/gcc/avr/7.0.0/../../../../av= r/include/c++/7.0.0/backward" ignoring nonexistent directory "/Users/michael/bin/gcc-trunk-20160511-avr/lib/gcc/avr/7.0.0/../../../../av= r/sys-include" ignoring nonexistent directory "/Users/michael/bin/gcc-trunk-20160511-avr/lib/gcc/avr/7.0.0/../../../../av= r/include" #include "..." search starts here: #include <...> search starts here: /Users/michael/bin/gcc-trunk-20160511-avr/lib/gcc/avr/7.0.0/include /Users/michael/bin/gcc-trunk-20160511-avr/lib/gcc/avr/7.0.0/include-fixed End of search list. GNU C++14 (GCC) version 7.0.0 20160511 (experimental) (avr) compiled by GNU C version 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.29), GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3,= isl version none GGC heuristics: --param ggc-min-expand=3D30 --param ggc-min-heapsize=3D4096 Compiler executable checksum: 1b5e53108dfd5a746e8d5a73cd24bdb2 COMPILER_PATH=3D/Users/michael/bin/gcc-trunk-20160511-avr/libexec/gcc/avr/7= .0.0/:/Users/michael/bin/gcc-trunk-20160511-avr/libexec/gcc/avr/7.0.0/:/Use= rs/michael/bin/gcc-trunk-20160511-avr/libexec/gcc/avr/:/Users/michael/bin/g= cc-trunk-20160511-avr/lib/gcc/avr/7.0.0/:/Users/michael/bin/gcc-trunk-20160= 511-avr/lib/gcc/avr/ LIBRARY_PATH=3D/Users/michael/bin/gcc-trunk-20160511-avr/lib/gcc/avr/7.0.0/ COLLECT_GCC_OPTIONS=3D'-Wall' '-Wextra' '-fno-strict-aliasing' '-fwrapv' '-fno-aggressive-loop-optimizations' '-Os' '-o' 't.S' '-S' '-v' '-specs=3Ddevice-specs/specs-avr2' # grep -4 rjmp t.S .L__stack_usage =3D 0 lds r24,1 sbrs r24,0 .L4: rjmp .L4 .L5: ldi r24,0 ldi r25,0 /* epilogue start */ >>From gcc-bugs-return-524823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 11:41:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102347 invoked by alias); 11 May 2016 11:41:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102215 invoked by uid 48); 11 May 2016 11:41:38 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/69848] poor vectorization of a loop from SPEC2006 464.h264ref Date: Wed, 11 May 2016 11:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00995.txt.bz2 Content-length: 1963 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69848 amker at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amker at gcc dot gnu.org --- Comment #7 from amker at gcc dot gnu.org --- (In reply to Jim Wilson from comment #6) > Testing the vcond_mask* patch with make check gave 6 regressions for both > armhf and aarch64. >=20 > FAIL: gcc.dg/vect/pr65947-10.c (internal compiler error) > FAIL: gcc.dg/vect/pr65947-10.c (test for excess errors) > FAIL: gcc.dg/vect/pr65947-10.c scan-tree-dump-times vect "LOOP VECTORIZED= " 2 > FAIL: gcc.dg/vect/pr65947-10.c -flto -ffat-lto-objects (internal compiler > error) > FAIL: gcc.dg/vect/pr65947-10.c -flto -ffat-lto-objects (test for excess > errors) > FAIL: gcc.dg/vect/pr65947-10.c -flto -ffat-lto-objects scan-tree-dump-ti= mes > vec > t "LOOP VECTORIZED" 2 >=20 > The problem here looks like a flaw in the vcond* patterns. They support = int > and fp compare operands, but only int selection operands. E.g. for=20 > (A op B ? X : Y) > A and B can be either int or fp, but X and Y can only be int. Adding the > vcond_mask* patterns apparently causes gcc to call vcond* in ways it didn= 't > before, and that exposes the problem. >=20 > The x86 port is the only port with vcond and vcond_mask patterns, and it > supports all four combinations if int/fp compare/select operands, so it > appears that aarch64 should also. >=20 > I will need time to figure out how to fix the vcond* problems before I can > formally submit the vcond_mask* patch. Hi Jim, We have a patch which supports all vcond/vcondu patterns (AArch64 yet) including missing ones. The patch also introduces vec_cmp&vcond_mask becau= se it re-implements vcond/vcondu using these two patterns. It will be ready f= or review shortly, but this issue itself needs vectorizer fix I think. >>From gcc-bugs-return-524825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 11:50:47 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121778 invoked by alias); 11 May 2016 11:50:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121474 invoked by uid 48); 11 May 2016 11:50:34 -0000 From: "jiwang at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71061] [ARM] is not setting instruction length for pop* patterns Date: Wed, 11 May 2016 11:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: minor X-Bugzilla-Who: jiwang at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jiwang at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00997.txt.bz2 Content-length: 404 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71061 Jiong Wang changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-11 Ever confirmed|0 |1 >>From gcc-bugs-return-524824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 11:50:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120405 invoked by alias); 11 May 2016 11:50:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120081 invoked by uid 48); 11 May 2016 11:49:56 -0000 From: "jiwang at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71061] New: [ARM] is not setting instruction length for pop* patterns Date: Wed, 11 May 2016 11:50: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: missed-optimization X-Bugzilla-Severity: minor X-Bugzilla-Who: jiwang at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jiwang at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00996.txt.bz2 Content-length: 883 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71061 Bug ID: 71061 Summary: [ARM] is not setting instruction length for pop* patterns Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: minor Priority: P3 Component: target Assignee: jiwang at gcc dot gnu.org Reporter: jiwang at gcc dot gnu.org Target Milestone: --- Target: arm* This is causing wrong size calculation and may affect some rtl pass, for example bb-order where copy_bb_p needs accurate insn length info. This have eventually part of the reason for https://gcc.gnu.org/ml/gcc-patches/2016-05/msg00639.html where bb-order fai= led to do the bb copy. For the fix, I think we should extend arm_attr_length_push_multi to pop* pattern. >>From gcc-bugs-return-524826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 12:01:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87333 invoked by alias); 11 May 2016 12:01:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87149 invoked by uid 48); 11 May 2016 12:01:39 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71006] [6/7 Regression] ICE: verify_gimple failed (error: type mismatch in conditional expression) w/ -O1 -ftree-loop-vectorize Date: Wed, 11 May 2016 12: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: 7.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ienkovich at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00998.txt.bz2 Content-length: 470 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71006 Ilya Enkovich changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ienkovich at gcc do= t gnu.org --- Comment #2 from Ilya Enkovich --- Looking at it >>From gcc-bugs-return-524827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 12:04:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91885 invoked by alias); 11 May 2016 12:04:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91575 invoked by uid 48); 11 May 2016 12:04:29 -0000 From: "shatz at dsit dot co.il" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70255] change of the order of summation of floating point numbers despite no-associative-math Date: Wed, 11 May 2016 12:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: shatz at dsit dot co.il X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg00999.txt.bz2 Content-length: 863 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70255 --- Comment #18 from shatz at dsit dot co.il --- (In reply to Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez from comment #15) > (In reply to shatz from comment #14) > > It is not documented that __attribute__((optimize(""))) works reliably = when >=20 > Unfortunately, you should not expect the optimize attribute to work > reliably: https://gcc.gnu.org/wiki/FAQ#optimize_attribute_broken Regular users like me don't read this page and probable can't be realistica= lly expected to read it. So, if the situation is really as bad as mentioned there, it should be mentioned in the places that users do read. Like these:=20 https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gcc/Function-Attributes.html#Funct= ion-Attributes https://gcc.gnu.org/onlinedocs/gcc-6.1.0/gcc/Common-Function-Attributes.htm= l#Common-Function-Attributes >>From gcc-bugs-return-524828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 12:06:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99636 invoked by alias); 11 May 2016 12:06:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99471 invoked by uid 48); 11 May 2016 12:06:09 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70986] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in combine_blocks, at tree-if-conv.c:2219 Date: Wed, 11 May 2016 12: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 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01000.txt.bz2 Content-length: 187 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70986 --- Comment #5 from Richard Biener --- Other loop opts don't necessarily like this (I get regressions). >>From gcc-bugs-return-524829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 12:40:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71279 invoked by alias); 11 May 2016 12:40:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71070 invoked by uid 55); 11 May 2016 12:40:01 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71049] [6/7 Regression] libstdc++ fails to build --with-default-libstdcxx-abi=gcc4-compatible --disable-libstdcxx-dual-abi Date: Wed, 11 May 2016 12:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01001.txt.bz2 Content-length: 577 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71049 --- Comment #3 from Jonathan Wakely --- Author: redi Date: Wed May 11 12:39:28 2016 New Revision: 236118 URL: https://gcc.gnu.org/viewcvs?rev=3D236118&root=3Dgcc&view=3Drev Log: libstdc++/71049 fix --disable-libstdcxx-dual-abi bootstrap PR libstdc++/71049 * src/c++11/cow-stdexcept.cc [!_GLIBCXX_USE_DUAL_ABI]: Don't define exception constructors with __sso_string parameters. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/src/c++11/cow-stdexcept.cc >>From gcc-bugs-return-524830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 13:01:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121900 invoked by alias); 11 May 2016 13:01:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121534 invoked by uid 48); 11 May 2016 13:01:20 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71024] Missing warning for contradictory attributes Date: Wed, 11 May 2016 13: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01002.txt.bz2 Content-length: 634 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71024 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-11 Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org Target Milestone|--- |7.0 Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Testing a patch. >>From gcc-bugs-return-524831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 13:12:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105765 invoked by alias); 11 May 2016 13:12:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105557 invoked by uid 48); 11 May 2016 13:12:46 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/70255] change of the order of summation of floating point numbers despite no-associative-math Date: Wed, 11 May 2016 13: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: 5.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01003.txt.bz2 Content-length: 240 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70255 --- Comment #19 from Marek Polacek --- Markus recently committed a patch (r235580) that points out that this attri= bute should only be used for debugging. >>From gcc-bugs-return-524832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 13:17:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62067 invoked by alias); 11 May 2016 13:17:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61928 invoked by uid 55); 11 May 2016 13:17:20 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70855] [6/7 Regression] ICE with -fopenmp in gfc_trans_omp_workshare(): Bad statement code Date: Wed, 11 May 2016 13:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01004.txt.bz2 Content-length: 594 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70855 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Wed May 11 13:16:48 2016 New Revision: 236119 URL: https://gcc.gnu.org/viewcvs?rev=3D236119&root=3Dgcc&view=3Drev Log: PR fortran/70855 * frontend-passes.c (inline_matmul_assign): Disable in !$omp worksh= are. * gfortran.dg/gomp/pr70855.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/gomp/pr70855.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/frontend-passes.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 13:18:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65707 invoked by alias); 11 May 2016 13:18:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64230 invoked by uid 55); 11 May 2016 13:18:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70855] [6/7 Regression] ICE with -fopenmp in gfc_trans_omp_workshare(): Bad statement code Date: Wed, 11 May 2016 13:18: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01005.txt.bz2 Content-length: 658 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70855 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Wed May 11 13:18:05 2016 New Revision: 236120 URL: https://gcc.gnu.org/viewcvs?rev=3D236120&root=3Dgcc&view=3Drev Log: PR fortran/70855 * frontend-passes.c (inline_matmul_assign): Disable in !$omp worksh= are. * gfortran.dg/gomp/pr70855.f90: New test. Added: branches/gcc-6-branch/gcc/testsuite/gfortran.dg/gomp/pr70855.f90 Modified: branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/frontend-passes.c branches/gcc-6-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 13:50:52 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42819 invoked by alias); 11 May 2016 13:50:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42342 invoked by uid 48); 11 May 2016 13:50:39 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71050] [7 regression] test case gcc.target/powerpc/lhs-1.c fails starting with r236066 Date: Wed, 11 May 2016 13: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: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01006.txt.bz2 Content-length: 833 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71050 Bill Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dje at gcc dot gnu.org, | |segher at gcc dot gnu.org --- Comment #2 from Bill Schmidt --- Yes, the test using -mcpu=3Dpower5 means we don't have direct moves between= FPRs and GPRs, so the move has to go through memory, which is what this appears = to have been designed to test. But now we are storing the value twice, once in its original location and once in a stack temp, and we have lost the abilit= y to just do a load-word instead of a load-doubleword/shift. >>From gcc-bugs-return-524835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 13:52:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68231 invoked by alias); 11 May 2016 13:52:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67951 invoked by uid 48); 11 May 2016 13:52:44 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71050] [7 regression] test case gcc.target/powerpc/lhs-1.c fails starting with r236066 Date: Wed, 11 May 2016 13: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: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01007.txt.bz2 Content-length: 399 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71050 --- Comment #3 from Bill Schmidt --- Sorry, accidentally saved before finishing my thoughts. How do we "inform" the middle-end that a DI subreg of a DF is very expensiv= e?=20 This differs wildly by processor for us. We "can" always do the subreg, it= 's just that on older processors we do it in a horrible way. >>From gcc-bugs-return-524837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 14:00:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109357 invoked by alias); 11 May 2016 14:00:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107622 invoked by uid 55); 11 May 2016 14:00:06 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/71057] [6 Regression] ICE in schedule_generic_params_dies_gen, at dwarf2out.c:24142 Date: Wed, 11 May 2016 14:00: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.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01009.txt.bz2 Content-length: 708 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71057 --- Comment #5 from Richard Biener --- Author: rguenth Date: Wed May 11 13:59:34 2016 New Revision: 236121 URL: https://gcc.gnu.org/viewcvs?rev=3D236121&root=3Dgcc&view=3Drev Log: 2016-05-11 Richard Biener PR debug/71057 * dwarf2out.c (retry_incomplete_types): Set early_dwarf. (dwarf2out_finish): Move retry_incomplete_types call ... (dwarf2out_early_finish): ... here. * g++.dg/debug/pr71057.C: New testcase. Added: trunk/gcc/testsuite/g++.dg/debug/pr71057.C Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2out.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 14:00:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107610 invoked by alias); 11 May 2016 14:00:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107323 invoked by uid 48); 11 May 2016 13:59:52 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/71057] [6 Regression] ICE in schedule_generic_params_dies_gen, at dwarf2out.c:24142 Date: Wed, 11 May 2016 14:00: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.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work short_desc cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01008.txt.bz2 Content-length: 664 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71057 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |7.0 Summary|[6/7 Regression] ICE in |[6 Regression] ICE in |schedule_generic_params_die |schedule_generic_params_die |s_gen, at dwarf2out.c:24142 |s_gen, at dwarf2out.c:24142 Known to fail| |6.1.0 --- Comment #4 from Richard Biener --- Fixed on trunk sofar. >>From gcc-bugs-return-524838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 14:05:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125962 invoked by alias); 11 May 2016 14:05:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125700 invoked by uid 55); 11 May 2016 14:05:04 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71055] [7 Regression] FAIL: gcc.dg/torture/pr53663-1.c -Os execution test Date: Wed, 11 May 2016 14:05: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01010.txt.bz2 Content-length: 723 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71055 --- Comment #3 from Richard Biener --- Author: rguenth Date: Wed May 11 14:04:32 2016 New Revision: 236122 URL: https://gcc.gnu.org/viewcvs?rev=3D236122&root=3Dgcc&view=3Drev Log: 2016-05-11 Richard Biener PR tree-optimization/71055 * tree-ssa-sccvn.c (vn_reference_lookup_3): When native-interpreting sth with precision not equal to access size verify we don't chop off bits. * gcc.dg/torture/pr71055.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr71055.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-sccvn.c >>From gcc-bugs-return-524839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 14:06:04 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127200 invoked by alias); 11 May 2016 14:06:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127021 invoked by uid 48); 11 May 2016 14:05:51 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71055] [7 Regression] FAIL: gcc.dg/torture/pr53663-1.c -Os execution test Date: Wed, 11 May 2016 14: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 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01011.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71055 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Richard Biener --- Fixed. >>From gcc-bugs-return-524840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 14:07:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2543 invoked by alias); 11 May 2016 14:07:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2368 invoked by uid 48); 11 May 2016 14:07:30 -0000 From: "vmakarov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70904] ICE: Max. number of generated reload insns per insn is achieved (90) with -fno-split-wide-types @ aarch64 Date: Wed, 11 May 2016 14: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: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vmakarov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jiwang at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01012.txt.bz2 Content-length: 3871 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70904 Vladimir Makarov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vmakarov at gcc dot gnu.org --- Comment #3 from Vladimir Makarov --- (In reply to Jiong Wang from comment #2) > (In reply to Zdenek Sojka from comment #0) > > Created attachment 38393 [details] > > reduced testcase > >=20 > > Compiler output: > > $ aarch64-unknown-linux-gnu-gcc -O -fno-split-wide-types testcase.c=20 > > testcase.c: In function 'foo': > > testcase.c:8:1: internal compiler error: Max. number of generated reload > > insns per insn is achieved (90) > >=20 > > } > > ^ > > 0x9dafa9 lra_constraints(bool) > > /repo/gcc-trunk/gcc/lra-constraints.c:4440 > > 0x9c63dc lra(_IO_FILE*) > > /repo/gcc-trunk/gcc/lra.c:2290 > > 0x96de19 do_reload > > /repo/gcc-trunk/gcc/ira.c:5425 > > 0x96de19 execute > > /repo/gcc-trunk/gcc/ira.c:5609 >=20 > From rtl dump, reload is trying to insert the following reload insn >=20 > r93:OI =3D r80:OI >=20 > r93 is with general register class and r80 is with vector register > class. r93 was created to meet the constraint inside insn 17, and was to > replace the vector register r80 inside the subreg, as vector register > can't be used as index register. >=20 > (insn 17 11 20 2 (set (mem:SI (plus:DI (sign_extract:DI (mult:DI (subreg:= DI > (reg:OI 80 [ D.2754 ]) 0) > (const_int 4 [0x4]))=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > (const_int 34 [0x22])=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > (const_int 0 [0])) > (reg/f:DI 83)) [1 *_9+0 S4 A32]) > (const_int 0 [0])) bug-1.c:7 49 {*movsi_aarch64} >=20 > reload here is trying to reload the inner register r80 instead of the who= le > subreg, > thus creating a new "OImode (vector register)" to "OImode (general regist= er" > move > which can't be supported in hardware and caused further endless reload. >=20 > For mode with size bigger than word_mode, there won't be "mov" between > two registers with different classes, but there normally will be "mov" > which transfers element of vector register into the general register, and > this normally will be a subreg. >=20 > So I think we should teach reload about this to reload the whole subreg > if above conditions met. >=20 > Comments? >=20 > (CCed RA maintainer Vlad) >=20 > diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c > index 14d5f1d..0ca7a7d 100644 > --- a/gcc/lra-constraints.c > +++ b/gcc/lra-constraints.c > @@ -1307,7 +1307,15 @@ process_addr_reg (rtx *loc, bool check_only_p, > rtx_insn **before, rtx_insn **aft >=20 > subreg_p =3D GET_CODE (*loc) =3D=3D SUBREG; > if (subreg_p) > - loc =3D &SUBREG_REG (*loc); > + { > + reg =3D SUBREG_REG (*loc); > + mode =3D GET_MODE (reg); > + > + if (in_class_p (reg, cl, &new_class) > + || GET_MODE_SIZE (mode) <=3D GET_MODE_SIZE (word_mode)) > + loc =3D &SUBREG_REG (*loc); > + } > + > reg =3D *loc; > mode =3D GET_MODE (reg); > if (! REG_P (reg)) In general the patch looks ok for me. It is probably the right place to fix it. I'd add a comment for condition of checking the mode size and use ptr_= mode instead of word_mode. With these changes the patch is ok for me. Of course, you need to test it = also on x86-64 (especially on GCC testsuite). Even if it looks ok to me, the reality can be different because LRA/reload works with many target details whose interaction is very hard to predict. Jiong, thank you for working on this PR. >>From gcc-bugs-return-524841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 14:07:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3389 invoked by alias); 11 May 2016 14:07:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2608 invoked by uid 48); 11 May 2016 14:07:43 -0000 From: "ktietz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71054] [6/7 Regression] ICE: in expand_expr_real_2, at expr.c:8097 Date: Wed, 11 May 2016 14:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktietz at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01013.txt.bz2 Content-length: 570 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71054 Kai Tietz changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |ktietz at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #5 from Kai Tietz --- it is a duplicate. *** This bug has been marked as a duplicate of bug 70869 *** >>From gcc-bugs-return-524842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 14:07:57 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3400 invoked by alias); 11 May 2016 14:07:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2829 invoked by uid 48); 11 May 2016 14:07:45 -0000 From: "ktietz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70869] [6/7 Regression] internal compiler error: Segmentation fault on array of pointer to function members Date: Wed, 11 May 2016 14:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktietz 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01014.txt.bz2 Content-length: 441 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70869 Kai Tietz changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |john.ettedgui at gmail dot= com --- Comment #6 from Kai Tietz --- *** Bug 71054 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-524843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 14:11:07 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24876 invoked by alias); 11 May 2016 14:11:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21444 invoked by uid 48); 11 May 2016 14:10:55 -0000 From: "ktietz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70869] [6/7 Regression] internal compiler error: Segmentation fault on array of pointer to function members Date: Wed, 11 May 2016 14:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktietz 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01015.txt.bz2 Content-length: 637 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70869 Kai Tietz changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ktietz at gcc dot gnu.org --- Comment #7 from Kai Tietz --- Created attachment 38469 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38469&action=3Dedit suggested patch This fixes the issue for me. Additionally this change addresse reported iss= ue for PR 71029, which was about too long folding about OBJ_TYPE_REFs. >>From gcc-bugs-return-524844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 14:12:49 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27230 invoked by alias); 11 May 2016 14:12:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26797 invoked by uid 48); 11 May 2016 14:12:36 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/68463] Offloading fails when some objects are compiled with LTO and some without Date: Wed, 11 May 2016 14:12: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: 6.0 X-Bugzilla-Keywords: lto, openacc, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jnorris at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01016.txt.bz2 Content-length: 863 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68463 Thomas Schwinge changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |jnorris at gcc dot gnu.org, | |tschwinge at gcc dot gnu.o= rg Resolution|FIXED |--- Assignee|unassigned at gcc dot gnu.org |jnorris at gcc dot = gnu.org --- Comment #6 from Thomas Schwinge --- Per : PowerPC GNU/Linux target fixed on trunk in r236098; still needs to be fixed= on gcc-6-branch. >>From gcc-bugs-return-524845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 14:13:25 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29838 invoked by alias); 11 May 2016 14:13:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29620 invoked by uid 48); 11 May 2016 14:13:12 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70869] [6/7 Regression] internal compiler error: Segmentation fault on array of pointer to function members Date: Wed, 11 May 2016 14:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01017.txt.bz2 Content-length: 357 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70869 --- Comment #8 from Jakub Jelinek --- Comment on attachment 38469 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38469 suggested patch DECL_P check doesn't make sense, of course all VAR_Ps are also DECL_Ps, but= no need to verify that. Why the OBJ_TYPE_REF change? >>From gcc-bugs-return-524846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 14:21:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69834 invoked by alias); 11 May 2016 14:21:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69437 invoked by uid 48); 11 May 2016 14:21:38 -0000 From: "ktietz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70869] [6/7 Regression] internal compiler error: Segmentation fault on array of pointer to function members Date: Wed, 11 May 2016 14:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktietz 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01018.txt.bz2 Content-length: 468 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70869 --- Comment #9 from Kai Tietz --- Created attachment 38470 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38470&action=3Dedit updated patch Well, DECL_P check is indeed superfluous, but I added to point out we are checking here for declarations. but VAR_P should be indeed enough. The OBJ_TYPE_REF hunk is related to PR/71029, and can be ignored. I removed= it from update. >>From gcc-bugs-return-524847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 14:24:41 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82802 invoked by alias); 11 May 2016 14:24:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79028 invoked by uid 48); 11 May 2016 14:24:28 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70809] [AArch64] aarch64_vmls pattern should be rejected if -ffp-contract=off Date: Wed, 11 May 2016 14:24: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.8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01019.txt.bz2 Content-length: 561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70809 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ktkachov at gcc dot= gnu.org --- Comment #2 from ktkachov at gcc dot gnu.org --- I'm testing a patch to remove that pattern. If -ffp-contract=3Dfast then an fma operation will be generated so we'll ge= t the fmls anyway. >>From gcc-bugs-return-524848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 15:19:32 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9777 invoked by alias); 11 May 2016 15:19:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9536 invoked by uid 48); 11 May 2016 15:19:19 -0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/69979] ARM naked function attribute not handling structs bigger than 32 bits correctly Date: Wed, 11 May 2016 15:19: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ramana at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on resolution everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01020.txt.bz2 Content-length: 623 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69979 Ramana Radhakrishnan changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Last reconfirmed| |2016-05-11 Resolution|INVALID |--- Ever confirmed|0 |1 --- Comment #4 from Ramana Radhakrishnan --- Reopening given last comment - there seems to be something more to dig into here. >>From gcc-bugs-return-524849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 15:21:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15164 invoked by alias); 11 May 2016 15:21:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15001 invoked by uid 48); 11 May 2016 15:20:50 -0000 From: "andre.simoesdiasvieira at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71062] New: [bugzilla] r235622 and restrict pointers Date: Wed, 11 May 2016 15:21: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andre.simoesdiasvieira at arm 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01021.txt.bz2 Content-length: 1717 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71062 Bug ID: 71062 Summary: [bugzilla] r235622 and restrict pointers Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: andre.simoesdiasvieira at arm dot com Target Milestone: --- Hi there, I have encountered a new FAIL when testing newlib-nano for the arm-none-eabi toolchain which I believe is caused by a change in code generation for freopen.c. After some investigation I was able to trace the issue back to a pointer comparison with a restrict qualified pointer. See below a small piece of co= de that illustrates the issue. $cat t.c extern const char bar; int foo (register char *__restrict p) { if (p =3D=3D &bar) return 1; return 0; } Since revision r235622, the pointer comparison here is evaluated to false during compilation and the whole basic block is optimized away. After some inner struggle and quite a few passes over the restrict definiti= on in the C99 standard(Committee Draft -- April 12, 2011, N1570) I think this assumption that p and &bar can't point to the same object might be invalid. Yes, the C-standard defines the '&' operator to yield a pointer to the obje= ct. Though the formal definition of restrict only seems to apply to the dereferencing of pointers. In this case, we do not dereference the pointer created by '&bar' and thus do not access the object that 'p' might be point= ing to. Does my reasoning make sense? I find it quite difficult to wrap my head aro= und the definition of restrict. Cheers, Andre >>From gcc-bugs-return-524850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 15:23:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17602 invoked by alias); 11 May 2016 15:23:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17443 invoked by uid 55); 11 May 2016 15:22:56 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71050] [7 regression] test case gcc.target/powerpc/lhs-1.c fails starting with r236066 Date: Wed, 11 May 2016 15:23: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: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse 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: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01022.txt.bz2 Content-length: 1213 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71050 --- Comment #4 from rguenther at suse dot de --- On May 11, 2016 3:52:43 PM GMT+02:00, "wschmidt at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71050 > >--- Comment #3 from Bill Schmidt --- >Sorry, accidentally saved before finishing my thoughts. > >How do we "inform" the middle-end that a DI subreg of a DF is very >expensive?=20 I have the same question. >This differs wildly by processor for us. We "can" always do the >subreg, it's >just that on older processors we do it in a horrible way. But it seems you do that during reload only? OTOH not exposing the memory temporary is probably done to help combine which would be confused by memory and because getting rid of the memory slot is not possible later. Catch-22 ... Note we exposed DF to DI subregs similarly before. We expose vector element extracts the same way. So I'm looking for a way to compose a predicate for what kind of 'subregs' = are undesirable (those that need to go through memory). Given the expander cho= ice there likely is no such predicate today. Richard. >>From gcc-bugs-return-524851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 15:24:58 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26140 invoked by alias); 11 May 2016 15:24:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25490 invoked by uid 48); 11 May 2016 15:24:43 -0000 From: "andre.simoesdiasvieira at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71062] [7 regression] r235622 and restrict pointers Date: Wed, 11 May 2016 15:24: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andre.simoesdiasvieira at arm 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: cf_gcctarget short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01023.txt.bz2 Content-length: 603 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71062 Andre Vieira changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |arm Summary|[bugzilla] r235622 and |[7 regression] r235622 and |restrict pointers |restrict pointers --- Comment #1 from Andre Vieira --- Register keyword here is superfluous. It is all down to the restrict keywor= d. >>From gcc-bugs-return-524852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 15:31:54 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60692 invoked by alias); 11 May 2016 15:31:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60407 invoked by uid 48); 11 May 2016 15:31:40 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/71063] New: ICE: Segmentation fault with --help="^" Date: Wed, 11 May 2016 15:31: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01024.txt.bz2 Content-length: 1476 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71063 Bug ID: 71063 Summary: ICE: Segmentation fault with --help=3D"^" Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org Target Milestone: --- gcc --help=3D"^" ICEs with: cc1: internal compiler error: Segmentation fault 0xae26d2 crash_signal $SRC/gcc/toplev.c:333 0x11da90c common_handle_option(gcc_options*, gcc_options*, cl_decoded_option const*, unsigned int, int, unsigned int, cl_option_handlers const*, diagnostic_context*) $SRC/gcc/opts.c:1615 0x11dde00 handle_option $SRC/gcc/opts-common.c:981 0x11ddf98 read_cmdline_option(gcc_options*, gcc_options*, cl_decoded_option= *, unsigned int, unsigned int, cl_option_handlers const*, diagnostic_context*) $SRC/gcc/opts-common.c:1180 0xa16f22 read_cmdline_options $SRC/gcc/opts-global.c:229 0xa16f22 decode_options(gcc_options*, gcc_options*, cl_decoded_option*, unsigned int, unsigned int, diagnostic_context*) $SRC/gcc/opts-global.c:308 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. ICEs at least as far back as 4.6 >>From gcc-bugs-return-524853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 15:35:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91277 invoked by alias); 11 May 2016 15:35:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89644 invoked by uid 48); 11 May 2016 15:35:24 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/71063] ICE: Segmentation fault with --help="^" Date: Wed, 11 May 2016 15:35: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01025.txt.bz2 Content-length: 566 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71063 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-11 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Heh, confirmed. >>From gcc-bugs-return-524855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 15:49:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118266 invoked by alias); 11 May 2016 15:49:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95026 invoked by uid 48); 11 May 2016 15:49:17 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70830] [6/7 Regression] ARM interrupt attribute: push/pop do not support {reglist}^ Date: Wed, 11 May 2016 15:49: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.1.0 X-Bugzilla-Keywords: assemble-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01027.txt.bz2 Content-length: 180 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70830 --- Comment #4 from ktkachov at gcc dot gnu.org --- Patch posted at: https://gcc.gnu.org/ml/gcc-patches/2016-05/msg00395.html >>From gcc-bugs-return-524854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 15:49:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98742 invoked by alias); 11 May 2016 15:49:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68294 invoked by uid 48); 11 May 2016 15:49:06 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/71064] New: nvptx offloading: "long double" data type Date: Wed, 11 May 2016 15:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge 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 blocked target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01026.txt.bz2 Content-length: 1904 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71064 Bug ID: 71064 Summary: nvptx offloading: "long double" data type Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: openacc Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: tschwinge at gcc dot gnu.org CC: amonakov at gcc dot gnu.org, bernds at gcc dot gnu.org, jakub at gcc dot gnu.org, nathan at gcc dot gnu.org Blocks: 70945 Target Milestone: --- Offloading to nvptx (that is, OpenACC only, currently) does not support the "long double" data type: int main() { long double ld; #pragma acc parallel copyout(ld) ld =3D 0.0L; if (ld !=3D 0.0L) __builtin_abort(); return 0; } ... results in: "lto1: fatal error: unsupported mode XF". The PTX ISA does not support a floating point data type with more than 64-b= its. (It's generally tuned for speed instead of precision, and does not strive = for full IEEE-754 conformance.) We can either continue to error out (in a more user-friendly way). Or, (perhaps only for "-ffast-math" or similar?) implement "long double" with t= he maximum available precision (that is, that of "double"; this will require conversion at run time of "long double" values at the offloading boundary), whilst perhaps emitting a warning about the reduced precision. Unless that= 's what's required because GCC generally does it that way, it does not appear appealing to add a lot of "soft-fp" support code to emulate the target's higher-precision "long double" data type for the nvptx offloading target. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70945 [Bug 70945] Offloading: compatibility of target and offloading toolchains >>From gcc-bugs-return-524856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 15:57:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103425 invoked by alias); 11 May 2016 15:57:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103218 invoked by uid 48); 11 May 2016 15:56:57 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/71063] ICE: Segmentation fault with --help="^" Date: Wed, 11 May 2016 15:57: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01028.txt.bz2 Content-length: 1092 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71063 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ktkachov at gcc dot= gnu.org --- Comment #2 from ktkachov at gcc dot gnu.org --- The bug in opts.c is: if (* a =3D=3D '^') { ++ a; pflags =3D & exclude_flags; } else pflags =3D & include_flags; comma =3D strchr (a, ','); if (comma =3D=3D NULL) len =3D strlen (a); else len =3D comma - a; if (len =3D=3D 0) { a =3D comma + 1; continue; } For "^" a is advanced to "", 'comma' after the strchr is NULL, 'len' is therefore 0 but then a is set to comma + 1, which is invalid and is derefer= ence at the top of the loop. >>From gcc-bugs-return-524857-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 16:03:15 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8370 invoked by alias); 11 May 2016 16:03:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7963 invoked by uid 48); 11 May 2016 16:03:02 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/71063] ICE: Segmentation fault with --help="^" Date: Wed, 11 May 2016 16:03: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01029.txt.bz2 Content-length: 510 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71063 --- Comment #3 from Marek Polacek --- FWIW, my fix was --- a/gcc/opts.c +++ b/gcc/opts.c @@ -1641,6 +1641,11 @@ common_handle_option (struct gcc_options *opts, { ++ a; pflags =3D & exclude_flags; + if (*a =3D=3D '\0') + { + error_at (loc, "missing argument to %qs", "--help=3D^"); + break; + } } else pflags =3D & include_flags; >>From gcc-bugs-return-524858-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 16:04:14 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9917 invoked by alias); 11 May 2016 16:04:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9675 invoked by uid 48); 11 May 2016 16:04:01 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71065] New: Missing diagnostic for statements between OpenMP 'target' and 'teams' Date: Wed, 11 May 2016 16:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: accepts-invalid, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01030.txt.bz2 Content-length: 1092 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71065 Bug ID: 71065 Summary: Missing diagnostic for statements between OpenMP 'target' and 'teams' Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: accepts-invalid, openmp Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: amonakov at gcc dot gnu.org Target Milestone: --- OpenMP 4.5 says (4.0 had a similar restriction, sans 'declarations'): If specified, a teams construct must be contained within a target construct. That target construct must contain no statements, declarations or directives outside of the teams construct. As a result GCC should reject this: void f() { #pragma omp target { asm(""); #pragma omp teams ; } } (as I understand, 'if' clause on the 'target' pragma allows the user to run their code in the target region prior to entering 'teams' region anyway, but still diagnosing the above should be useful) >>From gcc-bugs-return-524859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 16:11:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19031 invoked by alias); 11 May 2016 16:11:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17721 invoked by uid 48); 11 May 2016 16:10:59 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/71063] ICE: Segmentation fault with --help="^" Date: Wed, 11 May 2016 16:11: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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 assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01031.txt.bz2 Content-length: 1001 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71063 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW Assignee|ktkachov at gcc dot gnu.org |unassigned at gcc d= ot gnu.org --- Comment #4 from ktkachov at gcc dot gnu.org --- (In reply to Marek Polacek from comment #3) > FWIW, my fix was >=20 > --- a/gcc/opts.c > +++ b/gcc/opts.c > @@ -1641,6 +1641,11 @@ common_handle_option (struct gcc_options *opts, > { > ++ a; > pflags =3D & exclude_flags; > + if (*a =3D=3D '\0') > + { > + error_at (loc, "missing argument to %qs", "--help=3D^"); > + break; > + } > } > else > pflags =3D & include_flags; Ah, this looks a bit cleaner and shorter than what I had in mind. Would you mind testing/submitting yours instead? >>From gcc-bugs-return-524860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 16:22:45 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69613 invoked by alias); 11 May 2016 16:22:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67619 invoked by uid 48); 11 May 2016 16:22:31 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/71063] ICE: Segmentation fault with --help="^" Date: Wed, 11 May 2016 16:22: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01032.txt.bz2 Content-length: 604 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71063 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org Target Milestone|--- |7.0 --- Comment #5 from Marek Polacek --- Sure, and sorry for duplicated work. Now how to test this properly in gcc.misc-tests/help.exp... >>From gcc-bugs-return-524861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 16:31:06 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90883 invoked by alias); 11 May 2016 16:31:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90311 invoked by uid 48); 11 May 2016 16:30:51 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/71063] ICE: Segmentation fault with --help="^" Date: Wed, 11 May 2016 16:31: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01033.txt.bz2 Content-length: 497 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71063 --- Comment #6 from ktkachov at gcc dot gnu.org --- (In reply to Marek Polacek from comment #5) > Sure, and sorry for duplicated work. Now how to test this properly in > gcc.misc-tests/help.exp... Thanks. Ah, I was not aware of gcc.misc-tests/help.exp I was just planning to add a single "int a;" in dg.exp and look for dg-error counting on it ICEing when the bug manifests. But I suppose help.exp should be the canonical place for these... >>From gcc-bugs-return-524862-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 17:07:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57597 invoked by alias); 11 May 2016 17:07:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57369 invoked by uid 48); 11 May 2016 17:07:43 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/71064] nvptx offloading: "long double" data type Date: Wed, 11 May 2016 17:07: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: 7.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01034.txt.bz2 Content-length: 1390 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71064 --- Comment #1 from Alexander Monakov --- > (It's generally tuned for speed instead of precision, and does not strive= for full IEEE-754 conformance.) (PTX is an abstract ISA, if it's tuned for anything it's the simplicity of abstraction and matching for the underlying GPU ISA well enough; why do you claim it doesn't strive for IEEE-754 conformance? if you look at the PTX ISA spec, you'll see remarks on compliance, such as full compliance for +-*/ sq= rt fma on recent hardware implementations; supporting extended fp types is optional). Compilation can succeed if 'double' and 'long double' happen to be binary compatible, like what offloading from ARM would have. Otherwise, diagnosing that as a target compiler error is the right thing to do. Falling back is = not practical, because in the general case the boundary the double<->long double translation would need to happen is: individual memory accesses in offloaded code. An exception are situations where data in 'long double' type is never excha= nged across the host-device boundary: all long double variables referenced in the target region are private to it. You still need to make sure that sizeof(l= ong double) matches, but then on memory accesses you can load/store leftmost 8 bytes (of 16) into a PTX register and operate on it. >>From gcc-bugs-return-524863-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 17:08:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58588 invoked by alias); 11 May 2016 17:08:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58465 invoked by uid 55); 11 May 2016 17:08:09 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71024] Missing warning for contradictory attributes Date: Wed, 11 May 2016 17:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01035.txt.bz2 Content-length: 965 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71024 --- Comment #2 from Marek Polacek --- Author: mpolacek Date: Wed May 11 17:07:37 2016 New Revision: 236129 URL: https://gcc.gnu.org/viewcvs?rev=3D236129&root=3Dgcc&view=3Drev Log: PR c++/71024 * c-common.c (diagnose_mismatched_attributes): New function. * c-common.h (diagnose_mismatched_attributes): Declare. * c-decl.c (diagnose_mismatched_decls): Factor out code to diagnose_mismatched_attributes and call it. * decl.c (duplicate_decls): Call diagnose_mismatched_decls. * c-c++-common/attributes-3.c: New test. Added: trunk/gcc/testsuite/c-c++-common/attributes-3.c Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-common.c trunk/gcc/c-family/c-common.h trunk/gcc/c/ChangeLog trunk/gcc/c/c-decl.c trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524864-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 17:11:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68567 invoked by alias); 11 May 2016 17:11:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67434 invoked by uid 48); 11 May 2016 17:11:20 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71024] Missing warning for contradictory attributes Date: Wed, 11 May 2016 17:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01036.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71024 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Marek Polacek --- Fixed. >>From gcc-bugs-return-524865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 17:21:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110078 invoked by alias); 11 May 2016 17:21:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109812 invoked by uid 48); 11 May 2016 17:21:29 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56765] [OOP] compilation errors/ICE with polymorphic array Date: Wed, 11 May 2016 17:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: ice-on-valid-code, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01037.txt.bz2 Content-length: 615 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56765 --- Comment #6 from Gerhard Steinmetz --- On my environment, all tests compile now without an ICE. (also tested with several other compile options) $ gfortran-6 --version GNU Fortran (SUSE Linux) 6.1.1 20160502 [gcc-6-branch revision 235698] $ gfortran-6 -Wall -Wextra pr56765_comment0_t2.f90 $ a.out $ gfortran-6 -Wall -Wextra pr56765_comment0_t3.f90 pr56765_comment0_t3.f90:4:4: u =3D> sub() 1 Error: Different ranks in pointer assignment at (1) $ gfortran-6 -Wall -Wextra pr56765_comment4.f90 $ a.out >>From gcc-bugs-return-524866-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 17:23:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113358 invoked by alias); 11 May 2016 17:23:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 113018 invoked by uid 48); 11 May 2016 17:23:29 -0000 From: "chengniansun at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71006] [6/7 Regression] ICE: verify_gimple failed (error: type mismatch in conditional expression) w/ -O1 -ftree-loop-vectorize Date: Wed, 11 May 2016 17:23: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-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: chengniansun at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ienkovich at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01038.txt.bz2 Content-length: 1807 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71006 Chengnian Sun changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chengniansun at gmail dot = com --- Comment #3 from Chengnian Sun --- Hi,=20 Can you help check whether the following test case is a duplicate? Thanks.= =20 $: gcc-trunk -v Using built-in specs. COLLECT_GCC=3Dgcc-trunk COLLECT_LTO_WRAPPER=3D/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/= 7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=3Dc,c++,l= to --prefix=3D/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20160511 (experimental) [trunk revision 236116] (GCC) $: $: gcc-trunk -O1 small.c small.c: In function =E2=80=98fn1_BOUOUtg_1828_f2=E2=80=99: small.c:2:6: error: type mismatch in binary expression void fn1_BOUOUtg_1828_f2() { ^~~~~~~~~~~~~~~~~~~ int int unsigned int _4 =3D a.0_1 ^ b.2_6; small.c:2:6: internal compiler error: verify_gimple failed 0xbfe24f verify_gimple_in_cfg(function*, bool) ../../gcc-source-trunk/gcc/tree-cfg.c:5166 0xaeca62 execute_function_todo ../../gcc-source-trunk/gcc/passes.c:1964 0xaed45b execute_todo ../../gcc-source-trunk/gcc/passes.c:2016 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $: $: cat small.c int a, b; void fn1_BOUOUtg_1828_f2() { unsigned c =3D 8 < 10; int d =3D fn1_BOUOUtg_1828_f2 || 8; b =3D d ^ a ^ c ^ b; } int main() { return 0; } $: >>From gcc-bugs-return-524867-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 17:24:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115047 invoked by alias); 11 May 2016 17:24:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114699 invoked by uid 48); 11 May 2016 17:24:19 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/57197] [Fortran-Dev][Regression] ICE in record_reference, at cgraphbuild.c:66 Date: Wed, 11 May 2016 17:24: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: fortran-dev X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01039.txt.bz2 Content-length: 303 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57197 --- Comment #2 from Gerhard Steinmetz --- For me, test compiles now without ICE -- same with "use thing" added. $ gfortran-6 --version GNU Fortran (SUSE Linux) 6.1.1 20160502 [gcc-6-branch revision 235698] >>From gcc-bugs-return-524868-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 17:26:12 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117876 invoked by alias); 11 May 2016 17:26:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 117713 invoked by uid 48); 11 May 2016 17:25:59 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71066] New: ICE in set_loop_bounds, at fortran/trans-array.c:4680 Date: Wed, 11 May 2016 17:26: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01040.txt.bz2 Content-length: 969 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71066 Bug ID: 71066 Summary: ICE in set_loop_bounds, at fortran/trans-array.c:4680 Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fortran@t-online.de Target Milestone: --- This first example is partially related to pr50410 : $ cat z1.f90 program p type t real, allocatable :: a(:,:) end type type(t), pointer :: x data x%a / 1.0 / end $ gfortran-6 z1.f90 internal compiler error: in set_loop_bounds, at fortran/trans-array.c:4680 --- Another situation : $ cat z3.f90 program p real :: a(2,2)[*] data a /4*0.0/ end $ gfortran-6 -fcoarray=3Dsingle z3.f90 $ gfortran-6 -fcoarray=3Dlib z3.f90 internal compiler error: in set_loop_bounds, at fortran/trans-array.c:4680 >>From gcc-bugs-return-524869-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 17:29:43 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1846 invoked by alias); 11 May 2016 17:29:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125409 invoked by uid 48); 11 May 2016 17:29:30 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71067] New: ICE on data initialization with insufficient value or wrong boz-constants Date: Wed, 11 May 2016 17:29: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01041.txt.bz2 Content-length: 1106 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71067 Bug ID: 71067 Summary: ICE on data initialization with insufficient value or wrong boz-constants Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fortran@t-online.de Target Milestone: --- With a missing parameter attribute, or value not initialized : $ cat z1.f90 program p integer :: i =3D 0 integer :: z(2) data z /2*i/ end $ gfortran-6 z1.f90 f951: internal compiler error: free_expr0(): Bad expr type $ cat z2.f90 program p integer :: i, z(2) data z /2*i/ end $ gfortran-6 z2.f90 f951: internal compiler error: free_expr0(): Bad expr type Incidentally observed, with wrong boz-constants : $ cat z4.f90 program p integer :: a(2), b(2), c(2) data a /2*b1'/ data b /2*o1' data c /2*z1 end $ gfortran-6 z4.f90 f951: internal compiler error: free_expr0(): Bad expr type >>From gcc-bugs-return-524870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 17:30:35 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15678 invoked by alias); 11 May 2016 17:30:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15198 invoked by uid 48); 11 May 2016 17:30:18 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71067] ICE on data initialization with insufficient value or wrong boz-constants Date: Wed, 11 May 2016 17:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01042.txt.bz2 Content-length: 868 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71067 --- Comment #1 from Gerhard Steinmetz --- A) correct with parameter : $ cat z3.f90 program p integer, parameter :: i =3D 0 integer :: z(2) data z /2*i/ print *, z end $ gfortran-6 z3.f90 $ a.out 0 0 B) wrong code detected with scalars : $ cat z5.f90 program p integer :: a, b, c data a /b1'/ data b /o1' data c /z1 end $ gfortran-6 z5.f90 z5.f90:3:13: data a /b1'/ 1 Error: Symbol =E2=80=98b1=E2=80=99 must be a PARAMETER in DATA statement at= (1) z5.f90:4:13: data b /o1' 1 Error: Symbol =E2=80=98o1=E2=80=99 must be a PARAMETER in DATA statement at= (1) z5.f90:5:13: data c /z1 1 Error: Symbol =E2=80=98z1=E2=80=99 must be a PARAMETER in DATA statement at= (1) >>From gcc-bugs-return-524871-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 17:34:09 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32169 invoked by alias); 11 May 2016 17:34:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31879 invoked by uid 48); 11 May 2016 17:33:56 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/71068] New: ICE in check_data_variable(): Bad expression Date: Wed, 11 May 2016 17:34: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01043.txt.bz2 Content-length: 934 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71068 Bug ID: 71068 Summary: ICE in check_data_variable(): Bad expression Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fortran@t-online.de Target Milestone: --- With this wrong code : $ cat z1.f90 program p integer :: a(2)[*] data a(1)[1] /1/ data a(2)[1] /2/ end $ gfortran-6 -fcoarray=3Dlib z1.f90 f951: internal compiler error: check_data_variable(): Bad expression Whereas : $ gfortran-6 -fcoarray=3Dsingle z1.f90 z1.f90:4:7: data a(2)[1] /2/ 1 Error: DATA element =E2=80=98a=E2=80=99 at (1) cannot have a coindex z1.f90:3:7: data a(1)[1] /1/ 1 Error: DATA element =E2=80=98a=E2=80=99 at (1) cannot have a coindex >>From gcc-bugs-return-524872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 17:41:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92982 invoked by alias); 11 May 2016 17:41:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90468 invoked by uid 55); 11 May 2016 17:41:42 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70876] ICE in chkp_find_bounds: Unexpected tree code with_size_expr Date: Wed, 11 May 2016 17:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ienkovich at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01044.txt.bz2 Content-length: 1326 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70876 --- Comment #4 from Vittorio Zecca --- Will you please check gcc 6.1 with your fix against bug 70877? I get an ICE, could it be a regression? gcc -fcheck-pointer-bounds -mmpx gccerr36.c gccerr36.c: In function =E2=80=98bar=E2=80=99: gccerr36.c:12:8: warning: function called through a non-compatible type d =3D ((double (*) (int)) foo) (i); ~^~~~~~~~~~~~~~~~~~~~~~~ gccerr36.c: In function =E2=80=98bar.chkp=E2=80=99: gccerr36.c:12:5: internal compiler error: in convert_move, at expr.c:268 d =3D ((double (*) (int)) foo) (i); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0x768d88 convert_move(rtx_def*, rtx_def*, int) ../../gcc-6.1.0/gcc/expr.c:268 0x76e585 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool, tree_node*) ../../gcc-6.1.0/gcc/expr.c:5483 0x76e9ff expand_assignment(tree_node*, tree_node*, bool) ../../gcc-6.1.0/gcc/expr.c:5175 0x691b0c expand_call_stmt ../../gcc-6.1.0/gcc/cfgexpand.c:2658 0x691b0c expand_gimple_stmt_1 ../../gcc-6.1.0/gcc/cfgexpand.c:3548 0x691b0c expand_gimple_stmt ../../gcc-6.1.0/gcc/cfgexpand.c:3714 0x6934a5 expand_gimple_basic_block ../../gcc-6.1.0/gcc/cfgexpand.c:5720 0x698386 execute ../../gcc-6.1.0/gcc/cfgexpand.c:6335 >>From gcc-bugs-return-524873-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 17:43:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97836 invoked by alias); 11 May 2016 17:43:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97234 invoked by uid 55); 11 May 2016 17:43:11 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71062] [7 regression] r235622 and restrict pointers Date: Wed, 11 May 2016 17:43: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01045.txt.bz2 Content-length: 730 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71062 --- Comment #2 from joseph at codesourcery dot com --- I don't think it's valid to optimize for comparisons, where dereference=20 doesn't occur, based on restrict; restrict is only about how an object is=20 accessed (and as long as the object doesn't get modified, multiple=20 pointers, restricted and otherwise, can be used to access it; it's only if= =20 the object is modified[*] that the rules about restrict come into play). [*] Including the deemed modifications from "Every access that modifies X=20 shall be considered also to modify P, for the purposes of this subclause."= =20 to deal with multiple levels of restricted pointers. >>From gcc-bugs-return-524874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 17:50:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75698 invoked by alias); 11 May 2016 17:50:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75390 invoked by uid 48); 11 May 2016 17:50:11 -0000 From: "eugene.zelenko at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71069] New: Extend -Wnonnull-compare to address of reference Date: Wed, 11 May 2016 17:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eugene.zelenko 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01046.txt.bz2 Content-length: 752 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71069 Bug ID: 71069 Summary: Extend -Wnonnull-compare to address of reference Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: eugene.zelenko at gmail dot com Target Milestone: --- I had crash in optimized build because pointer check is skipped in next situation (null pointer is sneaked into container): void setData( Data &data ) { _current_data =3D &data; if ( _current_data ) _set_data.insert( _current_data ); } I think will be good idea to report such situations in -Wnonnull-compare. >>From gcc-bugs-return-524875-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 18:13:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11624 invoked by alias); 11 May 2016 18:13:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11481 invoked by uid 48); 11 May 2016 18:12:57 -0000 From: "alexo_o at ukr dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71070] New: MPX gives a false positive when allocating a string longer than 16 bytes on the stack Date: Wed, 11 May 2016 18:13: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alexo_o at ukr dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01047.txt.bz2 Content-length: 6072 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71070 Bug ID: 71070 Summary: MPX gives a false positive when allocating a string longer than 16 bytes on the stack Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: alexo_o at ukr dot net Target Milestone: --- Created attachment 38471 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38471&action=3Dedit Preprocessed file It works only if: * it is a string, not an array of chars * the string is longer than 16 bytes * the string is allocated on the stack For example, #BR is thrown in the following line: string long_string("A long string with more than 16 symbols"); Full preprocessed source is attached. System setup: * GCC version: 6.1.0 (also appears with 5.3.0) * the system type: Linux f8714f7988cf 4.2.0-35-generic #40-Ubuntu SMP Tue M= ar 15 22:15:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux * Configured with: gcc/src/configure --enable-languages=3Dc,c++ --disable-multilib --enable-libmpx * Compilation flags: -O3 -fcheck-pointer-bounds -mmpx -lmpx Output: short string: short string Allocated a big object Saw a #BR! status 1 at 0x7f8eb754f148 That is, the last line is a false positive.=20 Full output with -v -save-temps: Using built-in specs. COLLECT_GCC=3Dg++ COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0= /lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /root/bin/gcc/src/configure --enable-languages=3Dc,c++ --disable-multilib --enable-libmpx : (reconfigured) ../src/configure --enable-languages=3Dc,c++ --disable-multilib --enable-libmpx Thread model: posix gcc version 5.3.0 (GCC)=20 COLLECT_GCC_OPTIONS=3D'-O3' '-fcheck-pointer-bounds' '-mmpx' '-v' '-save-te= mps' '-shared-libgcc' '-mtune=3Dgeneric' '-march=3Dx86-64' /usr/local/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/cc1plus -E -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE test.cpp -mmpx -mtune=3Dgeneric -march=3Dx86-64 -fcheck-pointer-bounds -O3 -fpch-preprocess -o test.ii ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" ignoring nonexistent directory "/usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../x86_64-unkno= wn-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../include/c++/5= .3.0 /usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../include/c++/5= .3.0/x86_64-unknown-linux-gnu /usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../include/c++/5= .3.0/backward /usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include /usr/local/include /usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include-fixed /usr/include/x86_64-linux-gnu /usr/include End of search list. COLLECT_GCC_OPTIONS=3D'-O3' '-fcheck-pointer-bounds' '-mmpx' '-v' '-save-te= mps' '-shared-libgcc' '-mtune=3Dgeneric' '-march=3Dx86-64' /usr/local/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/cc1plus -fpreprocess= ed test.ii -quiet -dumpbase test.cpp -mmpx -mtune=3Dgeneric -march=3Dx86-64 -a= uxbase test -O3 -version -fcheck-pointer-bounds -o test.s GNU C++ (GCC) version 5.3.0 (x86_64-unknown-linux-gnu) compiled by GNU C version 5.3.0, GMP version 5.1.3, MPFR version 3.1.2-p3, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU C++ (GCC) version 5.3.0 (x86_64-unknown-linux-gnu) compiled by GNU C version 5.3.0, GMP version 5.1.3, MPFR version 3.1.2-p3, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: 316654f71ace181278f48334ff2cbcb8 COLLECT_GCC_OPTIONS=3D'-O3' '-fcheck-pointer-bounds' '-mmpx' '-v' '-save-te= mps' '-shared-libgcc' '-mtune=3Dgeneric' '-march=3Dx86-64' as -v --64 -o test.o test.s GNU assembler version 2.26 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.26.20160125 COMPILER_PATH=3D/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/:/usr= /local/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/:/usr/local/libexec/gcc/x= 86_64-unknown-linux-gnu/:/usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/= :/usr/local/lib/gcc/x86_64-unknown-linux-gnu/ LIBRARY_PATH=3D/usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/:/usr/loca= l/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib64/:/lib/x86_64-lin= ux-gnu/:/lib/../lib64/:/usr/lib/x86_64-linux-gnu/:/usr/local/lib/gcc/x86_64= -unknown-linux-gnu/5.3.0/../../../:/lib/:/usr/lib/ Reading specs from /usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib64/libmpx.= spec COLLECT_GCC_OPTIONS=3D'-O3' '-fcheck-pointer-bounds' '-mmpx' '-v' '-save-te= mps' '-shared-libgcc' '-mtune=3Dgeneric' '-march=3Dx86-64' /usr/local/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/collect2 -plugin /usr/local/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/liblto_plugin.so -plugin-opt=3D/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/lto-wra= pper -plugin-opt=3D-fresolution=3Dtest.res -plugin-opt=3D-pass-through=3D-lgcc_s -plugin-opt=3D-pass-through=3D-lgcc -plugin-opt=3D-pass-through=3D-lc -plugin-opt=3D-pass-through=3D-lgcc_s -plugin-opt=3D-pass-through=3D-lgcc --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 /usr/lib/x86_64-linux-gnu/crt1.o /usr/lib/x86_64-linux-gnu/crti.o /usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/crtbegin.o -L/usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0 -L/usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib64 -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../.. test.o -lmpx -lstdc++ -lm -lmpx -lmpxwrappers -z bndplt -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/crtend.o /usr/lib/x86_64-linux-gnu/crtn.o short string: short string Allocated a big object Saw a #BR! status 1 at 0x7f3220319148 >>From gcc-bugs-return-524876-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 18:20:38 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51097 invoked by alias); 11 May 2016 18:20:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50927 invoked by uid 48); 11 May 2016 18:20:25 -0000 From: "eugene.zelenko at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71069] -Waddress didn't catch all cases Date: Wed, 11 May 2016 18: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eugene.zelenko 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01048.txt.bz2 Content-length: 204 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71069 --- Comment #1 from Eugene Zelenko --- Sorry for mistake in original report. -Waddress should report such problems. >>From gcc-bugs-return-524877-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 18:46:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19215 invoked by alias); 11 May 2016 18:46:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18955 invoked by uid 48); 11 May 2016 18:46:43 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/71071] New: [7 regression] ICE --enable-checking=fold : fold check: original tree changed by fold Date: Wed, 11 May 2016 18:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01049.txt.bz2 Content-length: 4087 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71071 Bug ID: 71071 Summary: [7 regression] ICE --enable-checking=3Dfold : fold check: original tree changed by fold Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r236043 PASS r236132 FAIL /home/dimhen/src/gcc_current/configure --prefix=3D/usr/local/gcc_current --enable-checking=3Dfold --enable-languages=3Dc,c++ --disable-multilib /home/dimhen/build/gcc_current/./gcc/xgcc -B/home/dimhen/build/gcc_current/./gcc/ -B/usr/local/gcc_current/x86_64-pc-linux-gnu/bin/ -B/usr/local/gcc_current/x86_64-pc-linux-gnu/lib/ -isystem /usr/local/gcc_current/x86_64-pc-linux-gnu/include -isystem /usr/local/gcc_current/x86_64-pc-linux-gnu/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fpic -mlong-double-80 -DUSE_ELF_SYMVER -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fpic -mlong-double-80 -DUSE_ELF_SYMVER -I. -I. -I../.././gcc -I/home/dimhen/src/gcc_current/libgcc -I/home/dimhen/src/gcc_current/libgcc/. -I/home/dimhen/src/gcc_current/libgcc/../gcc -I/home/dimhen/src/gcc_current/libgcc/../include -I/home/dimhen/src/gcc_current/libgcc/config/libbid -DENABLE_DECIMAL_BID_FO= RMAT -DHAVE_CC_TLS -DUSE_TLS -o _gcov.o -MT _gcov.o -MD -MP -MF _gcov.dep -DL_g= cov -c /home/dimhen/src/gcc_current/libgcc/libgcov-driver.c /home/dimhen/src/gcc_current/libgcc/libgcov-driver.c: In function '__gcov_dump_one': /home/dimhen/src/gcc_current/libgcc/libgcov-driver.c:855:3: internal compil= er error: fold check: original tree changed by fold if (root->dumped) ^~ 0xa3931f fold_check_failed /home/dimhen/src/gcc_current/gcc/fold-const.c:12099 0xa3a05c fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_nod= e*, tree_node*) /home/dimhen/src/gcc_current/gcc/fold-const.c:12358 0x11e7407 generic_simplify_186 /home/dimhen/build/gcc_current/gcc/generic-match.c:6903 0x1224527 generic_simplify_NE_EXPR /home/dimhen/build/gcc_current/gcc/generic-match.c:27430 0x1229e7a generic_simplify(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) /home/dimhen/build/gcc_current/gcc/generic-match.c:29656 0xa2e7af fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) /home/dimhen/src/gcc_current/gcc/fold-const.c:9265 0xa39f9c fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_nod= e*, tree_node*) /home/dimhen/src/gcc_current/gcc/fold-const.c:12347 0x80aa18 c_fully_fold_internal /home/dimhen/src/gcc_current/gcc/c/c-fold.c:305 0x80a147 c_fully_fold(tree_node*, bool, bool*) /home/dimhen/src/gcc_current/gcc/c/c-fold.c:90 0x7de299 c_parser_condition /home/dimhen/src/gcc_current/gcc/c/c-parser.c:5314 0x7de2f7 c_parser_paren_condition /home/dimhen/src/gcc_current/gcc/c/c-parser.c:5331 0x7de775 c_parser_if_statement /home/dimhen/src/gcc_current/gcc/c/c-parser.c:5493 0x7ddac5 c_parser_statement_after_labels /home/dimhen/src/gcc_current/gcc/c/c-parser.c:5138 0x7dd543 c_parser_compound_statement_nostart /home/dimhen/src/gcc_current/gcc/c/c-parser.c:4858 0x7dcf5a c_parser_compound_statement /home/dimhen/src/gcc_current/gcc/c/c-parser.c:4693 0x7d7fb7 c_parser_declaration_or_fndef /home/dimhen/src/gcc_current/gcc/c/c-parser.c:2105 0x7d6b98 c_parser_external_declaration /home/dimhen/src/gcc_current/gcc/c/c-parser.c:1549 0x7d6740 c_parser_translation_unit /home/dimhen/src/gcc_current/gcc/c/c-parser.c:1430 0x801c9e c_parse_file() /home/dimhen/src/gcc_current/gcc/c/c-parser.c:17915 0x8602ec c_common_parse_file() /home/dimhen/src/gcc_current/gcc/c-family/c-opts.c:1064 Please submit a full bug report, >>From gcc-bugs-return-524878-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 19:06:33 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119989 invoked by alias); 11 May 2016 19:06:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119147 invoked by uid 48); 11 May 2016 19:06:20 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70855] [6/7 Regression] ICE with -fopenmp in gfc_trans_omp_workshare(): Bad statement code Date: Wed, 11 May 2016 19:06: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01050.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70855 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-524880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 19:07:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124821 invoked by alias); 11 May 2016 19:07:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124675 invoked by uid 48); 11 May 2016 19:07:39 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71049] [6/7 Regression] libstdc++ fails to build --with-default-libstdcxx-abi=gcc4-compatible --disable-libstdcxx-dual-abi Date: Wed, 11 May 2016 19:07: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01052.txt.bz2 Content-length: 450 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71049 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jonathan Wakely --- fixed on trunk and gcc-6-branch >>From gcc-bugs-return-524879-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 19:07:30 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123965 invoked by alias); 11 May 2016 19:07:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123856 invoked by uid 55); 11 May 2016 19:07:18 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71049] [6/7 Regression] libstdc++ fails to build --with-default-libstdcxx-abi=gcc4-compatible --disable-libstdcxx-dual-abi Date: Wed, 11 May 2016 19:07: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01051.txt.bz2 Content-length: 609 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71049 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Wed May 11 19:06:45 2016 New Revision: 236137 URL: https://gcc.gnu.org/viewcvs?rev=3D236137&root=3Dgcc&view=3Drev Log: libstdc++/71049 fix --disable-libstdcxx-dual-abi bootstrap PR libstdc++/71049 * src/c++11/cow-stdexcept.cc [!_GLIBCXX_USE_DUAL_ABI]: Don't define exception constructors with __sso_string parameters. Modified: branches/gcc-6-branch/libstdc++-v3/ChangeLog branches/gcc-6-branch/libstdc++-v3/src/c++11/cow-stdexcept.cc >>From gcc-bugs-return-524881-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 19:33:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4657 invoked by alias); 11 May 2016 19:33:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1161 invoked by uid 48); 11 May 2016 19:33:21 -0000 From: "doko at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/71072] New: [6/7] gnat doesn't respect --enable-default-pie Date: Wed, 11 May 2016 19:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01053.txt.bz2 Content-length: 1541 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71072 Bug ID: 71072 Summary: [6/7] gnat doesn't respect --enable-default-pie Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- GCC 6 introduces the --enable-default-pie option, however it looks like gnat doesn't respect this option. Seen while running the examples/matrix test in gprbuild on x86_64-linux-gnu (gnatgcc here is just a symlink to the gcc driver matching the gnat version= ): make[1]: Entering directory '/tmp/adt-run.SU7baW/adttmp/examples/matrix' gprconfig --batch --config Ada --config C --config Fortran -o default.cgpr Creating configuration file: default.cgpr gprbuild using project file matrix.gpr gnatgcc -c -gnat05 main.adb gfortran -c multmat.f gcc -c initmat.c gprbind main.bexch gnatbind main.ali gnatgcc -c b__main.adb ar cr libmatrix.a ... ranlib libmatrix.a gfortran main.o -o main /usr/bin/ld: main.o: relocation R_X86_64_32 against `.rodata' can not be us= ed when making a shared object; recompile with -fPIC main.o: error adding symbols: Bad value Makefile:2: recipe for target 'all' failed make[1]: Leaving directory '/tmp/adt-run.SU7baW/adttmp/examples/matrix' Makefile:5: recipe for target 'all' failed collect2: error: ld returned 1 exit status gprbuild: link of main.adb failed make[1]: *** [all] Error 4 >>From gcc-bugs-return-524882-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 19:43:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83904 invoked by alias); 11 May 2016 19:43:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36649 invoked by uid 48); 11 May 2016 19:42:50 -0000 From: "froydnj at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71073] New: debug-mode headers should include #pragma GCC system_header directives Date: Wed, 11 May 2016 19:43: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: froydnj 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01054.txt.bz2 Content-length: 585 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71073 Bug ID: 71073 Summary: debug-mode headers should include #pragma GCC system_header directives Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: froydnj at gcc dot gnu.org Target Milestone: --- This change would help analysis tools cope with the code in the debug-mode headers, usually by ignoring it. >>From gcc-bugs-return-524883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 20:11:39 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126384 invoked by alias); 11 May 2016 20:11:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123425 invoked by uid 48); 11 May 2016 20:11:26 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/71072] GNAT doesn't respect --enable-default-pie Date: Wed, 11 May 2016 20:11: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01055.txt.bz2 Content-length: 829 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71072 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2016-05-11 CC| |ebotcazou at gcc dot gnu.o= rg Summary|[6/7] gnat doesn't respect |GNAT doesn't respect |--enable-default-pie |--enable-default-pie Ever confirmed|0 |1 --- Comment #1 from Eric Botcazou --- There is not enough information. Please provide a testcase and a GCC comma= nd line (no, a GPRbuild invocation doesn't qualify). >>From gcc-bugs-return-524884-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 20:24:23 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50183 invoked by alias); 11 May 2016 20:24:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50002 invoked by uid 55); 11 May 2016 20:24:10 -0000 From: "miyuki at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/43651] add warning for duplicate qualifier Date: Wed, 11 May 2016 20:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.2.4 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: miyuki 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01056.txt.bz2 Content-length: 1359 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D43651 --- Comment #8 from Mikhail Maltsev --- Author: miyuki Date: Wed May 11 20:23:37 2016 New Revision: 236142 URL: https://gcc.gnu.org/viewcvs?rev=3D236142&root=3Dgcc&view=3Drev Log: PR43651: add warning for duplicate qualifier gcc/c/ PR c/43651 * c-decl.c (declspecs_add_qual): Warn when -Wduplicate-decl-specifi= er is enabled. * c-errors.c (pedwarn_c90): Return true if warned. * c-tree.h (pedwarn_c90): Change return type to bool. (enum c_declspec_word): Add new enumerator cdw_atomic. gcc/ PR c/43651 * doc/invoke.texi (Wduplicate-decl-specifier): Document new option. gcc/testsuite/ PR c/43651 * gcc.dg/Wduplicate-decl-specifier-c11.c: New test. * gcc.dg/Wduplicate-decl-specifier.c: Likewise. gcc/c-family/ PR c/43651 * c.opt (Wduplicate-decl-specifier): New option. Added: trunk/gcc/testsuite/gcc.dg/Wduplicate-decl-specifier-c11.c trunk/gcc/testsuite/gcc.dg/Wduplicate-decl-specifier.c Modified: trunk/gcc/ChangeLog trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c.opt trunk/gcc/c/ChangeLog trunk/gcc/c/c-decl.c trunk/gcc/c/c-errors.c trunk/gcc/c/c-tree.h trunk/gcc/doc/invoke.texi trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 20:29:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106031 invoked by alias); 11 May 2016 20:29:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105786 invoked by uid 48); 11 May 2016 20:28:50 -0000 From: "miyuki at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/43651] add warning for duplicate qualifier Date: Wed, 11 May 2016 20:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.2.4 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: miyuki 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01057.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D43651 Mikhail Maltsev changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #9 from Mikhail Maltsev --- Fixed for GCC 7. >>From gcc-bugs-return-524886-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 20:49:50 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33739 invoked by alias); 11 May 2016 20:49:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33406 invoked by uid 48); 11 May 2016 20:49:37 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/70825] x86_64: __atomic_compare_exchange_n() accesses stack unnecessarily Date: Wed, 11 May 2016 20:49: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01058.txt.bz2 Content-length: 843 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70825 Bill Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- Target|x86_64, aarch64 |x86_64, aarch64, powerpc64* --- Comment #3 from Bill Schmidt --- Also on powerpc64: .file "gorp.c" .abiversion 2 .section ".text" .align 2 .p2align 4,,15 .globl test_atomic_cmpxchg .type test_atomic_cmpxchg, @function test_atomic_cmpxchg: li 9,23 stw 9,-16(1) <-- unnecessary sync .L2: lwarx 9,0,3 cmpwi 0,9,23 bne 0,.L3 li 9,42 stwcx. 9,0,3 bne 0,.L2 isync .L3: blr >>From gcc-bugs-return-524888-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 21:15:53 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30057 invoked by alias); 11 May 2016 21:15:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23511 invoked by uid 48); 11 May 2016 21:15:40 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/71074] combine.c in simplify_comparison sanitizer detects left shift of negative value Date: Wed, 11 May 2016 21:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: zeccav 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_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01060.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71074 Vittorio Zecca changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor >>From gcc-bugs-return-524887-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 21:15:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21799 invoked by alias); 11 May 2016 21:15:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14916 invoked by uid 48); 11 May 2016 21:15:23 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/71074] New: combine.c in simplify_comparison sanitizer detects left shift of negative value Date: Wed, 11 May 2016 21:15: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeccav 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01059.txt.bz2 Content-length: 909 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71074 Bug ID: 71074 Summary: combine.c in simplify_comparison sanitizer detects left shift of negative value Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com Target Milestone: --- /* gcc -O2 sanitizer undefined runtime error */ /* In gcc trunk 7.0 */ /* ../../gcc7/gcc/combine.c:12340:18: runtime error: left shift of negative value -13 */ /* combine.c:12340 is "const_op <<=3D INTVAL (XEXP (op0, 1));" */ /* From PR target/49238 */ int bar (void); void foo (unsigned long long a, int b) { int i; for (a =3D -12; a >=3D 10; a =3D bar ()) break; if (i =3D=3D bar () || bar () >=3D a) bar (); } >>From gcc-bugs-return-524889-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 21:24:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78975 invoked by alias); 11 May 2016 21:24:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78783 invoked by uid 48); 11 May 2016 21:24:46 -0000 From: "romain.geissler at amadeus dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/71021] [libatomic testsuite] Test program compilation fail (missing -pthread flag) Date: Wed, 11 May 2016 21:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 4.9.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: romain.geissler at amadeus 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01061.txt.bz2 Content-length: 175 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71021 --- Comment #2 from Romain Geissler --- The very same thing happens with gcc 6.1.1. >>From gcc-bugs-return-524890-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 21:26:01 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81372 invoked by alias); 11 May 2016 21:26:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81008 invoked by uid 48); 11 May 2016 21:25:47 -0000 From: "romain.geissler at amadeus dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/71021] [libatomic testsuite] Test program compilation fail (missing -pthread flag) Date: Wed, 11 May 2016 21:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 4.9.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: romain.geissler at amadeus 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01062.txt.bz2 Content-length: 227 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71021 --- Comment #3 from Romain Geissler --- Please note that this is the only target lib that fails for me. Others (like libgomp) are fine. >>From gcc-bugs-return-524891-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 22:03:36 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111449 invoked by alias); 11 May 2016 22:03:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110963 invoked by uid 48); 11 May 2016 22:03:23 -0000 From: "arthur.j.odwyer at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71075] New: Broken diagnostic: 'integer_cst' not supported by 'dump_decl' Date: Wed, 11 May 2016 22:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: arthur.j.odwyer 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01063.txt.bz2 Content-length: 1605 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71075 Bug ID: 71075 Summary: Broken diagnostic: 'integer_cst' not supported by 'dump_decl' Product: gcc Version: unknown Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: arthur.j.odwyer at gmail dot com Target Milestone: --- I'm not sure how this isn't a duplicate of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51229 , but that bug has been marked RESOLVED FIXED since 2011, and this bug still reproduces in GCC 7.0. template struct A {}; template void foo(A) {} int main() { foo(A()); } =3D=3D=3D=3D prog.cc: In function 'int main()': prog.cc:4:19: error: no matching function for call to 'foo(A)' foo(A()); ^ prog.cc:2:27: note: candidate: template void foo(A) template void foo(A) {} ^~~ prog.cc:2:27: note: template argument deduction/substitution failed: prog.cc:4:19: note: template argument '2' does not match '#'integer_cst' = not supported by dump_decl#' foo(A()); ^ =3D=3D=3D=3D Notice the last diagnostic line above: "template argument '2' does not match '#'integer_cst' not supported by dump_decl#'". I think GCC is correct in rejecting the input program; it just doesn't understand how to print the resulting diagnostic. >>From gcc-bugs-return-524892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 11 23:14:48 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31080 invoked by alias); 11 May 2016 23:14:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30981 invoked by uid 48); 11 May 2016 23:14:34 -0000 From: "manisandro at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71076] New: Internal compiler error Date: Wed, 11 May 2016 23:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manisandro 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01064.txt.bz2 Content-length: 953 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71076 Bug ID: 71076 Summary: Internal compiler error Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: manisandro at gmail dot com Target Milestone: --- Following is with gcc version 6.1.1 20160510 (Red Hat 6.1.1-2) (GCC)=20 Following code snippet compiled as g++ -c -O foo.cpp -o foo.o produces an ICE: foo.cpp: -------- extern "C" { extern float sqrtf (float); } template struct Foo { Foo(); T a() const; Foo b() const; }; template Foo Foo::b() const { T x =3D a(); T y =3D x < 0 ? 0 : ::sqrtf (x); return y =3D=3D T(0) ? Foo() : Foo(); } struct Bar { ~Bar(); }; void foo() { Bar bar; Foo dir =3D Foo().b(); } >>From gcc-bugs-return-524893-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 00:43:13 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53240 invoked by alias); 12 May 2016 00:43:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44424 invoked by uid 48); 12 May 2016 00:42:59 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71076] [6/7 Regression] error: missing PHI def Date: Thu, 12 May 2016 00:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc component short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01065.txt.bz2 Content-length: 1175 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71076 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-12 CC| |trippels at gcc dot gnu.org Component|c++ |middle-end Summary|Internal compiler error |[6/7 Regression] error: | |missing PHI def Ever confirmed|0 |1 --- Comment #1 from Markus Trippelsdorf --- x.ii: In function =E2=80=98void foo()=E2=80=99: x.ii:22:6: error: missing PHI def void foo() { ^~~ iftmp.0_12 =3D PHI <0.0(4), _11(11), (5)> x.ii:22:6: internal compiler error: verify_gimple failed 0xd8a706 verify_gimple_in_cfg(function*, bool) ../../gcc/gcc/tree-cfg.c:5166 0xc7ead3 execute_function_todo ../../gcc/gcc/passes.c:1964 0xc7f48b execute_todo ../../gcc/gcc/passes.c:2016 >>From gcc-bugs-return-524894-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 02:24:24 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29068 invoked by alias); 12 May 2016 02:24:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28589 invoked by uid 48); 12 May 2016 02:24:02 -0000 From: "john.ettedgui at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70869] [6/7 Regression] internal compiler error: Segmentation fault on array of pointer to function members Date: Thu, 12 May 2016 02:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: john.ettedgui 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01066.txt.bz2 Content-length: 475 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70869 --- Comment #10 from John Ettedgui --- I tried to rebuild my gcc with Kal's patch but it fails with this error: "make[6]: *** No rule to make target '../src/c++11/libc++11convenience.la', needed by 'libstdc++.la'. Stop." I don't understand how it relates to the patch, and I have no issue rebuild= ing without the patch. Should I use the patch against 6.2 trunk and not 6.1.1? Thanks >>From gcc-bugs-return-524895-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 05:17:03 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110945 invoked by alias); 12 May 2016 05:17:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102403 invoked by uid 48); 12 May 2016 05:16:49 -0000 From: "saguryev.gnu at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/71077] New: gcc -lto raises ICE Date: Thu, 12 May 2016 05:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: saguryev.gnu 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01067.txt.bz2 Content-length: 2237 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71077 Bug ID: 71077 Summary: gcc -lto raises ICE Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: saguryev.gnu at gmail dot com Target Milestone: --- gcc raises ICE as follows starting from rev. 235653 : [# 00000001] {2186}$> ./gcc -O3 -flto -march=3Dcore-avx2 O768_r.c [ warnings snipped ]=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 O768_r.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] main() { ^~~~=20 O768_r.c: In function 'main': O768_r.c:3:1: internal compiler error: in find_taken_edge_cond_expr, at tree-cfg.c:2235 main() { ^ 0xa9fe03 find_taken_edge_cond_expr ../../..//src/235653/gcc/tree-cfg.c:2235 0xa9fe03 find_taken_edge(basic_block_def*, tree_node*) ../../..//src/235653/gcc/tree-cfg.c:2182 0xc5880c thread_through_normal_block ../../..//src/235653/gcc/tree-ssa-threadedge.c:1077 0xc5a124 thread_across_edge(gcond*, edge_def*, bool, const_and_copies*, avail_exprs_stack*, tree_node* (*)(gimple*, gimple*, avail_exprs_stack*)) ../../..//src/235653/gcc/tree-ssa-threadedge.c:1274 0xce641f identify_jump_threads ../../..//src/235653/gcc/tree-vrp.c:10184 0xce641f vrp_finalize ../../..//src/235653/gcc/tree-vrp.c:10256 0xce641f execute_vrp ../../..//src/235653/gcc/tree-vrp.c:10345 0xce641f execute ../../..//src/235653/gcc/tree-vrp.c:10430 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. lto-wrapper: fatal error: ./gcc returned 1 exit status compilation terminated. /usr/bin/ld: lto-wrapper failed collect2: error: ld returned 1 exit status [# 00000001] {2187}$> cat O768_r.c *a; b, c, d; main() { for (;; b++) { c =3D 0; for (; c < 32; c++) if (b & 1 << c) a[b + c] =3D d; } } >>From gcc-bugs-return-524896-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 05:55:40 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95462 invoked by alias); 12 May 2016 05:55:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36570 invoked by uid 48); 12 May 2016 05:54:53 -0000 From: "saguryev.gnu at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71077] gcc -lto raises ICE Date: Thu, 12 May 2016 05:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: saguryev.gnu 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01068.txt.bz2 Content-length: 503 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71077 --- Comment #1 from Sergey --- Upd: with the reduced testcase the problem hid out after May 3; here is a bigger testcase which reveals it reliably : output_inline_function() { rest_of_compilation(); } *a; b, c, d, e; sched_analyze() { for (; b; b++) { c =3D 0; for (; c < 32; c++) if (b & 1 << c) a[b + c] =3D d; } } schedule_insns() { e =3D sched_analyze; } main() { schedule_insns(); } >>From gcc-bugs-return-524897-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 07:00:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123334 invoked by alias); 12 May 2016 07:00:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122890 invoked by uid 48); 12 May 2016 07:00:15 -0000 From: "Joost.VandeVondele at mat dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71078] New: x/abs(x) -> sign(1.0,x) Date: Thu, 12 May 2016 07:00: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01069.txt.bz2 Content-length: 675 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71078 Bug ID: 71078 Summary: x/abs(x) -> sign(1.0,x) Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- just noticed in some legacy code the equivalent of this construct: REAL FUNCTION mysign(x) REAL :: x mysign=3Dx/abs(x) END FUNCTION which I would expect to be converted to some form of copysign function with '-O3 -ffast-math', but it is not. >>From gcc-bugs-return-524898-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 07:12:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72282 invoked by alias); 12 May 2016 07:12:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71728 invoked by uid 48); 12 May 2016 07:12:44 -0000 From: "theubik at mail dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71010] error: 'begin' was not declared in this scope Date: Thu, 12 May 2016 07: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: theubik at mail dot ru 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: resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01070.txt.bz2 Content-length: 612 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71010 Ubikovich changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |FIXED --- Comment #3 from Ubikovich --- But since C++14 cbegin invoke std::begin: // http://en.cppreference.com/w/cpp/iterator/begin template< class C > constexpr auto cbegin( const C& c ) -> decltype(std::begin(c)); (3) (since C++14) Then in what namespace should be user-defined begin/end? >>From gcc-bugs-return-524899-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 07:19:42 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84686 invoked by alias); 12 May 2016 07:19:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68509 invoked by uid 48); 12 May 2016 07:19:29 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70986] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in combine_blocks, at tree-if-conv.c:2219 Date: Thu, 12 May 2016 07:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01071.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70986 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Richard Biener --- Fixed. >>From gcc-bugs-return-524900-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 07:19:44 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85352 invoked by alias); 12 May 2016 07:19:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70813 invoked by uid 55); 12 May 2016 07:19:31 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70986] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in combine_blocks, at tree-if-conv.c:2219 Date: Thu, 12 May 2016 07:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01072.txt.bz2 Content-length: 854 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70986 --- Comment #7 from Richard Biener --- Author: rguenth Date: Thu May 12 07:18:58 2016 New Revision: 236158 URL: https://gcc.gnu.org/viewcvs?rev=3D236158&root=3Dgcc&view=3Drev Log: 2016-05-12 Richard Biener PR tree-optimization/70986 * cfganal.c: Include cfgloop.h. (dfs_find_deadend): Prefer to take edges exiting loops. * gcc.dg/torture/pr70986-1.c: New testcase. * gcc.dg/torture/pr70986-2.c: Likewise. * gcc.dg/torture/pr70986-3.c: Likewise. Added: trunk/gcc/testsuite/gcc.dg/torture/pr70986-1.c trunk/gcc/testsuite/gcc.dg/torture/pr70986-2.c trunk/gcc/testsuite/gcc.dg/torture/pr70986-3.c Modified: trunk/gcc/ChangeLog trunk/gcc/cfganal.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524901-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 07:25:28 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121803 invoked by alias); 12 May 2016 07:25:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121412 invoked by uid 48); 12 May 2016 07:25:15 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71079] New: ICE on valid code at -O1 and above on x86_64-linux-gnu: verify_gimple failed Date: Thu, 12 May 2016 07:25: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: su at cs dot ucdavis.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01073.txt.bz2 Content-length: 1936 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71079 Bug ID: 71079 Summary: ICE on valid code at -O1 and above on x86_64-linux-gnu: verify_gimple failed Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: su at cs dot ucdavis.edu Target Milestone: --- The following code causes an ICE when compiled with the current gcc trunk at -O1 and above on x86_64-linux-gnu in both 32-bit and 64-bit modes. $ gcc-trunk -v Using built-in specs. COLLECT_GCC=3Dgcc-trunk COLLECT_LTO_WRAPPER=3D/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/= 7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=3Dc,c++,l= to --prefix=3D/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20160511 (experimental) [trunk revision 236125] (GCC)=20 $=20 $ gcc-trunk -O0 -c small.c $=20=20=20=20=20=20=20=20=20 $ gcc-trunk -O1 -c small.c small.c: In function =E2=80=98fn1=E2=80=99: small.c:10:1: error: type mismatch in binary expression } ^ unsigned int int unsigned int _12 =3D a.0_1 ^ c.4_4; small.c:10:1: internal compiler error: verify_gimple failed 0xbfe28f verify_gimple_in_cfg(function*, bool) ../../gcc-source-trunk/gcc/tree-cfg.c:5166 0xaecaa2 execute_function_todo ../../gcc-source-trunk/gcc/passes.c:1964 0xaed49b execute_todo ../../gcc-source-trunk/gcc/passes.c:2016 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $=20 ------------------------------ int a;=20 unsigned b, c;=20 void fn1 () { int d =3D 1, e, f; e =3D ~a ^ ~1; f =3D (b || d) ^ c ^ e; } >>From gcc-bugs-return-524902-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 07:30:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9819 invoked by alias); 12 May 2016 07:30:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9306 invoked by uid 55); 12 May 2016 07:30:07 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71060] Compiler reports "loop vectorized" but actually it was not Date: Thu, 12 May 2016 07:30: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.1 X-Bugzilla-Keywords: diagnostic, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01074.txt.bz2 Content-length: 575 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71060 --- Comment #3 from Richard Biener --- Author: rguenth Date: Thu May 12 07:29:33 2016 New Revision: 236159 URL: https://gcc.gnu.org/viewcvs?rev=3D236159&root=3Dgcc&view=3Drev Log: 2016-05-12 Richard Biener PR tree-optimization/71060 * tree-data-ref.c (initialize_data_dependence_relation): Do not require exact match of DR_BASE_OBJECT but only matching address and type. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-data-ref.c >>From gcc-bugs-return-524903-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 07:30:37 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10948 invoked by alias); 12 May 2016 07:30:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10166 invoked by uid 48); 12 May 2016 07:30:21 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71060] Compiler reports "loop vectorized" but actually it was not Date: Thu, 12 May 2016 07:30: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.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01075.txt.bz2 Content-length: 505 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71060 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|diagnostic | --- Comment #4 from Richard Biener --- Behavior of the testcase is fixed - I'm leaving this open for the issue that if-conversion doesn't transfer restrict info to masked loads/stores. >>From gcc-bugs-return-524904-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 07:34:17 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36456 invoked by alias); 12 May 2016 07:34:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21514 invoked by uid 48); 12 May 2016 07:34:03 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71078] x/abs(x) -> sign(1.0,x) Date: Thu, 12 May 2016 07:34: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.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc component everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01076.txt.bz2 Content-length: 1162 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71078 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-12 CC| |rguenth at gcc dot gnu.org Component|tree-optimization |middle-end Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. Similar to /* Optimize A / A to 1.0 if we don't care about NaNs or Infinities. */ (simplify (rdiv @0 @0) (if (FLOAT_TYPE_P (type) && ! HONOR_NANS (type) && ! HONOR_INFINITIES (type)) { build_one_cst (type); })) /* Optimize -A / A to -1.0 if we don't care about NaNs or Infinities. */ (simplify (rdiv:C @0 (negate @0)) (if (FLOAT_TYPE_P (type) && ! HONOR_NANS (type) && ! HONOR_INFINITIES (type)) { build_minus_one_cst (type); })) >>From gcc-bugs-return-524905-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 07:50:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120706 invoked by alias); 12 May 2016 07:50:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114613 invoked by uid 48); 12 May 2016 07:50:42 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/71077] [7 Regression] gcc -lto raises ICE Date: Thu, 12 May 2016 07: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: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01077.txt.bz2 Content-length: 1680 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71077 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-12 CC| |ppalka at gcc dot gnu.org Target Milestone|--- |7.0 Summary|gcc -lto raises ICE |[7 Regression] gcc -lto | |raises ICE Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- Confirmed. #1 0x0000000000d9c921 in find_taken_edge_cond_expr ( bb=3D, val=3D) at /space/rguenther/src/svn/trunk/gcc/tree-cfg.c:2230 2230 gcc_assert (TREE_CODE (val) =3D=3D INTEGER_CST); (gdb) l 2225 { 2226 edge true_edge, false_edge; 2227 2228 extract_true_false_edges_from_block (bb, &true_edge, &false_edge); 2229 2230 gcc_assert (TREE_CODE (val) =3D=3D INTEGER_CST); 2231 return (integer_zerop (val) ? false_edge : true_edge); 2232 } 2233 2234 /* Given an INTEGER_CST VAL and the entry block BB to a SWITCH_EXPR (gdb) p val $1 =3D simplify_control_stmt_condition doesn't handle vector equality tests in GIMPLE_CONDs nor do I think it handles the combining step correctly (failing to properly use constant_boolean_node instead of zero/one). >>From gcc-bugs-return-524906-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 07:55:34 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31888 invoked by alias); 12 May 2016 07:55:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31633 invoked by uid 48); 12 May 2016 07:55:21 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71076] [6/7 Regression] error: missing PHI def Date: Thu, 12 May 2016 07:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority cf_known_to_work target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01078.txt.bz2 Content-length: 691 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71076 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Known to work| |5.3.0 Target Milestone|--- |6.2 --- Comment #2 from Richard Biener --- Another call cdce issue. Looks like edges are hosed as well (and this may = be the reason for the bogus PHI): ;; basic block 11, loop depth 0 ;; pred: 5 sqrtf (_10); ;; succ: 6 ;; 10 >>From gcc-bugs-return-524907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 07:57:11 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34601 invoked by alias); 12 May 2016 07:57:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33648 invoked by uid 48); 12 May 2016 07:56:58 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/71071] [7 regression] ICE --enable-checking=fold : fold check: original tree changed by fold Date: Thu, 12 May 2016 07:57: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01079.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71071 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0 >>From gcc-bugs-return-524908-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 07:57:31 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43179 invoked by alias); 12 May 2016 07:57:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36435 invoked by uid 48); 12 May 2016 07:57:17 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71062] [7 regression] r235622 and restrict pointers Date: Thu, 12 May 2016 07:57: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.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01080.txt.bz2 Content-length: 682 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71062 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-12 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Target Milestone|--- |7.0 Ever confirmed|0 |1 --- Comment #3 from Richard Biener --- Mine. >>From gcc-bugs-return-524909-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 08:23:56 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10334 invoked by alias); 12 May 2016 08:23:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10237 invoked by uid 48); 12 May 2016 08:23:50 -0000 From: "ktietz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70869] [6/7 Regression] internal compiler error: Segmentation fault on array of pointer to function members Date: Thu, 12 May 2016 08:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktietz 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01081.txt.bz2 Content-length: 413 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70869 --- Comment #11 from Kai Tietz --- this doesn't seem to be related with my patch at all. It looks more like y= ou are trying to re-use an old build tree. Patch is made against trunk.=20 Nevertheless should work for 6.x branch, too. I build in general just a cross-compiler, and this works with and without t= his patch flawless. >>From gcc-bugs-return-524910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 08:28:20 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17290 invoked by alias); 12 May 2016 08:28:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17061 invoked by uid 48); 12 May 2016 08:28:07 -0000 From: "john.ettedgui at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70869] [6/7 Regression] internal compiler error: Segmentation fault on array of pointer to function members Date: Thu, 12 May 2016 08:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: john.ettedgui 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01082.txt.bz2 Content-length: 166 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70869 --- Comment #12 from John Ettedgui --- Well, I'll keep trying then. Thank you! >>From gcc-bugs-return-524911-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 08:34:00 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42238 invoked by alias); 12 May 2016 08:34:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41966 invoked by uid 55); 12 May 2016 08:33:47 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71019] AVX512BW instructions emitted even without AVX512BW Date: Thu, 12 May 2016 08:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01083.txt.bz2 Content-length: 1104 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71019 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Thu May 12 08:33:14 2016 New Revision: 236163 URL: https://gcc.gnu.org/viewcvs?rev=3D236163&root=3Dgcc&view=3Drev Log: PR target/71019 * config/i386/sse.md (_packssdw, _packusdw): Make sure EVEX encoded insn is not emitted unless TARGET_AVX512BW. (_packuswb, _packsswb): Likewise. For TARGET_AVX512BW, use "=3Dv" constraint instead of "= =3Dx" for the result operand. * gcc.target/i386/avx512vl-pack-1.c: New test. * gcc.target/i386/avx512vl-pack-2.c: New test. * gcc.target/i386/avx512bw-pack-2.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/avx512bw-pack-2.c trunk/gcc/testsuite/gcc.target/i386/avx512vl-pack-1.c trunk/gcc/testsuite/gcc.target/i386/avx512vl-pack-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/sse.md trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-524912-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 08:39:59 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90419 invoked by alias); 12 May 2016 08:39:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90177 invoked by uid 48); 12 May 2016 08:39:46 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71074] combine.c in simplify_comparison sanitizer detects left shift of negative value Date: Thu, 12 May 2016 08:39: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: ktkachov 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01084.txt.bz2 Content-length: 552 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71074 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-12 CC| |ktkachov at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from ktkachov at gcc dot gnu.org --- Confirmed on trunk with an assert >>From gcc-bugs-return-524913-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 08:59:18 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76217 invoked by alias); 12 May 2016 08:59:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75837 invoked by uid 48); 12 May 2016 08:59:05 -0000 From: "ktietz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70869] [6/7 Regression] internal compiler error: Segmentation fault on array of pointer to function members Date: Thu, 12 May 2016 08:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktietz 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01085.txt.bz2 Content-length: 886 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70869 Kai Tietz changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #38469|0 |1 is obsolete| | Attachment #38470|0 |1 is obsolete| | --- Comment #13 from Kai Tietz --- Created attachment 38472 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D38472&action=3Dedit updated patch I just noticed I missed to provide my current change. It might be related = to the build failure you noticed. In general it isn't clear, if we should prevent deeper recursions of DECL_INITIAL. In some cases "var =3D var;" seems to be valid, so we need to handle that. >>From gcc-bugs-return-524915-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 09:36:51 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106110 invoked by alias); 12 May 2016 09:36:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105837 invoked by uid 48); 12 May 2016 09:36:38 -0000 From: "john.ettedgui at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70869] [6/7 Regression] internal compiler error: Segmentation fault on array of pointer to function members Date: Thu, 12 May 2016 09:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: john.ettedgui 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: 6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01087.txt.bz2 Content-length: 237 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70869 --- Comment #14 from John Ettedgui --- It built fine with your latest patch. And it also fixed the segfault I had when I created my bug. Thank you! >>From gcc-bugs-return-524914-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 09:36:19 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104786 invoked by alias); 12 May 2016 09:36:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102141 invoked by uid 48); 12 May 2016 09:36:06 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71080] New: Segfault in ix86_in_large_data_p with -fpic -mcmodel={medium, large} Date: Thu, 12 May 2016 09:36: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: ubizjak at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01086.txt.bz2 Content-length: 2524 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71080 Bug ID: 71080 Summary: Segfault in ix86_in_large_data_p with -fpic -mcmodel=3D{medium, large} Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ubizjak at gmail dot com CC: ro at gcc dot gnu.org Target Milestone: --- Target: x86_64 Recent commit introduced massive testsuite failures in the x86 testsuite wi= th -fpic -mcmodel=3Dmedium or -mcmodel=3Dlarge, e.g.: FAIL: gcc.dg/tm/20100519.c (internal compiler error) FAIL: gcc.dg/tm/20100519.c (internal compiler error) FAIL: gcc.dg/tm/20100519.c (test for excess errors) FAIL: gcc.dg/tm/20100519.c (test for excess errors) gdb --args ./cc1 -fgnu-tm -O -fpic -mcmodel=3Dmedium -quiet 20100519.c Program received signal SIGSEGV, Segmentation fault. 0x0000000001177f70 in ix86_in_large_data_p (exp=3D0x0) at ../../git/gcc/gcc/config/i386/i386.c:6827 6827 if (TREE_CODE (exp) =3D=3D FUNCTION_DECL) (gdb) p exp $1 =3D (tree) 0x0 (gdb) bt #0 0x0000000001177f70 in ix86_in_large_data_p (exp=3D0x0) at ../../git/gcc/gcc/config/i386/i386.c:6827 #1 0x000000000117d42f in x86_64_elf_section_type_flags (decl=3D0x0, name=3D0x1aaeec8 ".tm_clone_table", reloc=3D3) at ../../git/gcc/gcc/config/i386/i386.c:6935 #2 0x0000000001136750 in get_named_section (decl=3D0x0, name=3D0x1aaeec8 ".tm_clone_table", reloc=3D3) at ../../git/gcc/gcc/varasm.c:422 #3 0x00000000011369b4 in default_clone_table_section () at ../../git/gcc/gcc/varasm.c:5888 #4 0x00000000011385dc in dump_tm_clone_pairs (tm_alias_pairs=3D...) at ../../git/gcc/gcc/varasm.c:5871 #5 0x0000000001138969 in finish_tm_clone_pairs () at ../../git/gcc/gcc/varasm.c:5930 #6 0x0000000000daa88b in compile_file () at ../../git/gcc/gcc/toplev.c:524 #7 0x0000000000dac6c1 in do_compile () at ../../git/gcc/gcc/toplev.c:1987 #8 0x0000000000dac828 in toplev::main (this=3D0x7fffffffd450, argc=3D6, argv=3D0x7fffffffd558) at ../../git/gcc/gcc/toplev.c:2095 #9 0x00000000018f0d6b in main (argc=3D6, argv=3D0x7fffffffd558) at ../../git/gcc/gcc/main.c:39 Regression tracker [1] points to r235445 vs r235428, where: 10:10 r235435 - in /trunk/gcc: ChangeLog config/i386/... ro 10:06 r235434 - in /trunk/gcc: ChangeLog config/i386/... ro [1] https://gcc.gnu.org/ml/gcc-regression/2016-04/msg04692.html >>From gcc-bugs-return-524916-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 09:42:10 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127847 invoked by alias); 12 May 2016 09:42:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127453 invoked by uid 48); 12 May 2016 09:41:57 -0000 From: "thopre01 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71081] New: experimental/memory_resource/1.cc run for targets without atomics Date: Thu, 12 May 2016 09:42: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: thopre01 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_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-05/txt/msg01088.txt.bz2 Content-length: 1913 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71081 Bug ID: 71081 Summary: experimental/memory_resource/1.cc run for targets without atomics Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: thopre01 at gcc dot gnu.org CC: redi at gcc dot gnu.org Target Milestone: --- Target: arm-none-eabi Hi, experimental/memory_resource/1.cc test in libstdc++ is run for target witho= ut atomic support (such as ARMv6-M devices) and thus fail with the following error: ccAS6AZQ.o: In function `std::__atomic_base::exchange(std::experimental::fundamentals_v2::pmr::memory_resource*, std::memory_order)':^M libstdc++-v3/include/bits/atomic_base.h:730: undefined reference to `__atomic_exchange_4'^M collect2: error: ld returned 1 exit status^M compiler exited with status 1 output is: ccAS6AZQ.o: In function `std::__atomic_base::exchange(std::experimental::fundamentals_v2::pmr::memory_resource*, std::memory_order)':^M libstdc++-v3/include/bits/atomic_base.h:730: undefined reference to `__atomic_exchange_4'^M collect2: error: ld returned 1 exit status^M FAIL: experimental/memory_resource/1.cc (test for excess errors) Excess errors: libstdc++-v3/include/bits/atomic_base.h:730: undefined reference to `__atomic_exchange_4' collect2: error: ld returned 1 exit status UNRESOLVED: experimental/memory_resource/1.cc compilation failed to produce executable The error seems to come from the experimental/memory_resource file included= in that test. I believe the test should have an additional dg-require-atomic-builtins dej= agnu directive. >>From gcc-bugs-return-524917-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 12 09:46:55 2016 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93233 invoked by alias); 12 May 2016 09:46:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93203 invoked by uid 89); 12 May 2016 09:46:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL,URI_HEX autolearn=no version=3.3.2 spammy=thanking, View X-HELO: mbob.nabble.com Received: from mbob.nabble.com (HELO mbob.nabble.com) (162.253.133.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 12 May 2016 09:46:44 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id B9BAE275DCBF for ; Thu, 12 May 2016 02:30:44 -0700 (PDT) Date: Thu, 12 May 2016 09:46:00 -0000 From: RaghuShankar To: gcc-bugs@gcc.gnu.org Message-ID: <1463046398779-1262876.post@n5.nabble.com> Subject: GCC 6.1.0 ARM cross compiling xgcc error not producing output file from .S files MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2016-05/txt/msg01089.txt.bz2 Content-length: 1719 Hi, I am trying to cross compile the latest gcc 6.1.0 to arm architecture. At the end of libgcc compilation i am getting the error *"root/embeddedlinux/gcc/armcrosstool/arm-linux-gnueabi/bin/ar: _thumb1_case_sqi.o: No such file or directory"* *But when i cross checked libgcc compilation it has compiled the "_thumb1_case_sqi.dep" file and tried to create .o file but it is not? Hence the error.* /root/embeddedlinux/gcc/gcc-6.1.0/build/./gcc/xgcc -B/root/embeddedlinux/gcc/gcc-6.1.0/build/./gcc/ -B/root/embeddedlinux/gcc/armcrosstool/arm-linux-gnueabi/bin/ -B/root/embeddedlinux/gcc/armcrosstool/arm-linux-gnueabi/lib/ -isystem /root/embeddedlinux/gcc/armcrosstool/arm-linux-gnueabi/include -isystem /root/embeddedlinux/gcc/armcrosstool/arm-linux-gnueabi/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc -fPIC -fno-inline -DUSE_EMUTLS -o _thumb1_case_sqi.o -MT _thumb1_case_sqi.o -MD -MP -MF _thumb1_case_sqi.dep -DL_thumb1_case_sqi -xassembler-with-cpp -c ../../../libgcc/config/arm/lib1funcs.S -include _thumb1_case_sqi.vis For further error information please check the attached error file. gcc-6.txt If any body having solution please let us know. Thanking you -- View this message in context: http://gcc.1065356.n5.nabble.com/GCC-6-1-0-ARM-cross-compiling-xgcc-error-not-producing-output-file-from-S-files-tp1262876.html Sent from the gcc - bugs mailing list archive at Nabble.com.