[Bug target/28924] x86 sync builtins fail for char and short memory operands
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 6 16:55:00 GMT 2006
------- Comment #5 from jakub at gcc dot gnu dot org 2006-10-06 16:54 -------
Subject: Bug 28924
Author: jakub
Date: Fri Oct 6 16:54:43 2006
New Revision: 117508
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117508
Log:
PR target/28924
* builtins.c (expand_builtin_sync_operation,
expand_builtin_compare_and_swap, expand_builtin_lock_test_and_set):
Use convert_to_mode to handle promoted arguments.
* gcc.c-torture/compile/20061005-1.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/20061005-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/builtins.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28924
More information about the Gcc-bugs
mailing list