mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-27 01:39:27 +08:00
* c-cppbuiltin.c (define__GNUC__): Correct assertion.
From-SVN: r94019
This commit is contained in:
parent
a85ba5a883
commit
a101957b98
@ -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.
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user