[Bug c++/38334] pmf accesses violate strict-aliasing rules

2008-12-04 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-12-04 16:26 --- "Fixed". -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFI

[Bug c++/38334] pmf accesses violate strict-aliasing rules

2008-12-04 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-12-04 15:56 --- Subject: Bug 38334 Author: rguenth Date: Thu Dec 4 15:55:25 2008 New Revision: 142437 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142437 Log: 2008-12-04 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug c++/38334] pmf accesses violate strict-aliasing rules

2008-12-01 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-12-01 09:49 --- There's a pointer-adjustment in the original code (we just cprop a zero). If there was a suitable member forwprop should have re-constructed an access. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38334

[Bug c++/38334] pmf accesses violate strict-aliasing rules

2008-11-30 Thread bonzini at gnu dot org
--- Comment #1 from bonzini at gnu dot org 2008-12-01 07:31 --- Why a ref-all pointer? Why not put the cast after the dereference instead? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38334