[Bug c++/41368] Erroneous aliasing rules violation messages are issued

2009-09-16 Thread rguenth at gcc dot gnu dot org
--- 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 F

[Bug c++/41368] Erroneous aliasing rules violation messages are issued

2009-09-16 Thread yuri at rawbw dot com
--- 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

[Bug c++/41368] Erroneous aliasing rules violation messages are issued

2009-09-15 Thread yuri at tsoft dot com
--- 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=18593action=view) testcase command line: g++ -c -O5 -Wall pr.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41368

[Bug c++/41368] Erroneous aliasing rules violation messages are issued

2009-09-15 Thread yuri at tsoft dot com
--- 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