[Bug driver/69805] [6 Regression] ICE in greater_than_spec_func, at gcc.c:9722

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 19 22:19:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69805

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Feb 19 22:18:38 2016
New Revision: 233573

URL: https://gcc.gnu.org/viewcvs?rev=233573&root=gcc&view=rev
Log:
        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.

Added:
    trunk/libgomp/testsuite/libgomp.c/pr69805.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gcc.c
    trunk/libgomp/ChangeLog


More information about the Gcc-bugs mailing list