[Bug libstdc++/98108] Broken Schwarz counter for iostreams initialization

2020-12-16 Thread i.hamsa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98108 --- Comment #8 from i.hamsa at gmail dot com --- After re-reading the relevant parts of the standard, I have convinced myself that the program is indeed not required to work unless is included, even in a single-threaded version. Even though the

[Bug libstdc++/98108] Broken Schwarz counter for iostreams initialization

2020-12-03 Thread i.hamsa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98108 --- Comment #2 from i.hamsa at gmail dot com --- The standard streams are not user defined objects. They need to be initialized before any user code touches them, before `main`, before everything, no matter what. This is exactly the purpose of

[Bug libstdc++/98108] New: Broken Schwarz counter for iostreams initialization

2020-12-02 Thread i.hamsa at gmail dot com via Gcc-bugs
Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: i.hamsa at gmail dot com Target Milestone: --- Iostreams initialization doesn't work in multithreaded environments. To reproduce one needs two source files: // file1.cc #include void threa

[Bug c++/90322] New: Cannot deduce size of

2019-05-02 Thread i.hamsa at gmail dot com
: unassigned at gcc dot gnu.org Reporter: i.hamsa at gmail dot com Target Milestone: ---

[Bug c++/88829] Failure to deduce size of array of 2^31 chars

2019-05-02 Thread i.hamsa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88829 i.hamsa at gmail dot com changed: What|Removed |Added CC||i.hamsa at gmail dot com

[Bug c++/90322] Cannot deduce size of

2019-05-02 Thread i.hamsa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90322 i.hamsa at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug c++/57433] Local classes have an associated namespace

2016-05-14 Thread i.hamsa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57433 i.hamsa at gmail dot com changed: What|Removed |Added CC||i.hamsa at gmail dot com

[Bug c/68344] No warning for old-style function declarations.

2015-11-14 Thread i.hamsa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68344 --- Comment #2 from i.hamsa at gmail dot com --- Indeed. I somehow missed that option. It probably would be logical for -Wold-style-declaration to imply -Wstrict-prototypes, but this is a minor issue.

[Bug c/68344] New: No warning for old-style function declarations.

2015-11-13 Thread i.hamsa at gmail dot com
: c Assignee: unassigned at gcc dot gnu.org Reporter: i.hamsa at gmail dot com Target Milestone: --- The following minimal test case int a(); generates no warning when -Wold-style-declaration -std=c11 is specified. It is expected that a warning should be produced. The