re PR driver/69805 (ICE in greater_than_spec_func, at gcc.c:9722)
authorJakub Jelinek <jakub@redhat.com>
Fri, 19 Feb 2016 22:18:38 +0000 (23:18 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 19 Feb 2016 22:18:38 +0000 (23:18 +0100)
commitf3609a89f45eef81bf76ee2d1aed4f6d50b5f8fd
tree17f67abcfcc86647caa91db5ba3871abb45013d9
parent3a27b4db566c2cde8e043220f3d2c5401159b10e
re PR driver/69805 (ICE in greater_than_spec_func, at gcc.c:9722)

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.

From-SVN: r233573
gcc/ChangeLog
gcc/gcc.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr69805.c [new file with mode: 0644]