summaryrefslogtreecommitdiff
path: root/compiler/dex/quick/codegen_util.cc
diff options
context:
space:
mode:
author Chris Dearman <chris.dearman@imgtec.com> 2013-12-04 18:53:49 -0800
committer Brian Carlstrom <bdc@google.com> 2013-12-05 15:52:08 -0800
commit59cde534aa295bad7de29472b3cce9576d7996a8 (patch)
treeacb79971feefac450a56bca758524614012c30e4 /compiler/dex/quick/codegen_util.cc
parent93461f9b0b1304b94eee0ef33ef5679406e84dd8 (diff)
Workaround for gcc volatile struct member bug
gcc does not handle struct with volatile member assignments correctly. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47409 Using structure assignments for the StateAndFlag union can cause gcc to optimise the code incorrectly. Doing the assignment using the as_int member forces the correct behaviour. Change-Id: I6379d36add16c321b2e4d1dcd6fd8c959f3f92d6
Diffstat (limited to 'compiler/dex/quick/codegen_util.cc')
0 files changed, 0 insertions, 0 deletions