[committed] Testsuite: Various fixes for nios2.

Sandra Loosemore sandra@codesourcery.com
Thu Nov 11 14:56:18 GMT 2021

I've pushed the attached patch to clean up some test failures I've seen 
on nios2-elf.  This target defaults to -fno-delete-null-pointer-checks 
so any optimization tests that depend on assumptions that valid pointers 
are non-zero have to be marked explicitly.  The others ought to be 
obvious, except perhaps struct-by-value-1.c which was giving a link 
error about overflowing the small data region without -G0.

My last set of test results were pretty messy but I think almost all of 
the problems are not nios2-specific (e.g., PR103166, PR103163).  I think 
it is better to wait until we're into stage 3 and the churn settles down 
some before I make another pass to triage remaining nios2-specific 
problems, but I might as well check in what I have now instead of 
sitting on it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nios2-testsuite-fixes.patch
Type: text/x-patch
Size: 3616 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211111/46213f6d/attachment.bin>

More information about the Gcc-patches mailing list