GCC Bugzilla – Attachment 30640 Details for
Bug 58145
[Regression]: volatileness of write is discarded, perhaps in "lim1" related to loop optimizations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Preprocessed code; compile at -O2, e.g. "cc1 -O2 y.i -o y.s"
y.i (text/plain), 378 bytes, created by
Hans-Peter Nilsson
on 2013-08-13 02:38:33 UTC
(
hide
)
Description:
Preprocessed code; compile at -O2, e.g. "cc1 -O2 y.i -o y.s"
Filename:
MIME Type:
Creator:
Hans-Peter Nilsson
Created:
2013-08-13 02:38:33 UTC
Size:
378 bytes
patch
obsolete
># 1 "x.c" > >typedef struct { > unsigned int data : 32; >} reg_gio_rw_pb_dout; > >enum { regi_gio = 0x0009a000 }; > >static void pb_out (int val) >{ > reg_gio_rw_pb_dout r = {.data = val}; > *((volatile reg_gio_rw_pb_dout *) ((regi_gio) + 4)) = ((r)); >} > >int main(void) >{ > int a, b; > > for (a = 0; a < 32; a++) { > b = 1 << a; > pb_out(b); > } > > sim_end(); > > return 0; > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 58145
: 30640 |
30648
|
30653