https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128966

--- Comment #15 from Frank Scheiner <frank.scheiner at web dot de> ---
Looking good under emulation, too:

Musl's powl:
```
root@darkstar:~/pr128966/musl-powl-wo-pr128966-fix# /opt/musl-ia64/bin/musl-gcc
-o t p.o pl.o m.c && ./t
powl(-1,2) = -0x1p+0   (expected 0x1p+0)
powl(-0,2) = -0x0p+0   (expected 0x0p+0)

root@darkstar:~/pr128966/musl-powl-w-pr128966-fix# /opt/musl-ia64/bin/musl-gcc
-o t-fixed p-fixed.o pl.o m.c && ./t-fixed
powl(-1,2) = 0x1p+0   (expected 0x1p+0)
powl(-0,2) = 0x0p+0   (expected 0x0p+0)
```

New GCC testcase:
```
root@darkstar:~/pr128966/testcase# /opt/musl-ia64/bin/musl-gcc -o pr128966
pr128966.o && ./pr128966; echo "exit=$?"
Aborted                    ./pr128966
exit=134

root@darkstar:~/pr128966/testcase# /opt/musl-ia64/bin/musl-gcc -o
pr128966-fixed pr128966-fixed.o && ./pr128966-fixed; echo "exit=$?"
exit=0
```

Reply via email to