https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532
--- Comment #24 from Kohei Takahashi ---
(In reply to Marek Polacek from comment #23)
> (In reply to Kohei Takahashi from comment #21)
> > (In reply to Marek Polacek from comment #18)
> > > (In reply to Barnabás Pőcze from comment #17)
> > > > T
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532
--- Comment #21 from Kohei Takahashi ---
(In reply to Marek Polacek from comment #18)
> (In reply to Barnabás Pőcze from comment #17)
> > The simple test case with std::span still triggers the warning:
> > https://gcc.godbolt.org/z/43cKxdqr3. I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92851
--- Comment #3 from Kohei Takahashi ---
It's still rejected in GCC 13.0. https://wandbox.org/permlink/jKItc5W8KnYR7JN1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92851
--- Comment #2 from Kohei Takahashi ---
(In reply to Jonathan Wakely from comment #1)
> Please provide a complete testcase not a URL, as required by
> https://gcc.gnu.org/bugs/
Sorry, here is reproducible complete code.
struct S
{
int
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: flast at flast dot jp
Target Milestone: ---
GCC rejects assignment to copied *this even lambda is mutable, like a following
code.
void foo() const
{
[*this]() mutable
{
a = 0
ty: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: flast at flast dot jp
Target Milestone: ---
ICE caused by list-initializer within template function that contains call of
overloads, like following.
```
int id(int v)
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: flast at flast dot jp
Target Milestone: ---
__is_trivially_copyable builtin returns true on volatile-qualified trivially
copyable class, or array of the class as expected. But not for
IRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: flast at flast dot jp
Target Milestone: ---
GCC 6 doesn't compile following code, but others (e.g. GCC 5, clang) do.
```
int main()
{
auto x =
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11685
Kohei Takahashi changed:
What|Removed |Added
CC||flast at flast dot jp
--- Comment #9
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63437
--- Comment #2 from Kohei Takahashi ---
(In reply to Andrew Pinski from comment #1)
> in C++14 (a) means the same as static_cast(a).
>
> So it is a reference at this point which means const & is better than &&.
>
> Or at least that is how I und
Version: 4.9.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: flast at flast dot jp
After GCC 4.9, parenthesized "movable but not copyable" object doesn'
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54372
--- Comment #6 from Kohei Takahashi 2012-09-22 13:06:32
UTC ---
I tested on x86_64-linux-gnu and works fine.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54372
--- Comment #1 from Kohei Takahashi 2012-08-25 07:17:49
UTC ---
Created attachment 28082
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28082
test code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54372
Bug #: 54372
Summary: __attribute__((unused)) doesn't work with unused local
typedef in template function.
Classification: Unclassified
Product: gcc
Version: 4.8.0
St
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53258
Bug #: 53258
Summary: Many symbols cannot lookup when loading plugin in
configured with --enable-build-with-cxx.
Classification: Unclassified
Product: gcc
Version: 4.7.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51888
--- Comment #2 from Kohei Takahashi 2012-01-18 06:24:50
UTC ---
Oh, I did not check about trunk. Thanks.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51888
Bug #: 51888
Summary: [C++11]warn comma at end of enumerator list with
-pedantic
Classification: Unclassified
Product: gcc
Version: 4.6.3
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51028
Kohei Takahashi changed:
What|Removed |Added
CC||flast at flast dot jp
--- Comment #2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51027
Bug #: 51027
Summary: [C++11] GCC accepts alias-declaration without ';'
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49932
Summary: [C++0x] ICE on instantiating decltype(expr)::type with
template
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49823
Summary: [C++0x] ICE on decltype(expr)::type with template
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: un
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49058
Summary: [C++0x] Bind no-arguments functor failed using
std::bind with -pedantic option.
Product: gcc
Version: 4.5.4
Status: UNCONFIRMED
Severity: normal
Priority:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49056
Summary: [C++0x] ICE: OMP parallel for with template constexpr
function, LTO and debug options.
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: minor
Pri
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49022
Summary: [C++0x] std::begin and std::end specialized for
std::valarray with some operators are missing.
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48586
Summary: missing no return warning in template operator
Product: gcc
Version: 4.4.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unass
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48491
Summary: ICE in "delete" with template convertion operator
Product: gcc
Version: lto
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unas
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48490
Summary: "delete" with template convertion operator does
overload resolution for class operands, but shouldn't.
Product: gcc
Version: 4.4.4
Status: UNCONFIRMED
Severity: nor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48430
Summary: std::hash partial specialization for std::unique_ptr
and std::shared_ptr are using unary_function
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47125
--- Comment #6 from Kohei Takahashi 2011-03-30 00:12:12
UTC ---
It works good now. However GCC shows following error message.
testcase.cpp: In function 'void g()':
testcase.cpp:17:10: error: no matching function for call to 'f(int)'
testcase
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48339
Summary: Current release series version is incorrect
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: web
AssignedTo: unassi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47897
Summary: [C++0x] static const member variable is not constant
expression
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: major
Priority: P3
Comp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47488
Summary: [C++0x] decltype + template + string literals: ICE in
write_template_arg_literal, at cp/mangle.c
Product: gcc
Version: 4.4.4
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47263
Summary: [C++0x] lambda + dynamic-exception-specification
std::unexpected() is not called.
Product: gcc
Version: 4.5.2
Status: UNCONFIRMED
Severity: normal
Priorit
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47125
--- Comment #1 from Kohei Takahashi 2010-12-29 19:51:04
UTC ---
Created attachment 22867
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22867
test code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47125
Summary: ICE occurs in combination with partial specialization
and invalid template function.
Product: gcc
Version: 4.5.2
Status: UNCONFIRMED
Severity: normal
Prio
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46719
--- Comment #7 from Kohei Takahashi 2010-12-01 00:30:45
UTC ---
(In reply to comment #6)
> Even though the template parameter pack Args expands to double, GCC is unable
> to match f to the type function if I use Args..., where it was
> able to wi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46719
Kohei Takahashi changed:
What|Removed |Added
CC||flast at flast dot jp
--- Comment #3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46550
Kohei Takahashi changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45167
Kohei Takahashi changed:
What|Removed |Added
CC||flast at flast dot jp
--- Comment #2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46552
Summary: Internal compiler error on pointer to member variable
with template
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46550
Summary: [C++0x] Segmentation fault on lambda
Product: gcc
Version: 4.5.1
URL: http://ideone.com/pBaLQ
Status: UNCONFIRMED
Severity: normal
Priority: P3
Compon
41 matches
Mail list logo