This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

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


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