https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89014
--- Comment #9 from Wilco ---
Author: wilco
Date: Fri Nov 29 17:22:30 2019
New Revision: 278854
URL: https://gcc.gnu.org/viewcvs?rev=278854&root=gcc&view=rev
Log:
aarch64: fix use-after-free in -march=native (PR driver/89014)
Running:
$ valgr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89014
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89014
--- Comment #7 from David Malcolm ---
Author: dmalcolm
Date: Wed Jan 23 16:36:46 2019
New Revision: 268189
URL: https://gcc.gnu.org/viewcvs?rev=268189&root=gcc&view=rev
Log:
aarch64: fix use-after-free in -march=native (PR driver/89014)
Running
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89014
--- Comment #6 from David Malcolm ---
Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2019-01/msg01381.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89014
--- Comment #5 from David Malcolm ---
(In reply to ktkachov from comment #4)
> Yeah, the fix looks right.
> For the rest of the assembler errors we need the patch at:
> https://gcc.gnu.org/ml/gcc-patches/2019-01/msg00562.html
Thanks; Tamar's pat
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89014
--- Comment #3 from David Malcolm ---
The obvious fix:
diff --git a/gcc/config/aarch64/driver-aarch64.c
b/gcc/config/aarch64/driver-aarch64.c
index 2bf1f9a8c13..100e0c3529c 100644
--- a/gcc/config/aarch64/driver-aarch64.c
+++ b/gcc/config/aarch6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89014
--- Comment #4 from ktkachov at gcc dot gnu.org ---
Yeah, the fix looks right.
For the rest of the assembler errors we need the patch at:
https://gcc.gnu.org/ml/gcc-patches/2019-01/msg00562.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89014
--- Comment #2 from Jakub Jelinek ---
Guess this regressed with r234877, but as -m*=native for aarch64 is supported
only since r222415, no GCC release actually supported it reliably.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89014
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89014
--- Comment #1 from David Malcolm ---
Reproducer:
$ valgrind ./xgcc -B. -c test.c -march=native -v
(with a dummy test.c; see with today's trunk e.g. r268186)
10 matches
Mail list logo