public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/93318] [10 regression] Firefox LTO+FDO ICEs in speculative_call_info
       [not found] <bug-93318-4@http.gcc.gnu.org/bugzilla/>
@ 2020-01-19 23:09 ` hubicka at ucw dot cz
  2022-05-13  9:42 ` luoxhu at gcc dot gnu.org
  2022-05-13 10:07 ` luoxhu at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: hubicka at ucw dot cz @ 2020-01-19 23:09 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 130108 bytes --]

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93318

--- Comment #4 from Jan Hubicka <hubicka at ucw dot cz> ---
Ok,
I managed to reproduce the crash locally (it was not that easy)
At the point of failure the node passes verification and I suppose
problem is that the call stmt hash contains indirect call while it is
supposed to contain direct call.

Edge removal code probably replaces direct edge by indreict one since it
does not know about additional speculations.  I will continue tomorrow.

Honza
>From gcc-bugs-return-666189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 01:02:27 2020
Return-Path: <gcc-bugs-return-666189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26562 invoked by alias); 20 Jan 2020 01:02:27 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 26550 invoked by uid 89); 20 Jan 2020 01:02:27 -0000
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=0.9 required=5.0 testsºYES_40,HTML_MESSAGE,MIME_HTML_MOSTLY,MPART_ALT_DIFF autolearn=no version=3.3.1 spammy=UD:aspx, Mailbox, H*r:Unknown, H*c:NHxtPHrt
X-HELO: mail.claroprints.couk
Received: from Unknown (HELO mail.claroprints.couk) (45.148.164.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 20 Jan 2020 01:02:26 +0000
Received: from stilesdoors.com (localhost [IPv6:::1])	by mail.claroprints.couk (Postfix) with ESMTP id 15E99FC58	for <gcc-bugs@gcc.gnu.org>; Sun, 19 Jan 2020 19:41:45 -0500 (EST)
From: "Mail Server" <sales@stilesdoors.com>
To: gcc-bugs@gcc.gnu.org
Subject: gcc.gnu.org Mailbox Restioration!
Date: Mon, 20 Jan 2020 01:02:00 -0000
Message-ID: <20200119164144.B8FCADE6A78A3134@stilesdoors.com>
MIME-Version: 1.0
Content-Type: text/plain;	charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-SW-Source: 2020-01/txt/msg01915.txt.bz2
Content-length: 18

friendly reminder
>From gcc-bugs-return-666190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 01:40:21 2020
Return-Path: <gcc-bugs-return-666190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7236 invoked by alias); 20 Jan 2020 01:40:19 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 7192 invoked by uid 48); 20 Jan 2020 01:40:15 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/93321] Unlimited recursion in prepare_block_for_update
Date: Mon, 20 Jan 2020 01:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 10.0
X-Bugzilla-Keywords: compile-time-hog, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_file_loc
Message-ID: <bug-93321-4-1W4Czlf7r9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93321-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93321-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01916.txt.bz2
Content-length: 643

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93321

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
                URL|                            |https://gcc.gnu.org/ml/gcc-
                   |                            |patches/2020-01/msg01145.ht
                   |                            |ml

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Posted the patch:
https://gcc.gnu.org/ml/gcc-patches/2020-01/msg01145.html
>From gcc-bugs-return-666191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 04:18:29 2020
Return-Path: <gcc-bugs-return-666191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43479 invoked by alias); 20 Jan 2020 04:18:29 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 43409 invoked by uid 48); 20 Jan 2020 04:18:25 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/33799] Return value's destructor not executed when a local variable's destructor throws
Date: Mon, 20 Jan 2020 04:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-33799-4-oCT6zv3OT5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-33799-4@http.gcc.gnu.org/bugzilla/>
References: <bug-33799-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01917.txt.bz2
Content-length: 435

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #12 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed for GCC 10.
>From gcc-bugs-return-666192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 04:19:42 2020
Return-Path: <gcc-bugs-return-666192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44544 invoked by alias); 20 Jan 2020 04:19:41 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 44492 invoked by uid 48); 20 Jan 2020 04:19:38 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/91476] [9/10 Regression] const reference variables sharing the same name in two anonymous namespaces cause a multiple definition error
Date: Mon, 20 Jan 2020 04: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: 9.1.0
X-Bugzilla-Keywords: ABI, link-failure, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-91476-4-HnZl5slU3b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-91476-4@http.gcc.gnu.org/bugzilla/>
References: <bug-91476-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01918.txt.bz2
Content-length: 378

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91476

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
>From gcc-bugs-return-666193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 06:28:52 2020
Return-Path: <gcc-bugs-return-666193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77380 invoked by alias); 20 Jan 2020 06:28:52 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 77337 invoked by uid 48); 20 Jan 2020 06:28:48 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/93308] bind(c) subroutine changes lower bound of array argument in caller
Date: Mon, 20 Jan 2020 06:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-93308-4-4Bsb8QMz3s@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93308-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01919.txt.bz2
Content-length: 633

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93308

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2020-01-20
                 CC|                            |pault at gcc dot gnu.org,
                   |                            |tkoenig at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-666194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 06:41:08 2020
Return-Path: <gcc-bugs-return-666194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84480 invoked by alias); 20 Jan 2020 06:41:08 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 84442 invoked by uid 48); 20 Jan 2020 06:41:04 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85628] Make better use of BFI (BFXIL)
Date: Mon, 20 Jan 2020 06:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on component assigned_to everconfirmed
Message-ID: <bug-85628-4-kPwqtBcXWq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85628-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01920.txt.bz2
Content-length: 1042

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85628

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2020-01-20
          Component|target                      |tree-optimization
           Assignee|unassigned at gcc dot gnu.org      |pinskia at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Mine for GCC 11.
I can produce:
  _15 = (unsigned int) b_3(D);
  _13 = BIT_INSERT_EXPR <a_2(D), _15, 0 (32 bits)>;
  *c_5(D) = _13;
  _16 = (unsigned int) a_2(D);
  _10 = BIT_INSERT_EXPR <b_3(D), _16, 0 (32 bits)>;
  *d_8(D) = _10;


        mov     x5, x0
        mov     x4, x1
        bfi     x5, x1, 0, 32
        str     x5, [x2]
        bfi     x4, x0, 0, 32
        str     x4, [x3]
        ret
>From gcc-bugs-return-666195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 07:16:14 2020
Return-Path: <gcc-bugs-return-666195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44539 invoked by alias); 20 Jan 2020 07:16:14 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 44510 invoked by uid 48); 20 Jan 2020 07:16:10 -0000
From: "felix.von.s at posteo dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/93326] New: switch optimisation of multiple jumptables into a lookup
Date: Mon, 20 Jan 2020 07:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.2.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: felix.von.s at posteo 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget
Message-ID: <bug-93326-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01921.txt.bz2
Content-length: 980

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93326

            Bug ID: 93326
           Summary: switch optimisation of multiple jumptables into a
                    lookup
           Product: gcc
           Version: 9.2.1
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: felix.von.s at posteo dot de
  Target Milestone: ---
            Target: i686-linux-gnu

Attached two code samples are equivalent, yet they are optimised wildly
differently (with -O3 -fno-pic).

Apparently, GCC is capable of recognising that a switch/return realised by a
single jumptable can be optimised into a lookup table, but is unable to do so
when a switch is realised by multiple jumptables.

When compiling in PIC mode, neither switch is optimised into a lookup table; I
don't see a reason why it couldn't be.
>From gcc-bugs-return-666196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 07:17:43 2020
Return-Path: <gcc-bugs-return-666196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48265 invoked by alias); 20 Jan 2020 07:17:42 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 47715 invoked by uid 48); 20 Jan 2020 07:17:37 -0000
From: "felix.von.s at posteo dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/93326] switch optimisation of multiple jumptables into a lookup
Date: Mon, 20 Jan 2020 07:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.2.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: felix.von.s at posteo 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: attachments.created
Message-ID: <bug-93326-4-1LfdgaglK2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93326-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93326-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01922.txt.bz2
Content-length: 273

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93326

--- Comment #1 from felix <felix.von.s at posteo dot de> ---
Created attachment 47680
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47680&action=edit
Optimised into a lookup table of constants (-O3 -fno-pic)
>From gcc-bugs-return-666197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 07:20:08 2020
Return-Path: <gcc-bugs-return-666197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54812 invoked by alias); 20 Jan 2020 07:20:08 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 54595 invoked by uid 48); 20 Jan 2020 07:20:03 -0000
From: "felix.von.s at posteo dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/93326] switch optimisation of multiple jumptables into a lookup
Date: Mon, 20 Jan 2020 07:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.2.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: felix.von.s at posteo 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: attachments.created
Message-ID: <bug-93326-4-Myheu46dLe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93326-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93326-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01923.txt.bz2
Content-length: 284

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93326

--- Comment #2 from felix <felix.von.s at posteo dot de> ---
Created attachment 47681
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47681&action=edit
Optimised into a jumptable, then load of an immediate (-O3 -fno-pic)
>From gcc-bugs-return-666198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 08:05:08 2020
Return-Path: <gcc-bugs-return-666198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35146 invoked by alias); 20 Jan 2020 08:05:07 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 34968 invoked by uid 48); 20 Jan 2020 08:05:03 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/93312] [10 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1923
Date: Mon, 20 Jan 2020 08:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 10.0
X-Bugzilla-Keywords: ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-93312-4-6LfXTqfoSg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93312-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93312-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01924.txt.bz2
Content-length: 438

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93312

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed I assume.
>From gcc-bugs-return-666199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 08:11:29 2020
Return-Path: <gcc-bugs-return-666199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41542 invoked by alias); 20 Jan 2020 08:11:29 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 41497 invoked by uid 48); 20 Jan 2020 08:11:25 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/93318] [10 regression] Firefox LTO+FDO ICEs in speculative_call_info
Date: Mon, 20 Jan 2020 08:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 10.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-93318-4-uCr708kTcP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93318-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93318-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01925.txt.bz2
Content-length: 294

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93318

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |10.0
>From gcc-bugs-return-666200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 08:14:53 2020
Return-Path: <gcc-bugs-return-666200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52037 invoked by alias); 20 Jan 2020 08:14:53 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 48621 invoked by uid 48); 20 Jan 2020 08:14:49 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/93322] [10 Regression] gcc.dg/tree-ssa/flatten-1.c ICEs with -fPIC
Date: Mon, 20 Jan 2020 08:14: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: 10.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: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-93322-4-bp8vvBo9cs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93322-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93322-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01926.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93322

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
>From gcc-bugs-return-666201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 08:27:43 2020
Return-Path: <gcc-bugs-return-666201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41872 invoked by alias); 20 Jan 2020 08:27:43 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 41814 invoked by uid 48); 20 Jan 2020 08:27:39 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/91753] Bad register allocation of multi-register types
Date: Mon, 20 Jan 2020 08: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: 10.0
X-Bugzilla-Keywords: missed-optimization, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on component everconfirmed
Message-ID: <bug-91753-4-fu9vBKruG4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-91753-4@http.gcc.gnu.org/bugzilla/>
References: <bug-91753-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01927.txt.bz2
Content-length: 2977

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91753

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2020-01-20
          Component|middle-end                  |target
     Ever confirmed|0                           |1

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The biggest problem is set_qreg* is being used here.

This is the RTX that is produced:
(insn 38 37 39 4 (set (reg/v:XI 125 [ __o ])
        (reg/v:XI 124 [ __o ]))
"/bajas/pinskia/src/toolchain-10/marvell-tools/lib/gcc/aarch64-marvell-linux-gnu/10.0.0/include/arm_neon.h":25556:9
3404 {*aarch64_movxi}
     (expr_list:REG_DEAD (reg/v:XI 124 [ __o ])
        (nil)))
(insn 39 38 40 4 (set (subreg:V16QI (reg/v:XI 125 [ __o ]) 0)
        (reg:V16QI 134 [ _122 ]))
"/bajas/pinskia/src/toolchain-10/marvell-tools/lib/gcc/aarch64-marvell-linux-gnu/10.0.0/include/arm_neon.h":25556:9
1198 {*aarch64_simd_movv16qi}
     (nil))
(insn 40 39 41 4 (set (reg/v:XI 126 [ __o ])
        (reg/v:XI 125 [ __o ]))
"/bajas/pinskia/src/toolchain-10/marvell-tools/lib/gcc/aarch64-marvell-linux-gnu/10.0.0/include/arm_neon.h":25557:9
3404 {*aarch64_movxi}
     (expr_list:REG_DEAD (reg/v:XI 125 [ __o ])
        (nil)))
(insn 41 40 42 4 (set (subreg:V16QI (reg/v:XI 126 [ __o ]) 16)
        (reg:V16QI 96 [ _6 ]))
"/bajas/pinskia/src/toolchain-10/marvell-tools/lib/gcc/aarch64-marvell-linux-gnu/10.0.0/include/arm_neon.h":25557:9
1198 {*aarch64_simd_movv16qi}
     (nil))
(insn 42 41 43 4 (set (reg/v:XI 127 [ __o ])
        (reg/v:XI 126 [ __o ]))
"/bajas/pinskia/src/toolchain-10/marvell-tools/lib/gcc/aarch64-marvell-linux-gnu/10.0.0/include/arm_neon.h":25558:9
3404 {*aarch64_movxi}
     (expr_list:REG_DEAD (reg/v:XI 126 [ __o ])
        (nil)))
(insn 43 42 44 4 (set (subreg:V16QI (reg/v:XI 127 [ __o ]) 32)
        (reg:V16QI 135 [ _123 ]))
"/bajas/pinskia/src/toolchain-10/marvell-tools/lib/gcc/aarch64-marvell-linux-gnu/10.0.0/include/arm_neon.h":25558:9
1198 {*aarch64_simd_movv16qi}
     (nil))
(insn 44 43 45 4 (set (reg/v:XI 128 [ __o ])
        (reg/v:XI 127 [ __o ]))
"/bajas/pinskia/src/toolchain-10/marvell-tools/lib/gcc/aarch64-marvell-linux-gnu/10.0.0/include/arm_neon.h":25559:9
3404 {*aarch64_movxi}
     (expr_list:REG_DEAD (reg/v:XI 127 [ __o ])
        (nil)))
(insn 45 44 47 4 (set (subreg:V16QI (reg/v:XI 128 [ __o ]) 48)
        (reg:V16QI 95 [ _5 ]))
"/bajas/pinskia/src/toolchain-10/marvell-tools/lib/gcc/aarch64-marvell-linux-gnu/10.0.0/include/arm_neon.h":25559:9
1198 {*aarch64_simd_movv16qi}
     (nil))

Notice the move instruction inbetween.  That confuses everything here.

If we had a way to generate XImode directly from 4 V16QI, and only generate one
move statement, then the register allocator would act better.
>From gcc-bugs-return-666202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 08:28:21 2020
Return-Path: <gcc-bugs-return-666202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46125 invoked by alias); 20 Jan 2020 08:28:21 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 46012 invoked by uid 48); 20 Jan 2020 08:28:08 -0000
From: "ming.chen1986 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/93327] New: Performance degradation of povray benchmark from gcc 8.3.1 to gcc 9.2.1
Date: Mon, 20 Jan 2020 08:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: driver
X-Bugzilla-Version: 9.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ming.chen1986 at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-93327-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01928.txt.bz2
Content-length: 3926

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93327

            Bug ID: 93327
           Summary: Performance degradation of povray benchmark from gcc
                    8.3.1 to gcc 9.2.1
           Product: gcc
           Version: 9.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ming.chen1986 at gmail dot com
  Target Milestone: ---

I'm seeing a performance degradation of povray benchmark from gcc 8.3.1 to
9.2.1 on a dual-socket Intel Xeon Platinum 8280L system. Details can be found
below. Please let me know if any other information is needed. Thanks.

Hardware spec:
CPU: Dual-socket Intel Xeon Platinum 8280L
Motherboard: Intel S2600WF
RAM: 384 GB
OS: Clear Linux 31890 (also reproduced the issue with Ubuntu 20.04 daily build
20200107)

Steps to reproduce:
# download and build the benchmark with g++ 8.3.1 and 9.2.1, respectively
wget http://www.phoronix-test-suite.com/benchmark-files/povray-3.7.0.7.tar.xz
tar -xf povray-3.7.0.7.tar.xz
cd povray-3.7.0.7/
cd unix/
autoupdate
./prebuild.sh
cd ..
automake --add-missing
LIBS="-lboost_system" ./configure COMPILED_BY="PhoronixTestSuite"
--with-boost-thread=boost_thread
make
# run the benchmark
echo 1 | ./unix/povray -benchmark

Expected results:
The benchmark binaries compiled by g++ 8.3.1 and 9.2.1 should produce similar
scores.

Actual results:
Score of g++ 8.3.1 compiled povray: 14 seconds (less is better)
Score of g++ 9.2.1 compiled povray: vary between 25 - 60 seconds (less is
better)

Output of g++ -v (8.3.1):
Using built-in specs.
COLLECT_GCC=g++-8
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-generic-linux/8/lto-wrapper
Target: x86_64-generic-linux
Configured with: ../gcc-8.3.0/configure --program-suffix=-8 --prefix=/usr
--with-pkgversion='Clear Linux OS for Intel Architecture' --libdir=/usr/lib64/
--enable-libstdcxx-pch --libexecdir=/usr/lib64 --with-system-zlib
--enable-shared --enable-gnu-indirect-function --disable-vtable-verify
--enable-threads=posix --enable-__cxa_atexit --enable-plugin
--enable-ld=default --enable-clocale=gnu --disable-multiarch --disable-multilib
--enable-lto --enable-linker-build-id --build=x86_64-generic-linux
--target=x86_64-generic-linux --enable-languages=c,c++ --enable-bootstrap
--with-ppl=yes --with-isl --includedir=/usr/include --exec-prefix=/usr
--with-glibc-version=2.28 --disable-libunwind-exceptions --with-gnu-ld
--with-tune=haswell --with-arch=westmere --enable-cet
--with-gcc-major-version-only --enable-default-pie --disable-libmpx
Thread model: posix
gcc version 8.3.1 20190513 gcc-8-branch@271113 (Clear Linux OS for Intel
Architecture)

Output of g++ -v (9.2.1):
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-generic-linux/9/lto-wrapper
Target: x86_64-generic-linux
Configured with: ../gcc-9.2.0/configure --prefix=/usr --with-pkgversion='Clear
Linux OS for Intel Architecture' --libdir=/usr/lib64 --enable-libstdcxx-pch
--libexecdir=/usr/lib64 --with-system-zlib --enable-shared
--enable-gnu-indirect-function --disable-vtable-verify --enable-threads=posix
--enable-__cxa_atexit --enable-plugin --enable-ld=default --enable-clocale=gnu
--disable-multiarch --enable-multilib --enable-lto --disable-werror
--enable-linker-build-id --build=x86_64-generic-linux
--target=x86_64-generic-linux --enable-languages=c,c++,fortran,go
--enable-bootstrap --with-ppl=yes --with-isl --includedir=/usr/include
--exec-prefix=/usr --with-glibc-version=2.19 --disable-libunwind-exceptions
--with-gnu-ld --with-tune=haswell --with-arch=westmere --enable-cet
--disable-libmpx --with-gcc-major-version-only --enable-default-pie
Thread model: posix
gcc version 9.2.1 20191223 gcc-9-branch@279714 (Clear Linux OS for Intel
Architecture)
>From gcc-bugs-return-666203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 08:32:24 2020
Return-Path: <gcc-bugs-return-666203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55534 invoked by alias); 20 Jan 2020 08:32:23 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 55492 invoked by uid 48); 20 Jan 2020 08:32:19 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/93313] g++: internal compiler error: Segmentation fault signal terminated program cc1plus
Date: Mon, 20 Jan 2020 08:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 9.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-93313-4-2Wv0l2pom0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93313-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93313-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01929.txt.bz2
Content-length: 733

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93313

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2020-01-20
     Ever confirmed|0                           |1

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
So to be more constructive try upping your process max stack size using
'ulimit -s unlimited' and try again (I could reproduce the crash with
a 8MB stack size limit and with unlimited it's still compiling after
18 minutes and hovering at ~6GB ram for me).
>From gcc-bugs-return-666205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 08:50:24 2020
Return-Path: <gcc-bugs-return-666205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113797 invoked by alias); 20 Jan 2020 08:50:23 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 113670 invoked by uid 55); 20 Jan 2020 08:50:13 -0000
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/93094] [10 Regression] ICE in maybe_gen_insn, at optabs.c:7433
Date: Mon, 20 Jan 2020 08:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 10.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-93094-4-wJcKkSf6K5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93094-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93094-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01931.txt.bz2
Content-length: 1159

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93094

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Guenther <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:9c4f0d311810eba3f4faab1295c47eb57e695fcc

commit r10-6083-g9c4f0d311810eba3f4faab1295c47eb57e695fcc
Author: Richard Biener <rguenther@suse.de>
Date:   Wed Jan 15 14:25:38 2020 +0100

    tree-optimization/93094 pass down VECTORIZED_CALL to versioning

    When versioning is run the IL is already mangled and finding
    a VECTORIZED_CALL IFN can fail.

    2020-01-20  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/93094
        * tree-vectorizer.h (vect_loop_versioning): Adjust.
        (vect_transform_loop): Likewise.
        * tree-vectorizer.c (try_vectorize_loop_1): Pass down
        loop_vectorized_call to vect_transform_loop.
        * tree-vect-loop.c (vect_transform_loop): Pass down
        loop_vectorized_call to vect_loop_versioning.
        * tree-vect-loop-manip.c (vect_loop_versioning): Use
        the earlier discovered loop_vectorized_call.

        * gcc.dg/vect/pr93094.c: New testcase.
>From gcc-bugs-return-666204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 08:50:02 2020
Return-Path: <gcc-bugs-return-666204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112929 invoked by alias); 20 Jan 2020 08:50:02 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 112847 invoked by uid 48); 20 Jan 2020 08:49:57 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/93094] [10 Regression] ICE in maybe_gen_insn, at optabs.c:7433
Date: Mon, 20 Jan 2020 08:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 10.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-93094-4-I14qPMqBBN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93094-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93094-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01930.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93094

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-666206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 08:54:59 2020
Return-Path: <gcc-bugs-return-666206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118343 invoked by alias); 20 Jan 2020 08:54:59 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 118306 invoked by uid 55); 20 Jan 2020 08:54:54 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/93301] Wrong optimization: instability of uninitialized variables leads to nonsense
Date: Mon, 20 Jan 2020 08:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 10.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenther at suse dot de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-93301-4-yV9u4YXWtG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93301-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93301-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01932.txt.bz2
Content-length: 1897

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93301

--- Comment #3 from rguenther at suse dot de <rguenther at suse dot de> ---
On Fri, 17 Jan 2020, ch3root at openwall dot com wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93301
> 
> --- Comment #2 from Alexander Cherepanov <ch3root at openwall dot com> ---
> The problem is much more serious. It's not that C has some guarantees about two
> values of `y` while gcc doesn't provide them. It's that one part of gcc assumes
> there are some guarantees about two values of `y` while another part of gcc
> doesn't provide such guarantees.
> 
> There were many discussions about "wobbly" values (DR 260, DR 451 etc.) and I
> don't expect gcc to give the same values for two `y`s at all. The second value
> is taken in the `else` branch, which we don't care about (at least while this
> branch doesn't invoke UB). Given that `b` is `1` we know that the `then` branch
> is taken.
> 
> It's surely possible to make this testcase undefined. If I understand them
> correctly, llvm folks claim that "real compilers" (gcc included I assume)
> follow rules that are more like C++ than C (see the linked clang bug report).
> The C++ rules are much more strict and make `x == y` undefined if `y` is
> uninitialized.
> 
> But my guess is that the C++ rules will not help. The problem is the internal
> inconsistency so everything will blow up independently of any external rules.

But the first use of the undefined value in the comparison makes
everything wobbly.  GCC cannot definitely know the "definedness"
unless it can track down an initialization chain to something
definitely "defined" like a constant.

What happens here is that GCC converts control dependence to data
dependence which makes the "undefinedness" more appearant.

But undefined behavior really means anything can happen, including
wobbling.
>From gcc-bugs-return-666207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 08:58:19 2020
Return-Path: <gcc-bugs-return-666207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 491 invoked by alias); 20 Jan 2020 08:58:19 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 417 invoked by uid 48); 20 Jan 2020 08:58:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/93263] [9/10 Regression] -fno-automatic and RECURSIVE
Date: Mon, 20 Jan 2020 08:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: markeggleston at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority cc
Message-ID: <bug-93263-4-O2BXqbQ8ad@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93263-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93263-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01933.txt.bz2
Content-length: 363

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93263

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
                 CC|                            |jakub at gcc dot gnu.org
>From gcc-bugs-return-666208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 09:00:49 2020
Return-Path: <gcc-bugs-return-666208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4310 invoked by alias); 20 Jan 2020 09:00:49 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 4211 invoked by uid 48); 20 Jan 2020 09:00:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/93159] [10 Regression] ICE (segfault) during RTL pass on arm-linux-gnueabihf
Date: Mon, 20 Jan 2020 09:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 10.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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-93159-4-O59NxvhXHl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93159-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93159-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01934.txt.bz2
Content-length: 234

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93159

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
SO, at which exact stage it is, can you attach preprocessed source + gcc
options if it is reproduceable with that?
>From gcc-bugs-return-666209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 09:01:50 2020
Return-Path: <gcc-bugs-return-666209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5517 invoked by alias); 20 Jan 2020 09:01:50 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 5476 invoked by uid 48); 20 Jan 2020 09:01:45 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/93199] [8/9 Regression] Compile time hog in sink_clobbers
Date: Mon, 20 Jan 2020 09: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: 10.0
X-Bugzilla-Keywords: compile-time-hog, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc
Message-ID: <bug-93199-4-jjBCOhzpZA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93199-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93199-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01935.txt.bz2
Content-length: 833

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93199

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |10.0
            Summary|[8/9/10 Regression] Compile |[8/9 Regression] Compile
                   |time hog in sink_clobbers   |time hog in sink_clobbers

--- Comment #24 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed for GCC 10.  Note the testcase(s) expose other slownesses to be
categorized and filed separately (mainly -O1 [-g] is interesting here, for -O2+
we don't
provide any guarantees with these kind of testcases).  But I don't want to
make this bug more complicated since the sink_clobbers stuff might be
backportable.
>From gcc-bugs-return-666210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 09:27:05 2020
Return-Path: <gcc-bugs-return-666210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84997 invoked by alias); 20 Jan 2020 09:27:05 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 84911 invoked by uid 48); 20 Jan 2020 09:26:58 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/93263] [9/10 Regression] -fno-automatic and RECURSIVE
Date: Mon, 20 Jan 2020 09:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: markeggleston at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-93263-4-1oa7Aft9Qq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93263-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93263-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01936.txt.bz2
Content-length: 664

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93263

Christophe Lyon <clyon at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clyon at gcc dot gnu.org

--- Comment #14 from Christophe Lyon <clyon at gcc dot gnu.org> ---
(In reply to Janne Blomqvist from comment #13)
> Running the testsuite on today's master (2020-01-18) on x86_64-pc-linux-gnu
> fails with
> 
> FAIL: gfortran.dg/pr93263_1.f90   -O   scan-tree-dump-not original
> "integer\\(kind=4\\) a"

Seen on arm too, both master and gcc-9
>From gcc-bugs-return-666211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 09:30:43 2020
Return-Path: <gcc-bugs-return-666211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91687 invoked by alias); 20 Jan 2020 09:30:43 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 91609 invoked by uid 48); 20 Jan 2020 09:30:38 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/92763] [8/9/10 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.c:22659, or in force_type_die, at dwarf2out.c:26224
Date: Mon, 20 Jan 2020 09:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 10.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-92763-4-spx6oYPXd2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-92763-4@http.gcc.gnu.org/bugzilla/>
References: <bug-92763-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01937.txt.bz2
Content-length: 1286

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92763

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
So we're inlining A::omp declare reduction y~i(A::T&)::<lambda()>::operator()
(const struct ._anon_1 * const __closure) which has no abstract origin.

For the -fno-var-tracking-assignments case we are pruning the early DIE of the
function as unused as part of prune_unused_types_prune while we don't when
VTA is enabled.  That's because:

  /* For -fvar-tracking-assignments, also set the mark on nodes that could be
     referenced by DW_TAG_call_site DW_AT_call_origin (i.e. direct call
     callees).  */
  cgraph_node *cnode;
  FOR_EACH_FUNCTION (cnode)
    if (cnode->referred_to_p (false))
      {
        dw_die_ref die = lookup_decl_die (cnode->decl);
        if (die == NULL || die->die_mark)
          continue;
        for (cgraph_edge *e = cnode->callers; e; e = e->next_caller)
          if (e->caller != cnode
              && opt_for_fn (e->caller->decl, flag_var_tracking_assignments))
            {
              prune_unused_types_mark (die, 1);
              break;
            }
      }

I'm not sure why this code shouldn't apply to DW_TAG_inlined_subroutine
which is needed independently of -fvar-tracking-assignments ...
>From gcc-bugs-return-666212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 09:40:15 2020
Return-Path: <gcc-bugs-return-666212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117380 invoked by alias); 20 Jan 2020 09:40:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 117295 invoked by uid 48); 20 Jan 2020 09:40:11 -0000
From: "joel.hutton at arm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/93221] [10 Regression] ICE maximum number of generated reload insns per insn achieved (90) on aarch64
Date: Mon, 20 Jan 2020 09:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 10.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: joel.hutton at arm dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: joel.hutton at arm dot com
X-Bugzilla-Target-Milestone: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-93221-4-HFTJ2Q5r6k@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93221-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93221-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01938.txt.bz2
Content-length: 945

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93221

--- Comment #5 from Joel Hutton <joel.hutton at arm dot com> ---
There's some problem with inserting an OI before an OI, which requires an OI
before it etc.

   18: r98:OI=r99:OI
      REG_DEAD r97:V4SI
    Inserting insn reload before:
   19: r99:OI=r97:V4SI#0

            0 Non input pseudo reload: reject++
          alt=0,overall=13,losers=2,rld_nregs=4
            0 Non pseudo reload: reject++
          alt=1,overall=7,losers=1,rld_nregs=2
            0 Non input pseudo reload: reject++
            1 Spill pseudo into memory: reject+=3
            Using memory insn operand 1: reject+=3
            alt=2,overall=19,losers=2 -- refuse
         Choosing alt 1 in insn 19:  (0) Utv  (1) w {*aarch64_movoi}
      Creating newreg=100, assigning class FP_REGS to r100
   19: r99:OI=r100:OI
    Inserting insn reload before:
   20: r100:OI=r97:V4SI#0
>From gcc-bugs-return-666213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 09:49:43 2020
Return-Path: <gcc-bugs-return-666213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79415 invoked by alias); 20 Jan 2020 09:49:39 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 79380 invoked by uid 48); 20 Jan 2020 09:49:35 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/93263] [9/10 Regression] -fno-automatic and RECURSIVE
Date: Mon, 20 Jan 2020 09:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: markeggleston at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-93263-4-yaWhq6ro1p@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93263-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93263-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01939.txt.bz2
Content-length: 182

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93263

--- Comment #15 from Christophe Lyon <clyon at gcc dot gnu.org> ---

> Seen on arm too, both master and gcc-9

And aarch64 too.
>From gcc-bugs-return-666214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 10:05:29 2020
Return-Path: <gcc-bugs-return-666214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125472 invoked by alias); 20 Jan 2020 10:05:29 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 125182 invoked by uid 48); 20 Jan 2020 10:05:16 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/93297] internal compiler error: in set_constraints, at cp/constraint.cc:
Date: Mon, 20 Jan 2020 10:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 10.0
X-Bugzilla-Keywords: ice-checking, ice-on-invalid-code, ice-on-valid-code
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-93297-4-Av5GsNel5K@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93297-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93297-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01940.txt.bz2
Content-length: 437

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93297

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to fdlbxtqi from comment #3)
> (In reply to Martin Liška from comment #2)
> > Thanks for the report. Can you please send us the command line used for the
> > compilation? Ideally output of -v option.
> 
> g++ -o xxx xxx.cc -Ofast -std=c++2a -s -msse2 -maes -msha

Fine and what tells gcc -v?
>From gcc-bugs-return-666215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 10:09:07 2020
Return-Path: <gcc-bugs-return-666215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2887 invoked by alias); 20 Jan 2020 10:09:07 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 2240 invoked by uid 48); 20 Jan 2020 10:09:02 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/93326] switch optimisation of multiple jumptables into a lookup
Date: Mon, 20 Jan 2020 10: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: 9.2.1
X-Bugzilla-Keywords: missed-optimization
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-93326-4-r0i3x1Bj8V@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93326-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93326-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01941.txt.bz2
Content-length: 501

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93326

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2020-01-20
     Ever confirmed|0                           |1

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
I can take a look.
>From gcc-bugs-return-666216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 10:11:44 2020
Return-Path: <gcc-bugs-return-666216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37514 invoked by alias); 20 Jan 2020 10:11:44 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 35500 invoked by uid 55); 20 Jan 2020 10:11:30 -0000
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/93199] [8/9 Regression] Compile time hog in sink_clobbers
Date: Mon, 20 Jan 2020 10:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 10.0
X-Bugzilla-Keywords: compile-time-hog, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-93199-4-t2ElHnojSV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93199-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93199-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01942.txt.bz2
Content-length: 956

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93199

--- Comment #25 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:

https://gcc.gnu.org/g:92ce93c743b3c81f6911bc3d06056099369e9191

commit r10-6084-g92ce93c743b3c81f6911bc3d06056099369e9191
Author: Martin Liska <mliska@suse.cz>
Date:   Mon Jan 20 11:10:30 2020 +0100

    Record outer non-cleanup region in TREE EH.

        PR tree-optimization/93199
        * tree-eh.c (struct leh_state): Add
        new field outer_non_cleanup.
        (cleanup_is_dead_in): Pass leh_state instead
        of eh_region.  Add a checking that state->outer_non_cleanup
        points to outer non-clean up region.
        (lower_try_finally): Record outer_non_cleanup
        for this_state.
        (lower_catch): Likewise.
        (lower_eh_filter): Likewise.
        (lower_eh_must_not_throw): Likewise.
        (lower_cleanup): Likewise.
>From gcc-bugs-return-666217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 10:17:37 2020
Return-Path: <gcc-bugs-return-666217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52472 invoked by alias); 20 Jan 2020 10:17:36 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 52128 invoked by uid 48); 20 Jan 2020 10:17:31 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/92763] [8/9/10 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.c:22659, or in force_type_die, at dwarf2out.c:26224
Date: Mon, 20 Jan 2020 10:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 10.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: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-92763-4-W2TfAEEMgf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-92763-4@http.gcc.gnu.org/bugzilla/>
References: <bug-92763-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01943.txt.bz2
Content-length: 2024

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92763

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #3)
> So we're inlining A::omp declare reduction
> y~i(A::T&)::<lambda()>::operator() (const struct ._anon_1 * const __closure)
> which has no abstract origin.
> 
> For the -fno-var-tracking-assignments case we are pruning the early DIE of
> the
> function as unused as part of prune_unused_types_prune while we don't when
> VTA is enabled.  That's because:
> 
>   /* For -fvar-tracking-assignments, also set the mark on nodes that could be
>      referenced by DW_TAG_call_site DW_AT_call_origin (i.e. direct call
>      callees).  */
>   cgraph_node *cnode;
>   FOR_EACH_FUNCTION (cnode)
>     if (cnode->referred_to_p (false))
>       {
>         dw_die_ref die = lookup_decl_die (cnode->decl);
>         if (die == NULL || die->die_mark)
>           continue;
>         for (cgraph_edge *e = cnode->callers; e; e = e->next_caller)
>           if (e->caller != cnode
>               && opt_for_fn (e->caller->decl, flag_var_tracking_assignments))
>             {
>               prune_unused_types_mark (die, 1);
>               break;
>             }
>       }
> 
> I'm not sure why this code shouldn't apply to DW_TAG_inlined_subroutine
> which is needed independently of -fvar-tracking-assignments ...

I think the reason for the -fvar-tracking-assignments check is, as the comment
says, to avoid pruning info that the call site info will need, and the call
site info is only emitted if -fvar-tracking-assignments.  DW_TAG_call_site is
only emitted for the calls that remain as calls in the IL till the end, so if
something is inlined, that isn't a call.
we do not want
>From gcc-bugs-return-666218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 10:18:10 2020
Return-Path: <gcc-bugs-return-666218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56113 invoked by alias); 20 Jan 2020 10:18:10 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 53612 invoked by uid 55); 20 Jan 2020 10:18:06 -0000
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/92536] [10 Regression] ICE when trying to using deduction guide following unknown type error
Date: Mon, 20 Jan 2020 10:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 10.0
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit 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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-92536-4-wrZBCGAUKR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-92536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-92536-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01944.txt.bz2
Content-length: 517

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92536

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Paolo Carlini <paolo@gcc.gnu.org>:

https://gcc.gnu.org/g:0757f0bbf3edf43a27ec3f7d2c33ab56f26eb15a

commit r10-6085-g0757f0bbf3edf43a27ec3f7d2c33ab56f26eb15a
Author: Paolo Carlini <paolo.carlini@oracle.com>
Date:   Mon Jan 20 11:17:19 2020 +0100

    Add testcase of PR c++/92536, already fixed.

        PR c++/92536
        * g++.dg/cpp1z/pr92536.C: New.
>From gcc-bugs-return-666220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 10:18:46 2020
Return-Path: <gcc-bugs-return-666220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60745 invoked by alias); 20 Jan 2020 10:18:46 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 60661 invoked by uid 48); 20 Jan 2020 10:18:42 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/92536] [10 Regression] ICE when trying to using deduction guide following unknown type error
Date: Mon, 20 Jan 2020 10:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 10.0
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-92536-4-osHQbytxad@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-92536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-92536-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01946.txt.bz2
Content-length: 436

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92536

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Done.
>From gcc-bugs-return-666219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 10:18:35 2020
Return-Path: <gcc-bugs-return-666219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59996 invoked by alias); 20 Jan 2020 10:18:35 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 59928 invoked by uid 48); 20 Jan 2020 10:18:29 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/92955] [10 regression] gcc.dg/vect/pr60505.c fails starting with r279392
Date: Mon, 20 Jan 2020 10:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 10.0
X-Bugzilla-Keywords: diagnostic, missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status component
Message-ID: <bug-92955-4-LGDVgAdu6M@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-92955-4@http.gcc.gnu.org/bugzilla/>
References: <bug-92955-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01945.txt.bz2
Content-length: 3291

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92955

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|WAITING                     |NEW
          Component|testsuite                   |tree-optimization

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
That does look like the same problem.  I was also able to tweak the test case
so that it reproduces the spurious warning even with an x86_64-linux native
compiler:

$ cat pr92955.c && gcc -O3 -S -Wall pr92955.c 
typedef struct S { unsigned char n, a[4]; } S;

void f (S *s, const unsigned char *p, const unsigned char *q)
{
  long n;

  for (n = 0; n < (s->n & 7); ++n);

  if (p + (4 - n) > q)
    while (p < q)
      s->a[n++] = *p++;
}
pr92955.c: In function ‘f’:
pr92955.c:11:17: warning: writing 1 byte into a region of size 0
[-Wstringop-overflow=]
   11 |       s->a[n++] = *p++;
      |       ~~~~~~~~~~^~~~~~
pr92955.c:1:37: note: at offset [4, 11] to object ‘a’ with size 4 declared here
    1 | typedef struct S { unsigned char n, a[4]; } S;
      |                                     ^

The loop is only unrolled at -O3.  The dump below shows that the last unrolled
iteration accesses the member array at index 4, so it should be avoided
Compiling with -fno-unroll-loops doesn't show the warning.

This is very close to the problem in bug 60505 where the warning was
-Warray-bounds.  The two warnings detect many of the same problems but
-Wstringop-overflow only detects out-of-bounds char stores and runs just a
little before -Warray-bounds so it gets first dibs on diagnosing those.  With
the former suppressed via -Wno-stringop-overflow I would expect -Warray-bounds
to trigger for this test case but it doesn't, even though the IL is the same. 
The false negative seems like a separate bug.

;;   basic block 10, loop depth 0, count 27487790 (estimated locally), maybe
hot
;;    prev block 9, next block 11, flags: (NEW, REACHABLE, VISITED)
;;    pred:       9 [80.0% (guessed)]  count:27487790 (estimated locally)
(TRUE_
VALUE,EXECUTABLE)
  # PT = nonlocal 
  p_46 = p_39 + 1;
  # RANGE [4, 11] NONZERO 15
  n_47 = n_40 + 1;          <<< n_47 is out of bounds here
  # VUSE <.MEM_42>
  _48 = *p_39;
  # .MEM_49 = VDEF <.MEM_42>
  s_15(D)->aD.2902[n_40] = _48;
  if (q_17(D) > p_46)
    goto <bb 11>; [80.00%]
  else
    goto <bb 5>; [20.00%]
;;    succ:       11 [80.0% (guessed)]  count:21990232 (estimated locally)
(TRUE
_VALUE,EXECUTABLE)
;;                5 [20.0% (guessed)]  count:5497558 (estimated locally)
(FALSE_
VALUE,EXECUTABLE)

;;   basic block 11, loop depth 0, count 21990232 (estimated locally), maybe
hot
;;    prev block 10, next block 12, flags: (NEW, REACHABLE, VISITED)
;;    pred:       10 [80.0% (guessed)]  count:21990232 (estimated locally)
(TRUE
_VALUE,EXECUTABLE)
  # PT = nonlocal 
  p_53 = p_46 + 1;
  # RANGE [5, 12] NONZERO 15
  n_54 = n_47 + 1;
  # VUSE <.MEM_49>
  _55 = *p_46;
  # .MEM_56 = VDEF <.MEM_49>
  s_15(D)->aD.2902[n_47] = _55;   <<< n_47 is used here
>From gcc-bugs-return-666221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 10:47:12 2020
Return-Path: <gcc-bugs-return-666221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21539 invoked by alias); 20 Jan 2020 10:47:12 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 21510 invoked by uid 48); 20 Jan 2020 10:47:08 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/93314] [8/9/10 Regression] Invalid use of non-static data member causes ICE in gimplify_expr
Date: Mon, 20 Jan 2020 10: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: 10.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-93314-4-Z3ZpVNiv5A@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93314-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93314-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01947.txt.bz2
Content-length: 3000

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93314

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at gcc dot gnu.org,
                   |                            |rsandifo at gcc dot gnu.org
      Known to work|                            |4.9.4
            Summary|Invalid use of non-static   |[8/9/10 Regression] Invalid
                   |data member causes ICE in   |use of non-static data
                   |gimplify_expr               |member causes ICE in
                   |                            |gimplify_expr
      Known to fail|                            |10.0, 5.0

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed.  Bisection points to r210692 committed into 4.10.0:

gcc/
        * tree.def (VOID_CST): New.
        * tree-core.h (TI_VOID): New.
        * tree.h (void_node): New.
        * tree.c (tree_node_structure_for_code, tree_code_size)
        (iterative_hash_expr): Handle VOID_CST.
        (build_common_tree_nodes): Initialize void_node.

gcc/c-family/
        * c-common.h (CTI_VOID_ZERO, void_zero_node): Delete.
        * c-common.c (c_common_nodes_and_builtins): Don't initialize
        void_zero_node.
        * c-pretty-print.c (pp_c_void_constant): New function.
        (c_pretty_printer::constant, c_pretty_printer::primary_expression)
        (c_pretty_printer::expression): Handle VOID_CST.
        * cilk.c (extract_free_variables): Likewise.
        * c-ubsan.c (ubsan_instrument_division, ubsan_instrument_shift)
        (ubsan_instrument_vla): Use void_node instead of void_zero_node.

gcc/c/
        * c-array-notation.c (expand_array_notations): Use void_node
        instead of void_zero_node.

gcc/cp/
        * cvt.c (convert_to_void): Use void_node instead of void_zero_node.
        * cp-array-notation.c (replace_invariant_exprs): Likewise.
        (expand_array_notation): Handle VOID_CST.
        * error.c (dump_expr): Likewise.
        * cxx-pretty-print.c (cxx_pretty_printer::primary_expression)
        (cxx_pretty_printer::expression): Likewise.
        (pp_cxx_new_expression): Use void_node instead of void_zero_node.
        * decl.c (register_dtor_fn): Likewise.
        * init.c (build_raw_new_expr, build_new_1, build_vec_init)
        (build_delete, push_base_cleanups): Likewise.
        * mangle.c (write_expression): Likewise.
        * semantics.c (finish_break_stmt, empty_expr_stmt_p): Likewise.
        * pt.c (tsubst_decl, tsubst_copy_and_build): Likewise.
        (tsubst, tsubst_copy, build_non_dependent_expr): Handle VOID_CST.
        * tree.c (cp_tree_equal): Likewise.
        (build_dummy_object, is_dummy_object, stabilize_expr): Use void_node
        instead of void_zero_node.
        * typeck.c (check_return_expr): Likewise.
        * typeck2.c (build_functional_cast): Likewise.
>From gcc-bugs-return-666222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 10:53:24 2020
Return-Path: <gcc-bugs-return-666222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73242 invoked by alias); 20 Jan 2020 10:53:24 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 73216 invoked by uid 48); 20 Jan 2020 10:53:21 -0000
From: "felix-gcc at fefe dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/93328] New: missed optimization opportunity in deserialization code
Date: Mon, 20 Jan 2020 10:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: felix-gcc at fefe dot de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-93328-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01948.txt.bz2
Content-length: 1285

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93328

            Bug ID: 93328
           Summary: missed optimization opportunity in deserialization
                    code
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: felix-gcc at fefe dot de
  Target Milestone: ---

Deserialization code often deals with endianness and alignment. However, in
some cases, the protocol endianness is the same as the host endianness, and
your platform does not care about alignment or has an unaligned load
instruction. Take this code, for example:

unsigned int foo(const unsigned char* c) {
  return c[0] + c[1]*0x100 + c[2]*0x10000 + c[3]*0x1000000;
}

On i386 or x86_64, this could just be compiled into a single load.
In fact, clang does compile this into a single load.
gcc however turns it into four loads and three shifts.

For some use cases this optimization could be a huge improvement. In fact, even
if the alignment does not match, this could be a huge improvement. The compiler
could turn it into an load + bswap.
In fact, clang does compile the big endian version into a load + bswap.
>From gcc-bugs-return-666223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 11:01:52 2020
Return-Path: <gcc-bugs-return-666223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102997 invoked by alias); 20 Jan 2020 11:01:52 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 102970 invoked by uid 48); 20 Jan 2020 11:01:48 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/92955] [10 regression] gcc.dg/vect/pr60505.c fails starting with r279392
Date: Mon, 20 Jan 2020 11: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: 10.0
X-Bugzilla-Keywords: diagnostic, missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-92955-4-gVeI2bCviB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-92955-4@http.gcc.gnu.org/bugzilla/>
References: <bug-92955-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01949.txt.bz2
Content-length: 1036

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92955

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
An even simpler test case.  Changing the index in g() to unsigned avoids the
warning.

$ cat pr92955.c && gcc -O3 -S -Wall pr92955.c
typedef struct S { unsigned char n, a[4]; } S;

void f (S *s, const unsigned char *p, int n)
{
  int i = n < 0 ? 0 : n;

  while (*p)
    s->a[i++] = *p++;   // no warning (good)
}

void g (S *s, const unsigned char *p, int n)
{
  int i;

  for (i = 0; i < n; ++i);

  while (*p)
    s->a[i++] = *p++;   // spurious -Wstringop-overflow
}


pr92955.c: In function ‘g’:
pr92955.c:18:15: warning: writing 1 byte into a region of size 0
[-Wstringop-overflow=]
   18 |     s->a[i++] = *p++;   // spurious -Wstringop-overflow
      |     ~~~~~~~~~~^~~~~~
pr92955.c:1:37: note: at offset [4, 2147483647] to object ‘a’ with size 4
declared here
    1 | typedef struct S { unsigned char n, a[4]; } S;
      |                                     ^
>From gcc-bugs-return-666224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 11:18:46 2020
Return-Path: <gcc-bugs-return-666224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76327 invoked by alias); 20 Jan 2020 11:18:46 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 76224 invoked by uid 48); 20 Jan 2020 11:18:33 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/92816] [10 Regression] 35% performance drop for 433.milc with -O2 -flto on znver1 since r278879
Date: Mon, 20 Jan 2020 11:18: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: 10.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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-92816-4-0sXINDrHur@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-92816-4@http.gcc.gnu.org/bugzilla/>
References: <bug-92816-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01950.txt.bz2
Content-length: 502

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92816

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #2)
> It does not reproduce for me on bdver1 and also it does not seem to
> reproduce at skylake (with generic tuning)
> https://lnt.opensuse.org/db_default/v4/SPEC/graph?highlight_run=8405&plot.
> 70=227.70.0
> 
> So we need to profile it on zen...

Yes. Feel free to grab a free Zen machine (a non-LNT machine) we have at SUSE.
>From gcc-bugs-return-666225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 11:25:11 2020
Return-Path: <gcc-bugs-return-666225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90303 invoked by alias); 20 Jan 2020 11:25:11 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 90268 invoked by uid 48); 20 Jan 2020 11:25:07 -0000
From: "burnus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/93329] New: ICE in omp_code_to_statement, at fortran/openmp.c:5902
Date: Mon, 20 Jan 2020 11:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: openacc, openmp
X-Bugzilla-Severity: normal
X-Bugzilla-Who: burnus at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-93329-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01951.txt.bz2
Content-length: 1114

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93329

            Bug ID: 93329
           Summary: ICE in omp_code_to_statement, at fortran/openmp.c:5902
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: openacc, openmp
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
  Target Milestone: ---

The following program fails when compiled with -fopenacc & -fopenacc
simultaneously:

$ gfortran-trunk -fopenmp -fopenacc -foffload=disable foo3.f90
f951: internal compiler error: in omp_code_to_statement, at
fortran/openmp.c:5902
0x5fc40b omp_code_to_statement
        ../../repos/gcc/gcc/fortran/openmp.c:5902
0x5fc40b omp_code_to_statement
        ../../repos/gcc/gcc/fortran/openmp.c:5875
0x8c77e4 resolve_omp_directive_inside_oacc_region
        ../../repos/gcc/gcc/fortran/openmp.c:5955

!-------------------------
!$acc kernels copyout(x)
!$omp target map(from:x)
x = 5
!$omp end target
!$acc end kernels
print *, 'hello', x
end
>From gcc-bugs-return-666226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 11:46:36 2020
Return-Path: <gcc-bugs-return-666226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45533 invoked by alias); 20 Jan 2020 11:46:36 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 45514 invoked by uid 48); 20 Jan 2020 11:46:32 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/93328] missed optimization opportunity in deserialization code
Date: Mon, 20 Jan 2020 11: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: 10.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 component version everconfirmed
Message-ID: <bug-93328-4-PbUeDxIJ82@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93328-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93328-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01952.txt.bz2
Content-length: 955

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93328

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2020-01-20
          Component|rtl-optimization            |tree-optimization
            Version|unknown                     |10.0
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
The bswap pass doesn't handle multiplication or plus, if you write your
function using shifts and bitwise or we can optimize it.

Not to difficult to teach the pass the other forms I guess and a
canonicalization opportunity as well (as usual integer promotion rules make
things complicated).
>From gcc-bugs-return-666227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 11:50:15 2020
Return-Path: <gcc-bugs-return-666227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51522 invoked by alias); 20 Jan 2020 11:50:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 51467 invoked by uid 48); 20 Jan 2020 11:50:11 -0000
From: "burnus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/93330] New: CHARACTER: Wrong kind=4 resolution +   missing string-length mismatch actual/dummy diagnostic
Date: Mon, 20 Jan 2020 11:50: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: accepts-invalid, diagnostic, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: burnus at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone attachments.created
Message-ID: <bug-93330-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01953.txt.bz2
Content-length: 2521

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93330

            Bug ID: 93330
           Summary: CHARACTER: Wrong kind=4 resolution +   missing
                    string-length mismatch actual/dummy diagnostic
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: accepts-invalid, diagnostic, rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
                CC: tkoenig at gcc dot gnu.org
  Target Milestone: ---

Created attachment 47682
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47682&action=edit
Test case

Found when looking at the posted patch for PR 85781.

There are three issues:
* 4_"abc"(2:2) is wrongly converted to a kind-1 character → rejects-valid
* Passing a zero-length string to a nonzero-length dummy argument gives no
  warning (or error). [Note: passing a len > 0 string does] → diagnostic
* Passing a too-long kind-4 character string should give an error/warning
  but it does not. → diagnostic

One can argue whether a warning or an error is better; the standard has "shell"
but it is not a constraint.

 * * *

Related: I wonder whether some -W option should also warn when passing a too
long string. While valid, it can be sometimes surprising if one passes some
argument – and it then gets truncated, e.g.

call foo('abc')
contains
  subroutine foo(x)
   character(len=2) :: x
   print *, x
end
end

 * * *

Fortran 2018 has in 15.5.2.4:

"The length type parameter values of a present actual argument shall agree with
the corresponding ones of the dummy argument that are not assumed, except for
the case of the character length parameter of an actual argument of type
character with default kind or C character kind (18.2.2) associated with a
dummy argument that is not assumed-shape or assumed-rank.

"If a present scalar dummy argument is of type character with default kind or C
character kind, the length len of the dummy argument shall be less than or
equal to the length of the actual argument. The dummy argument becomes
associated with the leftmost len characters of the actual argument. If a
present array dummy argument is of type character with default kind or C
character kind and is not assumed-shape or assumed-rank, it becomes associated
with the leftmost characters of the actual argument element sequence
(15.5.2.11)."
>From gcc-bugs-return-666228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 11:50:52 2020
Return-Path: <gcc-bugs-return-666228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52933 invoked by alias); 20 Jan 2020 11:50:52 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 52884 invoked by uid 48); 20 Jan 2020 11:50:48 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/93327] Performance degradation of povray benchmark from gcc 8.3.1 to gcc 9.2.1
Date: Mon, 20 Jan 2020 11:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-93327-4-2dbcfdCu6Y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93327-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93327-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01954.txt.bz2
Content-length: 594

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93327

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2020-01-20
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
453.povray doesn't exhibit this slowdown.  Btw, cruical information is missing,
for example compiler options used.
>From gcc-bugs-return-666230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 11:57:55 2020
Return-Path: <gcc-bugs-return-666230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62432 invoked by alias); 20 Jan 2020 11:57:54 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 62382 invoked by uid 55); 20 Jan 2020 11:57:50 -0000
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/92763] [8/9 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.c:22659, or in force_type_die, at dwarf2out.c:26224
Date: Mon, 20 Jan 2020 11:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 10.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-92763-4-o48QLi6R6f@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-92763-4@http.gcc.gnu.org/bugzilla/>
References: <bug-92763-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01956.txt.bz2
Content-length: 942

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92763

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Guenther <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:991b91497fd50f6e70e5f2c0cfa96e1b74157bdc

commit r10-6087-g991b91497fd50f6e70e5f2c0cfa96e1b74157bdc
Author: Richard Biener <rguenther@suse.de>
Date:   Mon Jan 20 10:36:09 2020 +0100

    debug/92763 keep DIEs that might be used in DW_TAG_inlined_subroutine

    We were pruning type-local subroutine DIEs if their context is unused
    despite us later needing those DIEs as abstract origins for inlines.
    The patch makes code already present for -fvar-tracking-assignments
    unconditional.

    2020-01-20  Richard Biener  <rguenther@suse.de>

        PR debug/92763
        * dwarf2out.c (prune_unused_types): Unconditionally mark
        called function DIEs.

        * g++.dg/debug/pr92763.C: New testcase.
>From gcc-bugs-return-666229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 11:57:41 2020
Return-Path: <gcc-bugs-return-666229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61710 invoked by alias); 20 Jan 2020 11:57:41 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 61664 invoked by uid 48); 20 Jan 2020 11:57:37 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/92763] [8/9 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.c:22659, or in force_type_die, at dwarf2out.c:26224
Date: Mon, 20 Jan 2020 11:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 10.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-92763-4-usyZDuZ24m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-92763-4@http.gcc.gnu.org/bugzilla/>
References: <bug-92763-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01955.txt.bz2
Content-length: 799

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92763

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |10.0
            Summary|[8/9/10 Regression] ICE in  |[8/9 Regression] ICE in
                   |dwarf2out_abstract_function |dwarf2out_abstract_function
                   |, at dwarf2out.c:22659, or  |, at dwarf2out.c:22659, or
                   |in force_type_die, at       |in force_type_die, at
                   |dwarf2out.c:26224           |dwarf2out.c:26224
      Known to fail|10.0                        |

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed on trunk sofar.
>From gcc-bugs-return-666232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 12:02:45 2020
Return-Path: <gcc-bugs-return-666232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68734 invoked by alias); 20 Jan 2020 12:02:45 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 68593 invoked by uid 48); 20 Jan 2020 12:02:33 -0000
From: "joel.hutton at arm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/93221] [10 Regression] ICE maximum number of generated reload insns per insn achieved (90) on aarch64
Date: Mon, 20 Jan 2020 12: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: 10.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: joel.hutton at arm dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: joel.hutton at arm dot com
X-Bugzilla-Target-Milestone: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-93221-4-0Dn8Kecu62@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93221-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93221-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01958.txt.bz2
Content-length: 396

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93221

--- Comment #6 from Joel Hutton <joel.hutton at arm dot com> ---
The regression seems to be introduced by this commit:

commit 11b8091fb33c894cea20702d3e85389723987910
Author: Eric Botcazou <ebotcazou@adacore.com>
Date:   Wed Dec 18 23:03:23 2019 +0000

    * ira.c (ira): Use simple LRA algorithm when not optimizing.

    From-SVN: r279550
>From gcc-bugs-return-666231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 12:02:23 2020
Return-Path: <gcc-bugs-return-666231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67887 invoked by alias); 20 Jan 2020 12:02:23 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 67817 invoked by uid 55); 20 Jan 2020 12:02:19 -0000
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/93246] [8 Regression] Unexpected program behavior when -fsanitize­dress and -O2/O3 used
Date: Mon, 20 Jan 2020 12:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 9.2.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-93246-4-rnWcnj7FHS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-93246-4@http.gcc.gnu.org/bugzilla/>
References: <bug-93246-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2020-01/txt/msg01957.txt.bz2
Content-length: 1388

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93246

--- Comment #15 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Richard Guenther
<rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:20e9d78543493f2f6aeef19af4cea54696247fc8

commit r9-8147-g20e9d78543493f2f6aeef19af4cea54696247fc8
Author: Richard Biener <rguenther@suse.de>
Date:   Tue Jan 14 08:43:32 2020 +0100

    PR middle-end/93246 - missing alias subsets

    Starting with the introduction of TYPE_TYPELESS_STORAGE the situation
    of having a alias-set zero aggregate field became more common which
    prevents recording alias-sets of fields of said aggregate as subset
    of the outer aggregate.  component_uses_parent_alias_set_from in the
    past fended off some of the issues with that but the alias oracles
    use of the alias set of the base of an access path never appropriately
    handled it.

    The following makes it so that alias-sets of fields of alias-set zero
    aggregate fields are still recorded as subset of the container.

    2020-01-14  Richard Biener  <rguenther@suse.de>

        PR middle-end/93246
        * alias.c (record_component_aliases): Take superset to record
        into, recurse for alias-set zero fields.
        (record_component_aliases): New oveerload wrapping around the above.

        * g++.dg/torture/pr93246.C: New testcase.
>From gcc-bugs-return-666233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 20 12:27:51 2020
Return-Path: <gcc-bugs-return-666233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38488 invoked by alias); 20 Jan 2020 12:27:51 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 38460 invoked by uid 89); 20 Jan 2020 12:27:51 -0000
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=3.3 required=5.0 tests=AWL,BAYES_50,HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_GREY autolearn=no version=3.3.1 spammy=upn, H*M:sendgrid, H*MI:sk:ismtpd0, H*MI:sendgrid
X-HELO: o2.lv30e.shared.sendgrid.net
Received: from o2.lv30e.shared.sendgrid.net (HELO o2.lv30e.shared.sendgrid.net) (50.31.63.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 20 Jan 2020 12:27:41 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sendgrid.net; 	h=content-type:mime-version:subject:to:from; s=smtpapi; 	bh=l9qI4cfvu15wEbmT99n+D4gBc3tIpXRNZLQ8rTWxVMs=; b=Gq7Ucl29Ihy3G	DJvsK1RItzTJIWU8UkDi1hE/wvryEeiZmISa1VJ7NZ/HlXn6rU33mEyqneMXdTIJ	y5AiFwR8ULW7HoOfm00KRP597mIdGEQPT0vL3j/+V3HEhZlgszeYgbPVcgDjVZnV	goSQV0Z0Ut8da0G3UVPqPqXK9QFHzQReceived: by filter2130p1mdw1.sendgrid.net with SMTP id filter2130p1mdw1-23773-5E259591-A        2020-01-20 11:57:05.211562327 +0000 UTC m=+489004.187452668
Received: from WIN-7Q5ED51QG4U.ec2.internal (ec2-52-91-20-203.compute-1.amazonaws.com [52.91.20.203])	by ismtpd0090p1iad2.sendgrid.net (SG) with ESMTP id 28bc4GxsRSyWBlstqpxwJw	for <gcc-bugs@gcc.gnu.org>; Mon, 20 Jan 2020 11:57:05.188 +0000 (UTC)
MIME-Version: 1.0
Subject: Quota exceeded
To: gcc-bugs@gcc.gnu.org
From: Server <test@mxsouth.com>
Date: Mon, 20 Jan 2020 12:27:00 -0000
Message-ID: <28bc4GxsRSyWBlstqpxwJw@ismtpd0090p1iad2.sendgrid.net>
X-SG-EID: so+5eOIRbGkGykpCG15cyLckLIUjz5743fjk2uK2FzI+ltsikJynCnGgjVMPNl8/NqK8CHKOowR6Bn gawOJHZSGXfI8NURNAfefD2QERo8m+C377tv+Q/gSNG4gKEjqnToR/y2hyVefIxMZKbj7k98rX52fa rssKwAjpfxeIlQJaWUuVDysOdCC/tWU4HDRblKpKjPE+VO6LaVjKn4B2Hw=Content-Description: Mail message body
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-SW-Source: 2020-01/txt/msg01959.txt.bz2
Content-length: 394

 
    
    Mail Quota: (99% Full)	 
 

 
    The size limit of 4096 MB for mailbox gcc-bugs@gcc.gnu.org
  has been exceeded. Incoming mail is currently being rejected. To upgrade for more Megabytes [MB].

Upgrade Email Quota 


 Note: This upgrade is required immediately after receiving this message
 



 
 WARNING: Maximum email gcc-bugs@gcc.gnu.org size exceeded


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug ipa/93318] [10 regression] Firefox LTO+FDO ICEs in speculative_call_info
       [not found] <bug-93318-4@http.gcc.gnu.org/bugzilla/>
  2020-01-19 23:09 ` [Bug ipa/93318] [10 regression] Firefox LTO+FDO ICEs in speculative_call_info hubicka at ucw dot cz
@ 2022-05-13  9:42 ` luoxhu at gcc dot gnu.org
  2022-05-13 10:07 ` luoxhu at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: luoxhu at gcc dot gnu.org @ 2022-05-13  9:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93318

luoxhu at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |luoxhu at gcc dot gnu.org

--- Comment #9 from luoxhu at gcc dot gnu.org ---
I have a testcase ICE at:

external/com_google_protobuf/src/google/protobuf/message_lite.h:515:68:
internal compiler error: Segmentation fault
0xde2816 crash_signal
        ../../gcc/toplev.c:328
0xe82370 copy_bb
        ../../gcc/tree-inline.c:2204
0xe84afa copy_cfg_body
        ../../gcc/tree-inline.c:3022
0xe855ea copy_body
        ../../gcc/tree-inline.c:3270
0xe8945b expand_call_inline
        ../../gcc/tree-inline.c:5061
0xe8a055 gimple_expand_calls_inline
        ../../gcc/tree-inline.c:5251
0xe8a831 optimize_inline_calls(tree_node*)
        ../../gcc/tree-inline.c:5424
0xb976ea inline_transform(cgraph_node*)
        ../../gcc/ipa-inline-transform.c:736
0xd1a147 execute_one_ipa_transform_pass
        ../../gcc/passes.c:2233
0xd1a2a1 execute_all_ipa_transforms(bool)
        ../../gcc/passes.c:2272
0x901809 cgraph_node::expand()
        ../../gcc/cgraphunit.c:2293
0x901e4a expand_all_functions
        ../../gcc/cgraphunit.c:2471
0x9028dd symbol_table::compile()
        ../../gcc/cgraphunit.c:2822
0x834fbc lto_main()
        ../../gcc/lto/lto.c:653


tree-inline.c:2204

2204:    cgraph_edge *indirect = old_edge->speculative_call_indirect_edge ();
2205:    profile_count indir_cnt = indirect->count;

the returned indirect is 0 caused assert on 2205.



(gdb) p old_edge->caller->debug()
_ZNK6google8protobuf11MessageLite23IsInitializedWithErrorsEv/15805768
(IsInitializedWithErrors) @0x7ffff6d44438
  Type: function definition analyzed
  Visibility: external public visibility_specified visibility:hidden
  References: _ZNK4trpc15RequestProtocol13IsInitializedEv/15470318 (addr)
(speculative)
  Referring:
  Function IsInitializedWithErrors/15805768 is inline copy in
OnExtendedInfosReceive/3878638
  Availability: local
  Unit id: 1201
  Function flags: count:26415 (adjusted) first_run:577 body local hot
  Called by:
_ZN7yottadb2ds18BoundedReadWatcher22OnExtendedInfosReceiveERKSs/3878638
(inlined) (26415 (adjusted),1.00
per call) (can throw external)
  Calls:
_ZNK6google8protobuf11MessageLite29LogInitializationErrorMessageEv/15806151 (0
(guessed),0.00 per call) (can
throw external)
_ZNK7yottadb2ds28AppendLogRequestExtendedInfo13IsInitializedEv.constprop.0/16350633
(speculative) (inl
ined) (12547 (adjusted),0.47 per call) (can throw external)
_ZNK7yottadb2ds28AppendLogRequestExtendedInfo13IsInitializ
edEv.constprop.0/16375492 (inlined) (indirect_inlining) (13868 (adjusted),0.52
per call) (can throw external)
$84 = void
(gdb) p old_edge->callee->debug()
_ZNK7yottadb2ds28AppendLogRequestExtendedInfo13IsInitializedEv.constprop.0/16350633
(IsInitialized.constprop) @0x7ffff
6d44b40
  Type: function definition analyzed
  Visibility: artificial
  References:
  Referring:
  Read from file: db_server.ltrans32.o
  Function IsInitialized.constprop/16350633 is inline copy in
OnExtendedInfosReceive/3878638
  Availability: local
  Unit id: 116
  Function flags: count:12547 (adjusted) first_run:8235 body local icf_merged
nonfreeing_fn
  Called by:
_ZNK6google8protobuf11MessageLite23IsInitializedWithErrorsEv/15805768
(speculative) (inlined) (12547 (adj
usted),0.47 per call) (can throw external)
  Calls:


In wpa.079i.inline, it has TWO *polymorphic indirect call* speculative targets,
I wrote a case like it but passed.

_ZNK6google8protobuf11MessageLite23IsInitializedWithErrorsEv/15805768
(IsInitializedWithErrors) @0x7efdc479a2d0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  previous sharing asm name: 16375490
  References: _ZNK4trpc15RequestProtocol13IsInitializedEv/15470318 (addr)
(speculative) _ZNK7yottadb3rpc17RunCommandRequest13IsInitializedEv/9954194
(addr) (speculative)
  Referring:
  Read from file:
bazel-out/k8-dbg/bin/external/com_google_protobuf/libprotobuf_lite.a
  Availability: local
  Profile id: 19598949
  Unit id: 1200
  Function flags: count:1072 (adjusted) first_run:577 local
  Called by:
_ZN6google8protobuf11MessageLite9ParseFromILNS1_10ParseFlagsE1ESsEEbRKT0_/16456195
(1824663 (estimated locally),0.00 per call) (can throw external)
_ZN6google8protobuf11MessageLite9ParseFromILNS1_10ParseFlagsE1EPNS0_2io19ZeroCopyInputStreamEEEbRKT0_/15806727
(14 (adjusted),1.00 per call) (can throw external)
_ZN6google8protobuf11MessageLite9ParseFromILNS1_10ParseFlagsE1ESsEEbRKT0_/15806733
(1006 (adjusted),1.00 per call) (can throw external)
_ZN6google8protobuf11MessageLite9ParseFromILNS1_10ParseFlagsE1ENS0_11StringPieceEEEbRKT0_/15806735
(52 (precise),1.00 per call) (can throw external)
  Calls:
_ZNK7yottadb2ds28AppendLogRequestExtendedInfo13IsInitializedEv.constprop.0/16365519
(speculative) (inlined) (456 (adjusted),0.43 per call) (can throw external)
_ZNK7yottadb2ds28AppendLogRequestExtendedInfo13IsInitializedEv.constprop.0/16365518
(speculative) (inlined) (509 (adjusted),0.47 per call) (can throw external)
_ZNK6google8protobuf11MessageLite29LogInitializationErrorMessageEv/15806151 (0
(guessed),0.00 per call) (can throw external)
   Polymorphic indirect call of type const struct MessageLite
token:8(speculative) (106 (adjusted),0.10 per call) (can throw external)  of
param:0 Num speculative call targets: 2
    Outer type (dynamic):struct MessageLite (or a derived type) offset 0


The only other difference is IsInitialized.constprop is *indirect_inlining*
into caller, it seems NOT easy to reduce protobuf to a small case, any clue to
fix it? Thanks.
@Honza

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug ipa/93318] [10 regression] Firefox LTO+FDO ICEs in speculative_call_info
       [not found] <bug-93318-4@http.gcc.gnu.org/bugzilla/>
  2020-01-19 23:09 ` [Bug ipa/93318] [10 regression] Firefox LTO+FDO ICEs in speculative_call_info hubicka at ucw dot cz
  2022-05-13  9:42 ` luoxhu at gcc dot gnu.org
@ 2022-05-13 10:07 ` luoxhu at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: luoxhu at gcc dot gnu.org @ 2022-05-13 10:07 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93318

--- Comment #10 from luoxhu at gcc dot gnu.org ---
And the Profile id of that node is streamed to many objects after lto
partition:

grep --  "19598949" **
db_server.ltrans0.000i.cgraph:  Profile id: 19598949
db_server.ltrans0.000i.cgraph:  Profile id: 19598949
db_server.ltrans0.000i.cgraph:  Profile id: 19598949
db_server.ltrans0.079i.inline:  Profile id: 19598949
db_server.ltrans0.079i.inline:  Profile id: 19598949
db_server.ltrans12.000i.cgraph:  Profile id: 19598949
db_server.ltrans12.000i.cgraph:  Profile id: 19598949
db_server.ltrans12.000i.cgraph:  Profile id: 19598949
db_server.ltrans14.000i.cgraph:  Profile id: 19598949
db_server.ltrans26.000i.cgraph:  Profile id: 19598949
db_server.ltrans26.000i.cgraph:  Profile id: 19598949
db_server.ltrans26.000i.cgraph:  Profile id: 19598949
db_server.ltrans31.000i.cgraph:  Profile id: 19598949
db_server.ltrans32.000i.cgraph:  Profile id: 19598949
db_server.wpa.000i.cgraph:  Profile id: 19598949
db_server.wpa.001i.lto-link:  Profile id: 19598949
db_server.wpa.003i.lto-partition:  Profile id: 19598949
db_server.wpa.070i.whole-program:  Profile id: 19598949
db_server.wpa.071i.profile_estimate:  Profile id: 19598949
db_server.wpa.072i.icf:  Profile id: 19598949
db_server.wpa.073i.devirt:  Profile id: 19598949
db_server.wpa.074i.cp:  Profile id: 19598949
db_server.wpa.075i.sra:  Profile id: 19598949
db_server.wpa.078i.fnsummary:  Profile id: 19598949
db_server.wpa.079i.inline:  Profile id: 19598949
db_server.wpa.080i.pure-const:  Profile id: 19598949
db_server.wpa.080i.pure-const:  Profile id: 19598949
db_server.wpa.080i.pure-const:  Profile id: 19598949
db_server.wpa.080i.pure-const:  Profile id: 19598949
db_server.wpa.082i.static-var:  Profile id: 19598949
db_server.wpa.082i.static-var:  Profile id: 19598949

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-13 10:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-93318-4@http.gcc.gnu.org/bugzilla/>
2020-01-19 23:09 ` [Bug ipa/93318] [10 regression] Firefox LTO+FDO ICEs in speculative_call_info hubicka at ucw dot cz
2022-05-13  9:42 ` luoxhu at gcc dot gnu.org
2022-05-13 10:07 ` luoxhu at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).