public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/29413]  New: -EB / -EL don't properly affect gcc predefined symbols
@ 2006-10-10 14:13 ralf at linux-mips dot org
  2006-10-12  6:58 ` [Bug target/29413] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: ralf at linux-mips dot org @ 2006-10-10 14:13 UTC (permalink / raw)
  To: gcc-bugs

$ mips-linux-gcc -EL -dM -E -C -x c /dev/null | grep MIPSE
#define MIPSEB 1
#define __MIPSEB__ 1
#define _MIPSEB 1
#define __MIPSEB 1
$ mipsel-linux-gcc -EB -dM -E -C -x c /dev/null | grep MIPSE
#define __MIPSEL__ 1
#define MIPSEL 1
#define _MIPSEL 1
#define __MIPSEL 1
$ mips64el-linux-gcc -EB -dM -E -C -x c /dev/null | grep MIPSE
#define __MIPSEL__ 1
#define MIPSEL 1
#define _MIPSEL 1
#define __MIPSEL 1
$ mips64-linux-gcc -EL -dM -E -C -x c /dev/null | grep MIPSE
#define MIPSEB 1
#define __MIPSEB__ 1
#define _MIPSEB 1
#define __MIPSEB 1
$

Tested with gcc 4.1.0 but given the (incomplete) hacks the Linux/MIPS kernel
has for this I would assume it is broken since a very, very long time.


-- 
           Summary: -EB / -EL don't properly affect gcc predefined symbols
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ralf at linux-mips dot org
GCC target triplet: mips*-linux


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


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

end of thread, other threads:[~2006-10-19 15:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-10 14:13 [Bug c/29413] New: -EB / -EL don't properly affect gcc predefined symbols ralf at linux-mips dot org
2006-10-12  6:58 ` [Bug target/29413] " pinskia at gcc dot gnu dot org
2006-10-12  7:05 ` pinskia at gcc dot gnu dot org
2006-10-12  7:08 ` pinskia at gcc dot gnu dot org
2006-10-12  7:27 ` pinskia at gcc dot gnu dot org
2006-10-12  7:29 ` pinskia at gcc dot gnu dot org
2006-10-12  7:33 ` [Bug target/29413] -EB / -EL don't properly affect endian for Linux on MIPS pinskia at gcc dot gnu dot org
2006-10-12 13:33 ` ralf at linux-mips dot org
2006-10-12 14:11 ` pinskia at gcc dot gnu dot org
2006-10-17  7:10 ` rsandifo at gcc dot gnu dot org
2006-10-19 15:46 ` rsandifo 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).