This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [Patch] Another MIPS fix for -Werror=undef
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Steve Ellcey <sellcey at imgtec dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Tue, 17 Feb 2015 21:16:50 +0000
- Subject: Re: [Patch] Another MIPS fix for -Werror=undef
- Authentication-results: sourceware.org; auth=none
- References: <446fbedd-fc76-4cdf-9222-18b0ccb430b0 at BAMAIL02 dot ba dot imgtec dot org>
On Tue, 17 Feb 2015, Steve Ellcey wrote:
> I ran into another MIPS build problem related to -Werror=undef. This one
> only affects R6 builds (__mips_isa_rev > 5). In that case memcpy and memset
> will check if 'PREFETCH_STORE_HINT == PREFETCH_HINT_PREPAREFORSTORE' before
> PREFETCH_HINT_PREPAREFORSTORE is defined.
>
> This patch fixes the build by moving the check down later in the file after
> PREFETCH_HINT_PREPAREFORSTORE is set.
>
> Tested with mips-img-linux-gnu. OK to checkin?
OK.
--
Joseph S. Myers
joseph@codesourcery.com