diff options
Diffstat (limited to 'gcc/lto/lto-lang.c')
-rw-r--r-- | gcc/lto/lto-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/lto/lto-lang.c b/gcc/lto/lto-lang.c index de51eb0..968073b 100644 --- a/gcc/lto/lto-lang.c +++ b/gcc/lto/lto-lang.c @@ -313,7 +313,7 @@ handle_nonnull_attribute (tree *node, tree ARG_UNUSED (name), will have the correct types when we actually check them later. */ if (!args) { - gcc_assert (TYPE_ARG_TYPES (type)); + gcc_assert (prototype_p (type)); return NULL_TREE; } |