PR driver/69805
commit5814ddcdd82b65cd08588d2580b00e6beb32ba36
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Feb 2016 22:18:38 +0000 (19 22:18 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Feb 2016 22:18:38 +0000 (19 22:18 +0000)
tree17f67abcfcc86647caa91db5ba3871abb45013d9
parentec1cc0263f156f70693a62cf17b254a0029f4852
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
gcc/ChangeLog
gcc/gcc.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr69805.c [new file with mode: 0644]