optimization/5999: ICE for complex*16 divide with -ffast-math on ia64

janis187@us.ibm.com janis187@us.ibm.com
Mon Mar 18 13:42:00 GMT 2002


>Number:         5999
>Category:       optimization
>Synopsis:       ICE for complex*16 divide with -ffast-math on ia64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 18 13:26:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Janis Johnson
>Release:        gcc version 3.1 20020318 (prerelease)
>Organization:
>Environment:
Itanium; Red Hat Linux release 7.1.94 (Roswell)
>Description:
GCC 3.1 gets a segmentation violation compiling 301.apsi
and 168.wupwise from SPEC CPU2000 with "-O2 -ffast-math" on
ia64-unknown-linux-gnu.  In both cases this occurs for a
divide of a complex*16 variable when expand_expr passes a
NULL op0 to expand_binop, which in turn passes it to
protect_from_queue.

This is a regression from GCC 3.0.4, for which these two
benchmark programs build and run with no problems using
these options.
>How-To-Repeat:
Compile with attached test case with "g77 -O2 -ffast-math".
>Fix:
Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="bug.f"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug.f"

QyBHQ0MgMy4xIDIwMDIwMzE4IChwcmVyZWxlYXNlKSBzZWcgZmF1bHRzIGNvbXBpbGluZyB0aGlz
IHRlc3QgY2FzZQpDIHdpdGggLU8yIC1mZmFzdC1tYXRoLiAgVGhpcyBoYXBwZW5zIG9uIGlhNjQg
YnV0IG5vdCBvbiBpNjg2LgpDCiAgICAgIHN1YnJvdXRpbmUgYnVnICh4LCB5LCB6KQogICAgICBj
b21wbGV4KjE2IHgsIHksIHoKICAgICAgeCA9IHkgLyB6CiAgICAgIHJldHVybgogICAgICBlbmQK



More information about the Gcc-bugs mailing list