This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/44812] m32 lto produces non-relocatable subtraction expression errors
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Aug 2010 10:30:38 -0000
- Subject: [Bug lto/44812] m32 lto produces non-relocatable subtraction expression errors
- References: <bug-44812-11113@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #23 from dominiq at lps dot ens dot fr 2010-08-27 10:30 -------
With the patch in comment #21 I get for powerpc-apple-darwin9
Running target unix/-m32
Using /sw/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /sw/share/dejagnu/config/unix.exp as generic interface file for target.
Using /opt/gcc/gcc-4.6-work/gcc/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running /opt/gcc/gcc-4.6-work/gcc/testsuite/gcc.dg/lto/lto.exp ...
=== gcc Summary for unix/-m32 ===
# of expected passes 618
# of unsupported tests 8
Running target unix/-m64
Using /sw/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /sw/share/dejagnu/config/unix.exp as generic interface file for target.
Using /opt/gcc/gcc-4.6-work/gcc/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running /opt/gcc/gcc-4.6-work/gcc/testsuite/gcc.dg/lto/lto.exp ...
FAIL: gcc.dg/lto/20090116 c_lto_20090116_0.o-c_lto_20090116_0.o link, -O1
-fwhopr -fPIC (internal compiler error)
=== gcc Summary for unix/-m64 ===
# of expected passes 617
# of unexpected failures 1
# of unresolved testcases 1
# of unsupported tests 8
=== gcc Summary ===
# of expected passes 1235
# of unexpected failures 1
# of unresolved testcases 1
# of unsupported tests 16
/opt/gcc/darwin_buildw/gcc/xgcc version 4.6.0 20100825 (experimental) [trunk
revision 163553p1b] (GCC)
and
Running target unix/-m32
Using /sw/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /sw/share/dejagnu/config/unix.exp as generic interface file for target.
Using /opt/gcc/gcc-4.6-work/gcc/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running /opt/gcc/gcc-4.6-work/gcc/testsuite/g++.dg/lto/lto.exp ...
FAIL: g++.dg/lto/20081109 cp_lto_20081109_0.o-cp_lto_20081109_1.o execute -O2
-fwhopr
FAIL: g++.dg/lto/20100723-1 cp_lto_20100723-1_0.o-cp_lto_20100723-1_0.o link,
-fcompare-debug -flto (internal compiler error)
FAIL: g++.dg/lto/20100723-1 cp_lto_20100723-1_0.o-cp_lto_20100723-1_0.o link,
-fcompare-debug -fwhopr (internal compiler error)
=== g++ Summary for unix/-m32 ===
# of expected passes 459
# of unexpected failures 3
# of unresolved testcases 2
# of unsupported tests 1
Running target unix/-m64
Using /sw/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /sw/share/dejagnu/config/unix.exp as generic interface file for target.
Using /opt/gcc/gcc-4.6-work/gcc/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running /opt/gcc/gcc-4.6-work/gcc/testsuite/g++.dg/lto/lto.exp ...
FAIL: g++.dg/lto/20081109 cp_lto_20081109_0.o-cp_lto_20081109_1.o execute -O2
-fwhopr
FAIL: g++.dg/lto/20100723-1 cp_lto_20100723-1_0.o-cp_lto_20100723-1_0.o link,
-fcompare-debug -flto (internal compiler error)
FAIL: g++.dg/lto/20100723-1 cp_lto_20100723-1_0.o-cp_lto_20100723-1_0.o link,
-fcompare-debug -fwhopr (internal compiler error)
=== g++ Summary for unix/-m64 ===
# of expected passes 459
# of unexpected failures 3
# of unresolved testcases 2
# of unsupported tests 1
=== g++ Summary ===
# of expected passes 918
# of unexpected failures 6
# of unresolved testcases 4
# of unsupported tests 2
/opt/gcc/darwin_buildw/gcc/testsuite/g++/../../g++ version 4.6.0 20100825
(experimental) [trunk revision 163553p1b] (GCC)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44812