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

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).