[Bug c++/92847] New: [C++20] ambiguous overload for ‘operator==’ ?

2019-12-06 Thread laurent.stacul at gmail dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: laurent.stacul at gmail dot com Target Milestone: --- Hello, Compiling the following reproducer with the gcc trunk and the option -std=gnu++2a (c++2a), I get the following error: #include template class A { public

[Bug lto/93732] New: [10 Regression] Incorrect symbol type when activating LTO a compile step

2020-02-13 Thread laurent.stacul at gmail dot com
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: laurent.stacul at gmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Hello, With gcc (GCC) 10.0.1 20200211 and the following program: #ifdef

[Bug c++/93699] New: [gcc10] Invalid operator== (returning non-bool type) candidate

2020-02-12 Thread laurent.stacul at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: laurent.stacul at gmail dot com Target Milestone: --- Hello, With a HEAD of gcc: gcc -v

[Bug libstdc++/93923] New: [Regression 10] std::is_copy_constructible raises compilation error

2020-02-25 Thread laurent.stacul at gmail dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: laurent.stacul at gmail dot com Target Milestone: --- Hello, The following code does not compile anymore with gcc 10 although it works in 9.2, 9.2, 8.x. #include #include

[Bug c++/93618] New: [10 Regression] : unknown array size in delete when using C++20 standard

2020-02-06 Thread laurent.stacul at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: laurent.stacul at gmail dot com Target Milestone: --- Hello, I tried to compile Re2 (https://github.com/google/re2) with a close to HEAD gcc: g++ (GCC) 10.0.1 20200124

[Bug c++/93618] [10 Regression] : unknown array size in delete when using C++20 standard

2020-02-07 Thread laurent.stacul at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93618 --- Comment #3 from Laurent Stacul --- Created attachment 47795 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47795=edit preprocessed sources

[Bug c++/93618] [10 Regression] : unknown array size in delete when using C++20 standard

2020-02-07 Thread laurent.stacul at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93618 --- Comment #2 from Laurent Stacul --- Ok. To ease your work I wrote this small reproducer: #include class A { struct State { int flag; std::atomic next_[]; }; void state(int f) { State s; s.flag =

[Bug lto/93609] gcc -flto -fno-comon places symbols into ".text" section

2020-02-17 Thread laurent.stacul at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93609 --- Comment #6 from Laurent Stacul --- Thanks very much for information!

[Bug lto/94138] [gcc10] unresolvable R_X86_64_TPOFF32 relocation against symbol when LTO activated

2020-03-11 Thread laurent.stacul at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94138 --- Comment #7 from Laurent Stacul --- Created attachment 48019 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48019=edit preprocessed sources

[Bug c++/93699] Invalid operator== (returning non-bool type) candidate

2020-03-11 Thread laurent.stacul at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93699 --- Comment #4 from Laurent Stacul --- Sorry for this, I will follow your recommendations next time.

[Bug lto/94138] [gcc10] unresolvable R_X86_64_TPOFF32 relocation against symbol when LTO activated

2020-03-11 Thread laurent.stacul at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94138 --- Comment #5 from Laurent Stacul --- I forgot to remove some arguments in the command: /opt/1A/toolchain/x86_64-v20/bin/g++ \ -O3 -Wl,-flto -ffat-lto-objects -fuse-linker-plugin \ CacheLocalityTest.cpp.o -o cache_locality_test -L.

[Bug lto/94138] [gcc10] unresolvable R_X86_64_TPOFF32 relocation against symbol when LTO activated

2020-03-11 Thread laurent.stacul at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94138 --- Comment #9 from Laurent Stacul --- Here is the command line: g++ -E

[Bug lto/94138] [gcc10] unresolvable R_X86_64_TPOFF32 relocation against symbol when LTO activated

2020-03-11 Thread laurent.stacul at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94138 --- Comment #4 from Laurent Stacul --- Well the problem of folly is that it requires lots of dependencies. What I can do is to isolate the link command with the needed files. Amongst all the link errors, you will get the described error. As

[Bug c++/93699] [gcc10] Invalid operator== (returning non-bool type) candidate

2020-03-11 Thread laurent.stacul at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93699 --- Comment #1 from Laurent Stacul --- Please note that reversing b and d works fine: if (*b == *d) { // This does not work if (*d == *b) { // This is ok Regards, Stac

[Bug lto/94138] New: [gcc10] unresolvable R_X86_64_TPOFF32 relocation against symbol when LTO activated

2020-03-11 Thread laurent.stacul at gmail dot com
Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: laurent.stacul at gmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Hello, I am trying to build Facebook Folly library and I have

[Bug lto/94138] [gcc10] unresolvable R_X86_64_TPOFF32 relocation against symbol when LTO activated

2020-03-11 Thread laurent.stacul at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94138 --- Comment #2 from Laurent Stacul --- Created attachment 48016 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48016=edit preprocessed sources

[Bug lto/94138] [gcc10] unresolvable R_X86_64_TPOFF32 relocation against symbol when LTO activated

2020-03-11 Thread laurent.stacul at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94138 --- Comment #1 from Laurent Stacul --- Created attachment 48015 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48015=edit preprocessed sources

[Bug libstdc++/94164] New: [Regression 10] std::unintialized_fill_n fails to compile

2020-03-13 Thread laurent.stacul at gmail dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: laurent.stacul at gmail dot com Target Milestone: --- Hello, I have this piece of code: #include template struct ref { typedef T value_type; typedef T* pointer; typedef T

[Bug libstdc++/94164] [10 Regression] std::unintialized_fill_n fails to compile

2020-03-13 Thread laurent.stacul at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94164 --- Comment #2 from Laurent Stacul --- (In reply to Jonathan Wakely from comment #1) > That's not an iterator. Yes sure. I reduced my example to have the minimal example. I will add all de needed requirement of an iterator if needed.

[Bug lto/94138] [gcc10] unresolvable R_X86_64_TPOFF32 relocation against symbol when LTO activated

2020-03-13 Thread laurent.stacul at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94138 --- Comment #12 from Laurent Stacul --- Ok I think we will not waste time on this one. Actually, the build system allows to force the standard version to build the libfolly.so (in out case gnu++20) but somehow the tests are build with

[Bug libstdc++/94164] [10 Regression] std::unintialized_fill_n fails to compile

2020-03-16 Thread laurent.stacul at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94164 Laurent Stacul changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED