OSDN Git Service

Fix CRIS build errors with --enable-build-with-cxx.
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Jun 2012 20:53:39 +0000 (20:53 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Jun 2012 20:53:39 +0000 (20:53 +0000)
commit32354eaf96bb0c3e2204542d91dc2ec9508dfd9d
tree04feb51f47a5381f3cb1809ede5b7871ffe76c17
parent2c223cf2ab751aa81dc4bd9caec5cae0bfb78cbb
Fix CRIS build errors with --enable-build-with-cxx.
* config/cris/cris.c (cris_emit_trap_for_misalignment): Rename
variable "and" to "andop".
* config/cris/sync.md ("atomic_fetch_<atomic_op_name><mode>"): Use
temporary variable for memory model, passing C++-type-correct
parameter type to expand_mem_thread_fence.
("atomic_compare_and_swap<mode>"): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188362 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/cris/cris.c
gcc/config/cris/sync.md