diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-16 13:46:37 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-16 13:46:37 +0000 |
commit | d2d80bc0f4084d426d60571e7f956b0d9928566c (patch) | |
tree | 006a321decf0b12eb41a08bd597a81992f376684 /gcc/stor-layout.c | |
parent | 567e1eacd2cdd1ff8c96ea53a84df62f8461e600 (diff) | |
download | gcc-d2d80bc0f4084d426d60571e7f956b0d9928566c.tar.gz |
* stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
(finalize_record_size): Don't set TYPE_USER_ALIGN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44937 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r-- | gcc/stor-layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 2ac72e38f25..5431c261a85 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -372,7 +372,7 @@ layout_decl (decl, known_align) && TYPE_ALIGN (type) > DECL_ALIGN (decl)))) { DECL_ALIGN (decl) = TYPE_ALIGN (type); - DECL_USER_ALIGN (decl) = TYPE_USER_ALIGN (type); + DECL_USER_ALIGN (decl) = 0; } /* For fields, set the bit field type and update the alignment. */ @@ -993,7 +993,7 @@ finalize_record_size (rli) #else TYPE_ALIGN (rli->t) = MAX (TYPE_ALIGN (rli->t), rli->record_align); #endif - TYPE_USER_ALIGN (rli->t) = 1; + TYPE_USER_ALIGN (rli->t) = 0; /* Compute the size so far. Be sure to allow for extra bits in the size in bytes. We have guaranteed above that it will be no more |