Warn if add-symbol-file does not provide any symbols
[deliverable/binutils-gdb.git] / gdb / gnulib / import / verify.h
index 3b57ddee0acffd23cc51bc8910a15cf879f90619..5c8381d2906a31974abea7c08449043bb7dd620c 100644 (file)
@@ -1,6 +1,6 @@
 /* Compile-time assert-like macros.
 
-   Copyright (C) 2005-2006, 2009-2018 Free Software Foundation, Inc.
+   Copyright (C) 2005-2006, 2009-2016 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -13,7 +13,7 @@
    GNU General Public License for more details.
 
    You should have received a copy of the GNU General Public License
-   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 /* Written by Paul Eggert, Bruno Haible, and Jim Meyering.  */
 
@@ -248,12 +248,7 @@ template <int w>
 /* Verify requirement R at compile-time, as a declaration without a
    trailing ';'.  */
 
-#ifdef __GNUC__
-# define verify(R) _GL_VERIFY (R, "verify (" #R ")")
-#else
-/* PGI barfs if R is long.  Play it safe.  */
-# define verify(R) _GL_VERIFY (R, "verify (...)")
-#endif
+#define verify(R) _GL_VERIFY (R, "verify (" #R ")")
 
 #ifndef __has_builtin
 # define __has_builtin(x) 0
@@ -276,8 +271,7 @@ template <int w>
      when 'assume' silences warnings even with older GCCs.  */
 # define assume(R) ((R) ? (void) 0 : __builtin_trap ())
 #else
-  /* Some tools grok NOTREACHED, e.g., Oracle Studio 12.6.  */
-# define assume(R) ((R) ? (void) 0 : /*NOTREACHED*/ (void) 0)
+# define assume(R) ((void) (0 && (R)))
 #endif
 
 /* @assert.h omit end@  */
This page took 0.024171 seconds and 4 git commands to generate.