http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51643
--- Comment #15 from Alexander Osipenko 2011-12-23
00:40:13 UTC ---
Oh, I see, thanks!
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51643
--- Comment #13 from Alexander Osipenko 2011-12-22
21:31:56 UTC ---
Thanks, Richard!
It now works fine with -mabi=aapcs
Perhaps I don't understand some details, could you tell me why the
-mabi=aapcs-linux is not included in this fix?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51642
Alexander Osipenko changed:
What|Removed |Added
Known to work||4.7.0
--- Comment #2 from Alexander
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51643
--- Comment #6 from Alexander Osipenko 2011-12-20
23:33:06 UTC ---
It seems reasonable to expect minimal consistency, either generating invalid
(zero for example) reference for any direct weak function call, better marking
it with "warning" or ev
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51643
--- Comment #4 from Alexander Osipenko 2011-12-20
21:58:39 UTC ---
>From ARM EABI specification (doc: ARM IHI 0044A)
"On platforms that do not support dynamic pre-emption of symbols an unresolved
weak reference to a symbol relocated by R_ARM_CAL
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51643
--- Comment #3 from Alexander Osipenko 2011-12-20
21:39:11 UTC ---
This behavior is explicitly defined in ARM RealView compiler, and GCC seems try
to follow this convention.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51643
Bug #: 51643
Summary: Incorrect code produced for tail-call of weak function
with -O2/-O3 option
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCO
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51642
Bug #: 51642
Summary: Weak variable reference triggers ICE with -flto option
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
Severity: normal
--- Comment #4 from sipych at gmail dot com 2009-07-24 00:00 ---
// More similar cases. Static members also may be accessed
#include
class A {
enum { value=1 }; // private
static const int ci=2;
static int fi() { return 3; }
};
template // bug appears only if B is a
--- Comment #3 from sipych at gmail dot com 2009-07-23 22:46 ---
Also present in gcc 4.4.0
--
sipych at gmail dot com changed:
What|Removed |Added
Known to fail
--- Comment #2 from sipych at gmail dot com 2009-07-23 22:08 ---
(In reply to comment #1)
> I think this is a duplicate of bug 21008.
>
Not shure, A::value may not be accessible neither at the template definition,
nor at the instantiation time.
--
http://gcc.gnu.org/bu
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sipych at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40843
12 matches
Mail list logo