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 c++/61804] New: rejects-valid if parenthesized temporary is incremented


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())++; }


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