[Bug c++/88602] Consider adding ext_vector_type for better clang compatibility

2024-05-20 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88602 Jean-Michaël Celerier changed: What|Removed |Added CC||jeanmichael.celerier@gmail.

[Bug c++/111748] New: GCC does not understand partial ordering between non-constrained and constrained templates for specialization

2023-10-09 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
: 13.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- Consider: #include template void foo

[Bug sanitizer/110936] New: if constexpr: member function pointers cannot be checked with ubsan

2023-08-07 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot

[Bug c++/109899] New: ICE in check_noexcept_r, at cp/except.cc:1065

2023-05-17 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- Created attachment 55106 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55106=edit Preprocessed source causing the bug Repro: #include #incl

[Bug c++/109651] ICE in lookup_template_class

2023-04-27 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109651 --- Comment #3 from Jean-Michaël Celerier --- Created attachment 54943 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54943=edit Preprocessed source

[Bug c++/109651] New: ICE in lookup_template_class

2023-04-27 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- g++ version: g++ (SUSE Linux) 13.0.1 20230421 (prerelease) [revision f980561c60b0446cc427595198d7f3f4f90e0924] as shipped by opensuse tumbleweed (reproducible in the official

[Bug c++/107579] ICE on fold-expression on .* member access operator

2022-11-08 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107579 --- Comment #4 from Jean-Michaël Celerier --- Adding an explicit "member..." to the lambda capture, e.g. [&, member...] makes it work

[Bug c++/107579] ICE on fold-expression on .* member access operator

2022-11-08 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107579 --- Comment #3 from Jean-Michaël Celerier --- It worked in 11.2 and started failing in 11.3. Short repro: https://gcc.godbolt.org/z/GYYbrTdxh #include template constexpr void for_each_field(T&& value, F&& func) { using namespace

[Bug c++/107579] ICE on fold-expression on .* member access operator

2022-11-08 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107579 --- Comment #2 from Jean-Michaël Celerier --- Clang and MSVC compiles the same thing correctly

[Bug c++/107579] ICE on fold-expression on .* member access operator

2022-11-08 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107579 --- Comment #1 from Jean-Michaël Celerier --- Created attachment 53851 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53851=edit bug report provided by -fbug-report

[Bug c++/107579] New: ICE on fold-expression on .* member access operator

2022-11-08 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- The function that is causing the ICE: ``` constexpr int index_in_struct(const auto& s, auto... member) { int index = -1; int k = 0;

[Bug c++/106668] ICE: friend function in struct declaration in generic lambda

2022-08-17 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106668 --- Comment #1 from Jean-Michaël Celerier --- When checking on gcc.godbolt.org it seems that it crashes as far back as GCC 4.9.0 (and 4.8 doesn't seem to be able to compile generic lambdas)

[Bug c++/106668] New: ICE: friend function in struct declaration in generic lambda

2022-08-17 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- Repro: foo.cpp void foo(); bool ok = [] (auto x) { struct y { friend void foo(); }; return

[Bug c++/105683] New: [12 Regression] Infinite loop with construction of vector of variant

2022-05-21 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- Created attachment 53012 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53012=edit Full repro Hello, Full re

[Bug c++/102990] [9/10/11 Regression] ICE in tsubst_copy_and_build with NSDMI and double to int conversion

2022-03-28 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102990 --- Comment #12 from Jean-Michaël Celerier --- In any case many thanks for fixing this !

[Bug c++/102990] [9/10/11 Regression] ICE in tsubst_copy_and_build with NSDMI and double to int conversion

2022-03-28 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102990 --- Comment #11 from Jean-Michaël Celerier --- Do you know if the patch will be applied to the 10.x / 11.x branches ?

[Bug c++/104720] New: internal compiler error: in tsubst_copy_and_build, at cp/pt.c:19817

2022-02-28 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- Created attachment 52527 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52527=edit Repro for the bug Re

[Bug c++/103764] Global std::string constructor not called

2021-12-18 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103764 --- Comment #3 from Jean-Michaël Celerier --- Wops, sorry for the noise, forgot that shared libs were "executable"

[Bug c++/103764] New: Global std::string constructor not called

2021-12-18 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- Repro: foo.cpp: #include std::string my_global_string(100, 'x'); main.cpp: #include #include extern std::string my_global_string

[Bug c++/102990] New: ICE in tsubst_copy_and_build, à cp/pt.c:19856

2021-10-28 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- Created attachment 51695 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51695=edit Source code that causes the ICE Hello, g++-11.1 (Arch Linux). Her

[Bug libstdc++/42679] RTLD_DEEPBIND dlopen option for shared library that uses libstdc++ std::ostream crashes

2021-10-15 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42679 --- Comment #25 from Jean-Michaël Celerier --- My code is built with CMake with CMAKE_POSITION_INDEPENDENT_CODE set, which (I double checked) correctly adds -fPIC to the link line.

[Bug libstdc++/42679] RTLD_DEEPBIND dlopen option for shared library that uses libstdc++ std::ostream crashes

2021-10-15 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42679 Jean-Michaël Celerier changed: What|Removed |Added CC||jeanmichael.celerier@gmail.

[Bug libstdc++/96816] bitset: debug mode: operator== ambiguous

2020-08-27 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96816 --- Comment #2 from Jean-Michaël Celerier --- I'd wager this is a result of C++20 operator<=> changes and operator== synthesis.

[Bug libstdc++/96816] bitset: debug mode: operator== ambiguous

2020-08-27 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96816 --- Comment #1 from Jean-Michaël Celerier --- gcc.godbolt.org link for easy repro: https://gcc.godbolt.org/z/WYbzfT

[Bug libstdc++/96816] New: bitset: debug mode: operator== ambiguous

2020-08-27 Thread jeanmichael.celerier at gmail dot com
: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- Hello, Given the following code: ``` #define _GLIBCXX_DEBUG 1 #include std::bitset<3> a, b; bool test = (a == b); ``` clang gives the following

[Bug c++/93632] Build time regression in 9.2.1

2020-02-10 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93632 --- Comment #2 from Jean-Michaël Celerier --- Without these options it goes down from 2 minutes to 16 seconds which is already much better, but still a couple times slower than before

[Bug c++/93632] New: Build time regression in 9.2.1

2020-02-08 Thread jeanmichael.celerier at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- Created attachment 47797 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47797=edit preprocessed source of the buggy file Hello, The following source code takes almost

[Bug c++/87410] New: internal compiler error: in fold_convert_loc, at fold-const.c:2530

2018-09-24 Thread jeanmichael.celerier at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- Created attachment 44743 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44743=edit XZ archive of preprocessed sou

[Bug c++/87090] New: Constexpr variables in functions are not optimized correctly

2018-08-24 Thread jeanmichael.celerier at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- Consider the following code : #include #include struct Table { long long tab[128]; constexpr

[Bug c++/86403] New: Deduction guides not supported in local classes

2018-07-04 Thread jeanmichael.celerier at gmail dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- See for instance : https://godbolt.org/g/6DKxPx

[Bug ipa/83582] GCC is unable to fold the code of identical lambda-expressions

2017-12-31 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83582 --- Comment #4 from Jean-Michaël Celerier --- I posted a similar bug report for clang: https://bugs.llvm.org/show_bug.cgi?id=35783

[Bug demangler/83313] A whole lot of symbols cannot be demangled

2017-12-31 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83313 --- Comment #5 from Jean-Michaël Celerier --- Also the git clone has to be recursive: git clone --recursive -j8 https://github.com/OSSIA/score

[Bug debug/80490] -gsplit-dwarf: top namespace info seems to be lost in GDB

2017-12-31 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80490 --- Comment #5 from Jean-Michaël Celerier --- That's still the case with G++ 7.2.1 and GDB 8.0.1.

[Bug demangler/83313] A whole lot of symbols cannot be demangled

2017-12-31 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83313 --- Comment #4 from Jean-Michaël Celerier --- Yuck sorry, I entirely forgot to answer to this. Yes: https://github.com/OSSIA/score on branch feature/dataflow. Requires latest boost, latest cmake, latest Qt5. Building with cmake ../score

[Bug c++/83630] New: GCC 7.2.1: ICE in replace_placeholders_r, at cp/tree.c:2796

2017-12-30 Thread jeanmichael.celerier at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- The following simple code ICEs GCC 7.2.1: struct dummy { }; struct dummy2 { dummy make(); }; struct test_struct

[Bug ipa/83582] New: GCC is unable to fold the code of identical lambda-expressions

2017-12-24 Thread jeanmichael.celerier at gmail dot com
Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Case 1: https://godbolt.org/g/JvmxJr Case 2: https://godbolt.org/g/FWo12z

[Bug demangler/83313] A whole lot of symbols cannot be demangled

2017-12-20 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83313 --- Comment #2 from Jean-Michaël Celerier --- @Martin Liška I'm using the default arch linux toolchain which is reasonably up-to-date AFAIK: $ g++ --version g++ (GCC) 7.2.1 20171128 $ ld.gold --version GNU gold (GNU Binutils

[Bug demangler/83313] New: A whole lot of symbols cannot be demangled

2017-12-07 Thread jeanmichael.celerier at gmail dot com
: demangler Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- From my software ; I've got them by running nm -a | c++filt | grep _Z

[Bug demangler/82026] New: Undemanglable symbol

2017-08-29 Thread jeanmichael.celerier at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- This one makes c++filt and GDB crash

[Bug debug/80490] -gsplit-dwarf: top namespace info seems to be lost in GDB

2017-04-24 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80490 --- Comment #3 from Jean-Michaël Celerier --- Okay, I reported on their bug tracker. I guess this issue can be closed ?

[Bug debug/80490] -gsplit-dwarf: top namespace info seems to be lost in GDB

2017-04-22 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80490 --- Comment #1 from Jean-Michaël Celerier --- Also: * When compiling this way with GCC (with just -g instead of -ggdb) I am not able to debug with lldb * When compiling with the same arguments with clang++, I am able to debug with lldb *and*

[Bug debug/80490] New: -gsplit-dwarf: top namespace info seems to be lost in GDB

2017-04-22 Thread jeanmichael.celerier at gmail dot com
Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- Given the following code: main.cpp: namespace ossia { class foo { public: void f() { } }; namespace net

[Bug demangler/79406] Demangler crash

2017-02-07 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79406 --- Comment #1 from Jean-Michaël Celerier --- This stems from the usage of the following lambda expression : [&] (auto&&... args) { return this->fun(std::forward(args)...); } Unlike bug 77950 the enclosing function is not

[Bug demangler/79406] New: Demangler crash

2017-02-07 Thread jeanmichael.celerier at gmail dot com
: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- With the following symbol

[Bug c++/78065] incorrect behavior with std::is_same with nested class in a template class

2016-10-21 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78065 --- Comment #5 from Jean-Michaël Celerier --- Okay, thanks !

[Bug libstdc++/78065] incorrect behavior with std::is_same with nested class in a template class

2016-10-21 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78065 --- Comment #1 from Jean-Michaël Celerier --- Here is the relevant bug report in clang bug tacker : https://llvm.org/bugs/show_bug.cgi?id=30759

[Bug libstdc++/78065] New: incorrect behavior with std::is_same with nested class in a template class

2016-10-21 Thread jeanmichael.celerier at gmail dot com
: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- In this code, the first static_assert compiles with g++ (and also clang, but not MSVC) : #include

[Bug c++/77950] New: GCC produces un-demanglable symbols with [] (auto&) { ... } lambdas in templates

2016-10-12 Thread jeanmichael.celerier at gmail dot com
RMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- Created attachment 39793 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39793=edit Preprocessed

[Bug c++/77581] New: ICE: instantiate_template_1, cp/pt.c:17391

2016-09-13 Thread jeanmichael.celerier at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- Created attachment 39613 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39613=edit CPP source file that exhibits the bug ICE with g++ (GCC) 6.2.1 20160830

[Bug driver/66293] Support -Weverything to enable all warnings

2016-02-15 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66293 --- Comment #5 from Jean-Michaël Celerier --- > In my experience, options like -Weverything tend to be too noisy to be > generally useful for projects of non-trivial size. It's always possible to run -Weverything -Wno-foo -Wno-bar to remove

[Bug driver/66293] Support -Weverything to enable all warnings

2016-02-15 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66293 Jean-Michaël Celerier changed: What|Removed |Added CC||jeanmichael.celerier@gmail.

[Bug c++/67398] Segfault when template static references another template

2015-08-30 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67398 --- Comment #1 from Jean-Michaël Celerier jeanmichael.celerier at gmail dot com --- I couldn't upload the attachment here (1mb) so here is the preprocessed source : https://gist.githubusercontent.com/jcelerier/6e67a053e08188cac07f/raw

[Bug c++/67398] New: Segfault when template static references another template

2015-08-30 Thread jeanmichael.celerier at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- Error given by gcc : /home/jcelerier/i-score/base/plugins/iscore-plugin-scenario/source/Process/ScenarioModel.cpp : dans

[Bug c++/67398] Segfault when template static references another template

2015-08-30 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67398 --- Comment #2 from Jean-Michaël Celerier jeanmichael.celerier at gmail dot com --- I now get this error : /home/jcelerier/i-score/base/plugins/iscore-plugin-scenario/source/Process/ScenarioModel.cpp:63: internal compiler error: in make_decl_rtl