This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52496] avr-specific built-ins missing memory barrier
- 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: Thu, 22 Mar 2012 13:17:20 +0000
- Subject: [Bug target/52496] avr-specific built-ins missing memory barrier
- Auto-submitted: auto-generated
- References: <bug-52496-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52496
--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-03-22 13:17:20 UTC ---
Author: gjl
Date: Thu Mar 22 13:17:16 2012
New Revision: 185692
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185692
Log:
PR target/52496
* config/avr/avr.md (unspec): Remove UNSPEC_MEMORY_BARRIER.
(unspecv): Add UNSPECV_MEMORY_BARRIER.
(cli_sei): Use unspec_volatile instead of unspec for memory barrier.
(delay_cycles_1, delay_cycles_2): Ditto.
(delay_cycles_3, delay_cycles_4): Ditto.
(nopv, *nopv): Ditto.
(sleep, *sleep): Ditto.
(wdr, *wdr): Ditto.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr.md