[PATCH] Fix build warnings in regex.c, bug-regex20.c, bug-regex33.c

Siddhesh Poyarekar siddhesh@redhat.com
Thu Feb 14 11:49:00 GMT 2013


On Thu, Feb 14, 2013 at 12:36:17PM +0100, Thomas Schwinge wrote:
> Wouldn't marking them as always_inline (which is the intention here, I
> think?) also make that warning go away?
> 

It would have, but gcc thinks that those functions are not inlinable:

In file included from regex.c:63:0:
regex_internal.h:740:1: warning: always_inline function might not be inlinable [-Wattributes]
regex_internal.h:730:1: warning: always_inline function might not be inlinable [-Wattributes]
regex_internal.h:717:1: warning: always_inline function might not be inlinable [-Wattributes]
regex_internal.h:706:1: warning: always_inline function might not be inlinable [-Wattributes]
regex_internal.h:698:1: warning: always_inline function might not be inlinable [-Wattributes]
regex_internal.h:690:1: warning: always_inline function might not be inlinable [-Wattributes]


Siddhesh



More information about the Libc-alpha mailing list