This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52692] [avr]: Add support for avr-specific built-ins + LTO
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Mar 2012 09:19:30 +0000
- Subject: [Bug target/52692] [avr]: Add support for avr-specific built-ins + LTO
- Auto-submitted: auto-generated
- References: <bug-52692-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52692
--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-03-28 09:19:30 UTC ---
Author: gjl
Date: Wed Mar 28 09:19:10 2012
New Revision: 185911
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185911
Log:
gcc/
Backport from 2012-03-28 mainline r185910.
PR target/52692
* config/avr/avr.c (TARGET_BUILTIN_DECL): New define.
(avr_builtin_decl): New static function.
(struct avr_builtin_description, avr_bdesc): Move up.
Add GTY marker. Add field fndecl. Remove redundant field id.
(avr_init_builtins): Initialize avr_bdesc[ID].fndecl.
(avr_expand_builtin): Code cleanup because .id is removed.
testsuite/
Backport from 2012-03-28 mainline r185910.
PR target/52692
* gcc.target/avr/torture/builtins-2.c: New test.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gcc.target/avr/torture/builtins-2.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/config/avr/avr.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog