diff options
author | Ondřej Bílka <neleai@seznam.cz> | 2013-07-21 18:40:33 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2013-07-21 18:40:33 +0000 |
commit | d4aef883b7470379c369588dbea57315e1c67a4c (patch) | |
tree | a4c17100219c6730eb84bf3d9da2bdf66c0bc5cb /gcc/ada/gcc-interface/utils2.c | |
parent | 688010bad0375a275466ac1adb98aff80c0e77ac (diff) | |
download | gcc-d4aef883b7470379c369588dbea57315e1c67a4c.zip gcc-d4aef883b7470379c369588dbea57315e1c67a4c.tar.gz gcc-d4aef883b7470379c369588dbea57315e1c67a4c.tar.bz2 |
gigi.h: Likewise.
2013-07-21 OndÅej BÃlka <neleai@seznam.cz>
* gcc-interface/gigi.h: Likewise.
* gcc-interface/trans.c: Likewise.
* gcc-interface/utils2.c: Likewise.
* gnat_rm.texi: Likewise.
* gnat_ugn.texi: Likewise.
* raise-gcc.c: Likewise.
* sigtramp-ppcvxw.c: Likewise.
* sysdep.c: Likewise.
* terminals.c: Likewise.
From-SVN: r201111
Diffstat (limited to 'gcc/ada/gcc-interface/utils2.c')
-rw-r--r-- | gcc/ada/gcc-interface/utils2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/gcc-interface/utils2.c b/gcc/ada/gcc-interface/utils2.c index 3f39a43..7f7f6af 100644 --- a/gcc/ada/gcc-interface/utils2.c +++ b/gcc/ada/gcc-interface/utils2.c @@ -1902,7 +1902,7 @@ build_simple_component_ref (tree record_variable, tree component, { tree new_field; - /* First loop thru normal components. */ + /* First loop through normal components. */ for (new_field = TYPE_FIELDS (record_type); new_field; new_field = DECL_CHAIN (new_field)) @@ -1910,7 +1910,7 @@ build_simple_component_ref (tree record_variable, tree component, break; /* Next, see if we're looking for an inherited component in an extension. - If so, look thru the extension directly, but not if the type contains + If so, look through the extension directly, but not if the type contains a placeholder, as it might be needed for a later substitution. */ if (!new_field && TREE_CODE (record_variable) == VIEW_CONVERT_EXPR @@ -1926,7 +1926,7 @@ build_simple_component_ref (tree record_variable, tree component, return ref; } - /* Next, loop thru DECL_INTERNAL_P components if we haven't found the + /* Next, loop through DECL_INTERNAL_P components if we haven't found the component in the first search. Doing this search in two steps is required to avoid hidden homonymous fields in the _Parent field. */ if (!new_field) |