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
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
: 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)
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
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
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
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
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
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
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
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.
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
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
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
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 :)
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.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55668
Tudor Bosman changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576
Tudor Bosman changed:
What|Removed |Added
CC||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.
19 matches
Mail list logo