[Bug other/81334] -Wmisleading-indentation prints notes about being disabled even when already intentionally ignored

2021-08-13 Thread maxim.prohorenko at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81334 Максим Прохоренко changed: What|Removed |Added CC||maxim.prohorenko at gmail dot com

[Bug c++/90196] std:: types unused without warnings but simple type not affected

2019-04-21 Thread maxim.prohorenko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90196 --- Comment #5 from Максим Прохоренко --- using namespace std; class __attribute__((warn_unused)) kw { public: bitset<12> flags{"0010"}; }; int main() { printf("Hello World!\n"); kw KW; puts(to_string(sizeof(kw)).c_str());

[Bug c++/90196] std:: types unused without warnings but simple type not affected

2019-04-21 Thread maxim.prohorenko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90196 --- Comment #3 from Максим Прохоренко --- Allocate GiB of unused memory and don't warn about it? But 1 simple double - it is a big problem. For std:: objects with side effect - OK! But for simple unused vector or set or map???

[Bug c++/90196] std:: types unused without warnings but simple type not affected

2019-04-20 Thread maxim.prohorenko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90196 --- Comment #1 from Максим Прохоренко --- Start prog.cc:6:19: warning: unused variable 'std_unused_bitset' [-Wunused-variable] std::bitset<20> std_unused_bitset; ^ prog.cc:9:10: warning: unused variable 'unused_double' [-Wunus

[Bug c++/90196] New: std:: types unused without warnings but simple type not affected

2019-04-20 Thread maxim.prohorenko at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: maxim.prohorenko at gmail dot com Target Milestone: --- #include #include int main() { std::bitset<20> std_unused_bitset; std::vector std_unused_vector; double unused_doub

[Bug c++/55698] gcc does not report warning if operator not used : control reaches end of non-void function [-Wreturn-type]

2014-10-18 Thread maxim.prohorenko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55698 --- Comment #3 from Максим Прохоренко --- Thanks guys.

[Bug c++/63585] no warning

2014-10-18 Thread maxim.prohorenko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63585 --- Comment #2 from Максим Прохоренко --- clang return all warnings

[Bug c++/63585] New: no warning

2014-10-18 Thread maxim.prohorenko at gmail dot com
gcc dot gnu.org Reporter: maxim.prohorenko at gmail dot com

[Bug c++/63585] no warning

2014-10-18 Thread maxim.prohorenko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63585 --- Comment #1 from Максим Прохоренко --- int f (double x) { if (x > 0 || x < 0) return 1; // ok - warn } struct value { double x; int operator== (const value &a) { if (a.x < x || a.x > x) return 0; // no warn ?? }

[Bug regression/56751] Can not confugure stage 2

2013-03-26 Thread maxim.prohorenko at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56751 Максим Прохоренко changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug regression/56751] New: Can not confugure stage 2

2013-03-26 Thread maxim.prohorenko at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56751 Bug #: 56751 Summary: Can not confugure stage 2 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/55698] New: gcc does not report warning if operator not used : control reaches end of non-void function [-Wreturn-type]

2012-12-14 Thread maxim.prohorenko at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55698 Bug #: 55698 Summary: gcc does not report warning if operator not used : control reaches end of non-void function [-Wreturn-type] Classification: Unclassified P

[Bug c/52336] New: Change the private field without any warning or error.

2012-02-21 Thread maxim.prohorenko at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52336 Bug #: 52336 Summary: Change the private field without any warning or error. Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED Severity: normal