[Bug libstdc++/114394] std::bind uses std::result_of which is deprecated

2024-08-12 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114394 --- Comment #5 from Romain Geissler --- Hi, Shall this be backported to release branches ? Cheers, Romain

[Bug c++/88323] implement C++20 language features.

2024-05-01 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88323 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug libstdc++/114394] New: std::bind uses std::result_of which is deprecated

2024-03-19 Thread romain.geissler at amadeus dot com via Gcc-bugs
Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Created attachment 57738 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57738&action=edit Tentative patch Hi, Clang >= 18 now prin

[Bug c++/114383] New: Wrong std::enable_if mangling ?

2024-03-18 Thread romain.geissler at amadeus dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, Following this bug on clang side: https://github.com/llvm/llvm-project/issues/85656 where apparently clang folks claim they fixed a mangling issue, I found out that clang >=

[Bug sanitizer/111057] [11/12/13 only] build error: libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:180:10: fatal error: crypt.h: No such file or directory

2024-03-11 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111057 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug libstdc++/105562] [12 Regression] std::function::_M_invoker may be used uninitialized in std::regex move with -fno-strict-aliasing

2023-12-06 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562 --- Comment #28 from Romain Geissler --- Ok it's clear. I haven't really played yet with sanitizers, I didn't know it had these well known "issue" with creating more middle end false positive warnings (I am used to them in LTO mode). So I will

[Bug libstdc++/105562] [12 Regression] std::function::_M_invoker may be used uninitialized in std::regex move with -fno-strict-aliasing

2023-12-06 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562 --- Comment #25 from Romain Geissler --- So it means we should rather go for "silencing" workaround from comment #19 ?

[Bug libstdc++/105562] [12 Regression] std::function::_M_invoker may be used uninitialized in std::regex move with -fno-strict-aliasing

2023-12-06 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug tree-optimization/106238] [12/13/14 regression] Inline optimization causes dangling pointer warning on "include/c++/12.1.0/bits/stl_tree.h"

2023-08-15 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106238 --- Comment #10 from Romain Geissler --- Hi, It seems the reproducers from comment #1 and #5 don't happen anymore with gcc 13 or trunk. So it seems fixed. Cheers, Romain

[Bug c/107954] Support -std=c23/gnu23 as aliases of -std=c2x/gnu2x

2023-08-10 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107954 --- Comment #4 from Romain Geissler --- In the latest agenda published (https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3156.pdf) it seems that now the next C revision has been delayed a bit. At this point, is it known already if it will be o

[Bug libstdc++/110133] New: System error message should ideally use strerror_r over strerror

2023-06-05 Thread romain.geissler at amadeus dot com via Gcc-bugs
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, Checking the source code, it seems that the underlying implementation of generic_category/system_category message

[Bug c++/109918] New: Unexpected -Woverloaded-virtual with virtual conversion operators

2023-05-20 Thread romain.geissler at amadeus dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, Now that the -Woverloaded-virtual=1 is enabled by default with -Wall, the following code raises warning while I think

[Bug libstdc++/108969] [13/14 Regression] Initializing iostreams in the library needs a GLIBCXX_3.4.31 versioned symbol

2023-04-28 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969 --- Comment #31 from Romain Geissler --- Ok thanks for confirming. I was about to ask for a deployment one of our gcc-based toolchain in production containing the current gcc 13.1.1, I will wait a bit that this patch lands in the gcc 13 branch t

[Bug libstdc++/108969] [13/14 Regression] Initializing iostreams in the library needs a GLIBCXX_3.4.31 versioned symbol

2023-04-28 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969 --- Comment #29 from Romain Geissler --- Typo: If yes, given that you also maintain the gcc package in fedora 38 (https://src.fedoraproject.org/rpms/gcc/commits/f38), does it mean that something built in some future up to date Fedora 38 won't ru

[Bug libstdc++/108969] [13/14 Regression] Initializing iostreams in the library needs a GLIBCXX_3.4.31 versioned symbol

2023-04-28 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug libstdc++/109602] Import Gentoo msgfmt patch ?

2023-04-24 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109602 --- Comment #5 from Romain Geissler --- Hi, My intention was to try to raise upstream an issue that people packaging gcc may hit in some cases. Gentoo has such a patch, but I also have a similar one on my side since couple of years, it's only y

[Bug libstdc++/109602] New: Import Gentoo msgfmt patch ?

2023-04-23 Thread romain.geissler at amadeus dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, I am wondering, would it make sense to import Gentoo's msgfmt patch ? In some occasion, it seems that the build system of gcc/libstdc++ wrongly sets LD_LIBRARY_PATH

[Bug tree-optimization/106238] Inline optimization causes dangling pointer on "include/c++/12.1.0/bits/stl_tree.h"

2023-03-14 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106238 --- Comment #7 from Romain Geissler --- Another case in real life code base (in this case Boost): https://github.com/boostorg/algorithm/pull/113

[Bug tree-optimization/106238] Inline optimization causes dangling pointer on "include/c++/12.1.0/bits/stl_tree.h"

2023-03-14 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106238 --- Comment #6 from Romain Geissler --- Hi, After upgrading to the latest gcc trunk, I have hit another variant of this problem. For people just willing to exchange containers with swap, just swapping the arguments makes it work, and actually h

[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2023-01-16 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 --- Comment #34 from Romain Geissler --- >From what I wrote here https://sourceware.org/pipermail/libc-alpha/2022-November/143633.html apparently I already tried gcc 12 back in end of november 2022 and all float issues in glibc testsuite were go

[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2023-01-16 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 --- Comment #32 from Romain Geissler --- Hi, Thanks for the fix, indeed it has fixed quite some glibc maths tests ;) FYI, most likely it's totally unrelated to this bug, for right now with latest gcc trunk and glibc trunk on x86-64, I still se

[Bug tree-optimization/108374] [12/13 Regression] unexpected -Wstringop-overflow when using std::atomic and std::shared_ptr

2023-01-11 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108374 --- Comment #1 from Romain Geissler --- I forgot to mention: this happens on x86-64 with -O1.

[Bug tree-optimization/108374] New: [12/13 Regression] unexpected -Wstringop-overflow when using std::atomic and std::shared_ptr

2023-01-11 Thread romain.geissler at amadeus dot com via Gcc-bugs
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, The following snippet produces an unexpected -Wstringop-overflow with gcc 12

[Bug tree-optimization/106238] Inline optimization causes dangling pointer on "include/c++/12.1.0/bits/stl_tree.h"

2023-01-08 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106238 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug c++/108165] -Wdangling-reference false positive

2022-12-18 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108165 --- Comment #3 from Romain Geissler --- In my real life case B was std::string and used a "string literal" at call site, and I guess using the implicit conversion from const char[] to std::string is something that might happen in many call sites

[Bug c++/108165] New: -Wdangling-reference false positive

2022-12-18 Thread romain.geissler at amadeus dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, The following snippet issues a wrong -Wdangling-reference warning when compiled with -Wall with current gcc trunk: <: In function 'const A& g(const A&)&#

[Bug c++/108077] [13 Regression] Can't brace initialize container of llvm::opt::OptSpecifier

2022-12-13 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108077 Romain Geissler changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/108077] New: [13 Regression] Can't brace initialize container of llvm::opt::OptSpecifier

2022-12-12 Thread romain.geissler at amadeus dot com via Gcc-bugs
erity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, I can't build llvm 15 with the current gcc 13, while it was working a few weeks ago. I tried to re

[Bug driver/107954] New: Support -std=c23/gnu23 as aliases of -std=c2x/gnu2x

2022-12-02 Thread romain.geissler at amadeus dot com via Gcc-bugs
Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, I raise this ticket (I agree not very important, and more a feature request than a bug) following a similar one on C++/clang side and a remark from Aaron

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

2022-11-29 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107569 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug c++/102730] New: Consistency of deprecation warning emission with type alias

2021-10-13 Thread romain.geissler at amadeus dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, While trying to rename an enum from one name to another in an existing framework, I try to use the following mechanism that

[Bug libstdc++/100630] Unexpected implicit conversion from volatile bool& to std::filesystem::path in gcc <= 10

2021-05-19 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100630 --- Comment #5 from Romain Geissler --- Hi, Thanks for providing a fix that quickly ! I backported it in my own copy of gcc 8 and 9 and it fixed my issue on these branches as well. Cheers, Romain

[Bug libstdc++/100630] New: Unexpected implicit conversion from volatile bool& to std::filesystem::path in gcc <= 10

2021-05-16 Thread romain.geissler at amadeus dot com via Gcc-bugs
NFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, I came across this issue today (which I think is unexpected) with gcc 8, 9 and 10. I

[Bug c++/93821] Define __cplusplus to 202002L in C++20

2021-01-19 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93821 Romain Geissler changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug middle-end/98465] Bogus warning stringop-overread wuth -std=gnu++20 -O2 and std::string::insert

2020-12-30 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98465 --- Comment #3 from Romain Geissler --- I have found another example in my code base raising this error: #include std::string f1() { std::string aString = "string"; aString = "bigger str"; return aString; } With: -O2 -std=gnu++20

[Bug middle-end/98465] Bogus warning stringop-overread wuth -std=gnu++20 -O2 and std::string::insert

2020-12-30 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98465 --- Comment #2 from Romain Geissler --- Hi Martin, Thanks for your investigation. I have a few questions: - Since the warning seems to be fully emitted by system headers, shouldn't it be silenced by default ? Why isn't it the case here ? On co

[Bug c++/98463] [11 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:5491 by r11-2720

2020-12-29 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98463 --- Comment #3 from Romain Geissler --- Hi, While I initially flagged this as a regression in gcc 11, it's indeed a latent gcc bug which predates gcc 11. What makes it for my specific test case a regression is because now tuple use [[no_unique_a

[Bug middle-end/98465] New: Bogus warning stringop-overread wuth -std=gnu++20 -O2 and std::string::insert

2020-12-28 Thread romain.geissler at amadeus dot com via Gcc-bugs
: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, The following C++ code compiled with -std=gnu++20 -O2 -Werror=stringop-overread emits a bogus warning

[Bug c++/98463] New: [11 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:5491

2020-12-28 Thread romain.geissler at amadeus dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, The following C++ code fails to compile with gcc trunk but works on gcc 9 and 10 (tested on

[Bug ipa/98106] New: gcc trunk miscompiles glibc dynamic loader

2020-12-02 Thread romain.geissler at amadeus dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Hi, I would like to report a regression in trunk which for me result in glibc segfaulting in the dynamic linker at the very

[Bug libstdc++/97758] New: bits/std_function.h: error: unknown type name 'type_info' when using -fno-exceptions -fno-rtti

2020-11-08 Thread romain.geissler at amadeus dot com via Gcc-bugs
NCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, I am using the trunk from today (8th november, gi

[Bug c++/96310] New: Ignoring Wnonnull via pragma gcc diagnostics still produces a unwanted note

2020-07-24 Thread romain.geissler at amadeus dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, When trying to ignore some uses of null object which apparently are done on purpose in Boost::concept, I noticed

[Bug ipa/96291] [10/11 Regression] -flto fails as "internal compiler error: Segmentation fault" during IPA pass: cp incall_for_symbol_thunks_and_aliases()

2020-07-24 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96291 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug c++/96003] [11 Regression] Maybe a false positive for -Werror=nonnull

2020-07-17 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96003 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug bootstrap/92484] In tree build of ISL 0.22 fails: requires C++11

2020-06-27 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92484 Romain Geissler changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c/63326] whether a #pragma is a statement depends on the type of pragma

2020-03-27 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63326 --- Comment #28 from Romain Geissler --- Hi David, Do you have plans to submit this patch for review when stage 1 of gcc 11 opens ? Cheers, Romain

[Bug preprocessor/94367] New: pragma GCC diagnostics messes up with one line "if" blocks without curly braces

2020-03-27 Thread romain.geissler at amadeus dot com
Severity: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, It looks like "if" blocks without curly braces cannot be surrounded by pragma d

[Bug tree-optimization/94335] False positive -Wstringop-overflow warning with -O2

2020-03-26 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94335 --- Comment #4 from Romain Geissler --- Thanks Richard. Indeed, beyond the false positive described in this bug, our whole code that implement "relative pointer" is I think quite hacky and not very compiler friendly (around alignment, aliasing r

[Bug tree-optimization/94335] False positive -Wstringop-overflow warning with -O2

2020-03-25 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94335 --- Comment #2 from Romain Geissler --- Thanks for the explanation. However few observations: - Is it really expected that the wording of the warning seems to imply gcc knows for sure that there is an invalid access ? What is the warning meant

[Bug tree-optimization/94335] New: False positive -Wstringop-overflow warning with -O2

2020-03-25 Thread romain.geissler at amadeus dot com
Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, The following code emits a false positive -Wstringop-overflow warning with gcc trunk with -O2 and -O3. It's reduced manually from a much

[Bug c++/94309] New: Fail to find post-increment operator in templated function

2020-03-24 Thread romain.geissler at amadeus dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, This snippet started to fail recently with gcc trunk. Note, it was working fine with "g++ (GCC) 10.0.1 20200305", and it

[Bug libstdc++/94209] New: std::variant can't be initialized from unsigned int with gcc trunk

2020-03-17 Thread romain.geissler at amadeus dot com
ormal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, With gcc trunk the following fails, while it was working with gcc 8 and 9. I think (but am not sure) the imp

[Bug lto/94150] New: Improve LTO diagnosis for LTO triggered warnings/error: print source.o or source.a(lib.o) when printing location

2020-03-11 Thread romain.geissler at amadeus dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Hi, When LTO

[Bug c++/94057] New: [9/10 Regression] -std=gnu++20 causes failure naming nested templated class

2020-03-05 Thread romain.geissler at amadeus dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, The following snippet fails with gcc trunk and with gcc 9 if I compile with -std=gnu++20, but not with -std=gnu

[Bug c++/93958] New: gcc trunk supports -std=c++20 but not -std=gnu++20

2020-02-27 Thread romain.geissler at amadeus dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, Quite simple (and not important) "bug" report, recently Jason added the support of -std=c++20 (instead of -std=c++2a), but it looks like the gnu co

[Bug libstdc++/92267] [9 Regression] crash with a cppunit test case (built by GCC 9) and cpptest (built with GCC 8)

2020-02-25 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92267 --- Comment #10 from Romain Geissler --- Ok, I was not sure whether it was more important to have a given major branch (ie all gcc 9 releases) consistent or favor compatibility with the biggest number of gcc releases (cross branches). You replied

[Bug libstdc++/92267] [9 Regression] crash with a cppunit test case (built by GCC 9) and cpptest (built with GCC 8)

2020-02-25 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92267 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug middle-end/80922] #pragma diagnostic ignored not honoured with -flto

2020-02-20 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80922 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug c++/93821] Define __cplusplus to 202002L in C++20

2020-02-19 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93821 --- Comment #2 from Romain Geissler --- You may have misunderstood my intentions here. I was just trying to suggest a change which I think is better for the consistency with the standard and with clang which just implemented this change. So yes

[Bug c++/93821] New: Define __cplusplus to 202002L in C++20

2020-02-19 Thread romain.geissler at amadeus dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, A few hours ago the clang folks did add explicit support for the flag -std=c++20, and not only did they change that, they also changed the value of __cplusplus to

[Bug tree-optimization/93017] FAIL: gcc.dg/graphite/interchange-1.c scan-tree-dump graphite "tiled"

2020-01-26 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93017 --- Comment #5 from Romain Geissler --- Ah actually I see this on branch gcc 8 as well, with ISL 0.21. And apparently it is not making "make check" return an error code, so it's very possible that I had this error before without noticing it.

[Bug tree-optimization/93017] FAIL: gcc.dg/graphite/interchange-1.c scan-tree-dump graphite "tiled"

2020-01-26 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93017 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug preprocessor/47857] Pragma once warning when compiling PCH

2019-12-03 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47857 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug libstdc++/92570] New: clang fails to instantiate std::optional if A is not const copy constructible

2019-11-18 Thread romain.geissler at amadeus dot com
: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, The following snippet fails to build with clang >= 8 using libstdc++ >= 8.1.0: #include c

[Bug c++/92562] New: Allow [[maybe_unused]] in class member declaration

2019-11-18 Thread romain.geissler at amadeus dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, The following snippet is accepted by clang but reject by gcc (any version I tested: 8, 9, and trunk): class A { // Maybe unused to silence clang error

[Bug other/92484] In tree build of ISL 0.22 fails: requires C++11

2019-11-13 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92484 --- Comment #2 from Romain Geissler --- Yes this is what I did, I reverted back to ISL 0.21 which for me has been working for the past months (don't know if it's a recommanded version though). Shall we keep this bug open to track the upcoming su

[Bug other/92484] New: In tree build of ISL 0.22 fails: requires C++11

2019-11-12 Thread romain.geissler at amadeus dot com
: other Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, ISL 0.22 was released recently, and I tried to use it in builds of gcc 8, 9 and 10. It fails on all these three branches will millions of error, the first ones

[Bug c/92063] [10 Regression] ICE in operation_could_trap_p, at tree-eh.c:2528 when compiling Python's Python/_warnings.c

2019-10-11 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92063 --- Comment #1 from Romain Geissler --- Python code is here: https://github.com/python/cpython/blob/v3.7.4/Python/_warnings.c#L753 #define ascii_lower(c) ((c <= 127) ? Py_TOLOWER(c) : 0) /* if filename.lower().endswith(".pyc"): */

[Bug c/92063] New: [10 Regression] ICE in operation_could_trap_p, at tree-eh.c:2528 when compiling Python's Python/_warnings.c

2019-10-11 Thread romain.geissler at amadeus dot com
10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, I have an ICE in gcc 10 when trying to setup a GNU tool

[Bug lto/84579] __gnu_lto_v1 should be removed when linking with -fno-lto

2019-09-09 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84579 --- Comment #10 from Romain Geissler --- Ah thanks, I had backported this one as well, but not the one you mentionned: commit 217597acb2493b727255b66cd199fafa065427b7 Author: marxin Date: Wed Jul 24 07:00:48 2019 + Fix off-by-one in

[Bug lto/84579] __gnu_lto_v1 should be removed when linking with -fno-lto

2019-09-07 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84579 Romain Geissler changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug debug/91239] New: gcc generates invalid .debug_macro sections (according to lld folks)

2019-07-23 Thread romain.geissler at amadeus dot com
Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, After a bug report opened to lld here https://bugs.llvm.org/show_bug.cgi?id=42030, lld folks rejected it as invalid

[Bug lto/84579] __gnu_lto_v1 should be removed when linking with -fno-lto

2019-07-19 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84579 --- Comment #6 from Romain Geissler --- Hi, After trying to build our own set of open source components with this patch (among the sqlite, openssl, boost, tcmalloc), we have no link issues resulting from this change. Tested with gcc 8 and gcc 9.

[Bug lto/84579] __gnu_lto_v1 should be removed when linking with -fno-lto

2019-07-17 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84579 --- Comment #5 from Romain Geissler --- Hi, Your patch applies cleanly to both gcc 8 and 9. I was able to bootstrap two toochains gcc 8 and 9 with it, however it caused regression in the binutils testsuite: FAIL: ld-plugin/lto-3r FAIL: ld-plugi

[Bug lto/84579] __gnu_lto_v1 should be removed when linking with -fno-lto

2019-07-15 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84579 --- Comment #3 from Romain Geissler --- Hi, @Martin (and @Richard), I have seen you submitted this patch https://gcc.gnu.org/ml/gcc-patches/2019-07/msg01059.html which I guess would fix this bug. If accepted in gcc 10, do you think it is safe to

[Bug lto/84579] __gnu_lto_v1 should be removed when linking with -fno-lto

2019-07-15 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84579 --- Comment #2 from Romain Geissler --- Hi, @Martin (and @Richard), I have seen you submitted this patch https://gcc.gnu.org/ml/gcc-patches/2019-07/msg01059.html which I guess would fix this bug. If accepted in gcc 10, do you think it is safe to

[Bug tree-optimization/84561] -Wstringop-truncation with -O2 depends on strncpy's size type

2019-06-20 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84561 --- Comment #5 from Romain Geissler --- Hi, With the new release of gcc 9, I am seeing new occurences of this issue. I am trying to put a statement _string[len] = 0; after the strncpy to silence the warning, but still it triggers sometimes. Is t

[Bug tree-optimization/90892] New: [9/10 regression] -O2 miscompiles __builtin_strncmp with string containing '\0'

2019-06-16 Thread romain.geissler at amadeus dot com
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, It looks like doing things like __builtin_strncmp(someString, "A\0", 2)

[Bug libbacktrace/90636] New: [libbacktrace] Tests edtest/edtest_alloc/ttest/ttest_alloc are failing on x64 Linux

2019-05-26 Thread romain.geissler at amadeus dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: libbacktrace Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com CC: ian at gcc dot gnu.org Target Milestone: --- Hi, I am trying to build and test gcc

[Bug rtl-optimization/57193] [7 Regression] suboptimal register allocation for SSE registers

2019-05-10 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57193 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug rtl-optimization/87716] [9/10 Regression] FAIL: gcc.target/i386/pr57193.c scan-assembler-times movdqa 2

2019-05-10 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87716 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug c++/90339] New: Change default c++ dialect to -std=gnu++17 in gcc 10 ?

2019-05-03 Thread romain.geissler at amadeus dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, In today's release announcement https://gcc.gnu.org/ml/gcc/2019-05/msg00024.html C++17 is now marked as no longer experimental in gcc 9. Suppor

[Bug c++/89906] New: [8 Regression] template template parameter redeclared

2019-04-01 Thread romain.geissler at amadeus dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, The following snippet started to be rejected between: g++ (GCC) 8.3.1 20190225 and g++ (GCC) 8.3.1 20190331 , only when using -std=gnu++17). Clang 8

[Bug libstdc++/88782] New: Crash when mixing make_shared from gcc <= 8.2 with make_shared from gcc >= 8.3

2019-01-09 Thread romain.geissler at amadeus dot com
verity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, The change introduced in r266380 makes newer gcc >= 8.3 and gcc 9 sometimes incompatible with obj

[Bug libstdc++/88749] [9 Regression] Failure while building libstdc++-v3/src/filesystem/ops.cc on trunk

2019-01-08 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88749 --- Comment #15 from Romain Geissler --- Thanks for these remarks. FYI, what I am following are the Linux From Scratch guidelines, which build the initial gcc like this (with both c and C++ support, disabling libstdc++ build): http://www.linuxfr

[Bug libstdc++/88749] [9 Regression] Failure while building libstdc++-v3/src/filesystem/ops.cc on trunk

2019-01-08 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88749 --- Comment #9 from Romain Geissler --- This may be some naive question, but if we are currently trying to build a libstdc++, shouldn't we assume there is no pre-existing libstdc++ and run the different checks in the configure script either with

[Bug libstdc++/88749] [9 Regression] Failure while building libstdc++-v3/src/filesystem/ops.cc on trunk

2019-01-07 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88749 --- Comment #8 from Romain Geissler --- Your patch is working. I may add some context to better understand this strange scenario. In my case, the config log says: configure:80434: checking for utimensat configure:80484: x86_64-1a-linux-gnu-g++

[Bug libstdc++/88749] [9 Regression] Failure while building libstdc++-v3/src/filesystem/ops.cc on trunk

2019-01-07 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88749 --- Comment #5 from Romain Geissler --- Note that it was building fine with gcc commit 4a4bec8257aa255cca9be7f24a61159cadb36942 from Fri Dec 28 (aka r267451), and the same glibc commit.

[Bug libstdc++/88749] [9 Regression] Failure while building libstdc++-v3/src/filesystem/ops.cc on trunk

2019-01-07 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88749 --- Comment #4 from Romain Geissler --- Thanks I will test this ASAP. I am using x86-64, and a very recent glibc near current master: GLIBC_VERSION="2.28.90" GLIBC_COMMIT="0253580a75decdaf22b6abce60d8265b2adb7dea"

[Bug libstdc++/88749] New: Failure while building libstdc++-v3/src/filesystem/ops.cc on trunk

2019-01-07 Thread romain.geissler at amadeus dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, With the latest move of libstdc++fs.so in libstdc++.so, I am seeing these new build errors: /workdir/src/gcc-9.0.0

[Bug c++/84436] [8/9 Regression] Missed optimization with switch on enum constants returning the same value

2019-01-07 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84436 --- Comment #13 from Romain Geissler --- Apparently the clang-tlbgen failures started with r265241. Checking if it still happens on gcc trunk with r265463 reverted.

[Bug c++/84436] [8/9 Regression] Missed optimization with switch on enum constants returning the same value

2019-01-07 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84436 --- Comment #12 from Romain Geissler --- Hi, I have tried the following script directly inside docker using the official "debian:buster" docker image, so I hope it will not require much more dependencies than what is written here. Tested with x

[Bug c++/84436] [8/9 Regression] Missed optimization with switch on enum constants returning the same value

2019-01-06 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84436 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug c++/87956] New: Gcc should emit deprecation warnings when using throw() in C++ >= 17

2018-11-09 Thread romain.geissler at amadeus dot com
mal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, Today gcc always generates an error when you use a dynamic exception specification with some exception. However I wo

[Bug libstdc++/87822] [6/7/8/9 Regression] Binary incompatibility in std::pair introduced by PR 86751

2018-10-31 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87822 --- Comment #10 from Romain Geissler --- Thanks for the quick patch ! If no commit is planned in the branch 6, I am going to apply this patch on top myself. I hope people do read the release notes to figure out about this potential ABI breaking.

[Bug libstdc++/87822] New: [regression 6/7/8/9] Binary incompatibility in std::pair introduced by PR 86751

2018-10-30 Thread romain.geissler at amadeus dot com
: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, I am having core dumps when mixing libraries built with gcc 6.4.1 and the final gcc 6.5.0 (I know gcc 6

[Bug rtl-optimization/87780] [9 regression] ICE error: unrecognizable insn

2018-10-29 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87780 --- Comment #5 from Romain Geissler --- Hi, Trying with today's trunk with this patch included, my clang PGO+LTO bootstrap goes further, but then the generated clang fails to compile itself. Just putting here the clang error for reference: fata

[Bug debug/87428] "Missed" inline instances cause bogus DWARF to be emitted

2018-10-28 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87428 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug rtl-optimization/87780] New: [9 regression] ICE error: unrecognizable insn

2018-10-28 Thread romain.geissler at amadeus dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, I have the following ICE when building llvm+clang+lld 7.0.0 (PGO + LTO profile) on x64 with gcc from 28/10/2018 (while it was working fine with gcc from

[Bug lto/87698] [lto] Shared library build with -ffat-lto-objects generates extra global absolute symbol relocations

2018-10-23 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87698 --- Comment #6 from Romain Geissler --- Versions of gcc and ld: > gcc --version gcc (GCC) 8.2.1 20181011 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not e

  1   2   >