diff options
author | Marek Polacek <polacek@redhat.com> | 2015-05-21 15:30:09 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2015-05-21 15:30:09 +0000 |
commit | c7b70a3cba495e95f0d4457e6f003ca3d451d971 (patch) | |
tree | 12b196cea0048437bdfcd267faaceee02edd744f /Makefile.in | |
parent | 6b6dd1aa70d6e5fd5fe5d0ad6c397854d3580bc3 (diff) | |
download | gcc-c7b70a3cba495e95f0d4457e6f003ca3d451d971.zip gcc-c7b70a3cba495e95f0d4457e6f003ca3d451d971.tar.gz gcc-c7b70a3cba495e95f0d4457e6f003ca3d451d971.tar.bz2 |
See <https://gcc.gnu.org/ml/gcc-patches/2015-05/msg01977.html> for
the rationale.
Bootstrapped/regtested on x86_64-linux, applying to trunk.
2015-05-21 Marek Polacek <polacek@redhat.com>
* c-typeck.c (inform_declaration): Use DECL_IS_BUILTIN instead of
DECL_BUILT_IN.
diff --git gcc/c/c-typeck.c gcc/c/c-typeck.c
index ba8797b..f55d4c6 100644
--- gcc/c/c-typeck.c
+++ gcc/c/c-typeck.c
@@ -2853,9 +2853,10 @@ build_function_call (location_t loc, tree function, tree params)
/* Give a note about the location of the declaration of DECL. */
-static void inform_declaration (tree decl)
+static void
+inform_declaration (tree decl)
{
- if (decl && (TREE_CODE (decl) != FUNCTION_DECL || !DECL_BUILT_IN (decl)))
+ if (decl && (TREE_CODE (decl) != FUNCTION_DECL || !DECL_IS_BUILTIN (decl)))
inform (DECL_SOURCE_LOCATION (decl), "declared here");
}
From-SVN: r223490
Diffstat (limited to 'Makefile.in')
0 files changed, 0 insertions, 0 deletions