This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
GCC testsuite differences with and without gas on IRIX 6
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- To: gcc at gcc dot gnu dot org, binutils at sources dot redhat dot com
- Cc: Eric Christopher <echristo at redhat dot com>
- Date: Thu, 24 Jul 2003 21:06:24 +0200 (MEST)
- Subject: GCC testsuite differences with and without gas on IRIX 6
I've just completed two bootstraps of mainline GCC on IRIX 6.5.20 (N32 ABI
only) with the native as and gas 2.14.90 with this patch:
http://sources.redhat.com/ml/binutils/2003-07/msg00415.html
The only new testsuite failures with gas are in libjava:
+FAIL: PR295 compilation from source
This test (and a few others) fail due to the following gas warning:
/var/tmp//cc80GL5k.s:19: Warning: .space repeat count is zero, ignored
for this code:
.align 3
.space 0
.section .rodata
The warning is from from gas/read.c (s_space), where it is only emitted if
!flag_mri.
The question is how best to fix this:
* The native as doesn't complain, so one may just remove the gas warning.
* One could ignore the warning via dejagnu's target.exp, but that doesn't
seem friendly to a normal user seeing that warning when compiling his
code with GCJ.
* One could change GCC not to emit this useless .space directive in the
first place?
What are people's preferences here?
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University