[Bug c++/57693] New: The program logically failed in case of used int b += b++

2013-06-24 Thread vlad94009277 at gmail dot com
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 iostream using namespace std; int main(){ int d = 7; int c = 7

[Bug c++/57693] The program logically failed in case of used int b += b++

2013-06-24 Thread vlad94009277 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57693 --- Comment #2 from Vladimir vlad94009277 at gmail dot com --- (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

[Bug c++/57671] New: Compile Error: When declared a pointer const TYPE const *p ; (p is name of pointer)

2013-06-21 Thread vlad94009277 at gmail dot com
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