This is the mail archive of the gcc-testresults@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Results for 4.6.0 20100906 (experimental) (GCC) testsuite on i386-apple-darwin10.5.0


r163927 with http://gcc.gnu.org/ml/gcc-patches/2010-08/msg01916.html to fix PR45234
and the patch below to fix PR36502, PR42313 and PR44651...

2010-09-06  H.J. Lu  <hjl.tools@gmail.com>
            Jack Howarth <howarth@bromo.med.uc.edu>

        PR 36502/target
        PR 42313/target
        PR 44651/target

        * gcc/config/i386/darwin.h (STACK_BOUNDARY): Redefine as 128 for profiling
        or 64-bit MS_ABI and as BITS_PER_WORD otherwise.
        (PREFERRED_STACK_BOUNDARY): Replace STACK_BOUNDARY with 128 in MAX macro.
        * gcc.target/i386/pr36502.c: New test.
        * gcc.target/i386/builtin-unreachable.c: Don't skip on darwin.
        * gcc/testsuite/gcc.dg/stack-usage-1.c: Use default on i386/Darwin.


Index: gcc/testsuite/gcc.target/i386/builtin-unreachable.c
===================================================================
--- gcc/testsuite/gcc.target/i386/builtin-unreachable.c (revision 163892)
+++ gcc/testsuite/gcc.target/i386/builtin-unreachable.c (working copy)
@@ -9,5 +9,5 @@
     __builtin_unreachable ();
   return p ? 1 : 0;
 }
-/* { dg-final { scan-assembler-not "%e\[bs\]p" { target { ! *-*-darwin* } } } } */
+/* { dg-final { scan-assembler-not "%e\[bs\]p" } } */
 /* { dg-final { scan-assembler-not "\[\\t \]+j" } } */
Index: gcc/config/i386/darwin.h
===================================================================
--- gcc/config/i386/darwin.h    (revision 163892)
+++ gcc/config/i386/darwin.h    (working copy)
@@ -79,7 +79,9 @@
    Failure to ensure this will lead to a crash in the system libraries
    or dynamic loader.  */
 #undef STACK_BOUNDARY
-#define STACK_BOUNDARY 128
+#define STACK_BOUNDARY \
+ ((profile_flag || (TARGET_64BIT && ix86_abi == MS_ABI)) \
+  ? 128 : BITS_PER_WORD)
 
 #undef MAIN_STACK_BOUNDARY
 #define MAIN_STACK_BOUNDARY 128
@@ -91,7 +93,7 @@
    it's below the minimum.  */
 #undef PREFERRED_STACK_BOUNDARY
 #define PREFERRED_STACK_BOUNDARY                       \
-  MAX (STACK_BOUNDARY, ix86_preferred_stack_boundary)
+  MAX (128, ix86_preferred_stack_boundary)
 
 /* We want -fPIC by default, unless we're using -static to compile for
    the kernel or some such.  */
--- /dev/null   2010-09-01 11:08:32.000000000 -0400
+++ gcc/testsuite/gcc.target/i386/pr36502.c     2010-09-01 11:23:10.000000000 -0400
@@ -0,0 +1,7 @@
+/* PR target/36502 */
+/* { dg-do compile { target { *-*-darwin* && ilp32 } } } */
+/* { dg-options "-O -fomit-frame-pointer -fno-pic -S" } */
+int a;
+void f() {a++;}
+/* { dg-final { scan-assembler-not "esp" } } */
+
Index: gcc/testsuite/gcc.dg/stack-usage-1.c
===================================================================
--- gcc/testsuite/gcc.dg/stack-usage-1.c        (revision 163768)
+++ gcc/testsuite/gcc.dg/stack-usage-1.c        (working copy)
@@ -8,11 +8,7 @@
    Then check that this is the actual stack usage in the assembly file.  */
 
 #if defined(__i386__)
-#  if defined (__MACH__)
-#    define SIZE 232
-#  else
-#    define SIZE 248
-#  endif
+#  define SIZE 248
 #elif defined(__x86_64__)
 #  define SIZE 356
 #elif defined (__sparc__)

Native configuration is i386-apple-darwin10.5.0

		=== g++ tests ===


Running target unix/-m32
WARNING: g++.dg/ext/label13.C compilation failed to produce executable
FAIL: g++.dg/ext/visibility/anon6.C scan-assembler 1BIiE1cE
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)
UNRESOLVED: g++.dg/lto/20100723-1 cp_lto_20100723-1_0.o-cp_lto_20100723-1_0.o execute -fcompare-debug -flto
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)
UNRESOLVED: g++.dg/lto/20100723-1 cp_lto_20100723-1_0.o-cp_lto_20100723-1_0.o execute -fcompare-debug -fwhopr
FAIL: g++.dg/torture/stackalign/eh-alloca-1.C  -O3 -g  execution test
FAIL: g++.dg/torture/stackalign/eh-vararg-1.C  -O3 -g  execution test
FAIL: g++.dg/torture/stackalign/eh-vararg-2.C  -O3 -g  execution test
FAIL: g++.dg/torture/stackalign/eh-alloca-1.C  -O3 -g  execution test
FAIL: g++.dg/torture/stackalign/eh-vararg-1.C  -O3 -g  execution test
FAIL: g++.dg/torture/stackalign/eh-vararg-2.C  -O3 -g  execution test
FAIL: g++.dg/tree-prof/partition1.C compilation,  -g  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/partition1.C execution,    -g  -fprofile-use
FAIL: g++.dg/tree-prof/partition1.C compilation,  -O3 -g  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/partition1.C execution,    -O3 -g  -fprofile-use
FAIL: g++.dg/tree-prof/partition2.C compilation,  -O3 -g  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/partition2.C execution,    -O3 -g  -fprofile-use

		=== g++ Summary for unix/-m32 ===

# of expected passes		24485
# of unexpected failures	12
# of expected failures		150
# of unresolved testcases	5
# of unsupported tests		169

Running target unix/-m64
WARNING: g++.dg/ext/label13.C compilation failed to produce executable
FAIL: g++.dg/ext/visibility/anon6.C scan-assembler 1BIiE1cE
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)
UNRESOLVED: g++.dg/lto/20100723-1 cp_lto_20100723-1_0.o-cp_lto_20100723-1_0.o execute -fcompare-debug -flto
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)
UNRESOLVED: g++.dg/lto/20100723-1 cp_lto_20100723-1_0.o-cp_lto_20100723-1_0.o execute -fcompare-debug -fwhopr
FAIL: g++.dg/tree-prof/partition1.C compilation,  -g  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/partition1.C execution,    -g  -fprofile-use
FAIL: g++.dg/tree-prof/partition1.C compilation,  -O3 -g  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/partition1.C execution,    -O3 -g  -fprofile-use
FAIL: g++.dg/tree-prof/partition2.C compilation,  -O3 -g  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/partition2.C execution,    -O3 -g  -fprofile-use

		=== g++ Summary for unix/-m64 ===

# of expected passes		24728
# of unexpected failures	6
# of expected failures		150
# of unresolved testcases	5
# of unsupported tests		365

		=== g++ Summary ===

# of expected passes		49213
# of unexpected failures	18
# of expected failures		300
# of unresolved testcases	10
# of unsupported tests		534
/sw_i386/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/testsuite/g++/../../g++  version 4.6.0 20100906 (experimental) (GCC) 

		=== gcc tests ===


Running target unix/-m32
FAIL: gcc.dg/framework-1.c (test for excess errors)
XPASS: gcc.dg/tree-ssa/20031106-3.c scan-tree-dump-times optimized "link_error" 0
XPASS: gcc.dg/tree-ssa/20040204-1.c scan-tree-dump-times optimized "link_error" 0
XPASS: gcc.dg/tree-ssa/fre-vce-1.c scan-tree-dump-times fre "sv.i" 2
FAIL: gcc.target/i386/combine-mul.c scan-assembler-not 12345

		=== gcc Summary for unix/-m32 ===

# of expected passes		71858
# of unexpected failures	2
# of unexpected successes	3
# of expected failures		212
# of unsupported tests		1289

Running target unix/-m64
FAIL: gcc.dg/framework-1.c (test for excess errors)
FAIL: gcc.dg/matrix/transpose-3.c execution,    -fprofile-use -fipa-matrix-reorg -fdump-ipa-matrix-reorg -O3 -fwhole-program -combine
XPASS: gcc.dg/tree-ssa/20031106-3.c scan-tree-dump-times optimized "link_error" 0
XPASS: gcc.dg/tree-ssa/20040204-1.c scan-tree-dump-times optimized "link_error" 0
XPASS: gcc.dg/tree-ssa/fre-vce-1.c scan-tree-dump-times fre "sv.i" 2
FAIL: gcc.target/i386/combine-mul.c scan-assembler-not 12345

		=== gcc Summary for unix/-m64 ===

# of expected passes		71963
# of unexpected failures	3
# of unexpected successes	3
# of expected failures		213
# of unsupported tests		1654

		=== gcc Summary ===

# of expected passes		143821
# of unexpected failures	5
# of unexpected successes	6
# of expected failures		425
# of unsupported tests		2943
/sw_i386/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/xgcc  version 4.6.0 20100906 (experimental) (GCC) 

		=== gfortran tests ===


Running target unix/-m32

		=== gfortran Summary for unix/-m32 ===

# of expected passes		36148
# of expected failures		50
# of unsupported tests		147

Running target unix/-m64

		=== gfortran Summary for unix/-m64 ===

# of expected passes		36323
# of expected failures		50
# of unsupported tests		65

		=== gfortran Summary ===

# of expected passes		72471
# of expected failures		100
# of unsupported tests		212
/sw_i386/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/testsuite/gfortran/../../gfortran  version 4.6.0 20100906 (experimental) (GCC) 

		=== obj-c++ tests ===


Running target unix/-m32
WARNING: obj-c++.dg/lookup-2.mm -fgnu-runtime compilation failed to produce executable
WARNING: obj-c++.dg/try-catch-2.mm -fgnu-runtime compilation failed to produce executable
WARNING: obj-c++.dg/try-catch-9.mm -fgnu-runtime compilation failed to produce executable

		=== obj-c++ Summary for unix/-m32 ===

# of expected passes		1176
# of expected failures		3
# of unsupported tests		15

Running target unix/-m64
WARNING: obj-c++.dg/lookup-2.mm -fgnu-runtime compilation failed to produce executable
WARNING: obj-c++.dg/try-catch-2.mm -fgnu-runtime compilation failed to produce executable
WARNING: obj-c++.dg/try-catch-9.mm -fgnu-runtime compilation failed to produce executable
WARNING: obj-c++.dg/try-catch-2.mm -fnext-runtime compilation failed to produce executable
WARNING: obj-c++.dg/try-catch-9.mm -fnext-runtime compilation failed to produce executable

		=== obj-c++ Summary for unix/-m64 ===

# of expected passes		1084
# of expected failures		61
# of unsupported tests		19

		=== obj-c++ Summary ===

# of expected passes		2260
# of expected failures		64
# of unsupported tests		34
/sw_i386/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/testsuite/obj-c++/../../g++  version 4.6.0 20100906 (experimental) (GCC) 

		=== objc tests ===


Running target unix/-m32
FAIL: objc.dg/headers.m -fnext-runtime (test for excess errors)
FAIL: objc.dg/no-extra-load.m -fnext-runtime (test for excess errors)
ERROR: objc.dg/no-extra-load.m: error executing dg-final: couldn't open "no-extra-load.s": no such file or directory
UNRESOLVED: objc.dg/no-extra-load.m: error executing dg-final: couldn't open "no-extra-load.s": no such file or directory

		=== objc Summary for unix/-m32 ===

# of expected passes		3997
# of unexpected failures	2
# of expected failures		7
# of unresolved testcases	1
# of unsupported tests		26

Running target unix/-m64
FAIL: objc.dg/headers.m -fnext-runtime (test for excess errors)
FAIL: objc.dg/no-extra-load.m -fnext-runtime (test for excess errors)
ERROR: objc.dg/no-extra-load.m: error executing dg-final: couldn't open "no-extra-load.s": no such file or directory
UNRESOLVED: objc.dg/no-extra-load.m: error executing dg-final: couldn't open "no-extra-load.s": no such file or directory

		=== objc Summary for unix/-m64 ===

# of expected passes		2702
# of unexpected failures	2
# of expected failures		56
# of unresolved testcases	1
# of unsupported tests		31

		=== objc Summary ===

# of expected passes		6699
# of unexpected failures	4
# of expected failures		63
# of unresolved testcases	2
# of unsupported tests		57
/sw_i386/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/xgcc  version 4.6.0 20100906 (experimental) (GCC) 

		=== libffi tests ===


Running target unix/-m32

		=== libffi Summary for unix/-m32 ===

# of expected passes		1624
# of expected failures		10
# of unsupported tests		15

Running target unix/-m64

		=== libffi Summary for unix/-m64 ===

# of expected passes		1624
# of expected failures		10
# of unsupported tests		15

		=== libffi Summary ===

# of expected passes		3248
# of expected failures		20
# of unsupported tests		30
		=== libgomp tests ===


Running target unix/-m32

		=== libgomp Summary for unix/-m32 ===

# of expected passes		2536
# of unsupported tests		2

Running target unix/-m64

		=== libgomp Summary for unix/-m64 ===

# of expected passes		2536
# of unsupported tests		2

		=== libgomp Summary ===

# of expected passes		5072
# of unsupported tests		4
		=== libjava tests ===


Running target unix/-m32

		=== libjava Summary for unix/-m32 ===

# of expected passes		2574

Running target unix/-m64
FAIL: PR16923.c compilation

		=== libjava Summary for unix/-m64 ===

# of expected passes		2572
# of unexpected failures	1

		=== libjava Summary ===

# of expected passes		5146
# of unexpected failures	1
		=== libstdc++ tests ===


Running target unix/-m32

		=== libstdc++ Summary for unix/-m32 ===

# of expected passes		6682
# of expected failures		81
# of unsupported tests		631

Running target unix/-m64

		=== libstdc++ Summary for unix/-m64 ===

# of expected passes		6680
# of expected failures		81
# of unsupported tests		632

		=== libstdc++ Summary ===

# of expected passes		13362
# of expected failures		162
# of unsupported tests		1263

Compiler version: 4.6.0 20100906 (experimental) (GCC) 
Platform: i386-apple-darwin10.5.0
configure flags: --prefix=/sw_i386 --prefix=/sw_i386/lib/gcc4.6 --mandir=/sw_i386/share/man --infodir=/sw_i386/lib/gcc4.6/info --enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw_i386 --with-libiconv-prefix=/sw_i386 --with-ppl=/sw_i386 --with-cloog=/sw_i386 --with-mpc=/sw_i386 --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --program-suffix=-fsf-4.6 --enable-checking=yes




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]