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++/64701] [5 Regression] internal compiler error: unexpected expression â<statement>â of kind do_stmt


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64701

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-01-20
                 CC|                            |jason at gcc dot gnu.org
   Target Milestone|---                         |5.0
            Summary|internal compiler error:    |[5 Regression] internal
                   |unexpected expression       |compiler error: unexpected
                   |â<statement>â of kind       |expression â<statement>â of
                   |do_stmt                     |kind do_stmt
     Ever confirmed|0                           |1

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
enum { A };
void
foo ()
{
  int x = ({ do {} while (0); A; });
}

Started with r217663.

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