diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2008-01-22 18:15:49 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2008-01-22 18:15:49 +0000 |
commit | 0bf3823958c2f4322ab59aae959b08fb82c0c114 (patch) | |
tree | 66c68bdf36ff81a3bd62fcd604dbe3bcc4131fc6 /gcc/ada/trans.c | |
parent | 255ef0345c9976d876677058f9beec62eb56aa28 (diff) | |
download | gcc-0bf3823958c2f4322ab59aae959b08fb82c0c114.zip gcc-0bf3823958c2f4322ab59aae959b08fb82c0c114.tar.gz gcc-0bf3823958c2f4322ab59aae959b08fb82c0c114.tar.bz2 |
decl.c (components_to_record): Do not reuse the empty union type if there is a representation clause on the record.
* decl.c (components_to_record): Do not reuse the empty union type
if there is a representation clause on the record.
* trans.c (addressable_p): Return true for INTEGER_CST.
From-SVN: r131733
Diffstat (limited to 'gcc/ada/trans.c')
-rw-r--r-- | gcc/ada/trans.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/trans.c b/gcc/ada/trans.c index c79ed4d..d1b454c 100644 --- a/gcc/ada/trans.c +++ b/gcc/ada/trans.c @@ -6070,6 +6070,7 @@ addressable_p (tree gnu_expr) case INDIRECT_REF: case CONSTRUCTOR: case STRING_CST: + case INTEGER_CST: case NULL_EXPR: case SAVE_EXPR: case CALL_EXPR: |