https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68209
--- Comment #2 from MikeMirzayanov ---
Right now code written as C++11 can be unintentionally compiled in C++98-mode
and it leads to incorrect behavior of the code.
What is the reason why it compiled on C++98? I expect that it is incorrect
synta
ormal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: mirzayanovmr at gmail dot com
Target Milestone: ---
Tried on g++.EXE (tdm-1) 5.1.0 and g++ (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4).
This code compiled successfully with command
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: mirzayanovmr at gmail dot com
Target Milestone: ---
Tried on g++.EXE (tdm-1) 5.1.0 and g++ (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4)
Compile the following minimal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66096
--- Comment #1 from MikeMirzayanov ---
The code is:
#define _GLIBCXX_DEBUG
#include
#include
using namespace std;
map > > q;
int main(int argc, char* argv[])
{
set can;
can.insert(1);
}
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: mirzayanovmr at gmail dot com
Target Milestone: ---
The following code unexpectedly fails with error:
This application has requested the Runtime to terminate it in an unusual way
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: mirzayanovmr at gmail dot com
Target Milestone: ---
Created attachment 35515
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35515&action=edit
Code to reproduce a b
Assignee: unassigned at gcc dot gnu.org
Reporter: mirzayanovmr at gmail dot com
Created attachment 32546
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32546&action=edit
Compile with -O2 and input 9
Compile the following code with -O2:
~
#include
#include
#
: unassigned at gcc dot gnu.org
Reporter: mirzayanovmr at gmail dot com
Created attachment 30820
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30820&action=edit
Compile it with "g++ -O2 a.cpp" and run. It will output 0 instead of 10.
The following code writes 0 (b