[Bug c++/17799] [4.0 Regression] Non-optimizing compile loses 'this'
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Dec 21 19:43:00 GMT 2004
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-12-21 19:43 -------
Richard, do you consider this a C++ front-end bug?
It does not seem to be a front-end bug to me; the "this" parameter is in fact
compiler-generated. It's been marked DECL_ARTIFICIAL since time immemorila.
Maybe the middle end should be performing this optimization at -O0 only if
DECL_IGNORED_P is set. If you agree, we should recategorize this defect.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17799
More information about the Gcc-bugs
mailing list