Bug 1925632 - aarch64: -ftree-vectorize generates wrong code with gcc 8 & 9 [NEEDINFO]
Summary: aarch64: -ftree-vectorize generates wrong code with gcc 8 & 9
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: gcc
Version: 8.4
Hardware: aarch64
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.0
Assignee: Marek Polacek
QA Contact: Alexandra Petlanová Hájková
URL: https://gcc.gnu.org/bugzilla/show_bug...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-05 18:25 UTC by Jeremy Linton (ARM)
Modified: 2023-07-18 14:19 UTC (History)
4 users (show)

Fixed In Version: gcc-8.4.1-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:
mpolacek: needinfo? (jlinton)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4386 0 None None None 2021-11-09 19:35:57 UTC

Description Jeremy Linton (ARM) 2021-02-05 18:25:06 UTC
Description of problem: There is a vectorization codegen problem in gcc8/9 on aarch64. This is a RHEL8 clone of the defect at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98949


Version-Release number of selected component (if applicable): RHEL 8.x/gcc 8


How reproducible: 100% given the testcase at the above url


Steps to Reproduce:
1. build & run testcase for assertion

Not sure if I should open a DTS9 specific bug too...

Comment 4 Marek Polacek 2021-04-08 20:31:42 UTC
Unfortunately the patch (Comment 3) broke everything on aarch64, so I've reverted it.  But it should be brought as part of a wider rebase, tracked in bug 1946758.  Resetting DTM/ITM.

Comment 9 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.