« Previous | Next » 

Revision 7edd9ddc

ID7edd9ddc979f112287ff5184590830c67ea991bf

Added by Peter Maydell about 10 years ago

tests/test-int128: Don't use noclone attribute on clang

clang doesn't support the noclone attribute and emits a warning about
it. Fortunately clang also implements a mechanism for asking if a particular
attribute is implemented; use it. We assume that if the compiler doesn't
support has_attribute() then it must be GCC and must support __noclone.

Signed-off-by: Peter Maydell <>
Signed-off-by: Michael Tokarev <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences