re PR target/5309 (Infinite loop in cc1 on sparcv9-sun-solaris2.8 with -m64, short...
authorJakub Jelinek <jakub@redhat.com>
Wed, 16 Jan 2002 17:44:24 +0000 (18:44 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 16 Jan 2002 17:44:24 +0000 (18:44 +0100)
commitb8c1a6b8175da581b6d613e579f94948e2ca6394
tree02bf8add1add28e9b859fa3fb80b7653e6a7a832
parent1e4e4df27a0ca6e1fe7519e6f093ff84cabb5197
re PR target/5309 (Infinite loop in cc1 on sparcv9-sun-solaris2.8 with -m64, short example)

PR target/5309:
        * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
same way as TYPE_IMUL.
(ultrasparc_sched_reorder): Likewise.
* config/sparc/sparc.md (type): Add comment to update
ultrasparc_sched_reorder when making changes.

* gcc.dg/ultrasp4.c: New test.

From-SVN: r48917
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ultrasp4.c [new file with mode: 0644]