This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/70002] [6 Regression] gcc.dg/torture/pr52429.c -O2 -flto -fno-use-linker-plugin -flto-partition=none ICEs
- From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 Mar 2016 15:27:55 +0000
- Subject: [Bug target/70002] [6 Regression] gcc.dg/torture/pr52429.c -O2 -flto -fno-use-linker-plugin -flto-partition=none ICEs
- Auto-submitted: auto-generated
- References: <bug-70002-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70002
--- Comment #7 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Fri Mar 11 15:27:24 2016
New Revision: 234141
URL: https://gcc.gnu.org/viewcvs?rev=234141&root=gcc&view=rev
Log:
[AArch64] PR target/70002: Make aarch64_set_current_function play nice with
pragma resetting
PR target/70002
* config/aarch64/aarch64-protos.h
(aarch64_save_restore_target_globals): New prototype.
* config/aarch64/aarch64-c.c (aarch64_pragma_target_parse):
Call the above when popping pragma.
* config/aarch64/aarch64.c (aarch64_save_restore_target_globals):
New function.
(aarch64_set_current_function): Rewrite using the above.
PR target/70002
PR target/69245
* gcc.target/aarch64/pr69245_2.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/aarch64/pr69245_2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/aarch64/aarch64-c.c
trunk/gcc/config/aarch64/aarch64-protos.h
trunk/gcc/config/aarch64/aarch64.c
trunk/gcc/testsuite/ChangeLog