This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [testsuite] use new ADDITIONAL_TORTURE_OPTIONS if defined
On Sun, 2008-11-09 at 01:42 +0000, Joseph S. Myers wrote:
> On Wed, 5 Nov 2008, Janis Johnson wrote:
>
> > * doc/sourcebuild.texi (Torture Tests): Add ADDITIONAL_TORTURE_OPTIONS.
>
> I think that has broken building PDF/DVI manuals. In
> <http://gcc.gnu.org/ml/gccadmin/2008-q4/msg00057.html>:
>
> Runaway argument?
> ^^M @{ -O2 -ftree-loop-linear @} @\^^M @{ -O2 -fpeel-loops @} ]^^M@end @ETC.
> /tmp/gcc-doc-update.27986/gcc/gcc/doc/gccint.texi:143: File ended while scannin
> g use of @\
Yes, I broke it. I took a short cut testing the doc change because the
machine I was using didn't have all of the tools necessary for "make
dvi". Fixed with this patch:
Index: gcc/doc/sourcebuild.texi
===================================================================
--- gcc/doc/sourcebuild.texi (revision 141743)
+++ gcc/doc/sourcebuild.texi (working copy)
@@ -1578,7 +1578,7 @@
file or add them to the @file{site.exp} file; for example
@smallexample
-set ADDITIONAL_TORTURE_OPTIONS [list @\
- @{ -O2 -ftree-loop-linear @} @\
+set ADDITIONAL_TORTURE_OPTIONS [list \
+ @{ -O2 -ftree-loop-linear @} \
@{ -O2 -fpeel-loops @} ]
@end smallexample