[PATCH] Fix __sync_* builtins on ptr_mode != Pmode targets (PR debug/41801)

Ian Lance Taylor iant@google.com
Wed Oct 28 14:40:00 GMT 2009


Jakub Jelinek <jakub@redhat.com> writes:

> 2009-10-26  Jakub Jelinek  <jakub@redhat.com>
>
> 	PR debug/41801
> 	* builtins.c (get_builtin_sync_mem): Expand loc in ptr_mode,
> 	call convert_memory_address on addr.
>
> 	* g++.dg/ext/sync-3.C: New test.

This is OK.

Thanks.

Ian



More information about the Gcc-patches mailing list