@copying
@quotation
-libgccjit 5.0.0 (experimental 20141211), December 11, 2014
+libgccjit 5.0.0 (experimental 20150107), January 07, 2015
David Malcolm
@float Figure
-@image{sum-of-squares,,,image of a control flow graph,png}
+@image{sum-of-squares1,,,image of a control flow graph,png}
@end float
@float Figure
-@image{sum-of-squares,,,image of a control flow graph,png}
+@image{sum-of-squares1,,,image of a control flow graph,png}
@end float
@float Figure
-@image{factorial,,,image of a control flow graph,png}
+@image{factorial1,,,image of a control flow graph,png}
@end float
@float Figure
-@image{sum-of-squares1,,,image of a control flow graph,png}
+@image{sum-of-squares,,,image of a control flow graph,png}
@end float
@float Figure
-@image{sum-of-squares1,,,image of a control flow graph,png}
+@image{sum-of-squares,,,image of a control flow graph,png}
@end float
@float Figure
-@image{factorial1,,,image of a control flow graph,png}
+@image{factorial,,,image of a control flow graph,png}
@end float
LD_LIBRARY_PATH=. \
LIBRARY_PATH=. \
gdb --args \
- testsuite/jit/test-factorial.exe
+ testsuite/jit/test-factorial.c.exe
@end example
@noindent
$ less testsuite/jit/jit.sum
(...other results...)
-XFAIL: jit.dg/test-sum-of-squares.c: test-sum-of-squares.exe.valgrind.txt: definitely lost: 8 bytes in 1 blocks
-XFAIL: jit.dg/test-sum-of-squares.c: test-sum-of-squares.exe.valgrind.txt: unsuppressed errors: 1
+XFAIL: jit.dg/test-sum-of-squares.c: test-sum-of-squares.c.exe.valgrind.txt: definitely lost: 8 bytes in 1 blocks
+XFAIL: jit.dg/test-sum-of-squares.c: test-sum-of-squares.c.exe.valgrind.txt: unsuppressed errors: 1
(...other results...)
-$ less testsuite/jit/test-sum-of-squares.exe.valgrind.txt
+$ less testsuite/jit/test-sum-of-squares.c.exe.valgrind.txt
(...shows full valgrind report for this test case...)
@end example
LD_LIBRARY_PATH=. \
LIBRARY_PATH=. \
gdb --args \
- testsuite/jit/test-factorial.exe
+ testsuite/jit/test-factorial.c.exe
Running under valgrind
**********************
$ less testsuite/jit/jit.sum
(...other results...)
- XFAIL: jit.dg/test-sum-of-squares.c: test-sum-of-squares.exe.valgrind.txt: definitely lost: 8 bytes in 1 blocks
- XFAIL: jit.dg/test-sum-of-squares.c: test-sum-of-squares.exe.valgrind.txt: unsuppressed errors: 1
+ XFAIL: jit.dg/test-sum-of-squares.c: test-sum-of-squares.c.exe.valgrind.txt: definitely lost: 8 bytes in 1 blocks
+ XFAIL: jit.dg/test-sum-of-squares.c: test-sum-of-squares.c.exe.valgrind.txt: unsuppressed errors: 1
(...other results...)
- $ less testsuite/jit/test-sum-of-squares.exe.valgrind.txt
+ $ less testsuite/jit/test-sum-of-squares.c.exe.valgrind.txt
(...shows full valgrind report for this test case...)
When running under valgrind, it's best to have configured gcc with
}
# Determine what to name the built executable.
- set output_file "[file rootname [file tail $prog]].exe"
+ #
+ # We simply append .exe to the filename, e.g.
+ # "test-foo.c.exe"
+ # since some testcases exist in both
+ # "test-foo.c" and
+ # "test-foo.cc"
+ # variants, and we don't want them to clobber each other's
+ # executables.
+ #
+ # This also ensures that the source name makes it into the
+ # pass/fail output, so that we can distinguish e.g. which test-foo
+ # is failing.
+ set output_file "[file tail $prog].exe"
verbose "output_file: $output_file"
# Create the test executable: