Commit 3b14d7fa by Jakub Jelinek Committed by Jakub Jelinek

re PR c/88430 (-Wmissing-attributes warnings when including libquadmath headers)

	PR c/88430
	* quadmath_weak.h (__qmath2): Add __quadmath_throw.

From-SVN: r266972
parent 7b1ff601
2018-12-11 Jakub Jelinek <jakub@redhat.com>
PR c/88430
* quadmath_weak.h (__qmath2): Add __quadmath_throw.
2018-11-07 Joseph Myers <joseph@codesourcery.com>
* quadmath-imp.h (ieee854_float128): Use mantissa0, mantissa1,
......
/* GCC Quad-Precision Math Library
Copyright (C) 2010, 2011 Free Software Foundation, Inc.
Copyright (C) 2010-2018 Free Software Foundation, Inc.
Written by Tobias Burnus <burnus@net-b.de>
This file is part of the libquadmath library.
......@@ -25,7 +25,8 @@ Boston, MA 02110-1301, USA. */
#if SUPPORTS_WEAK
# define __qmath2(name,name2,type) \
static __typeof(type) name __attribute__ ((__weakref__(#name2)));
static __typeof(type) name __attribute__ ((__weakref__(#name2))) \
__quadmath_throw;
# define __qmath_(name) __qmath_ ## name
#else
# define __qmath2(name,name2,type)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment