This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/17799] [4.0 Regression] Non-optimizing compile loses 'this'


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]