c++/10549: GCC ICEs on bitfields that exceed the precision of the declared type.

gdr@integrable-solutions.net gdr@integrable-solutions.net
Tue Apr 29 19:09:00 GMT 2003


>Number:         10549
>Category:       c++
>Synopsis:       GCC ICEs on bitfields that exceed the precision of the declared type.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 29 18:46:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Gabriel Dso Reis
>Release:        3.x
>Organization:
>Environment:
I believe plateform independent
>Description:

>How-To-Repeat:
Compile the snippet in attachement.
>Fix:

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

I2luY2x1ZGUgPHR5cGVpbmZvPgojZGVmaW5lIGxvbmdsb25nIGxvbmcgbG9uZwojaWYgZGVmaW5l
ZChfX2NwbHVzcGx1cykKZXh0ZXJuICJDIgojZW5kaWYKaW50IHByaW50Zihjb25zdCBjaGFyKiwu
Li4pOwoKdW5pb24gdTEgewogICBjaGFyIG0xIDogMTY7Cn0geDsKCmludCBtYWluICgpIHsKICAg
aW50IGs7CiAgIHByaW50Zigic2l6ZW9mKHUxKT0lNGQgICBhbGlnbm1lbnQ6JTRkXG4iLHNpemVv
Zih1bmlvbiB1MSksCiAgICAgICAgICBfX2FsaWdub2ZfXyh1bmlvbiB1MSkpOwogICB4Lm0xID0g
MjU2OwogICBmb3IgKGsgPSAwOyBrPD1zaXplb2YoeCk7ICsraykgewogICAgICBwcmludGYoIiUy
eCAiLCAoKGNoYXIqKSZ4KVtrXSk7CiAgIH0KICAgcHJpbnRmKCJcbiVkXG4iLCB4Lm0xKTsKICAg
cHJpbnRmKCIlc1xuIiwgdHlwZWlkKHgubTEpLm5hbWUoKSk7CiAgIHJldHVybiAwOwp9Cg==



More information about the Gcc-bugs mailing list