public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/61804] New: rejects-valid if parenthesized temporary is incremented
@ 2014-07-15 0:25 richard-gccbugzilla at metafoo dot co.uk
2014-07-16 8:48 ` [Bug c++/61804] " paolo.carlini at oracle dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: richard-gccbugzilla at metafoo dot co.uk @ 2014-07-15 0:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61804
Bug ID: 61804
Summary: rejects-valid if parenthesized temporary is
incremented
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: richard-gccbugzilla at metafoo dot co.uk
Related to PR56239, GCC rejects valid on this:
struct T { void operator++(int); };
void f() { (T())++; }
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/61804] rejects-valid if parenthesized temporary is incremented
2014-07-15 0:25 [Bug c++/61804] New: rejects-valid if parenthesized temporary is incremented richard-gccbugzilla at metafoo dot co.uk
@ 2014-07-16 8:48 ` paolo.carlini at oracle dot com
2014-07-17 8:32 ` paolo at gcc dot gnu.org
2014-07-17 8:33 ` paolo.carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-07-16 8:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61804
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2014-07-16
Assignee|unassigned at gcc dot gnu.org |paolo.carlini at oracle dot com
Ever confirmed|0 |1
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Confirmed. Seems simple to fix.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/61804] rejects-valid if parenthesized temporary is incremented
2014-07-15 0:25 [Bug c++/61804] New: rejects-valid if parenthesized temporary is incremented richard-gccbugzilla at metafoo dot co.uk
2014-07-16 8:48 ` [Bug c++/61804] " paolo.carlini at oracle dot com
@ 2014-07-17 8:32 ` paolo at gcc dot gnu.org
2014-07-17 8:33 ` paolo.carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo at gcc dot gnu.org @ 2014-07-17 8:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61804
--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Thu Jul 17 08:32:18 2014
New Revision: 212743
URL: https://gcc.gnu.org/viewcvs?rev=212743&root=gcc&view=rev
Log:
/cp
2014-07-17 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/61804
* parser.c (cp_parser_tokens_start_cast_expression): Return -1
for '++' and '--'.
/testsuite
2014-07-17 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/61804
* g++.dg/parse/pr61804.C: New.
Added:
trunk/gcc/testsuite/g++.dg/parse/pr61804.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/61804] rejects-valid if parenthesized temporary is incremented
2014-07-15 0:25 [Bug c++/61804] New: rejects-valid if parenthesized temporary is incremented richard-gccbugzilla at metafoo dot co.uk
2014-07-16 8:48 ` [Bug c++/61804] " paolo.carlini at oracle dot com
2014-07-17 8:32 ` paolo at gcc dot gnu.org
@ 2014-07-17 8:33 ` paolo.carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-07-17 8:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61804
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |4.10.0
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed for 4.10.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-07-17 8:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-15 0:25 [Bug c++/61804] New: rejects-valid if parenthesized temporary is incremented richard-gccbugzilla at metafoo dot co.uk
2014-07-16 8:48 ` [Bug c++/61804] " paolo.carlini at oracle dot com
2014-07-17 8:32 ` paolo at gcc dot gnu.org
2014-07-17 8:33 ` paolo.carlini at oracle dot com
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).