[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cannot initialize static pointer class member in __attribute__ ((co
From: |
Paul Pluzhnikov |
Subject: |
Re: cannot initialize static pointer class member in __attribute__ ((constructor)) |
Date: |
Mon, 06 Oct 2008 20:41:57 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux) |
jeremy barrett <jeremyb@gmail.com> writes:
> So how do _you_ know?
I looked at the generated assembly, first with my system default
gcc-3.3.3, and then (once I observed the opposite of what you
described), with gcc-4.3.0.
> Was this published in some gcc changelog, or
> have you run into a similar problem in the past? Are you in the habit
> of disassembling unit test suites or reading the gcc source or
> something?
Yes, I often read (dis)assembly, because I get paid to debug
low-level toolchain problems in my day job.
I could have read gcc source, but I am not that familiar with it,
so it probably would have taken much longer.
Cheers,
-
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.