Bug 1965951 - Wrong-code regression starting with gcc 8.5
Summary: Wrong-code regression starting with gcc 8.5
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: gcc
Version: 8.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Marek Polacek
QA Contact: Václav Kadlčík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-31 08:30 UTC by Jakub Jelinek
Modified: 2023-07-18 14:19 UTC (History)
6 users (show)

Fixed In Version: gcc-8.5.0-2.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 19:35:43 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 100797 0 P2 ASSIGNED [10/11/12 Regression] using declaration causing virtual call with wrongly adjusted this pointer 2021-05-31 08:31:40 UTC
Red Hat Product Errata RHSA-2021:4386 0 None None None 2021-11-09 19:35:57 UTC

Description Jakub Jelinek 2021-05-31 08:30:26 UTC
The https://gcc.gnu.org/PR95719 bugfix has been backported also to the 8.x branch before the branch has been closed with gcc 8.5.0 release.
Unfortunately, that fix caused a regression which can be seen e.g. when building libreoffice, as reported in https://gcc.gnu.org/PR100797.
The fix that was added to gcc 9.x needs to be backported to our gcc 8.5.0.

Comment 4 Václav Kadlčík 2021-06-29 15:44:40 UTC
Verified: gcc-8.5.0-2.el8

Comment 6 errata-xmlrpc 2021-11-09 19:35:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Low: gcc security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:4386


Note You need to log in before you can comment on or make changes to this bug.