[Bug tree-optimization/44468] Bogus access re-construction from offset calculation

2010-06-08 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2010-06-08 12:52 ---
Argument why the testcase is invalid might go along the line that a pointer
to struct Q may not be converted to a pointer to struct R, or that
&((struct R *)q)->a is accessing *q as struct R.

This is similar to PR41317.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

  Known to fail||4.3.5 4.4.3 4.5.0
  Known to work||4.1.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44468



[Bug tree-optimization/44468] Bogus access re-construction from offset calculation

2010-06-08 Thread rguenth at gcc dot gnu dot org


--- Comment #2 from rguenth at gcc dot gnu dot org  2010-06-08 12:53 ---
Fixed on the mem-ref branch.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44468



[Bug tree-optimization/44468] Bogus access re-construction from offset calculation

2010-06-08 Thread rguenth at gcc dot gnu dot org


--- Comment #3 from rguenth at gcc dot gnu dot org  2010-06-08 13:03 ---
Subject: Bug 44468

Author: rguenth
Date: Tue Jun  8 13:02:53 2010
New Revision: 160435

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160435
Log:
2010-06-08  Richard Guenther  

testsuite/
PR tree-optimization/44468
* gcc.c-torture/execute/pr44468.c: New testcase.

Added:
branches/mem-ref2/gcc/testsuite/gcc.c-torture/execute/pr44468.c
Modified:
branches/mem-ref2/gcc/ChangeLog.mem-ref2


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44468