This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/22534] [4.1 Regression] [DR236] gcc.c-torture/execute/20000603-1.c execution, -O2 fails
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jul 2005 10:59:35 -0000
- Subject: [Bug tree-optimization/22534] [4.1 Regression] [DR236] gcc.c-torture/execute/20000603-1.c execution, -O2 fails
- References: <20050717210942.22534.jsm28@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From joseph at codesourcery dot com 2005-07-18 10:59 -------
Subject: Re: [4.1 Regression] [DR236]
gcc.c-torture/execute/20000603-1.c execution, -O2 fails
On Mon, 18 Jul 2005, zadeck at naturalbridge dot com wrote:
> It looks pretty clear to me that this test case should be non conforming. It is
> almost exactly example 2 of the committee discussion and that case is "invalid".
You're not taking account of the common initial sequence rule and DR#257.
The types in the example in DR#236 aren't structures with a common initial
sequence.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22534