public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/37878]  New: PPC64 ldu command generated with invalid offset
@ 2008-10-21  0:32 lucier at math dot purdue dot edu
  2008-10-21  0:33 ` [Bug target/37878] " lucier at math dot purdue dot edu
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: lucier at math dot purdue dot edu @ 2008-10-21  0:32 UTC (permalink / raw)
  To: gcc-bugs

With this compiler:

[descartes:gcc/objdirs/gambc-v4_1_2] lucier% /pkgs/gcc-4.4.0-64/bin/gcc -v
Using built-in specs.
Target: powerpc64-apple-darwin9.5.0
Configured with: ../../mainline/configure CC='/usr/bin/gcc-4.0 -mcpu=970 -m64'
--disable-werror --build=powerpc64-apple-darwin9.5.0
--host=powerpc64-apple-darwin9.5.0 --target=powerpc64-apple-darwin9.5.0
--with-gmp-include=/sw/include/ --with-gmp-lib=/sw/lib/ppc64
--with-mpfr-include=/sw/include/ --with-mpfr-lib=/sw/lib/ppc64
--prefix=/pkgs/gcc-4.4.0-64 --with-libiconv-prefix=/usr --with-system-zlib
Thread model: posix
gcc version 4.4.0 20081020 (experimental) [trunk revision 141240] (GCC) 

I get this error:

[descartes:gcc/objdirs/gambc-v4_1_2] lucier% /pkgs/gcc-4.4.0-64/bin/gcc
-save-temps -mcpu=970 -m64 -I../include -I. -no-cpp-precomp -Wall -W
-Wno-unused -O1 -fno-math-errno -fschedule-insns2 -fno-trapping-math
-fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common
-DHAVE_CONFIG_H -D___PRIMAL -D___LIBRARY -c assemtest.i
gcc: unrecognized option '-no-cpp-precomp'
assemtest.s:69:Parameter error: expression must be a multiple of 4 (parameter
2)

The offending assembler command is

        ldu r0,7(r9)

I'll include assemtest.i; the code itself is about 50 lines of
machine-generated C code, plus a lot of declarations so I could get it to
compile separately.


-- 
           Summary: PPC64 ldu command generated with invalid offset
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lucier at math dot purdue dot edu
 GCC build triplet: powerpc64-apple-darwin9.5.0
  GCC host triplet: powerpc64-apple-darwin9.5.0
GCC target triplet: powerpc64-apple-darwin9.5.0


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


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

end of thread, other threads:[~2008-10-30  0:02 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-21  0:32 [Bug target/37878] New: PPC64 ldu command generated with invalid offset lucier at math dot purdue dot edu
2008-10-21  0:33 ` [Bug target/37878] " lucier at math dot purdue dot edu
2008-10-21  0:34 ` lucier at math dot purdue dot edu
2008-10-21  8:37 ` schwab at suse dot de
2008-10-21  8:40 ` [Bug target/37878] [4.4 regression] " schwab at suse dot de
2008-10-21  9:56 ` jakub at gcc dot gnu dot org
2008-10-21 14:54 ` dje at gcc dot gnu dot org
2008-10-21 15:12 ` jakub at gcc dot gnu dot org
2008-10-21 15:16 ` dje at gcc dot gnu dot org
2008-10-22  3:33 ` mmitchel at gcc dot gnu dot org
2008-10-22 11:35 ` jakub at gcc dot gnu dot org
2008-10-23 19:22 ` lucier at math dot purdue dot edu
2008-10-23 21:26 ` lucier at math dot purdue dot edu
2008-10-28 22:37 ` dje at gcc dot gnu dot org
2008-10-28 23:15 ` dje at gcc dot gnu dot org
2008-10-29  8:33 ` jakub at gcc dot gnu dot org
2008-10-29 23:33 ` dje at gcc dot gnu dot org
2008-10-30  0:02 ` lucier at math dot purdue dot edu

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