This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PING] layout_type - don't complain about too small a size if overflow
- From: Olivier Hainque <hainque at adacore dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: hainque at adacore dot com
- Date: Fri, 4 Nov 2005 11:56:22 +0100
- Subject: [PING] layout_type - don't complain about too small a size if overflow
- References: <20051022131409.GA18995@cardhu.act-europe.fr>
Fix for a regression against 3.4 and 4.0
http://gcc.gnu.org/ml/gcc-patches/2005-10/msg01373.html
layout_type errors-out when
"alignment of array elements is greater than element size";
even for an overflowing element size, which triggers errors on Ada
cases expected to compile silently.
Thanks in advance,
Olivier