This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/5225: + should strip lvalueness
- From: mrs at wrs dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 31 Dec 2001 08:38:18 -0000
- Subject: c/5225: + should strip lvalueness
- Reply-to: mrs at wrs dot com
>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: