Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: rockeet at gmail dot com
Target Milestone: ---
std::function should not check func ptr on each call, an optimization should
be:
define a 'default throw' function which just throws a std::bad_function
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80878
rockeet changed:
What|Removed |Added
CC||rockeet at gmail dot com
--- Comment #19 from
ormal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rockeet at gmail dot com
Target Milestone: ---
// code:
#include
template
struct A {
template
struct X {
void foo(U* p) { printf("p->a = %d\n", p->a);
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81389
rockeet changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|INVALID
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81389
rockeet changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|INVALID
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81389
rockeet changed:
What|Removed |Added
CC||rockeet at gmail dot com
--- Comment #9 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81389
rockeet changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|INVALID
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81389
--- Comment #3 from rockeet ---
@Martin Liška Yes, my use case is:
__m128i key128 = { key }; // key is an unsigned char
int idx = _mm_cmpestri(key128, 1,
*(const __m128i*)(data), // don't require memory align
len,
_SIDD_UBYTE_OPS|_SI
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81389
--- Comment #2 from rockeet ---
I had also tested intel compiler with -O0 serveral years ago, it was OK.
++
Assignee: unassigned at gcc dot gnu.org
Reporter: rockeet at gmail dot com
Target Milestone: ---
With option -O0, intrinsic _mm_cmpestri generate a mmload and a _mm_cmpestri,
in which mmload raise a CPU hardware exception.
The reason is: mmload require memory align to 16, but _mm_cmpestri
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57155
--- Comment #2 from rockeet 2013-05-03 10:35:53 UTC
---
In this case, C++ shouldn't create a temporal object and bound the const ref to
it. The C++ standard (C++11) says:
5.2.1
Subscripting
[expr.sub]
1
A postfix expression followed by an expre
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57155
Bug #: 57155
Summary: casting to const reference error
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: major
Priorit
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53505
Bug #: 53505
Summary: bitfield with bool type generated broken object code
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: critical
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23885
--- Comment #10 from rockeet 2011-12-13 09:38:45 UTC
---
Sorry, missed output of g++ 4.6.0:
Begin Output
void f(A)
void f(B)
void f(B)
void f(T) [with T = int]
void f(T) [with T = int*]
End Output
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23885
rockeet changed:
What|Removed |Added
CC||rockeet at gmail dot com
--- Comment #9 from
15 matches
Mail list logo