http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49735

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-07-13 
23:18:11 UTC ---
Here is a short testcase:
typedef unsigned int UQItype __attribute__((mode (QI)));
static 
UQItype sync_fetch_and_add_1 (UQItype *ptr, UQItype value) 
{
 return __sync_fetch_and_add (ptr, value);
 }; 
typeof (sync_fetch_and_add_1) __sync_fetch_and_add_1 __attribute__((alias
("sync_fetch_and_add" "_" "1")));

Reply via email to