--- Comment #4 from yuri at rawbw dot com 2009-09-16 09:55 ---
Subject: Re: Erroneous aliasing rules violation messages are
issued
rguenth at gcc dot gnu dot org wrote:
> --- Comment #3 from rguenth at gcc dot gnu dot org 2009-09-16 08:02
> ---
> The compiler warns for the s
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-09-16 08:02 ---
The compiler warns for the store in
D.1845_1 = (struct F *) &eee.[0];
D.1854_8 ={v} &0B->D.1740.[0];
D.1845_1->ppp1 = D.1854_8;
because that stores to eee. (type char) via a pointer to type Ff
--- Comment #2 from yuri at tsoft dot com 2009-09-16 05:17 ---
gcc-4.3.1 didn't issue such warnings.
I wasn't able to minimize the testcase more.
Somehow if eee instance of Z is removed and just F::bbb() is called
messages disappear. This is strange since code around lines in qu
--- Comment #1 from yuri at tsoft dot com 2009-09-16 05:12 ---
Created an attachment (id=18593)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18593&action=view)
testcase
command line: g++ -c -O5 -Wall pr.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41368