[Bug target/19236] [4.0 regression] ICE compiling logp(x) with -ffast-math
--- Additional Comments From uros at kss-loka dot si 2005-01-03 08:53 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00062.html -- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |uros at kss-loka dot si |dot org | Status|NEW |ASSIGNED Component|middle-end |target Last reconfirmed|2005-01-03 05:24:18 |2005-01-03 08:53:06 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19236
[Bug target/19236] [4.0 regression] ICE compiling logp(x) with -ffast-math
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-03 09:55 --- Subject: Bug 19236 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-01-03 09:54:57 Modified files: gcc: ChangeLog gcc/config/i386: i386.md Log message: PR target/19236 * config/i386/i386.c (log1psf2): Change mode of operands[0,1] to SFmode. (log1pdf2): Change mode of operands[0,1] to DFmode. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gccr1=2.7005r2=2.7006 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.md.diff?cvsroot=gccr1=1.596r2=1.597 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19236
[Bug target/19236] [4.0 regression] ICE compiling logp(x) with -ffast-math
--- Additional Comments From uros at kss-loka dot si 2005-01-03 09:55 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19236
[Bug target/19236] [4.0 regression] ICE compiling logp(x) with -ffast-math
--- Additional Comments From bangerth at dealii dot org 2005-01-03 14:34 --- Uros, would you mind adding the testcase as well? I know it's small, but who knows what it's good for -- we got this case wrong once already, let's make sure we don't again. Thanks Wolfgang -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19236
[Bug target/19236] [4.0 regression] ICE compiling logp(x) with -ffast-math
--- Additional Comments From uros at kss-loka dot si 2005-01-03 15:37 --- (In reply to comment #7) No problem, this one should do the trick: --cut here-- /* PR target/19236 */ /* { dg-do compile { target i?86-*-* } } */ /* { dg-options -ffast-math } */ extern float log1pf (float); extern double log1p (double); float testf (float __x) { return log1pf(1.0); } double test (double __x) { return log1p(1.0); } --cut here-- -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19236