public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/21390] New: alphaev68-dec-osf5.1b long double optimization bug with gcc-4.0.0
@ 2005-05-04 19:59 kminola at eng dot umd dot edu
2005-05-04 20:08 ` [Bug target/21390] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: kminola at eng dot umd dot edu @ 2005-05-04 19:59 UTC (permalink / raw)
To: gcc-bugs
/*
alphaev68-dec-osf5.1b long double optimization bug with gcc-4.0.0
regression from gcc-3.4.3
% config.guess
alphaev68-dec-osf5.1b
% gcc -v
Using built-in specs.
Target: alphaev68-dec-osf5.1b
Configured with: /usr/local/gcc-4.0.0/src/gcc-4.0.0/configure
--enable-languages=c --prefix=/usr/local/gcc-4.0.0/alpha-OSF1-V5
Thread model: posix
gcc version 4.0.0
%
% gcc -mieee-with-inexact -o foo foo.c
% foo
1
%
% gcc -mieee-with-inexact -O1 -o foo foo.c
% foo
0
%
only happens with "long double", not with "double"
*/
#include <stdio.h>
#define DBL_NAN ((long double) 0.0/0.0)
static int
Isnan_ld (long double d)
{
int ans;
long double __x = (d);
if ((d) != __x)
ans = 1;
else
ans = 0;
return ans;
}
int
main (int argc, char *argv[])
{
long double d;
d = (long double) DBL_NAN;
printf("%d\n", Isnan_ld(d));
return 0;
}
--
Summary: alphaev68-dec-osf5.1b long double optimization bug with
gcc-4.0.0
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: regression
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kminola at eng dot umd dot edu
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: alphaev68-dec-osf5.1b
GCC host triplet: alphaev68-dec-osf5.1b
GCC target triplet: alphaev68-dec-osf5.1b
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21390
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/21390] alphaev68-dec-osf5.1b long double optimization bug with gcc-4.0.0
2005-05-04 19:59 [Bug regression/21390] New: alphaev68-dec-osf5.1b long double optimization bug with gcc-4.0.0 kminola at eng dot umd dot edu
@ 2005-05-04 20:08 ` pinskia at gcc dot gnu dot org
2005-05-18 18:06 ` rth at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-04 20:08 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|regression |target
Keywords| |wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21390
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/21390] alphaev68-dec-osf5.1b long double optimization bug with gcc-4.0.0
2005-05-04 19:59 [Bug regression/21390] New: alphaev68-dec-osf5.1b long double optimization bug with gcc-4.0.0 kminola at eng dot umd dot edu
2005-05-04 20:08 ` [Bug target/21390] " pinskia at gcc dot gnu dot org
@ 2005-05-18 18:06 ` rth at gcc dot gnu dot org
2005-05-19 9:50 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-05-18 18:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2005-05-18 18:06 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-05-18 18:06:02
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21390
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/21390] alphaev68-dec-osf5.1b long double optimization bug with gcc-4.0.0
2005-05-04 19:59 [Bug regression/21390] New: alphaev68-dec-osf5.1b long double optimization bug with gcc-4.0.0 kminola at eng dot umd dot edu
2005-05-04 20:08 ` [Bug target/21390] " pinskia at gcc dot gnu dot org
2005-05-18 18:06 ` rth at gcc dot gnu dot org
@ 2005-05-19 9:50 ` cvs-commit at gcc dot gnu dot org
2005-05-19 9:54 ` cvs-commit at gcc dot gnu dot org
2005-05-19 9:56 ` rth at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-19 9:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-19 09:50 -------
Subject: Bug 21390
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rth@gcc.gnu.org 2005-05-19 09:50:00
Modified files:
gcc : ChangeLog
gcc/config/alpha: alpha.c
Log message:
PR target/21390
* config/alpha/alpha.c (alpha_emit_conditional_branch): Move
TFmode code swapping ...
(alpha_emit_xfloating_compare): ... here.
(alpha_emit_setcc): Update to match.
(alpha_lookup_xfloating_lib_func): Assert TARGET_HAS_XFLOATING_LIBS.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8862&r2=2.8863
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/alpha/alpha.c.diff?cvsroot=gcc&r1=1.422&r2=1.423
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21390
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/21390] alphaev68-dec-osf5.1b long double optimization bug with gcc-4.0.0
2005-05-04 19:59 [Bug regression/21390] New: alphaev68-dec-osf5.1b long double optimization bug with gcc-4.0.0 kminola at eng dot umd dot edu
` (2 preceding siblings ...)
2005-05-19 9:50 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-19 9:54 ` cvs-commit at gcc dot gnu dot org
2005-05-19 9:56 ` rth at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-19 9:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-19 09:54 -------
Subject: Bug 21390
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: rth@gcc.gnu.org 2005-05-19 09:53:34
Modified files:
gcc : ChangeLog
gcc/config/alpha: alpha.c
Log message:
PR target/21390
* config/alpha/alpha.c (alpha_emit_conditional_branch): Move
TFmode code swapping ...
(alpha_emit_xfloating_compare): ... here.
(alpha_emit_setcc): Update to match.
(alpha_lookup_xfloating_lib_func): Assert TARGET_HAS_XFLOATING_LIBS.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.255&r2=2.7592.2.256
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/alpha/alpha.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.408.8.1&r2=1.408.8.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21390
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/21390] alphaev68-dec-osf5.1b long double optimization bug with gcc-4.0.0
2005-05-04 19:59 [Bug regression/21390] New: alphaev68-dec-osf5.1b long double optimization bug with gcc-4.0.0 kminola at eng dot umd dot edu
` (3 preceding siblings ...)
2005-05-19 9:54 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-19 9:56 ` rth at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-05-19 9:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2005-05-19 09:56 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21390
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-05-19 9:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-04 19:59 [Bug regression/21390] New: alphaev68-dec-osf5.1b long double optimization bug with gcc-4.0.0 kminola at eng dot umd dot edu
2005-05-04 20:08 ` [Bug target/21390] " pinskia at gcc dot gnu dot org
2005-05-18 18:06 ` rth at gcc dot gnu dot org
2005-05-19 9:50 ` cvs-commit at gcc dot gnu dot org
2005-05-19 9:54 ` cvs-commit at gcc dot gnu dot org
2005-05-19 9:56 ` rth at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).