[Bug libstdc++/57049] New: std::swap does self move assignment, which is illegal

2013-04-23 Thread tudorb at fb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57049 Bug #: 57049 Summary: std::swap does self move assignment, which is illegal Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: nor

[Bug libstdc++/57049] std::swap does self move assignment, which is illegal

2013-04-23 Thread tudorb at fb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57049 --- Comment #1 from Tudor Bosman 2013-04-23 15:54:18 UTC --- Actually, I'll take this back. I don't believe this is a bug. 17.6.4.9 constraints arguments passed to STL functions. So if there is a library function that takes a rvalue ar

[Bug libstdc++/57704] New: std::char_traits::lt is not standards-compliant

2013-06-24 Thread tudorb at fb dot com
: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: tudorb at fb dot com Created attachment 30356 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30356&action=edit simple example to illustrate the bug The C++11 standard says in 21.2.3.1 (struct char_traits)

[Bug c++/57958] New: Incorrect code generation in lambda with argument of type reference to template class

2013-07-22 Thread tudorb at fb dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tudorb at fb dot com Created attachment 30538 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30538&action=edit Source file that exhibits broken behavi

[Bug c++/57958] Incorrect code generation in lambda with argument of type reference to template class

2013-07-22 Thread tudorb at fb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57958 --- Comment #1 from Tudor Bosman --- Created attachment 30539 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30539&action=edit Source file that exhibits broken behavior

[Bug c++/57958] Incorrect code generation in lambda with argument of type reference to template class

2013-07-22 Thread tudorb at fb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57958 --- Comment #2 from Tudor Bosman --- g++ -v output (ignore the weird paths): Using built-in specs. COLLECT_GCC=l/f/third-party/centos5.2-native/gcc/gcc-4.7.1/cc6c9dc/bin/g++ COLLECT_LTO_WRAPPER=/mnt/gvfs/third-party/1ebd27fa7983fc50f525eb890ae74e

[Bug c++/58140] New: -Wnon-virtual-dtor shouldn't fire for classes declared final

2013-08-12 Thread tudorb at fb dot com
ormal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tudorb at fb dot com Created attachment 30636 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30636&action=edit Test case In C++11, we can declare a class as "final&quo

[Bug c++/58140] -Wnon-virtual-dtor shouldn't fire for classes declared final

2013-08-12 Thread tudorb at fb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58140 --- Comment #1 from Tudor Bosman --- (Tested with gcc 4.7.1, compiled with -std=c++11 -Wnon-virtual-dtor

[Bug c++/56671] Gcc uses large amounts of memory and processor power with large C++11 bitsets

2013-09-10 Thread tudorb at fb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56671 Tudor Bosman changed: What|Removed |Added CC||tudorb at fb dot com --- Comment #2 from

[Bug c++/53909] New: internal compiler error: in gimplify_init_ctor_eval, at gimplify.c:3560

2012-07-09 Thread tudorb at fb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53909 Bug #: 53909 Summary: internal compiler error: in gimplify_init_ctor_eval, at gimplify.c:3560 Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFI

[Bug c++/53909] internal compiler error: in gimplify_init_ctor_eval, at gimplify.c:3560

2012-07-09 Thread tudorb at fb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53909 --- Comment #1 from Tudor Bosman 2012-07-10 03:33:51 UTC --- Appears fixed in gcc 4.7.1.

[Bug c++/51547] New: auto, type deduction, reference collapsing and const: invalid initialization of reference of type 'const X&&' from expression of type 'const X'

2011-12-13 Thread tudorb at fb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51547 Bug #: 51547 Summary: auto, type deduction, reference collapsing and const: invalid initialization of reference of type 'const X&&' from expression of type 'const X' Classification

[Bug c/55658] New: bitfields and __attribute__((packed)) generate horrible code on x86_64

2012-12-11 Thread tudorb at fb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55658 Bug #: 55658 Summary: bitfields and __attribute__((packed)) generate horrible code on x86_64 Classification: Unclassified Product: gcc Version: 4.7.1 Status

[Bug c++/55668] New: Incorrect lookup for template member of dependent template

2012-12-12 Thread tudorb at fb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55668 Bug #: 55668 Summary: Incorrect lookup for template member of dependent template Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRME

[Bug c++/55668] Incorrect lookup for template member of dependent template

2012-12-12 Thread tudorb at fb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55668 --- Comment #2 from Tudor Bosman 2012-12-13 01:28:05 UTC --- It's hard to believe that I'm the first one to hit this problem, but my 10 minutes of searching haven't found any duplicates; perhaps my search-fu isn't up to par :)

[Bug c++/55668] Incorrect lookup for template member of dependent template

2012-12-13 Thread tudorb at fb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55668 --- Comment #4 from Tudor Bosman 2012-12-13 18:01:04 UTC --- Jonathan: thanks, yes, that looks like a dup. Closing this one.

[Bug c++/55668] Incorrect lookup for template member of dependent template

2012-12-13 Thread tudorb at fb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55668 Tudor Bosman changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/55576] Fails to compile a call to template member function

2012-12-13 Thread tudorb at fb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576 Tudor Bosman changed: What|Removed |Added CC||tudorb at fb dot com

[Bug c++/55576] Fails to compile a call to template member function

2012-12-13 Thread tudorb at fb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576 --- Comment #11 from Tudor Bosman 2012-12-13 18:03:35 UTC --- As I indicated in PR 55668, this has been broken since at least 4.1.2.