public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/15189] New: wrong filling of delay slot with -march=mips1 -G0 -mno-split-addresses -mno-explicit-relocs
@ 2004-04-28 11:24 niva at niisi dot msk dot ru
2004-04-28 11:41 ` [Bug target/15189] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: niva at niisi dot msk dot ru @ 2004-04-28 11:24 UTC (permalink / raw)
To: gcc-bugs
* the options given when GCC was configured/built;
Configured with: /home/niva/src/gcc-3.4-binutils/configure
--with-headers=/home/niva/src/OC2000-22-jan-04-include
--without-libs --enable-generated-files-in-srcdir
--enable-threads=posix -with-dwarf2 --disable-shared
--target=mips64-none-elf --verbose --enable-checking
--enable-languages=c --srcdir=/home/niva/src/gcc-3.4-binutils
--prefix=/home/niva/local-osina --enable-cpp
* the complete command line that triggers the bug;
./mips64-none-elf-gcc \
/home/niva/src/gcc-3.4-binutils/gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-6.c
-O2 -G0 -mno-split-addresses -mno-explicit-relocs -c -o
/osina-test/niva/fp-cmp-6.x2 -save-temps -dp -mips1 -mabi=32
* the compiler output (error messages, warnings, etc.); and
fp-cmp-6.s: Assembler messages:
fp-cmp-6.s:42: Warning: Macro instruction expanded into multiple instructions
in a branch delay slot
* the preprocessed file (*.i*) that triggers the bug, generated by
adding -save-temps to the complete compilation command, or, in the
case of a bug report for the GNAT front end, a complete set of
source files (see below).
# 1
"/home/niva/src/gcc-3.4-binutils/gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-6.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1
"/home/niva/src/gcc-3.4-binutils/gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-6.c"
const double dnan = 1.0/0.0 - 1.0/0.0;
double x = 1.0;
extern void link_error (void);
extern void abort (void);
main ()
{
if (dnan == dnan)
link_error ();
if (dnan != x)
x = 1.0;
else
link_error ();
if (dnan < x)
link_error ();
if (dnan > x)
link_error ();
if (dnan <= x)
link_error ();
if (dnan >= x)
link_error ();
if (dnan == x)
link_error ();
exit (0);
}
--
Summary: wrong filling of delay slot with -march=mips1 -G0 -mno-
split-addresses -mno-explicit-relocs
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: niva at niisi dot msk dot ru
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: target=mips64-none-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15189
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/15189] wrong filling of delay slot with -march=mips1 -G0 -mno-split-addresses -mno-explicit-relocs
2004-04-28 11:24 [Bug c/15189] New: wrong filling of delay slot with -march=mips1 -G0 -mno-split-addresses -mno-explicit-relocs niva at niisi dot msk dot ru
@ 2004-04-28 11:41 ` pinskia at gcc dot gnu dot org
2004-04-28 22:03 ` rsandifo 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 @ 2004-04-28 11:41 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c |target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15189
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/15189] wrong filling of delay slot with -march=mips1 -G0 -mno-split-addresses -mno-explicit-relocs
2004-04-28 11:24 [Bug c/15189] New: wrong filling of delay slot with -march=mips1 -G0 -mno-split-addresses -mno-explicit-relocs niva at niisi dot msk dot ru
2004-04-28 11:41 ` [Bug target/15189] " pinskia at gcc dot gnu dot org
@ 2004-04-28 22:03 ` rsandifo at gcc dot gnu dot org
2004-04-29 20:08 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2004-04-28 22:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rsandifo at gcc dot gnu dot org 2004-04-28 19:43 -------
Unusual choice of options ;). Anyway, I'm testing a fix...
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rsandifo at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15189
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/15189] wrong filling of delay slot with -march=mips1 -G0 -mno-split-addresses -mno-explicit-relocs
2004-04-28 11:24 [Bug c/15189] New: wrong filling of delay slot with -march=mips1 -G0 -mno-split-addresses -mno-explicit-relocs niva at niisi dot msk dot ru
2004-04-28 11:41 ` [Bug target/15189] " pinskia at gcc dot gnu dot org
2004-04-28 22:03 ` rsandifo at gcc dot gnu dot org
@ 2004-04-29 20:08 ` cvs-commit at gcc dot gnu dot org
2004-04-29 20:10 ` cvs-commit at gcc dot gnu dot org
2004-04-29 20:14 ` rsandifo at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-04-29 20:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-04-29 19:54 -------
Subject: Bug 15189
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rsandifo@gcc.gnu.org 2004-04-29 19:54:17
Modified files:
gcc : ChangeLog
gcc/config/mips: mips.md
Log message:
PR target/15189
* config/mips/mips.md (load_df_low): Use default length.
(load_df_high, store_df_high): Likewise.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.3516&r2=2.3517
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/mips/mips.md.diff?cvsroot=gcc&r1=1.237&r2=1.238
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15189
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/15189] wrong filling of delay slot with -march=mips1 -G0 -mno-split-addresses -mno-explicit-relocs
2004-04-28 11:24 [Bug c/15189] New: wrong filling of delay slot with -march=mips1 -G0 -mno-split-addresses -mno-explicit-relocs niva at niisi dot msk dot ru
` (2 preceding siblings ...)
2004-04-29 20:08 ` cvs-commit at gcc dot gnu dot org
@ 2004-04-29 20:10 ` cvs-commit at gcc dot gnu dot org
2004-04-29 20:14 ` rsandifo at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-04-29 20:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-04-29 19:55 -------
Subject: Bug 15189
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: rsandifo@gcc.gnu.org 2004-04-29 19:55:29
Modified files:
gcc : ChangeLog
gcc/config/mips: mips.md
Log message:
PR target/15189
* config/mips/mips.md (load_df_low): Use default length.
(load_df_high, store_df_high): Likewise.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.424&r2=2.2326.2.425
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/mips/mips.md.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.211.4.5&r2=1.211.4.6
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15189
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/15189] wrong filling of delay slot with -march=mips1 -G0 -mno-split-addresses -mno-explicit-relocs
2004-04-28 11:24 [Bug c/15189] New: wrong filling of delay slot with -march=mips1 -G0 -mno-split-addresses -mno-explicit-relocs niva at niisi dot msk dot ru
` (3 preceding siblings ...)
2004-04-29 20:10 ` cvs-commit at gcc dot gnu dot org
@ 2004-04-29 20:14 ` rsandifo at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2004-04-29 20:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rsandifo at gcc dot gnu dot org 2004-04-29 19:56 -------
Patch applied to head and 3.4 branch. Thanks for reporting the bug.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15189
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-04-29 19:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-28 11:24 [Bug c/15189] New: wrong filling of delay slot with -march=mips1 -G0 -mno-split-addresses -mno-explicit-relocs niva at niisi dot msk dot ru
2004-04-28 11:41 ` [Bug target/15189] " pinskia at gcc dot gnu dot org
2004-04-28 22:03 ` rsandifo at gcc dot gnu dot org
2004-04-29 20:08 ` cvs-commit at gcc dot gnu dot org
2004-04-29 20:10 ` cvs-commit at gcc dot gnu dot org
2004-04-29 20:14 ` rsandifo 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).