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]

PATCH: Fix ia64_expand_compare_and_swap


My last patch for __sync_bool_compare_and_swap_di is incomplete. For
the testcase enclosed here, I got

# /export/build/gnu/gcc/build-ia64-linux/gcc/xgcc -shared-libgcc -B/export/build/gnu/gcc/build-ia64-linux/gcc/ -S foo.ii -O
<internal>: In function `void heavy_lock_obj_finalization_proc(void*, void*)':
<internal>:7: internal compiler error: in copy_to_mode_reg, at explow.c:741
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

The problem is I changed the return type to int. But
ia64_expand_compare_and_swap still returns long. I am enclosing a
patch for it.


H.J.

Attachment: gcc-ia64-type.int.patch
Description: Text document

Attachment: foo.ii
Description: Text document


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