public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/20772] New: x86 tests should run on both i?86 and x86_64
@ 2005-04-05 19:18 jsm28 at gcc dot gnu dot org
  2005-04-05 23:33 ` [Bug testsuite/20772] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 29+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-04-05 19:18 UTC (permalink / raw)
  To: gcc-bugs

There are i?86 targets which can use -m64 (i386-pc-solaris2.10) and x86_64
targets which can use -m32 (most or all of them).  In both cases,
--disable-multilib can be used so that only -m32, or only -m64 is available. 
Tests requiring 32-bit x86 can run on both i?86 and x86_64, as can tests
requiring 64-bit, in both cases provided the right multilib is enabled.

At present, many tests are enabled only for i?86, or only for x86_64; instead
they should be enabled for both, restricted to ilp32 or lp64 as appropriate.  In
addition, it is inappropriate for tests to hardcode -m32 on x86_64 as
i386-pentium4-not-mull.c, setjmp-2.c, short-compare-1.c, short-compare-2.c in
gcc.dg do, because --disable-multilib can be used and those tests presently fail
with --disable-multilib; instead, special options should be specified as
appropriate for 32-bit x86 and it should be up to the testsuite user to run it
with both -m32 and -m64 if they wish to do so.

As noted at <http://gcc.gnu.org/ml/gcc-patches/2005-04/msg00199.html>, x86,
x86_ilp32 and x86_lp64 effective-target keywords would simplify fixing these
issues, although there are still tests e.g. restricted to x86(_64)-linux-gnu as
well as those which care about the CPU and not the OS.

-- 
           Summary: x86 tests should run on both i?86 and x86_64
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i?86-*-*, x86_64-*-*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20772


^ permalink raw reply	[flat|nested] 29+ messages in thread
[parent not found: <bug-20772-230@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2005-12-31 14:52 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-05 19:18 [Bug testsuite/20772] New: x86 tests should run on both i?86 and x86_64 jsm28 at gcc dot gnu dot org
2005-04-05 23:33 ` [Bug testsuite/20772] " pinskia at gcc dot gnu dot org
2005-05-26 19:40 ` cvs-commit at gcc dot gnu dot org
2005-05-26 21:27 ` cvs-commit at gcc dot gnu dot org
2005-05-26 22:13 ` aj at gcc dot gnu dot org
2005-05-31 16:30 ` cvs-commit at gcc dot gnu dot org
2005-05-31 16:30 ` aj at gcc dot gnu dot org
2005-05-31 18:07 ` janis at gcc dot gnu dot org
2005-05-31 19:11 ` joseph at codesourcery dot com
     [not found] <bug-20772-230@http.gcc.gnu.org/bugzilla/>
2005-12-09 23:34 ` ghazi at gcc dot gnu dot org
2005-12-09 23:38 ` ghazi at gcc dot gnu dot org
2005-12-09 23:46 ` ghazi at gcc dot gnu dot org
2005-12-09 23:56 ` ghazi at gcc dot gnu dot org
2005-12-10  0:01 ` ghazi at gcc dot gnu dot org
2005-12-10  0:04 ` ghazi at gcc dot gnu dot org
2005-12-10 13:06 ` ghazi at gcc dot gnu dot org
2005-12-10 13:23 ` ghazi at gcc dot gnu dot org
2005-12-10 13:47 ` ghazi at gcc dot gnu dot org
2005-12-10 14:29 ` ghazi at gcc dot gnu dot org
2005-12-12 22:28 ` ghazi at gcc dot gnu dot org
2005-12-12 22:37 ` ghazi at gcc dot gnu dot org
2005-12-12 22:44 ` ghazi at gcc dot gnu dot org
2005-12-13  3:24 ` ghazi at gcc dot gnu dot org
2005-12-22  4:55 ` ghazi at gcc dot gnu dot org
2005-12-22 16:33 ` ghazi at gcc dot gnu dot org
2005-12-22 17:13 ` ghazi at gcc dot gnu dot org
2005-12-22 17:15 ` ghazi at gcc dot gnu dot org
2005-12-31 14:51 ` ghazi at gcc dot gnu dot org
2005-12-31 14:52 ` ghazi 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).