gcc/ChangeLog:
* input.h (builtins_location_check): Convert to a STATIC_ASSERT.
From-SVN: r259766
+2018-04-30 David Malcolm <dmalcolm@redhat.com>
+
+ * input.h (builtins_location_check): Convert to a STATIC_ASSERT.
+
2018-04-30 Richard Biener <rguenther@suse.de>
* tree-cfg.c (verify_address): Remove base argument, add
/* line-map.c reserves RESERVED_LOCATION_COUNT to the user. Ensure
both UNKNOWN_LOCATION and BUILTINS_LOCATION fit into that. */
-extern char builtins_location_check[(BUILTINS_LOCATION
- < RESERVED_LOCATION_COUNT) ? 1 : -1];
+STATIC_ASSERT (BUILTINS_LOCATION < RESERVED_LOCATION_COUNT);
extern bool is_location_from_builtin_token (source_location);
extern expanded_location expand_location (source_location);