summaryrefslogtreecommitdiff
path: root/libgomp/testsuite
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2016-02-19 22:18:38 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2016-02-19 22:18:38 +0000
commit5814ddcdd82b65cd08588d2580b00e6beb32ba36 (patch)
tree17f67abcfcc86647caa91db5ba3871abb45013d9 /libgomp/testsuite
parentec1cc0263f156f70693a62cf17b254a0029f4852 (diff)
downloadgcc-5814ddcdd82b65cd08588d2580b00e6beb32ba36.tar.gz
PR driver/69805
* gcc.c (LINK_COMMAND_SPEC, GOMP_SELF_SPECS): Use :%* in %:gt() argument. (greater_than_spec_func): Adjust for expecting only numbers, if there are more than two numbers, compare the last two. * testsuite/libgomp.c/pr69805.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233573 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/testsuite')
-rw-r--r--libgomp/testsuite/libgomp.c/pr69805.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libgomp/testsuite/libgomp.c/pr69805.c b/libgomp/testsuite/libgomp.c/pr69805.c
new file mode 100644
index 00000000000..735d6d9d626
--- /dev/null
+++ b/libgomp/testsuite/libgomp.c/pr69805.c
@@ -0,0 +1,9 @@
+/* PR driver/69805 */
+/* { dg-do link } */
+/* { dg-options "-ftree-parallelize-loops=1 -O2 -ftree-parallelize-loops=2" } */
+
+int
+main ()
+{
+ return 0;
+}