[Bug middle-end/21538] g++.dg/opt/temp1.C should be optimized elsewhere

2005-06-12 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-13 03:33 --- Lets close this as invalid for now. -- What|Removed |Added Status|REOPENED

[Bug middle-end/21538] g++.dg/opt/temp1.C should be optimized elsewhere

2005-05-15 Thread mark at codesourcery dot com
--- Additional Comments From mark at codesourcery dot com 2005-05-16 00:17 --- Subject: Re: g++.dg/opt/temp1.C should be optimized elsewhere rguenth at gcc dot gnu dot org wrote: > --- Additional Comments From rguenth at gcc dot gnu dot org 2005-05-15 > 19:30 --- > This opti

[Bug middle-end/21538] g++.dg/opt/temp1.C should be optimized elsewhere

2005-05-15 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-05-15 19:30 --- This optimization should take place in cp/typeck:build_indirect_ref where it even tries to do so but fails because it does not strip NOP_EXPRs before checking for the optimization and also because same_typ