http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30153
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
--- Comment #4 from reza dot yazdani at amd dot com 2010-02-05 23:11
---
(In reply to comment #3)
> "The optimization performed is correct because:
>
> In C++ (not in C) a const modifier in a global variable has internal
> linkage (i.e. it is treated like a static variable) and therefo
--- Comment #3 from reza dot yazdani at amd dot com 2010-02-05 21:10
---
"The optimization performed is correct because:
In C++ (not in C) a const modifier in a global variable has internal
linkage (i.e. it is treated like a static variable) and therefore the
optimization performed is
--- Comment #2 from price at ifa dot hawaii dot edu 2007-05-17 03:19
---
This is also a problem on my amd64 Gentoo laptop, using gcc version Gentoo
4.1.1-r3.
I searched the binutils Bugzilla, but could not find a bug filed for this
problem.
Because the problem disappears when optimisa
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-12-24 04:49 ---
As far as I can tell this is really a binutils issue.
the difference between static inline and just static is where foo is emitted.
In the static inline case, it is emitted after bar.
--
http://gcc.gnu.org/bugz