public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/50694] New: SH Target: SH2A little endian does not actually work
@ 2011-10-11  0:06 oleg.endo@t-online.de
  2011-10-13 19:54 ` [Bug target/50694] " oleg.endo@t-online.de
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: oleg.endo@t-online.de @ 2011-10-11  0:06 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50694
           Summary: SH Target: SH2A little endian does not actually work
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: oleg.endo@t-online.de


While testing a patch I have noticed some failures for SH2A and -ml.
The problem is that GCC happily generates SH2A code in little endian, but
when the output is assembled with GAS and it contains a "movi20" instruction,
GAS will abort at some "is big endian?" check. 

Maybe for SH2A the -ml option should either output a warning and do big endian,
or just abort with an error message?
As far as I know, the SH2A does big endian only anyway...

Cheers,
Oleg


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

end of thread, other threads:[~2012-02-26 23:24 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-11  0:06 [Bug target/50694] New: SH Target: SH2A little endian does not actually work oleg.endo@t-online.de
2011-10-13 19:54 ` [Bug target/50694] " oleg.endo@t-online.de
2011-10-16 23:29 ` kkojima at gcc dot gnu.org
2011-10-18 21:33 ` oleg.endo@t-online.de
2011-10-18 22:24 ` kkojima at gcc dot gnu.org
2011-10-18 22:37 ` oleg.endo@t-online.de
2011-10-18 22:51 ` kkojima at gcc dot gnu.org
2011-10-20 18:44 ` oleg.endo@t-online.de
2011-10-20 22:40 ` kkojima at gcc dot gnu.org
2011-10-30 12:46 ` oleg.endo@t-online.de
2011-11-14  0:32 ` kkojima at gcc dot gnu.org
2012-02-26 23:26 ` olegendo 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).