[Bug c++/57531] lvalue required with comma operator

2013-06-05 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57531 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/57531] lvalue required with comma operator

2013-06-05 Thread vijunag at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57531 --- Comment #5 from vijay Nag --- (In reply to Andrew Pinski from comment #4) > I think the problem is the comma operator causes it to be a rvalue. In that > ((void)0, x) is considered rvalue rather than what you want as a lvalue. > > Note C doe

[Bug c++/57531] lvalue required with comma operator

2013-06-05 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57531 Andrew Pinski changed: What|Removed |Added Component|c |c++ Severity|major

[Bug c/57531] lvalue required with comma operator

2013-06-05 Thread vijunag at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57531 vijay Nag changed: What|Removed |Added CC||vijunag at gmail dot com Severity|n

[Bug c/57531] lvalue required with comma operator

2013-06-05 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57531 Paolo Carlini changed: What|Removed |Added Severity|critical|normal

[Bug c/57531] lvalue required with comma operator

2013-06-05 Thread vijunag at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57531 --- Comment #3 from vijay Nag --- (In reply to vijay Nag from comment #2) > Sorry for the confusion. Please try the unit test case below > > #include > > /*remove assert in production*/ > > #define ASSERT(x) (void)0 > #define GET_VALUE_A(valu

[Bug c/57531] lvalue required with comma operator

2013-06-05 Thread vijunag at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57531 vijay Nag changed: What|Removed |Added Component|c++ |c Severity|normal

[Bug c++/57531] lvalue required with comma operator

2013-06-04 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57531 Andrew Pinski changed: What|Removed |Added Severity|critical|normal --- Comment #1 from Andrew Pinski

[Bug c/57531] lvalue required with comma operator

2013-06-04 Thread vijunag at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57531 vijay Nag changed: What|Removed |Added Severity|normal |critical