This is the mail archive of the gcc-bugs@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: c++/10332: Template classes are not instantiated correctly in presense of #pragma pack()


Synopsis: Template classes are not instantiated correctly in presense of #pragma pack()

State-Changed-From-To: open->analyzed
State-Changed-By: ljrittle
State-Changed-When: Fri Apr 11 01:16:40 2003
State-Changed-Why:
    Igor created a small test case which displays the behavior he considers a bug and included an analysis of the failure.  I will add only one comment: because a feature is hard to use in a complex program does not imply that the feature has incorrect behaviour.  In this case, #pragma pack came from a C ABI.  It is doubtful anyone ever looked at the rules as applied to C ++.  E.g. no documentation on such interactions is found in tm.texi.  One correct resolution to this PR is to update our documentation.  (I will also add another user-level fix.)

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10332


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