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 tree-optimization/30590] [4.1/4.2/4.3 Regression] tree-nrv optimization clobbers return variable



------- Comment #8 from rguenth at gcc dot gnu dot org  2007-03-13 16:52 -------
Use get_base_address (GIMPLE_STMT_OPERAND (stmt, 0)) == result.  (Verify if
get_base_address does not return NULL, if it's the result_decl, otherwise
replicate the loop therein).


-- 


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


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