This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
optimization/5478: Internal compiler error in `change_address', at emit-rtl.c:1608
- From: maltieri at nergal dot it
- To: gcc-gnats at gcc dot gnu dot org
- Date: 24 Jan 2002 16:09:48 -0000
- Subject: optimization/5478: Internal compiler error in `change_address', at emit-rtl.c:1608
- Reply-to: maltieri at nergal dot it
>Number: 5478
>Category: optimization
>Synopsis: Internal compiler error in `change_address', at emit-rtl.c:1608
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Thu Jan 24 08:16:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Marco Altieri
>Release: gcc version 3.0, gcc version 2.95.3
>Organization:
>Environment:
Linux Redhat 7.0
Windows 2000 Cygwin 2.78.2.3
>Description:
To expand a BIT_FIELD_REF or a COMPONENT_REF node,
expand_expr makes the assumption that the first operand
is a REG or A MEM, but in this case the operand is a
CONCAT.
>How-To-Repeat:
compile rs.c using optimizations:
gcc -O rs.c
gcc -O1 rs.c
gcc -O2 rs.c
gcc -O3 rs.c
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="rs.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="rs.c"
c3RydWN0IGNvbXBsZXh2YWxvcmkKewogIF9fY29tcGxleF9fICBpbnQgcDE7Cn07CgpzdHJ1Y3Qg
Y29tcGxleHZhbG9yaSBmdW56ICh2b2lkKQp7CiAgc3RydWN0IGNvbXBsZXh2YWxvcmkgcml0b3Ju
b19lcXVhemlvbmVfY29tcGxleDsKCiAgX19yZWFsX18gcml0b3Jub19lcXVhemlvbmVfY29tcGxl
eC5wMSA9IDMwOwogIAogIHJldHVybiByaXRvcm5vX2VxdWF6aW9uZV9jb21wbGV4Owp9Cg==