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

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Fri Apr 12 12:54:00 2019
New Revision: 270314

URL: https://gcc.gnu.org/viewcvs?rev=270314&root=gcc&view=rev
Log:
Handle multiple 'default' in target attribute (PR middle-end/89970).

2019-04-12  Martin Liska  <mli...@suse.cz>

        PR middle-end/89970
        * multiple_target.c (create_dispatcher_calls): Wrap ifunc
        in error message.
        (separate_attrs): Handle multiple 'default's.
        (expand_target_clones): Rework error handling code.
2019-04-12  Martin Liska  <mli...@suse.cz>

        PR middle-end/89970
        * gcc.target/i386/mvc15.c: New test.
        * gcc.target/i386/mvc3.c: Quote target in error pattern.
        * gcc.target/i386/mvc4.c: Remove duplicit 'default'.

Added:
    trunk/gcc/testsuite/gcc.target/i386/mvc15.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/multiple_target.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/i386/mvc3.c
    trunk/gcc/testsuite/gcc.target/i386/mvc4.c

Reply via email to