public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/45324] New: gcc.target/i386/volatile-bitfields-1.c doesn't work with i586-linux
@ 2010-08-18 20:16 hjl dot tools at gmail dot com
2010-08-19 6:49 ` [Bug testsuite/45324] " ubizjak at gmail dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-08-18 20:16 UTC (permalink / raw)
To: gcc-bugs
When gcc is configured with i586-linux, I got
FAIL: gcc.target/i386/volatile-bitfields-1.c scan-assembler movzbl.*bits
I don't see anything wrong with
.cfi_startproc
movb bits, %al
sarb %al
movsbl %al, %eax
ret
.cfi_endproc
I think we should also check "movb".
--
Summary: gcc.target/i386/volatile-bitfields-1.c doesn't work with
i586-linux
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl dot tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45324
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug testsuite/45324] gcc.target/i386/volatile-bitfields-1.c doesn't work with i586-linux
2010-08-18 20:16 [Bug testsuite/45324] New: gcc.target/i386/volatile-bitfields-1.c doesn't work with i586-linux hjl dot tools at gmail dot com
@ 2010-08-19 6:49 ` ubizjak at gmail dot com
2010-08-19 14:19 ` hjl at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: ubizjak at gmail dot com @ 2010-08-19 6:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from ubizjak at gmail dot com 2010-08-19 06:49 -------
It is just insn preferences for IX86_TUNE_PARTIAL_REG_STALL. We are not testing
this flag but move insn, so can you please test:
Index: volatile-bitfields-1.c
===================================================================
--- volatile-bitfields-1.c (revision 163363)
+++ volatile-bitfields-1.c (working copy)
@@ -14,4 +14,4 @@
return bits.b;
}
-/* { dg-final { scan-assembler "movzbl.*bits" } } */
+/* { dg-final { scan-assembler "mov(zbl|b).*bits" } } */
The patch is pre-approved if it solves your failure.
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-08-19 06:49:24
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45324
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug testsuite/45324] gcc.target/i386/volatile-bitfields-1.c doesn't work with i586-linux
2010-08-18 20:16 [Bug testsuite/45324] New: gcc.target/i386/volatile-bitfields-1.c doesn't work with i586-linux hjl dot tools at gmail dot com
2010-08-19 6:49 ` [Bug testsuite/45324] " ubizjak at gmail dot com
@ 2010-08-19 14:19 ` hjl at gcc dot gnu dot org
2010-08-19 14:21 ` hjl dot tools at gmail dot com
2010-08-19 14:32 ` hjl dot tools at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: hjl at gcc dot gnu dot org @ 2010-08-19 14:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from hjl at gcc dot gnu dot org 2010-08-19 14:18 -------
Subject: Bug 45324
Author: hjl
Date: Thu Aug 19 14:18:18 2010
New Revision: 163372
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163372
Log:
Also scan movb.
2010-08-19 Uros Bizjak <ubizjak@gmail.com>
PR testsuite/45324
* gcc.target/i386/volatile-bitfields-1.c: Also scan movb.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/i386/volatile-bitfields-1.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45324
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug testsuite/45324] gcc.target/i386/volatile-bitfields-1.c doesn't work with i586-linux
2010-08-18 20:16 [Bug testsuite/45324] New: gcc.target/i386/volatile-bitfields-1.c doesn't work with i586-linux hjl dot tools at gmail dot com
2010-08-19 6:49 ` [Bug testsuite/45324] " ubizjak at gmail dot com
2010-08-19 14:19 ` hjl at gcc dot gnu dot org
@ 2010-08-19 14:21 ` hjl dot tools at gmail dot com
2010-08-19 14:32 ` hjl dot tools at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-08-19 14:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from hjl dot tools at gmail dot com 2010-08-19 14:20 -------
Fixed.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45324
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug testsuite/45324] gcc.target/i386/volatile-bitfields-1.c doesn't work with i586-linux
2010-08-18 20:16 [Bug testsuite/45324] New: gcc.target/i386/volatile-bitfields-1.c doesn't work with i586-linux hjl dot tools at gmail dot com
` (2 preceding siblings ...)
2010-08-19 14:21 ` hjl dot tools at gmail dot com
@ 2010-08-19 14:32 ` hjl dot tools at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-08-19 14:32 UTC (permalink / raw)
To: gcc-bugs
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45324
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-08-19 14:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-18 20:16 [Bug testsuite/45324] New: gcc.target/i386/volatile-bitfields-1.c doesn't work with i586-linux hjl dot tools at gmail dot com
2010-08-19 6:49 ` [Bug testsuite/45324] " ubizjak at gmail dot com
2010-08-19 14:19 ` hjl at gcc dot gnu dot org
2010-08-19 14:21 ` hjl dot tools at gmail dot com
2010-08-19 14:32 ` hjl dot tools at gmail dot com
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).