public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34075] [DR 587] temporary used in ?: expression tho second and third expr. lvalues
[not found] <bug-34075-4@http.gcc.gnu.org/bugzilla/>
@ 2014-10-02 9:37 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-10-02 9:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34075
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is a dup of 51317 which has now been fixed on the trunk.
*** This bug has been marked as a duplicate of bug 51317 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/34075] [DR 587] temporary used in ?: expression tho second and third expr. lvalues
2007-11-12 18:09 [Bug c++/34075] New: " james dot kanze at gmail dot com
@ 2009-12-08 22:28 ` redi at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: redi at gcc dot gnu dot org @ 2009-12-08 22:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from redi at gcc dot gnu dot org 2009-12-08 22:28 -------
C::dflt has type const int by pd->d[i] has type int, so they do not have the
same type and the warning is correct. This is DR 587 which was just changed in
the latest draft
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#587
--
redi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-12-08 22:28:20
date| |
Summary|temporary used in ?: |[DR 587] temporary used in
|expression tho second and |?: expression tho second and
|third expr. lvalues |third expr. lvalues
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34075
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-02 9:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-34075-4@http.gcc.gnu.org/bugzilla/>
2014-10-02 9:37 ` [Bug c++/34075] [DR 587] temporary used in ?: expression tho second and third expr. lvalues pinskia at gcc dot gnu.org
2007-11-12 18:09 [Bug c++/34075] New: " james dot kanze at gmail dot com
2009-12-08 22:28 ` [Bug c++/34075] [DR 587] " redi at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).