This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54059] g++ silently omits code that creates a std::chrono::millisecond temporary
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 20 Jul 2012 23:12:23 +0000
- Subject: [Bug c++/54059] g++ silently omits code that creates a std::chrono::millisecond temporary
- Auto-submitted: auto-generated
- References: <bug-54059-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54059
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-07-20 23:12:23 UTC ---
> foo f2(std::chrono::milliseconds(a));
This is a function declaration and not a variable definition ...