summaryrefslogtreecommitdiff
path: root/gcc/c-cppbuiltin.c
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-21 16:57:02 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-21 16:57:02 +0000
commit3d6475e0ba3a4748eb325a8d13f513cfd0adc77c (patch)
tree18775ea9f99b5e86ce7bb9e4c8e8278a7a60ca4e /gcc/c-cppbuiltin.c
parenta882fd51300b0e3052821b5a6fbff37105ec8c1f (diff)
downloadgcc-3d6475e0ba3a4748eb325a8d13f513cfd0adc77c.tar.gz
* c-cppbuiltin.c (define__GNUC__): Correct assertion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94019 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-cppbuiltin.c')
-rw-r--r--gcc/c-cppbuiltin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-cppbuiltin.c b/gcc/c-cppbuiltin.c
index 75effe97e7b..06904dbb5e5 100644
--- a/gcc/c-cppbuiltin.c
+++ b/gcc/c-cppbuiltin.c
@@ -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))