This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
patch to improve g++ test results on openserver
- To: egcs at cygnus dot com
- Subject: patch to improve g++ test results on openserver
- From: Robert Lipe <robertl at dgii dot com>
- Date: Fri, 7 Nov 1997 15:40:26 -0600
Now we're down to one line changes that require three
hours of rebuilding and retesting. :-)
I suspect the ASM_OUTPUT_ALIGNED_BSS thing is a placebo, so
if you don't like it, drop it. The ATEXIT thing is the
important one here.
These changes have no effect on the coff tests.
$ diff -c coff*0[67]/g++.sum
*** coff-971106/g++.sum Thu Nov 6 11:48:05 1997
--- coff-971107/g++.sum Fri Nov 7 14:49:06 1997
***************
*** 1,4 ****
! Test Run By robertl on Thu Nov 6 11:08:15 1997
Native configuration is i586-pc-sco3.2v5.0.4
=== g++ tests ===
--- 1,4 ----
! Test Run By robertl on Fri Nov 7 14:08:48 1997
Native configuration is i586-pc-sco3.2v5.0.4
=== g++ tests ===
And it cures one straggler ELF g++ execution test failure that
we've been seeing for long time.
$ diff -c elf*0[67]/g++.sum
*** elf-971106/g++.sum Thu Nov 6 11:08:12 1997
--- elf-971107/g++.sum Fri Nov 7 14:08:45 1997
***************
*** 1,4 ****
! Test Run By robertl on Thu Nov 6 10:28:40 1997
Native configuration is i586-pc-sco3.2v5.0.4
=== g++ tests ===
--- 1,4 ----
! Test Run By robertl on Fri Nov 7 13:31:09 1997
Native configuration is i586-pc-sco3.2v5.0.4
=== g++ tests ===
***************
*** 3127,3133 ****
PASS: g++.mike/p9732a.C (test for excess errors)
PASS: g++.mike/p9732a.C Execution test
PASS: g++.mike/p9732b.C (test for excess errors)
! FAIL: g++.mike/p9732b.C Execution test
PASS: g++.mike/p9732c.C (test for warnings, line 5)
PASS: g++.mike/p9732c.C (test for excess errors)
PASS: g++.mike/p991.C (test for excess errors)
--- 3127,3133 ----
PASS: g++.mike/p9732a.C (test for excess errors)
PASS: g++.mike/p9732a.C Execution test
PASS: g++.mike/p9732b.C (test for excess errors)
! PASS: g++.mike/p9732b.C Execution test
PASS: g++.mike/p9732c.C (test for warnings, line 5)
PASS: g++.mike/p9732c.C (test for excess errors)
PASS: g++.mike/p991.C (test for excess errors)
***************
*** 3477,3484 ****
=== g++ Summary ===
! # of expected passes 3375
! # of unexpected failures 5
# of unexpected successes 3
# of expected failures 80
# of untested testcases 6
--- 3477,3484 ----
=== g++ Summary ===
! # of expected passes 3376
! # of unexpected failures 4
# of unexpected successes 3
# of expected failures 80
# of untested testcases 6
Fri Nov 7 15:33:11 1997 Robert Lipe (robertl@dgii.com)
* sco5.h: (ASM_OUTPUT_ALIGNED_BSS): Define as in sysv4 and linux
(HAVE_ATEXIT): Undefined. This confused ELF destructors.
*** config/i386/sco5.h_ Sun Nov 2 14:41:20 1997
--- config/i386/sco5.h Fri Nov 7 15:31:21 1997
***************
*** 284,289 ****
--- 284,298 ----
} \
} while (0)
+ /* A C statement (sans semicolon) to output to the stdio stream
+ FILE the assembler definition of uninitialized global DECL named
+ NAME whose size is SIZE bytes and alignment is ALIGN bytes.
+ Try to use asm_output_aligned_bss to implement this macro. */
+
+ #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
+ asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN)
+
+
#undef ESCAPES
#define ESCAPES \
"\1\1\1\1\1\1\1\1btn\1fr\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\
***************
*** 920,926 ****
# if defined (_SCO_ELF)
# define OBJECT_FORMAT_ELF
- # define HAVE_ATEXIT
# define INIT_SECTION_ASM_OP INIT_SECTION_ASM_OP_ELF
# define FINI_SECTION_ASM_OP FINI_SECTION_ASM_OP_ELF
# define DTORS_SECTION_ASM_OP DTORS_SECTION_ASM_OP_ELF
--- 929,934 ----