public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/49995] New: "operand missing mode" warning on sparc
@ 2011-08-05 21:17 jimis at gmx dot net
2011-08-05 22:18 ` [Bug target/49995] " dougmencken at gmail dot com
2011-08-07 18:54 ` ebotcazou at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: jimis at gmx dot net @ 2011-08-05 21:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49995
Summary: "operand missing mode" warning on sparc
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jimis@gmx.net
Host: sparc-unknown-linux-gnu
I get the following warnings while building gcc on a sparcstation:
build/genrecog ../../gcc-trunk-109439-co/gcc/config/sparc/sparc.md \
insn-conditions.md > tmp-recog.c
../../gcc-trunk-109439-co/gcc/config/sparc/sync.md:82: warning: operand 1
missing mode?
../../gcc-trunk-109439-co/gcc/config/sparc/sync.md:94: warning: operand 1
missing mode?
The relevant lines of sync.md are:
82 (define_insn "*sync_compare_and_swap<mode>"
83 [(set (match_operand:I48MODE 0 "register_operand" "=r")
84 (mem:I48MODE (match_operand 1 "register_operand" "r")))
85 (set (mem:I48MODE (match_dup 1))
86 (unspec_volatile:I48MODE
87 [(match_operand:I48MODE 2 "register_operand" "r")
88 (match_operand:I48MODE 3 "register_operand" "0")]
89 UNSPECV_CAS))]
90 "TARGET_V9 && (<MODE>mode == SImode || TARGET_ARCH64)"
91 "cas<modesuffix>\t[%1], %2, %0"
92 [(set_attr "type" "multi")])
93
94 (define_insn "*sync_compare_and_swapdi_v8plus"
95 [(set (match_operand:DI 0 "register_operand" "=h")
96 (mem:DI (match_operand 1 "register_operand" "r")))
97 (set (mem:DI (match_dup 1))
98 (unspec_volatile:DI
99 [(match_operand:DI 2 "register_operand" "h")
100 (match_operand:DI 3 "register_operand" "0")]
101 UNSPECV_CAS))]
102 "TARGET_V8PLUS"
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/49995] "operand missing mode" warning on sparc
2011-08-05 21:17 [Bug target/49995] New: "operand missing mode" warning on sparc jimis at gmx dot net
@ 2011-08-05 22:18 ` dougmencken at gmail dot com
2011-08-07 18:54 ` ebotcazou at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: dougmencken at gmail dot com @ 2011-08-05 22:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49995
Douglas Mencken <dougmencken at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dougmencken at gmail dot
| |com
--- Comment #1 from Douglas Mencken <dougmencken at gmail dot com> 2011-08-05 22:17:48 UTC ---
I do confirm "operand %d missing mode" warinings on my side (PowerPC
GNU/uClibc/Linux).
>From the full build log
(http://ftp.osuosl.org/pub/manulix/logs+errors/gcc-v4.7-20110709-bootstrap.log):
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/rs6000.md:6783: warning:
destination operand 0 allows non-lvalue
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/rs6000.md:6783: warning:
destination operand 0 allows non-lvalue
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/rs6000.md:6879: warning:
destination operand 0 allows non-lvalue
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/rs6000.md:6879: warning:
destination operand 0 allows non-lvalue
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/rs6000.md:13044: warning:
operand 0 missing mode?
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/rs6000.md:13464: warning:
operand 1 missing mode?
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/altivec.md:1681: warning:
operand 1 missing mode?
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/altivec.md:1688: warning:
operand 1 missing mode?
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/altivec.md:1840: warning:
destination missing a mode?
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/altivec.md:1840: warning:
operand 0 missing mode?
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/altivec.md:2355: warning:
operand 1 missing mode?
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/altivec.md:2363: warning:
operand 1 missing mode?
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/altivec.md:2371: warning:
operand 1 missing mode?
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/altivec.md:2379: warning:
operand 1 missing mode?
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/altivec.md:2621: warning:
operand 1 missing mode?
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/altivec.md:2621: warning:
operand 2 missing mode?
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/altivec.md:2630: warning:
operand 1 missing mode?
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/altivec.md:2630: warning:
operand 2 missing mode?
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/rs6000.md:6783: warning:
destination operand 0 allows non-lvalue
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/rs6000.md:6783: warning:
destination operand 0 allows non-lvalue
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/rs6000.md:6879: warning:
destination operand 0 allows non-lvalue
../../gcc-v4.7-20110709.sourcedir/gcc/config/rs6000/rs6000.md:6879: warning:
destination operand 0 allows non-lvalue
By the way, I can't remember how long since these warings are from... Maybe
4.2.x or even earlier.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/49995] "operand missing mode" warning on sparc
2011-08-05 21:17 [Bug target/49995] New: "operand missing mode" warning on sparc jimis at gmx dot net
2011-08-05 22:18 ` [Bug target/49995] " dougmencken at gmail dot com
@ 2011-08-07 18:54 ` ebotcazou at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-08-07 18:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49995
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |ebotcazou at gcc dot
| |gnu.org
Resolution| |WONTFIX
--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-08-07 18:54:19 UTC ---
Not a bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-07 18:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-05 21:17 [Bug target/49995] New: "operand missing mode" warning on sparc jimis at gmx dot net
2011-08-05 22:18 ` [Bug target/49995] " dougmencken at gmail dot com
2011-08-07 18:54 ` ebotcazou at gcc dot gnu.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).