From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102262 invoked by alias); 1 Jan 2018 00: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 Received: (qmail 96909 invoked by uid 55); 1 Jan 2018 00:15:37 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83584] "ISO C forbids conversion of object pointer to function pointer type" -- no, not really Date: Mon, 01 Jan 2018 00: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.1.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00000.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83584 --- Comment #17 from joseph at codesourcery dot com --- There are certainly cases where something that is undefined at compile=20 time in ISO C (i.e. the undefinedness is a property of the program, not of= =20 a particular execution path through the program) are unconditional hard=20 errors - when GCC does not have any support for defining any semantics for= =20 the undefined construct. Since it's OK for such things to be unconditional hard errors, it's also=20 OK for them to be unconditional pedwarns (subject to the general principle= =20 of not really wanting a warning without an option to turn it off - but at=20 least, on-by-default pedwarns are OK). And it's also OK for them to be=20 pedwarns-if-pedantic. But the wording should be improved (e.g. "does not=20 permit" or "does not support" instead of "forbids"), and there may be a=20 case for a separate option that could turn this diagnostic off when used=20 with -pedantic / -pedantic-errors. >>From gcc-bugs-return-587051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 00:16:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104134 invoked by alias); 1 Jan 2018 00: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 104092 invoked by uid 55); 1 Jan 2018 00:16:28 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83585] [8 Regression] Assembler messages: Error: can't resolve `.text' {.text section} - `.LCOLDB0' {.text.unlikely section} Date: Mon, 01 Jan 2018 00: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: 8.0 X-Bugzilla-Keywords: assemble-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00001.txt.bz2 Content-length: 321 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83585 --- Comment #3 from joseph at codesourcery dot com --- return without a value in non-void functions is valid in C90 (only=20 undefined at runtime if the return value is used by the caller). C99 made= =20 it a constraint violation. >>From gcc-bugs-return-587052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 02:40:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76968 invoked by alias); 1 Jan 2018 02: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 76893 invoked by uid 48); 1 Jan 2018 02:39:59 -0000 From: "mpezz at tiscali dot it" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/83566] cyl_bessel_j returns wrong result for x>1000 for high orders. Date: Mon, 01 Jan 2018 02: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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpezz at tiscali dot it X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-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: 2018-01/txt/msg00002.txt.bz2 Content-length: 582 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83566 Michele Pezzutti changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpezz at tiscali dot it --- Comment #2 from Michele Pezzutti --- Series expansion in __cyl_bessel_jn_asymp() shall not be truncated at the f= irst terms. At least nu/2 terms shall be added, in order to have a guaranteed er= ror bound. Patch proposed to mailing list. >>From gcc-bugs-return-587053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 09:12:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127320 invoked by alias); 1 Jan 2018 09:12: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 127285 invoked by uid 48); 1 Jan 2018 09:12:15 -0000 From: "gccbugbjorn at fahller dot se" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83644] New: ICE using type alias from recursive decltype in noexcept or return type Date: Mon, 01 Jan 2018 09: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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gccbugbjorn at fahller dot se X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2018-01/txt/msg00003.txt.bz2 Content-length: 1372 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83644 Bug ID: 83644 Summary: ICE using type alias from recursive decltype in noexcept or return type Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gccbugbjorn at fahller dot se Target Milestone: --- Created attachment 42996 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D42996&action=3Dedit Source of failing program The program (attached, and on https://godbolt.org/g/N6nHKk) ICEs as follows: bf@rahonavis /tmp> g++ -std=3Dc++17 t.cpp t.cpp: In instantiation of 'compose(F&&, Fs&& ...):: [with auto:1 =3D {int}; F =3D f()::; Fs =3D {f()::}]': t.cpp:32:72: required from here t.cpp:20:39: internal compiler error: Segmentation fault using tail_type =3D decltype(compose(std::forward(fs)...)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. To make it not fail, use the macro instead of the type alias, or comment out both the trailing return type and the noexcept. >>From gcc-bugs-return-587054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 09:14:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128955 invoked by alias); 1 Jan 2018 09: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 128919 invoked by uid 48); 1 Jan 2018 09:14:10 -0000 From: "gccbugbjorn at fahller dot se" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83644] ICE using type alias from recursive decltype in noexcept or return type Date: Mon, 01 Jan 2018 09: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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gccbugbjorn at fahller dot se X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-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: 2018-01/txt/msg00004.txt.bz2 Content-length: 249 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83644 --- Comment #1 from Bj=C3=B6rn Fahller --- Created attachment 42997 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D42997&action=3Dedit Preprocessed source >>From gcc-bugs-return-587055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 10:11:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123200 invoked by alias); 1 Jan 2018 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 123149 invoked by uid 48); 1 Jan 2018 10:11:21 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV Date: Mon, 01 Jan 2018 10:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00005.txt.bz2 Content-length: 256 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81968 --- Comment #37 from Rainer Orth --- Created attachment 42998 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D42998&action=3Dedit Merged patches for PRs pr81968 and 83452 >>From gcc-bugs-return-587056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 10:17:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127631 invoked by alias); 1 Jan 2018 10:17: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 127568 invoked by uid 55); 1 Jan 2018 10:17:42 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV Date: Mon, 01 Jan 2018 10:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00006.txt.bz2 Content-length: 3149 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81968 --- Comment #38 from ro at CeBiTec dot Uni-Bielefeld.DE --- >> --- Comment #33 from rguenther at suse dot de = --- > [...] >>>* Invalid sh_info: >>> >>>FAIL: g++.dg/lto/pr42987 cp_lto_pr42987_0.o-cp_lto_pr42987_1.o link,=20 >>>-flto >>>-flto-partition=3Dnone -g=20 >>>FAIL: g++.dg/lto/pr42987 cp_lto_pr42987_0.o-cp_lto_pr42987_1.o link,=20 >>>-flto -g=20 >>> >>>ld: fatal: file /var/tmp//ccXwdzGddebugobjtem: section >>>[6].rel.gnu.debuglto_.debug_info: has invalid sh_info: 9 >>>ld: fatal: file /var/tmp//ccuVJOVbdebugobjtem: section >>>[6].rel.gnu.debuglto_.debug_info: has invalid sh_info: 8 >>> >>> seen during the ld -r -o ccrIZb_ddebugobj ccSerOuddebugobjtem >>> cc5b3Arcdebugobjtem step: >>> >>>ccSerOuddebugobjtem: .rel.gnu.debuglto_.debug_info: sh_info: 9: does >>>not point >>>to a valid section >>> >>>Section Header[6]: sh_name: .rel.gnu.debuglto_.debug_info >>> sh_addr: 0 sh_flags: 0 >>> sh_size: 0x8 sh_type: [ SHT_REL ] >>> sh_offset: 0x11c8 sh_entsize: 0x8 (1 entry) >>> sh_link: 5 sh_info: 9 >>> sh_addralign: 0x4=20=20=20=20=20=20=20 >>> >>> But there's no section 9 any longer. >> >> I fixed that in the posted patch for the hpux issue(s).=20 > > Good: I'll try to merge the two after the christmas holidays. I've used the attached patch, with mixed results: * No changes on SPARC (which wasn't affected by this issue in the first place). * On x86, of the previous 32 ld: fatal: has invalid sh_info errors, 16 are now gone. However, I've many (1284 in g++.log) instances of ld: warning: symbol .symtab[2] has invalid section index; ignored: (file /var/tmp//ccyttLYbdebugobjtem value=3D9); Those links end with ld: fatal: file /var/tmp//ccyttLYbdebugobjtem: section [6].rel.gnu.debuglto_.debug_info: has invalid sh_info: 9 and ld SEGVing, again in the ld -r step. The warnings are from symtab entries like Symbol Table Section: .symtab index value size type bind oth ver shndx name [0] 0 0 NOTY LOCL D 0 UNDEF=20=20=20=20=20=20=20=20=20 [1] 0 0 FILE LOCL D 0 ABS pr42987_0.C [2] 0 0 NOTY LOCL D 0 9=20=20=20=20=20=20=20=20=20=20=20= =20=20 and section 9 doesn't exist, where the input object (cp_lto_pr42987_0.o) = has Section Header[9]: sh_name: .gnu.debuglto_.debug_info sh_addr: 0 sh_flags: 0 sh_size: 0x3d4 sh_type: [ SHT_PROGBITS ] sh_offset: 0x7fb sh_entsize: 0 sh_link: 0 sh_info: 0 sh_addralign: 0x1=20=20=20=20=20=20=20 Symbol Table Section: .symtab index value size type bind oth ver shndx / name [0] 0 0 NOTY LOCL D 0 UNDEF=20=20=20=20=20=20=20=20=20=20 [1] 0 0 FILE LOCL D 0 ABS pr42987_0.C [2] 0 0 SECT LOCL D 0 .text=20=20=20=20=20=20=20=20=20=20 [3] 0 0 SECT LOCL D 0 .gnu.debuglto_.debug_info=20 Rainer >>From gcc-bugs-return-587058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 11:10:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128585 invoked by alias); 1 Jan 2018 11:10: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 128376 invoked by uid 48); 1 Jan 2018 11:10:08 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/83623] [8 Regression] ICE: in convert_move, at expr.c:248 with -march=knl and 16bit vector bswap/rotate Date: Mon, 01 Jan 2018 11: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: 8.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: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00008.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83623 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-587057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 11:10:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127879 invoked by alias); 1 Jan 2018 11: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 127781 invoked by uid 48); 1 Jan 2018 11:10:00 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83595] [8 Regression] ICE: in linemap_macro_map_lookup, at libcpp/line-map.c:1008 on invalid code Date: Mon, 01 Jan 2018 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: 8.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00007.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83595 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-587059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 11:27:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50258 invoked by alias); 1 Jan 2018 11:27: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 50205 invoked by uid 55); 1 Jan 2018 11:27:49 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/83623] [8 Regression] ICE: in convert_move, at expr.c:248 with -march=knl and 16bit vector bswap/rotate Date: Mon, 01 Jan 2018 11:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.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: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00009.txt.bz2 Content-length: 698 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83623 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Mon Jan 1 11:27:17 2018 New Revision: 256061 URL: https://gcc.gnu.org/viewcvs?rev=3D256061&root=3Dgcc&view=3Drev Log: PR middle-end/83623 * expmed.c (expand_shift_1): For 2-byte rotates by BITS_PER_UNIT, check for bswap in mode rather than HImode and use that in expand_u= nop too. * gcc.dg/pr83623.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr83623.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/expmed.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 11:29:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52075 invoked by alias); 1 Jan 2018 11:29: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 52019 invoked by uid 55); 1 Jan 2018 11:29:29 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83609] [7/8 Regression] ICE in read_complex_part at gcc/expr.c:3202 Date: Mon, 01 Jan 2018 11: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: unknown X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00010.txt.bz2 Content-length: 1031 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83609 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Jan 1 11:28:57 2018 New Revision: 256062 URL: https://gcc.gnu.org/viewcvs?rev=3D256062&root=3Dgcc&view=3Drev Log: PR middle-end/83609 * expr.c (expand_assignment): Fix up a typo in simplify_gen_subreg last argument when extracting from CONCAT. If either from_real or from_imag is NULL, use expansion through memory. If result is not a CONCAT and simplify_gen_subreg fails, try to simplify_gen_subreg the parts directly to inner mode, if even that fails, use expansion through memory. * gcc.dg/pr83609.c: New test. * g++.dg/opt/pr83609.C: New test. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/opt/pr83609.C branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr83609.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/expr.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 11:31:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53909 invoked by alias); 1 Jan 2018 11: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 53807 invoked by uid 55); 1 Jan 2018 11:31:07 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83608] [7/8 Regression] ICE in convert_move, at expr.c:229 in GIMPLE store merging pass Date: Mon, 01 Jan 2018 11:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization 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: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00011.txt.bz2 Content-length: 707 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83608 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Mon Jan 1 11:30:28 2018 New Revision: 256063 URL: https://gcc.gnu.org/viewcvs?rev=3D256063&root=3Dgcc&view=3Drev Log: PR middle-end/83608 * expr.c (store_expr_with_bounds): Use simplify_gen_subreg instead = of convert_modes if target mode has the right side, but different mode class. * g++.dg/opt/pr83608.C: New test. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/opt/pr83608.C Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/expr.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 11:38:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66349 invoked by alias); 1 Jan 2018 11:38: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 66305 invoked by uid 48); 1 Jan 2018 11:38:14 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83608] [7/8 Regression] ICE in convert_move, at expr.c:229 in GIMPLE store merging pass Date: Mon, 01 Jan 2018 11: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: 8.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: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status version 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: 2018-01/txt/msg00013.txt.bz2 Content-length: 485 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83608 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Version|unknown |8.0 Resolution|--- |FIXED --- Comment #5 from Jakub Jelinek --- Fixed for 7.3+. >>From gcc-bugs-return-587062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 11:38:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65502 invoked by alias); 1 Jan 2018 11:38: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 65432 invoked by uid 48); 1 Jan 2018 11:37:59 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83609] [7/8 Regression] ICE in read_complex_part at gcc/expr.c:3202 Date: Mon, 01 Jan 2018 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: unknown 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: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.3 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: 2018-01/txt/msg00012.txt.bz2 Content-length: 432 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83609 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Jakub Jelinek --- Fixed for 7.3+. >>From gcc-bugs-return-587064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 12:45:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58955 invoked by alias); 1 Jan 2018 12:45: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 58885 invoked by uid 48); 1 Jan 2018 12:45:47 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/81917] [6/7/8 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:3004 Date: Mon, 01 Jan 2018 12:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.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.5 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: 2018-01/txt/msg00014.txt.bz2 Content-length: 583 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81917 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.5 Summary|internal compiler error: in |[6/7/8 Regression] internal |finish_member_declaration, |compiler error: in |at cp/semantics.c:3004 |finish_member_declaration, | |at cp/semantics.c:3004 >>From gcc-bugs-return-587065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 13:17:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25710 invoked by alias); 1 Jan 2018 13: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 25591 invoked by uid 48); 1 Jan 2018 13:17:00 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/20520] allocatable arrays used uninitialized without a warning Date: Mon, 01 Jan 2018 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: 4.0.0 X-Bugzilla-Keywords: accepts-invalid, diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 2018-01/txt/msg00015.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D20520 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ondrej.certik at gmail dot= com --- Comment #18 from Dominique d'Humieres --- *** Bug 64229 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-587066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 13:17:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25805 invoked by alias); 1 Jan 2018 13: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 25569 invoked by uid 48); 1 Jan 2018 13:16:58 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/64229] internal compiler error when assigning allocatable arrays of character(:) Date: Mon, 01 Jan 2018 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: 4.9.2 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: 2018-01/txt/msg00016.txt.bz2 Content-length: 2693 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64229 --- Comment #2 from Dominique d'Humieres --- > Dup. > > *** This bug has been marked as a duplicate of bug 54070 *** This is rather a duplicate of pr20520 once the ICE has been fixed in pr54070 (obvious if I replace character(:) with character(10)). Compiling the test with -Wuninitialized gives the warnings /Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/pr64229.f90:2:0: character(:), allocatable :: x(:), y(:) Warning: '.x' is used uninitialized in this function [-Wuninitialized] /Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/pr64229.f90:2:0: Warn= ing: '.y' is used uninitialized in this function [-Wuninitialized] /Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/pr64229.f90:3:0: x =3D y Warning: 'y.offset' is used uninitialized in this function [-Wuninitialized] /Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/pr64229.f90:3:0: Warn= ing: 'y.dim[0].lbound' is used uninitialized in this function [-Wuninitialized] /Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/pr64229.f90:3:0: Warn= ing: 'y.dim[0].ubound' is used uninitialized in this function [-Wuninitialized] /Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/pr64229.f90:3:0: Warn= ing: 'x.offset' is used uninitialized in this function [-Wuninitialized] /Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/pr64229.f90:3:0: Warn= ing: 'x.dim[0].lbound' is used uninitialized in this function [-Wuninitialized] /Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/pr64229.f90:3:0: Warn= ing: 'x.dim[0].ubound' is used uninitialized in this function [-Wuninitialized] /Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/pr64229.f90:3:0: x =3D y Warning: 'y.dim[0].ubound' is used uninitialized in this function [-Wuninitialized] /Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/pr64229.f90:3:0: Warn= ing: 'y.dim[0].lbound' is used uninitialized in this function [-Wuninitialized] /Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/pr64229.f90:3:0: Warn= ing: 'y.dim[0].lbound' may be used uninitialized in this function [-Wmaybe-uninitialized] /Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/pr64229.f90:3:0: Warn= ing: 'y.dim[0].ubound' is used uninitialized in this function [-Wuninitialized] /Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/pr64229.f90:3:0: Warn= ing: 'y.dim[0].lbound' is used uninitialized in this function [-Wuninitialized] /Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/pr64229.f90:3:0: Warn= ing: 'y.dim[0].lbound' may be used uninitialized in this function [-Wmaybe-uninitialized] *** This bug has been marked as a duplicate of bug 20520 *** >>From gcc-bugs-return-587067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 13:48:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44221 invoked by alias); 1 Jan 2018 13: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 44075 invoked by uid 48); 1 Jan 2018 13:48:17 -0000 From: "fw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83641] -fstack-clash-protection generates incorrect CFI on i386 Date: Mon, 01 Jan 2018 13: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fw at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-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: 2018-01/txt/msg00017.txt.bz2 Content-length: 1219 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83641 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42995|0 |1 is obsolete| | --- Comment #1 from Florian Weimer --- Created attachment 42999 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D42999&action=3Dedit cfi.c Reduced test case. Compile with -O2 -fstack-clash-protection. f3: .LFB0: .cfi_startproc pushl %esi .cfi_def_cfa_offset 8 .cfi_offset 6, -8 pushl %ebx .cfi_def_cfa_offset 12 .cfi_offset 3, -12 pushl %esi .cfi_def_cfa_offset 16 .cfi_offset 6, -16 popl %esi .cfi_restore 6 .cfi_def_cfa_offset 12 subl $4, %esp .cfi_def_cfa_offset 16 movl x0, %ebx movl x1, %esi It looks related to the probing for noreturn functions. The noreturn attri= bute can even be removed as long as the infinite loop at the end is present (whi= ch I added to suppress the warning). >>From gcc-bugs-return-587068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 15:12:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13076 invoked by alias); 1 Jan 2018 15:12: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 12985 invoked by uid 48); 1 Jan 2018 15:12:11 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/46182] Run time check for invalid use of unallocated allocatable variables Date: Mon, 01 Jan 2018 15:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 4.6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: 2018-01/txt/msg00018.txt.bz2 Content-length: 526 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D46182 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #3 from Dominique d'Humieres --- Another variant of pr20520. *** This bug has been marked as a duplicate of bug 20520 *** >>From gcc-bugs-return-587069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 15:12:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13182 invoked by alias); 1 Jan 2018 15:12: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 13017 invoked by uid 48); 1 Jan 2018 15:12:12 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/20520] allocatable arrays used uninitialized without a warning Date: Mon, 01 Jan 2018 15:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.0.0 X-Bugzilla-Keywords: accepts-invalid, diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 2018-01/txt/msg00019.txt.bz2 Content-length: 457 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D20520 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dominiq at lps dot ens.fr --- Comment #19 from Dominique d'Humieres --- *** Bug 46182 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-587070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 15:38:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89047 invoked by alias); 1 Jan 2018 15:38: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 88999 invoked by uid 48); 1 Jan 2018 15:38:40 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/82383] Some new toplevel directories are not documented Date: Mon, 01 Jan 2018 15:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00020.txt.bz2 Content-length: 229 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82383 --- Comment #2 from Eric Gallager --- libcilkrts can be removed from the list of directories to document, since i= t no longer exists in trunk. >>From gcc-bugs-return-587071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 16:18:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124285 invoked by alias); 1 Jan 2018 16: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 124246 invoked by uid 48); 1 Jan 2018 16:18:55 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/82428] Builtins for openacc gang/worker/vector id/size Date: Mon, 01 Jan 2018 16:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-01/txt/msg00021.txt.bz2 Content-length: 612 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82428 Tom de Vries changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42991|0 |1 is obsolete| | --- Comment #2 from Tom de Vries --- Created attachment 43000 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43000&action=3Dedit Updated tentative patch Updated tentative patch, tested with nvptx accelerator. todo: Test fortran variant. >>From gcc-bugs-return-587072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 16:48:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65554 invoked by alias); 1 Jan 2018 16:48: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 65443 invoked by uid 48); 1 Jan 2018 16:48:26 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83559] [8 regression] -Wsuggest-attribute=const conflicts with -Wattributes warning about const attribute on function returning void Date: Mon, 01 Jan 2018 16: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: 8.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work target_milestone 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: 2018-01/txt/msg00022.txt.bz2 Content-length: 826 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83559 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |7.2.0 Target Milestone|--- |8.0 Summary|-Wsuggest-attribute=3Dconst |[8 regression] |conflicts with -Wattributes |-Wsuggest-attribute=3Dconst |warning about const |conflicts with -Wattributes |attribute on function |warning about const |returning void |attribute on function | |returning void Known to fail| |8.0 >>From gcc-bugs-return-587073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 16:51:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1286 invoked by alias); 1 Jan 2018 16:51: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 1103 invoked by uid 48); 1 Jan 2018 16:51:25 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83645] New: ICE: in get_insn_template, at final.c:2100 with -gstatement-frontiers Date: Mon, 01 Jan 2018 16:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.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 cc 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: 2018-01/txt/msg00023.txt.bz2 Content-length: 2457 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83645 Bug ID: 83645 Summary: ICE: in get_insn_template, at final.c:2100 with -gstatement-frontiers Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz CC: aoliva at gcc dot gnu.org Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 43001 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43001&action=3Dedit reduced testcase Compiler output: $ x86_64-pc-linux-gnu-gcc -O2 -gstatement-frontiers testcase.c during RTL pass: final testcase.c: In function 'foo': testcase.c:7:1: internal compiler error: in get_insn_template, at final.c:2= 100 } ^ 0x9a8f96 get_insn_template(int, rtx_def*) /repo/gcc-trunk/gcc/final.c:2100 0x9ac10f final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) /repo/gcc-trunk/gcc/final.c:3029 0x9addb1 final(rtx_insn*, _IO_FILE*, int) /repo/gcc-trunk/gcc/final.c:2065 0x9ae7e1 rest_of_handle_final /repo/gcc-trunk/gcc/final.c:4551 0x9ae7e1 execute /repo/gcc-trunk/gcc/final.c:4625 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-g= cc COLLECT_LTO_WRAPPER=3D/repo/gcc-trunk/binary-trunk-256059-checking-yes-rtl-= df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.0.0/lto= -wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --disable-bootstrap --with-cloog --with-ppl --with-isl --build=3Dx86_64-pc-linux-gnu --host=3Dx86_64-pc-linux-gnu --target=3Dx86_64-pc-linux-gnu --with-ld=3D/usr/bin/x86_64-pc-linux-gnu-ld --with-as=3D/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=3D/repo/gcc-trunk//binary-trunk-256059-checking-yes-rtl-df-extra-n= obootstrap-amd64 Thread model: posix gcc version 8.0.0 20180101 (experimental) (GCC) >>From gcc-bugs-return-587075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 17:37:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71137 invoked by alias); 1 Jan 2018 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 70847 invoked by uid 55); 1 Jan 2018 17:37:14 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83076] [8 Regression] ICE in gfc_deallocate_scalar_with_status, at fortran/trans.c:1598 Date: Mon, 01 Jan 2018 17: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00025.txt.bz2 Content-length: 1516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83076 --- Comment #11 from Paul Thomas --- Author: pault Date: Mon Jan 1 17:36:41 2018 New Revision: 256065 URL: https://gcc.gnu.org/viewcvs?rev=3D256065&root=3Dgcc&view=3Drev Log: 2018-01-01 Paul Thomas PR fortran/83076 * resolve.c (resolve_fl_derived0): Add caf_token fields for allocatable and pointer scalars, when -fcoarray selected. * trans-types.c (gfc_copy_dt_decls_ifequal): Copy the token field as well as the backend_decl. (gfc_get_derived_type): Flag GFC_FCOARRAY_LIB for module derived types that are not vtypes. Components with caf_token attribute are pvoid types. For a component requiring it, find the caf_token field and have the component token field point to its backend_decl. PR fortran/83319 *trans-types.c (gfc_get_array_descriptor_base): Add the token field to the descriptor even when codimen not set. 2018-01-01 Paul Thomas PR fortran/83076 * gfortran.dg/coarray_45.f90 : New test. PR fortran/83319 * gfortran.dg/coarray_46.f90 : New test. Added: trunk/gcc/testsuite/gfortran.dg/coarray_45.f90 trunk/gcc/testsuite/gfortran.dg/coarray_46.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/gfortran.h trunk/gcc/fortran/resolve.c trunk/gcc/fortran/trans-types.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 17:37:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71088 invoked by alias); 1 Jan 2018 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 70831 invoked by uid 55); 1 Jan 2018 17:37:14 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83319] [7/8 Regression] ICE on use of allocatable component in derived type coarray defined in module Date: Mon, 01 Jan 2018 17: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: 7.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00024.txt.bz2 Content-length: 1515 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83319 --- Comment #3 from Paul Thomas --- Author: pault Date: Mon Jan 1 17:36:41 2018 New Revision: 256065 URL: https://gcc.gnu.org/viewcvs?rev=3D256065&root=3Dgcc&view=3Drev Log: 2018-01-01 Paul Thomas PR fortran/83076 * resolve.c (resolve_fl_derived0): Add caf_token fields for allocatable and pointer scalars, when -fcoarray selected. * trans-types.c (gfc_copy_dt_decls_ifequal): Copy the token field as well as the backend_decl. (gfc_get_derived_type): Flag GFC_FCOARRAY_LIB for module derived types that are not vtypes. Components with caf_token attribute are pvoid types. For a component requiring it, find the caf_token field and have the component token field point to its backend_decl. PR fortran/83319 *trans-types.c (gfc_get_array_descriptor_base): Add the token field to the descriptor even when codimen not set. 2018-01-01 Paul Thomas PR fortran/83076 * gfortran.dg/coarray_45.f90 : New test. PR fortran/83319 * gfortran.dg/coarray_46.f90 : New test. Added: trunk/gcc/testsuite/gfortran.dg/coarray_45.f90 trunk/gcc/testsuite/gfortran.dg/coarray_46.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/gfortran.h trunk/gcc/fortran/resolve.c trunk/gcc/fortran/trans-types.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 18:07:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130518 invoked by alias); 1 Jan 2018 18: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 130413 invoked by uid 48); 1 Jan 2018 18:07:00 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83646] New: (PDT) Use statement with PDTs excludes the specific instances. Date: Mon, 01 Jan 2018 18:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter 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: 2018-01/txt/msg00026.txt.bz2 Content-length: 1377 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83646 Bug ID: 83646 Summary: (PDT) Use statement with PDTs excludes the specific instances. Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: fortran Assignee: pault at gcc dot gnu.org Reporter: pault at gcc dot gnu.org Blocks: 82173 Target Milestone: --- As reported on clf https://groups.google.com/forum/#!topic/comp.lang.fortran/NDE6JKTFbNU [pault@pc30 pdt]$ cat f*2.f90 module m type :: t(ell) integer, len :: ell integer :: i(ell) end type contains subroutine sub( a ) type(t(ell=3D*)), intent(inout) :: a end end module m ! main program use m, only : t,pdtt, sub type(t(ell=3D42)) :: foo call sub( foo ) end [pault@pc30 pdt]$ ~/irun/bin/gfortran -static-libgfortran f*2.f90 -fdump-tree-original -g -fopenmp fortranfan2.f90:20:18: call sub( foo ) 1 Error: Type mismatch in argument =E2=80=98a=E2=80=99 at (1); passed TYPE(Pd= tt) to TYPE(pdtt) with use m, only : pdtt, t, sub it compiles just fine. Paul Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82173 [Bug 82173] [meta-bug] Parameterized derived type errors >>From gcc-bugs-return-587077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 18:22:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12353 invoked by alias); 1 Jan 2018 18:22: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 12304 invoked by uid 48); 1 Jan 2018 18:22:53 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83645] ICE: in get_insn_template, at final.c:2100 with -gstatement-frontiers Date: Mon, 01 Jan 2018 18: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code 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: 2018-01/txt/msg00027.txt.bz2 Content-length: 694 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83645 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- The problem is that during the final pass the cfg is not available anymore,= so using FOR_EACH_BB_FN (bb, cfun) { FOR_BB_INSNS_SAFE (bb, insn, next) in delete_vta_debug_insns is incorrect at that point. Instead at that point we need to walk insns from get_insns () up to the very last insn in the chain. >>From gcc-bugs-return-587078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 18:25:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34184 invoked by alias); 1 Jan 2018 18: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 34118 invoked by uid 48); 1 Jan 2018 18:25:16 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83559] [8 regression] -Wsuggest-attribute=const conflicts with -Wattributes warning about const attribute on function returning void Date: Mon, 01 Jan 2018 18:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.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: 8.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: 2018-01/txt/msg00028.txt.bz2 Content-length: 1065 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83559 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-01 Ever confirmed|0 |1 --- Comment #1 from Martin Sebor --- The new -Wattributes warning is the (deliberate) result of r255469. The on= ly meaningful effect a call can have to a function that's declared with the co= nst attribute is return a value. Calls to such functions that ignore the retur= ned value are eliminated (and diagnosed with -Wunused-value). Likewise, calls = to const functions that return void are eliminated (though without a warning, which seems like an omission). As a result, it makes little sense to decla= re a function to be both const and return void, and -Wsuggest-attribute=3Dconst = should not be issued for const functions. >>From gcc-bugs-return-587079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 18:31:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41951 invoked by alias); 1 Jan 2018 18: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 41901 invoked by uid 48); 1 Jan 2018 18:30:59 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83646] (PDT) Use statement with PDTs excludes the specific instances. Date: Mon, 01 Jan 2018 18:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.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: P3 X-Bugzilla-Assigned-To: pault 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: 2018-01/txt/msg00029.txt.bz2 Content-length: 647 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83646 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-01 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- > with > use m, only : pdtt, t, sub > > it compiles just fine. AFAICT it compiles also with use m, only : t,pdtt, sub but not with use m, only : t, sub >>From gcc-bugs-return-587080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 18:39:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81969 invoked by alias); 1 Jan 2018 18: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 81936 invoked by uid 48); 1 Jan 2018 18:39:04 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/82428] Builtins for openacc gang/worker/vector id/size Date: Mon, 01 Jan 2018 18:39: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: 8.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00030.txt.bz2 Content-length: 335 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82428 --- Comment #3 from Tom de Vries --- (In reply to Tom de Vries from comment #2) > Created attachment 43000 [details] > Updated tentative patch >=20 > Updated tentative patch, tested with nvptx accelerator. Bootstrap and reg-test on x86_64 also went ok. >>From gcc-bugs-return-587081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 19:34:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12427 invoked by alias); 1 Jan 2018 19:34: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 12230 invoked by uid 48); 1 Jan 2018 19:34:35 -0000 From: "yzhang1985 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug java/83647] New: add x86_64 Windows support to GCJ Date: Mon, 01 Jan 2018 19:34: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.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yzhang1985 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: 2018-01/txt/msg00031.txt.bz2 Content-length: 1495 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83647 Bug ID: 83647 Summary: add x86_64 Windows support to GCJ Product: gcc Version: 6.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java Assignee: unassigned at gcc dot gnu.org Reporter: yzhang1985 at gmail dot com Target Milestone: --- Created attachment 43002 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43002&action=3Dedit The changes to natVMConsole.cc are only for MingW. Probably these changes d= on't need to be in GCC and can be downstream GCJ currently doesn't support x86_64 Windows, specifically x86_64-w64-mingw= 32.=20 I have made a patch that supports it. I know GCJ has been removed from GCC = 7, but I'm hoping this can still make it into GCC 6. The changes were mostly to change 32bit ints to pointer sized ints. Specifically, unsigned long -> uintptr_t jint -> jlong Changing jint -> jlong is probably not right because that would change 32bit builds. I wanted to change those jint to jsize and change jsize from int to intptr_t, but wasn't sure of the effects. The other big change was I had to replace boehm-gc with a newer version (7.= 2e, 7.2g crashes). GCC seems to have an out of date, custom version that doesn't support x86_64 windows, and that only builds a static lib. I didn't include that in the patch, but you can simply plant the newer version into the sour= ce code. >>From gcc-bugs-return-587082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 20:23:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68799 invoked by alias); 1 Jan 2018 20: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 68594 invoked by uid 48); 1 Jan 2018 20:23:41 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug java/83647] add x86_64 Windows support to GCJ Date: Mon, 01 Jan 2018 20:23: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.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00032.txt.bz2 Content-length: 621 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83647 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from Andrew Pinski --- GCC 6 is in regression only fixes due to it being a release branch. Won't fix as Java was removed from GCC 7. There are other open source Java implementations including but not limited to OpenJDK. >>From gcc-bugs-return-587083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 21:18:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109649 invoked by alias); 1 Jan 2018 21: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 109477 invoked by uid 48); 1 Jan 2018 21:18:13 -0000 From: "yzhang1985 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug java/83647] add x86_64 Windows support to GCJ Date: Mon, 01 Jan 2018 21: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.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yzhang1985 at gmail 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: 2018-01/txt/msg00033.txt.bz2 Content-length: 679 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83647 --- Comment #2 from Yale Zhang --- (In reply to Andrew Pinski from comment #1) > GCC 6 is in regression only fixes due to it being a release branch. >=20 > Won't fix as Java was removed from GCC 7. There are other open source Ja= va > implementations including but not limited to OpenJDK. I was afraid of that, but I want to compile to native code and AFAIK, GCJ is the only one or if not, the only robust one. I think this change can be use= ful to others and shouldn't be lost just because GCC 6 is limited to regression fixes only. Is there a non-release branch that this can checked into? >>From gcc-bugs-return-587084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 22:33:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21586 invoked by alias); 1 Jan 2018 22:33: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 21546 invoked by uid 48); 1 Jan 2018 22:33:39 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83640] [8 Regression] ICE in generic_overlap, at gimple-ssa-warn-restrict.c:814 Date: Mon, 01 Jan 2018 22: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-01/txt/msg00034.txt.bz2 Content-length: 692 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83640 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Summary|ice in generic_overlap, at |[8 Regression] ICE in |gimple-ssa-warn-restrict.c: |generic_overlap, at |814 |gimple-ssa-warn-restrict.c: | |814 --- Comment #6 from Martin Sebor --- Patch: https://gcc.gnu.org/ml/gcc-patches/2018-01/msg00002.html >>From gcc-bugs-return-587085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 01 22:34:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22387 invoked by alias); 1 Jan 2018 22: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 22351 invoked by uid 48); 1 Jan 2018 22:34:22 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83642] excessive strlen range after a strcat of non-empty string Date: Mon, 01 Jan 2018 22: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: 8.0 X-Bugzilla-Keywords: missed-optimization, patch X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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: 2018-01/txt/msg00035.txt.bz2 Content-length: 696 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83642 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization, patch Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-01-01 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot g= nu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor --- Patch: https://gcc.gnu.org/ml/gcc-patches/2018-01/msg00003.html >>From gcc-bugs-return-587086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 00:05:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46503 invoked by alias); 2 Jan 2018 00: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 46457 invoked by uid 48); 2 Jan 2018 00:05:51 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83648] New: missing -Wsuggest-attribute=malloc on a trivial malloc-like function Date: Tue, 02 Jan 2018 00:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00036.txt.bz2 Content-length: 1777 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83648 Bug ID: 83648 Summary: missing -Wsuggest-attribute=3Dmalloc on a trivial malloc-like function Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- The malloc() function returns a non-null pointer on success and null on failure. Thus, a function that returns the result of malloc can be consider "malloc-like." Likewise, a function the either returns the result of mallo= c or a null pointer is itself also trivially malloc-like. The -Wsuggest-attribute=3Dmalloc option is supposed to issue warnings for malloc-like functions that would benefit from being declared with attribute malloc. The following test case shows that GCC issues the warning for the first kind of function but not for the second. The second kind is likely t= o be defined to avoid the non-portable/underspecified malloc behavior with a zero argument (malloc can return either a non-derefernceable pointer to a distin= ct object or null). $ cat a.c && gcc -O2 -S -Wall -Wsuggest-attribute=3Dmalloc a.c void* f (unsigned n) // -Wsuggest-attribute=3Dmalloc (good) { return __builtin_malloc (n); } void* g (unsigned n) // missing -Wsuggest-attribute=3Dmalloc { return n ? __builtin_malloc (n) : 0; } a.c: In function =E2=80=98f=E2=80=99: a.c:1:7: warning: function might be candidate for attribute =E2=80=98malloc= =E2=80=99 if it is known to return normally [-Wsuggest-attribute=3Dmalloc] void* f (unsigned n) // -Wsuggest-attribute=3Dmalloc (good) ^ >>From gcc-bugs-return-587088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 00:59:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120511 invoked by alias); 2 Jan 2018 00: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 120482 invoked by uid 48); 2 Jan 2018 00:59:49 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83559] [8 regression] -Wsuggest-attribute=const conflicts with -Wattributes warning about const attribute on function returning void Date: Tue, 02 Jan 2018 00: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: 8.0 X-Bugzilla-Keywords: diagnostic, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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: 2018-01/txt/msg00038.txt.bz2 Content-length: 564 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83559 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot g= nu.org --- Comment #2 from Martin Sebor --- Patch: https://gcc.gnu.org/ml/gcc-patches/2018-01/msg00004.html >>From gcc-bugs-return-587087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 00:59:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119793 invoked by alias); 2 Jan 2018 00:59: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 119433 invoked by uid 48); 2 Jan 2018 00:59:12 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83603] [8 Regression] ICE in builtin_memref at gcc/gimple-ssa-warn-restrict.c:238 Date: Tue, 02 Jan 2018 00: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: unknown X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-01/txt/msg00037.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83603 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #6 from Martin Sebor --- Minimal patch: https://gcc.gnu.org/ml/gcc-patches/2018-01/msg00005.html >>From gcc-bugs-return-587089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 03:01:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122209 invoked by alias); 2 Jan 2018 03: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 122090 invoked by uid 48); 2 Jan 2018 03:01:41 -0000 From: "chip at pobox dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/69191] Wrong equality comparison between error_code and error_condition + segfault Date: Tue, 02 Jan 2018 03: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.9.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: chip at pobox dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00039.txt.bz2 Content-length: 142 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69191 --- Comment #16 from Chip Salzenberg --- Still happening in 7.2 >>From gcc-bugs-return-587090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 08:46:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12155 invoked by alias); 2 Jan 2018 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 12088 invoked by uid 55); 2 Jan 2018 08:45:57 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/83452] FAIL: gfortran.dg/save_6.f90 -O0 (test for excess errors) Date: Tue, 02 Jan 2018 08:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00040.txt.bz2 Content-length: 827 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83452 --- Comment #11 from Richard Biener --- Author: rguenth Date: Tue Jan 2 08:45:05 2018 New Revision: 256069 URL: https://gcc.gnu.org/viewcvs?rev=3D256069&root=3Dgcc&view=3Drev Log: 2017-01-02 Richard Biener PR lto/83452 * simple-object-elf.c (simple_object_elf_copy_lto_debug_section): Do not use UNDEF locals for removed symbols but instead just define them in the first prevailing section and with no name. Use the same gnu_lto_v1 name for all removed globals we promote to WEAK UNDEFs so hpux can use a stub to provide this symbol. Clear sh_info and sh_link in removed sections. Modified: trunk/libiberty/ChangeLog trunk/libiberty/simple-object-elf.c >>From gcc-bugs-return-587091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 08:46:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13589 invoked by alias); 2 Jan 2018 08:46: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 12875 invoked by uid 48); 2 Jan 2018 08:46:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/83452] FAIL: gfortran.dg/save_6.f90 -O0 (test for excess errors) Date: Tue, 02 Jan 2018 08:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.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: danglin 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: 2018-01/txt/msg00041.txt.bz2 Content-length: 516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83452 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW Assignee|rguenth at gcc dot gnu.org |danglin at gcc dot = gnu.org --- Comment #12 from Richard Biener --- So if you install the stublib "hack" the LTO issues should be gone. >>From gcc-bugs-return-587092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 08:57:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40361 invoked by alias); 2 Jan 2018 08: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 40291 invoked by uid 48); 2 Jan 2018 08:57:15 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/83497] CPU2000 172.mgrid starts failing with r254730 Date: Tue, 02 Jan 2018 08: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: 8.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: 2018-01/txt/msg00042.txt.bz2 Content-length: 540 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83497 --- Comment #2 from Richard Biener --- The initial bisection rev. is indeed odd. I'm testing a fix for the inliner issue btw, but I've not seen the mgrid fail on any of our x86/ia64 configs. As far as I see the miscompare is -0.8 vs. 0.18 so it doesn't look like a precision issue to me. Does it only happen for power6 / bigendian? Maybe you can narrow down the root-cause somewhat - mgrid is a very small benchmark. power6 always hints at scheduling. >>From gcc-bugs-return-587093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 08:58:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50114 invoked by alias); 2 Jan 2018 08: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 50057 invoked by uid 48); 2 Jan 2018 08:58:28 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/81645] Learn UBSAN to support -fsanitize=builtin Date: Tue, 02 Jan 2018 08: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: 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: 2018-01/txt/msg00043.txt.bz2 Content-length: 467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81645 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #1 from Martin Li=C5=A1ka --- Implemented by Jakub's revision r253888. >>From gcc-bugs-return-587094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 09:00:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52212 invoked by alias); 2 Jan 2018 09:00: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 52111 invoked by uid 48); 2 Jan 2018 09:00:34 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83648] missing -Wsuggest-attribute=malloc on a trivial malloc-like function Date: Tue, 02 Jan 2018 09:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: diagnostic 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: 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: 2018-01/txt/msg00044.txt.bz2 Content-length: 594 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83648 prathamesh3492 at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |prathamesh3492 at gcc dot = gnu.org --- Comment #1 from prathamesh3492 at gcc dot gnu.org --- ipa-pure-const dump shows: MALLOC LATTICE after propagation: __builtin_malloc: malloc g: malloc_bottom f: malloc So it's not able to detect that g could be annotated with malloc. I will take a look. Thanks, Prathamesh >>From gcc-bugs-return-587095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 09:02:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53757 invoked by alias); 2 Jan 2018 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 53700 invoked by uid 48); 2 Jan 2018 09:01:57 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83610] __builtin_expect sometimes is ignored Date: Tue, 02 Jan 2018 09: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.9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00045.txt.bz2 Content-length: 1255 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83610 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #5 from Martin Li=C5=A1ka --- (In reply to Daniel Fruzynski from comment #3) > Created attachment 42980 [details] > Benchmark >=20 > Here is benchmark for this case. With unlikely() execution time decreases > from 20.5sec to 20.3sec - about 1%. For my real app change it was a bit m= ore > than 2%. Thanks for the micro-benchmark. >=20 > Thanks for information about this parameter, I will give it a try. So far= I > noticed that gcc uses CMOV when values are stored in registers. When they > are in memory as a class fields, it generates code with branches. I am st= ill > playing with this code, so maybe I will need it later. >=20 > BTW, what do you thing about adding 3rd param to __builtin_expect, which > will specify probability? It may be helpful in cases like mine. Well I haven't thought about it. From implementation point of view it will = be simple. But usage can be then a bit complicated. Thoughts? >>From gcc-bugs-return-587096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 09:32:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49916 invoked by alias); 2 Jan 2018 09:32: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 43004 invoked by uid 55); 2 Jan 2018 09:32:22 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81616] Update -mtune=generic for the current Intel and AMD processors Date: Tue, 02 Jan 2018 09:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.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: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00046.txt.bz2 Content-length: 614 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81616 --- Comment #41 from Jan Hubicka --- Author: hubicka Date: Tue Jan 2 09:31:47 2018 New Revision: 256070 URL: https://gcc.gnu.org/viewcvs?rev=3D256070&root=3Dgcc&view=3Drev Log: PR target/81616 * x86-tune-costs.h (generic_cost): Reduce cost of FDIV 20->17, cost of sqrt 20->14, DIVSS 18->13, DIVSD 32->17, SQRtSS 30->14 and SQRTsD 58->18, cond_not_taken_branch_cost. 2->1. Increase cond_taken_branch_cost 3->4. Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/x86-tune-costs.h >>From gcc-bugs-return-587097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 09:48:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21315 invoked by alias); 2 Jan 2018 09: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 21178 invoked by uid 48); 2 Jan 2018 09:48:24 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/81082] [8 Regression] Failure to vectorise after reassociating index computation Date: Tue, 02 Jan 2018 09:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00047.txt.bz2 Content-length: 4678 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81082 --- Comment #3 from Richard Biener --- (In reply to Jakub Jelinek from comment #2) > So is there anything we can do here? > Isn't the bigger problem that we no longer notice the multiplications can= 't > overflow? Yes, that's the issue with all arithmetic we drop to unsigned because of association. It's always a trade-off ... > With the int multiplications gone, we need to assume [1, INT_MAX] > ranges on b1, b2 and b3 in the loop (otherwise it wouldn't loop at all), = and > [0, INT_MAX - 1] ranges for i1, i2 and i3. But, from the i1 * b2 * b3 + = i2 > * b3 + (i3 - 1) we could have determined that b1 * b2 * b3 is [0, INT_MAX= ]. >=20 > We do vectorize: > int > f (int *x, int b1, int b2, int b3) > { > int foo =3D 0; > for (int i1 =3D 0; i1 < b1; ++i1) > for (int i2 =3D 0; i2 < b2; ++i2) > for (int i3 =3D 0; i3 < b3; ++i3) > foo +=3D x[(i1 * b2 + i2) * b3 + (i3 - 1)]; > return foo; > } > without gather loads, while the #c0 only with them (if available). >=20 > Regarding the PR66313 optimization, first of all, what happened to the mo= ve > of it to match.pd? Given we have the reassoc pass doing this "properly" (well, but not for signed integer types...) I have not pursused fully moving it. We might want to move some of the more "obvious" cases (but IIRC some cases involving constants are already handled). So, the ultimate plan is to make reassoc stronger, rewriting assoicated signed arithmetic to unsigned where required. > As we vectorize: > int > f (int *x, int b1, int b2, int b3) > { > int foo =3D 0; > for (int i1 =3D 0; i1 < b1; ++i1) > for (int i2 =3D 0; i2 < b2; ++i2) > for (int i3 =3D 0; i3 < b3; ++i3) > { > int t1 =3D i1 * b2 * b3; > int t2 =3D i2 * b3; > int t3 =3D i3 - 1; > foo +=3D x[t1 + t2 + t3]; > } > return foo; > } >=20 > it seems that hasn't been done. >=20 > Second thing, in fold_plusminus_mult_expr I don't understand the: > /* We are neither factoring zero nor minus one. */ > || TREE_CODE (same) =3D=3D INTEGER_CST) > part, shouldn't that be || (TREE_CODE (same) =3D=3D INTEGER_CST && > !integer_zerop (same) && !integer_minus_onep (same)) ? The comment says that same =3D=3D 0 or same =3D=3D -1 don't happen by const= ruction. > Another thing is, for signed a, b, c we can't optimize a * b + a * c as > a * (b + c) if a can be -1 or 0, exhaustive proof for signed char: > int > main () > { > int a, b, c; > for (a =3D -128; a < 128; a++) > for (b =3D -128; b < 128; b++) > for (c =3D -128; c < 128; c++) > { > int ab =3D a * b; > int ac =3D a * c; > int ab_ac =3D ab + ac; > if (ab < -128 || ab >=3D 128 || ac < -128 || ac >=3D 128 || ab_ac < -1= 28 || > ab_ac >=3D 128) > continue; > /* Ok, in this case a * b + a * c is without UB. */ > int b_c =3D b + c; > #ifdef NEW > b_c =3D (signed char) b_c; > #endif > int r =3D a * b_c; > if (b_c < -128 || b_c >=3D 128 || r !=3D ab_ac) > __builtin_printf ("%d * %d + %d * %d =3D %d wrong opt (%d)\n", a, b,= a, > c, ab_ac, r); > } > return 0; > } >=20 > But, if we know for sure that a is not -1, we could optimize it as > a * (signed)((unsigned) b + c) > (which doesn't work for a =3D=3D -1, but works for others) instead of > (signed)(a * ((unsigned) b + c)) > (which works for all, but is a too big hammer). >=20 > Perhaps if this optimization is moved over to match.pd and we'd defer it = if > a isn't constant until at least vrp1 and tune based on range info? > The range for b3 at least during vrp pass itself is [1, INT_MAX], so neit= her > -1 nor 0 are possible and we could safely reassociate it as a * (b + c) > rather than the variants with unsigned. >=20 > Or do we want to somehow mark the MULT_EXPR we've created, propagate it > through the IL and if we in vrp notice this way marked MULT_EXPR (or IFN)= we > fold it as integer multiplication? That would be ugly. I don't really see a good solutuon to this PR either :/ Delaying the folding to GIMPLE would be ok with me but as said I'd like to see reassoc enhanced rather than stuffing more and more "complex" patterns to match.pd. Ultimatively we'd want to compute SCEV for all relevant IVs early and cache them. That should be easy when only constants are involved but will be tricky (impossible) when any symbols are. In the case of this testcase it's all constants of course. I once did experiment with "lowering" GIMPLE to -fwrapv (as RTL is) before late reassoc and that "worked" (well, it of course regressed stuff, and it was merely to prove reassoc of signed arithmetic is useful). >>From gcc-bugs-return-587098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 09:51:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26176 invoked by alias); 2 Jan 2018 09:51: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 26125 invoked by uid 48); 2 Jan 2018 09:51:47 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/81082] [8 Regression] Failure to vectorise after reassociating index computation Date: Tue, 02 Jan 2018 09: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: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00048.txt.bz2 Content-length: 315 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81082 --- Comment #4 from Richard Biener --- Created attachment 43003 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43003&action=3Dedit patch introducing "late" gimple with -fwrapv semantics So that was for another PR, PR81554. >>From gcc-bugs-return-587099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 10:00:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63979 invoked by alias); 2 Jan 2018 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 61050 invoked by uid 48); 2 Jan 2018 10:00:34 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/48150] [6/7/8 Regression] gcc.dg/guality/sra-1.c Date: Tue, 02 Jan 2018 10: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: 4.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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-01/txt/msg00049.txt.bz2 Content-length: 473 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D48150 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |FIXED --- Comment #20 from Richard Biener --- I don't see the FAIL anymore either, let's close. >>From gcc-bugs-return-587100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 10:22:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63019 invoked by alias); 2 Jan 2018 10: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 62917 invoked by uid 48); 2 Jan 2018 10:22:31 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83581] [8 Regression] ICE in expand_LOOP_VECTORIZED, at internal-fn.c:2397 Date: Tue, 02 Jan 2018 10: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: 8.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: 8.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: 2018-01/txt/msg00050.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83581 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-587101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 10:37:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3050 invoked by alias); 2 Jan 2018 10:37: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 1012 invoked by uid 48); 2 Jan 2018 10:37:22 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83580] [6/7/8 Regression] Wrong code caused by vectorization Date: Tue, 02 Jan 2018 10: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: 8.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.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: 2018-01/txt/msg00051.txt.bz2 Content-length: 972 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83580 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- This goes wrong during pcom: [local count: 136902083]: + _26 =3D (unsigned char) t_29; + _25 =3D -_26; + _34 =3D (signed char) _25; + _33 =3D (sizetype) _34; + _53 =3D _33 * 4; + _54 =3D &a + _53; + a_I_lsm0.9_55 =3D MEM[(int *)_54 + 520B]; [local count: 912680551]: # i_52 =3D PHI <0(9), i_32(10)> _2 =3D (unsigned char) t_29; _3 =3D 130 - _2; _4 =3D (signed char) _3; _5 =3D (int) _4; - t_31 =3D a[_5]; + t_31 =3D a_I_lsm0.9_55; is of course invalid, because it performs the + 130 addition in sizetype ra= ther than before the (signed char) cast. >>From gcc-bugs-return-587102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 10:37:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4970 invoked by alias); 2 Jan 2018 10:37: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 4910 invoked by uid 48); 2 Jan 2018 10:37:55 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83580] [6/7/8 Regression] Wrong code caused by vectorization Date: Tue, 02 Jan 2018 10: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: 8.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.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: 2018-01/txt/msg00052.txt.bz2 Content-length: 416 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83580 --- Comment #3 from Jakub Jelinek --- Testcase after formatting improvements: int a[2] =3D { 0, 1 }; int x =3D 129; int main () { volatile int v =3D 0; int t =3D x, i; for (i =3D 0; i < 1 + v + v + v + v + v + v + v + v + a[a[0]]; i++) t =3D a[(signed char) (130 - x)]; if (t !=3D 1) __builtin_abort (); return 0; } >>From gcc-bugs-return-587103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 10:40:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7439 invoked by alias); 2 Jan 2018 10: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 7349 invoked by uid 48); 2 Jan 2018 10:40:08 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/83602] [8 Regression] ICE in cpp_macro_definition_location(cpp_hashnode*) on invalid code Date: Tue, 02 Jan 2018 10:40: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: unknown X-Bugzilla-Keywords: ice-on-invalid-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: 2018-01/txt/msg00053.txt.bz2 Content-length: 565 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83602 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-02 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- I think it is. >>From gcc-bugs-return-587104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 10:40:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8136 invoked by alias); 2 Jan 2018 10:40: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 7650 invoked by uid 48); 2 Jan 2018 10:40:14 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/83602] [8 Regression] ICE in cpp_macro_definition_location(cpp_hashnode*) on invalid code Date: Tue, 02 Jan 2018 10:40: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: unknown X-Bugzilla-Keywords: ice-on-invalid-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: 8.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: 2018-01/txt/msg00054.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83602 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 >>From gcc-bugs-return-587105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 10:42:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9614 invoked by alias); 2 Jan 2018 10: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 9576 invoked by uid 48); 2 Jan 2018 10:42:09 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/83157] [8 regression] gcc.dg/guality/pr41616-1.c fail Date: Tue, 02 Jan 2018 10:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: wrong-debug X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00055.txt.bz2 Content-length: 3142 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83157 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #7 from Richard Biener --- First of all the clone should have pointed to the abstract origin of guality_main but it seems we re-use that for the concrete instance failing to see it was "inlined". So the bogus location shoudln't be visible in the guality_main.constprop () context. After we fixed that we can continue investigating (if it still fails). So: ;; guality_main.constprop() <1><9f0>: Abbrev Number: 42 (DW_TAG_subprogram) <9f1> DW_AT_abstract_origin: <0x474> and ;; guality_main() <1><994>: Abbrev Number: 42 (DW_TAG_subprogram) <995> DW_AT_abstract_origin: <0x474> refer to the same abstract instance of guality_main. But <2>: Abbrev Number: 46 (DW_TAG_variable) DW_AT_abstract_origin: <0x9c1> doesn't refer to the abstract origin copy of the variable but the concrete instace one. As said, with current trunk I don't even see a DIE for guality_main.constpr= op because it is inlined (but the guality test still fails). Your reduced testcase reproduces the issue for me. Ah... I guess this all might happen because the actual DECL refers to both the abstract instance and the concrete instance and add_abstract_origin_attribute simply never expects the concrete instance to exist already... But creating the DIE for the clone happens late enough here=20 (when it is finally output): Breakpoint 6, equate_decl_number_to_die ( decl=3D,=20 decl_die=3D>) at /space/rguenther/src/svn/trunk2/gcc/dwarf2out.c:5763 5763 unsigned int decl_id =3D DECL_UID (decl); ... Breakpoint 6, equate_decl_number_to_die ( decl=3D,=20 decl_die=3D>) at /space/rguenther/src/svn/trunk2/gcc/dwarf2out.c:5763 5763 unsigned int decl_id =3D DECL_UID (decl); ... Breakpoint 5, add_abstract_origin_attribute ( die=3D>, origin=3D) at /space/rguenther/src/svn/trunk2/gcc/dwarf2out.c:20445 20445 dw_die_ref origin_die =3D NULL; boring (gdb) p debug_generic_expr (cfun->decl) guality_main.constprop (gdb) p origin_die $24 =3D > This means we're lacking an "early" DIE creation stage for the function clo= ne. IPA materialization happens early enough for this. Forgoing the 1:1 mapping of decl to DIE would be another possibility to fix this (making the global map always point to the abstract copy and adding a local map for querying during dwarf2out_function_decl). Jason? >>From gcc-bugs-return-587106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 11:03:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107093 invoked by alias); 2 Jan 2018 11: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 100139 invoked by uid 48); 2 Jan 2018 11:03:19 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83648] missing -Wsuggest-attribute=malloc on a trivial malloc-like function Date: Tue, 02 Jan 2018 11: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: 8.0 X-Bugzilla-Keywords: diagnostic 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: prathamesh3492 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: 2018-01/txt/msg00056.txt.bz2 Content-length: 225 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83648 --- Comment #2 from prathamesh3492 at gcc dot gnu.org --- Created attachment 43004 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43004&action=3Dedit Untested fix >>From gcc-bugs-return-587107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 11:19:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85355 invoked by alias); 2 Jan 2018 11: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 85289 invoked by uid 48); 2 Jan 2018 11:19:18 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83580] [6/7/8 Regression] Wrong code caused by vectorization Date: Tue, 02 Jan 2018 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: 8.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.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: 2018-01/txt/msg00057.txt.bz2 Content-length: 1510 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83580 --- Comment #4 from Jakub Jelinek --- Seems create_data_ref creates something bogus, it really can't split off the offset from the base. dr_analyze_innermost calls: 897 split_constant_offset (offset_iv.base, &offset_iv.base, &dinit); with offset_iv.base being originally (sizetype) (signed char) (130 - (unsigned char) t_29) * 4 and makes (sizetype) (signed char) -(unsigned char) t_29 * 4 out of it with dinit 520. split_constant_offset uses STRIP_NOPS and split_constant_offset_1 has: 698 /* We must not introduce undefined overflow, and we must not change the value. 699 Hence we're okay if the inner type doesn't overflow to s= tart with 700 (pointer or signed), the outer type also is an integer or pointer 701 and the outer precision is at least as large as the inne= r.=20 */ 702 tree itype =3D TREE_TYPE (op0); 703 if ((POINTER_TYPE_P (itype) 704 || (INTEGRAL_TYPE_P (itype) && TYPE_OVERFLOW_UNDEFINED (itype))) 705 && TYPE_PRECISION (type) >=3D TYPE_PRECISION (itype) 706 && (POINTER_TYPE_P (type) || INTEGRAL_TYPE_P (type))) 707 { 708 split_constant_offset (op0, &var0, off); 709 *var =3D fold_convert (type, var0); 710 return true; 711 } 712 return false; Richard, can you please have a look? >>From gcc-bugs-return-587108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 11:32:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98717 invoked by alias); 2 Jan 2018 11:32: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 98623 invoked by uid 48); 2 Jan 2018 11:32:38 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV Date: Tue, 02 Jan 2018 11: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: 8.0 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: 8.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: 2018-01/txt/msg00058.txt.bz2 Content-length: 4571 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81968 --- Comment #39 from Richard Biener --- (In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #38) > >> --- Comment #33 from rguenther at suse dot de --- > > [...] > >>>* Invalid sh_info: > >>> > >>>FAIL: g++.dg/lto/pr42987 cp_lto_pr42987_0.o-cp_lto_pr42987_1.o link,=20 > >>>-flto > >>>-flto-partition=3Dnone -g=20 > >>>FAIL: g++.dg/lto/pr42987 cp_lto_pr42987_0.o-cp_lto_pr42987_1.o link,=20 > >>>-flto -g=20 > >>> > >>>ld: fatal: file /var/tmp//ccXwdzGddebugobjtem: section > >>>[6].rel.gnu.debuglto_.debug_info: has invalid sh_info: 9 > >>>ld: fatal: file /var/tmp//ccuVJOVbdebugobjtem: section > >>>[6].rel.gnu.debuglto_.debug_info: has invalid sh_info: 8 > >>> > >>> seen during the ld -r -o ccrIZb_ddebugobj ccSerOuddebugobjtem > >>> cc5b3Arcdebugobjtem step: > >>> > >>>ccSerOuddebugobjtem: .rel.gnu.debuglto_.debug_info: sh_info: 9: does > >>>not point > >>>to a valid section > >>> > >>>Section Header[6]: sh_name: .rel.gnu.debuglto_.debug_info > >>> sh_addr: 0 sh_flags: 0 > >>> sh_size: 0x8 sh_type: [ SHT_REL ] > >>> sh_offset: 0x11c8 sh_entsize: 0x8 (1 entry) > >>> sh_link: 5 sh_info: 9 > >>> sh_addralign: 0x4=20=20=20=20=20=20=20 > >>> > >>> But there's no section 9 any longer. > >> > >> I fixed that in the posted patch for the hpux issue(s).=20 > > > > Good: I'll try to merge the two after the christmas holidays. >=20 > I've used the attached patch, with mixed results: >=20 > * No changes on SPARC (which wasn't affected by this issue in the first > place). >=20 > * On x86, of the previous 32 ld: fatal: has invalid sh_info errors, 16 > are now gone. >=20 > However, I've many (1284 in g++.log) instances of >=20 > ld: warning: symbol .symtab[2] has invalid section index; ignored: > (file /var/tmp//ccyttLYbdebugobjtem value=3D9); >=20 > Those links end with >=20 > ld: fatal: file /var/tmp//ccyttLYbdebugobjtem: section > [6].rel.gnu.debuglto_.debug_info: has invalid sh_info: 9 >=20 > and ld SEGVing, again in the ld -r step. >=20 > The warnings are from symtab entries like >=20 > Symbol Table Section: .symtab > index value size type bind oth ver shndx name > [0] 0 0 NOTY LOCL D 0 UNDEF=20=20=20=20=20=20=20=20=20 > [1] 0 0 FILE LOCL D 0 ABS pr42987_0.C > [2] 0 0 NOTY LOCL D 0 9=20=20=20=20=20=20=20=20=20=20=20= =20=20 >=20 > and section 9 doesn't exist, where the input object (cp_lto_pr42987_0.o) > has Just guessing that it maybe doesn't like NOTYPE on local defs? I would expect that before the partial link step that section 9 would exist. Does Index: libiberty/simple-object-elf.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 --- libiberty/simple-object-elf.c (revision 256070) +++ libiberty/simple-object-elf.c (working copy) @@ -1400,9 +1400,9 @@ simple_object_elf_copy_lto_debug_section gnu_lto - strings); ELF_SET_FIELD (type_functions, ei_class, Sym, ent, st_shndx, Elf_Half, SHN_UNDEF= ); + *st_info =3D ELF_ST_INFO (bind, STT_NOTYPE); } *st_other =3D other; - *st_info =3D ELF_ST_INFO (bind, STT_NOTYPE); ELF_SET_FIELD (type_functions, ei_class, Sym, ent, st_value, Elf_Addr, 0); ELF_SET_FIELD (type_functions, ei_class, Sym, fix these errors? >=20 > Section Header[9]: sh_name: .gnu.debuglto_.debug_info > sh_addr: 0 sh_flags: 0 > sh_size: 0x3d4 sh_type: [ SHT_PROGBITS ] > sh_offset: 0x7fb sh_entsize: 0 > sh_link: 0 sh_info: 0 > sh_addralign: 0x1=20=20=20=20=20=20=20 >=20 > Symbol Table Section: .symtab > index value size type bind oth ver shndx / name > [0] 0 0 NOTY LOCL D 0 UNDEF=20=20=20=20=20=20=20=20=20=20 > [1] 0 0 FILE LOCL D 0 ABS pr42987_0.C > [2] 0 0 SECT LOCL D 0 .text=20=20=20=20=20=20=20=20=20=20 > [3] 0 0 SECT LOCL D 0 .gnu.debuglto_.debug_info=20 >=20 > Rainer >>From gcc-bugs-return-587109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 12:07:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68578 invoked by alias); 2 Jan 2018 12: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 68503 invoked by uid 55); 2 Jan 2018 12:07:29 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83008] [performance] Is it better to avoid extra instructions in data passing between loops? Date: Tue, 02 Jan 2018 12:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization 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: 2018-01/txt/msg00059.txt.bz2 Content-length: 4607 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83008 --- Comment #19 from rguenther at suse dot de --- On Sun, 24 Dec 2017, sergey.shalnov at intel dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83008 >=20 > --- Comment #18 from sergey.shalnov at intel dot com --- > Yes, I agree that vector_store stage has it=E2=80=99s own vectorization c= ost. > And each vector_store has vector_construction stage. These stages are dif= ferent > in gcc slp (as you know). > To better illustrate my point of view I would like to propose a patch. > I didn=E2=80=99t submit the patch to community yet because I think it is = better to > discuss it before that. >=20 > index 0ca42b4..72e3123 100644 > --- a/gcc/tree-vect-slp.c > +++ b/gcc/tree-vect-slp.c > @@ -1825,7 +1825,7 @@ vect_analyze_slp_cost_1 (slp_instance instance, slp= _tree > node, > record_stmt_cost (prologue_cost_vec, 1, vector_load, > stmt_info, 0, vect_prologue); > else if (dt =3D=3D vect_external_def) > - record_stmt_cost (prologue_cost_vec, 1, vec_construct, > + record_stmt_cost (prologue_cost_vec, ncopies_for_cost, > vec_construct, > stmt_info, 0, vect_prologue); > } > } I'm not sure it affects the testcase in question but yes, there's imprecision in this in that it assumes too much CSE happening. Using ncopies_for_cost will over-estimate the cost though, it will match the code we generate though (CSE will cleanup). As the comment says this code should be re-engineered ;) (it also misses to make a splat cheap). Sth like the following might work for most cases: Index: gcc/tree-vect-slp.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-vect-slp.c (revision 256070) +++ gcc/tree-vect-slp.c (working copy) @@ -1815,18 +1815,41 @@ vect_analyze_slp_cost_1 (slp_instance in enum vect_def_type dt; if (!op || op =3D=3D lhs) continue; - if (vect_is_simple_use (op, stmt_info->vinfo, &def_stmt, &dt)) + if (vect_is_simple_use (op, stmt_info->vinfo, &def_stmt, &dt) + && (dt =3D=3D vect_constant_def || dt =3D=3D vect_external_def)) { /* Without looking at the actual initializer a vector of constants can be implemented as load from the constant pool. - ??? We need to pass down stmt_info for a vector type - even if it points to the wrong stmt. */ - if (dt =3D=3D vect_constant_def) - record_stmt_cost (prologue_cost_vec, 1, vector_load, - stmt_info, 0, vect_prologue); - else if (dt =3D=3D vect_external_def) - record_stmt_cost (prologue_cost_vec, 1, vec_construct, - stmt_info, 0, vect_prologue); + When all elements are the same we can use a splat. */ + tree vectype =3D get_vectype_for_scalar_type (TREE_TYPE (op)); + unsigned nunits =3D TYPE_VECTOR_SUBPARTS (vectype); + unsigned group_size =3D SLP_TREE_SCALAR_STMTS (node).length (); + tree elt =3D NULL_TREE; + unsigned nelt =3D 0; + for (unsigned j =3D 0; j < ncopies_for_cost * nunits / group_size= ; ++j) + for (unsigned k =3D 0; k < group_size; ++k) + { + if (nelt =3D=3D 0) + elt =3D gimple_op (SLP_TREE_SCALAR_STMTS (node)[nelt], i); + /* ??? We're just tracking whether all operands of a single + vector initializer are the same, ideally we'd check if + we emitted the same one already. */ + else if (elt !=3D gimple_op (SLP_TREE_SCALAR_STMTS (node)[n= elt], + i)) + elt =3D NULL_TREE; + nelt++; + if (nelt =3D=3D group_size) + { + /* ??? We need to pass down stmt_info for a vector type + even if it points to the wrong stmt. */ + record_stmt_cost (prologue_cost_vec, 1, + dt =3D=3D vect_external_def + ? (elt ? scalar_to_vec : vec_construc= t) + : vector_load, + stmt_info, 0, vect_prologue); + nelt =3D 0; + } + } } } >>From gcc-bugs-return-587110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 12:11:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73917 invoked by alias); 2 Jan 2018 12:11: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 73890 invoked by uid 48); 2 Jan 2018 12:11:11 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82133] [7/8 Regression] unroll-loops too aggressive Date: Tue, 02 Jan 2018 12:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: needs-reduction, wrong-code 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: 7.3 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: 2018-01/txt/msg00060.txt.bz2 Content-length: 491 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82133 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #5 from Richard Biener --- Bougs inline-asm. There's nothing we can do on the GCC side here. >>From gcc-bugs-return-587111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 12:13:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75509 invoked by alias); 2 Jan 2018 12:13: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 75473 invoked by uid 48); 2 Jan 2018 12:13:23 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82665] missing value range optimization for memchr Date: Tue, 02 Jan 2018 12:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement 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: 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: 2018-01/txt/msg00061.txt.bz2 Content-length: 455 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82665 prathamesh3492 at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |prathamesh3492 at gcc dot = gnu.org --- Comment #2 from prathamesh3492 at gcc dot gnu.org --- Patch posted upstream - https://gcc.gnu.org/ml/gcc-patches/2018-01/msg00020.html >>From gcc-bugs-return-587112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 12:26:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113382 invoked by alias); 2 Jan 2018 12: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 110783 invoked by uid 48); 2 Jan 2018 12:26:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83634] [8 Regression] ICE in useless_type_conversion_p, at gimple-expr.c:86 Date: Tue, 02 Jan 2018 12: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: 8.0 X-Bugzilla-Keywords: error-recovery 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: 8.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: 2018-01/txt/msg00062.txt.bz2 Content-length: 578 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83634 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 43005 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43005&action=3Dedit gcc8-pr83634.patch Untested fix. >>From gcc-bugs-return-587113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 12:30:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1468 invoked by alias); 2 Jan 2018 12: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 1404 invoked by uid 48); 2 Jan 2018 12:30:31 -0000 From: "jb at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/83649] New: Large reads fail Date: Tue, 02 Jan 2018 12:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jb at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2018-01/txt/msg00063.txt.bz2 Content-length: 1327 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83649 Bug ID: 83649 Summary: Large reads fail Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran Assignee: unassigned at gcc dot gnu.org Reporter: jb at gcc dot gnu.org Target Milestone: --- Consider the testcase program largewr integer(kind=3D1) :: a(2_8**31+1) a =3D 0 a(size(a, kind=3D8)) =3D 1 open(10, file=3D"largewr.dat", access=3D"stream", form=3D"unformatted") write (10) a close(10) a(size(a, kind=3D8)) =3D 2 open(10, file=3D"largewr.dat", access=3D"stream", form=3D"unformatted") read (10) a if (a(size(a, kind=3D8)) =3D=3D 1) then print *, "All is well" else print *, "Oh no" end if end program largewr This fails on x86_64-pc-linux-gnu with ./a.out At line 10 of file largewr.f90 (unit =3D 10, file =3D 'largewr.dat') Fortran runtime error: End of file [snip] The reason is that Linux never reads or writes more than 2,147,479,552 byte= s in a single syscall. For write libgfortran does the writing in a loop, and it's handled correctly, but for read we cannot do that loop since then it will h= ang when reading from the terminal where short reads are perfectly Ok. >>From gcc-bugs-return-587114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 12:34:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32598 invoked by alias); 2 Jan 2018 12: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 32568 invoked by uid 48); 2 Jan 2018 12:34:40 -0000 From: "jb at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/83649] Large reads fail Date: Tue, 02 Jan 2018 12:34: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jb at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00064.txt.bz2 Content-length: 367 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83649 --- Comment #1 from Janne Blomqvist --- I forgot a reference; see http://man7.org/linux/man-pages/man2/read.2.html https://stackoverflow.com/questions/38586144/error-when-trying-to-write-a-f= ile-larger-than-2-gb-on-linux suggests that macOS isn't able to handle writes >=3D 2 GB either. >>From gcc-bugs-return-587115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 12:35:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35418 invoked by alias); 2 Jan 2018 12: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 35287 invoked by uid 48); 2 Jan 2018 12:35:50 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/64462] ICE while compiling lambda using local constexpr reference variable Date: Tue, 02 Jan 2018 12: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: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.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: 2018-01/txt/msg00065.txt.bz2 Content-length: 504 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64462 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Nathan Sidwell --- The test case is valid, as this is not an ODR use of 'y'. added a comment = to it. >>From gcc-bugs-return-587116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 12:36:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36637 invoked by alias); 2 Jan 2018 12:36: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 36574 invoked by uid 48); 2 Jan 2018 12:36:01 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82541] Wduplicated-branches triggers in template context Date: Tue, 02 Jan 2018 12: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: 7.2.0 X-Bugzilla-Keywords: diagnostic 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: 2018-01/txt/msg00066.txt.bz2 Content-length: 422 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82541 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #3 from Marek Polacek --- I have a fix for the original test. >>From gcc-bugs-return-587117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 12:50:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2225 invoked by alias); 2 Jan 2018 12: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 129846 invoked by uid 48); 2 Jan 2018 12:49:58 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83051] [8 Regression] ICE on valid code at -O3: in edge_badness, at ipa-inline.c:1024 Date: Tue, 02 Jan 2018 12:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00067.txt.bz2 Content-length: 1051 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83051 --- Comment #3 from Zdenek Sojka --- Created attachment 43006 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43006&action=3Dedit different testcase $ x86_64-pc-linux-gnu-gcc -O --param=3Dmax-inline-recursive-depth=3D84 test= case.c -Wno-psabi during IPA pass: inline testcase.c:20:1: internal compiler error: in edge_badness, at ipa-inline.c:= 997 } ^ 0x16e77b1 edge_badness /repo/gcc-trunk/gcc/ipa-inline.c:996 0x16e78d9 update_edge_key /repo/gcc-trunk/gcc/ipa-inline.c:1195 0x16e81d8 update_callee_keys /repo/gcc-trunk/gcc/ipa-inline.c:1361 0x16e9ec5 inline_small_functions /repo/gcc-trunk/gcc/ipa-inline.c:1965 0x16eaf83 ipa_inline /repo/gcc-trunk/gcc/ipa-inline.c:2449 0x16eaf83 execute /repo/gcc-trunk/gcc/ipa-inline.c:2855 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-587118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 13:04:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94619 invoked by alias); 2 Jan 2018 13: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 94530 invoked by uid 55); 2 Jan 2018 13:04:52 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81616] Update -mtune=generic for the current Intel and AMD processors Date: Tue, 02 Jan 2018 13:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.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: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00068.txt.bz2 Content-length: 466 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81616 --- Comment #42 from Jan Hubicka --- Author: hubicka Date: Tue Jan 2 13:04:19 2018 New Revision: 256073 URL: https://gcc.gnu.org/viewcvs?rev=3D256073&root=3Dgcc&view=3Drev Log: PR target/81616 * config/i386/x86-tune-costs.h: Increase cost of integer load costs for generic 4->6. Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/x86-tune-costs.h >>From gcc-bugs-return-587119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 13:23:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36488 invoked by alias); 2 Jan 2018 13:23: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 33007 invoked by uid 48); 2 Jan 2018 13:23:48 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/64462] ICE while compiling lambda using local constexpr reference variable Date: Tue, 02 Jan 2018 13:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: accepts-invalid 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: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.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: 2018-01/txt/msg00069.txt.bz2 Content-length: 445 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64462 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #7 from Jakub Jelinek --- Note, the #c0 testcase has been fixed with r216056 aka PR63207 fix. >>From gcc-bugs-return-587120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 13:25:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47138 invoked by alias); 2 Jan 2018 13: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 47106 invoked by uid 55); 2 Jan 2018 13:25:42 -0000 From: "jb at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/83649] Large reads fail Date: Tue, 02 Jan 2018 13:25: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jb at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00070.txt.bz2 Content-length: 1670 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83649 --- Comment #2 from Janne Blomqvist --- Author: jb Date: Tue Jan 2 13:25:10 2018 New Revision: 256074 URL: https://gcc.gnu.org/viewcvs?rev=3D256074&root=3Dgcc&view=3Drev Log: PR libgfortran/83649 Chunk large reads and writes It turns out that Linux never reads or writes more than 2147479552 bytes in a single syscall. For writes this is not a problem as libgfortran already contains a loop around write() to handle short writes. But for reads we cannot do this, since then read will hang if we have a short read when reading from the terminal. Also, there are reports that macOS fails I/O's larger than 2 GB. Thus, to work around these issues do large reads/writes in chunks. The testcase from the PR program largewr integer(kind=3D1) :: a(2_8**31+1) a =3D 0 a(size(a, kind=3D8)) =3D 1 open(10, file=3D"largewr.dat", access=3D"stream", form=3D"unformatted") write (10) a close(10) a(size(a, kind=3D8)) =3D 2 open(10, file=3D"largewr.dat", access=3D"stream", form=3D"unformatted") read (10) a if (a(size(a, kind=3D8)) =3D=3D 1) then print *, "All is well" else print *, "Oh no" end if end program largewr fails on trunk but works with the patch. Regtested on x86_64-pc-linux-gnu, committed to trunk. libgfortran/ChangeLog: 2018-01-02 Janne Blomqvist PR libgfortran/83649 * io/unix.c (MAX_CHUNK): New define. (raw_read): For reads larger than MAX_CHUNK, loop. (raw_write): Write no more than MAX_CHUNK bytes per iteration. Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/io/unix.c >>From gcc-bugs-return-587121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 13:40:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76505 invoked by alias); 2 Jan 2018 13:40: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 76415 invoked by uid 48); 2 Jan 2018 13:40:27 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/83602] [8 Regression] ICE in cpp_macro_definition_location(cpp_hashnode*) on invalid code Date: Tue, 02 Jan 2018 13:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00071.txt.bz2 Content-length: 742 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83602 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 43007 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43007&action=3Dedit gcc8-pr83602.patch Untested fix. For builtin macros, it doesn't make sense to look at definit= ion location, that is builtin, and they don't use value.macro union member but rather value.builtin. >>From gcc-bugs-return-587122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 14:04:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38847 invoked by alias); 2 Jan 2018 14: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 38268 invoked by uid 55); 2 Jan 2018 14:04:22 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV Date: Tue, 02 Jan 2018 14:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00072.txt.bz2 Content-length: 2822 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81968 --- Comment #40 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #39 from Richard Biener --- [...] >> * On x86, of the previous 32 ld: fatal: has invalid sh_info errors, 16 >> are now gone. >>=20 >> However, I've many (1284 in g++.log) instances of >>=20 >> ld: warning: symbol .symtab[2] has invalid section index; ignored: >> (file /var/tmp//ccyttLYbdebugobjtem value=3D9); >>=20 >> Those links end with >>=20 >> ld: fatal: file /var/tmp//ccyttLYbdebugobjtem: section >> [6].rel.gnu.debuglto_.debug_info: has invalid sh_info: 9 >>=20 >> and ld SEGVing, again in the ld -r step. >>=20 >> The warnings are from symtab entries like >>=20 >> Symbol Table Section: .symtab >> index value size type bind oth ver shndx name >> [0] 0 0 NOTY LOCL D 0 UNDEF=20=20=20=20=20=20=20=20=20 >> [1] 0 0 FILE LOCL D 0 ABS pr42987_0.C >> [2] 0 0 NOTY LOCL D 0 9=20=20=20=20=20=20=20=20=20=20= =20=20=20 >>=20 >> and section 9 doesn't exist, where the input object (cp_lto_pr42987_0.= o) >> has > > Just guessing that it maybe doesn't like NOTYPE on local defs? I would I don't think so. With your patch, the affected symbols are SECT instead of LOCL, otherwise no difference. > expect that before the partial link step that section 9 would exist. It does indeed as I mentioned (cp_lto_pr42987_0.o is the input object corresponding to ccyttLYbdebugobjtem). > Does > > Index: libiberty/simple-object-elf.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 > --- libiberty/simple-object-elf.c (revision 256070) > +++ libiberty/simple-object-elf.c (working copy) > @@ -1400,9 +1400,9 @@ simple_object_elf_copy_lto_debug_section > gnu_lto - strings); > ELF_SET_FIELD (type_functions, ei_class, Sym, > ent, st_shndx, Elf_Half, SHN_UND= EF); > + *st_info =3D ELF_ST_INFO (bind, STT_NOTYPE); > } > *st_other =3D other; > - *st_info =3D ELF_ST_INFO (bind, STT_NOTYPE); > ELF_SET_FIELD (type_functions, ei_class, Sym, > ent, st_value, Elf_Addr, 0); > ELF_SET_FIELD (type_functions, ei_class, Sym, > > fix these errors? Unfortunately not: it's really the section index pointing to the non-existing (i.e. eliminated) .gnu.debuglto_.debug_info section. Rainer >>From gcc-bugs-return-587123-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 14:08:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44339 invoked by alias); 2 Jan 2018 14:08: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 44274 invoked by uid 48); 2 Jan 2018 14:08:35 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83480] [8 Regression] ICE in create_block_for_bookkeeping, at sel-sched.c:4557 Date: Tue, 02 Jan 2018 14:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.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: 8.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: 2018-01/txt/msg00073.txt.bz2 Content-length: 507 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83480 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.or= g, | |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek --- Started with r255607 (at least the #c2 testcase). >>From gcc-bugs-return-587124-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 14:16:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65737 invoked by alias); 2 Jan 2018 14: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 60533 invoked by uid 48); 2 Jan 2018 14:16:06 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83051] [8 Regression] ICE on valid code at -O3: in edge_badness, at ipa-inline.c:1024 Date: Tue, 02 Jan 2018 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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00074.txt.bz2 Content-length: 1193 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83051 --- Comment #4 from Martin Li=C5=A1ka --- (In reply to Zdenek Sojka from comment #3) > Created attachment 43006 [details] > different testcase >=20 > $ x86_64-pc-linux-gnu-gcc -O --param=3Dmax-inline-recursive-depth=3D84 > testcase.c -Wno-psabi > during IPA pass: inline > testcase.c:20:1: internal compiler error: in edge_badness, at > ipa-inline.c:997 > } > ^ > 0x16e77b1 edge_badness > /repo/gcc-trunk/gcc/ipa-inline.c:996 > 0x16e78d9 update_edge_key > /repo/gcc-trunk/gcc/ipa-inline.c:1195 > 0x16e81d8 update_callee_keys > /repo/gcc-trunk/gcc/ipa-inline.c:1361 > 0x16e9ec5 inline_small_functions > /repo/gcc-trunk/gcc/ipa-inline.c:1965 > 0x16eaf83 ipa_inline > /repo/gcc-trunk/gcc/ipa-inline.c:2449 > 0x16eaf83 execute > /repo/gcc-trunk/gcc/ipa-inline.c:2855 > Please submit a full bug report, > with preprocessed source if appropriate. > Please include the complete backtrace with any bug report. > See for instructions. Confirmed, rounding issue here: edge_time: 10210501197824.000000 callee_info->time: 10210501206016.000000 >>From gcc-bugs-return-587125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 14:20:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94173 invoked by alias); 2 Jan 2018 14: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 94112 invoked by uid 55); 2 Jan 2018 14:20:31 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV Date: Tue, 02 Jan 2018 14: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major 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: 8.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: 2018-01/txt/msg00075.txt.bz2 Content-length: 3183 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81968 --- Comment #41 from rguenther at suse dot de --- On Tue, 2 Jan 2018, ro at CeBiTec dot Uni-Bielefeld.DE wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81968 >=20 > --- Comment #40 from ro at CeBiTec dot Uni-Bielefeld.DE --- > > --- Comment #39 from Richard Biener --- > [...] > >> * On x86, of the previous 32 ld: fatal: has invalid sh_info errors, 16 > >> are now gone. > >>=20 > >> However, I've many (1284 in g++.log) instances of > >>=20 > >> ld: warning: symbol .symtab[2] has invalid section index; ignored: > >> (file /var/tmp//ccyttLYbdebugobjtem value=3D9); > >>=20 > >> Those links end with > >>=20 > >> ld: fatal: file /var/tmp//ccyttLYbdebugobjtem: section > >> [6].rel.gnu.debuglto_.debug_info: has invalid sh_info: 9 > >>=20 > >> and ld SEGVing, again in the ld -r step. > >>=20 > >> The warnings are from symtab entries like > >>=20 > >> Symbol Table Section: .symtab > >> index value size type bind oth ver shndx name > >> [0] 0 0 NOTY LOCL D 0 UNDEF=20=20=20=20=20=20=20=20=20 > >> [1] 0 0 FILE LOCL D 0 ABS pr42987_0.C > >> [2] 0 0 NOTY LOCL D 0 9=20=20=20=20=20=20=20=20=20=20= =20=20=20 > >>=20 > >> and section 9 doesn't exist, where the input object (cp_lto_pr42987_= 0.o) > >> has > > > > Just guessing that it maybe doesn't like NOTYPE on local defs? I would >=20 > I don't think so. With your patch, the affected symbols are SECT > instead of LOCL, otherwise no difference. >=20 > > expect that before the partial link step that section 9 would exist. >=20 > It does indeed as I mentioned (cp_lto_pr42987_0.o is the input object > corresponding to ccyttLYbdebugobjtem). >=20 > > Does > > > > Index: libiberty/simple-object-elf.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 > > --- libiberty/simple-object-elf.c (revision 256070) > > +++ libiberty/simple-object-elf.c (working copy) > > @@ -1400,9 +1400,9 @@ simple_object_elf_copy_lto_debug_section > > gnu_lto - strings); > > ELF_SET_FIELD (type_functions, ei_class, Sym, > > ent, st_shndx, Elf_Half, SHN_U= NDEF); > > + *st_info =3D ELF_ST_INFO (bind, STT_NOTYPE); > > } > > *st_other =3D other; > > - *st_info =3D ELF_ST_INFO (bind, STT_NOTYPE); > > ELF_SET_FIELD (type_functions, ei_class, Sym, > > ent, st_value, Elf_Addr, 0); > > ELF_SET_FIELD (type_functions, ei_class, Sym, > > > > fix these errors? >=20 > Unfortunately not: it's really the section index pointing to the > non-existing (i.e. eliminated) .gnu.debuglto_.debug_info section. But that section shouldn't be eliminated :/ >>From gcc-bugs-return-587126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 14:28:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67423 invoked by alias); 2 Jan 2018 14:28: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 67291 invoked by uid 48); 2 Jan 2018 14:28:53 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/81860] [7/8 Regression] Call to undefined inline function involving inheriting constructors Date: Tue, 02 Jan 2018 14: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.2.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.3 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: 2018-01/txt/msg00076.txt.bz2 Content-length: 644 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81860 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |mpolacek at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org --- Comment #5 from Marek Polacek --- Fixed by r251426. I'll add the test at least. I think it's worth it becau= se I see no lambdas in the testcase. >>From gcc-bugs-return-587127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 14:29:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68544 invoked by alias); 2 Jan 2018 14: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 68429 invoked by uid 48); 2 Jan 2018 14:29:45 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83480] [8 Regression] ICE in create_block_for_bookkeeping, at sel-sched.c:4557 Date: Tue, 02 Jan 2018 14: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: 8.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: 8.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: 2018-01/txt/msg00077.txt.bz2 Content-length: 578 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83480 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aoliva at gcc dot gnu.org --- Comment #5 from Jakub Jelinek --- The ICE goes away with -gno-statement-frontiers, perhaps if sel-sched is unfixable we should disable statement frontiers in addition to var-tracking-assignments that we already disable for sel-sched. >>From gcc-bugs-return-587128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 14:30:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70096 invoked by alias); 2 Jan 2018 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 69881 invoked by uid 55); 2 Jan 2018 14:30:35 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV Date: Tue, 02 Jan 2018 14:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00078.txt.bz2 Content-length: 1579 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81968 --- Comment #42 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #41 from rguenther at suse dot de = --- [...] >> Unfortunately not: it's really the section index pointing to the >> non-existing (i.e. eliminated) .gnu.debuglto_.debug_info section. > > But that section shouldn't be eliminated :/ IIUC it has been renamed to .debug_info: * input object (cp_lto_pr42987_0.o): Section Header[9]: sh_name: .gnu.debuglto_.debug_info sh_addr: 0 sh_flags: 0 sh_size: 0x3d4 sh_type: [ SHT_PROGBITS ] sh_offset: 0x7fb sh_entsize: 0 sh_link: 0 sh_info: 0 sh_addralign: 0x1=20=20=20=20=20=20=20 * output object (ccw3tETddebugobjtem): Section Header[2]: sh_name: .debug_info sh_addr: 0 sh_flags: 0 sh_size: 0x3d4 sh_type: [ SHT_PROGBITS ] sh_offset: 0x84d sh_entsize: 0 sh_link: 0 sh_info: 0 sh_addralign: 0x1=20=20=20=20=20=20=20 without adapting section indices in .symtab. Besides, there's also a dangling Section Header[6]: sh_name: .rel.gnu.debuglto_.debug_info sh_addr: 0 sh_flags: 0 sh_size: 0x8 sh_type: [ SHT_REL ] sh_offset: 0x11c8 sh_entsize: 0x8 (1 entry) sh_link: 5 sh_info: 9 sh_addralign: 0x4=20=20=20=20=20=20=20 in the output object. Rainer >>From gcc-bugs-return-587129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 14:36:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74931 invoked by alias); 2 Jan 2018 14: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 74831 invoked by uid 55); 2 Jan 2018 14:36:51 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV Date: Tue, 02 Jan 2018 14:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major 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: 8.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: 2018-01/txt/msg00079.txt.bz2 Content-length: 2390 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81968 --- Comment #43 from rguenther at suse dot de --- On Tue, 2 Jan 2018, ro at CeBiTec dot Uni-Bielefeld.DE wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81968 >=20 > --- Comment #42 from ro at CeBiTec dot Uni-Bielefeld.DE --- > > --- Comment #41 from rguenther at suse dot de --- > [...] > >> Unfortunately not: it's really the section index pointing to the > >> non-existing (i.e. eliminated) .gnu.debuglto_.debug_info section. > > > > But that section shouldn't be eliminated :/ >=20 > IIUC it has been renamed to .debug_info: >=20 > * input object (cp_lto_pr42987_0.o): >=20 > Section Header[9]: sh_name: .gnu.debuglto_.debug_info > sh_addr: 0 sh_flags: 0 > sh_size: 0x3d4 sh_type: [ SHT_PROGBITS ] > sh_offset: 0x7fb sh_entsize: 0 > sh_link: 0 sh_info: 0 > sh_addralign: 0x1=20=20=20=20=20=20=20 >=20 > * output object (ccw3tETddebugobjtem): >=20 > Section Header[2]: sh_name: .debug_info > sh_addr: 0 sh_flags: 0 > sh_size: 0x3d4 sh_type: [ SHT_PROGBITS ] > sh_offset: 0x84d sh_entsize: 0 > sh_link: 0 sh_info: 0 > sh_addralign: 0x1=20=20=20=20=20=20=20 >=20 > without adapting section indices in .symtab. Yes. It should have retained [9] as section index. Hmmm - you have the patch removing sections in your tree? I guess you need to adapt (aka remap) the first_shndx section index I added with the patch for the hpux ld issue. > Besides, there's also a dangling >=20 > Section Header[6]: sh_name: .rel.gnu.debuglto_.debug_info > sh_addr: 0 sh_flags: 0 > sh_size: 0x8 sh_type: [ SHT_REL ] > sh_offset: 0x11c8 sh_entsize: 0x8 (1 entry) > sh_link: 5 sh_info: 9 > sh_addralign: 0x4=20=20=20=20=20=20=20 >=20 > in the output object. that should have been used as the reloc section for the new section 2. I see sh_info is still 9, it should be 2. That's eventually missing handling in the section removal patch. I've committed the hpux fix so in case you re-base the patch and fix up the first_shndx issue please attach the rebased one. >>From gcc-bugs-return-587130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 14:53:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118053 invoked by alias); 2 Jan 2018 14:53: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 117989 invoked by uid 48); 2 Jan 2018 14:53:03 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83644] ICE using type alias from recursive decltype in noexcept or return type Date: Tue, 02 Jan 2018 14: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: 7.2.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: 2018-01/txt/msg00080.txt.bz2 Content-length: 540 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83644 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- This got fixed on the trunk with r251433. We should add the testcase to the testsuite. >>From gcc-bugs-return-587131-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 14:55:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120199 invoked by alias); 2 Jan 2018 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 120153 invoked by uid 48); 2 Jan 2018 14:55:07 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83640] [8 Regression] ICE in generic_overlap, at gimple-ssa-warn-restrict.c:814 Date: Tue, 02 Jan 2018 14:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code, patch 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: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00081.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83640 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 >>From gcc-bugs-return-587132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 14:56:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121837 invoked by alias); 2 Jan 2018 14:56: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 121799 invoked by uid 48); 2 Jan 2018 14:56:36 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83629] [7/8 Regression] ICE: in decompose_normal_address, at rtlanal.c:6329 with -O2 -fPIC -frename-registers --param=sched-autopref-queue-depth=nnn Date: Tue, 02 Jan 2018 14: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-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.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: 2018-01/txt/msg00082.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83629 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.3 >>From gcc-bugs-return-587134-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 14:58:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127475 invoked by alias); 2 Jan 2018 14:58: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 125993 invoked by uid 48); 2 Jan 2018 14:58:23 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83619] [8 Regression] ICE in inliner: caller edge count does not match BB count Date: Tue, 02 Jan 2018 14: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: version 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: 2018-01/txt/msg00084.txt.bz2 Content-length: 346 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83619 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unknown |8.0 Target Milestone|--- |8.0 >>From gcc-bugs-return-587133-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 14:58:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125228 invoked by alias); 2 Jan 2018 14: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 125198 invoked by uid 48); 2 Jan 2018 14:58:11 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83621] [8 Regression] ICE: in simplify_subreg, at simplify-rtx.c:6293 with -O -g Date: Tue, 02 Jan 2018 14: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-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: 8.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: 2018-01/txt/msg00083.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83621 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 >>From gcc-bugs-return-587137-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:00:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4325 invoked by alias); 2 Jan 2018 15:00: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 3795 invoked by uid 48); 2 Jan 2018 15:00:35 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83603] [8 Regression] ICE in builtin_memref at gcc/gimple-ssa-warn-restrict.c:238 Date: Tue, 02 Jan 2018 15: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code, patch 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: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: version 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: 2018-01/txt/msg00087.txt.bz2 Content-length: 346 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83603 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unknown |8.0 Target Milestone|--- |8.0 >>From gcc-bugs-return-587135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:00:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3145 invoked by alias); 2 Jan 2018 15:00: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 2877 invoked by uid 48); 2 Jan 2018 15:00:06 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83606] [6/7/8 Regression] co-indexed array RHS yields incorrect result in assignment to vector-indexed LHS Date: Tue, 02 Jan 2018 15: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: 8.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: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 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: 2018-01/txt/msg00085.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83606 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.5 >>From gcc-bugs-return-587138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:00:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5384 invoked by alias); 2 Jan 2018 15: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 4981 invoked by uid 48); 2 Jan 2018 15:00:44 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83644] ICE using type alias from recursive decltype in noexcept or return type Date: Tue, 02 Jan 2018 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: 7.2.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: 2018-01/txt/msg00088.txt.bz2 Content-length: 648 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83644 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-01-02 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 #3 from Marek Polacek --- On it. >>From gcc-bugs-return-587136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:00:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3708 invoked by alias); 2 Jan 2018 15:00: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 3152 invoked by uid 48); 2 Jan 2018 15:00:29 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83605] [6/7/8 Regression] ICE: verify_gimple failed (error: dead STMT in EH table) Date: Tue, 02 Jan 2018 15: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: 8.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.5 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: 2018-01/txt/msg00086.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83605 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.5 >>From gcc-bugs-return-587139-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:01:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10250 invoked by alias); 2 Jan 2018 15: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 10203 invoked by uid 48); 2 Jan 2018 15:01:41 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83594] [8 Regression] ICE: in function_and_variable_visibility, at ipa-visibility.c:640 with __attribute__((noipa)) Date: Tue, 02 Jan 2018 15: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00089.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83594 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 >>From gcc-bugs-return-587141-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:01:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11665 invoked by alias); 2 Jan 2018 15:01: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 11178 invoked by uid 48); 2 Jan 2018 15:01:53 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83592] [8 Regression] Annoying -Wparentheses warnings Date: Tue, 02 Jan 2018 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: 8.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00091.txt.bz2 Content-length: 353 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83592 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Target Milestone|--- |8.0 >>From gcc-bugs-return-587140-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:01:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10950 invoked by alias); 2 Jan 2018 15: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 10657 invoked by uid 48); 2 Jan 2018 15:01:48 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83593] [8 Regression] ICE: verify_gimple failed (error: statement marked for throw, but doesn't) Date: Tue, 02 Jan 2018 15:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00090.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83593 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 >>From gcc-bugs-return-587142-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:02:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13116 invoked by alias); 2 Jan 2018 15:02: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 13036 invoked by uid 48); 2 Jan 2018 15:02:55 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83586] [8 regression] Invalid -Wformat-truncation on stdio2.h Date: Tue, 02 Jan 2018 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: 8.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00092.txt.bz2 Content-length: 353 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83586 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Target Milestone|--- |8.0 >>From gcc-bugs-return-587143-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:03:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14277 invoked by alias); 2 Jan 2018 15: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 14019 invoked by uid 48); 2 Jan 2018 15:03:29 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83585] [8 Regression] Assembler messages: Error: can't resolve `.text' {.text section} - `.LCOLDB0' {.text.unlikely section} Date: Tue, 02 Jan 2018 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: 8.0 X-Bugzilla-Keywords: assemble-failure 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: 8.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: 2018-01/txt/msg00093.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83585 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 >>From gcc-bugs-return-587145-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:05:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17212 invoked by alias); 2 Jan 2018 15: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 17169 invoked by uid 48); 2 Jan 2018 15:05:51 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83580] [6/7/8 Regression] Wrong code caused by vectorization Date: Tue, 02 Jan 2018 15: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: 8.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.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: 2018-01/txt/msg00095.txt.bz2 Content-length: 458 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83580 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-587144-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:05:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16510 invoked by alias); 2 Jan 2018 15:05: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 16413 invoked by uid 55); 2 Jan 2018 15:05:41 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/81860] [7/8 Regression] Call to undefined inline function involving inheriting constructors Date: Tue, 02 Jan 2018 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: 7.2.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00094.txt.bz2 Content-length: 459 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81860 --- Comment #6 from Marek Polacek --- Author: mpolacek Date: Tue Jan 2 15:05:09 2018 New Revision: 256076 URL: https://gcc.gnu.org/viewcvs?rev=3D256076&root=3Dgcc&view=3Drev Log: PR c++/81860 * g++.dg/cpp0x/inh-ctor30.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/inh-ctor30.C Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:06:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17987 invoked by alias); 2 Jan 2018 15:06: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 17918 invoked by uid 48); 2 Jan 2018 15:06:02 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83575] [8 Regression] ICE: verify_flow_info failed (error: multiple hot/cold transitions found) Date: Tue, 02 Jan 2018 15: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-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: 8.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: 2018-01/txt/msg00096.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83575 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 >>From gcc-bugs-return-587147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:06:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18749 invoked by alias); 2 Jan 2018 15:06: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 18702 invoked by uid 48); 2 Jan 2018 15:06:22 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/81860] [7 Regression] Call to undefined inline function involving inheriting constructors Date: Tue, 02 Jan 2018 15: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: 7.2.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-01/txt/msg00097.txt.bz2 Content-length: 707 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81860 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Summary|[7/8 Regression] Call to |[7 Regression] Call to |undefined inline function |undefined inline function |involving inheriting |involving inheriting |constructors |constructors --- Comment #7 from Marek Polacek --- Done. >>From gcc-bugs-return-587148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:06:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23142 invoked by alias); 2 Jan 2018 15:06: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 20625 invoked by uid 48); 2 Jan 2018 15:06:40 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83573] [6/7/8 Regression] invalid access introduced in predcom Date: Tue, 02 Jan 2018 15: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: 8.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.5 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: 2018-01/txt/msg00098.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83573 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.5 >>From gcc-bugs-return-587150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:07:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25917 invoked by alias); 2 Jan 2018 15:07: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 25689 invoked by uid 48); 2 Jan 2018 15:07:12 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83580] [6/7/8 Regression] Wrong code caused by vectorization Date: Tue, 02 Jan 2018 15:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.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.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: 2018-01/txt/msg00100.txt.bz2 Content-length: 184 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83580 --- Comment #6 from Richard Biener --- *** Bug 83573 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-587149-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:07:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25733 invoked by alias); 2 Jan 2018 15:07: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 25642 invoked by uid 48); 2 Jan 2018 15:07:11 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83573] [6/7/8 Regression] invalid access introduced in predcom Date: Tue, 02 Jan 2018 15:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.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: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-01/txt/msg00099.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83573 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #4 from Richard Biener --- Dup. *** This bug has been marked as a duplicate of bug 83580 *** >>From gcc-bugs-return-587151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:07:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27194 invoked by alias); 2 Jan 2018 15:07: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 27131 invoked by uid 48); 2 Jan 2018 15:07:30 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83572] [8 Regression] [graphite] ICE in verify_dominators, at dominance.c:1184 (error: dominator of 7 should be 15, not 13) Date: Tue, 02 Jan 2018 15:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.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: 8.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: 2018-01/txt/msg00101.txt.bz2 Content-length: 636 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83572 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-01-02 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Target Milestone|--- |8.0 Ever confirmed|0 |1 --- Comment #5 from Richard Biener --- I will have a look. >>From gcc-bugs-return-587152-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:09:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29050 invoked by alias); 2 Jan 2018 15:09: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 28811 invoked by uid 48); 2 Jan 2018 15:09:16 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83563] [8 Regression] [graphite] ICE: Segmentation fault (in instantiate_scev_r) Date: Tue, 02 Jan 2018 15: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: 8.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: 8.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: 2018-01/txt/msg00102.txt.bz2 Content-length: 636 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83563 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-01-02 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Target Milestone|--- |8.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- I will have a look. >>From gcc-bugs-return-587153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:10:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33817 invoked by alias); 2 Jan 2018 15:10: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 33794 invoked by uid 48); 2 Jan 2018 15:10:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83555] Unnecessary null check when static_cast is used with references. Date: Tue, 02 Jan 2018 15: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: 7.2.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: 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: 2018-01/txt/msg00103.txt.bz2 Content-length: 413 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83555 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #1 from Richard Biener --- missed opitmization in the C++ FE. >>From gcc-bugs-return-587154-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:10:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38035 invoked by alias); 2 Jan 2018 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 37580 invoked by uid 48); 2 Jan 2018 15:10:44 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83554] [8 Regression] ICE: in ix86_mitigate_rop, at config/i386/i386.c:41274 with -mmitigate-rop Date: Tue, 02 Jan 2018 15: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-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: 8.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: 2018-01/txt/msg00104.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83554 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 >>From gcc-bugs-return-587155-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:12:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39177 invoked by alias); 2 Jan 2018 15: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 39151 invoked by uid 48); 2 Jan 2018 15:12:24 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83544] Missed optimization opportunity for constant folding Date: Tue, 02 Jan 2018 15:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-01/txt/msg00105.txt.bz2 Content-length: 473 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83544 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-02 Ever confirmed|0 |1 >>From gcc-bugs-return-587156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:14:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41809 invoked by alias); 2 Jan 2018 15: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 41777 invoked by uid 48); 2 Jan 2018 15:14:26 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83650] New: [7/8 Regression] Wrong simplification in cshift with negative shifts Date: Tue, 02 Jan 2018 15:14: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: tkoenig at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2018-01/txt/msg00106.txt.bz2 Content-length: 1054 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83650 Bug ID: 83650 Summary: [7/8 Regression] Wrong simplification in cshift with negative shifts Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- Discovered investigating a "failure" in my current work on the cshift patch: program main integer, dimension(5), parameter :: b =3D [1,2,3,4,5] integer, dimension(5) :: a =3D [1,2,3,4,5] print *,cshift(a, -4) print *,cshift(b, -4) end program main yields: 2 3 4 5 1 1 2 3 4 5 The first result (run-time) is correct. I will fix this with my upcoming 8 patch for cshift, but it will still be necessary to correct this on the previous branches. Should be rather easy. >>From gcc-bugs-return-587157-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:15:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43052 invoked by alias); 2 Jan 2018 15: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 42948 invoked by uid 48); 2 Jan 2018 15:15:36 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83650] [7/8 Regression] Wrong simplification in cshift with negative shifts Date: Tue, 02 Jan 2018 15: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on blocked 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: 2018-01/txt/msg00107.txt.bz2 Content-length: 756 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83650 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-01-02 Blocks| |45689 Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot = gnu.org Target Milestone|--- |7.4 Ever confirmed|0 |1 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D45689 [Bug 45689] [F03] Missing transformational intrinsic in the trans_func_f2003 list >>From gcc-bugs-return-587158-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:17:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30825 invoked by alias); 2 Jan 2018 15:17: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 20694 invoked by uid 48); 2 Jan 2018 15:17:52 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83541] Missed optimization with int overflow Date: Tue, 02 Jan 2018 15:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on 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: 2018-01/txt/msg00108.txt.bz2 Content-length: 1178 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83541 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-02 Version|tree-ssa |8.0 Ever confirmed|0 |1 --- Comment #3 from Richard Biener --- I've deliberately avoided doing this ... (turning SSA propagator UNDEFINED into a random value rather than keeping it effectively VARYING during propagation/simplification stage). CCP is the only pass that even tries to handle arithmetic with UNDEF somehow. The case in question could be teached to both EVRP and DOM (you need those conditional equivalences). Note that our constant folding machinery simply computes stuff in twos complement as it lacks a way to say "undefined". How useful would this be in practice? Apart from breaking some invalid cod= e in unexpected ways? >>From gcc-bugs-return-587160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:23:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33807 invoked by alias); 2 Jan 2018 15:23: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 33758 invoked by uid 48); 2 Jan 2018 15:23:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83530] [8 Regression] ICE in reset_sched_cycles_in_current_ebb, at sel-sched.c:7150 Date: Tue, 02 Jan 2018 15: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-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: 8.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: 2018-01/txt/msg00110.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83530 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 >>From gcc-bugs-return-587159-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:23:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32888 invoked by alias); 2 Jan 2018 15:23: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 32843 invoked by uid 48); 2 Jan 2018 15:23:13 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83532] [8 Regression] ICE in apply_scale, at profile-count.h:955 Date: Tue, 02 Jan 2018 15: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: version 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: 2018-01/txt/msg00109.txt.bz2 Content-length: 346 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83532 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unknown |8.0 Target Milestone|--- |8.0 >>From gcc-bugs-return-587161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:26:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35879 invoked by alias); 2 Jan 2018 15: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 35848 invoked by uid 48); 2 Jan 2018 15:26:34 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83641] -fstack-clash-protection generates incorrect CFI on i386 Date: Tue, 02 Jan 2018 15:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: law at redhat dot com 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: 2018-01/txt/msg00111.txt.bz2 Content-length: 287 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83641 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >>From gcc-bugs-return-587162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:27:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38111 invoked by alias); 2 Jan 2018 15:27: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 38077 invoked by uid 48); 2 Jan 2018 15:27:27 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83650] [6/7/8 Regression] Wrong simplification in cshift with negative shifts Date: Tue, 02 Jan 2018 15: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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority 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: 2018-01/txt/msg00112.txt.bz2 Content-length: 799 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83650 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Priority|P3 |P4 Known to work| |5.5.0 Summary|[7/8 Regression] Wrong |[6/7/8 Regression] Wrong |simplification in cshift |simplification in cshift |with negative shifts |with negative shifts Known to fail| |6.4.0, 7.2.0, 8.0 --- Comment #1 from Dominique d'Humieres --- Likely r230726 or r230832. >>From gcc-bugs-return-587164-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:28:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40172 invoked by alias); 2 Jan 2018 15:28: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 40123 invoked by uid 48); 2 Jan 2018 15:28:55 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83565] RTL combine pass breaks shift result (at least on ia64) Date: Tue, 02 Jan 2018 15:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2018-01/txt/msg00114.txt.bz2 Content-length: 472 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83565 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc do= t gnu.org --- Comment #26 from Eric Botcazou --- Investigating. >>From gcc-bugs-return-587163-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:28:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39372 invoked by alias); 2 Jan 2018 15:28: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 39295 invoked by uid 48); 2 Jan 2018 15:28:34 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83565] RTL combine pass breaks shift result (at least on ia64) Date: Tue, 02 Jan 2018 15:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00113.txt.bz2 Content-length: 1808 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83565 --- Comment #25 from Eric Botcazou --- > I don't see the distinction here. Ia64 has instructions that operate on > 32-bit values too, like cmp4. The distinction is precisely what WORD_REGISTER_OPERATIONS conveys. On SPA= RC and MIPS for example, for a 32-bit operation in 64-bit mode, the entire 64-= bit register is modified and the upper bits contain well defined bits. > On sparc, given this testcase > int > sub (int i, int j, int k) > { > return i + j + k; > } > the compiler generates > sub: > add %o0, %o1, %o0 > add %o0, %o2, %o0 > jmp %o7+8 > sra %o0, 0, %o0 > Note that the add instruction operates on the entire 64-bit register, and > after the first add, we no longer have a valid 32-bit value, because there > might have been an overflow. This is why we need the sra at the end to > sign-extend the return value, because we know that the upper 32-bits are > don't care bits. No, the upper bits are well defined by the SPARC-V9 architecture. > If you take a paradoxical subreg of a SImode reg after an add instruction, > you can't make any assumptions about the upper 32-bits of the value in the > register. Exactly the same as ia64. No, you know what the bits are on SPARC and MIPS for example if you know the contents of the entire 64-bit register before the addition. > I do see that the fact that sparc has 32-bit shift instructions defined > means the testcase that fails on ia64 will not fail on sparc. But if we > rely on that for the WORD_REGISTER_OPERATIONS definition, then it gets ev= en > messier than it already is. I agree that we may need to do something for operations that don't have a c= lear meaning when "extended" to the full work though. Let me give it some thought... >>From gcc-bugs-return-587165-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:31:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45495 invoked by alias); 2 Jan 2018 15: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 45405 invoked by uid 48); 2 Jan 2018 15:31:37 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83641] -fstack-clash-protection generates incorrect CFI on i386 Date: Tue, 02 Jan 2018 15: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: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: law at redhat dot com 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: 2018-01/txt/msg00115.txt.bz2 Content-length: 399 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83641 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-02 Ever confirmed|0 |1 >>From gcc-bugs-return-587166-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:32:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55527 invoked by alias); 2 Jan 2018 15:32: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 55473 invoked by uid 48); 2 Jan 2018 15:32:45 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83641] -fstack-clash-protection generates incorrect CFI on i386 Date: Tue, 02 Jan 2018 15: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: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: law at redhat 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: 2018-01/txt/msg00116.txt.bz2 Content-length: 219 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83641 --- Comment #2 from Jeffrey A. Law --- Note this is specific to x86/x86_64 noreturn functions. No other targets a= re potentially affected. >>From gcc-bugs-return-587167-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:38:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10863 invoked by alias); 2 Jan 2018 15:38: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 10791 invoked by uid 48); 2 Jan 2018 15:38:34 -0000 From: "sergey.shalnov at intel dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83008] [performance] Is it better to avoid extra instructions in data passing between loops? Date: Tue, 02 Jan 2018 15:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: sergey.shalnov 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: 2018-01/txt/msg00117.txt.bz2 Content-length: 1576 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83008 --- Comment #20 from sergey.shalnov at intel dot com --- Richard, I did quick static analysis for your latest patch. Using command line =E2=80=9C-g -Ofast -mfpmath=3Dsse -funroll-loops -march= =3Dznver1=E2=80=9D your latest patch=20 doesn=E2=80=99t affects the issue I discussed but it affects costs for firs= t loop.=20 I thought the loop costs should be calculated in other place (tree-vect-loo= p.c) but as I can see everything is interconnected. The SLP block we discussed remains with the same statistic: Vector inside of basic block cost: 64 Vector prologue cost: 32 Vector epilogue cost: 0 Scalar cost of basic block: 256 note: Basic block will be vectorized using SLP First loop was: note: Cost model analysis:. Vector inside of loop cost: 5392 Vector prologue cost: 48 Vector epilogue cost: 0 Scalar iteration cost: 464 Scalar outside cost: 0 Vector outside cost: 48 prologue iterations: 0 epilogue iterations: 0 note: cost model: the vector iteration cost =3D 5392 divided by the scalar iteration cost =3D 464 is greater or equal to the vectorization factor =3D = 4. Became: note: Cost model analysis: Vector inside of loop cost: 5392 Vector prologue cost: 192 Vector epilogue cost: 0 Scalar iteration cost: 464 Scalar outside cost: 0 Vector outside cost: 192 prologue iterations: 0 epilogue iterations: 0 note: cost model: the vector iteration cost =3D 5392 divided by the scalar iteration cost =3D 464 is greater or equal to the vectorization factor =3D = 4. Sergey >>From gcc-bugs-return-587168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:39:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12176 invoked by alias); 2 Jan 2018 15: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 12110 invoked by uid 48); 2 Jan 2018 15:39:48 -0000 From: "petr.spacek at nic dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/47618] Collecting multiple profiles and using all for PGO Date: Tue, 02 Jan 2018 15:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 4.6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: petr.spacek at nic dot cz X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00118.txt.bz2 Content-length: 327 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D47618 --- Comment #19 from Petr =C5=A0pa=C4=8Dek --- Sure, I would be happy with any version, thank you! For people who want to generate code coverage reports for parallel executio= ns, beware of https://github.com/linux-test-project/lcov/issues/37. >>From gcc-bugs-return-587169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:47:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65067 invoked by alias); 2 Jan 2018 15:47: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 65005 invoked by uid 48); 2 Jan 2018 15:47:36 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83641] -fstack-clash-protection generates incorrect CFI on i386 Date: Tue, 02 Jan 2018 15:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: law at redhat 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: 2018-01/txt/msg00119.txt.bz2 Content-length: 855 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83641 --- Comment #3 from Jeffrey A. Law --- So the issue here is when we have a noreturn function we use a push/pop sequence to probe the top of the stack. The generic dwarf2 CFI bits interpret the pop as restoring the value of the popped register. But that's not strictly correct if the register is also callee-saved (which implies that it'll be set later by the body of the function). Of course the push/pop sequence is not needed in this case since the callee register save acts as a probe. This is a known, relatively minor, inefficiency. The good news is the bogus CFI issue is a strict subset of the performance issue and thus if we fix the performance issue, the codegen issue gets reso= lved at the same time. I expect to have this fixed within the next couple hours. >>From gcc-bugs-return-587170-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 15:49:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69386 invoked by alias); 2 Jan 2018 15:49: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 69280 invoked by uid 48); 2 Jan 2018 15:49:02 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83644] ICE using type alias from recursive decltype in noexcept or return type Date: Tue, 02 Jan 2018 15:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.2.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: 2018-01/txt/msg00120.txt.bz2 Content-length: 332 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83644 --- Comment #4 from Marek Polacek --- Reduced to: namespace std { template bool is_invocable_v; } template auto compose(F) { [](auto... objs) noexcept(std::is_invocable_v){}; } auto f() { compose(3); } >>From gcc-bugs-return-587171-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 16:09:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127839 invoked by alias); 2 Jan 2018 16:09: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 127734 invoked by uid 48); 2 Jan 2018 16:09:00 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83592] [8 Regression] Annoying -Wparentheses warnings Date: Tue, 02 Jan 2018 16:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: diagnostic 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: 8.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: 2018-01/txt/msg00121.txt.bz2 Content-length: 572 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83592 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-02 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Marek Polacek --- Started with r253446. >>From gcc-bugs-return-587172-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 16:22:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85435 invoked by alias); 2 Jan 2018 16:22: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 85392 invoked by uid 48); 2 Jan 2018 16:22:53 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83650] [6/7/8 Regression] Wrong simplification in cshift with negative shifts Date: Tue, 02 Jan 2018 16:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 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: 2018-01/txt/msg00122.txt.bz2 Content-length: 1953 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83650 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|7.4 |6.5 --- Comment #2 from Thomas Koenig --- Patch for gcc-7: Index: fortran/simplify.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 --- fortran/simplify.c (Revision 256009) +++ fortran/simplify.c (Arbeitskopie) @@ -1991,7 +1991,9 @@ gfc_simplify_cshift (gfc_expr *array, gfc_expr *sh mpz_clear (size); /* Adjust shft to deal with right or left shifts. */ - shft =3D shft < 0 ? 1 - shft : shft; + shft =3D shft % sz; + if (shft < 0) + shft +=3D sz; /* Special case: Shift to the original order! */ if (sz =3D=3D 0 || shft % sz =3D=3D 0) Index: testsuite/gfortran.dg/simplify_cshift_1.f90 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- testsuite/gfortran.dg/simplify_cshift_1.f90 (Revision 256009) +++ testsuite/gfortran.dg/simplify_cshift_1.f90 (Arbeitskopie) @@ -23,12 +23,12 @@ program foo v =3D cshift(c, 2) if (any(b /=3D v)) call abort - ! Special cases shift =3D 0, size(a), 1-size(a) + ! Special cases shift =3D 0, size(a), size(a) b =3D cshift([1, 2, 3, 4, 5], 0) if (any(b /=3D a)) call abort b =3D cshift([1, 2, 3, 4, 5], size(a)) if (any(b /=3D a)) call abort - b =3D cshift([1, 2, 3, 4, 5], 1-size(a)) + b =3D cshift([1, 2, 3, 4, 5], -size(a)) if (any(b /=3D a)) call abort ! simplification of array arg. >>From gcc-bugs-return-587173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 17:00:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15359 invoked by alias); 2 Jan 2018 17:00: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 14814 invoked by uid 48); 2 Jan 2018 16:59:59 -0000 From: "arnd at linaro dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83651] New: [7.2 regression] 20% slowdown of linux kernel AES cipher Date: Tue, 02 Jan 2018 17: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.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arnd at linaro 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: 2018-01/txt/msg00123.txt.bz2 Content-length: 3365 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83651 Bug ID: 83651 Summary: [7.2 regression] 20% slowdown of linux kernel AES cipher Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: arnd at linaro dot org Target Milestone: --- Following the discussion on PR83356, I did some more performance analysis of the AES code with various compiler versions, by running the in-kernel crypto selftest (kvm -kernel linux/arch/x86/boot/bzImage -append "tcrypt.mode=3D200 tcrypt.sec=3D1 console=3DttyS0" -nographic -serial mon:stdio), which showe= d a very clear slowdown at gcc-7.2 (dated 20171130) compared to 7.1, all numbers are= in cycles/byte for AES256+CBC on a 3.1GHz AMD Threadripper, lower numbers are better: default ubsan patched patched+ubsan gcc-4.3.6 -O2 14.9 ---- 14.9 ---- gcc-4.6.4 -O2 15.0 ---- 15.8 ---- gcc-4.9.4 -O2 15.5 20.7 15.9 20.9 gcc-5.5.0 -O2 15.6 47.3 86.4 48.8 gcc-6.3.1 -O2 14.6 49.4 94.3 50.9 gcc-7.1.1 -O2 13.5 54.6 15.2 52.0 gcc-7.2.1 -O2 16.8 124.7 92.0 52.2 gcc-8.0.0 -O2 14.6 56.6 15.3 53.5 gcc-7.1.1 -O1 14.6 53.8 gcc-7.2.1 -O1 15.5 55.9 gcc-8.0.0 -O1 15.0 50.7 clang-5 -O1 21.7 58.3 clang-5 -O2 15.5 49.1 handwritten asm 16.4 The 'patched' columns are with '-ftree-pre and -ftree-sra' disabled in the sources, which happened to help on gcc-7.2.1 for performance and to work ar= ound PR83356 but made things worse for most other cases. For better reproducibility, I tried doing the same with the libressl implementation of the same cipher, which also has interesting but unfortuna= tely very different results: gcc-5.5.0 -O2 49.0 gcc-6.3.1 -O2 48.8 gcc-7.1.1 -O2 59.7 gcc-7.2.1 -O2 60.3 gcc-8.0.0 -O2 59.6 gcc-5.5.0 -O1 59.5 gcc-6.3.1 -O1 48.5 gcc-7.1.1 -O1 51.6 gcc-7.2.1 -O1 51.6 gcc-8.0.0 -O1 51.6 The source code is apparently derived from a common source, but has evolved= in different ways, and the version from the kernel appears to be much faster overall. In both cases, we see a ~20% degradation between gcc-6.3.1 and gcc-7.2.1, but gcc-7.1.1 happens to produce the best results for the kernel version and very bad results for the libressl sources. The stack consumption problem from PR83356 does not appear with the libressl sources. I have not managed to run a ubsan-enabled libressl binary for testing. To put this in context, both libressl and Linux come with architecture-spec= ific versions using SIMD registers for most architectures, and those tend to be = much faster, but the C version is used on old x86 CPUs and minor architectures t= hat lack SIMD registers or an AES implementation for them. If there is enough interest in addressing the slowdown, it should be possib= le to create a version of the kernel AES implementation that can be run in user space, as the current method of reproducing the results is fairly tedious. >>From gcc-bugs-return-587174-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 17:02:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17955 invoked by alias); 2 Jan 2018 17: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 17832 invoked by uid 55); 2 Jan 2018 17:02:46 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83644] ICE using type alias from recursive decltype in noexcept or return type Date: Tue, 02 Jan 2018 17: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.2.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: 2018-01/txt/msg00124.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83644 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Tue Jan 2 17:02:14 2018 New Revision: 256082 URL: https://gcc.gnu.org/viewcvs?rev=3D256082&root=3Dgcc&view=3Drev Log: PR c++/83644 * g++.dg/cpp1z/pr83644.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp1z/pr83644.C Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587175-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 17:02:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18288 invoked by alias); 2 Jan 2018 17: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 17896 invoked by uid 55); 2 Jan 2018 17:02:49 -0000 From: "acsawdey at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82190] Possibly latent miscompilation issue on ppc64le-linux-gnu for memcpy-bi.c with -fweb -fno-optimize-strlen Date: Tue, 02 Jan 2018 17:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: acsawdey at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: acsawdey at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00125.txt.bz2 Content-length: 516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82190 --- Comment #5 from acsawdey at gcc dot gnu.org --- Author: acsawdey Date: Tue Jan 2 17:02:17 2018 New Revision: 256083 URL: https://gcc.gnu.org/viewcvs?rev=3D256083&root=3Dgcc&view=3Drev Log: Add missing changelog entry: 2017-12-12 Aaron Sawdey PR target/82190 * config/rs6000/rs6000-string.c (expand_block_compare, expand_strn_compare): Fix set_mem_size() calls. Modified: trunk/gcc/ChangeLog >>From gcc-bugs-return-587176-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 17:03:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20228 invoked by alias); 2 Jan 2018 17:03: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 20173 invoked by uid 48); 2 Jan 2018 17:03:54 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83644] ICE using type alias from recursive decltype in noexcept or return type Date: Tue, 02 Jan 2018 17: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.2.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: 2018-01/txt/msg00126.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83644 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Marek Polacek --- Fixed. >>From gcc-bugs-return-587177-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 17:22:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113294 invoked by alias); 2 Jan 2018 17:22: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 113228 invoked by uid 48); 2 Jan 2018 17:22:05 -0000 From: "pthaugen at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/83497] CPU2000 172.mgrid starts failing with r254730 Date: Tue, 02 Jan 2018 17:22: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pthaugen at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00127.txt.bz2 Content-length: 528 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83497 --- Comment #3 from Pat Haugen --- (In reply to Richard Biener from comment #2) >=20 > As far as I see the miscompare is -0.8 vs. 0.18 so it doesn't look like a > precision issue to me. Does it only happen for power6 / bigendian? >=20 Yes, the failure is only for -mcpu=3Dpower6. I don't have a copy of CPU2000= that runs on powerpc64le, so can't say for sure if it's a big endian issue only. I will do some further digging on the failure. >>From gcc-bugs-return-587179-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 17:38:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115872 invoked by alias); 2 Jan 2018 17: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 115780 invoked by uid 48); 2 Jan 2018 17:38:43 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83592] [8 Regression] Annoying -Wparentheses warnings Date: Tue, 02 Jan 2018 17:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: diagnostic 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: 8.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: 2018-01/txt/msg00129.txt.bz2 Content-length: 781 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83592 --- Comment #4 from Marek Polacek --- IOW: --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -10866,10 +10866,11 @@ grokdeclarator (const cp_declarator *declarator, inner_declarator =3D declarator->declarator; - /* We don't want to warn in parmeter context because we don't + /* We don't want to warn in parameter context because we don't yet know if the parse will succeed, and this might turn out to be a constructor call. */ if (decl_context !=3D PARM + && decl_context !=3D TYPENAME && declarator->parenthesized !=3D UNKNOWN_LOCATION /* If the type is class-like and the inner name used a global namespace qualifier, we need the parens. >>From gcc-bugs-return-587178-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 17:38:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115067 invoked by alias); 2 Jan 2018 17:38: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 114977 invoked by uid 48); 2 Jan 2018 17:38:21 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83592] [8 Regression] Annoying -Wparentheses warnings Date: Tue, 02 Jan 2018 17:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: diagnostic 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: 8.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: 2018-01/txt/msg00128.txt.bz2 Content-length: 228 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83592 --- Comment #3 from Marek Polacek --- I'm wondering if simply disabling the warning in TYPENAME would make sense = (it suppresses the warning). >>From gcc-bugs-return-587180-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 17:41:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2892 invoked by alias); 2 Jan 2018 17:41: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 2404 invoked by uid 48); 2 Jan 2018 17:41:29 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83565] [7/8 regression] RTL combine pass breaks shift result (at least on ia64) Date: Tue, 02 Jan 2018 17:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com 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: 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: 2018-01/txt/msg00130.txt.bz2 Content-length: 1831 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83565 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |law at redhat dot com --- Comment #27 from Jeffrey A. Law --- WORD_REGISTER_OPERATIONS says the operations in integral modes smaller than= a word are performed on the entire register (ie a word). I think WORD_REGISTER_OPERATIONS is fairly intuitive when it comes to arithmetic and logicals. For arith/logicals I would find myself agreeing wi= th Eric in c#25. However, I think it's not as clear for shifts/rotates. On the PA (which defines WORD_REGISTER_OPERATIONS) we have 32bit deposit/extract which are used for various shifts. The 32bit extract/depo= sit instructions set the low 32 bits in the expected way, but leave the upper b= its undefined. So I suspect PA and IA-64 have similar behavior (big surprise). One could argue that WORD_REGISTER_OPERATIONS should apply to just arith and logicals. One could also argue that it should apply to shifts in which case ports like the PA and IA-64 probably shouldn't define WORD_REGISTER_OPERATI= ONS. If we were to argue that WORD_REGISTER_OPERATIONS should apply to just arith/logicals, then the PA would need to be audited for cases where we mig= ht implement an arith operation using shifts (deposit/extract instructions). And just to be clear here. I don't think the PA or IA-64 ought to drive decisions in this area. They're both dead architectures -- but others may = have similar properties. Note none of this touches on what are the high bits of a paradoxical subreg, which are undefined in RTL. So I'm in partial agreement with Jim c#11 as w= ell. >>From gcc-bugs-return-587181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 17:51:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8309 invoked by alias); 2 Jan 2018 17:51: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 8282 invoked by uid 48); 2 Jan 2018 17:51:52 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/83649] Large reads fail Date: Tue, 02 Jan 2018 17:51: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: unknown 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: 2018-01/txt/msg00131.txt.bz2 Content-length: 586 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83649 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-01-02 Ever confirmed|0 |1 --- Comment #3 from Dominique d'Humieres --- Should it be marked as ASSIGNED? IMO worth a back port (otherwise it should= be closed as FIXED). >>From gcc-bugs-return-587183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 17:52:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9152 invoked by alias); 2 Jan 2018 17:52: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 8697 invoked by uid 55); 2 Jan 2018 17:51:59 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83650] [6/7/8 Regression] Wrong simplification in cshift with negative shifts Date: Tue, 02 Jan 2018 17:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-01/txt/msg00133.txt.bz2 Content-length: 921 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83650 --- Comment #3 from Thomas Koenig --- Author: tkoenig Date: Tue Jan 2 17:51:26 2018 New Revision: 256084 URL: https://gcc.gnu.org/viewcvs?rev=3D256084&root=3Dgcc&view=3Drev Log: 2018-01-02 Thomas Koenig PR fortran/45689 PR fortran/83650 * simplify.c (gfc_simplify_cshift): Re-implement to allow full range of arguments. 2018-01-02 Thomas Koenig PR fortran/45689 PR fortran/83650 * gfortran.dg/simplify_cshift_1.f90: Correct erroneous case. * gfortran.dg/simplify_cshift_4.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/simplify_cshift_4.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/simplify.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/simplify_cshift_1.f90 >>From gcc-bugs-return-587182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 17:52:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9105 invoked by alias); 2 Jan 2018 17:52: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 8754 invoked by uid 55); 2 Jan 2018 17:51:59 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/45689] [F03] Missing transformational intrinsic in the trans_func_f2003 list Date: Tue, 02 Jan 2018 17:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00132.txt.bz2 Content-length: 922 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D45689 --- Comment #16 from Thomas Koenig --- Author: tkoenig Date: Tue Jan 2 17:51:26 2018 New Revision: 256084 URL: https://gcc.gnu.org/viewcvs?rev=3D256084&root=3Dgcc&view=3Drev Log: 2018-01-02 Thomas Koenig PR fortran/45689 PR fortran/83650 * simplify.c (gfc_simplify_cshift): Re-implement to allow full range of arguments. 2018-01-02 Thomas Koenig PR fortran/45689 PR fortran/83650 * gfortran.dg/simplify_cshift_1.f90: Correct erroneous case. * gfortran.dg/simplify_cshift_4.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/simplify_cshift_4.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/simplify.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/simplify_cshift_1.f90 >>From gcc-bugs-return-587184-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 17:59:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14810 invoked by alias); 2 Jan 2018 17:59: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 14700 invoked by uid 48); 2 Jan 2018 17:59:33 -0000 From: "pthaugen at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/83497] CPU2000 172.mgrid starts failing with r254730 Date: Tue, 02 Jan 2018 17: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pthaugen at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00134.txt.bz2 Content-length: 347 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83497 --- Comment #4 from Pat Haugen --- (In reply to Pat Haugen from comment #0) > mgrid started failing (output miscompare) with r254730. The following > options demonstrate the failure "-O3 -mcpu=3Dpower6 -ffast-math". Incomplete option set, -m32 is also required. >>From gcc-bugs-return-587185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 18:02:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21350 invoked by alias); 2 Jan 2018 18:02: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 20936 invoked by uid 55); 2 Jan 2018 18:02:03 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83650] [6/7/8 Regression] Wrong simplification in cshift with negative shifts Date: Tue, 02 Jan 2018 18:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-01/txt/msg00135.txt.bz2 Content-length: 802 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83650 --- Comment #4 from Thomas Koenig --- Author: tkoenig Date: Tue Jan 2 18:01:31 2018 New Revision: 256085 URL: https://gcc.gnu.org/viewcvs?rev=3D256085&root=3Dgcc&view=3Drev Log: 2018-01-02 Thomas Koenig PR fortran/83650 * simplify.c (gfc_simplify_cshift): Correct contition for negative shifts. 2018-01-02 Thomas Koenig PR fortran/83650 * gfortran.dg/simplify_cshift_1.f90: Correct condition. Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/simplify.c branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/testsuite/gfortran.dg/simplify_cshift_1.f90 >>From gcc-bugs-return-587186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 18:04:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25156 invoked by alias); 2 Jan 2018 18: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 25082 invoked by uid 55); 2 Jan 2018 18:04:51 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83556] [7/8 Regression] ICE in gimplify_expr, at gimplify.c:12004 Date: Tue, 02 Jan 2018 18:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.2.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: 7.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00136.txt.bz2 Content-length: 821 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83556 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Tue Jan 2 18:04:19 2018 New Revision: 256086 URL: https://gcc.gnu.org/viewcvs?rev=3D256086&root=3Dgcc&view=3Drev Log: PR c++/83556 * tree.c (replace_placeholders_r): Pass NULL as last argument to cp_walk_tree instead of d->pset. If non-TREE_CONSTANT and non-PLACEHOLDER_EXPR tree has been seen already, set *walk_subtrees to false and return. (replace_placeholders): Pass NULL instead of &pset as last argument to cp_walk_tree. * g++.dg/cpp0x/pr83556.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/pr83556.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/tree.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 18:08:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28903 invoked by alias); 2 Jan 2018 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 28849 invoked by uid 55); 2 Jan 2018 18:08:13 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83556] [7/8 Regression] ICE in gimplify_expr, at gimplify.c:12004 Date: Tue, 02 Jan 2018 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: 7.2.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: 7.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00137.txt.bz2 Content-length: 885 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83556 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Tue Jan 2 18:07:41 2018 New Revision: 256087 URL: https://gcc.gnu.org/viewcvs?rev=3D256087&root=3Dgcc&view=3Drev Log: PR c++/83556 * tree.c (replace_placeholders_r): Pass NULL as last argument to cp_walk_tree instead of d->pset. If non-TREE_CONSTANT and non-PLACEHOLDER_EXPR tree has been seen already, set *walk_subtrees to false and return. (replace_placeholders): Pass NULL instead of &pset as last argument to cp_walk_tree. * g++.dg/cpp0x/pr83556.C: New test. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/pr83556.C Modified: branches/gcc-7-branch/gcc/cp/ChangeLog branches/gcc-7-branch/gcc/cp/tree.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587188-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 18:14:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76888 invoked by alias); 2 Jan 2018 18: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 76446 invoked by uid 55); 2 Jan 2018 18:14:41 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/45689] [F03] Missing transformational intrinsic in the trans_func_f2003 list Date: Tue, 02 Jan 2018 18:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00138.txt.bz2 Content-length: 1516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D45689 --- Comment #17 from Thomas Koenig --- Author: tkoenig Date: Tue Jan 2 18:14:04 2018 New Revision: 256088 URL: https://gcc.gnu.org/viewcvs?rev=3D256088&root=3Dgcc&view=3Drev Log: 2017-01-02 Thomas Koenig PR fortran/45689 * intrinsic.c (add_function): Add gfc_simplify_maxloc and gfc_simplify_minloc to maxloc and minloc, respectively. * intrinsic.h: Add prototypes for gfc_simplify_minloc and gfc_simplify_maxloc. * simplify.c (min_max_chose): Adjust prototype. Modify function to have a return value which indicates if the extremum was found. (is_constant_array_expr): Fix typo in comment. (simplify_minmaxloc_to_scalar): New function. (simplify_minmaxloc_nodim): New function. (new_array): New function. (simplify_minmaxloc_to_array): New function. (gfc_simplify_minmaxloc): New function. (simplify_minloc): New function. (simplify_maxloc): New function. 2017-01-02 Thomas Koenig PR fortran/45689 * gfortran.dg/minloc_4.f90: New test case. * gfortran.dg/maxloc_4.f90: New test case. Added: trunk/gcc/testsuite/gfortran.dg/maxloc_4.f90 trunk/gcc/testsuite/gfortran.dg/minloc_4.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/intrinsic.c trunk/gcc/fortran/intrinsic.h trunk/gcc/fortran/simplify.c >>From gcc-bugs-return-587189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 18:40:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130113 invoked by alias); 2 Jan 2018 18:40: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 130073 invoked by uid 48); 2 Jan 2018 18:40:44 -0000 From: "sameer.varyani at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83652] New: template substitution fails on operator Date: Tue, 02 Jan 2018 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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sameer.varyani 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: 2018-01/txt/msg00139.txt.bz2 Content-length: 886 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83652 Bug ID: 83652 Summary: template substitution fails on operator Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sameer.varyani at gmail dot com Target Milestone: --- Created attachment 43008 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43008&action=3Dedit testcase template substitution failure in the attached code resulting in following error: test.cpp: In function =E2=80=98int main()=E2=80=99: test.cpp:34:4: error: invalid conversion from =E2=80=98int=E2=80=99 to =E2= =80=98Enum_t=E2=80=99 [-fpermissive] b ^=3D somedef; Also broken in gcc 6.2.0 This code is confirmed to be working with clang+ and VS++15. >>From gcc-bugs-return-587190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 18:41:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 792 invoked by alias); 2 Jan 2018 18: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 744 invoked by uid 48); 2 Jan 2018 18:41:17 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/83602] [8 Regression] ICE in cpp_macro_definition_location(cpp_hashnode*) on invalid code Date: Tue, 02 Jan 2018 18:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm 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: 8.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: 2018-01/txt/msg00140.txt.bz2 Content-length: 297 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83602 --- Comment #3 from David Malcolm --- Sorry about the breakage. Patch looks reasonable to me. Maybe cpp_macro_definition_location should g= ain an assertion that CPP_HASHNODE_VALUE_IDX (node) =3D=3D NTV_MACRO ? >>From gcc-bugs-return-587191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 19:04:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89383 invoked by alias); 2 Jan 2018 19: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 89366 invoked by uid 48); 2 Jan 2018 19:04:26 -0000 From: "matthew at wil dot cx" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83653] New: GCC fails to remove a can't-happen call on ia64 Date: Tue, 02 Jan 2018 19: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.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: matthew at wil dot cx X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-01/txt/msg00141.txt.bz2 Content-length: 2298 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83653 Bug ID: 83653 Summary: GCC fails to remove a can't-happen call on ia64 Product: gcc Version: 6.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: matthew at wil dot cx Target Milestone: --- Created attachment 43009 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43009&action=3Dedit Gzipped preprocessed source This is an excerpt from the Linux kernel, with some patches that I'm prepar= ing to go in. The 0day build-bot reports a problem with an undefined __bad_increment_for_ia64_fetch_and_add. I can reproduce the problem by taking the attached preprocessed source and compiling it with gcc -O2 -o shmem.o -c shmem.i and then running nm shmem.o |grep __bad Manually inlining page_ref_sub() in the included test-case makes the proble= m go away, as does simply deleting the call to page_ref_sub() (at line 50756). Command line: gcc -Wp,-MD,mm/.shmem.o.d -nostdinc -isystem /usr/lib/gcc/ia64-linux-gnu/4.6/include -I./arch/ia64/include -I./arch/ia64/include/generated -I./include -I./arch/ia64/include/uapi -I./arch/ia64/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -DHAVE_WORKING_TEXT_ALIGN -DHAVE_MODEL_SMALL_ATTRIBUTE -DHAVE_SERIALIZE_DIRECTIVE -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=3Dgnu89 -Wno-unused-but-set-variable -fno-PIE -pipe -ffixed-r13 -mfixed-range=3Df12-f15,f32-f127 -falign-functions=3D32 -frename-registers -fno-optimize-sibling-calls -fno-delete-null-pointer-checks -O2 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=3D2048 -fno-stack-protector -fomit-frame-pointer -fno-var-tracking-assignments -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=3Dimplicit-int -Werror=3Dstrict-prototypes -Werror=3Ddate-time -Werror=3Dincompatible-poin= ter-types -Werror=3Ddesignated-init -mconstant-gp -DKBUILD_BASENAME=3D'"shmem"'=20 -DKBUILD_MODNAME=3D'"shmem"' -c -o mm/.tmp_shmem.o mm/shmem.c >>From gcc-bugs-return-587192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 19:09:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112024 invoked by alias); 2 Jan 2018 19:09: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 110596 invoked by uid 48); 2 Jan 2018 19:09:48 -0000 From: "jb at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/83649] Large reads fail Date: Tue, 02 Jan 2018 19:09: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jb at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jb 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: 2018-01/txt/msg00142.txt.bz2 Content-length: 764 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83649 Janne Blomqvist changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |jb at gcc dot gnu.o= rg --- Comment #4 from Janne Blomqvist --- Yes, assigning to myself. So it works on macOS. Did you also test whether it fails without the patch? It'd be nice to have some test results on win64 as well, but I guess we have noone to run those. At least with the patch it shouldn't be worse than with trunk. Another question is whether the current value of MAX_CHUNK is optimal, or whether some smaller value might be better.. >>From gcc-bugs-return-587193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 19:21:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81960 invoked by alias); 2 Jan 2018 19: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 79191 invoked by uid 48); 2 Jan 2018 19:20:57 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/61118] [6/7/8 Regression] Indirect call generated for pthread_cleanup_push with constant cleanup function Date: Tue, 02 Jan 2018 19: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.9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat 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: 6.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: 2018-01/txt/msg00143.txt.bz2 Content-length: 404 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61118 --- Comment #19 from Jeffrey A. Law --- Note you lost the regression marker when this was made a duplicate of 21161= .=20 So it's unlikely anyone would have looked at it until the next release cycl= e. My understanding from Florian is that at least some of the issues here are regressions, so I've added the marker to 21161. >>From gcc-bugs-return-587194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 19:22:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14769 invoked by alias); 2 Jan 2018 19:22: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 9554 invoked by uid 48); 2 Jan 2018 19:22:02 -0000 From: "fw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/83654] New: -fstack-clash-protection probes below the stack pointer for VLA with constant size Date: Tue, 02 Jan 2018 19:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fw at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2018-01/txt/msg00144.txt.bz2 Content-length: 1706 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83654 Bug ID: 83654 Summary: -fstack-clash-protection probes below the stack pointer for VLA with constant size Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: fw at gcc dot gnu.org Target Milestone: --- Created attachment 43010 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43010&action=3Dedit const-vla.c On i386, the reproducer compiles to: f2: .LFB0: .cfi_startproc pushl %ebp .cfi_def_cfa_offset 8 .cfi_offset 5, -8 movl %esp, %ebp .cfi_def_cfa_register 5 subl $8, %esp leal -4096(%esp), %eax cmpl %eax, %esp je .L5 .L7: subl $4096, %esp orl $0, 4092(%esp) cmpl %eax, %esp jne .L7 .L5: orl $0, -4(%esp) The final probe accesses memory below the stack pointer. i386 does not hav= e a red zone, so this results in a valgrind warning: =3D=3D375071=3D=3D Invalid read of size 4 =3D=3D375071=3D=3D at 0x80482EE: main (in /root/build-32/a.out) =3D=3D375071=3D=3D Address 0xfeb83d0c is on thread 1's stack =3D=3D375071=3D=3D 4 bytes below stack pointer I don't think this issue is observable without valgrind, so the severity is low. However, it affects glibc's getaddrinfo implementation, so it seems worthwhile addressing this. The issue might not be target-specific. x86-64 results in similar code, but valgrind won't warn because of the red zone. >>From gcc-bugs-return-587195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 19:26:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27296 invoked by alias); 2 Jan 2018 19:26: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 27242 invoked by uid 48); 2 Jan 2018 19:26:01 -0000 From: "fw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/83654] -fstack-clash-protection probes below the stack pointer for VLA with constant size Date: Tue, 02 Jan 2018 19: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fw at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00145.txt.bz2 Content-length: 245 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83654 --- Comment #1 from Florian Weimer --- I forgot to mention that I used =E2=80=9C-O2 -fstack-clash-protection=E2=80= =9D, but there's a valgrind warning with -O0, too. >>From gcc-bugs-return-587196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 19:27:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28324 invoked by alias); 2 Jan 2018 19:27: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 28288 invoked by uid 48); 2 Jan 2018 19:27:27 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83586] [8 regression] Invalid -Wformat-truncation on stdio2.h Date: Tue, 02 Jan 2018 19:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00146.txt.bz2 Content-length: 2409 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83586 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-01-02 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor --- The -Wformat-truncation warning relies on optimization to detect sizes and ranges of sprintf arguments. As optimizations improve the warning will det= ect more instances of possible overflows. I don't know what the source code looks like (we ask for a preprocessing translation unit to reproduce errors) but the text of the warning suggests = that snprintf is being called to format a string of an unknown length stored in = an array of 128 chars into a buffer that has at most 126 bytes of space left, allowing for the function to truncate the directive's output. Below is a t= est case that reproduces a similar warning with GCC 8. GCC 7 doesn't diagnose = it because of bug 79538. The solution to avoid the warning is to either a) provide a buffer of sufficient size, or b) constrain the length of the stri= ng argument to the %s directive to avoid the possible truncation, or c) handle= the truncation by using the snprintf return value to take some action (something GCC doesn't optimize away). Please either confirm whether this is what's going on in LinuxGamepad.cpp or provide a preprocessing translation unit of the file that reproduces the warning so it can be analyzed. $ cat d.c && gcc -O2 -S -Wall -Wextra d.c void f (char *d, unsigned long x) { extern char a[128]; x >>=3D 4; __builtin_snprintf (d, 128, "%lx %s", x, a); } d.c: In function =E2=80=98f=E2=80=99: d.c:7:36: warning: =E2=80=98%s=E2=80=99 directive output may be truncated w= riting up to 127 bytes into a region of size between 112 and 126 [-Wformat-truncation=3D] __builtin_snprintf (d, 128, "%lx %s", x, a); ^~ ~ d.c:7:3: note: =E2=80=98__builtin_snprintf=E2=80=99 output between 3 and 14= 4 bytes into a destination of size 128 __builtin_snprintf (d, 128, "%lx %s", x, a); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>From gcc-bugs-return-587198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 19:35:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2847 invoked by alias); 2 Jan 2018 19:35: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 2717 invoked by uid 48); 2 Jan 2018 19:35:30 -0000 From: "fw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/83654] -fstack-clash-protection probes below the stack pointer for VLA with constant size Date: Tue, 02 Jan 2018 19:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fw at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: law at redhat 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: 2018-01/txt/msg00148.txt.bz2 Content-length: 1584 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83654 --- Comment #2 from Florian Weimer --- I forgot to add a compiler barrier to f2 for the executable test case, so i= t is not strictly equivalent. With it, valgrind reports: =3D=3D375147=3D=3D Invalid read of size 4 =3D=3D375147=3D=3D at 0x8048403: f2 (in /root/build-32/a.out) =3D=3D375147=3D=3D by 0x80482CA: main (in /root/build-32/a.out) =3D=3D375147=3D=3D Address 0xfebb3d0c is on thread 1's stack =3D=3D375147=3D=3D 4 bytes below stack pointer valgrind warns about the final probe. Here's the disassembly with addresse= s: 080483e0 : 80483e0: 55 push %ebp 80483e1: 89 e5 mov %esp,%ebp 80483e3: 83 ec 08 sub $0x8,%esp 80483e6: 8d 84 24 00 f0 ff ff lea -0x1000(%esp),%eax 80483ed: 39 c4 cmp %eax,%esp 80483ef: 74 12 je 8048403 80483f1: 81 ec 00 10 00 00 sub $0x1000,%esp 80483f7: 83 8c 24 fc 0f 00 00 orl $0x0,0xffc(%esp) 80483fe: 00=20 80483ff: 39 c4 cmp %eax,%esp 8048401: 75 ee jne 80483f1 8048403: 83 4c 24 fc 00 orl $0x0,-0x4(%esp) 8048408: 83 ec 0c sub $0xc,%esp 804840b: 50 push %eax 804840c: e8 bf ff ff ff call 80483d0 8048411: c9 leave=20=20 8048412: c3 ret >>From gcc-bugs-return-587197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 19:35:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1805 invoked by alias); 2 Jan 2018 19:35: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 1765 invoked by uid 48); 2 Jan 2018 19:35:01 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/83649] Large reads fail Date: Tue, 02 Jan 2018 19:35: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jb 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: 2018-01/txt/msg00147.txt.bz2 Content-length: 725 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83649 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |ASSIGNED --- Comment #5 from Dominique d'Humieres --- > Yes, assigning to myself. So it works on macOS. Did you also test whether > it fails without the patch? Yes, it did fail without the patch. > Another question is whether the current value of MAX_CHUNK is optimal, > or whether some smaller value might be better. First I feared that MAX_CHUNK was too large by one, but this was not the ca= se. >>From gcc-bugs-return-587199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 20:02:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35929 invoked by alias); 2 Jan 2018 20: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 35895 invoked by uid 48); 2 Jan 2018 20:02:54 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83541] Missed optimization with int overflow Date: Tue, 02 Jan 2018 20:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00149.txt.bz2 Content-length: 2295 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83541 --- Comment #4 from Marc Glisse --- (In reply to Richard Biener from comment #3) > I've deliberately avoided doing this ... (turning SSA propagator UNDEFINED > into a random value rather than keeping it effectively VARYING during > propagation/simplification stage). CCP is the only pass that even tries > to handle arithmetic with UNDEF somehow. >=20 > The case in question could be teached to both EVRP and DOM (you need those > conditional equivalences). I am not sure if we can handle uninitialized variables and impossible values (result of an overflow) together, they don't have the same properties. (I am not saying that is what you suggested, just that I am too confused about UN= DEF) > Note that our constant folding machinery simply computes stuff in twos > complement as it lacks a way to say "undefined". The constant stuff has TREE_OVERFLOW. We usually drop_tree_overflow, but for instance gimple_resimplify* could insert __builtin_unreachable() in seq (or something similar if having __builtin_unreachable in the middle of a bb cau= ses trouble). Of course, important passes would then ignore this folding because they don't want any extra insn :-( Maybe a way to say impossible would be n= ice, I don't know if reusing error_mark_node would make sense. > How useful would this be in practice? Apart from breaking some invalid c= ode > in unexpected ways? I don't believe the breaking would be particularly bad. We already exploit = the same information in VRP, it just shows up in different forms, sometimes by letting you fold a condition, other times by creating an empty range, and i= t is quite inconsistent to exploit it in one case and not the other. Replacing an empty range with an arbitrary singleton as we do likely already breaks some invalid code, and replacing an empty range with varying has the weird effect that a tighter range gives less optimizations than a wider range. __builtin_unreachable() often back-propagates a bit through trivial stateme= nts and removes a branch, or reduces a PHI. The threader cannot handle everythi= ng. Of course, it is hard to guess the true impact... I hit the VR_EMPTY case regularly, but there is a strong bias in the code I look at ;-) >>From gcc-bugs-return-587200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 20:10:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48475 invoked by alias); 2 Jan 2018 20: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 48375 invoked by uid 48); 2 Jan 2018 20:10:01 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83655] New: [8 Regression] ICE on an invalid call to memcpy declared with no prototype Date: Tue, 02 Jan 2018 20:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00150.txt.bz2 Content-length: 2369 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83655 Bug ID: 83655 Summary: [8 Regression] ICE on an invalid call to memcpy declared with no prototype Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- When mecmpy() or strncpy() (and possibly other built-in functions) is decla= red without a prototype and called with arguments of the wrong types GCC crashe= s in the -Wrestrict pass. This is a similar but not exactly the same problem as= bug 83603 which points out a crash due to a call with an insufficient number of arguments. $ cat d.c && gcc -O2 -S -Wall d.c void* memcpy (); void f (void) { memcpy (1, 2, ""); } during GIMPLE pass: wrestrict d.c: In function =E2=80=98f=E2=80=99: d.c:3:6: internal compiler error: Segmentation fault void f (void) ^ 0xfcd34d crash_signal /ssd/src/gcc/git/gcc/toplev.c:325 0x7ada8a contains_struct_check(tree_node const*, tree_node_structure_enum, = char const*, int, char const*) /ssd/src/gcc/git/gcc/tree.h:3497 0x926f06 wi::extended_tree<128>::extended_tree(tree_node const*) /ssd/src/gcc/git/gcc/tree.h:5443 0x925d0d generic_wide_int >::generic_wide_int(tree_node const* const&) /ssd/src/gcc/git/gcc/wide-int.h:749 0x9258f2 wi::to_offset(tree_node const*) /ssd/src/gcc/git/gcc/tree.h:5395 0xbfdfe3 builtin_memref /ssd/src/gcc/git/gcc/gimple-ssa-warn-restrict.c:393 0xc04286 check_bounds_or_overlap(gcall*, tree_node*, tree_node*, tree_node*, tree_node*, bool) /ssd/src/gcc/git/gcc/gimple-ssa-warn-restrict.c:1720 0xc041a0 check_call /ssd/src/gcc/git/gcc/gimple-ssa-warn-restrict.c:1691 0xbfd0a6 before_dom_children /ssd/src/gcc/git/gcc/gimple-ssa-warn-restrict.c:106 0x1b6127f dom_walker::walk(basic_block_def*) /ssd/src/gcc/git/gcc/domwalk.c:308 0xbfd12a execute /ssd/src/gcc/git/gcc/gimple-ssa-warn-restrict.c:120 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-587201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 20:10:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50677 invoked by alias); 2 Jan 2018 20:10: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 50331 invoked by uid 48); 2 Jan 2018 20:10:33 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83655] [8 Regression] ICE on an invalid call to memcpy declared with no prototype Date: Tue, 02 Jan 2018 20:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code 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: keywords bug_status cf_reconfirmed_on see_also 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: 2018-01/txt/msg00151.txt.bz2 Content-length: 709 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83655 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-01-02 See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D83603 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot g= nu.org Ever confirmed|0 |1 >>From gcc-bugs-return-587202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 20:34:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115557 invoked by alias); 2 Jan 2018 20:34: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 115191 invoked by uid 48); 2 Jan 2018 20:34:12 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83656] New: missing -Wbuiltin-declaration-mismatch on declaration without prototype Date: Tue, 02 Jan 2018 20:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.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: 2018-01/txt/msg00152.txt.bz2 Content-length: 970 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83656 Bug ID: 83656 Summary: missing -Wbuiltin-declaration-mismatch on declaration without prototype Product: gcc Version: 8.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++ issues a -Wbuiltin-declaration-mismatch for the memcpy declaration in t= he test case below but GCC does not. Since -Wstrict-prototypes is disabled by default even in pedantic mode (see bug 82922) this makes it easy to overlook such declarations in source code and miss invalid calls to them as in the following test case: $ cat d.c && gcc -O2 -S -Wall -Wextra -Wpedantic d.c #if __cplusplus extern "C" void* memcpy (...); #else void* memcpy (); #endif void f (char *d) { memcpy (3, d, "123"); } >>From gcc-bugs-return-587203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 20:40:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67296 invoked by alias); 2 Jan 2018 20: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 65451 invoked by uid 48); 2 Jan 2018 20:40:52 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83657] New: detect invalid calls to built-ins declared without prototype Date: Tue, 02 Jan 2018 20:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: 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: 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: 2018-01/txt/msg00153.txt.bz2 Content-length: 1583 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83657 Bug ID: 83657 Summary: detect invalid calls to built-ins declared without prototype Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- As pointed out in bug 83656, GCC (in C mode) fails to issue -Wbuiltin-declaration-mismatch for the not-entirely-compatible memcpy declaration with no prototype in the test case below. This makes it possib= le to not just overlook such declarations in source code but also miss invalid calls to them as in the following test case. Independent of the fix for bug 83656, this is a request to also detect and diagnose such invalid calls, similarly to how Clang diagnoses them. $ cat d.c && gcc -O2 -S -Wall -Wextra -Wpedantic d.c #if __cplusplus extern "C" void* memcpy (...); #else void* memcpy (); #endif void f (char *d) { memcpy (3, d, "123"); // invalid, should be diagnosed } For reference, Clang issues the following warnings: d.c:5:11: warning: incompatible integer to pointer conversion passing 'int'= to parameter of type 'void *' [-Wint-conversion] memcpy (3, d, "123"); ^ d.c:5:17: warning: incompatible pointer to integer conversion passing 'char [4]' to parameter of type 'unsigned long' [-Wint-conversion] memcpy (3, d, "123"); ^~~~~ 2 warnings generated. >>From gcc-bugs-return-587204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 21:54:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79105 invoked by alias); 2 Jan 2018 21: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 79042 invoked by uid 48); 2 Jan 2018 21:54:40 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/83173] C preprocessor generates incorrect linemarkers Date: Tue, 02 Jan 2018 21:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 7.2.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: 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: 2018-01/txt/msg00154.txt.bz2 Content-length: 611 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83173 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmalcolm at gcc dot gnu.org --- Comment #4 from David Malcolm --- (In reply to Jeffrey A. Law from comment #3) > Adding David who knows the linemap bits. >=20 > David -- Mike has also posted a patch. See gcc-patches archives Dec 1. https://gcc.gnu.org/ml/gcc-patches/2017-12/msg00073.html >>From gcc-bugs-return-587205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 22:46:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129665 invoked by alias); 2 Jan 2018 22: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 129626 invoked by uid 48); 2 Jan 2018 22:46:19 -0000 From: "slyfox at inbox dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83565] [7/8 regression] RTL combine pass breaks shift result (at least on ia64) Date: Tue, 02 Jan 2018 22: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: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: slyfox at inbox dot ru 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: 2018-01/txt/msg00155.txt.bz2 Content-length: 837 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83565 --- Comment #28 from Sergei Trofimovich --- Thanks all for very insightful comments and sorting out WORD_REGISTER_OPERATIONS ambiguity! I've understood quite a bit on how RTL = does it's magic. I still have a few related questions to clarify things: 1. Is it directly visible for you from RTL dumps which bits GCC assumes as non-zero or you just know RTL invariants? I had to patch gcc locally to ver= ify RTL prediction by adding printfs into print_pattern to get the idea how it works: insn_cost 4 for 20: [r347:DI]=3Dr354:DI#0 insn_cost 4 for 21: r357:SI=3Dr343:SI<-<0x1 2. Does gcc have any validation mode that could have caught this error after code generation and checking against RTL invariant? >>From gcc-bugs-return-587206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 23:03:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15889 invoked by alias); 2 Jan 2018 23:03: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 15852 invoked by uid 55); 2 Jan 2018 23:03:43 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83650] [6/7/8 Regression] Wrong simplification in cshift with negative shifts Date: Tue, 02 Jan 2018 23: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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-01/txt/msg00156.txt.bz2 Content-length: 864 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83650 --- Comment #5 from Thomas Koenig --- Author: tkoenig Date: Tue Jan 2 23:03:11 2018 New Revision: 256113 URL: https://gcc.gnu.org/viewcvs?rev=3D256113&root=3Dgcc&view=3Drev Log: 2018-01-02 Thomas Koenig Backport from 7-branch PR fortran/83650 * simplify.c (gfc_simplify_cshift): Correct contition for negative shifts. 2018-01-02 Thomas Koenig Backport from 7-branch PR fortran/83650 * gfortran.dg/simplify_cshift_1.f90: Correct condition. Modified: branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/simplify.c branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/testsuite/gfortran.dg/simplify_cshift_1.f90 >>From gcc-bugs-return-587207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 23:04:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17082 invoked by alias); 2 Jan 2018 23:04: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 16988 invoked by uid 48); 2 Jan 2018 23:04:42 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83650] [6/7/8 Regression] Wrong simplification in cshift with negative shifts Date: Tue, 02 Jan 2018 23: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: unknown X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-01/txt/msg00157.txt.bz2 Content-length: 457 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83650 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Thomas Koenig --- Fixed on all open branches, closing. >>From gcc-bugs-return-587208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 23:04:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17162 invoked by alias); 2 Jan 2018 23:04: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 17033 invoked by uid 48); 2 Jan 2018 23:04:43 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/45689] [F03] Missing transformational intrinsic in the trans_func_f2003 list Date: Tue, 02 Jan 2018 23:04: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: 4.6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tkoenig 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: 2018-01/txt/msg00158.txt.bz2 Content-length: 499 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D45689 Bug 45689 depends on bug 83650, which changed state. Bug 83650 Summary: [6/7/8 Regression] Wrong simplification in cshift with = negative shifts https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83650 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-587209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 23:06:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18729 invoked by alias); 2 Jan 2018 23: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 18688 invoked by uid 48); 2 Jan 2018 23:05:56 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83655] [8 Regression] ICE on an invalid call to memcpy declared with no prototype Date: Tue, 02 Jan 2018 23: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-01/txt/msg00159.txt.bz2 Content-length: 422 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83655 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #1 from Martin Sebor --- Patch: https://gcc.gnu.org/ml/gcc-patches/2018-01/msg00082.html >>From gcc-bugs-return-587210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 23:22:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29357 invoked by alias); 2 Jan 2018 23:22: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 28806 invoked by uid 48); 2 Jan 2018 23:22:16 -0000 From: "cohenjon at google dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/83658] New: any::emplace deletes invalid memory when an overloaded operator new() throws Date: Tue, 02 Jan 2018 23:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cohenjon 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: 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: 2018-01/txt/msg00160.txt.bz2 Content-length: 1236 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83658 Bug ID: 83658 Summary: any::emplace deletes invalid memory when an overloaded operator new() throws Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: cohenjon at google dot com Target Milestone: --- Note the following Wandbox: https://wandbox.org/permlink/1emVGP0a09lmd4g2 -- the std::any is still empty after new() throws and so the destructor should= be a no-op. Instead it calls delete(). __do_emplace sets the manager pointer before attempting to create a new obj= ect. When new() throws after calling reset(), _M_ptr doesn't point to valid mem= ory. When, later, the destructor is called on the any, the manager pointer stil= l is non-null, so the destructor, via reset(), will trigger the call to _S_manage(_Op_destroy, ...), calling delete on the invalid _M_ptr.=20=20 I believe setting the manager pointer after calling _S_create() will fix the issue, since the manager pointer will still be null after _S_create_ propag= ates the exception. >>From gcc-bugs-return-587211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 23:27:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39256 invoked by alias); 2 Jan 2018 23: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 39213 invoked by uid 48); 2 Jan 2018 23:27:16 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83659] New: ICE on compilable C++ code: in tree_to_shwi, at tree.c:6821 Date: Tue, 02 Jan 2018 23: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: su at cs dot ucdavis.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00161.txt.bz2 Content-length: 3662 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83659 Bug ID: 83659 Summary: ICE on compilable C++ code: in tree_to_shwi, at tree.c:6821 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: su at cs dot ucdavis.edu Target Milestone: --- This affects 7.x and the current trunk, and is a regression from 6.4.x.=20 $ g++tk -v Using built-in specs. COLLECT_GCC=3Dg++tk COLLECT_LTO_WRAPPER=3D/home/su/software/tmp/gcc/gcc-trunk/libexec/gcc/x86_6= 4-pc-linux-gnu/8.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=3Dc,c++,l= to --prefix=3D/home/su/software/tmp/gcc/gcc-trunk --disable-bootstrap Thread model: posix gcc version 8.0.0 20180102 (experimental) [trunk revision 256110] (GCC) $ $ g++-6.4.0 small.cpp $ icc small.cpp $ clang++ small.cpp $ $ g++tk small.cpp small.cpp: In function =E2=80=98int main()=E2=80=99: small.cpp:7:42: internal compiler error: in tree_to_shwi, at tree.c:6821 reinterpret_cast < int * > (&a)[-1] +=3D 1; ^ 0x11559a2 tree_to_shwi(tree_node const*) ../../gcc-source-trunk/gcc/tree.c:6821 0x703bd7 cxx_fold_indirect_ref ../../gcc-source-trunk/gcc/cp/constexpr.c:3112 0x70bc4b cxx_eval_indirect_ref ../../gcc-source-trunk/gcc/cp/constexpr.c:3215 0x70bc4b cxx_eval_constant_expression ../../gcc-source-trunk/gcc/cp/constexpr.c:4271 0x7126ed cxx_eval_outermost_constant_expr ../../gcc-source-trunk/gcc/cp/constexpr.c:4769 0x715c06 maybe_constant_value(tree_node*, tree_node*) ../../gcc-source-trunk/gcc/cp/constexpr.c:4983 0x729de1 cp_fully_fold(tree_node*) ../../gcc-source-trunk/gcc/cp/cp-gimplify.c:2033 0x90b967 cp_build_binary_op(unsigned int, tree_code, tree_node*, tree_node*, int) ../../gcc-source-trunk/gcc/cp/typeck.c:5381 0x919111 cp_build_modify_expr(unsigned int, tree_node*, tree_code, tree_nod= e*, int) ../../gcc-source-trunk/gcc/cp/typeck.c:8067 0x6d66ea build_new_op_1 ../../gcc-source-trunk/gcc/cp/call.c:5963 0x6d6fce build_new_op(unsigned int, tree_code, int, tree_node*, tree_node*, tree_node*, tree_node**, int) ../../gcc-source-trunk/gcc/cp/call.c:6047 0x91b133 build_x_modify_expr(unsigned int, tree_node*, tree_code, tree_node= *, int) ../../gcc-source-trunk/gcc/cp/typeck.c:8263 0x8042a6 cp_parser_assignment_expression ../../gcc-source-trunk/gcc/cp/parser.c:9458 0x80499a cp_parser_expression ../../gcc-source-trunk/gcc/cp/parser.c:9586 0x808179 cp_parser_expression_statement ../../gcc-source-trunk/gcc/cp/parser.c:11042 0x81185c cp_parser_statement ../../gcc-source-trunk/gcc/cp/parser.c:10858 0x812a1f cp_parser_statement_seq_opt ../../gcc-source-trunk/gcc/cp/parser.c:11185 0x812b2f cp_parser_compound_statement ../../gcc-source-trunk/gcc/cp/parser.c:11139 0x827f40 cp_parser_function_body ../../gcc-source-trunk/gcc/cp/parser.c:21681 0x827f40 cp_parser_ctor_initializer_opt_and_function_body ../../gcc-source-trunk/gcc/cp/parser.c:21716 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ ------------------------------------------------------- typedef int V __attribute__ ((__vector_size__ (16))); V a; int main () {=20 reinterpret_cast < int * > (&a)[-1] +=3D 1; return 0; } >>From gcc-bugs-return-587212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 23:29:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41335 invoked by alias); 2 Jan 2018 23:29: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 41295 invoked by uid 48); 2 Jan 2018 23:29:13 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83656] missing -Wbuiltin-declaration-mismatch on declaration without prototype Date: Tue, 02 Jan 2018 23:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-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 see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00162.txt.bz2 Content-length: 803 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83656 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.o= rg See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D83655, | |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D82922 --- Comment #1 from Eric Gallager --- I can't confirm due to bug 83655, but regardless, my preferred solution wou= ld be to fix bug 82922 first. >>From gcc-bugs-return-587213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 23:43:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67609 invoked by alias); 2 Jan 2018 23: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 67568 invoked by uid 48); 2 Jan 2018 23:43:45 -0000 From: "wilson at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83565] [7/8 regression] RTL combine pass breaks shift result (at least on ia64) Date: Tue, 02 Jan 2018 23: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: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: wilson 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: 2018-01/txt/msg00163.txt.bz2 Content-length: 870 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83565 --- Comment #29 from Jim Wilson --- (In reply to Sergei Trofimovich from comment #28) > 1. Is it directly visible for you from RTL dumps which bits GCC assumes as > non-zero or you just know RTL invariants? I had to patch gcc locally to > verify RTL prediction by adding printfs into print_pattern to get the idea > how it works: I stepped through combine in gdb to find the problem. > 2. Does gcc have any validation mode that could have caught this error af= ter > code generation and checking against RTL invariant? We have some compile-time and run-time checking code, but nothing that would catch a problem like this. We do have the regression testsuite which requi= res manually adding testcases that get miscompiled, and hopefully prevents them from getting miscompiled again. >>From gcc-bugs-return-587214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 23:47:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70149 invoked by alias); 2 Jan 2018 23: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 70091 invoked by uid 48); 2 Jan 2018 23:47:08 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/81611] [8 Regression] gcc un-learned loop / post-increment optimization Date: Tue, 02 Jan 2018 23: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: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00164.txt.bz2 Content-length: 607 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81611 --- Comment #12 from Jeffrey A. Law --- You know, I wonder if we're missing something bigger here. ISTM we're potentially missing CSEs in memory addresses as well as forward propagation opportunities in MEM_REF expressions. I strongly suspect DOM doesn't look inside a MEM_REF to see if the computed address is lying around in hash table. Similarly I wouldn't be surprised if forward propagation misses the opportu= nity to eliminate instructions that compute addresses by propagating the constant offset part into a MEM_REF. >>From gcc-bugs-return-587215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 23:48:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71551 invoked by alias); 2 Jan 2018 23:48: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 71503 invoked by uid 48); 2 Jan 2018 23:48:52 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/61118] [6/7/8 Regression] Indirect call generated for pthread_cleanup_push with constant cleanup function Date: Tue, 02 Jan 2018 23:48: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: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager 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: 6.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: 2018-01/txt/msg00165.txt.bz2 Content-length: 500 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61118 --- Comment #20 from Eric Gallager --- (In reply to Jeffrey A. Law from comment #19) > Note you lost the regression marker when this was made a duplicate of 211= 61. > So it's unlikely anyone would have looked at it until the next release cy= cle. >=20 > My understanding from Florian is that at least some of the issues here are > regressions, so I've added the marker to 21161. Oops, sorry, thanks for fixing it >>From gcc-bugs-return-587216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 23:52:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75252 invoked by alias); 2 Jan 2018 23: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 75181 invoked by uid 48); 2 Jan 2018 23:51:58 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/21161] [6/7/8 Regression] "clobbered by longjmp" warning ignores the data flow Date: Tue, 02 Jan 2018 23: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: 4.0.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement 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: 8.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: 2018-01/txt/msg00166.txt.bz2 Content-length: 288 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D21161 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 >>From gcc-bugs-return-587217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 02 23:53:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77296 invoked by alias); 2 Jan 2018 23:53: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 77254 invoked by uid 48); 2 Jan 2018 23:53:37 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/61118] [6/7/8 Regression] Indirect call generated for pthread_cleanup_push with constant cleanup function Date: Tue, 02 Jan 2018 23: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.9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat 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: 6.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: 2018-01/txt/msg00167.txt.bz2 Content-length: 357 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61118 --- Comment #21 from Jeffrey A. Law --- No problem Eric. I'm monitoring on behalf of Florian who'd really like to = see this fixed for gcc-8. Actually just noticed it still wasn't showing up in the queries. It didn't have a target milestone set either, which I've just fixed. >>From gcc-bugs-return-587218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 00:10:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115292 invoked by alias); 3 Jan 2018 00:10: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 115197 invoked by uid 48); 3 Jan 2018 00:10:05 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83620] [8 Regression] ICE: in assign_by_spills, at lra-assigns.c:1470: unable to find a register to spill with -flive-range-shrinkage --param=max-sched-ready-insns=0 Date: Wed, 03 Jan 2018 00: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code 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: 8.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: 2018-01/txt/msg00168.txt.bz2 Content-length: 545 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83620 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |law at redhat dot com --- Comment #5 from Jeffrey A. Law --- I don't see a good rationale behind disallowing 0 for that param. It'd be interesting to look at the scheduler dumps to see queues the decisi= ons it makes at the key point. >>From gcc-bugs-return-587219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 02:11:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74199 invoked by alias); 3 Jan 2018 02:11: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 74112 invoked by uid 48); 3 Jan 2018 02:11:44 -0000 From: "syq at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libffi/83636] libffi/mips/n32: don't .set mips4 for mips r6 Date: Wed, 03 Jan 2018 02:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libffi X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: syq at debian 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: 2018-01/txt/msg00169.txt.bz2 Content-length: 955 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83636 --- Comment #1 from YunQiang Su --- and we found a new problem of libffi: https://github.com/libffi/libffi/pull/401 /* lui $12,high(codeloc) */ tramp[2] =3D 0x3c0c0000 | ((unsigned)codeloc >> 16); /* jr $25 */ +#if !defined(__mips_isa_rev) || (__mips_isa_rev<6) tramp[3] =3D 0x03200008; +#else + tramp[3] =3D 0x03200009; +#endif /* ori $12,low(codeloc) */ tramp[4] =3D 0x358c0000 | ((unsigned)codeloc & 0xffff); #else @@ -743,7 +747,11 @@ ffi_prep_closure_loc (ffi_closure *closure, /* ori $25,low(fn) */ tramp[10] =3D 0x37390000 | ((unsigned long)fn & 0xffff); /* jr $25 */ +#if !defined(__mips_isa_rev) || (__mips_isa_rev<6) tramp[11] =3D 0x03200008; +#else + tramp[11] =3D 0x03200009; +#endif /* ori $12,low(codeloc) */ tramp[12] =3D 0x358c0000 | ((unsigned long)codeloc & 0xffff); >>From gcc-bugs-return-587220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 02:44:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101504 invoked by alias); 3 Jan 2018 02:44: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 88511 invoked by uid 48); 3 Jan 2018 02:44:26 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/81611] [8 Regression] gcc un-learned loop / post-increment optimization Date: Wed, 03 Jan 2018 02:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00170.txt.bz2 Content-length: 398 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81611 --- Comment #13 from Alexandre Oliva --- We do have such constant propagation on such ports as x86* and arm, but not= on avr. Presumably (I haven't checked) it has to do with available addressing modes, and gimple's avoiding, even in MEM_REFs, address expressions that do= n't fit its more stringent requirements. >>From gcc-bugs-return-587221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 06:47:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55564 invoked by alias); 3 Jan 2018 06:47: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 52957 invoked by uid 48); 3 Jan 2018 06:47:35 -0000 From: "zoltan at hidvegi dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83660] New: ICE with vec_extract inside expression statement Date: Wed, 03 Jan 2018 06: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: 7.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zoltan at hidvegi dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-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: 2018-01/txt/msg00171.txt.bz2 Content-length: 974 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83660 Bug ID: 83660 Summary: ICE with vec_extract inside expression statement Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zoltan at hidvegi dot com CC: wschmidt at gcc dot gnu.org Target Milestone: --- Target: powerpc64 Compile the following with g++ -mcpu=3Dpower7 -S ppc_vec_extract_ice.C This probably happens with ppc64le as well. -mcpu=3Dpower7 is needed to mak= e the move go through memory, with power8 direct move instruction is used and the= re is no coredump. #include typedef __vector unsigned int uvec32_t __attribute__((__aligned__(16))); unsigned get_word(uvec32_t v) { return ({const unsigned _B1 =3D 32; vec_extract((uvec32_t)v, 2);}); } >>From gcc-bugs-return-587222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 07:35:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8896 invoked by alias); 3 Jan 2018 07:35: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 8877 invoked by uid 48); 3 Jan 2018 07:35:28 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83661] New: sincos does not handle sin(2x) Date: Wed, 03 Jan 2018 07: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: 8.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: 2018-01/txt/msg00172.txt.bz2 Content-length: 1567 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83661 Bug ID: 83661 Summary: sincos does not handle sin(2x) Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: prathamesh3492 at gcc dot gnu.org Target Milestone: --- Hi, For the following test-case: double f(double x) { return __builtin_sin(2*x) + __builtin_sin(x); } optimzied dump with -O2 -funsafe-math-optimizations -ffast-math shows: ;; Function f (f, funcdef_no=3D0, decl_uid=3D1952, cgraph_uid=3D0, symbol_o= rder=3D0) [local count: 1073741825]: _1 =3D __builtin_sin (x_4(D)); _2 =3D x_4(D) * 2.0e+0; _3 =3D __builtin_sin (_2); _5 =3D _1 + _3; return _5; Would it be a good idea to enhance sincos pass to recognize the identity sin(2*x) =3D 2*sin(x)*cos(x) and thus eliminate one call to __builtin_sin ? Writing 2*sin(x)*cos(x) explicitly in the source yields following optimized dump: [local count: 1073741825]: sincostmp_8 =3D __builtin_cexpi (x_5(D)); _1 =3D IMAGPART_EXPR ; _2 =3D REALPART_EXPR ; _3 =3D _1 * _2; _4 =3D _3 * 2.0e+0; _6 =3D _2 + _4; return _6; I agree in general that adding math identities like sin(x)**2 + cos(x)**2 = =3D 1 isn't a good idea since user would almost always write the "optimized" vers= ion in practice. However for the above case, would the transform make sense ? Thanks, Prathamesh >>From gcc-bugs-return-587223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 07:36:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9887 invoked by alias); 3 Jan 2018 07:36: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 9853 invoked by uid 48); 3 Jan 2018 07:36:19 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83661] sincos does not handle sin(2x) Date: Wed, 03 Jan 2018 07: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: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement 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: keywords cf_gcctarget cf_gcchost cf_gccbuild 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: 2018-01/txt/msg00173.txt.bz2 Content-length: 582 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83661 prathamesh3492 at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Target| |x86_64-unknown-linux-gnu Host| |x86_64-unknown-linux-gnu Build| |x86_64-unknown-linux-gnu Severity|normal |enhancement >>From gcc-bugs-return-587224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 07:57:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62616 invoked by alias); 3 Jan 2018 07: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 62568 invoked by uid 48); 3 Jan 2018 07:57:46 -0000 From: "nico at josuttis dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83662] New: std::aligned_alloc() not available Date: Wed, 03 Jan 2018 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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nico at josuttis 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: 2018-01/txt/msg00174.txt.bz2 Content-length: 1087 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83662 Bug ID: 83662 Summary: std::aligned_alloc() not available Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nico at josuttis dot de Target Milestone: --- C++17 is based on C11, which now standardizes aligned_alloc(). However, does not provide it under namespace std: #include int main() { auto p1 =3D std::malloc(100); // OK auto p2 =3D aligned_alloc(64, 100); // OK auto p3 =3D std::aligned_alloc(64, 100); // ERROR } Error: prog.cc: In function 'int main()': prog.cc:7:18: error: 'aligned_alloc' is not a member of 'std' auto p3 =3D std::aligned_alloc(64, 100); // ERROR ^~~~~~~~~~~~~ prog.cc:7:18: note: suggested alternative: 'align_val_t' auto p3 =3D std::aligned_alloc(64, 100); // ERROR ^~~~~~~~~~~~~ align_val_t >>From gcc-bugs-return-587225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 08:00:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66485 invoked by alias); 3 Jan 2018 08:00: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 65790 invoked by uid 48); 3 Jan 2018 07:59:59 -0000 From: "nico at josuttis dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83662] std::aligned_alloc() not available Date: Wed, 03 Jan 2018 08:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nico at josuttis 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: 2018-01/txt/msg00175.txt.bz2 Content-length: 294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83662 --- Comment #1 from Nicolai Josuttis --- Jonathan commented: > Ah yes, we already have autoconf macros to detect the presence of > ::aligned_alloc() so adding the using-directive to namespace std should > be easy. >>From gcc-bugs-return-587226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 08:07:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71098 invoked by alias); 3 Jan 2018 08: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 71038 invoked by uid 48); 3 Jan 2018 08:07:23 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/83662] std::aligned_alloc() not available Date: Wed, 03 Jan 2018 08: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00176.txt.bz2 Content-length: 190 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83662 --- Comment #2 from Andrew Pinski --- Just to make sure what options are you using to compile the program? >>From gcc-bugs-return-587227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 08:25:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25837 invoked by alias); 3 Jan 2018 08: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 13676 invoked by uid 48); 3 Jan 2018 08:25:03 -0000 From: "nico at josuttis dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/83662] std::aligned_alloc() not available Date: Wed, 03 Jan 2018 08:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nico at josuttis 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: 2018-01/txt/msg00177.txt.bz2 Content-length: 189 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83662 --- Comment #3 from Nicolai Josuttis --- See for example here: https://wandbox.org/permlink/aOV13KmAUMKzSmxz >>From gcc-bugs-return-587228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 08:32:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5011 invoked by alias); 3 Jan 2018 08:32: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 4965 invoked by uid 48); 3 Jan 2018 08:32:15 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/81611] [8 Regression] gcc un-learned loop / post-increment optimization Date: Wed, 03 Jan 2018 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: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00178.txt.bz2 Content-length: 452 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81611 --- Comment #14 from Jeffrey A. Law --- MEM_REF (as opposed to TARGET_MEM_REF) should be able to handle any simple SSA_NAME + CONSTANT_OFFSET which are all we're really concerned with here. = THe target's addressing modes don't really enter the picture (that's what TARGET_MEM_REF is for). I'd look for an issue in the types preventing forwprop from doing its job h= ere. >>From gcc-bugs-return-587229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 08:47:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15061 invoked by alias); 3 Jan 2018 08: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 15019 invoked by uid 48); 3 Jan 2018 08:47:02 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83659] [7/8 Regression] ICE on compilable C++ code: in tree_to_shwi, at tree.c:6821 Date: Wed, 03 Jan 2018 08:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 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: 2018-01/txt/msg00179.txt.bz2 Content-length: 898 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83659 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-03 CC| |mpolacek at gcc dot gnu.org Target Milestone|--- |7.4 Summary|ICE on compilable C++ code: |[7/8 Regression] ICE on |in tree_to_shwi, at |compilable C++ code: in |tree.c:6821 |tree_to_shwi, at | |tree.c:6821 Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Started with r238559. >>From gcc-bugs-return-587230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 08:53:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21707 invoked by alias); 3 Jan 2018 08:53: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 21667 invoked by uid 48); 3 Jan 2018 08:53:38 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83659] [7/8 Regression] ICE on compilable C++ code: in tree_to_shwi, at tree.c:6821 Date: Wed, 03 Jan 2018 08: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: 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.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: 2018-01/txt/msg00180.txt.bz2 Content-length: 274 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83659 --- Comment #2 from Marek Polacek --- Looks like using unsigned HOST_WIDE_INT offset in /* ((foo*)&vectorfoo)[1]= =3D> BIT_FIELD_REF */ in cxx_fold_indirect_ref would help. >>From gcc-bugs-return-587231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 08:53:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22480 invoked by alias); 3 Jan 2018 08: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 22254 invoked by uid 48); 3 Jan 2018 08:53:48 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83659] [7/8 Regression] ICE on compilable C++ code: in tree_to_shwi, at tree.c:6821 Date: Wed, 03 Jan 2018 08: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: 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.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: 2018-01/txt/msg00181.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83659 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org >>From gcc-bugs-return-587232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 09:01:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38237 invoked by alias); 3 Jan 2018 09: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 38134 invoked by uid 48); 3 Jan 2018 09:01:27 -0000 From: "sebastian.huber@embedded-brains.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83387] PowerPC64: Infinite loops in do_reload() with -msoft-float Date: Wed, 03 Jan 2018 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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sebastian.huber@embedded-brains.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: 2018-01/txt/msg00182.txt.bz2 Content-length: 2211 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83387 --- Comment #15 from Sebastian Huber -= -- (In reply to Sebastian Huber from comment #14) > (In reply to Peter Bergner from comment #13) > > (In reply to Sebastian Huber from comment #12) > > > (In reply to Peter Bergner from comment #9) > > > [...] > > > > Here, you can see that on ELFv2, we always assume HW FP regs are av= ialable, > > > > because we're forcing usage of HW FP registers (FP_ARG_RETURN, ie, = f1, aka > > > > reg 33). I'm afraid that are going to be a *LOT* of these assumpti= ons > > > > builtin into the backend and tracking them all down and fixing them= is not > > > > going to be easy. That's why I asked earlier, if you really really= need to > > > > disable HW FP for your builds. If you do, then good luck to you fi= nding > > > > them all. > > >=20 > > > Thanks for your investigations. I removed the 64-bit soft-float multi= lib. > >=20 > > I can't promise this is all you need, but does the following patch help? > >=20 > > Index: gcc/config/rs6000/rs6000.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/config/rs6000/rs6000.c (revision 255700) > > +++ gcc/config/rs6000/rs6000.c (working copy) > > @@ -11095,7 +11095,8 @@ rs6000_discover_homogeneous_aggregate (m > > homogeneous aggregates; these types are handled via the > > targetm.calls.split_complex_arg mechanism. Complex types > > can be elements of homogeneous aggregates, however. */ > > - if (DEFAULT_ABI =3D=3D ABI_ELFv2 && type && AGGREGATE_TYPE_P (type)) > > + if (TARGET_HARD_FLOAT && DEFAULT_ABI =3D=3D ABI_ELFv2 && type > > + && AGGREGATE_TYPE_P (type)) > > { > > machine_mode field_mode =3D VOIDmode; > > int field_count =3D rs6000_aggregate_candidate (type, &field_mod= e); > >=20 > >=20 > >=20 >=20 > With this patch I can build an Ada compiler with a -m64 and -msoft-float > multilib. How do we want to continue with this PR? Close it as WONTFIX or apply the p= atch and close it as FIXED? >>From gcc-bugs-return-587233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 09:17:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61849 invoked by alias); 3 Jan 2018 09: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 61782 invoked by uid 48); 3 Jan 2018 09:17:18 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/47618] Collecting multiple profiles and using all for PGO Date: Wed, 03 Jan 2018 09:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 4.6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00183.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D47618 --- Comment #20 from Martin Li=C5=A1ka --- (In reply to Petr =C5=A0pa=C4=8Dek from comment #19) > Sure, I would be happy with any version, thank you! >=20 > For people who want to generate code coverage reports for parallel > executions, beware of https://github.com/linux-test-project/lcov/issues/3= 7. Good. I will do it in timeframe of stage1 of GCC 9. >>From gcc-bugs-return-587234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 09:25:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126576 invoked by alias); 3 Jan 2018 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 125977 invoked by uid 55); 3 Jan 2018 09:25:12 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83594] [8 Regression] ICE: in function_and_variable_visibility, at ipa-visibility.c:640 with __attribute__((noipa)) Date: Wed, 03 Jan 2018 09:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00184.txt.bz2 Content-length: 755 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83594 --- Comment #2 from Martin Li=C5=A1ka --- Author: marxin Date: Wed Jan 3 09:24:40 2018 New Revision: 256167 URL: https://gcc.gnu.org/viewcvs?rev=3D256167&root=3Dgcc&view=3Drev Log: Handle noipa attribute in IPA visibility (PR ipa/83594). 2018-01-03 Martin Liska PR ipa/83594 * ipa-visibility.c (function_and_variable_visibility): Skip functions with noipa attribure. 2018-01-03 Martin Liska PR ipa/83594 * gcc.dg/ipa/pr83594.c: New test. Added: trunk/gcc/testsuite/gcc.dg/ipa/pr83594.c Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-visibility.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 09:54:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12789 invoked by alias); 3 Jan 2018 09:54: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 12351 invoked by uid 48); 3 Jan 2018 09:54:38 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83663] New: [8 regression] aarch64_be regressions after r255946 Date: Wed, 03 Jan 2018 09:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00185.txt.bz2 Content-length: 10140 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83663 Bug ID: 83663 Summary: [8 regression] aarch64_be regressions after r255946 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- I have noticed regressions on aarch64_be after r255946: PASS now FAIL [PASS =3D> FAIL]: Executed from: gcc.c-torture/execute/execute.exp gcc.c-torture/execute/20030928-1.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test gcc.c-torture/execute/20030928-1.c -O3 -g execution test gcc.c-torture/execute/20050224-1.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test gcc.c-torture/execute/20050224-1.c -O3 -g execution test gcc.c-torture/execute/pr23135.c -O0 execution test gcc.c-torture/execute/pr27073.c -O3 -fomit-frame-pointer -funroll-loo= ps -fpeel-loops -ftracer -finline-functions execution test gcc.c-torture/execute/pr27073.c -O3 -g execution test gcc.c-torture/execute/pr28982a.c -O3 -fomit-frame-pointer -funroll-lo= ops -fpeel-loops -ftracer -finline-functions execution test gcc.c-torture/execute/pr28982a.c -O3 -g execution test gcc.c-torture/execute/pr53645-2.c -O0 execution test gcc.c-torture/execute/pr53645.c -O0 execution test gcc.c-torture/execute/pr53645.c -O1 execution test gcc.c-torture/execute/pr53645.c -O2 execution test gcc.c-torture/execute/pr53645.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone execution test gcc.c-torture/execute/pr53645.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects execution test gcc.c-torture/execute/pr53645.c -O3 -fomit-frame-pointer -funroll-loo= ps -fpeel-loops -ftracer -finline-functions execution test gcc.c-torture/execute/pr53645.c -O3 -g execution test gcc.c-torture/execute/pr53645.c -Os execution test gcc.c-torture/execute/scal-to-vec1.c -O0 execution test gcc.c-torture/execute/scal-to-vec2.c -O0 execution test gcc.c-torture/execute/simd-1.c -O0 execution test gcc.c-torture/execute/simd-2.c -O0 execution test Executed from: gcc.dg/dg.exp gcc.dg/pr48616.c execution test gcc.dg/sms-7.c execution test Executed from: gcc.dg/torture/dg-torture.exp gcc.dg/torture/pr52407.c -O0 execution test gcc.dg/torture/pr52407.c -O1 execution test gcc.dg/torture/pr52407.c -O2 execution test gcc.dg/torture/pr52407.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone execution test gcc.dg/torture/pr52407.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects execution test gcc.dg/torture/pr52407.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test gcc.dg/torture/pr52407.c -O3 -g execution test gcc.dg/torture/pr52407.c -Os execution test Executed from: gcc.dg/vect/vect.exp gcc.dg/vect/O3-pr70130.c execution test gcc.dg/vect/bb-slp-11.c execution test gcc.dg/vect/bb-slp-22.c execution test gcc.dg/vect/no-scevccp-outer-10.c execution test gcc.dg/vect/pr53185-2.c -flto -ffat-lto-objects execution test gcc.dg/vect/pr53185-2.c execution test gcc.dg/vect/pr57705.c execution test gcc.dg/vect/pr64404.c -flto -ffat-lto-objects execution test gcc.dg/vect/pr64404.c execution test gcc.dg/vect/pr66251.c -flto -ffat-lto-objects execution test gcc.dg/vect/pr66251.c execution test gcc.dg/vect/pr66253.c -flto -ffat-lto-objects execution test gcc.dg/vect/pr66253.c execution test gcc.dg/vect/pr71259.c -flto -ffat-lto-objects execution test gcc.dg/vect/pr71259.c execution test gcc.dg/vect/pr79920.c -flto -ffat-lto-objects execution test gcc.dg/vect/pr79920.c execution test gcc.dg/vect/slp-2.c execution test gcc.dg/vect/slp-20.c execution test gcc.dg/vect/slp-22.c execution test gcc.dg/vect/slp-41.c execution test gcc.dg/vect/slp-43.c execution test gcc.dg/vect/slp-45.c execution test gcc.dg/vect/slp-multitypes-11.c execution test gcc.dg/vect/slp-multitypes-2.c execution test gcc.dg/vect/slp-perm-11.c execution test Executed from: gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.e= xp gcc.target/aarch64/advsimd-intrinsics/vaba.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vabd.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vadd.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vaddhn.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vand.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vbic.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vbsl.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vcge.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vcgt.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vcle.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vcls.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vclt.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vclz.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vcnt.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vdup-vmov.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vdup_lane.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/veor.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vext.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vhadd.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vhsub.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vld1_dup.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vmax.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vmin.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vmla.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vmla_lane.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vmla_n.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vmls.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vmls_lane.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vmls_n.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vmul.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vorn.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vorr.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vqabs.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vqadd.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vqdmulh.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vqdmulh_lane.c -O0 execution t= est gcc.target/aarch64/advsimd-intrinsics/vqdmulh_n.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vqmovn.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vqmovun.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vqneg.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vqrdmulh.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vqrdmulh_lane.c -O0 execution = test gcc.target/aarch64/advsimd-intrinsics/vqrdmulh_n.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vqrshl.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vqrshrn_n.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vqrshrun_n.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vqshl.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vqshl_n.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vqshlu_n.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vqshrn_n.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vqshrun_n.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vqsub.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vqtbX.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vraddhn.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vrhadd.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vrshl.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vrshr_n.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vrsra_n.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vrsubhn.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vshl.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vsli_n.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vsra_n.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vsri_n.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vsub.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vsubhn.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vtrn.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vtrn_half.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vtst.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vuzp.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vuzp_half.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vzip.c -O0 execution test gcc.target/aarch64/advsimd-intrinsics/vzip_half.c -O0 execution test Executed from: gcc.target/aarch64/simd/simd.exp gcc.target/aarch64/simd/vmulx_laneq_f32_1.c execution test gcc.target/aarch64/simd/vmulxq_laneq_f32_1.c execution test gcc.target/aarch64/simd/vmulxs_laneq_f32_1.c execution test Executed from: gcc.target/aarch64/aarch64.exp gcc.target/aarch64/vect-vaddv.c execution test gcc.target/aarch64/vect-vmaxv.c execution test >>From gcc-bugs-return-587236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 09:56:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15777 invoked by alias); 3 Jan 2018 09:56: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 15717 invoked by uid 48); 3 Jan 2018 09:55:56 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/81926] [7 regression] go/parse.o differs between stage2 and stage3 Date: Wed, 03 Jan 2018 09:56: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.2.0 X-Bugzilla-Keywords: build 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: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.3 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: 2018-01/txt/msg00186.txt.bz2 Content-length: 269 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81926 --- Comment #37 from Rainer Orth --- Created attachment 43011 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43011&action=3Dedit alternative patch for comparison failure with /bin/as >>From gcc-bugs-return-587237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 09:58:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19089 invoked by alias); 3 Jan 2018 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 18975 invoked by uid 48); 3 Jan 2018 09:58:00 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83639] Vector element address problem after push_back Date: Wed, 03 Jan 2018 09:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.4 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: 2018-01/txt/msg00187.txt.bz2 Content-length: 341 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83639 --- Comment #2 from Jonathan Wakely --- See http://en.cppreference.com/w/cpp/container/vector#Iterator_invalidation and http://en.cppreference.com/w/cpp/container/vector/push_back You also need to read https://stackoverflow.com/questions/228783 re __PATH0= __ >>From gcc-bugs-return-587238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 09:59:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21773 invoked by alias); 3 Jan 2018 09: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 21689 invoked by uid 48); 3 Jan 2018 09:59:13 -0000 From: "jgreenhalgh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83663] [8 regression] aarch64_be regressions after r255946 Date: Wed, 03 Jan 2018 09: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jgreenhalgh at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jgreenhalgh 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: 2018-01/txt/msg00188.txt.bz2 Content-length: 876 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83663 James Greenhalgh changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-01-03 CC| |jgreenhalgh at gcc dot gnu= .org Assignee|unassigned at gcc dot gnu.org |jgreenhalgh at gcc = dot gnu.org Ever confirmed|0 |1 --- Comment #1 from James Greenhalgh --- I spotted this too, the problem is (as it always is for big-endian vectors = in GCC) the mismatch in lane numbering between our architecture and GCC's numbering. I'm working on a patch. Sorry for the inconvenience. >>From gcc-bugs-return-587239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 09:59:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22499 invoked by alias); 3 Jan 2018 09:59: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 22326 invoked by uid 55); 3 Jan 2018 09:59:22 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/81926] [7 regression] go/parse.o differs between stage2 and stage3 Date: Wed, 03 Jan 2018 09:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE 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.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00189.txt.bz2 Content-length: 1615 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81926 --- Comment #38 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #15 from Richard Biener --- > Note that dwarf2out.c causes the section to be emitted via > > static void > dwarf2out_assembly_start (void) > { > #ifndef DWARF2_LINENO_DEBUGGING_INFO > ASM_GENERATE_INTERNAL_LABEL (text_section_label, TEXT_SECTION_LABEL, 0); > ASM_GENERATE_INTERNAL_LABEL (text_end_label, TEXT_END_LABEL, 0); > ASM_GENERATE_INTERNAL_LABEL (cold_text_section_label, > COLD_TEXT_SECTION_LABEL, 0); > ASM_GENERATE_INTERNAL_LABEL (cold_end_label, COLD_END_LABEL, 0); > > switch_to_section (text_section); > ASM_OUTPUT_LABEL (asm_out_file, text_section_label); > #endif > ... > > part of the code refering to the label is guarded by a text_section_used > flag btw., not sure if that works reliably enough but I guess it is > only properly initialized after the above. Thus the middle-end would > need to support sth like 'give me a label at the start of section FOO'. > > The easiest workaround is indeed to always emit .text (which indeed gas d= oes). > And I'd rather do that where the assemby_start debug hook is called inste= ad > of in target specific hooks. The newly attached patch does that and worked for me on sparc-sun-solaris2.11. I've left the assembly_start call in vmsdbgout.c (vmsdbgout_assembly_start) alone since I can neither test it nor does it seem affected: it's only called for VMS_AND_DWARF2_DEBUG which isn't problematic. Rainer >>From gcc-bugs-return-587240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 10:05:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87060 invoked by alias); 3 Jan 2018 10:05: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 64104 invoked by uid 48); 3 Jan 2018 10:05:40 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83594] [8 Regression] ICE: in function_and_variable_visibility, at ipa-visibility.c:640 with __attribute__((noipa)) Date: Wed, 03 Jan 2018 10:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00190.txt.bz2 Content-length: 433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83594 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Martin Li=C5=A1ka --- Fixed. >>From gcc-bugs-return-587241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 10:08:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17382 invoked by alias); 3 Jan 2018 10:08: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 17300 invoked by uid 48); 3 Jan 2018 10:08:06 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83387] PowerPC64: Infinite loops in do_reload() with -msoft-float Date: Wed, 03 Jan 2018 10:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: 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: 2018-01/txt/msg00191.txt.bz2 Content-length: 1211 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83387 --- Comment #16 from Segher Boessenkool --- > > > --- gcc/config/rs6000/rs6000.c (revision 255700) > > > +++ gcc/config/rs6000/rs6000.c (working copy) > > > @@ -11095,7 +11095,8 @@ rs6000_discover_homogeneous_aggregate (m > > > homogeneous aggregates; these types are handled via the > > > targetm.calls.split_complex_arg mechanism. Complex types > > > can be elements of homogeneous aggregates, however. */ > > > - if (DEFAULT_ABI =3D=3D ABI_ELFv2 && type && AGGREGATE_TYPE_P (type= )) > > > + if (TARGET_HARD_FLOAT && DEFAULT_ABI =3D=3D ABI_ELFv2 && type > > > + && AGGREGATE_TYPE_P (type)) > > > { > > > machine_mode field_mode =3D VOIDmode; > > > int field_count =3D rs6000_aggregate_candidate (type, &field_m= ode); > > >=20 > > >=20 > > >=20 > >=20 > > With this patch I can build an Ada compiler with a -m64 and -msoft-float > > multilib. >=20 > How do we want to continue with this PR? Close it as WONTFIX or apply the > patch and close it as FIXED? If it works, and doesn't regress anything, it is pre-approved. So please test it on powerp64le-linux (gcc112 for example). >>From gcc-bugs-return-587242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 10:10:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45905 invoked by alias); 3 Jan 2018 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 40666 invoked by uid 48); 3 Jan 2018 10:10:49 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83664] New: Eoshift accepts missing boundary for non-default types Date: Wed, 03 Jan 2018 10: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: tkoenig at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2018-01/txt/msg00192.txt.bz2 Content-length: 1133 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83664 Bug ID: 83664 Summary: Eoshift accepts missing boundary for non-default types Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- The following code is invalid: program main type t integer :: x end type t type(t), dimension(2) :: a, b a(1)%x =3D 1 a(2)%x =3D 2 b =3D eoshift(a,1) print *,b%x end program main To quote from the F2003 standard: BOUNDARY shall be of the same type and type parameters as ARRAY and shall be scalar (optional) if ARRAY has rank one; otherwise, it shall be either scalar or of rank n = =E2=88=92 1 and of shape (d1, d2 , ..., dDIM=E2=88=921 , dDIM+1 , ..., dn). BOUNDARY ma= y be omitted for the types in the following table and, in this case, it is as if= it were present with the scalar value shown. (the table then shows Integer, Real, Complex, Logical and Character). >>From gcc-bugs-return-587243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 10:12:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36042 invoked by alias); 3 Jan 2018 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 33343 invoked by uid 48); 3 Jan 2018 10:12:20 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/82352] [7/8 Regression] comdat-local function called by void h::i() outside its comdat Date: Wed, 03 Jan 2018 10:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.3 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: 2018-01/txt/msg00193.txt.bz2 Content-length: 310 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82352 --- Comment #2 from Martin Li=C5=A1ka --- Created attachment 43012 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43012&action=3Dedit Untested patch Can you please the patch for original test-case? Not the reduced one? >>From gcc-bugs-return-587244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 10:13:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96704 invoked by alias); 3 Jan 2018 10:13: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 94114 invoked by uid 48); 3 Jan 2018 10:13:51 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV Date: Wed, 03 Jan 2018 10:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major 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: 8.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: 2018-01/txt/msg00194.txt.bz2 Content-length: 641 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81968 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42563|0 |1 is obsolete| | Attachment #42998|0 |1 is obsolete| | --- Comment #44 from Rainer Orth --- Created attachment 43013 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43013&action=3Dedit Updated patch after PR lto/83452 integration >>From gcc-bugs-return-587245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 10:23:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69773 invoked by alias); 3 Jan 2018 10:23: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 69690 invoked by uid 55); 3 Jan 2018 10:23:13 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV Date: Wed, 03 Jan 2018 10:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00195.txt.bz2 Content-length: 2728 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81968 --- Comment #45 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #43 from rguenther at suse dot de = --- > On Tue, 2 Jan 2018, ro at CeBiTec dot Uni-Bielefeld.DE wrote: > >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81968 >>=20 >> --- Comment #42 from ro at CeBiTec dot Uni-Bielefeld.DE > dot Uni-Bielefeld.DE> --- >> > --- Comment #41 from rguenther at suse dot de --- >> [...] >> >> Unfortunately not: it's really the section index pointing to the >> >> non-existing (i.e. eliminated) .gnu.debuglto_.debug_info section. >> > >> > But that section shouldn't be eliminated :/ >>=20 >> IIUC it has been renamed to .debug_info: >>=20 >> * input object (cp_lto_pr42987_0.o): >>=20 >> Section Header[9]: sh_name: .gnu.debuglto_.debug_info >> sh_addr: 0 sh_flags: 0 >> sh_size: 0x3d4 sh_type: [ SHT_PROGBITS ] >> sh_offset: 0x7fb sh_entsize: 0 >> sh_link: 0 sh_info: 0 >> sh_addralign: 0x1=20=20=20=20=20=20=20 >>=20 >> * output object (ccw3tETddebugobjtem): >>=20 >> Section Header[2]: sh_name: .debug_info >> sh_addr: 0 sh_flags: 0 >> sh_size: 0x3d4 sh_type: [ SHT_PROGBITS ] >> sh_offset: 0x84d sh_entsize: 0 >> sh_link: 0 sh_info: 0 >> sh_addralign: 0x1=20=20=20=20=20=20=20 >>=20 >> without adapting section indices in .symtab. > > Yes. It should have retained [9] as section index. Hmmm - you > have the patch removing sections in your tree? I guess you need Indeed: without it, Solaris results are far worse. > to adapt (aka remap) the first_shndx section index I added with > the patch for the hpux ld issue. Right: with that change, the .symtab warnings are gone. >> Besides, there's also a dangling >>=20 >> Section Header[6]: sh_name: .rel.gnu.debuglto_.debug_info >> sh_addr: 0 sh_flags: 0 >> sh_size: 0x8 sh_type: [ SHT_REL ] >> sh_offset: 0x11c8 sh_entsize: 0x8 (1 entry) >> sh_link: 5 sh_info: 9 >> sh_addralign: 0x4=20=20=20=20=20=20=20 >>=20 >> in the output object. > > that should have been used as the reloc section for the new section 2. > I see sh_info is still 9, it should be 2. That's eventually > missing handling in the section removal patch. I'll try to figure this out. > I've committed the hpux fix so in case you re-base the patch and > fix up the first_shndx issue please attach the rebased one. Just did so. Rainer >>From gcc-bugs-return-587246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 10:39:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114585 invoked by alias); 3 Jan 2018 10:39: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 114521 invoked by uid 48); 3 Jan 2018 10:39:43 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/83665] New: [8 regression] Big code size regression and some code quality improvement at Jan 2 2018 Date: Wed, 03 Jan 2018 10:39: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: 2018-01/txt/msg00196.txt.bz2 Content-length: 770 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83665 Bug ID: 83665 Summary: [8 regression] Big code size regression and some code quality improvement at Jan 2 2018 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: --- The change is visible at=20 https://gcc.opensuse.org/gcc-old/SPEC/CINT/sb-czerny-head-64/recent.html https://gcc.opensuse.org/gcc-old/SPEC/CINT/sb-czerny-head-64/size.html The affected run is Jan 2 2018 https://gcc.opensuse.org/gcc-old/SPEC/CINT/sb-czerny-head-64/list.html >>From gcc-bugs-return-587247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 10:41:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118498 invoked by alias); 3 Jan 2018 10:41: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 118416 invoked by uid 48); 3 Jan 2018 10:41:22 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/83665] [8 regression] Big code size regression and some code quality improvement at Jan 2 2018 Date: Wed, 03 Jan 2018 10:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown 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: 2018-01/txt/msg00197.txt.bz2 Content-length: 485 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83665 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trippels at gcc dot gnu.org --- Comment #1 from Markus Trippelsdorf --- Also visible here: https://vmakarov.fedorapeople.org/spec/spec2000.topka/gcc/home.html >>From gcc-bugs-return-587248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 11:10:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15670 invoked by alias); 3 Jan 2018 11: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 15578 invoked by uid 48); 3 Jan 2018 11:10:09 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83619] [8 Regression] ICE in inliner: caller edge count does not match BB count Date: Wed, 03 Jan 2018 11: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-01/txt/msg00198.txt.bz2 Content-length: 1027 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83619 Jan Hubicka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-03 Ever confirmed|0 |1 --- Comment #2 from Jan Hubicka --- Returning 1 from cgraph_edge::sreal_frequency is equivalent of what we alwa= ys did - when there is no profile we assume every call have same weight (and a= lso disable recursive inlining). Counts should be initialized after the estimation. If not, we should get IC= E in the verifier we see here. However profile estimation is local only, so if = you convert it to ipa (), then you get unintialized as we do not know the global count of calls within the whole program (don't to whole program propagation= ). I will take a look what is going on here. Honza >>From gcc-bugs-return-587249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 11:17:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20399 invoked by alias); 3 Jan 2018 11:17: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 20354 invoked by uid 48); 3 Jan 2018 11:17:14 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83664] Eoshift accepts missing boundary for non-default types Date: Wed, 03 Jan 2018 11:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tkoenig 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: 2018-01/txt/msg00199.txt.bz2 Content-length: 558 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83664 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-01-03 Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot = gnu.org Ever confirmed|0 |1 >>From gcc-bugs-return-587250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 11:32:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35044 invoked by alias); 3 Jan 2018 11:32: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 34997 invoked by uid 55); 3 Jan 2018 11:31:52 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83664] Eoshift accepts missing boundary for non-default types Date: Wed, 03 Jan 2018 11: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: unknown X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00200.txt.bz2 Content-length: 743 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83664 --- Comment #1 from Thomas Koenig --- Author: tkoenig Date: Wed Jan 3 11:31:20 2018 New Revision: 256171 URL: https://gcc.gnu.org/viewcvs?rev=3D256171&root=3Dgcc&view=3Drev Log: 2018-01-03 Thomas Koenig PR fortran/83664 * check.c (gfc_check_eoshift): Error for missing boundary if array is not one of the standard types. 2018-01-03 Thomas Koenig PR fortran/83664 * gfortran.dg/eoshift_7.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/eoshift_7.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/check.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 11:32:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35803 invoked by alias); 3 Jan 2018 11:32: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 35770 invoked by uid 48); 3 Jan 2018 11:32:16 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83664] Eoshift accepts missing boundary for non-default types Date: Wed, 03 Jan 2018 11: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: unknown X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tkoenig 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: 2018-01/txt/msg00201.txt.bz2 Content-length: 445 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83664 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Thomas Koenig --- Fixed on trunk, closing. >>From gcc-bugs-return-587252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 11:33:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36952 invoked by alias); 3 Jan 2018 11:33: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 36889 invoked by uid 48); 3 Jan 2018 11:33:08 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/83665] [8 regression] Big code size regression and some code quality improvement at Jan 2 2018 Date: Wed, 03 Jan 2018 11: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: 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00202.txt.bz2 Content-length: 350 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83665 --- Comment #2 from Jan Hubicka --- One potential candidate is the ipa-inline big_speedup_p fix by Richard. It does not seem to explain all the difference though. I have quickly checked = that it does affect gzip LTO binary, but less than reported - by about 2.5KB. >>From gcc-bugs-return-587253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 11:47:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83933 invoked by alias); 3 Jan 2018 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 83867 invoked by uid 55); 3 Jan 2018 11:47:10 -0000 From: "jb at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/83649] Large reads fail Date: Wed, 03 Jan 2018 11:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jb at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jb at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00203.txt.bz2 Content-length: 4327 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83649 --- Comment #6 from Janne Blomqvist --- Author: jb Date: Wed Jan 3 11:46:38 2018 New Revision: 256172 URL: https://gcc.gnu.org/viewcvs?rev=3D256172&root=3Dgcc&view=3Drev Log: PR libgfortran/83649 Chunk large reads and writes Backport from trunk. It turns out that Linux never reads or writes more than 2147479552 bytes in a single syscall. For writes this is not a problem as libgfortran already contains a loop around write() to handle short writes. But for reads we cannot do this, since then read will hang if we have a short read when reading from the terminal. Also, there are reports that macOS fails I/O's larger than 2 GB. Thus, to work around these issues do large reads/writes in chunks. The testcase from the PR program largewr integer(kind=3D1) :: a(2_8**31+1) a =3D 0 a(size(a, kind=3D8)) =3D 1 open(10, file=3D"largewr.dat", access=3D"stream", form=3D"unformatted") write (10) a close(10) a(size(a, kind=3D8)) =3D 2 open(10, file=3D"largewr.dat", access=3D"stream", form=3D"unformatted") read (10) a if (a(size(a, kind=3D8)) =3D=3D 1) then print *, "All is well" else print *, "Oh no" end if end program largewr fails on trunk but works with the patch. Regtested on x86_64-pc-linux-gnu, committed to trunk. libgfortran/ChangeLog: 2018-01-03 Janne Blomqvist PR libgfortran/83649 * io/unix.c (MAX_CHUNK): New define. (raw_read): For reads larger than MAX_CHUNK, loop. (raw_write): Write no more than MAX_CHUNK bytes per iteration. --- libgfortran/io/unix.c | 50 ++++++++++++++++++++++++++++++++++++++++++-----= --- 1 file changed, 42 insertions(+), 8 deletions(-) diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c index a07a3c9..7a982b3 100644 --- a/libgfortran/io/unix.c +++ b/libgfortran/io/unix.c @@ -292,18 +292,49 @@ raw_flush (unix_stream *s __attribute__ ((unused))) return 0; } +/* Write/read at most 2 GB - 4k chunks at a time. Linux never reads or + writes more than this, and there are reports that macOS fails for + larger than 2 GB as well. */ +#define MAX_CHUNK 2147479552 + static ssize_t raw_read (unix_stream *s, void *buf, ssize_t nbyte) { /* For read we can't do I/O in a loop like raw_write does, because that will break applications that wait for interactive I/O. We - still can loop around EINTR, though. */ - while (true) + still can loop around EINTR, though. This however causes a + problem for large reads which must be chunked, see comment above. + So assume that if the size is larger than the chunk size, we're + reading from a file and not the terminal. */ + if (nbyte <=3D MAX_CHUNK) { - ssize_t trans =3D read (s->fd, buf, nbyte); - if (trans =3D=3D -1 && errno =3D=3D EINTR) - continue; - return trans; + while (true) + { + ssize_t trans =3D read (s->fd, buf, nbyte); + if (trans =3D=3D -1 && errno =3D=3D EINTR) + continue; + return trans; + } + } + else + { + ssize_t bytes_left =3D nbyte; + char *buf_st =3D buf; + while (bytes_left > 0) + { + ssize_t to_read =3D bytes_left < MAX_CHUNK ? bytes_left: MAX_CHUN= K; + ssize_t trans =3D read (s->fd, buf_st, to_read); + if (trans =3D=3D -1) + { + if (errno =3D=3D EINTR) + continue; + else + return trans; + } + buf_st +=3D trans; + bytes_left -=3D trans; + } + return nbyte - bytes_left; } } @@ -317,10 +348,13 @@ raw_write (unix_stream *s, const void *buf, ssize_t nbyte) buf_st =3D (char *) buf; /* We must write in a loop since some systems don't restart system - calls in case of a signal. */ + calls in case of a signal. Also some systems might fail outright + if we try to write more than 2 GB in a single syscall, so chunk + up large writes. */ while (bytes_left > 0) { - trans =3D write (s->fd, buf_st, bytes_left); + ssize_t to_write =3D bytes_left < MAX_CHUNK ? bytes_left: MAX_CHUNK; + trans =3D write (s->fd, buf_st, to_write); if (trans =3D=3D -1) { if (errno =3D=3D EINTR) >>From gcc-bugs-return-587254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 12:03:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24738 invoked by alias); 3 Jan 2018 12: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 18667 invoked by uid 48); 3 Jan 2018 12:03:10 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83666] New: [8 Regression] ICE: SIGFPE with -O2 -g --param=sccvn-max-scc-size=10 Date: Wed, 03 Jan 2018 12:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.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: 2018-01/txt/msg00204.txt.bz2 Content-length: 2690 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83666 Bug ID: 83666 Summary: [8 Regression] ICE: SIGFPE with -O2 -g --param=3Dsccvn-max-scc-size=3D10 Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 43014 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43014&action=3Dedit reduced testcase Might be related to PR83621 Compiler output: $ x86_64-pc-linux-gnu-gcc -O2 -g --param=3Dsccvn-max-scc-size=3D10 testcase= .c=20 testcase.c: In function 'bar': testcase.c:9:1: warning: AVX512F vector return without AVX512F enabled chan= ges the ABI [-Wpsabi] { ^ during RTL pass: expand testcase.c: In function 'foo': testcase.c:21:1: internal compiler error: Floating point exception foo (void) ^~~ 0xd4f2df crash_signal /repo/gcc-trunk/gcc/toplev.c:325 0x84e0c5 if_nonpoly::is_poly>::type multiple_p<1u, long, unsigned short>(poly_int_pod<1u, long> const&, unsigned short) /repo/gcc-trunk/gcc/poly-int.h:2040 0x84e0c5 expand_debug_expr /repo/gcc-trunk/gcc/cfgexpand.c:4580 0x858287 expand_debug_locations /repo/gcc-trunk/gcc/cfgexpand.c:5362 0x858287 execute /repo/gcc-trunk/gcc/cfgexpand.c:6406 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-g= cc COLLECT_LTO_WRAPPER=3D/repo/gcc-trunk/binary-trunk-256069-checking-yes-rtl-= df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.0.0/lto= -wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --disable-bootstrap --with-cloog --with-ppl --with-isl --build=3Dx86_64-pc-linux-gnu --host=3Dx86_64-pc-linux-gnu --target=3Dx86_64-pc-linux-gnu --with-ld=3D/usr/bin/x86_64-pc-linux-gnu-ld --with-as=3D/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=3D/repo/gcc-trunk//binary-trunk-256069-checking-yes-rtl-df-extra-n= obootstrap-amd64 Thread model: posix gcc version 8.0.0 20180102 (experimental) (GCC) >>From gcc-bugs-return-587255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 12:07:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85987 invoked by alias); 3 Jan 2018 12:07: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 80042 invoked by uid 48); 3 Jan 2018 12:07:12 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83632] pdt_26.f03:29:0: internal compiler error: in final_scan_insn, at final.c:3063 Date: Wed, 03 Jan 2018 12:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code 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: 8.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: 2018-01/txt/msg00205.txt.bz2 Content-length: 489 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83632 Christophe Lyon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clyon at gcc dot gnu.org, | |pault at gcc dot gnu.org --- Comment #1 from Christophe Lyon --- This was introduced with r256019 >>From gcc-bugs-return-587256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 12:08:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114344 invoked by alias); 3 Jan 2018 12:08: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 108678 invoked by uid 55); 3 Jan 2018 12:08:37 -0000 From: "jb at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/83649] Large reads fail Date: Wed, 03 Jan 2018 12:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jb at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jb at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00206.txt.bz2 Content-length: 1724 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83649 --- Comment #7 from Janne Blomqvist --- Author: jb Date: Wed Jan 3 12:08:05 2018 New Revision: 256173 URL: https://gcc.gnu.org/viewcvs?rev=3D256173&root=3Dgcc&view=3Drev Log: PR libgfortran/83649 Chunk large reads and writes Backport from trunk. It turns out that Linux never reads or writes more than 2147479552 bytes in a single syscall. For writes this is not a problem as libgfortran already contains a loop around write() to handle short writes. But for reads we cannot do this, since then read will hang if we have a short read when reading from the terminal. Also, there are reports that macOS fails I/O's larger than 2 GB. Thus, to work around these issues do large reads/writes in chunks. The testcase from the PR program largewr integer(kind=3D1) :: a(2_8**31+1) a =3D 0 a(size(a, kind=3D8)) =3D 1 open(10, file=3D"largewr.dat", access=3D"stream", form=3D"unformatted") write (10) a close(10) a(size(a, kind=3D8)) =3D 2 open(10, file=3D"largewr.dat", access=3D"stream", form=3D"unformatted") read (10) a if (a(size(a, kind=3D8)) =3D=3D 1) then print *, "All is well" else print *, "Oh no" end if end program largewr fails on trunk but works with the patch. Regtested on x86_64-pc-linux-gnu, committed to trunk. libgfortran/ChangeLog: 2018-01-03 Janne Blomqvist PR libgfortran/83649 * io/unix.c (MAX_CHUNK): New define. (raw_read): For reads larger than MAX_CHUNK, loop. (raw_write): Write no more than MAX_CHUNK bytes per iteration. Modified: branches/gcc-6-branch/libgfortran/ChangeLog branches/gcc-6-branch/libgfortran/io/unix.c >>From gcc-bugs-return-587257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 12:10:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21373 invoked by alias); 3 Jan 2018 12:10: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 21321 invoked by uid 48); 3 Jan 2018 12:10:33 -0000 From: "jb at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/83649] Large reads fail Date: Wed, 03 Jan 2018 12:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jb at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jb 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: 2018-01/txt/msg00207.txt.bz2 Content-length: 443 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83649 Janne Blomqvist changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Janne Blomqvist --- Fixed on trunk/7/6, closing. >>From gcc-bugs-return-587258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 12:16:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30955 invoked by alias); 3 Jan 2018 12: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 30857 invoked by uid 55); 3 Jan 2018 12:16:44 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83634] [8 Regression] ICE in useless_type_conversion_p, at gimple-expr.c:86 Date: Wed, 03 Jan 2018 12:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: error-recovery 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: 8.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: 2018-01/txt/msg00208.txt.bz2 Content-length: 606 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83634 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Wed Jan 3 12:16:13 2018 New Revision: 256174 URL: https://gcc.gnu.org/viewcvs?rev=3D256174&root=3Dgcc&view=3Drev Log: PR c++/83634 * cp-gimplify.c (cp_fold) : If the operand folds to error_mark_node, return error_mark_node. * g++.dg/parse/pr83634.C: New test. Added: trunk/gcc/testsuite/g++.dg/parse/pr83634.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-gimplify.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 12:17:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32309 invoked by alias); 3 Jan 2018 12:17: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 32210 invoked by uid 55); 3 Jan 2018 12:17:38 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/83602] [8 Regression] ICE in cpp_macro_definition_location(cpp_hashnode*) on invalid code Date: Wed, 03 Jan 2018 12:17: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: 8.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00209.txt.bz2 Content-length: 591 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83602 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Jan 3 12:17:05 2018 New Revision: 256175 URL: https://gcc.gnu.org/viewcvs?rev=3D256175&root=3Dgcc&view=3Drev Log: PR preprocessor/83602 * name-lookup.c (lookup_name_fuzzy): Don't use macro_use_before_def for builtin macros. * g++.dg/cpp/pr83602.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp/pr83602.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/name-lookup.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 12:20:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42920 invoked by alias); 3 Jan 2018 12:20: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 42869 invoked by uid 48); 3 Jan 2018 12:20:11 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83667] New: ICE in dump_function_decl on a thunk with variadic arguments Date: Wed, 03 Jan 2018 12: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: unknown X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00210.txt.bz2 Content-length: 2210 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83667 Bug ID: 83667 Summary: ICE in dump_function_decl on a thunk with variadic arguments Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: nathan at gcc dot gnu.org Target Milestone: --- Very ancient bug, fails for all releases I have: $ cat ice.cpp struct a { virtual ~a (); }; struct b { virtual void d (...); }; struct : a, b { void d (...) { } } c; $ ./xgcc -B. ice.cpp -fdump-ipa-inline during IPA pass: inline /home/marxin/Programming/testcases/ice.cpp:15:4: internal compiler error: Segmentation fault } c; ^ 0x120ee31 crash_signal ../../gcc/toplev.c:325 0x81e0d4 tree_check(tree_node*, char const*, int, char const*, tree_code) ../../gcc/tree.h:3127 0x93d23a dump_function_decl ../../gcc/cp/error.c:1604 0x93b36b dump_decl ../../gcc/cp/error.c:1259 0x943e21 decl_as_string(tree_node*, int) ../../gcc/cp/error.c:2956 0x943ef9 lang_decl_name(tree_node*, int, bool) ../../gcc/cp/error.c:2990 0xae90a8 cxx_printable_name_internal ../../gcc/cp/tree.c:2556 0xae9148 cxx_printable_name(tree_node*, int) ../../gcc/cp/tree.c:2565 0xc60c85 symtab_node::name() const ../../gcc/symtab.c:524 0xf4a057 ipa_dump_fn_summary(_IO_FILE*, cgraph_node*) ../../gcc/ipa-fnsummary.c:889 0xf4a4eb ipa_dump_fn_summaries(_IO_FILE*) ../../gcc/ipa-fnsummary.c:959 0x1db5621 ipa_inline ../../gcc/ipa-inline.c:2370 0x1db667e execute ../../gcc/ipa-inline.c:2855 =E2=94=821600 if (DECL_CLASS_SCOPE_P (t)) =E2=94=821601 cname =3D DECL_CONTEXT (t); =E2=94=821602 /* This is for partially instantiated template method= s. */ =E2=94=821603 else if (TREE_CODE (fntype) =3D=3D METHOD_TYPE) >=E2=94=821604 cname =3D TREE_TYPE (TREE_VALUE (parmtypes)); parmtypes =3D=3D 0 Nathan can you please take a look? Martin >>From gcc-bugs-return-587261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 12:23:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51573 invoked by alias); 3 Jan 2018 12:23: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 51241 invoked by uid 48); 3 Jan 2018 12:23:32 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83549] [7/8 Regression] error: generic thunk code fails for method ... which uses '...' Date: Wed, 03 Jan 2018 12: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: 7.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00211.txt.bz2 Content-length: 162 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83549 --- Comment #2 from Martin Li=C5=A1ka --- Btw. how did you Jakub get the error? >>From gcc-bugs-return-587262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 12:24:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54065 invoked by alias); 3 Jan 2018 12: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 54019 invoked by uid 48); 3 Jan 2018 12:24:39 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83667] ICE in dump_function_decl on a thunk with variadic arguments Date: Wed, 03 Jan 2018 12: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: unknown X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan 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: 2018-01/txt/msg00212.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83667 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-01-03 Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot g= nu.org Ever confirmed|0 |1 >>From gcc-bugs-return-587263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 12:31:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63039 invoked by alias); 3 Jan 2018 12: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 63026 invoked by uid 48); 3 Jan 2018 12:31:04 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83668] New: [8 Regression] wrong code with -O -fno-tree-dominator-opts -fgraphite-identity Date: Wed, 03 Jan 2018 12:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: 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: 2018-01/txt/msg00213.txt.bz2 Content-length: 1937 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83668 Bug ID: 83668 Summary: [8 Regression] wrong code with -O -fno-tree-dominator-opts -fgraphite-identity Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 43015 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43015&action=3Dedit reduced testcase I have encountered several miscompilations with graphite, the minimum set of flags seems to be the one reported in this PR. -fno-tree-dominator-opts see= ms to be always present in the flags. Output: $ x86_64-pc-linux-gnu-gcc -O -fno-tree-dominator-opts -fgraphite-identity testcase.c $ ./a.out=20 Aborted Here, a =3D=3D 0. $ x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-g= cc COLLECT_LTO_WRAPPER=3D/repo/gcc-trunk/binary-trunk-256069-checking-yes-rtl-= df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.0.0/lto= -wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --disable-bootstrap --with-cloog --with-ppl --with-isl --build=3Dx86_64-pc-linux-gnu --host=3Dx86_64-pc-linux-gnu --target=3Dx86_64-pc-linux-gnu --with-ld=3D/usr/bin/x86_64-pc-linux-gnu-ld --with-as=3D/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=3D/repo/gcc-trunk//binary-trunk-256069-checking-yes-rtl-df-extra-n= obootstrap-amd64 Thread model: posix gcc version 8.0.0 20180102 (experimental) (GCC) >>From gcc-bugs-return-587264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 12:36:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66602 invoked by alias); 3 Jan 2018 12: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 66538 invoked by uid 48); 3 Jan 2018 12:36:08 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83549] [7/8 Regression] error: generic thunk code fails for method ... which uses '...' Date: Wed, 03 Jan 2018 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: 7.2.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: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00214.txt.bz2 Content-length: 405 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83549 --- Comment #3 from Jakub Jelinek --- With current trunk: $ ./cc1plus -quiet pr83549.C $ ./cc1plus -quiet pr83549.C -O1 pr83549.C:4:4: error: generic thunk code fails for method =E2=80=98virtual = void C::_ZThn8_N1C3fooEz(...)=E2=80=99 which uses =E2=80=98...=E2=80=99 C c; ^ (likewise for -O2, -O3) on x86_64-linux. >>From gcc-bugs-return-587265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 12:38:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69082 invoked by alias); 3 Jan 2018 12:38: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 69040 invoked by uid 48); 3 Jan 2018 12:38:18 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83549] [7/8 Regression] error: generic thunk code fails for method ... which uses '...' Date: Wed, 03 Jan 2018 12: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: 7.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00215.txt.bz2 Content-length: 560 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83549 --- Comment #4 from Martin Li=C5=A1ka --- (In reply to Jakub Jelinek from comment #3) > With current trunk: >=20 > $ ./cc1plus -quiet pr83549.C > $ ./cc1plus -quiet pr83549.C -O1 > pr83549.C:4:4: error: generic thunk code fails for method =E2=80=98virtua= l void > C::_ZThn8_N1C3fooEz(...)=E2=80=99 which uses =E2=80=98...=E2=80=99 > C c; > ^ >=20 > (likewise for -O2, -O3) on x86_64-linux. I see. I've got patch for that. My question is how did you isolate the testcase? >>From gcc-bugs-return-587266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 12:40:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72598 invoked by alias); 3 Jan 2018 12:40: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 72521 invoked by uid 48); 3 Jan 2018 12:40:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83549] [7/8 Regression] error: generic thunk code fails for method ... which uses '...' Date: Wed, 03 Jan 2018 12:40: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.2.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: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00216.txt.bz2 Content-length: 190 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83549 --- Comment #5 from Jakub Jelinek --- It was reported to us in https://bugzilla.redhat.com/1511021 that way. >>From gcc-bugs-return-587267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 12:53:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95881 invoked by alias); 3 Jan 2018 12: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 95843 invoked by uid 48); 3 Jan 2018 12:53:39 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83496] MIPS BE: wrong code generates under "-Os -mbranch-cost=1" Date: Wed, 03 Jan 2018 12: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: 7.2.0 X-Bugzilla-Keywords: needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-01/txt/msg00217.txt.bz2 Content-length: 595 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83496 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-01-03 Ever confirmed|0 |1 --- Comment #4 from Martin Li=C5=A1ka --- I did a small analysis. Can you please paste disassembly for the whole func= tion (I want to see 4006fc). Thanks >>From gcc-bugs-return-587268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 12:54:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101402 invoked by alias); 3 Jan 2018 12: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 101351 invoked by uid 48); 3 Jan 2018 12:54:28 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/82352] [7/8 Regression] comdat-local function called by void h::i() outside its comdat Date: Wed, 03 Jan 2018 12:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00218.txt.bz2 Content-length: 272 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82352 --- Comment #3 from Martin Li=C5=A1ka --- > Can you please the patch for original test-case? Not the reduced one? Can you please test the patch for original test-case? Not the reduced one? >>From gcc-bugs-return-587269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 12:56:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104231 invoked by alias); 3 Jan 2018 12:56: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 104167 invoked by uid 48); 3 Jan 2018 12:56:26 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83549] [7/8 Regression] error: generic thunk code fails for method ... which uses '...' Date: Wed, 03 Jan 2018 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: 7.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00219.txt.bz2 Content-length: 250 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83549 --- Comment #6 from Martin Li=C5=A1ka --- (In reply to Jakub Jelinek from comment #5) > It was reported to us in https://bugzilla.redhat.com/1511021 that way. Thanks. >>From gcc-bugs-return-587270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 12:57:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105401 invoked by alias); 3 Jan 2018 12: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 105330 invoked by uid 48); 3 Jan 2018 12:57:07 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/83509] [8 Regression] gcov-dump-8 unable to dump any gcda files Date: Wed, 03 Jan 2018 12:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2018-01/txt/msg00220.txt.bz2 Content-length: 433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83509 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Martin Li=C5=A1ka --- Fixed. >>From gcc-bugs-return-587271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 13:16:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1344 invoked by alias); 3 Jan 2018 13: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 1314 invoked by uid 48); 3 Jan 2018 13:16:10 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/83669] New: Add version info to intermediate gcov file Date: Wed, 03 Jan 2018 13:16: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00221.txt.bz2 Content-length: 512 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83669 Bug ID: 83669 Summary: Add version info to intermediate gcov file Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: marxin at gcc dot gnu.org, mcastelluccio at mozilla dot= com Target Milestone: --- >>From gcc-bugs-return-587272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 13:16:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2570 invoked by alias); 3 Jan 2018 13:16: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 2512 invoked by uid 48); 3 Jan 2018 13:16:50 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/83669] Add version info to intermediate gcov file Date: Wed, 03 Jan 2018 13:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on 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: 2018-01/txt/msg00222.txt.bz2 Content-length: 495 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83669 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-01-03 Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot g= nu.org Ever confirmed|0 |1 >>From gcc-bugs-return-587273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 13:30:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19672 invoked by alias); 3 Jan 2018 13: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 19571 invoked by uid 55); 3 Jan 2018 13:30:36 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83592] [8 Regression] Annoying -Wparentheses warnings Date: Wed, 03 Jan 2018 13:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: diagnostic 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: 8.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: 2018-01/txt/msg00223.txt.bz2 Content-length: 550 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83592 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Wed Jan 3 13:30:00 2018 New Revision: 256176 URL: https://gcc.gnu.org/viewcvs?rev=3D256176&root=3Dgcc&view=3Drev Log: PR c++/83592 * decl.c (grokdeclarator): Don't warn about MVP in typename context. * g++.dg/warn/mvp2.C: New test. Added: trunk/gcc/testsuite/g++.dg/warn/mvp2.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 13:31:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20574 invoked by alias); 3 Jan 2018 13:31: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 20504 invoked by uid 48); 3 Jan 2018 13:30:59 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83592] [8 Regression] Annoying -Wparentheses warnings Date: Wed, 03 Jan 2018 13: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: 8.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: 8.0 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: 2018-01/txt/msg00224.txt.bz2 Content-length: 515 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83592 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org --- Comment #6 from Marek Polacek --- Fixed. >>From gcc-bugs-return-587275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 13:43:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20616 invoked by alias); 3 Jan 2018 13:43: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 20572 invoked by uid 48); 3 Jan 2018 13:43:24 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83632] pdt_26.f03:29:0: internal compiler error: in final_scan_insn, at final.c:3063 Date: Wed, 03 Jan 2018 13:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.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: 8.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: 2018-01/txt/msg00225.txt.bz2 Content-length: 180 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83632 --- Comment #2 from Andreas Schwab --- Nope, the bug is older, that was just when the test was added. >>From gcc-bugs-return-587276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 13:57:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83618 invoked by alias); 3 Jan 2018 13: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 83553 invoked by uid 48); 3 Jan 2018 13:57:22 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/83375] partitioner partitions static arrays with label references Date: Wed, 03 Jan 2018 13:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: lto, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00226.txt.bz2 Content-length: 1404 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83375 --- Comment #3 from Martin Li=C5=A1ka --- > I thought there was already a bug for this, but can't find it right now. >=20 You maybe confused that with the issue abould global asm statements that go= to a random partition and cause issues with LTO? In this case, it's not work for IPA comdat, because this is pure C code. cgraph situation: f/2 (f) @0x7ff1b1d73000 Type: function definition analyzed Visibility: externally_visible prevailing_def_ironly public References: data.1957/4 (read)x/0 (read)x/0 (write)y/1 (read)y/1 (write)x= /0 (read)x/0 (write)y/1 (read)y/1 (write) Referring:=20 Read from file: /tmp/ccRhP0dr.o First run: 0 Function flags: count: 1073741826 (estimated locally) Called by: main/3 (1073741825 (estimated locally),1.00 per call)=20 Calls:=20 data.1957/4 (data) @0x7ff1b1d71200 Type: variable definition analyzed Visibility: prevailing_def_ironly References:=20 Referring: f/2 (read) Read from file: /tmp/ccRhP0dr.o Availability: not-ready Varpool flags: initialized I suggest to extend LTO partitioning to find all functions with a computed goto. And for these, put simply all static variables into a same partition.= I expect computed goto as quite rare feature. More fine approach would be to investigate DECL_INITIAL for LABELs. Honza what do you think? >>From gcc-bugs-return-587277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 13:59:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86709 invoked by alias); 3 Jan 2018 13: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 86666 invoked by uid 48); 3 Jan 2018 13:59:08 -0000 From: "sudi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82439] Missing (x | y) == x simplifications Date: Wed, 03 Jan 2018 13:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: sudi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: sudi at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00227.txt.bz2 Content-length: 176 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82439 --- Comment #5 from sudi at gcc dot gnu.org --- Patch submitted https://gcc.gnu.org/ml/gcc-patches/2018-01/msg00139.html >>From gcc-bugs-return-587278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 14:08:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112961 invoked by alias); 3 Jan 2018 14: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 112901 invoked by uid 48); 3 Jan 2018 14:08:32 -0000 From: "sebastian.huber@embedded-brains.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83090] ICE on lm32-rtems building newlib libm (in require, at machmode.h:282) Date: Wed, 03 Jan 2018 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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sebastian.huber@embedded-brains.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: 2018-01/txt/msg00228.txt.bz2 Content-length: 622 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83090 Sebastian Huber changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lekernel at gcc dot gnu.or= g, | |sebastian.huber@embedded-br | |ains.de --- Comment #1 from Sebastian Huber --- ICE still exists with GCC 659f92d1990e0b84a6e30f6ecd76319552faf7b7 (2018010= 3). >>From gcc-bugs-return-587279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 14:12:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115135 invoked by alias); 3 Jan 2018 14: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 115094 invoked by uid 48); 3 Jan 2018 14:12:02 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/83355] autofdo g++.dg/bprob/g++-bprob-1.C FAILS with ICE Date: Wed, 03 Jan 2018 14:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on 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: 2018-01/txt/msg00229.txt.bz2 Content-length: 459 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83355 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-03 Known to work| |8.0 Ever confirmed|0 |1 >>From gcc-bugs-return-587280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 14:16:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11955 invoked by alias); 3 Jan 2018 14:16: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 5105 invoked by uid 55); 3 Jan 2018 14:16:30 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83549] [7/8 Regression] error: generic thunk code fails for method ... which uses '...' Date: Wed, 03 Jan 2018 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: 7.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00230.txt.bz2 Content-length: 806 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83549 --- Comment #7 from Martin Li=C5=A1ka --- Author: marxin Date: Wed Jan 3 14:15:58 2018 New Revision: 256177 URL: https://gcc.gnu.org/viewcvs?rev=3D256177&root=3Dgcc&view=3Drev Log: Do not inline variadic thunks (PR ipa/83549). 2018-01-03 Martin Liska PR ipa/83549 * cif-code.def (VARIADIC_THUNK): New enum value. * ipa-fnsummary.c (compute_fn_summary): Do not inline variadic thunks. 2018-01-03 Martin Liska PR ipa/83549 * g++.dg/ipa/pr83549.C: New test. Added: trunk/gcc/testsuite/g++.dg/ipa/pr83549.C Modified: trunk/gcc/ChangeLog trunk/gcc/cif-code.def trunk/gcc/ipa-fnsummary.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 14:17:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23807 invoked by alias); 3 Jan 2018 14:17: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 23770 invoked by uid 48); 3 Jan 2018 14:17:02 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83549] [7/8 Regression] error: generic thunk code fails for method ... which uses '...' Date: Wed, 03 Jan 2018 14:17: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.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.3 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: 2018-01/txt/msg00231.txt.bz2 Content-length: 437 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83549 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |8.0 Known to fail| |7.2.0 --- Comment #8 from Martin Li=C5=A1ka --- Fixed on trunk. >>From gcc-bugs-return-587282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 14:19:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73780 invoked by alias); 3 Jan 2018 14: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 73756 invoked by uid 48); 3 Jan 2018 14:19:26 -0000 From: "sebastian.huber@embedded-brains.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83670] New: m32c ICE in leaf_function_p, at final.c:4368 Date: Wed, 03 Jan 2018 14:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sebastian.huber@embedded-brains.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: 2018-01/txt/msg00232.txt.bz2 Content-length: 1639 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83670 Bug ID: 83670 Summary: m32c ICE in leaf_function_p, at final.c:4368 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: sebastian.huber@embedded-brains.de Target Milestone: --- Created attachment 43016 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43016&action=3Dedit Test program. m32c-rtems5-gcc -O2 test.i during RTL pass: pro_and_epilogue test.c: In function 'main': test.c:16:1: internal compiler error: in leaf_function_p, at final.c:4368 } ^ 0x103e7b8b leaf_function_p() /home/sh/src/gcc/gcc/final.c:4368 0x10c3c61f m32c_leaf_function_p /home/sh/src/gcc/gcc/config/m32c/m32c.c:4023 0x10c3c61f m32c_emit_prologue() /home/sh/src/gcc/gcc/config/m32c/m32c.c:4077 0x10dfb8e3 gen_prologue() /home/sh/src/gcc/gcc/config/m32c/prologue.md:26 0x10c35e57 target_gen_prologue /home/sh/src/gcc/gcc/config/m32c/blkmov.md:359 0x1044e9d3 make_prologue_seq /home/sh/src/gcc/gcc/function.c:5912 0x1044ed67 thread_prologue_and_epilogue_insns() /home/sh/src/gcc/gcc/function.c:6029 0x1044f7af rest_of_handle_thread_prologue_and_epilogue /home/sh/src/gcc/gcc/function.c:6520 0x1044f7af execute /home/sh/src/gcc/gcc/function.c:6562 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-587284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 14:21:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83430 invoked by alias); 3 Jan 2018 14:21: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 83385 invoked by uid 48); 3 Jan 2018 14:21:35 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83666] [8 Regression] ICE: SIGFPE with -O2 -g --param=sccvn-max-scc-size=10 Date: Wed, 03 Jan 2018 14:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2018-01/txt/msg00234.txt.bz2 Content-length: 800 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83666 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-03 CC| |marxin at gcc dot gnu.org, | |rguenth at gcc dot gnu.org, | |richard.sandiford at linar= o dot or | |g Ever confirmed|0 |1 --- Comment #1 from Martin Li=C5=A1ka --- Confirmed, started with r247092. >>From gcc-bugs-return-587283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 14:21:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82689 invoked by alias); 3 Jan 2018 14:21: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 82629 invoked by uid 48); 3 Jan 2018 14:21:09 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83621] [8 Regression] ICE: in simplify_subreg, at simplify-rtx.c:6293 with -O -g Date: Wed, 03 Jan 2018 14:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on 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: 2018-01/txt/msg00233.txt.bz2 Content-length: 723 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83621 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-03 CC| |marxin at gcc dot gnu.org, | |richard.sandiford at linar= o dot or | |g Ever confirmed|0 |1 --- Comment #1 from Martin Li=C5=A1ka --- Confirmed, started with r251504. >>From gcc-bugs-return-587285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 14:22:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101059 invoked by alias); 3 Jan 2018 14: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 91971 invoked by uid 48); 3 Jan 2018 14:22:32 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83660] ICE with vec_extract inside expression statement Date: Wed, 03 Jan 2018 14:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: ice-on-valid-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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cf_gcctarget 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: 2018-01/txt/msg00235.txt.bz2 Content-length: 2606 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83660 Bill Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Target|powerpc64 |powerpc64*-*-* Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-03 CC| |meissner at gcc dot gnu.or= g, | |segher at gcc dot gnu.org Target Milestone|--- |8.0 Ever confirmed|0 |1 --- Comment #1 from Bill Schmidt --- Confirmed on trunk with ppc64le. I don't think the direct move instruction= is involved since the problem occurs during gimplification, though it's mystif= ying to me why the target CPU should matter. Note that vec_extract has special handling during parsing, in gcc/config/rs6000/rs6000-c.c, and this is proba= bly at fault. That's old code, so I imagine this bug has been out there foreve= r. wschmidt@pike:~/src$ $GCC_INSTALL/bin/g++ -mcpu=3Dpower7 -S pr83660.C pr83660.C: In function 'unsigned int get_word(__vector(4) unsigned int)': pr83660.C:5:10: internal compiler error: in verify_gimple_stmt, at tree-cfg.c:5085 unsigned get_word(uvec32_t v) ^~~~~~~~ 0x10c5e54f verify_gimple_stmt /home/wschmidt/gcc/gcc-mainline-base/gcc/tree-cfg.c:5085 0x10c5f467 verify_gimple_in_seq_2 /home/wschmidt/gcc/gcc-mainline-base/gcc/tree-cfg.c:5200 0x10c5f427 verify_gimple_in_seq_2 /home/wschmidt/gcc/gcc-mainline-base/gcc/tree-cfg.c:5168 0x10c66237 verify_gimple_in_seq(gimple*) /home/wschmidt/gcc/gcc-mainline-base/gcc/tree-cfg.c:5239 0x108a8047 gimplify_body(tree_node*, bool) /home/wschmidt/gcc/gcc-mainline-base/gcc/gimplify.c:12694 0x108a84a3 gimplify_function_tree(tree_node*) /home/wschmidt/gcc/gcc-mainline-base/gcc/gimplify.c:12784 0x10663557 cgraph_node::analyze() /home/wschmidt/gcc/gcc-mainline-base/gcc/cgraphunit.c:670 0x10667763 analyze_functions /home/wschmidt/gcc/gcc-mainline-base/gcc/cgraphunit.c:1131 0x1066913b symbol_table::finalize_compilation_unit() /home/wschmidt/gcc/gcc-mainline-base/gcc/cgraphunit.c:2690 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-587286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 14:24:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24012 invoked by alias); 3 Jan 2018 14: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 23961 invoked by uid 48); 3 Jan 2018 14:24:55 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83660] ICE with vec_extract inside expression statement Date: Wed, 03 Jan 2018 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: 7.2.1 X-Bugzilla-Keywords: ice-on-valid-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: 8.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: 2018-01/txt/msg00236.txt.bz2 Content-length: 199 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83660 --- Comment #2 from Bill Schmidt --- Also fails with -mcpu=3Dpower6 -maltivec. Also succeeds with -mcpu=3Dpower9. >>From gcc-bugs-return-587287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 14:31:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67799 invoked by alias); 3 Jan 2018 14:31: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 67716 invoked by uid 48); 3 Jan 2018 14:31:03 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83634] [8 Regression] ICE in useless_type_conversion_p, at gimple-expr.c:86 Date: Wed, 03 Jan 2018 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: 8.0 X-Bugzilla-Keywords: error-recovery 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: 8.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: 2018-01/txt/msg00237.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83634 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-587288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 14:31:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68081 invoked by alias); 3 Jan 2018 14:31: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 67759 invoked by uid 48); 3 Jan 2018 14:31:06 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83529] ICE in canonical types differ for identical types Date: Wed, 03 Jan 2018 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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-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: 2018-01/txt/msg00238.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83529 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nathan at gcc dot gnu.org --- Comment #1 from Martin Li=C5=A1ka --- Nathan can you please take a look? >>From gcc-bugs-return-587289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 14:37:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125845 invoked by alias); 3 Jan 2018 14: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 125777 invoked by uid 48); 3 Jan 2018 14:37:17 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83529] ICE in canonical types differ for identical types Date: Wed, 03 Jan 2018 14:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.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: 2018-01/txt/msg00239.txt.bz2 Content-length: 572 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83529 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-03 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Marek Polacek --- Started with r240112. >>From gcc-bugs-return-587290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 14:39:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2098 invoked by alias); 3 Jan 2018 14:39: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 121621 invoked by uid 48); 3 Jan 2018 14:39:16 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83529] ICE in canonical types differ for identical types Date: Wed, 03 Jan 2018 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: 8.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00240.txt.bz2 Content-length: 197 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83529 --- Comment #3 from Marek Polacek --- Actually with -std=3Dc++11 it started to ICE way before that. Checking... >>From gcc-bugs-return-587291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 14:43:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110299 invoked by alias); 3 Jan 2018 14: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 110225 invoked by uid 48); 3 Jan 2018 14:43:09 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83529] ICE in canonical types differ for identical types Date: Wed, 03 Jan 2018 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: 8.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00241.txt.bz2 Content-length: 198 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83529 --- Comment #4 from Marek Polacek --- Likely started with r181118: PR c++/45114 - Support C++11 alias-declaration >>From gcc-bugs-return-587292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 14:46:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114558 invoked by alias); 3 Jan 2018 14: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 114496 invoked by uid 48); 3 Jan 2018 14:46:16 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83645] [8 Regression] ICE: in get_insn_template, at final.c:2100 with -gstatement-frontiers Date: Wed, 03 Jan 2018 14:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-01/txt/msg00242.txt.bz2 Content-length: 872 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83645 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-01-03 Target Milestone|--- |8.0 Summary|ICE: in get_insn_template, |[8 Regression] ICE: in |at final.c:2100 with |get_insn_template, at |-gstatement-frontiers |final.c:2100 with | |-gstatement-frontiers Ever confirmed|0 |1 --- Comment #2 from Jakub Jelinek --- ICEs also with -O2 -g -fno-var-tracking and thus is a regression. >>From gcc-bugs-return-587293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 14:47:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115468 invoked by alias); 3 Jan 2018 14: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 115369 invoked by uid 48); 3 Jan 2018 14:46:59 -0000 From: "florin.iucha at amd dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/39170] provide an option to silence -Wconversion warnings for bit-fields Date: Wed, 03 Jan 2018 14: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.3.3 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: florin.iucha at amd 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: 2018-01/txt/msg00243.txt.bz2 Content-length: 355 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D39170 --- Comment #18 from Florin Iucha --- Even this version creates a warning: #include struct foo { unsigned bar: 30; unsigned fill: 2; }; struct foo test(uint32_t value) { struct foo foo; foo.bar =3D (value >> 2) & 0x3fffffffU; return foo; } >>From gcc-bugs-return-587294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 14:54:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126154 invoked by alias); 3 Jan 2018 14: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 126108 invoked by uid 55); 3 Jan 2018 14:54:12 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83593] [8 Regression] ICE: verify_gimple failed (error: statement marked for throw, but doesn't) Date: Wed, 03 Jan 2018 14: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00244.txt.bz2 Content-length: 1275 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83593 --- Comment #2 from Martin Li=C5=A1ka --- Author: marxin Date: Wed Jan 3 14:53:39 2018 New Revision: 256178 URL: https://gcc.gnu.org/viewcvs?rev=3D256178&root=3Dgcc&view=3Drev Log: Clean-up EH after strlen transformation (PR tree-optimization/83593). 2018-01-03 Martin Liska PR tree-optimization/83593 * tree-ssa-strlen.c: Include tree-cfg.h. (strlen_check_and_optimize_stmt): Add new argument cleanup_eh. (strlen_dom_walker): Add new member variable m_cleanup_cfg. (strlen_dom_walker::strlen_dom_walker): Initialize m_cleanup_cfg to false. (strlen_dom_walker::before_dom_children): Call gimple_purge_dead_eh_edges. Dump tranformation with details dump flags. (strlen_dom_walker::before_dom_children): Update call by adding new argument cleanup_eh. (pass_strlen::execute): Return TODO_cleanup_cfg if needed. 2018-01-03 Martin Liska PR tree-optimization/83593 * gcc.dg/pr83593.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr83593.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-strlen.c >>From gcc-bugs-return-587295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 14:55:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20099 invoked by alias); 3 Jan 2018 14:55: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 16817 invoked by uid 48); 3 Jan 2018 14:55:32 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83593] [8 Regression] ICE: verify_gimple failed (error: statement marked for throw, but doesn't) Date: Wed, 03 Jan 2018 14:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00245.txt.bz2 Content-length: 433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83593 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Martin Li=C5=A1ka --- Fixed. >>From gcc-bugs-return-587296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 15:02:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78741 invoked by alias); 3 Jan 2018 15: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 78694 invoked by uid 48); 3 Jan 2018 15:02:07 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/81933] [7/8 Regression] Invalid "constexpr call flows off the end of the function" error Date: Wed, 03 Jan 2018 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: 7.2.1 X-Bugzilla-Keywords: rejects-valid 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: 7.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00246.txt.bz2 Content-length: 582 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81933 --- Comment #4 from Marek Polacek --- The c++17/c++14 difference lies in: 4321 if (cxx_dialect >=3D cxx17 && !BINFO_VIRTUAL_P (binfo))=20 4322 { 4323 tree decl =3D build_base_field_1 (t, basetype, next_field); 4324 DECL_FIELD_OFFSET (decl) =3D BINFO_OFFSET (binfo); 4325 DECL_FIELD_BIT_OFFSET (decl) =3D bitsize_zero_node; 4326 SET_DECL_OFFSET_ALIGN (decl, BITS_PER_UNIT); 4327 } if I remove the cxx_dialect check, the error is gone. >>From gcc-bugs-return-587297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 15:11:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38692 invoked by alias); 3 Jan 2018 15:11: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 38626 invoked by uid 48); 3 Jan 2018 15:11:07 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83529] ICE in canonical types differ for identical types Date: Wed, 03 Jan 2018 15:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan 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: 2018-01/txt/msg00247.txt.bz2 Content-length: 381 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83529 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot g= nu.org >>From gcc-bugs-return-587298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 15:12:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40805 invoked by alias); 3 Jan 2018 15:12: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 40709 invoked by uid 48); 3 Jan 2018 15:11:56 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83387] PowerPC64: Infinite loops in do_reload() with -msoft-float Date: Wed, 03 Jan 2018 15:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-01/txt/msg00248.txt.bz2 Content-length: 836 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83387 Peter Bergner changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |bergner at gcc dot = gnu.org --- Comment #17 from Peter Bergner --- (In reply to Segher Boessenkool from comment #16) >> How do we want to continue with this PR? Close it as WONTFIX or apply the >> patch and close it as FIXED? >=20 > If it works, and doesn't regress anything, it is pre-approved. So please > test it on powerp64le-linux (gcc112 for example). Sorry, I'm just getting back up to speed after the long holiday. I can kick off a regression test and then commit when it comes back clean. Thanks. >>From gcc-bugs-return-587299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 15:12:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56304 invoked by alias); 3 Jan 2018 15:12: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 56262 invoked by uid 48); 3 Jan 2018 15:12:55 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/83645] [8 Regression] ICE: in get_insn_template, at final.c:2100 with -gstatement-frontiers Date: Wed, 03 Jan 2018 15:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00249.txt.bz2 Content-length: 253 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83645 --- Comment #3 from Jakub Jelinek --- Created attachment 43017 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43017&action=3Dedit gcc8-pr83645.patch Untested fix. >>From gcc-bugs-return-587300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 15:19:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116895 invoked by alias); 3 Jan 2018 15:19: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 116839 invoked by uid 48); 3 Jan 2018 15:19:48 -0000 From: "benni.buch at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82249] [8 Regression] wrong mismatched argument pack lengths Date: Wed, 03 Jan 2018 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: 8.0 X-Bugzilla-Keywords: error-recovery X-Bugzilla-Severity: normal X-Bugzilla-Who: benni.buch 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: 8.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: 2018-01/txt/msg00250.txt.bz2 Content-length: 653 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82249 --- Comment #3 from Benjamin Buch --- Bug is still present in trunk. $ g++ --version g++ (GCC) 8.0.0 20180103 (experimental)=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 Copyright (C) 2018 Free Software Foundation, Inc.=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 This is free software; see the source for copying conditions. There is NO= =20=20=20=20=20=20 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. >>From gcc-bugs-return-587301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 15:22:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14557 invoked by alias); 3 Jan 2018 15:22: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 9786 invoked by uid 48); 3 Jan 2018 15:22:23 -0000 From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83621] [8 Regression] ICE: in simplify_subreg, at simplify-rtx.c:6293 with -O -g Date: Wed, 03 Jan 2018 15: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code 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: 8.0 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: 2018-01/txt/msg00251.txt.bz2 Content-length: 566 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83621 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 #2 from rsandifo at gcc dot gnu.org --- Mine. >>From gcc-bugs-return-587302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 15:28:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31253 invoked by alias); 3 Jan 2018 15: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 31215 invoked by uid 48); 3 Jan 2018 15:28:41 -0000 From: "benni.buch at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82152] [7/8 Regression] ICE on invalid code in C++17 mode if inheriting constructors are used Date: Wed, 03 Jan 2018 15: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.1.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: benni.buch 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: 7.3 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: 2018-01/txt/msg00252.txt.bz2 Content-length: 2896 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82152 Benjamin Buch changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |benni.buch at gmail dot com --- Comment #2 from Benjamin Buch --- Its the same on valid code via user defined deduction guide: struct Base {}; template struct Derived : public Base { using Base::Base; }; Derived() -> Derived< void >; int main() { Derived x{}; } $ g++ -std=3Dc++17 main.cpp=20 main.cpp: In function 'int main()': main.cpp:11:13: internal compiler error: Segmentation fault Derived x{}; ^ 0xf25bdf crash_signal ../../gcc/gcc/toplev.c:325 0xa3ae4a tree_check(tree_node*, char const*, int, char const*, tree_code) ../../gcc/gcc/tree.h:3127 0xa3ae4a build_deduction_guide ../../gcc/gcc/cp/pt.c:25495 0xa0cd8d do_class_deduction ../../gcc/gcc/cp/pt.c:25709 0xa0cd8d do_auto_deduction(tree_node*, tree_node*, tree_node*, int, auto_deduction_context, tree_node*, int) ../../gcc/gcc/cp/pt.c:25844 0x950893 cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int) ../../gcc/gcc/cp/decl.c:6796 0x9e94c6 cp_parser_init_declarator ../../gcc/gcc/cp/parser.c:19626 0x9f1958 cp_parser_simple_declaration ../../gcc/gcc/cp/parser.c:12968 0x9f27b8 cp_parser_block_declaration ../../gcc/gcc/cp/parser.c:12793 0x9f31f9 cp_parser_declaration_statement ../../gcc/gcc/cp/parser.c:12387 0x9d0f93 cp_parser_statement ../../gcc/gcc/cp/parser.c:10848 0x9d1f00 cp_parser_statement_seq_opt ../../gcc/gcc/cp/parser.c:11185 0x9d1fd7 cp_parser_compound_statement ../../gcc/gcc/cp/parser.c:11139 0x9e8460 cp_parser_function_body ../../gcc/gcc/cp/parser.c:21679 0x9e8460 cp_parser_ctor_initializer_opt_and_function_body ../../gcc/gcc/cp/parser.c:21716 0x9e8d10 cp_parser_function_definition_after_declarator ../../gcc/gcc/cp/parser.c:26620 0x9e99fb cp_parser_function_definition_from_specifiers_and_declarator ../../gcc/gcc/cp/parser.c:26536 0x9e99fb cp_parser_init_declarator ../../gcc/gcc/cp/parser.c:19405 0x9f1958 cp_parser_simple_declaration ../../gcc/gcc/cp/parser.c:12968 0x9f27b8 cp_parser_block_declaration ../../gcc/gcc/cp/parser.c:12793 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ g++ --version g++ (GCC) 8.0.0 20180103 (experimental) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. >>From gcc-bugs-return-587303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 15:34:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53710 invoked by alias); 3 Jan 2018 15:34: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 53657 invoked by uid 48); 3 Jan 2018 15:34:07 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83660] ICE with vec_extract inside expression statement Date: Wed, 03 Jan 2018 15:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: ice-on-valid-code 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: 8.0 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: 2018-01/txt/msg00253.txt.bz2 Content-length: 432 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83660 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Target|powerpc64*-*-* |powerpc*-*-* --- Comment #3 from Segher Boessenkool --- Doesn't fail as C, only as C++. Also fails on 32-bit. >>From gcc-bugs-return-587304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 15:37:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66788 invoked by alias); 3 Jan 2018 15: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 66746 invoked by uid 48); 3 Jan 2018 15:37:14 -0000 From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83621] [8 Regression] ICE: in simplify_subreg, at simplify-rtx.c:6293 with -O -g Date: Wed, 03 Jan 2018 15:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code 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: 8.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: 2018-01/txt/msg00254.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83621 --- Comment #3 from rsandifo at gcc dot gnu.org --- Created attachment 43018 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43018&action=3Dedit Candidate patch I'm testing the attached fix. >>From gcc-bugs-return-587305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 15:41:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87975 invoked by alias); 3 Jan 2018 15: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 87918 invoked by uid 48); 3 Jan 2018 15:41:07 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82439] Missing (x | y) == x simplifications Date: Wed, 03 Jan 2018 15: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: 8.0 X-Bugzilla-Keywords: missed-optimization 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: sudi at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00255.txt.bz2 Content-length: 704 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82439 --- Comment #6 from Marc Glisse --- (In reply to Andrew Pinski from comment #1) > "(x | y) =3D=3D x" is simpler than "(y & ~x) =3D=3D 0" on the tree level.= 2 gimple > vs 3. We do indeed tend to use the number of stmts to chose canonical forms on gimple, but that's not the only possible criterion. The second form uses x = only once instead of twice ("simpler" as in: fewer uses), and there are a number= of gimple optimizations that are gated by single_use, which arguably gives some advantage to the second form. (I am not saying we should pick the second fo= rm, just that the choice may not be completely obvious) >>From gcc-bugs-return-587306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 16:00:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11221 invoked by alias); 3 Jan 2018 16:00: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 11121 invoked by uid 48); 3 Jan 2018 16:00:54 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/83621] [8 Regression] ICE: in simplify_subreg, at simplify-rtx.c:6293 with -O -g Date: Wed, 03 Jan 2018 16: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-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: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-01/txt/msg00256.txt.bz2 Content-length: 557 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83621 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org Component|rtl-optimization |debug --- Comment #4 from Jakub Jelinek --- That seems insufficient, any kind of BLKmode unary/binary/ternary RTL opera= tion is going to cause issues earlier or later. >>From gcc-bugs-return-587307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 16:02:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13058 invoked by alias); 3 Jan 2018 16: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 12987 invoked by uid 55); 3 Jan 2018 16:02:02 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83667] ICE in dump_function_decl on a thunk with variadic arguments Date: Wed, 03 Jan 2018 16:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00257.txt.bz2 Content-length: 639 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83667 --- Comment #1 from Nathan Sidwell --- Author: nathan Date: Wed Jan 3 16:01:31 2018 New Revision: 256179 URL: https://gcc.gnu.org/viewcvs?rev=3D256179&root=3Dgcc&view=3Drev Log: [PR c++/83667] Fix tree_dump ICE https://gcc.gnu.org/ml/gcc-patches/2018-01/msg00148.html PR c++/83667 * method.c (make_alias_for): Copy DECL_CONTEXT. PR c++/83667 * g++.dg/ipa/pr83667.C: New. Added: trunk/gcc/testsuite/g++.dg/ipa/pr83667.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/method.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 16:02:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14144 invoked by alias); 3 Jan 2018 16:02: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 14059 invoked by uid 48); 3 Jan 2018 16:02:33 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83667] ICE in dump_function_decl on a thunk with variadic arguments Date: Wed, 03 Jan 2018 16:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan 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: 2018-01/txt/msg00258.txt.bz2 Content-length: 435 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83667 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Nathan Sidwell --- Fixed r256179. >>From gcc-bugs-return-587309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 16:04:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18562 invoked by alias); 3 Jan 2018 16:04: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 18414 invoked by uid 48); 3 Jan 2018 16:04:10 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/83621] [8 Regression] ICE: in simplify_subreg, at simplify-rtx.c:6293 with -O -g Date: Wed, 03 Jan 2018 16:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-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: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00259.txt.bz2 Content-length: 264 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83621 --- Comment #5 from Jakub Jelinek --- Created attachment 43019 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43019&action=3Dedit gcc8-pr83621.patch Untested patch for that. >>From gcc-bugs-return-587310-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 16:08:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28546 invoked by alias); 3 Jan 2018 16:08: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 28477 invoked by uid 55); 3 Jan 2018 16:08:04 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83501] [8 Regression] strlen(a) not folded after strcpy(a, "...") Date: Wed, 03 Jan 2018 16:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization 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: 8.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: 2018-01/txt/msg00260.txt.bz2 Content-length: 681 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83501 --- Comment #5 from prathamesh3492 at gcc dot gnu.org --- Author: prathamesh3492 Date: Wed Jan 3 16:07:32 2018 New Revision: 256180 URL: https://gcc.gnu.org/viewcvs?rev=3D256180&root=3Dgcc&view=3Drev Log: 2018-01-03 Prathamesh Kulkarni PR tree-optimization/83501 * tree-ssa-strlen.c (get_string_cst): New. (handle_char_store): Call get_string_cst. testsuite/ * gcc.dg/tree-ssa/pr83501.c: New test. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/pr83501.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-strlen.c >>From gcc-bugs-return-587311-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 16:09:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32160 invoked by alias); 3 Jan 2018 16: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 31757 invoked by uid 48); 3 Jan 2018 16:09:10 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83501] [8 Regression] strlen(a) not folded after strcpy(a, "...") Date: Wed, 03 Jan 2018 16: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: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: prathamesh3492 at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-01/txt/msg00261.txt.bz2 Content-length: 409 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83501 prathamesh3492 at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from prathamesh3492 at gcc dot gnu.org --- Fixed. >>From gcc-bugs-return-587312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 16:10:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107306 invoked by alias); 3 Jan 2018 16: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 107243 invoked by uid 48); 3 Jan 2018 16:10:28 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83556] [7/8 Regression] ICE in gimplify_expr, at gimplify.c:12004 Date: Wed, 03 Jan 2018 16: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: 7.2.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: 7.3 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: 2018-01/txt/msg00262.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83556 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-587313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 16:27:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84640 invoked by alias); 3 Jan 2018 16:27: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 84551 invoked by uid 55); 3 Jan 2018 16:27:22 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83501] [8 Regression] strlen(a) not folded after strcpy(a, "...") Date: Wed, 03 Jan 2018 16:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: 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: 8.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: 2018-01/txt/msg00263.txt.bz2 Content-length: 516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83501 --- Comment #7 from Martin Sebor --- Author: msebor Date: Wed Jan 3 16:26:49 2018 New Revision: 256181 URL: https://gcc.gnu.org/viewcvs?rev=3D256181&root=3Dgcc&view=3Drev Log: PR tree-optimization/83501 - strlen(a) not folded after strcpy(a, "...") gcc/testsuite/ChangeLog: * c-c++-common/Warray-bounds-3.c: Remove xfail. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/c-c++-common/Warray-bounds-3.c >>From gcc-bugs-return-587314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 16:48:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86391 invoked by alias); 3 Jan 2018 16:48: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 74132 invoked by uid 48); 3 Jan 2018 16:48:17 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83529] ICE in canonical types differ for identical types Date: Wed, 03 Jan 2018 16: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00264.txt.bz2 Content-length: 507 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83529 --- Comment #5 from Nathan Sidwell --- template int Foo (T); template class TPL; template constexpr TPL Foo (); // #1 template constexpr TPL Foo (); // #2 What I think is happening is that the definition at #1 changes the overload= set to which 'Foo' binds. Thus in #2 the 'Foo (I)' finds something different. = I don't think we prune the overload set until later? >>From gcc-bugs-return-587315-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 16:53:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122272 invoked by alias); 3 Jan 2018 16:53: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 122213 invoked by uid 48); 3 Jan 2018 16:53:04 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83629] [7/8 Regression] ICE: in decompose_normal_address, at rtlanal.c:6329 with -O2 -fPIC -frename-registers --param=sched-autopref-queue-depth=nnn Date: Wed, 03 Jan 2018 16: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code 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.3 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: 2018-01/txt/msg00265.txt.bz2 Content-length: 2317 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83629 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rsandifo at gcc dot gnu.or= g, | |segher at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- So, the ICE is in the code introduced for PR55049, which doesn't like the powerpc32 load_toc_v4_PIC_2 and similar patterns. I think those are invalid RTL, because minus of 2 immediates should be real= ly wrapped in const and indeed doing: --- gcc/config/rs6000/rs6000.md.jj 2018-01-03 10:20:15.819537262 +0100 +++ gcc/config/rs6000/rs6000.md 2018-01-03 17:39:47.408873326 +0100 @@ -10647,8 +10647,8 @@ (define_insn "load_toc_v4_PIC_2" [(set (match_operand:SI 0 "gpc_reg_operand" "=3Dr") (mem:SI (plus:SI (match_operand:SI 1 "gpc_reg_operand" "b") - (minus:SI (match_operand:SI 2 "immediate_operand" "s") - (match_operand:SI 3 "immediate_operand" "s")))= ))] + (const:SI (minus:SI (match_operand:SI 2 "immediate_operand" "s") + (match_operand:SI 3 "immediate_operand" "s"))))))] "TARGET_ELF && DEFAULT_ABI =3D=3D ABI_V4 && flag_pic =3D=3D 2" "lwz %0,%2-%3(%1)" [(set_attr "type" "load")]) fixes the ICE (but the powerpc backend has several other spots with this). Or decompose_normal_address needs to be tweaked to handle these, like: --- gcc/rtlanal.c.jj 2018-01-03 10:19:55.748534052 +0100 +++ gcc/rtlanal.c 2018-01-03 17:48:48.228033733 +0100 @@ -6333,6 +6333,11 @@ decompose_normal_address (struct address set_address_disp (info, loc, inner); else if (GET_CODE (*inner) =3D=3D UNSPEC) set_address_segment (info, loc, inner); + /* This is used in the powerpc backend without CONST wrapping it. */ + else if (GET_CODE (*inner) =3D=3D MINUS + && CONSTANT_P (XEXP (*inner, 0)) + && CONSTANT_P (XEXP (*inner, 1))) + set_address_disp (info, loc, inner); else { /* The only other possibilities are a base or an index. */ All patches completely untested. >>From gcc-bugs-return-587317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 16:56:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49257 invoked by alias); 3 Jan 2018 16: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 49064 invoked by uid 48); 3 Jan 2018 16:56:47 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83569] New: Wrong constant folding Date: Wed, 03 Jan 2018 16:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: 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: 2018-01/txt/msg00267.txt.bz2 Content-length: 1374 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83569 Bug ID: 83569 Summary: Wrong constant folding Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ishiura-compiler at ml dot kwansei.ac.jp Target Milestone: --- GCC 8.0 for x86_64 miscompiles the following code. % cat test.c int a[2] =3D {0,1}; int x =3D 129; int main (void) { volatile int v =3D 0; int t =3D x; for (int i =3D 0; i < (1+v+v+v+v+v+v+v+v+a[a[0]]); i++) { t =3D a[(signed char)(130-x)]; } if (t !=3D 1) __builtin_abort(); return 0; } % gcc-8.0.0 test.c % ./a.out % gcc-8.0.0 test.c -O3 % ./a.out zsh: abort (core dumped) ./a.out % gcc-8.0.0 -v Using built-in specs. COLLECT_GCC=3Dgcc-8.0.0 COLLECT_LTO_WRAPPER=3D/home/cappie/opt/gcc-8.0.0/libexec/gcc/x86_64-pc-linu= x-gnu/8.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../configure --prefix=3D/home/cappie/opt/gcc-8.0.0 --disab= le-nls --disable-multilib --program-suffix=3D-8.0.0 --enable-languages=3Dc Thread model: posix gcc version 8.0.0 20171215 (experimental) (GCC) --- Comment #1 from David Malcolm --- *** Bug 83579 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-587316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 16:56:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49102 invoked by alias); 3 Jan 2018 16: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 49052 invoked by uid 48); 3 Jan 2018 16:56:47 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83579] New: Wrong constant folding Date: Wed, 03 Jan 2018 16:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm 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_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone resolution Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00266.txt.bz2 Content-length: 1619 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83579 Bug ID: 83579 Summary: Wrong constant folding Product: gcc Version: 8.0 Status: RESOLVED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ishiura-compiler at ml dot kwansei.ac.jp CC: dmalcolm at gcc dot gnu.org Target Milestone: --- Status: RESOLVED CC: dmalcolm at gcc dot gnu.org Resolution: DUPLICATE GCC 8.0 for x86_64 miscompiles the following code. % cat test.c int a[2] =3D {0,1}; int x =3D 129; int main (void) { volatile int v =3D 0; int t =3D x; for (int i =3D 0; i < (1+v+v+v+v+v+v+v+v+a[a[0]]); i++) { t =3D a[(signed char)(130-x)]; } if (t !=3D 1) __builtin_abort(); return 0; } % gcc-8.0.0 test.c % ./a.out % gcc-8.0.0 test.c -O3 % ./a.out zsh: abort (core dumped) ./a.out % gcc-8.0.0 -v Using built-in specs. COLLECT_GCC=3Dgcc-8.0.0 COLLECT_LTO_WRAPPER=3D/home/cappie/opt/gcc-8.0.0/libexec/gcc/x86_64-pc-linu= x-gnu/8.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../configure --prefix=3D/home/cappie/opt/gcc-8.0.0 --disab= le-nls --disable-multilib --program-suffix=3D-8.0.0 --enable-languages=3Dc Thread model: posix gcc version 8.0.0 20171215 (experimental) (GCC) --- Comment #1 from David Malcolm --- This appears to have been filed twice; closing this instance as a duplicate= (of PR 83569). *** This bug has been marked as a duplicate of bug 83569 *** >>From gcc-bugs-return-587318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 17:09:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34304 invoked by alias); 3 Jan 2018 17:09: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 31101 invoked by uid 48); 3 Jan 2018 17:09:09 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83529] ICE in canonical types differ for identical types Date: Wed, 03 Jan 2018 17:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.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: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00268.txt.bz2 Content-length: 857 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83529 --- Comment #6 from Jason Merrill --- (In reply to Nathan Sidwell from comment #5) > template int Foo (T); >=20 > template class TPL; >=20 > template > constexpr TPL Foo (); // #1 >=20 > template > constexpr TPL Foo (); // #2 >=20 > What I think is happening is that the definition at #1 changes the overlo= ad > set to which 'Foo' binds. Thus in #2 the 'Foo (I)' finds something > different. I don't think we prune the overload set until later? Hmm, I think we shouldn't be binding Foo at all, it's a dependent name. 17.= 6.2: Such names are unbound and are looked up at the point of the template instantiation (17.6.4.1) in both the context of the template definition and= the context of the point of instantiation. >>From gcc-bugs-return-587319-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 17:16:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65660 invoked by alias); 3 Jan 2018 17:16: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 65639 invoked by uid 48); 3 Jan 2018 17:16:21 -0000 From: "sylvestre at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83586] [8 regression] Invalid -Wformat-truncation on stdio2.h Date: Wed, 03 Jan 2018 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: 8.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: sylvestre at debian dot org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00269.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83586 --- Comment #2 from Sylvestre Ledru --- Created attachment 43020 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43020&action=3Dedit preprocessed file Here is the same issue on a smaller file. >>From gcc-bugs-return-587320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 17:18:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69448 invoked by alias); 3 Jan 2018 17: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 69348 invoked by uid 48); 3 Jan 2018 17:17:56 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83585] [8 Regression] Assembler messages: Error: can't resolve `.text' {.text section} - `.LCOLDB0' {.text.unlikely section} Date: Wed, 03 Jan 2018 17:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: assemble-failure 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: 8.0 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: 2018-01/txt/msg00270.txt.bz2 Content-length: 534 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83585 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |jakub at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #4 from Jakub Jelinek --- I have a patch. >>From gcc-bugs-return-587321-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 17:21:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79299 invoked by alias); 3 Jan 2018 17: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 79264 invoked by uid 48); 3 Jan 2018 17:21:50 -0000 From: "sylvestre at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83586] [8 regression] Invalid reported line with -Wformat-truncation on stdio2.h Date: Wed, 03 Jan 2018 17: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: 8.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: sylvestre at debian dot org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-01/txt/msg00271.txt.bz2 Content-length: 814 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83586 Sylvestre Ledru changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[8 regression] Invalid |[8 regression] Invalid |-Wformat-truncation on |reported line with |stdio2.h |-Wformat-truncation on | |stdio2.h --- Comment #3 from Sylvestre Ledru --- Actually, the issue is that the line showed should be call to print like NS_tsnprintf(spath, sizeof(spath)/sizeof(spath[0]), NS_T("%s/updating/%d.patch"), gWorkingDirPath, mPatchIndex); and not the function name. >>From gcc-bugs-return-587322-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 17:24:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85904 invoked by alias); 3 Jan 2018 17: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 85669 invoked by uid 48); 3 Jan 2018 17:24:03 -0000 From: "dank at kegel dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/61638] "warning: multi-line comment" unclear and has false positives Date: Wed, 03 Jan 2018 17:24: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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: dank at kegel 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: 2018-01/txt/msg00272.txt.bz2 Content-length: 825 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61638 dank at kegel dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank at kegel dot com --- Comment #6 from dank at kegel dot com --- g++ 5.4.0 from ubuntu 16.04 suffers from this when compiling https://bitbucket.org/chromiumembedded/cef/src/54a015f785c08083c21ec5360e15= 4a5af6f52c57/tests/ceftests/test_util.h : In file included from tests/ceftests/download_unittest.cc:9:0: tests/ceftests/test_util.h:167:1: error: multi-line comment [-Werror=3Dcomm= ent] // #define MY_TEST_GROUP(test_name, test_mode) \ ^ It's just a code example, nicely commented out, and the compiler falsely complains of a multiline comment. >>From gcc-bugs-return-587323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 17:27:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91259 invoked by alias); 3 Jan 2018 17:27: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 91192 invoked by uid 48); 3 Jan 2018 17:27:09 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/83585] [8 Regression] Assembler messages: Error: can't resolve `.text' {.text section} - `.LCOLDB0' {.text.unlikely section} Date: Wed, 03 Jan 2018 17: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: 8.0 X-Bugzilla-Keywords: assemble-failure 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: 8.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: 2018-01/txt/msg00273.txt.bz2 Content-length: 160 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83585 --- Comment #5 from Jakub Jelinek --- Started with my r254989 aka PR82718 fix. >>From gcc-bugs-return-587324-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 17:40:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13376 invoked by alias); 3 Jan 2018 17:40: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 8109 invoked by uid 48); 3 Jan 2018 17:40:16 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83529] ICE in canonical types differ for identical types Date: Wed, 03 Jan 2018 17: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00274.txt.bz2 Content-length: 596 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83529 --- Comment #7 from Nathan Sidwell --- int Foo (void *); template class TPL; template TPL Baz (); int Foo (float); template TPL Baz (); constexpr int Foo (int) {return 0;}int Foo (int); A less templatey case. 83529.ii:6:26: error: call to non-'constexpr' function 'int Foo(void*)' template TPL Baz (); ~~~~^~~ 83529.ii:10:36: internal compiler error: canonical types differ for identic= al types 'TPL' and 'TPL' >>From gcc-bugs-return-587325-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 17:43:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18197 invoked by alias); 3 Jan 2018 17: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 18175 invoked by uid 48); 3 Jan 2018 17:43:34 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83671] New: Fix for false positive reported by -Wstringop-overflow does not work with inlining Date: Wed, 03 Jan 2018 17: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla@poradnik-webmastera.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2018-01/txt/msg00275.txt.bz2 Content-length: 2105 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83671 Bug ID: 83671 Summary: Fix for false positive reported by -Wstringop-overflow does not work with inlining Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: bugzilla@poradnik-webmastera.com Target Milestone: --- Fix for bug 83373 does not work well with inlining: [code] #include #include char dest[20]; char src[10]; __attribute((nonnull(1, 2))) inline char* my_strcpy(char* __restrict__ dst, const char* __restrict__ src, size_t size) { size_t len =3D strlen(src); if (len < size) memcpy(dst, src, len + 1); else { memcpy(dst, src, size - 1); dst[size - 1] =3D '\0'; } return dst; } inline void func1() { my_strcpy(dest, src, sizeof(dest)); } void func2() { func1(); } [/code] [out] $ g++ -c -o test.o test.cc -Wall -Wstringop-overflow=3D2 -O1 In function =E2=80=98char* my_strcpy(char*, const char*, size_t)=E2=80=99, inlined from =E2=80=98void func2()=E2=80=99 at test.cc:23:14: test.cc:15:15: warning: =E2=80=98void* memcpy(void*, const void*, size_t)= =E2=80=99 forming offset [11, 19] is out of the bounds [0, 10] of object =E2=80=98src=E2=80= =99 with type =E2=80=98char [10]=E2=80=99 [-Warray-bounds] memcpy(dst, src, size - 1); ~~~~~~^~~~~~~~~~~~~~~~~~~~ test.cc: In function =E2=80=98void func2()=E2=80=99: test.cc:5:6: note: =E2=80=98src=E2=80=99 declared here char src[10]; ^~~ In function =E2=80=98char* my_strcpy(char*, const char*, size_t)=E2=80=99, inlined from =E2=80=98void func2()=E2=80=99 at test.cc:23:14: test.cc:15:15: warning: =E2=80=98void* memcpy(void*, const void*, size_t)= =E2=80=99 reading 19 bytes from a region of size 10 [-Wstringop-overflow=3D] memcpy(dst, src, size - 1); ~~~~~~^~~~~~~~~~~~~~~~~~~~ $ gcc --version gcc (GCC) 8.0.0 20171231 (experimental) [/out] >>From gcc-bugs-return-587326-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 17:43:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18958 invoked by alias); 3 Jan 2018 17:43: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 18918 invoked by uid 48); 3 Jan 2018 17:43:55 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/83585] [8 Regression] Assembler messages: Error: can't resolve `.text' {.text section} - `.LCOLDB0' {.text.unlikely section} Date: Wed, 03 Jan 2018 17:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: assemble-failure 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: 8.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: 2018-01/txt/msg00276.txt.bz2 Content-length: 497 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83585 --- Comment #6 from Jakub Jelinek --- Created attachment 43021 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43021&action=3Dedit gcc8-pr83585.patch Untested fix. Another option would be to introduce a new flag next to has_bb_partition, e.g. switched_bb_partitions, and use it in dwarf2out.c/dbxout.c/rs6000.c where we want to test whether there will be or was any NOTE_INSN_SWITCHED_SECTIONS note or not. >>From gcc-bugs-return-587327-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 17:54:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29847 invoked by alias); 3 Jan 2018 17:54: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 29792 invoked by uid 48); 3 Jan 2018 17:54:44 -0000 From: "aldyh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/81897] [6/7/8 Regression] spurious -Wmaybe-uninitialized warning Date: Wed, 03 Jan 2018 17:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 7.1.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: aldyh at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aldyh at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 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: 2018-01/txt/msg00277.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81897 Aldy Hernandez changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot gn= u.org --- Comment #9 from Aldy Hernandez --- I may regret this...but I'll take a stab. >>From gcc-bugs-return-587328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 17:54:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32414 invoked by alias); 3 Jan 2018 17:54: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 30554 invoked by uid 48); 3 Jan 2018 17:54:54 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83569] Wrong constant folding Date: Wed, 03 Jan 2018 17:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.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: 2018-01/txt/msg00278.txt.bz2 Content-length: 606 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83569 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-03 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Marek Polacek --- Seems to fail since r225311. Use -O3 -ftree-vectorize. >>From gcc-bugs-return-587329-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 17:55:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33491 invoked by alias); 3 Jan 2018 17:55: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 33401 invoked by uid 48); 3 Jan 2018 17:55:41 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83569] [6/7/8 Regression] Wrong constant folding Date: Wed, 03 Jan 2018 17:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: 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: 6.6 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: 2018-01/txt/msg00279.txt.bz2 Content-length: 433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83569 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.6 Summary|Wrong constant folding |[6/7/8 Regression] Wrong | |constant folding >>From gcc-bugs-return-587330-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 18:00:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69154 invoked by alias); 3 Jan 2018 18:00: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 68649 invoked by uid 48); 3 Jan 2018 18:00:46 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83529] ICE in canonical types differ for identical types Date: Wed, 03 Jan 2018 18:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.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: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00280.txt.bz2 Content-length: 1031 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83529 --- Comment #8 from Jason Merrill --- (In reply to Jason Merrill from comment #6) > (In reply to Nathan Sidwell from comment #5) > > template int Foo (T); > >=20 > > template class TPL; > >=20 > > template > > constexpr TPL Foo (); // #1 > >=20 > > template > > constexpr TPL Foo (); // #2 > >=20 > > What I think is happening is that the definition at #1 changes the over= load > > set to which 'Foo' binds. Thus in #2 the 'Foo (I)' finds something > > different. I don't think we prune the overload set until later? >=20 > Hmm, I think we shouldn't be binding Foo at all, it's a dependent name. As Nathan points out on IRC, it isn't a dependent name because I is not type-dependent. In that case, we ought to be able to resolve the overload to a particular candidate rather than keep the whole overload set around. For simplicity, perhaps only in the case of calling a non-member function. >>From gcc-bugs-return-587331-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 18:22:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23274 invoked by alias); 3 Jan 2018 18:22: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 23226 invoked by uid 48); 3 Jan 2018 18:22:35 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/51513] Only partially optimizes away __builtin_unreachable switch default case Date: Wed, 03 Jan 2018 18: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: 4.6.2 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: CLOSED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00281.txt.bz2 Content-length: 382 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51513 Peter Bergner changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #11 from Peter Bergner --- Closing as fixed. >>From gcc-bugs-return-587332-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 18:22:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23818 invoked by alias); 3 Jan 2018 18: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 23362 invoked by uid 48); 3 Jan 2018 18:22:39 -0000 From: "wilco at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/80724] [8 Regression] gcc.target/aarch64/pr62178.c failed because of r247885 Date: Wed, 03 Jan 2018 18: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: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: wilco at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-01/txt/msg00282.txt.bz2 Content-length: 672 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80724 Wilco changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |wilco at gcc dot gnu.org Resolution|--- |FIXED --- Comment #3 from Wilco --- Latest trunk generates: .L7: ldr s2, [x1, 4]! ldr q1, [x0], 124 mla v0.4s, v1.4s, v2.s[0] cmp x0, x2 bne .L7 So that's fixed (r252086). >>From gcc-bugs-return-587334-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 18:23:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27060 invoked by alias); 3 Jan 2018 18: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 26979 invoked by uid 48); 3 Jan 2018 18:23:36 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/83654] -fstack-clash-protection probes below the stack pointer for VLA with constant size Date: Wed, 03 Jan 2018 18:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.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: law at redhat 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: 2018-01/txt/msg00284.txt.bz2 Content-length: 432 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83654 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Jeffrey A. Law --- Fixed on the trunk. >>From gcc-bugs-return-587333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 18:23:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25233 invoked by alias); 3 Jan 2018 18: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 24834 invoked by uid 55); 3 Jan 2018 18:23:00 -0000 From: "law at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/83654] -fstack-clash-protection probes below the stack pointer for VLA with constant size Date: Wed, 03 Jan 2018 18:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.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: law at redhat 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: 2018-01/txt/msg00283.txt.bz2 Content-length: 875 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83654 --- Comment #3 from Jeffrey A. Law --- Author: law Date: Wed Jan 3 18:22:28 2018 New Revision: 256182 URL: https://gcc.gnu.org/viewcvs?rev=3D256182&root=3Dgcc&view=3Drev Log: PR middle-end/83654 * explow.c (anti_adjust_stack_and_probe_stack_clash): Test a non-constant residual for zero at runtime and avoid probing in that case. Reorganize code for trailing problem to mirror handling of the residual. PR middle-end/83654 * gcc.target/i386/stack-check-18.c: New test. * gcc.target/i386/stack-check-19.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/stack-check-18.c trunk/gcc/testsuite/gcc.target/i386/stack-check-19.c Modified: trunk/gcc/ChangeLog trunk/gcc/explow.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587335-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 18:28:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97322 invoked by alias); 3 Jan 2018 18:28: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 97273 invoked by uid 48); 3 Jan 2018 18:28:10 -0000 From: "smw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83672] New: Unable to take the address of a template function parameter pack specialization with a function argument Date: Wed, 03 Jan 2018 18:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: smw at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2018-01/txt/msg00285.txt.bz2 Content-length: 1450 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83672 Bug ID: 83672 Summary: Unable to take the address of a template function parameter pack specialization with a function argument Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: smw at gcc dot gnu.org Target Milestone: --- Can't take the address of a template function specialization if the template function has a parameter pack and one of the arguments to the parameter pack expansion is a function type-id. Without resorting to further word torture, an example might clarify. template void f01(PP...) { } int f00() { return 0; } int main() { f01(f00); // OK, call specialization void (*fp01)(int) =3D f01; // OK, address of int specialization void (*fp02)(int()) =3D f01; // compiles OK, but, um... void (*fp03)(int()) =3D f01; // nope nope nope } 14 : :14:25: error: no matches converting function 'f01' to type 'v= oid (*)(int (*)())' void (*fp03)(int()) =3D f01; // nope nope nope ^~~~~~~~~~ 2 : :2:8: note: candidate is: template void f01(PP ..= .) void f01(PP...) ^~~ Please note that clang5 and ICC18 both accept this code. >>From gcc-bugs-return-587337-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 18:31:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100282 invoked by alias); 3 Jan 2018 18: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 100112 invoked by uid 48); 3 Jan 2018 18:31:35 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83580] [6/7/8 Regression] Wrong code caused by vectorization Date: Wed, 03 Jan 2018 18: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: 8.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: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-01/txt/msg00287.txt.bz2 Content-length: 181 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83580 --- Comment #7 from Jakub Jelinek --- *** Bug 83569 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-587336-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 18:31:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100196 invoked by alias); 3 Jan 2018 18: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 100084 invoked by uid 48); 3 Jan 2018 18:31:34 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83569] [6/7/8 Regression] Wrong constant folding Date: Wed, 03 Jan 2018 18: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: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.6 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: 2018-01/txt/msg00286.txt.bz2 Content-length: 613 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83569 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jakub at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #3 from Jakub Jelinek --- It has even more dups. PR83580 contains extra analysis. *** This bug has been marked as a duplicate of bug 83580 *** >>From gcc-bugs-return-587338-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 18:41:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67697 invoked by alias); 3 Jan 2018 18:41: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 62342 invoked by uid 48); 3 Jan 2018 18:41:11 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83673] New: missing strlen optimization on multiple strcpy calls with same length strings Date: Wed, 03 Jan 2018 18: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00288.txt.bz2 Content-length: 2170 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83673 Bug ID: 83673 Summary: missing strlen optimization on multiple strcpy calls with same length strings Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- GCC is able to track the length of the string copied using the single strcpy call in function f() below but it can't do the same for the equivalent code= in function g(). It would be a useful enhancement if it could. $ cat z.c && gcc -O2 -S -Wall -fdump-tree-optimized=3D/dev/stdout z.c char d[8]; void f (int i) { __builtin_strcpy (d, i < 0 ? "123456" : "654321"); if (__builtin_strlen (d) !=3D 6) __builtin_abort (); } void g (int i) { if (i < 0) __builtin_strcpy (d, "123456"); else __builtin_strcpy (d, "654321"); if (__builtin_strlen (d) !=3D 6) __builtin_abort (); } ;; Function f (f, funcdef_no=3D0, decl_uid=3D1953, cgraph_uid=3D0, symbol_o= rder=3D1) f (int i) { char[7] * iftmp.0_7; [local count: 1073741825]: if (i_3(D) < 0) goto ; [36.00%] else goto ; [64.00%] [local count: 687194769]: [local count: 1073312329]: # iftmp.0_7 =3D PHI <"123456"(2), "654321"(3)> __builtin_memcpy (&d, iftmp.0_7, 7); [tail call] return; } ;; Function g (g, funcdef_no=3D1, decl_uid=3D1956, cgraph_uid=3D1, symbol_o= rder=3D2) g (int i) { long unsigned int _1; [local count: 1073741825]: if (i_3(D) < 0) goto ; [36.00%] else goto ; [64.00%] [local count: 386547057]: __builtin_memcpy (&d, "123456", 7); goto ; [100.00%] [local count: 687194768]: __builtin_memcpy (&d, "654321", 7); [local count: 1073741825]: _1 =3D __builtin_strlen (&d); if (_1 !=3D 6) goto ; [0.00%] else goto ; [99.96%] [count: 0]: __builtin_abort (); [local count: 1073312327]: return; } >>From gcc-bugs-return-587339-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 18:46:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124074 invoked by alias); 3 Jan 2018 18: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 123995 invoked by uid 48); 3 Jan 2018 18:46:22 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/83666] [8 Regression] ICE: SIGFPE with -O2 -g --param=sccvn-max-scc-size=10 Date: Wed, 03 Jan 2018 18:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: 2018-01/txt/msg00289.txt.bz2 Content-length: 419 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83666 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org Component|rtl-optimization |debug Target Milestone|--- |8.0 >>From gcc-bugs-return-587340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 19:22:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125672 invoked by alias); 3 Jan 2018 19: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 125595 invoked by uid 48); 3 Jan 2018 19:22:41 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/83666] [8 Regression] ICE: SIGFPE with -O2 -g --param=sccvn-max-scc-size=10 Date: Wed, 03 Jan 2018 19: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00290.txt.bz2 Content-length: 578 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83666 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 43022 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43022&action=3Dedit gcc8-pr83666.patch Untested fix. >>From gcc-bugs-return-587341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 19:23:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126560 invoked by alias); 3 Jan 2018 19:23: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 126540 invoked by uid 48); 3 Jan 2018 19:23:33 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82915] Please mark intrinsics as constexpr Date: Wed, 03 Jan 2018 19:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: bugzilla@poradnik-webmastera.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: 2018-01/txt/msg00291.txt.bz2 Content-length: 212 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82915 --- Comment #2 from Daniel Fruzynski --- SIMD ISAa for other CPU types (e.g. ARM/AARCH64 NEON) also can benefit from this. >>From gcc-bugs-return-587342-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 19:33:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93245 invoked by alias); 3 Jan 2018 19:33: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 93225 invoked by uid 48); 3 Jan 2018 19:33:16 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83674] New: strcpy folding of small strings defeats strlen optimization Date: Wed, 03 Jan 2018 19: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00292.txt.bz2 Content-length: 3374 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83674 Bug ID: 83674 Summary: strcpy folding of small strings defeats strlen optimization Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- Here's another test case showing the detrimental effect of early folding in= to MEM_REFs that the strlen pass isn't equipped to handle. The first dump that shows the MEM_REF is forwprop1. The interesting aspect of this test case is that whether or not the optimization takes place depends on both the size of the destination and the lengths of the source strings. $ cat z.c && gcc -O2 -S -Wall -fdump-tree-optimized=3D/dev/stdout z.c char d[8]; #define A1 "123456" #define A2 "654321" const char a1[] =3D A1; const char a2[] =3D A2; void f7 (int i) { __builtin_strcpy (d, i < 0 ? A1 : A2); if (__builtin_strlen (d) !=3D sizeof A1 - 1) // optimized __builtin_abort (); } void g7 (int i) { __builtin_strcpy (d, i < 0 ? a1 : a2); if (__builtin_strlen (d) !=3D sizeof a1 - 1) // optimized __builtin_abort (); } #define B1 "1234567" #define B2 "7654321" const char b1[] =3D B1; const char b2[] =3D B2; void f8 (int i) { __builtin_strcpy (d, i < 0 ? B1 : B2); if (__builtin_strlen (d) !=3D sizeof B1 - 1) // not optimized __builtin_abort (); } void g8 (int i) { __builtin_strcpy (d, i < 0 ? B1 : B2); if (__builtin_strlen (d) !=3D sizeof b1 - 1) // not optimized __builtin_abort (); } ;; Function f7 (f7, funcdef_no=3D0, decl_uid=3D1955, cgraph_uid=3D0, symbol= _order=3D3) f7 (int i) { char[7] * iftmp.0_7; [local count: 1073741825]: if (i_3(D) < 0) goto ; [36.00%] else goto ; [64.00%] [local count: 687194769]: [local count: 1073312329]: # iftmp.0_7 =3D PHI <"123456"(2), "654321"(3)> __builtin_memcpy (&d, iftmp.0_7, 7); [tail call] return; } ;; Function g7 (g7, funcdef_no=3D1, decl_uid=3D1958, cgraph_uid=3D1, symbol= _order=3D4) g7 (int i) { const char * iftmp.1_7; [local count: 1073741825]: if (i_3(D) < 0) goto ; [36.00%] else goto ; [64.00%] [local count: 687194769]: [local count: 1073312329]: # iftmp.1_7 =3D PHI <&a1(2), &a2(3)> __builtin_memcpy (&d, iftmp.1_7, 7); [tail call] return; } ;; Function f8 (f8, funcdef_no=3D2, decl_uid=3D1963, cgraph_uid=3D2, symbol= _order=3D7) f8 (int i) { long unsigned int _1; long unsigned int _4; [local count: 1073741825]: if (i_3(D) < 0) goto ; [36.00%] else goto ; [64.00%] [local count: 386547056]: [local count: 1073741825]: # _4 =3D PHI <13847469359445559(2), 15540725856023089(3)> MEM[(char * {ref-all})&d] =3D _4; _1 =3D __builtin_strlen (&d); if (_1 !=3D 7) goto ; [0.00%] else goto ; [99.96%] [count: 0]: __builtin_abort (); [local count: 1073312327]: return; } ;; Function g8 (g8, funcdef_no=3D5, decl_uid=3D1966, cgraph_uid=3D3, symbol= _order=3D8) g8 (int i) { [local count: 1073741826]: f8 (i_2(D)); [tail call] return; } >>From gcc-bugs-return-587343-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 20:29:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100154 invoked by alias); 3 Jan 2018 20:29: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 100117 invoked by uid 48); 3 Jan 2018 20:29:20 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/81611] [8 Regression] gcc un-learned loop / post-increment optimization Date: Wed, 03 Jan 2018 20:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00293.txt.bz2 Content-length: 1024 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81611 --- Comment #15 from Alexandre Oliva --- As we create_mem_ref within ivopts, create_mem_ref_raw requires a valid_mem_ref_p, which in memory_address_addr_space_p calls targetm.addr_space.legitimate_address_p, and that's avr_addr_space_legitimate_address_p, that calls avr_legitimate_address_p, t= hat rejects negative offsets to a REG. That's where avr loses, compared with x= 86 and arm. Because of this rejected address offset, we end up creating _16 =3D str_11 + 65535. That eventually gets simplified to _16 =3D str_6 (in forwprop, no l= ess), but the str_11 =3D str_6 + 1 stmt remains because of the use in the phi nod= e, and it appears before the MEM_REF. Now, the reason we validate the address is that create_mem_ref calls create_mem_ref_raw with verify enabled. Even though the letter might end up creating a machine-independent MEM_REF, we end up constraining it according= to machine-dependent addressing limitations anyway. >>From gcc-bugs-return-587344-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 20:38:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22763 invoked by alias); 3 Jan 2018 20: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 19631 invoked by uid 55); 3 Jan 2018 20:38:13 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83555] Unnecessary null check when static_cast is used with references. Date: Wed, 03 Jan 2018 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.2.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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00294.txt.bz2 Content-length: 1040 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83555 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Wed Jan 3 20:37:41 2018 New Revision: 256186 URL: https://gcc.gnu.org/viewcvs?rev=3D256186&root=3Dgcc&view=3Drev Log: PR c++/83555 * typeck.c (build_static_cast_1): For static casts to reference typ= es, call build_base_path with flag_delete_null_pointer_checks as nonnull instead of always false. When -fsanitize=3Dnull, call ubsan_maybe_instrument_reference on the NULL reference INTEGER_CST. * cp-gimplify.c (cp_genericize_r): Don't walk subtrees of UBSAN_NULL call if the first argument is INTEGER_CST with REFERENCE_TYPE. * g++.dg/opt/pr83555.C: New test. * g++.dg/ubsan/pr83555.C: New test. Added: trunk/gcc/testsuite/g++.dg/opt/pr83555.C trunk/gcc/testsuite/g++.dg/ubsan/pr83555.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-gimplify.c trunk/gcc/cp/typeck.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587345-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 20:42:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63592 invoked by alias); 3 Jan 2018 20:42: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 58318 invoked by uid 48); 3 Jan 2018 20:42:33 -0000 From: "gcc@hauke-m.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83496] MIPS BE: wrong code generates under "-Os -mbranch-cost=1" Date: Wed, 03 Jan 2018 20: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.2.0 X-Bugzilla-Keywords: needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: gcc@hauke-m.de X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00295.txt.bz2 Content-length: 193 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83496 --- Comment #5 from Hauke Mehrtens --- The description already contains the full function incl. 4006fc. Do you need more? >>From gcc-bugs-return-587347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 20:44:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103933 invoked by alias); 3 Jan 2018 20:44: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 103879 invoked by uid 48); 3 Jan 2018 20:44:36 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83559] [8 regression] -Wsuggest-attribute=const conflicts with -Wattributes warning about const attribute on function returning void Date: Wed, 03 Jan 2018 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: 8.0 X-Bugzilla-Keywords: diagnostic, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00297.txt.bz2 Content-length: 434 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83559 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Martin Sebor --- Fixed in r256188. >>From gcc-bugs-return-587346-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 20:44:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103159 invoked by alias); 3 Jan 2018 20: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 103111 invoked by uid 55); 3 Jan 2018 20:44:21 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83559] [8 regression] -Wsuggest-attribute=const conflicts with -Wattributes warning about const attribute on function returning void Date: Wed, 03 Jan 2018 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: 8.0 X-Bugzilla-Keywords: diagnostic, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00296.txt.bz2 Content-length: 952 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83559 --- Comment #3 from Martin Sebor --- Author: msebor Date: Wed Jan 3 20:43:47 2018 New Revision: 256188 URL: https://gcc.gnu.org/viewcvs?rev=3D256188&root=3Dgcc&view=3Drev Log: PR c/83559 - -Wsuggest-attribute=3Dconst conflicts with -Wattributes warning about const attribute on function returning void gcc/ChangeLog: PR c/83559 * doc/extend.texi (attribute const): Fix a typo. * ipa-pure-const.c ((warn_function_const, warn_function_pure): Avoid issuing -Wsuggest-attribute for void functions. gcc/testsuite/ChangeLog: PR c/83559 * gcc.dg/const-2.c: New test. * gcc.dg/pure-3.c: New test. Added: trunk/gcc/testsuite/gcc.dg/const-2.c trunk/gcc/testsuite/gcc.dg/pure-3.c Modified: trunk/gcc/ChangeLog trunk/gcc/doc/extend.texi trunk/gcc/ipa-pure-const.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587348-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 20:50:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12089 invoked by alias); 3 Jan 2018 20: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 5974 invoked by uid 48); 3 Jan 2018 20:50:20 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83496] MIPS BE: wrong code generates under "-Os -mbranch-cost=1" Date: Wed, 03 Jan 2018 20:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00298.txt.bz2 Content-length: 576 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83496 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |ASSIGNED --- Comment #6 from Martin Li=C5=A1ka --- (In reply to Hauke Mehrtens from comment #5) > The description already contains the full function incl. 4006fc. > Do you need more? Sorry, you are of course right. Let me try to write a reduction script. >>From gcc-bugs-return-587349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 20:58:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114221 invoked by alias); 3 Jan 2018 20: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 114161 invoked by uid 48); 3 Jan 2018 20:58:12 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/81611] [8 Regression] gcc un-learned loop / post-increment optimization Date: Wed, 03 Jan 2018 20:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00299.txt.bz2 Content-length: 1113 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81611 --- Comment #16 from Alexandre Oliva --- Even if create_mem_ref_raw created a MEM_REF, we'd still allocate a new pse= udo for the reg - 1 at cfgexpand, and that ends up preventing the post_inc addressing mode from being selected. The more I think about it, the more I conclude we have to bite the bullet a= nd support post_inc addressing modes in auto_inc_dec, even with increments sav= ed on another pseudo before the memory uses. Not just for iv uses, but also f= or linear code, mainly because the IR we generate for post-inc, all the way fr= om the beginning, makes it more likely that the increment will be logically be= fore the use of the old value as an address. I was trying to avoid that, but at this point anything else feels like papering over the problem. A smarter addressing-mode-aware middle end could tentatively generate off-b= y-1 base addresses so as to enable otherwise invalid addresses and subsequent post_inc transformations, but... if the transformation doesn't take place,= we may end up worse off. >>From gcc-bugs-return-587350-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 20:59:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115868 invoked by alias); 3 Jan 2018 20: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 115830 invoked by uid 55); 3 Jan 2018 20:59:19 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/83645] [8 Regression] ICE: in get_insn_template, at final.c:2100 with -gstatement-frontiers Date: Wed, 03 Jan 2018 20: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00300.txt.bz2 Content-length: 1049 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83645 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Jan 3 20:58:48 2018 New Revision: 256189 URL: https://gcc.gnu.org/viewcvs?rev=3D256189&root=3Dgcc&view=3Drev Log: PR debug/83645 * var-tracking.c (delete_vta_debug_insn): New inline function. (delete_vta_debug_insns): Add USE_CFG argument, if true, walk just insns from get_insns () to NULL instead of each bb separately. Use delete_vta_debug_insn. No longer static. (vt_debug_insns_local, variable_tracking_main_1): Adjust delete_vta_debug_insns callers. * rtl.h (delete_vta_debug_insns): Declare. * final.c (rest_of_handle_final): Call delete_vta_debug_insns instead of variable_tracking_main. * gcc.dg/pr83645.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr83645.c Modified: trunk/gcc/ChangeLog trunk/gcc/final.c trunk/gcc/rtl.h trunk/gcc/testsuite/ChangeLog trunk/gcc/var-tracking.c >>From gcc-bugs-return-587351-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 21:00:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117893 invoked by alias); 3 Jan 2018 21:00: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 117729 invoked by uid 55); 3 Jan 2018 21:00:28 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/83621] [8 Regression] ICE: in simplify_subreg, at simplify-rtx.c:6293 with -O -g Date: Wed, 03 Jan 2018 21: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-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: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00301.txt.bz2 Content-length: 588 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83621 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Wed Jan 3 20:59:50 2018 New Revision: 256190 URL: https://gcc.gnu.org/viewcvs?rev=3D256190&root=3Dgcc&view=3Drev Log: PR debug/83621 * cfgexpand.c (expand_debug_expr): Return NULL if mode is BLKmode for ternary, binary or unary expressions. * gcc.dg/pr83621.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr83621.c Modified: trunk/gcc/ChangeLog trunk/gcc/cfgexpand.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587352-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 21:25:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36363 invoked by alias); 3 Jan 2018 21:25: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 36300 invoked by uid 55); 3 Jan 2018 21:25:42 -0000 From: "law at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83641] -fstack-clash-protection generates incorrect CFI on i386 Date: Wed, 03 Jan 2018 21: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: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: law 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00302.txt.bz2 Content-length: 1190 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83641 --- Comment #4 from Jeffrey A. Law --- Author: law Date: Wed Jan 3 21:25:10 2018 New Revision: 256191 URL: https://gcc.gnu.org/viewcvs?rev=3D256191&root=3Dgcc&view=3Drev Log: PR target/83641 * config/i386/i386.c (ix86_adjust_stack_and_probe_stack_clash): For noreturn probe, use gen_pop instead of ix86_emit_restore_reg_using_= pop, only set RTX_FRAME_RELATED_P on both the push and pop if cfa_reg is= sp and add REG_CFA_ADJUST_CFA notes in that case to both insns. PR target/83641 * config/i386/i386.c (ix86_adjust_stack_and_probe_stack_clash): Do = not explicitly probe *sp in a noreturn function if there were any callee register saves or frame pointer is needed. PR target/83641 * gcc.target/i386/stack-check-17.c: New test. * gcc.target/i386/stack-check-12.c: Drop unnecessary asm. Added: trunk/gcc/testsuite/gcc.target/i386/stack-check-17.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/i386/stack-check-12.c >>From gcc-bugs-return-587353-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 21:26:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40736 invoked by alias); 3 Jan 2018 21:26: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 38144 invoked by uid 48); 3 Jan 2018 21:26:17 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83641] -fstack-clash-protection generates incorrect CFI on i386 Date: Wed, 03 Jan 2018 21:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: law at redhat 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: 2018-01/txt/msg00303.txt.bz2 Content-length: 432 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83641 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jeffrey A. Law --- Fixed on the trunk. >>From gcc-bugs-return-587354-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 21:47:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45246 invoked by alias); 3 Jan 2018 21: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 44921 invoked by uid 48); 3 Jan 2018 21:47:25 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/83675] New: [8 regression] Many SPARC tests FAIL with unrecognizable insn Date: Wed, 03 Jan 2018 21:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: 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: 2018-01/txt/msg00304.txt.bz2 Content-length: 2954 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83675 Bug ID: 83675 Summary: [8 regression] Many SPARC tests FAIL with unrecognizable insn Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: ebotcazou at gcc dot gnu.org, rsandifo at gcc dot gnu.o= rg Target Milestone: --- Host: sparc-sun-solaris2.* Target: sparc-sun-solaris2.* Build: sparc-sun-solaris2.* Between 20180102 and 20180103, man SPARC tests started to FAIL like this: FAIL: gcc.dg/vect/pr43842.c (internal compiler error) FAIL: gcc.dg/vect/pr43842.c (test for excess errors) /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/pr43842.c: In function 'int161': /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/pr43842.c:40:1: error: unrecognizable insn: (insn 28 27 29 5 (parallel [ (set (reg:SI 131) (plus:SI (reg:SI 129) (const_int 0 [0]))) (set (zero_extract:DI (reg:DI 102 %gsr) (const_int 32 [0x20]) (const_int 32 [0x20])) (zero_extend:DI (plus:SI (reg:SI 129) (const_int 0 [0])))) ]) -1 (nil)) during RTL pass: vregs /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/pr43842.c:40:1: inter= nal compiler error: in extract_insn, at recog.c:2304 0xa07177 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /vol/gcc/src/hg/trunk/local/gcc/rtl-error.c:108 0xa071a7 _fatal_insn_not_found(rtx_def const*, char const*, int, char const= *) /vol/gcc/src/hg/trunk/local/gcc/rtl-error.c:116 0x9c8027 extract_insn(rtx_insn*) /vol/gcc/src/hg/trunk/local/gcc/recog.c:2304 0x72f38b instantiate_virtual_regs_in_insn /vol/gcc/src/hg/trunk/local/gcc/function.c:1646 0x72f38b instantiate_virtual_regs /vol/gcc/src/hg/trunk/local/gcc/function.c:1967 0x72f38b execute /vol/gcc/src/hg/trunk/local/gcc/function.c:2016 The failure can be reproduced with $ cc1 -fpreprocessed pr43842.i -quiet -mcpu=3Dultrasparc -mvis -O2 -ftree-vectorize -o pr43842.s A reghunt identified this patch as the culprit: The first bad revision is: changeset: 43046:975c3cdb3b00 user: rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4 date: Tue Jan 02 18:26:27 2018 +0000 summary: Remove vec_perm_const optab 2018-01-02 Richard Sandiford * Makefile.in (OBJS): Add vec-perm-indices.o. * vec-perm-indices.h: New file. * vec-perm-indices.c: Likewise. * target.h (vec_perm_indices): Replace with a forward class declaration. (auto_vec_perm_indices): Move to vec-perm-indices.h. [...] Rainer >>From gcc-bugs-return-587355-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 21:47:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46253 invoked by alias); 3 Jan 2018 21:47: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 46092 invoked by uid 48); 3 Jan 2018 21:47:36 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/83675] [8 regression] Many SPARC tests FAIL with unrecognizable insn Date: Wed, 03 Jan 2018 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: 8.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: 8.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: 2018-01/txt/msg00305.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83675 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 >>From gcc-bugs-return-587356-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 22:18:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18285 invoked by alias); 3 Jan 2018 22:18: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 18257 invoked by uid 48); 3 Jan 2018 22:18:03 -0000 From: "BM-2cUWXLL9JqDWpsk8EivFHCgbsbXFtsxQrk at bitmessage dot ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83676] New: Problems with sscanf parsing hex-floats Date: Wed, 03 Jan 2018 22:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: BM-2cUWXLL9JqDWpsk8EivFHCgbsbXFtsxQrk at bitmessage 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 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: 2018-01/txt/msg00306.txt.bz2 Content-length: 1545 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83676 Bug ID: 83676 Summary: Problems with sscanf parsing hex-floats Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: BM-2cUWXLL9JqDWpsk8EivFHCgbsbXFtsxQrk at bitmessage dot= ch Target Milestone: --- Created attachment 43023 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43023&action=3Dedit example code, visualizing the behavior from above Assume `d` as a normal double variable. Executing `sscanf ( "0x", "%lf", &d )` returns `0` and `d` isn't modified, 'cause the string can't be parsed. I think that 0x indicates in correspondence with `%lf`, that there seem to = be a maybe slightly incomplete hex-float. But wouldn't it be a better behavior if this statement is correctly parsed = into the double `d` with the value `0`, 'cause ignoring the `x` and correctly parsing `0` as well as assuming that `0x` originally means `0x0` is a much = more thought-out behavior than just saying "sry, but this can't be parsed, so it= 's better doing nothing"? Even though `sscanf ( "0x", "%i", &i )` returns successfully `1` and the integer value `i` is going to have the value `0`. Furthermore e.g. BSD' versions of GCC correctly parses the 0x-lf case... I'm using a x86_64-pc-linux-gnu 4.14.9-Linux to compile the code without any significant options (no compiler warnings present). Thanks! >>From gcc-bugs-return-587357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 22:32:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104999 invoked by alias); 3 Jan 2018 22:32: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 104939 invoked by uid 48); 3 Jan 2018 22:32:21 -0000 From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/83675] [8 regression] Many SPARC tests FAIL with unrecognizable insn Date: Wed, 03 Jan 2018 22: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: 8.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: 8.0 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: 2018-01/txt/msg00307.txt.bz2 Content-length: 814 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83675 rsandifo at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-01-03 Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot= gnu.org Ever confirmed|0 |1 --- Comment #1 from rsandifo at gcc dot gnu.org --- Created attachment 43024 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43024&action=3Dedit Candidate patch Sorry, I'd missed that this feature was restricted to TARGET_VIS2. The attached patch seems to fix it. >>From gcc-bugs-return-587358-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 22:46:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5330 invoked by alias); 3 Jan 2018 22:46: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 5302 invoked by uid 48); 3 Jan 2018 22:46:36 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83671] Fix for false positive reported by -Wstringop-overflow does not work with inlining Date: Wed, 03 Jan 2018 22:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.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: 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: 2018-01/txt/msg00308.txt.bz2 Content-length: 2644 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83671 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-03 CC| |msebor at gcc dot gnu.org Component|c |tree-optimization Ever confirmed|0 |1 --- Comment #1 from Martin Sebor --- The reason for the warning is that the solution implemented for bug 83373 is not effective at -O1 because the strlen pass (where it's been added) doesn't run at that optimization level. Warnings like -Warray-bounds and -Wstringop-overflow rely on optimization, especially constant and range propagation. The latter doesn't run at -O1 either. The better the optimiz= er the higher the ratio of true positives to false negatives and false positiv= es. The warning in this case is also independent of inlining and can be reprodu= ced with the following simple test case: char dst[20]; char src[10]; void my_strcpy (void) { size_t len =3D strlen (src); if (len < sizeof src) memcpy (dst, src, len + 1); else { memcpy (dst, src, sizeof dst - 1); dst[sizeof dst - 1] =3D '\0'; } } The IL the -Wstringop-overflow warning works with can be seen in the dump of the -fdump-tree-optimized option (below). At -O1, the second memcpy call unconditionally accesses 19 bytes from the src array which triggers the warning. Because the strlen pass doesn't run, the warning has no way of telling that the strlen(src) call cannot return a value greater than 19. In this specific case it's possible to avoid the warning by moving the strlen(array) optimization to run even at -O1 which seems like a good idea regardless of the warning, so I'll confirm this bug on that basis. There w= ill still be other cases where the full strlen pass is required and where these kinds of issues will not be avoidable. func2 () { size_t len; long unsigned int _4; [local count: 1073741825]: len_3 =3D strlen (&src); if (len_3 <=3D 19) goto ; [50.00%] else goto ; [50.00%] [local count: 536870912]: _4 =3D len_3 + 1; memcpy (&dest, &src, _4); goto ; [100.00%] [local count: 536870912]: memcpy (&dest, &src, 19); MEM[(char *)&dest + 19B] =3D 0; [local count: 1073741825]: return; } >>From gcc-bugs-return-587361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 22:53:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33232 invoked by alias); 3 Jan 2018 22: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 33173 invoked by uid 48); 3 Jan 2018 22:53:47 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83603] [8 Regression] ICE in builtin_memref at gcc/gimple-ssa-warn-restrict.c:238 Date: Wed, 03 Jan 2018 22:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00311.txt.bz2 Content-length: 434 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83603 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Martin Sebor --- Fixed in r256217. >>From gcc-bugs-return-587359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 22:53:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31741 invoked by alias); 3 Jan 2018 22:53: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 31664 invoked by uid 48); 3 Jan 2018 22:53:19 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83627] -Wdelete-non-virtual-dtor doesn't trigger when calling destructor by hand Date: Wed, 03 Jan 2018 22: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: 7.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: 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: 2018-01/txt/msg00309.txt.bz2 Content-length: 597 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83627 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-03 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely --- We copied the warning from Clang, so it's unfortunate that they named it wr= ong, but I agree that it makes sense to warn here. >>From gcc-bugs-return-587360-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 22:53:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32469 invoked by alias); 3 Jan 2018 22:53: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 32050 invoked by uid 55); 3 Jan 2018 22:53:25 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83603] [8 Regression] ICE in builtin_memref at gcc/gimple-ssa-warn-restrict.c:238 Date: Wed, 03 Jan 2018 22:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00310.txt.bz2 Content-length: 984 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83603 --- Comment #7 from Martin Sebor --- Author: msebor Date: Wed Jan 3 22:52:53 2018 New Revision: 256217 URL: https://gcc.gnu.org/viewcvs?rev=3D256217&root=3Dgcc&view=3Drev Log: PR tree-optimization/83603 - ICE in builtin_memref at gcc/gimple-ssa-warn-restrict.c:238 gcc/ChangeLog: PR tree-optimization/83603 * calls.c (maybe_warn_nonstring_arg): Avoid accessing function arguments past the endof the argument list in functions declared without a prototype. * gimple-ssa-warn-restrict.c (wrestrict_dom_walker::check_call): Avoid checking when arguments are null. gcc/testsuite/ChangeLog: PR tree-optimization/83603 * gcc.dg/Wrestrict-4.c: New test. Added: trunk/gcc/testsuite/gcc.dg/Wrestrict-4.c Modified: trunk/gcc/ChangeLog trunk/gcc/calls.c trunk/gcc/gimple-ssa-warn-restrict.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587362-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 22:59:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46676 invoked by alias); 3 Jan 2018 22: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 46636 invoked by uid 48); 3 Jan 2018 22:59:47 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83676] Problems with sscanf parsing hex-floats Date: Wed, 03 Jan 2018 22:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.2.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: 2018-01/txt/msg00312.txt.bz2 Content-length: 559 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83676 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski --- GCC does not provide the sscanf here, glibc does. Please report it to them: http://sourceware.org/bugzilla/ if you think this is a bug. >>From gcc-bugs-return-587363-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 23:01:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48491 invoked by alias); 3 Jan 2018 23: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 48453 invoked by uid 48); 3 Jan 2018 23:01:35 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/83626] std::experimental::filesystem::remove_all throws exception instead of returning 0 if path doesn't exist Date: Wed, 03 Jan 2018 23: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: 7.2.1 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: 2018-01/txt/msg00313.txt.bz2 Content-length: 610 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83626 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-01-03 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu= .org Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely --- There are fixes needed in both remove and remove_all. >>From gcc-bugs-return-587364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 23:02:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49678 invoked by alias); 3 Jan 2018 23:02: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 49625 invoked by uid 48); 3 Jan 2018 23:02:25 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/81611] [8 Regression] gcc un-learned loop / post-increment optimization Date: Wed, 03 Jan 2018 23: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: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-01/txt/msg00314.txt.bz2 Content-length: 686 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81611 --- Comment #17 from Alexandre Oliva --- Created attachment 43025 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43025&action=3Dedit another complement to the initial partial patch, this one improving auto-inc-dec We already had code to turn the following into a post_inc: (set (reg A) (plus (reg B) (const_int I))) ... (mem (plus (reg A) (const_int -I))) ... so I've adjusted auto-inc-dec to also look for a (mem (reg B)) and deal wit= h it in the same way. It worked beautifully for this one testcase. Let's see h= ow a full bootstrap goes, on machines with auto-inc addressing modes... >>From gcc-bugs-return-587365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 23:04:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51305 invoked by alias); 3 Jan 2018 23:04: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 51275 invoked by uid 48); 3 Jan 2018 23:04:41 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83624] Strong using deprecation warning in C++03 Date: Wed, 03 Jan 2018 23: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: 7.2.0 X-Bugzilla-Keywords: diagnostic, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00315.txt.bz2 Content-length: 788 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83624 --- Comment #2 from Jonathan Wakely --- (In reply to andysem from comment #0) > The problem with this warning is that it suggests using inline namespaces > instead, but that is not an option on C++03 code base. The attribute is u= sed > precisely to emulate C++11 inline namespaces in C++03 mode. But GCC supports inline namespaces even in C++03 mode (without -Wpedantic-errors). If you can use a non-standard GNU-specific attribute in your C++03 code, th= en you should be able to use non-standard inline namespaces in C++03 instead. i.e. the attribute is deprecated and support for it may eventually be remov= ed, because you can just use inline namespaces instead. Support for them won't = be removed. >>From gcc-bugs-return-587366-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 23:07:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55791 invoked by alias); 3 Jan 2018 23: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 55757 invoked by uid 48); 3 Jan 2018 23:07:02 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83672] Unable to take the address of a template function parameter pack specialization with a function argument Date: Wed, 03 Jan 2018 23: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: 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00316.txt.bz2 Content-length: 187 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83672 --- Comment #1 from Jonathan Wakely --- This looks familiar, I think it's a dup of an existing bug report. >>From gcc-bugs-return-587367-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 23:13:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59403 invoked by alias); 3 Jan 2018 23:13: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 58568 invoked by uid 48); 3 Jan 2018 23:13:00 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83586] [8 regression] Invalid reported line with -Wformat-truncation on stdio2.h Date: Wed, 03 Jan 2018 23: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: 8.0 X-Bugzilla-Keywords: diagnostic 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: 8.0 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: 2018-01/txt/msg00317.txt.bz2 Content-length: 1172 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83586 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Component|c |tree-optimization Resolution|--- |DUPLICATE --- Comment #4 from Martin Sebor --- The file triggers a bunch of -Wformat-truncation warnings. They don't look quite the same as the once in comment #0 but the few I looked at appear to = be the symptoms of the same problem as the one I explained in comment #1 (formatting a string from an array into an array of the same size). The poor inlining context information in the warnings is being tracked in an existing report: bug 83429. I'll go ahead and resolve this as duplicate of= it. If you think there is an aspect to the warnings that's not covered by eith= er my explanation or the duplicate bug please reopen this bug and let us know = what it is. *** This bug has been marked as a duplicate of bug 83429 *** >>From gcc-bugs-return-587368-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 23:13:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59575 invoked by alias); 3 Jan 2018 23:13: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 58598 invoked by uid 48); 3 Jan 2018 23:13:01 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83429] Incorrect line number reported by -Wformat-truncation Date: Wed, 03 Jan 2018 23:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: diagnostic 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: 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: 2018-01/txt/msg00318.txt.bz2 Content-length: 442 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83429 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sylvestre at debian dot org --- Comment #4 from Martin Sebor --- *** Bug 83586 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-587369-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 23:25:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22724 invoked by alias); 3 Jan 2018 23:25: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 22693 invoked by uid 48); 3 Jan 2018 23:25:38 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83677] New: PPC: The xxpermr instruction is not generated correctly Date: Wed, 03 Jan 2018 23:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.1 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: 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: 2018-01/txt/msg00319.txt.bz2 Content-length: 1343 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83677 Bug ID: 83677 Summary: PPC: The xxpermr instruction is not generated correctly Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: wschmidt at gcc dot gnu.org Target Milestone: --- Created attachment 43026 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43026&action=3Dedit Test case demonstrating the problem Generation of xxpermr for POWER9 results in the high and low ends of the ve= ctor result being swapped. This is due to an incorrect machine description of w= hich input operand must use the same register as the output operand. Compiling the attached file with -O2 or -O3 on POWER9 produces a program th= at aborts due to wrong code generation. This eluded discovery until now because xxpermr is rarely generated. We pr= efer to generate the more flexible vpermr instruction when possible. We only generate xxpermr when there's sufficient register pressure that we have to = use the lower VSX registers to represent at least one of the operands. At -O2 = or higher, inlining causes the test case to fail when we reach that pressure threshold. >>From gcc-bugs-return-587370-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 23:27:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25113 invoked by alias); 3 Jan 2018 23:27: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 25058 invoked by uid 48); 3 Jan 2018 23:27:14 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83677] PPC: The xxpermr instruction is not generated correctly Date: Wed, 03 Jan 2018 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: 7.2.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: wschmidt at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status keywords cf_reconfirmed_on cc assigned_to 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: 2018-01/txt/msg00320.txt.bz2 Content-length: 951 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83677 Bill Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |powerpc*-*-* Status|UNCONFIRMED |NEW Keywords| |wrong-code Last reconfirmed| |2018-01-03 CC| |dje at gcc dot gnu.org, | |segher at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |wschmidt at gcc dot= gnu.org Ever confirmed|0 |1 Target Milestone|--- |7.3 Known to fail| |7.2.1, 8.0 --- Comment #1 from Bill Schmidt --- Confirmed. >>From gcc-bugs-return-587371-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 23:32:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29445 invoked by alias); 3 Jan 2018 23:32: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 29374 invoked by uid 48); 3 Jan 2018 23:31:56 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82915] Please mark intrinsics as constexpr Date: Wed, 03 Jan 2018 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: 7.2.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: cc see_also blocked Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00321.txt.bz2 Content-length: 954 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82915 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D70816 Blocks| |55004 --- Comment #3 from Martin Sebor --- Is this request to make just x86_64 intrinsics constexpr or all of them? (= IMO, all intrinsics that could be should be made constexpr -- see bug 70816 for a target-independent example; some others may have already been made to work = to help libstdc++). Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55004 [Bug 55004] [meta-bug] constexpr issues >>From gcc-bugs-return-587372-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 23:39:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28965 invoked by alias); 3 Jan 2018 23: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 28528 invoked by uid 48); 3 Jan 2018 23:39:17 -0000 From: "sje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83466] Wrong TLS GD sequence for ILP32 Date: Wed, 03 Jan 2018 23: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.2.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: sje at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-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: 2018-01/txt/msg00322.txt.bz2 Content-length: 338 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83466 --- Comment #4 from Steve Ellcey --- Created attachment 43027 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43027&action=3Dedit Patch file being tested I am testing this patch for regressions, I have verified that it does fix t= he small test case. >>From gcc-bugs-return-587373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 23:42:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33731 invoked by alias); 3 Jan 2018 23:42: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 33701 invoked by uid 55); 3 Jan 2018 23:42:04 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83655] [8 Regression] ICE on an invalid call to memcpy declared with no prototype Date: Wed, 03 Jan 2018 23: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00323.txt.bz2 Content-length: 890 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83655 --- Comment #2 from Martin Sebor --- Author: msebor Date: Wed Jan 3 23:41:32 2018 New Revision: 256218 URL: https://gcc.gnu.org/viewcvs?rev=3D256218&root=3Dgcc&view=3Drev Log: PR tree-optimization/83655 - ICE on an invalid call to memcpy declared with= no prototype gcc/testsuite/ChangeLog: PR tree-optimization/83655 * gcc.dg/Wrestrict-5.c: New test. * c-c++-common/builtins.c: New test. gcc/ChangeLog: PR tree-optimization/83655 * gimple-ssa-warn-restrict.c (wrestrict_dom_walker::check_call): Av= oid checking calls with invalid arguments. Added: trunk/gcc/testsuite/c-c++-common/builtins.c trunk/gcc/testsuite/gcc.dg/Wrestrict-5.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-ssa-warn-restrict.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-587374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 23:42:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34427 invoked by alias); 3 Jan 2018 23:42: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 34395 invoked by uid 48); 3 Jan 2018 23:42:13 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83655] [8 Regression] ICE on an invalid call to memcpy declared with no prototype Date: Wed, 03 Jan 2018 23: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-01/txt/msg00324.txt.bz2 Content-length: 434 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83655 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Martin Sebor --- Fixed in r256218. >>From gcc-bugs-return-587375-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 03 23:46:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103620 invoked by alias); 3 Jan 2018 23: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 103562 invoked by uid 48); 3 Jan 2018 23:46:41 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82915] Please mark intrinsics as constexpr Date: Wed, 03 Jan 2018 23: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: bugzilla@poradnik-webmastera.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: 2018-01/txt/msg00325.txt.bz2 Content-length: 366 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82915 --- Comment #4 from Daniel Fruzynski --- For tracking purposes it probably would be better to have separate issues f= or every CPU type which could benefit this. So this one could be for x86, and = you could open other requests for other CPUs which supports SIMD instructions. >>From gcc-bugs-return-587376-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 04 00:10:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40612 invoked by alias); 4 Jan 2018 00:10: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 40590 invoked by uid 48); 4 Jan 2018 00:10:36 -0000 From: "andysem at mail dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83624] Strong using deprecation warning in C++03 Date: Thu, 04 Jan 2018 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: 7.2.0 X-Bugzilla-Keywords: diagnostic, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: andysem 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: 2018-01/txt/msg00326.txt.bz2 Content-length: 541 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83624 --- Comment #3 from andysem at mail dot ru --- As you noted, --pedantic-errors makes that code an error, so it is not an equivalent replacement. Also, GNU-specific attributes can and often are supported by other compiler= s. When they are not, the attributes are usually ignored. That is not true for inline namespaces, which would cause a hard error. What is the rationale of replacing an attribute, which is the traditional w= ay of extension, with a non-standard (in C++03) syntax? >>From gcc-bugs-return-587377-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 04 02:28:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38876 invoked by alias); 4 Jan 2018 02:28: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 38830 invoked by uid 48); 4 Jan 2018 02:28:34 -0000 From: "yangyibiao at nju dot edu.cn" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/83678] New: [GCOV] a pointer assignment before a break statment lead to incorrect coverage in gcov Date: Thu, 04 Jan 2018 02:28: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yangyibiao at nju dot edu.cn X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-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: 2018-01/txt/msg00327.txt.bz2 Content-length: 3521 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83678 Bug ID: 83678 Summary: [GCOV] a pointer assignment before a break statment lead to incorrect coverage in gcov Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: yangyibiao at nju dot edu.cn CC: marxin at gcc dot gnu.org Target Milestone: --- # gcc-8 -v Using built-in specs. COLLECT_GCC=3Dgcc-8 COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper OFFLOAD_TARGET_NAMES=3Dnvptx-none OFFLOAD_TARGET_DEFAULT=3D1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion=3D'Ubuntu 8-20170923-1ubuntu2' --with-bugurl=3Dfile:///usr/share/doc/gcc-8/README.Bugs --enable-languages=3Dc,c++,go,brig,fortran,objc,obj-c++ --prefix=3D/usr --with-gcc-major-version-only --program-suffix=3D-8 --program-prefix=3Dx86_64-linux-gnu- --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 --enable-default-pie --with-system-zlib --enable-objc-gc=3Dauto --enable-multiarch --disable-wer= ror --with-arch-32=3Di686 --with-abi=3Dm64 --with-multilib-list=3Dm32,m64,mx32 --enable-multilib --with-tune=3Dgeneric --enable-offload-targets=3Dnvptx-no= ne --enable-checking=3Drelease --build=3Dx86_64-linux-gnu --host=3Dx86_64-linu= x-gnu --target=3Dx86_64-linux-gnu Thread model: posix gcc version 8.0.0 20170923 (experimental) [trunk revision 253118] (Ubuntu 8-20170923-1ubuntu2)=20 # gcov-8 -v gcov (Ubuntu 8-20170923-1ubuntu2) 8.0.0 20170923 (experimental) [trunk revi= sion 253118] Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or=20 FITNESS FOR A PARTICULAR PURPOSE. # cat small.c int main() { while (1) { int l =3D 1; int *p =3D &l; if (0) { break; } else { if (1) { break; } } } return 0; } # gcc-8 small.c -fprofile-arcs -ftest-coverage; ./a.out gcov-8 small.c; cat small.c.gcov File 'small.c' Lines executed:100.00% of 6 Creating 'small.c.gcov' -: 0:Source:small.c -: 0:Graph:small.gcno -: 0:Data:small.gcda -: 0:Runs:1 -: 0:Programs:1 1: 1:int main() -: 2:{ -: 3: while (1) { 1: 4: int l =3D 1; 1: 5: int *p =3D &l; -: 6: if (0) { 1: 7: break; -: 8: } else { -: 9: if (1) { 1: 10: break; -: 11: } -: 12: } -: 13: } 1: 14: return 0; -: 15:} Line #7 is wrongly marked as executed. However, I am not sure whether this issue is a duplication of Bug 83505. Therefore, I report it as an new one.= =20 When replacing Line #7 with the 'return', 'continue', or 'goto' statement, = the result is correct.=20 or When removing Line #5 is removed, the result is correct. >>From gcc-bugs-return-587378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 04 06:03:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1293 invoked by alias); 4 Jan 2018 06: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 1284 invoked by uid 89); 4 Jan 2018 06:03:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=H*c:HHHHHHHHHHHHHH, H*c:alternative, selling, offer X-HELO: mail-qt0-f194.google.com Received: from mail-qt0-f194.google.com (HELO mail-qt0-f194.google.com) (209.85.216.194) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 04 Jan 2018 06:03:03 +0000 Received: by mail-qt0-f194.google.com with SMTP id g10so717552qtj.12 for ; Wed, 03 Jan 2018 22:03:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:message-id:date:mime-version; bh=YFdguk1TkdqVNN+rC7s5BUQVEJ0zeoCqW9rLVO72iGw=; b=PnDaC9jZ0ETbJMz826oleuQlWIUz4uaqyqd8q4djFT/R0+pi0xETJv7V2lqgo3LYAE wfCGcvNGlf7bLLFVcMdpcAMlLnNtiLdp1t1M+R7KwbZI9/5KGG089WpCZR8/Gwmy9YLg wwdUPztNMBH3mf5SxZ7M9ZZTN8N3dDAYW3oAjOAoQ3y3y0VM9e+vUqYevuDyK9hx8aRg Hi7a6wWAkkMBiJ/xsy4Tr7COjGAVKAY+36A5SAK05zx1Oq9cQ2sezNBKhbAc2zHmEbtC JgM3U0M5xCTIKhP20/Z4pGigpjGrk+NSR1igIsbqL9cjbjfc6wY/CdLdUuvCNetaUOux CIrw== X-Gm-Message-State: AKGB3mILN7ExiWvDHGQaY9GePcyPWyb0G5Dbjqh8qX0YITqziJvFndDg TlRk73zaAxkVLszeFfZ2jNe7sA== X-Google-Smtp-Source: ACJfBos4oipmomrJm2oGDC6ZMc2Uzy5FihLiCl1ptXZ8Ch/0IcrwsUGE6zVJK7EUW/GIsq3gcEvUQw== X-Received: by 10.237.35.146 with SMTP id j18mr4605154qtc.271.1515045782001; Wed, 03 Jan 2018 22:03:02 -0800 (PST) Received: from abigailcarter-laptop ([192.241.83.175]) by smtp.gmail.com with ESMTPSA id v4sm1706386qkb.55.2018.01.03.22.03.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jan 2018 22:03:01 -0800 (PST) From: Abigail Carter To: gcc-bugs@gcc.gnu.org Subject: burculi.com Message-Id: <1515045777246-eade1790-d01876d0-fea1acad@gmail.com> Date: Thu, 04 Jan 2018 06:03:00 -0000 MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-SW-Source: 2018-01/txt/msg00328.txt.bz2 Content-length: 224 Hi there!

We're selling off BURCULI.COM, and we're taking offers from any interested = parties.
Please leave us an offer if you're interested.

Regards
Abigail Carter