[Bug c++/29179] New: bugs in mt_allocator

2006-09-22 Thread random at adriver dot ru
Severity: critical Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: random at adriver dot ru http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29179

[Bug libstdc++/29179] bugs in mt_allocator

2006-09-22 Thread random at adriver dot ru
--- Comment #2 from random at adriver dot ru 2006-09-22 13:32 --- (In reply to comment #1) > The first "bug" simply doesn't exist given the comment at the beginning of > __pool_base In the beginning of __pool_base we see: // Using short int as type for the

[Bug libstdc++/29179] bugs in mt_allocator

2006-09-22 Thread random at adriver dot ru
--- Comment #4 from random at adriver dot ru 2006-09-22 14:40 --- (In reply to comment #3) > No, for the simple reason that the allocator does not work is __block_count > turns out to be zero. The problem with your PR is that you are doing sort of > syntactical analysis of

[Bug c++/54972] New: O2 breaks something in 4.6.3

2012-10-18 Thread random at adriver dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54972 Bug #: 54972 Summary: O2 breaks something in 4.6.3 Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal Priority:

[Bug c++/54972] O2 breaks something in 4.6.3

2012-10-18 Thread random at adriver dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54972 --- Comment #3 from Seva Potapov 2012-10-18 11:46:19 UTC --- thanks for input guys, but for some reason I don't get same warnings as you: $ g++-4.6 -Wall -Wextra lzo_gcc_test.cpp -llzo2 lzo_gcc_test.cpp:27:5: warning: unused parameter ‘argc’ [-

[Bug c++/54972] O2 breaks something in 4.6.3

2012-10-18 Thread random at adriver dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54972 --- Comment #6 from Seva Potapov 2012-10-18 12:07:40 UTC --- thanks, guys, it seems that -Wstrict-aliasing=2 is not part of -Wall or -Wextra i'll keep that in mind next time I encounter "bug" with gcc :)