* c-cppbuiltin.c (define__GNUC__): Correct assertion.

From-SVN: r94019
This commit is contained in:
Tom Tromey 2005-01-21 16:57:02 +00:00 committed by Tom Tromey
parent a85ba5a883
commit a101957b98
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-01-21 Tom Tromey <tromey@redhat.com>
* c-cppbuiltin.c (define__GNUC__): Correct assertion.
2005-01-21 Kazu Hirata <kazu@cs.umass.edu>
* tree-cfg.c: Fix comment typos.

View File

@ -275,7 +275,7 @@ define__GNUC__ (void)
if (c_dialect_cxx ())
builtin_define_with_value_n ("__GNUG__", q, v - q);
gcc_assert (*v == '.' || ISDIGIT (v[1]));
gcc_assert (*v == '.' && ISDIGIT (v[1]));
q = ++v;
while (ISDIGIT (*v))