public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/44761]  New: sh.md warnings
@ 2010-07-01 17:26 amylaar at gcc dot gnu dot org
  2010-07-02 10:00 ` [Bug target/44761] " kkojima at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2010-07-01 17:26 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1764 bytes --]

gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-Wold-style-definition -Wc++-compat -fno-common  -DHAVE_CONFIG_H -I. -I.
-I../../../gcc/gcc -I../../../gcc/gcc/. -I../../../gcc/gcc/../include
-I../../../gcc/gcc/../libcpp/include  -I../../../gcc/gcc/../libdecnumber
-I../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber  -DCLOOG_PPL_BACKEND 
-I/usr/include/libelf  insn-emit.c -o insn-emit.o
../../../gcc/gcc/config/sh/sh.md: In function ‘gen_symGOT_load’:
../../../gcc/gcc/config/sh/sh.md:8472:7: error: variable ‘insn’ set but not
used [-Werror=unused-but-set-variable]
../../../gcc/gcc/config/sh/sh.md: In function ‘gen_symDTPOFF2reg’:
../../../gcc/gcc/config/sh/sh.md:8688:18: error: variable ‘insn’ set but not
used [-Werror=unused-but-set-variable]
../../../gcc/gcc/config/sh/sh.md: In function ‘gen_symTPOFF2reg’:
../../../gcc/gcc/config/sh/sh.md:8739:17: error: variable ‘insn’ set but not
used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make[1]: *** [insn-emit.o] Error 1
make[1]: Leaving directory `/user/inria/fsf/multi/sh-elf/gcc'
make: *** [all-gcc] Error 2


-- 
           Summary: sh.md warnings
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amylaar at gcc dot gnu dot org
GCC target triplet: sh-elf
OtherBugsDependingO 44756
             nThis:


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/44761] sh.md warnings
  2010-07-01 17:26 [Bug target/44761] New: sh.md warnings amylaar at gcc dot gnu dot org
@ 2010-07-02 10:00 ` kkojima at gcc dot gnu dot org
  2010-07-13 10:41 ` kkojima at gcc dot gnu dot org
  2010-07-31  4:46 ` kkojima at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2010-07-02 10:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from kkojima at gcc dot gnu dot org  2010-07-02 10:00 -------
I send a patch for this and another warnings on SH

http://gcc.gnu.org/ml/gcc-patches/2010-06/msg02420.html
http://gcc.gnu.org/ml/gcc-patches/2010-07/msg00090.html


-- 

kkojima at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kkojima at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-07-02 10:00:28
               date|                            |


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/44761] sh.md warnings
  2010-07-01 17:26 [Bug target/44761] New: sh.md warnings amylaar at gcc dot gnu dot org
  2010-07-02 10:00 ` [Bug target/44761] " kkojima at gcc dot gnu dot org
@ 2010-07-13 10:41 ` kkojima at gcc dot gnu dot org
  2010-07-31  4:46 ` kkojima at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2010-07-13 10:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from kkojima at gcc dot gnu dot org  2010-07-13 10:41 -------
Subject: Bug 44761

Author: kkojima
Date: Tue Jul 13 10:41:15 2010
New Revision: 162135

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162135
Log:
        PR target/44761
        * mode-switching.c (optimize_mode_switching): Add ATTRIBUTE_UNUSED
        to variable emited.
        * config/sh/sh.c (sh_expand_epilogue): Remove unused variable.
        * config/sh/sh.md (symGOT_load): Likewise.
        (symDTPOFF2reg): Likewise.
        (symTPOFF2reg): Likewise.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sh/sh.c
    trunk/gcc/config/sh/sh.md
    trunk/gcc/mode-switching.c


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/44761] sh.md warnings
  2010-07-01 17:26 [Bug target/44761] New: sh.md warnings amylaar at gcc dot gnu dot org
  2010-07-02 10:00 ` [Bug target/44761] " kkojima at gcc dot gnu dot org
  2010-07-13 10:41 ` kkojima at gcc dot gnu dot org
@ 2010-07-31  4:46 ` kkojima at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2010-07-31  4:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from kkojima at gcc dot gnu dot org  2010-07-31 04:46 -------
Fixed.


-- 

kkojima at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-07-31  4:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-01 17:26 [Bug target/44761] New: sh.md warnings amylaar at gcc dot gnu dot org
2010-07-02 10:00 ` [Bug target/44761] " kkojima at gcc dot gnu dot org
2010-07-13 10:41 ` kkojima at gcc dot gnu dot org
2010-07-31  4:46 ` kkojima 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).