re PR target/61925 (internal error when using vectorization on CPU without SSE)
authorJakub Jelinek <jakub@redhat.com>
Wed, 11 Feb 2015 10:04:14 +0000 (11:04 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 11 Feb 2015 10:04:14 +0000 (11:04 +0100)
commit386f7caea73f0d35ed0f7a8ae6e5d52740ab801e
treedf43c9a80fa953617317fcbe69e34f692d123c57
parent4bd019b8d50600807d95aadeb451b2e68162745f
re PR target/61925 (internal error when using vectorization on CPU without SSE)

PR target/61925
* config/i386/i386.c (ix86_reset_to_default_globals): Removed.
(ix86_reset_previous_fndecl): Restore it here, unconditionally.
(ix86_set_current_function): Rewritten.
(ix86_add_new_builtins): Temporarily clear current_target_pragma
when creating builtin fndecls.

* gcc.target/i386/pr61925-1.c: New test.
* gcc.target/i386/pr61925-2.c: New test.
* gcc.target/i386/pr61925-3.c: New test.

From-SVN: r220609
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr61925-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr61925-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr61925-3.c [new file with mode: 0644]