c/3953: compiler accepts invalid type modes
mark@codesourcery.com
mark@codesourcery.com
Mon Aug 6 19:56:00 GMT 2001
>Number: 3953
>Category: c
>Synopsis: compiler accepts invalid type modes
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 06 19:56:27 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: mark@codesourcery.com
>Release: 3.0
>Organization:
>Environment:
>Description:
An attribute that specifies a floating-point mode for
an integer, or vice versa, is accepted -- but chaos
ensues.
>How-To-Repeat:
Compile the attached file. On i686-pc-linux-gnu,
bash-2.04$ ~/dev/gcc-3.0/objdir/gcc/cc1 attribute1.c
x
attribute1.c: In function `x':
attribute1.c:15: Internal compiler error in convert_move, at expr.c:515
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="attribute1.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="attribute1.c"
I2RlZmluZSBNT0RFX0FUVFJJQlVURShNT0RFKSBcCiAgX19hdHRyaWJ1dGVfXygoX19tb2RlX18o
TU9ERSkpKQoKaW50IGkxIE1PREVfQVRUUklCVVRFKFNGKTsKaW50IGkyIE1PREVfQVRUUklCVVRF
KHBvaW50ZXIpOwoKZmxvYXQgZjEgTU9ERV9BVFRSSUJVVEUoU0kpOwpmbG9hdCBmMiBNT0RFX0FU
VFJJQlVURShwb2ludGVyKTsKCnZvaWQqIHAxIE1PREVfQVRUUklCVVRFKFNJKTsKdm9pZCogcDIg
TU9ERV9BVFRSSUJVVEUoYnl0ZSk7CnZvaWQqIHAzIE1PREVfQVRUUklCVVRFKHdvcmQpOwoKaW50
IHgoKSB7CiAgcmV0dXJuIGkxICsgaTE7Cn0K
More information about the Gcc-prs
mailing list