public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/47446] New: [x32] .quad instead of .long is used for address
@ 2011-01-24 21:16 hjl.tools at gmail dot com
  2011-01-24 21:22 ` [Bug target/47446] " hjl at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-24 21:16 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [x32] .quad instead of .long is used for address
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com


[hjl@gnu-6 tmp]$ cat x.i
extern void abort (void);
enum
{
  __GCONV_OK = 0,
  __GCONV_NOCONV,
  __GCONV_NODB,
  __GCONV_NOMEM,
  __GCONV_EMPTY_INPUT,
  __GCONV_FULL_OUTPUT,
  __GCONV_ILLEGAL_INPUT,
  __GCONV_INCOMPLETE_INPUT,
  __GCONV_ILLEGAL_DESCRIPTOR,
  __GCONV_INTERNAL_ERROR
};
int
foo (int result)
{
  int irreversible = 0;
  switch (result)
    {
    case __GCONV_ILLEGAL_INPUT:
      irreversible = -1L;
      break;
    case __GCONV_FULL_OUTPUT:
      irreversible = -2L;
      break;
    case __GCONV_INCOMPLETE_INPUT:
      irreversible = -3L;
      break;
    case __GCONV_EMPTY_INPUT:
    case __GCONV_OK:
      break;
    default:
      abort ();
    }
  return irreversible;
}
[hjl@gnu-6 tmp]$ /export/build/gnu/gcc-x32/release/usr/gcc-4.6.0-x32/bin/gcc
-mx32 -O -c x.i
/tmp/ccjRzjne.s: Assembler messages:
/tmp/ccjRzjne.s:19: Error: cannot represent relocation type BFD_RELOC_64 in x32
mode
/tmp/ccjRzjne.s:20: Error: cannot represent relocation type BFD_RELOC_64 in x32
mode
/tmp/ccjRzjne.s:21: Error: cannot represent relocation type BFD_RELOC_64 in x32
mode
/tmp/ccjRzjne.s:22: Error: cannot represent relocation type BFD_RELOC_64 in x32
mode
/tmp/ccjRzjne.s:23: Error: cannot represent relocation type BFD_RELOC_64 in x32
mode
/tmp/ccjRzjne.s:24: Error: cannot represent relocation type BFD_RELOC_64 in x32
mode
/tmp/ccjRzjne.s:25: Error: cannot represent relocation type BFD_RELOC_64 in x32
mode
/tmp/ccjRzjne.s:26: Error: cannot represent relocation type BFD_RELOC_64 in x32
mode
[hjl@gnu-6 tmp]$


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

end of thread, other threads:[~2011-08-06 14:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-24 21:16 [Bug target/47446] New: [x32] .quad instead of .long is used for address hjl.tools at gmail dot com
2011-01-24 21:22 ` [Bug target/47446] " hjl at gcc dot gnu.org
2011-01-25 22:31 ` hjl.tools at gmail dot com
2011-01-25 22:33 ` hjl at gcc dot gnu.org
2011-03-11 21:24 ` hjl.tools at gmail dot com
2011-03-11 23:13 ` hjl at gcc dot gnu.org
2011-07-26 14:33 ` hjl.tools at gmail dot com
2011-07-27  4:20 ` hjl.tools at gmail dot com
2011-07-27  4:24 ` hjl.tools at gmail dot com
2011-08-06 14:37 ` hjl 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).