This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: [RFA][PATCH] Fix building cr16-elf with trunk compiler


On 09/29/2015 11:49 PM, Jeff Law wrote:

This code from builtins.c:

   /* If we don't need too much alignment, we'll have been guaranteed
      proper alignment by get_trampoline_type.  */
   if (TRAMPOLINE_ALIGNMENT <= STACK_BOUNDARY)
     return tramp;


It's entirely conceivable that TRAMPOLINE_ALIGNMENT will be the same as
STACK_BOUNDARY.  And if they are, then -Wtautological-compare will
complain bitterly.

Eww. Can we fix the warning not to complain when the comparison involves macros?


Bernd


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