[PATCH] gcc: vx-common.h: fix test for VxWorks7

Olivier Hainque hainque@adacore.com
Fri Nov 5 08:08:04 GMT 2021


Hi Rasmus,

> On 3 Nov 2021, at 14:18, Rasmus Villemoes <rv@rasmusvillemoes.dk> wrote:
> 
> The macro TARGET_VXWORKS7 is always defined (see vxworks-dummy.h).
> Thus we need to test its value, not its definedness.
> 
> Fixes aca124df (define NO_DOT_IN_LABEL only in vxworks6).
> 
> gcc/ChangeLog:
> 
> 	* config/vx-common.h: Test value of TARGET_VXWORKS7 rather
> 	than definedness.

Indeed. Ok, thanks!







More information about the Gcc-patches mailing list