+2008-11-05 Janis Johnson <janis187@us.ibm.com>
+
+ * doc/sourcebuild.texi (Torture Tests): Add ADDITIONAL_TORTURE_OPTIONS.
+
2008-11-06 Ben Elliston <bje@au.ibm.com>
* config/rs6000/rs6000.c (rs6000_override_options): Comment fix.
@var{DG_TORTURE_OPTIONS} defined in @file{gcc-dg.exp}.
Most uses of torture options can override the default lists by defining
-@var{TORTURE_OPTIONS} in a @file{.dejagnurc} file.
+@var{TORTURE_OPTIONS} or add to the default list by defining
+@var{ADDITIONAL_TORTURE_OPTIONS}. Define these in a @file{.dejagnurc}
+file or add them to the @file{site.exp} file; for example
+
+@smallexample
+set ADDITIONAL_TORTURE_OPTIONS [list @\
+ @{ -O2 -ftree-loop-linear @} @\
+ @{ -O2 -fpeel-loops @} ]
+@end smallexample
+2008-11-05 Janis Johnson <janis187@us.ibm.com>
+
+ * lib/c-torture.exp: Use ADDITIONAL_TORTURE_OPTIONS if defined.
+ * lib/gcc-dg.exp: Ditto.
+ * lib/fortran-torture.exp: Ditto.
+ * lib/objc-torture.exp: Ditto.
+
2008-11-05 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/38025
{ -Os } ]
}
+if [info exists ADDITIONAL_TORTURE_OPTIONS] {
+ set C_TORTURE_OPTIONS \
+ [concat $C_TORTURE_OPTIONS $ADDITIONAL_TORTURE_OPTIONS]
+}
+
global GCC_UNDER_TEST
if ![info exists GCC_UNDER_TEST] {
set GCC_UNDER_TEST "[find_gcc]"
lappend options $vectorizer_options
}
+ if [info exists ADDITIONAL_TORTURE_OPTIONS] {
+ set options [concat $options $ADDITIONAL_TORTURE_OPTIONS]
+ }
+
return $options
}
{ -Os } ]
}
+if [info exists ADDITIONAL_TORTURE_OPTIONS] {
+ set DG_TORTURE_OPTIONS \
+ [concat $DG_TORTURE_OPTIONS $ADDITIONAL_TORTURE_OPTIONS]
+}
+
global GCC_UNDER_TEST
if ![info exists GCC_UNDER_TEST] {
set GCC_UNDER_TEST "[find_gcc]"
" -Os " ]
}
+if [info exists ADDITIONAL_TORTURE_OPTIONS] {
+ set OBJC_TORTURE_OPTIONS \
+ [concat $OBJC_TORTURE_OPTIONS $ADDITIONAL_TORTURE_OPTIONS]
+}
+
#
# objc-torture-compile -- runs the Tege OBJC-torture test
#