http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57531
Andreas Schwab changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57531
Andrew Pinski changed:
What|Removed |Added
Component|c |c++
Severity|major
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57531
vijay Nag changed:
What|Removed |Added
CC||vijunag at gmail dot com
Severity|n
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57531
Paolo Carlini changed:
What|Removed |Added
Severity|critical|normal
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57531
vijay Nag changed:
What|Removed |Added
Component|c++ |c
Severity|normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57531
Andrew Pinski changed:
What|Removed |Added
Severity|critical|normal
--- Comment #1 from Andrew Pinski
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57531
vijay Nag changed:
What|Removed |Added
Severity|normal |critical