This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18415] Template-expression using program crashes on -O0 but not on -O1
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Nov 2004 13:58:37 -0000
- Subject: [Bug c++/18415] Template-expression using program crashes on -O0 but not on -O1
- References: <20041110123604.18415.ayqazi@yahoo.co.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-10 13:58 -------
return Expr3<Vec4, Expr, MultOp>(*this, Expr(e));
The life time of Expr(e) is just this statement so this is invalid.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18415