CVS g++ new warning [-Winline -Werror -O1]
Richard Henderson
rth@cygnus.com
Thu Mar 9 11:44:00 GMT 2000
On Thu, Mar 09, 2000 at 10:24:45AM -0800, Jason Merrill wrote:
> > 2) Platforms supporting common linkage can emit a needed static var
> > defn and still inline the function.
>
> We currently suppress inlining for all targets if there's a static
> variable, because that's simpler than getting the semantics right. I've
> forgotten the bug that led me to that conclusion...
Static variables can't be common. If you make it global, how
do you choose a unique name for it?
r~
More information about the Gcc-patches
mailing list