This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [Patch,AVR]: Fix PR52496: Add memory barriers to built-ins



> -----Original Message-----
> From: Georg-Johann Lay [mailto:avr@gjlay.de]
> Sent: Wednesday, March 07, 2012 5:40 AM
> To: gcc-patches@gcc.gnu.org
> Cc: Denis Chertykov; Weddington, Eric
> Subject: [Patch,AVR]: Fix PR52496: Add memory barriers to built-ins
> 
> This patch adds memory barriers to
> 
> __builtin_avr_nop
> __builtin_avr_sei
> __builtin_avr_cli
> __builtin_avr_wdr
> __builtin_avr_sleep
> __builtin_avr_delay_cycles
> 
> so that their code cannot be dragged over memory accesses.
> 
> Ok for trunk?
> 

Please commit.

Eric


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]