[Bug libstdc++/115134] New: Possible typo in _Grapheme_cluster_iterator iterator

2024-05-17 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115134 Bug ID: 115134 Summary: Possible typo in _Grapheme_cluster_iterator iterator Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/98881] [modules] internal compiler error: in tpl_parms_fini, at cp/module.cc:9933

2024-03-05 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98881 --- Comment #5 from Pilar Latiesa --- (In reply to Pilar Latiesa from comment #4) > I can no longer reproduce the issue with 11.3 or 12.1 Because those were releases that didn't have checking enabled.

[Bug target/114134] [14 Regression] Extra mov instructions for simple function compared with GCC13 since r14-2386

2024-02-28 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114134 --- Comment #5 from Pilar Latiesa --- Another testcase: struct TKey { int i, j, k, w; }; TKey Key(int x) { return {x, 0, x, 0}; }

[Bug target/114134] [14 Regression] Extra mov instructions for simple function compared with GCC13

2024-02-28 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114134 --- Comment #3 from Pilar Latiesa --- (In reply to Richard Biener from comment #2) > I guess the testcase can be simplified to just show the return value > handling issue. I think this suffices: struct TVec3D { double x, y, z; }; struct TKey

[Bug c++/114134] New: Extra mov instructions for simple function compared with GCC13

2024-02-27 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114134 Bug ID: 114134 Summary: Extra mov instructions for simple function compared with GCC13 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/113376] Confusing notes when using C++17 parallel algorithms

2024-01-15 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113376 --- Comment #3 from Pilar Latiesa --- It seems that what is missing is a corresponding change in the macro definition logic. It should have been changed to: // Check the user-defined macro for warnings #if defined(PSTL_USAGE_WARNINGS) #

[Bug libstdc++/113376] Confusing notes when using C++17 parallel algorithms

2024-01-15 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113376 --- Comment #1 from Pilar Latiesa --- (In reply to Pilar Latiesa from comment #0) > I don't understand why all these functions are even instantiated as they > appear to be related to the vectorization of other algorithms. Pragma messages are

[Bug libstdc++/113376] New: Confusing notes when using C++17 parallel algorithms

2024-01-13 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113376 Bug ID: 113376 Summary: Confusing notes when using C++17 parallel algorithms Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/113129] "using declaration" not detected as "exported" in exported namespace (C++ modules)

2023-12-27 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113129 Pilar Latiesa changed: What|Removed |Added CC||pilarlatiesa at gmail dot com ---

[Bug c++/110283] Bogus Warray-bounds

2023-06-16 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110283 --- Comment #1 from Pilar Latiesa --- Created attachment 55345 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55345=edit preprocessed code

[Bug c++/110283] New: Bogus Warray-bounds

2023-06-16 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110283 Bug ID: 110283 Summary: Bogus Warray-bounds Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug c++/110075] Bogus -Wdangling-reference

2023-06-09 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110075 --- Comment #1 from Pilar Latiesa --- I forgot to paste: $ ./gcc-13/bin/g++ -v Usando especificaciones internas. COLLECT_GCC=./gcc-13/bin/g++ COLLECT_LTO_WRAPPER=/home/pililatiesa/gcc-13/libexec/gcc/x86_64-pc-linux-gnu/13.1.0/lto-wrapper

[Bug c++/110075] New: Bogus -Wdangling-reference

2023-06-01 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110075 Bug ID: 110075 Summary: Bogus -Wdangling-reference Product: gcc Version: 13.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/107591] range-op{,-float}.cc for x * x

2023-04-05 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107591 --- Comment #19 from Pilar Latiesa --- The testcase: #include struct TVec { double x, y, z; }; double dot(TVec const , TVec const ) { return u.x * v.x + u.y * v.y + u.y * v.y + u.z * v.z; } double mag(TVec const )

[Bug c++/107858] New: Variable in generic lambda incorrectly considered to be a dependent name

2022-11-24 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107858 Bug ID: 107858 Summary: Variable in generic lambda incorrectly considered to be a dependent name Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity:

[Bug tree-optimization/107569] [13 Regression] Failure to optimize std::isfinite since r13-3596

2022-11-09 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107569 --- Comment #14 from Pilar Latiesa --- I have tested the testcase in comment #1 with Clang, and I realized that Clang trunk avoids the tailcall to sqrt even without any hint with __builtin_unreachable: https://godbolt.org/z/5sb8bYcoq Clang is

[Bug tree-optimization/107569] [13 Regression] Failure to optimize std::isfinite since r13-3596

2022-11-08 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107569 Pilar Latiesa changed: What|Removed |Added CC||pilarlatiesa at gmail dot com ---

[Bug target/106910] roundss not vectorized

2022-09-22 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106910 --- Comment #12 from Pilar Latiesa --- Wouldn't it make sense for scalar and vector versions to be affected by the same options?

[Bug target/106910] roundss not vectorized

2022-09-21 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106910 --- Comment #9 from Pilar Latiesa --- Thans so much for the fix. I have tested last night (20220920) snapshot and I can confirm the testcase is vectorized. However, for the vectorization to kick in I had to use -fno-trapping-math. I assume

[Bug c++/106654] [C++23] P1774 - Portable assumptions

2022-09-16 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106654 Pilar Latiesa changed: What|Removed |Added CC||pilarlatiesa at gmail dot com ---

[Bug c++/106910] New: roundss not vectorized

2022-09-12 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106910 Bug ID: 106910 Summary: roundss not vectorized Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug libstdc++/101228] tbb/task.h is Deprecated in newer TBB.

2022-05-27 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101228 --- Comment #10 from Pilar Latiesa --- I believe this was fixed for 11.2

[Bug c++/98881] [modules] internal compiler error: in tpl_parms_fini, at cp/module.cc:9933

2022-05-27 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98881 --- Comment #4 from Pilar Latiesa --- I can no longer reproduce the issue with 11.3 or 12.1

[Bug c++/105615] Partial ordering of constraints with empty parameter mapping

2022-05-17 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105615 --- Comment #2 from Pilar Latiesa --- (In reply to Patrick Palka from comment #1) > Constraint subsumption is specified in terms of the normal form. When the > concept C is made independent of the template parameter, the normal forms of > C

[Bug c++/105615] New: Partial ordering of constraints with empty parameter mapping

2022-05-16 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105615 Bug ID: 105615 Summary: Partial ordering of constraints with empty parameter mapping Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/102807] Simple code using ranges::views::keys does not compile with clang

2021-10-18 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102807 Pilar Latiesa changed: What|Removed |Added CC||pilarlatiesa at gmail dot com ---

[Bug c++/102341] [modules] "error: conflicting exporting declaration" for anything previously declared

2021-09-15 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102341 Pilar Latiesa changed: What|Removed |Added CC||pilarlatiesa at gmail dot com ---

[Bug c/102098] ICE when #include with -fmodules-ts -std=c++20

2021-08-30 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102098 Pilar Latiesa changed: What|Removed |Added CC||pilarlatiesa at gmail dot com ---

[Bug libstdc++/101228] tbb/task.h is Deprecated in newer TBB.

2021-06-28 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101228 Pilar Latiesa changed: What|Removed |Added CC||pilarlatiesa at gmail dot com ---

[Bug c++/100594] Lambdas in unevaluated contexts interact oddly with alias templates

2021-05-17 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100594 Pilar Latiesa changed: What|Removed |Added CC||pilarlatiesa at gmail dot com ---

[Bug c++/100091] [11 Regression] decltype([]{}) rejected as a default template parameter

2021-04-15 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100091 --- Comment #4 from Pilar Latiesa --- > Of course such use of a lambda is quite pointless Not as pointless as it might appear. This defaulted template parameter enables a form of stateful metaprogramming: #include template class T {};

[Bug c++/100091] New: decltype([]{}) rejected as a default template parameter

2021-04-15 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100091 Bug ID: 100091 Summary: decltype([]{}) rejected as a default template parameter Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/99522] New: Using the unseq execution policy in min_element requires the sequence value type to be copy assignable

2021-03-10 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99522 Bug ID: 99522 Summary: Using the unseq execution policy in min_element requires the sequence value type to be copy assignable Product: gcc Version: 10.2.0 Status:

[Bug c++/99182] New: Misleading fixit hint for misspelled Greek letter identifiers

2021-02-20 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99182 Bug ID: 99182 Summary: Misleading fixit hint for misspelled Greek letter identifiers Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/98881] [modules] internal compiler error: in tpl_parms_fini, at cp/module.cc:9933

2021-02-15 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98881 --- Comment #3 from Pilar Latiesa --- Including vector + any header from range-v3 also triggers the ICE. For example (https://godbolt.org/z/qnMe45): module; #include #include export module M; void f() { std::vector v; };

[Bug c++/98895] C++ module generates too many dead code

2021-01-30 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98895 --- Comment #2 from Pilar Latiesa --- (In reply to cqwrteur from comment #0) > If those issues cannot be solved, I am sorry, I would only say C++20 modules > failed completely. What do you expect from being so offensive? Is this comment

[Bug c++/98885] [modules] forward declaration of classes prevent them from being exported at the point of actual declaration

2021-01-30 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885 --- Comment #8 from Pilar Latiesa --- (In reply to Nathan Sidwell from comment #7) That works. Thanks so much. When there are several partitions involved it is not entirely clear to me what declarations are first seen by the compiler compared

[Bug c++/98885] [modules] forward declaration of classes prevent them from being exported at the point of actual declaration

2021-01-29 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885 --- Comment #6 from Pilar Latiesa --- (In reply to Nathan Sidwell from comment #5) > your A-impl.cpp needs `import :B` and vice-versa Yep. Thanks. But that's not enough for it to compile: A-impl.cpp:7:17: error: invalid use of incomplete type

[Bug c++/98885] [modules] forward declaration of classes prevent them from being exported at the point of actual declaration

2021-01-29 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885 --- Comment #4 from Pilar Latiesa --- I tried: $ cat M.cpp export module M; export import :A; export import :B; $ cat A.cpp export module M:A; export class B; export class A { void f(B const &) const; }; $ cat B.cpp export module

[Bug c++/98885] [modules] forward declaration of classes prevent them from being exported at the point of actual declaration

2021-01-29 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885 --- Comment #2 from Pilar Latiesa --- (In reply to Nathan Sidwell from comment #1) > This is ill-formed. an exported entity must be so-declared on its first > declaration. > > A diagnostic is missing on the definition of the class. I see.

[Bug c++/98885] New: [modules] forward declaration of classes prevent them from being exported at the point of actual declaration

2021-01-29 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885 Bug ID: 98885 Summary: [modules] forward declaration of classes prevent them from being exported at the point of actual declaration Product: gcc Version: 11.0 Status:

[Bug c++/98881] New: [modules] internal compiler error: in tpl_parms_fini, at cp/module.cc:9933

2021-01-29 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98881 Bug ID: 98881 Summary: [modules] internal compiler error: in tpl_parms_fini, at cp/module.cc:9933 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

[Bug c++/98770] New: [modules] including certain stdlib headers in the global module fragment of different modules causes conflicting global module declarations

2021-01-20 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98770 Bug ID: 98770 Summary: [modules] including certain stdlib headers in the global module fragment of different modules causes conflicting global module declarations Product:

[Bug c++/96331] Class template argument deduction (CTAD) with Concepts

2020-10-28 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96331 Pilar Latiesa changed: What|Removed |Added CC||pilarlatiesa at gmail dot com ---