diff options
author | Roger Sayle <roger@eyesopen.com> | 2007-01-25 16:58:26 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2007-01-25 16:58:26 +0000 |
commit | cd259a9825b53a8eb04b4849dc7b92b293902d57 (patch) | |
tree | b5e617dbc41beab543899b216efc6fdc63f80bc5 /gcc/ada/utils2.c | |
parent | d6efbf5a8848a406f10a68fd6cf77c03fb5859ce (diff) | |
download | gcc-cd259a9825b53a8eb04b4849dc7b92b293902d57.zip gcc-cd259a9825b53a8eb04b4849dc7b92b293902d57.tar.gz gcc-cd259a9825b53a8eb04b4849dc7b92b293902d57.tar.bz2 |
decl.c (gnat_to_gnu_entity): Use TREE_OVERFLOW instead of TREE_CONSTANT_OVERFLOW.
* decl.c (gnat_to_gnu_entity): Use TREE_OVERFLOW instead of
TREE_CONSTANT_OVERFLOW.
(allocatable_size_p, annotate_value): Likewise.
* trans.c (gnat_to_gnu): Likewise.
* utils.c (unchecked_convert): Likewise.
* utils2.c (build_simple_component_ref): Likewise.
From-SVN: r121177
Diffstat (limited to 'gcc/ada/utils2.c')
-rw-r--r-- | gcc/ada/utils2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/utils2.c b/gcc/ada/utils2.c index ffca597..04e968e 100644 --- a/gcc/ada/utils2.c +++ b/gcc/ada/utils2.c @@ -6,7 +6,7 @@ * * * C Implementation File * * * - * Copyright (C) 1992-2006, Free Software Foundation, Inc. * + * Copyright (C) 1992-2007, Free Software Foundation, Inc. * * * * GNAT is free software; you can redistribute it and/or modify it under * * terms of the GNU General Public License as published by the Free Soft- * @@ -1649,7 +1649,7 @@ build_simple_component_ref (tree record_variable, tree component, Note that we don't need to warn since this will be done on trying to declare the object. */ if (TREE_CODE (DECL_FIELD_OFFSET (field)) == INTEGER_CST - && TREE_CONSTANT_OVERFLOW (DECL_FIELD_OFFSET (field))) + && TREE_OVERFLOW (DECL_FIELD_OFFSET (field))) return NULL_TREE; /* It would be nice to call "fold" here, but that can lose a type |