https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84923
--- Comment #8 from Jeffrey A. Law ---
Author: law
Date: Mon May 21 20:30:00 2018
New Revision: 260485
URL: https://gcc.gnu.org/viewcvs?rev=260485&root=gcc&view=rev
Log:
PR gcc/84923
* varasm.c (weak_finish): Clean up weak_decls.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84923
--- Comment #7 from Vladimir Mezentsev
---
About comment #3 and #4.
I cannot reproduce a problem.
Is it a cross compilation on x86 for aarch64 ?
What need to do to reproduce the problem ?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84923
Jakub Jelinek changed:
What|Removed |Added
Target Milestone|8.0 |8.2
--- Comment #6 from Jakub Jelinek -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84923
--- Comment #5 from Richard Biener ---
So in spirit of the comment#2 patch I'd propose
Index: gcc/varasm.c
===
--- gcc/varasm.c(revision 259638)
+++ gcc/varasm.c(wor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84923
--- Comment #4 from Ramana Radhakrishnan ---
(In reply to Richard Biener from comment #3)
> For x86_64 if I append
>
> const int *dat[] = { &Wv12, &wv12 };
>
> the testcase links fine irrespective of where I place the
>
> .weakref
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84923
--- Comment #3 from Richard Biener ---
For x86_64 if I append
const int *dat[] = { &Wv12, &wv12 };
the testcase links fine irrespective of where I place the
.weakrefWv12,wv12
.weak wv12
assembler declarations.
When
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84923
Richard Biener changed:
What|Removed |Added
Component|c |target
Known to work|