http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57693
--- Comment #2 from Vladimir ---
(In reply to Andrew Pinski from comment #1)
> Both:
> b += b++;
> And
> d += d++;
>
> are undefined what value b and d is going to be as there are no sequence
> point intbetween the two assignments.
>
>
ity: major
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: vlad94009277 at gmail dot com
Steps to reproduce:
1. Write the following source cod and compile it:
#include
using namespace std;
int main(){
int d = 7;
Severity: blocker
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: vlad94009277 at gmail dot com
Compile Error: When declared the pointer const int const *p ;
Actual result:
error: duplicate ‘const’
const