On 01/28/15 10:15, Bruce Korb wrote:
On 01/28/15 10:13, Bruce Korb wrote:
Hi Rainer,
Sorry for the long delay. Anyway:
On 01/28/15 06:12, Rainer Orth wrote:
* In test_text, I had to backslash-escape the trailing \, otherwise they
were eaten up. Whether or not I do this makes no difference for the
generated fixincl.x, but only with the escaping does make check pass.
Right. It likely gets massaged by a shell script somewhere.
Line 88 of check.tpl:
Oh, line 59 too:
59 cat >> [=(. sfile)=] <<_HACK_EOF_
60
61
62 #if defined( [=(. HACK)=]_CHECK_[=(for-index)=] )
63 [=test_text=]
64 #endif /* [=(. HACK)=]_CHECK_[=(for-index)=] */
65 _HACK_EOF_
I kicked off a test. It is not as simple as quoting the sentinel.
I'll dig into it when I can.
features.h /u/gnu/proj/gcc-svn-bld/fixincludes/tests/base/features.h differ:
char 318, line 13
*** features.h Wed Jan 28 11:26:38 2015
--- /u/gnu/proj/gcc-svn-bld/fixincludes/tests/base/features.h Sat Dec 6
06:10:29 2014
***************
*** 10,17 ****
#if defined( GLIBC_C99_INLINE_1_CHECK )
! #if __GNUC_PREREQ (2, 7) && defined __OPTIMIZE__ \
! && !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__ && (defined
__extern_inline || defined __GNUC_GNU_INLINE__)
# define __USE_EXTERN_INLINES 1
#endif
#endif /* GLIBC_C99_INLINE_1_CHECK */
--- 10,16 ----
#if defined( GLIBC_C99_INLINE_1_CHECK )
! #if __GNUC_PREREQ (2, 7) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__
&& !defined __NO_INLINE__
# define __USE_EXTERN_INLINES 1
#endif
#endif /* GLIBC_C99_INLINE_1_CHECK */
This should be fixed by changing the "base" version.