This is the mail archive of the gcc-prs@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]

c++/7807: g++ 3.2 Fails to compile legal code that compiled OK with g++ 3.1


>Number:         7807
>Category:       c++
>Synopsis:       g++ 3.2 Fails to compile legal code that compiled OK with g++ 3.1
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 02 02:36:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Anthony Williams
>Release:        g++-3.2-mingw32
>Organization:
>Environment:
g++-3.2-mingw32
mingw-runtime 2.1
w32api 1.5
>Description:
The attached file produces errors about "uninitialized const member"s on g++ 3.2, but doesn't with g++ 3.1, nor if you remove the member function pointer from the RawMem union.
>How-To-Repeat:
Compile the attached file
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="cpp_regress.ii"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="cpp_regress.ii"

IyAxICJjcHBfcmVncmVzcy5jcHAiDQojIDEgIjxidWlsdC1pbj4iDQojIDEgIjxjb21tYW5kIGxp
bmU+Ig0KIyAxICJjcHBfcmVncmVzcy5jcHAiDQppbnQgaTEsaTI7DQoNCm5hbWVzcGFjZSB1dGls
cw0Kew0KICAgIGNsYXNzIFVua25vd247DQoNCiAgICB0ZW1wbGF0ZTx0eXBlbmFtZSBUPg0KICAg
IHVuaW9uIFJhd01lbQ0KICAgIHsNCiAgICAgICAgY2hhciBkYXRhW3NpemVvZihUKV07DQogICAg
ICAgIFVua25vd24qIChVbmtub3duOjoqIHNtZHApOw0KICAgIH07DQp9DQoNCg0KDQogICAgdGVt
cGxhdGU8dHlwZW5hbWUgVCx0eXBlbmFtZSBVPg0KICAgIHN0cnVjdCBPd25pbmdSZWZQYWlyDQog
ICAgew0KICAgIHB1YmxpYzoNCiAgICAgICAgVCYgZmlyc3Q7DQogICAgICAgIFUmIHNlY29uZDsN
Cg0KICAgIHByaXZhdGU6DQogICAgICAgIHV0aWxzOjpSYXdNZW08aW50PiBwYWlyQnVmOw0KICAg
ICAgICBjb25zdCBib29sIG93bnNGbGFnOw0KDQogICAgcHVibGljOg0KDQogICAgICAgIE93bmlu
Z1JlZlBhaXIoY29uc3QgT3duaW5nUmVmUGFpciYgb3RoZXIpOg0KICAgICAgICAgICAgZmlyc3Qo
aTEpLA0KICAgICAgICAgICAgc2Vjb25kKGkyKSwNCiAgICAgICAgICAgIG93bnNGbGFnKHRydWUp
DQogICAgICAgIHsNCiAgICAgICAgfQ0KDQoNCg0KICAgICAgICB0ZW1wbGF0ZTx0eXBlbmFtZSBW
YWwxLHR5cGVuYW1lIFZhbDI+DQogICAgICAgIE93bmluZ1JlZlBhaXIoY29uc3QgVmFsMSYgZmly
c3RfLGNvbnN0IFZhbDImIHNlY29uZF8pOg0KICAgICAgICAgICAgZmlyc3QoaTEpLA0KICAgICAg
ICAgICAgc2Vjb25kKGkyKSwNCiAgICAgICAgICAgIG93bnNGbGFnKHRydWUpDQogICAgICAgIHsN
CiAgICAgICAgfQ0KDQoNCg0KICAgIH07DQoNCg0KT3duaW5nUmVmUGFpcjxpbnQsaW50PiBhKGkx
LGkyKTsNCk93bmluZ1JlZlBhaXI8aW50LGludD4gYj1hOw0K


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