[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2023-03-14 Thread flast at flast dot jp via Gcc-bugs
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

[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2023-03-12 Thread flast at flast dot jp via Gcc-bugs
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

[Bug c++/92851] Lambda capture of *this with mutable is not mutable

2023-03-10 Thread flast at flast dot jp via Gcc-bugs
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

[Bug c++/92851] Lambda capture of *this with mutable is not mutable

2019-12-08 Thread flast at flast dot jp
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

[Bug c++/92851] New: Lambda capture of *this with mutable is not mutable

2019-12-06 Thread flast at flast dot jp
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

[Bug c++/89297] New: ICE: unexpected expression 'id' of kind overload

2019-02-11 Thread flast at flast dot jp
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)

[Bug c++/85679] New: __is_trivially_copyable returns false with volatile scalar type

2018-05-07 Thread flast at flast dot jp
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

[Bug c++/70622] New: auto specifier don't deduce value type and its pointer type within single declaration.

2016-04-10 Thread flast at flast dot jp
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 =

[Bug c++/11685] typeinfo is not demangled in error messages

2014-10-13 Thread flast at flast dot jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11685 Kohei Takahashi changed: What|Removed |Added CC||flast at flast dot jp --- Comment #9

[Bug c++/63437] [4.9/5 regression][C++14] Parenthesized "movable but not copyable" object doesn't compile in return statement

2014-10-02 Thread flast at flast dot jp
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

[Bug c++/63437] New: [4.9/5 regression][C++14] Parenthesized "movable but not copyable" object doesn't compile in return statement

2014-10-01 Thread flast at flast dot jp
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'

[Bug c++/54372] __attribute__((unused)) doesn't work with unused local typedef in template function.

2012-09-22 Thread flast at flast dot jp
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.

[Bug c++/54372] __attribute__((unused)) doesn't work with unused local typedef in template function.

2012-08-25 Thread flast at flast dot jp
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

[Bug c++/54372] New: __attribute__((unused)) doesn't work with unused local typedef in template function.

2012-08-25 Thread flast at flast dot jp
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

[Bug plugins/53258] New: Many symbols cannot lookup when loading plugin in configured with --enable-build-with-cxx.

2012-05-06 Thread flast at flast dot jp
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

[Bug c++/51888] [C++11]warn comma at end of enumerator list with -pedantic

2012-01-17 Thread flast at flast dot jp
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.

[Bug c++/51888] New: [C++11]warn comma at end of enumerator list with -pedantic

2012-01-17 Thread flast at flast dot jp
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

[Bug c++/51028] [C++11] Alias-Declaration in namespace omits other whole code

2011-11-08 Thread flast at flast dot jp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51028 Kohei Takahashi changed: What|Removed |Added CC||flast at flast dot jp --- Comment #2

[Bug c++/51027] New: [C++11] GCC accepts alias-declaration without ';'

2011-11-08 Thread flast at flast dot jp
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

[Bug c++/49932] New: [C++0x] ICE on instantiating decltype(expr)::type with template

2011-08-01 Thread flast at flast dot jp
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

[Bug c++/49823] New: [C++0x] ICE on decltype(expr)::type with template

2011-07-23 Thread flast at flast dot jp
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

[Bug c++/49058] New: [C++0x] Bind no-arguments functor failed using std::bind with -pedantic option.

2011-05-19 Thread flast at flast dot jp
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:

[Bug c++/49056] New: [C++0x] ICE: OMP parallel for with template constexpr function, LTO and debug options.

2011-05-18 Thread flast at flast dot jp
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

[Bug libstdc++/49022] New: [C++0x] std::begin and std::end specialized for std::valarray with some operators are missing.

2011-05-17 Thread flast at flast dot jp
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

[Bug c++/48586] New: missing no return warning in template operator

2011-04-13 Thread flast at flast dot jp
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

[Bug c++/48491] New: ICE in "delete" with template convertion operator

2011-04-07 Thread flast at flast dot jp
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

[Bug c++/48490] New: "delete" with template convertion operator does overload resolution for class operands, but shouldn't.

2011-04-07 Thread flast at flast dot jp
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

[Bug libstdc++/48430] New: std::hash partial specialization for std::unique_ptr and std::shared_ptr are using unary_function

2011-04-03 Thread flast at flast dot jp
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

[Bug c++/47125] [4.5/4.6 Regression] ICE occurs in combination with partial specialization and invalid template function.

2011-03-29 Thread flast at flast dot jp
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

[Bug web/48339] New: Current release series version is incorrect

2011-03-29 Thread flast at flast dot jp
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

[Bug c++/47897] New: [C++0x] static const member variable is not constant expression

2011-02-25 Thread flast at flast dot jp
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

[Bug c++/47488] New: [C++0x] decltype + template + string literals: ICE in write_template_arg_literal, at cp/mangle.c

2011-01-27 Thread flast at flast dot jp
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

[Bug c++/47263] New: [C++0x] lambda + dynamic-exception-specification std::unexpected() is not called.

2011-01-11 Thread flast at flast dot jp
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

[Bug c++/47125] ICE occurs in combination with partial specialization and invalid template function.

2010-12-29 Thread flast at flast dot jp
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

[Bug c++/47125] New: ICE occurs in combination with partial specialization and invalid template function.

2010-12-29 Thread flast at flast dot jp
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

[Bug c++/46719] [C++0x] Cannot call variadic function template

2010-11-30 Thread flast at flast dot jp
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

[Bug c++/46719] [C++0x] Cannot call variadic function template

2010-11-30 Thread flast at flast dot jp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46719 Kohei Takahashi changed: What|Removed |Added CC||flast at flast dot jp --- Comment #3

[Bug c++/46550] [C++0x] Segmentation fault on lambda

2010-11-18 Thread flast at flast dot jp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46550 Kohei Takahashi changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/45167] [C++0x] lambda+template="Internal error: Segmentation fault (program cc1plus)"

2010-11-18 Thread flast at flast dot jp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45167 Kohei Takahashi changed: What|Removed |Added CC||flast at flast dot jp --- Comment #2

[Bug c++/46552] New: Internal compiler error on pointer to member variable with template

2010-11-18 Thread flast at flast dot jp
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

[Bug c++/46550] New: [C++0x] Segmentation fault on lambda

2010-11-18 Thread flast at flast dot jp
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