This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Small change to expand_expr CONSTRUCTOR handling


Thanks for the info.

On Thursday, May 22, 2003, at 17:17 America/New_York, Richard Kenner wrote:
Wrong code generated.  The issue was that the elaboration code for the
initialization of library-level data put pointers to the stack of the
elaboration routine into the library-level data, which is always wrong.

The reason it did so was that it didn't treat a CONSTRUCTOR as static.
However, if you're looking for a constant address, giving the address
of a static CONSTRUCTOR is best.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]