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: [fixincludes] Fix <iso/math_c99.h> signbit on Solaris


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:

     88 cat >> [= (raw-shell-str (if (exist? "files") (get "files[0]") "testing.h"))
     89          =] <<_HACK_EOF_
     90
     91
     92 #if defined( [=(. HACK)=]_CHECK )
     93 [=test_text=]
     94 #endif  /* [=(. HACK)=]_CHECK */
     95 _HACK_EOF_

By quoting the "_HACK_EOF_" delimiter on line 89, the shell will not
try to process the "test_text".

This is certainly something that needs to be decided: if we go this
route, we should bump the autogen version requirement in install.texi
(to whatever is necessary to support the TAB\ magic).

I think Debian stable has moved up to 5.18.2, if I am remembering
correctly.  It's a year old (last fall).  I think that is old enough to
have been spread around by now.

It's your call ultimately.

OK, let's bump the defined requirement to something (almost) in this decade,
even if (for the moment) we don't use the TAB\ magic:

rel5.9.8/                    16-May-2009


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