c/5225: + should strip lvalueness
mrs@wrs.com
mrs@wrs.com
Mon Dec 31 04:50:00 GMT 2001
>Number: 5225
>Category: c
>Synopsis: + should strip lvalueness
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: accepts-illegal
>Submitter-Id: net
>Arrival-Date: Mon Dec 31 00:46:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Mike Stump
>Release: gcc version 3.1 20010413
>Organization:
>Environment:
sparc solaris
>Description:
+ should strip lvalueness
gcc accepts it (bad), g++ does not (good).
>How-To-Repeat:
int main() { +i = 1; return 0; }
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list