[Bug c++/98459] [8/9/10/11 Regression] ICE in linemap_position_for_line_and_column, at libcpp/line-map.c:923 since r6-6901-g876217ae71cf0b34

2021-01-20 Thread sylvestre at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98459 Sylvestre Ledru changed: What|Removed |Added CC||sylvestre at debian dot org

[Bug c++/82711] -Wignored-qualifiers could be moved into -Wextra

2018-07-10 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82711 Sylvestre Ledru changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/82734] -Wignored-qualifiers is maybe too strict when using decltype

2018-02-02 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82734 --- Comment #3 from Sylvestre Ledru --- For people who are getting these error, we fixed it with: static_cast::type>(INT32_MAX)

[Bug c++/82711] -Wignored-qualifiers could be moved into -Wextra

2018-02-02 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82711 --- Comment #3 from Sylvestre Ledru --- Jonathan, if I write a patch to implement the change, will you accept it?

[Bug middle-end/46989] Mixing "-fprofile-arcs -ftest-coverage" and OpenMP triggers a bug

2018-02-02 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46989 Sylvestre Ledru changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/84097] New: [8 regression] Incorrect -Wunused-but-set-variable warning

2018-01-29 Thread sylvestre at debian dot org
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sylvestre at debian dot org CC: jakub at gcc dot gnu.org, jason at gcc dot gnu.org, sgunderson at bigfoot dot com, trippels at gcc

[Bug c/83586] [8 regression] Invalid reported line with -Wformat-truncation on stdio2.h

2018-01-03 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83586 Sylvestre Ledru changed: What|Removed |Added Summary|[8 regression] Invalid |[8 regression] Invalid

[Bug c/83586] [8 regression] Invalid -Wformat-truncation on stdio2.h

2018-01-03 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83586 --- Comment #2 from Sylvestre Ledru --- Created attachment 43020 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43020&action=edit preprocessed file Here is the same issue on a smaller file.

[Bug c/83586] New: [8 regression] Invalid -Wformat-truncation on stdio2.h

2017-12-25 Thread sylvestre at debian dot org
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: sylvestre at debian dot org CC: trippels at gcc dot gnu.org Target Milestone: --- /root/firefox-gcc-last/dom/gamepad/linux/LinuxGamepad.cpp: In member function 'void {anonymous}::LinuxGamepadSe

[Bug c++/83461] New: [8 regression] Segmentation fault on __attribute__ with multiple inheritance

2017-12-18 Thread sylvestre at debian dot org
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sylvestre at debian dot org CC: jakub at gcc dot gnu.org, trippels at gcc dot gnu.org Target Milestone: --- Building Firefox with gcc 8 from Debian

[Bug c++/82734] -Wignored-qualifiers is maybe too strict when using decltype

2017-10-27 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82734 --- Comment #2 from Sylvestre Ledru --- I could, the code would be just more complex for no gain. Just like with bug 82711, gcc is way too careful here and the warning is just adding noise.

[Bug c++/82751] New: g++ 8 is breaking assert_lt (gtest) called from a lambda function

2017-10-27 Thread sylvestre at debian dot org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sylvestre at debian dot org Target Milestone: --- Created attachment 42490 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42490&action=edit the ii file With --- #include

[Bug c++/82734] New: -Wignored-qualifiers is maybe too strict when using decltype

2017-10-26 Thread sylvestre at debian dot org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sylvestre at debian dot org Target Milestone: --- With the following code: #include #include void foo() { const int BLOCK_SIZE = 42; static_assert( BLOCK_SIZE < static_c

[Bug c++/82561] [8 regression] crash on internal compiler error: in cp_tree_equal, at cp/tree.c:3778

2017-10-26 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82561 Sylvestre Ledru changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c/82728] New: Incorrect -Wunused-but-set-variable warning with a const

2017-10-26 Thread sylvestre at debian dot org
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: sylvestre at debian dot org Target Milestone: --- with: void foo(void) { const int ID = 1; switch (0) { case ID: break; } } # gcc-7 -Wall -c foo.cpp # gcc-8 -Wall -c foo.cpp foo.cpp

[Bug c++/82711] New: -Wignored-qualifiers could be moved into -Wextra

2017-10-25 Thread sylvestre at debian dot org
++ Assignee: unassigned at gcc dot gnu.org Reporter: sylvestre at debian dot org Target Milestone: --- Compiling Firefox, we fixed several warnings found by -Wignored-qualifiers I wonder if this option should not be moved under -Wextra. The extra const isn't hurting and

[Bug c++/82710] Incorrect warning:unnecessary parentheses in declaration of global friend functions [-Werror=parentheses]

2017-10-25 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82710 --- Comment #1 from Sylvestre Ledru --- With gcc-8 (Debian 8-20171023-1) 8.0.0 20171023 (experimental) [trunk revision 253997]

[Bug c++/82600] Address of local variable returned [-Werror=return-local-addr] when building mozilla-central

2017-10-18 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82600 --- Comment #3 from Sylvestre Ledru --- Created attachment 42389 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42389&action=edit preprocessed file

[Bug c++/82600] Address of local variable returned [-Werror=return-local-addr] when building mozilla-central

2017-10-18 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82600 --- Comment #2 from Sylvestre Ledru --- the command line: /usr/bin/g++-8 -std=gnu++11 -o Unified_cpp_memory_build0.o -c -I/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/system_wrappers -include /root/firefox-gcc-last/config/gcc_hidden.h -DDE

[Bug c++/82561] [8 regression] crash on internal compiler error: in cp_tree_equal, at cp/tree.c:3778

2017-10-16 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82561 Sylvestre Ledru changed: What|Removed |Added CC||doko at debian dot org --- Comment #7

[Bug c++/82561] [8 regression] crash on internal compiler error: in cp_tree_equal, at cp/tree.c:3778

2017-10-16 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82561 --- Comment #5 from Sylvestre Ledru --- Created attachment 42377 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42377&action=edit the .ii

[Bug c++/82561] [8 regression] crash on internal compiler error: in cp_tree_equal, at cp/tree.c:3778

2017-10-16 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82561 --- Comment #4 from Sylvestre Ledru --- Created attachment 42376 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42376&action=edit the .s

[Bug c++/82561] [8 regression] crash on internal compiler error: in cp_tree_equal, at cp/tree.c:3778

2017-10-16 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82561 --- Comment #2 from Sylvestre Ledru --- Created attachment 42375 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42375&action=edit preprocessed file

[Bug c++/82561] New: [8 regression] crash on internal compiler error: in cp_tree_equal, at cp/tree.c:3778

2017-10-16 Thread sylvestre at debian dot org
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sylvestre at debian dot org Target Milestone: --- Trying to build Firefox using g++8 (from Debian exp), version 8-20170923-1 /usr/bin/g++-8 -std=gnu++11 -c -I

[Bug debug/81993] [7 Regression] -gsplit-dwarf removes some symbols, causing some undefined references

2017-08-30 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81993 --- Comment #13 from Sylvestre Ledru --- Thanks, I appreciate the very quick reaction!

[Bug debug/81993] [7/8 Regression] -gsplit-dwarf removes some symbols, causing some undefined references

2017-08-28 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81993 --- Comment #7 from Sylvestre Ledru --- Not my call but I am using it to build the llvm toolchain on i386. Without gsplit-dwarf, I cannot link on the platform, it fails on: /usr/bin/ld.gold: fatal error: ../../../../lib/liblldb-3.9.so.1: mmap: fa

[Bug debug/81993] New: gcc 7.X -gsplit-dwarf removes some symbols, causing some undefined references

2017-08-26 Thread sylvestre at debian dot org
: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: sylvestre at debian dot org Target Milestone: --- Reported https://bugs.llvm.org/show_bug.cgi?id=34140 & discussed https://gcc.gnu.org/ml/gcc/2017-08/msg00287.html Ad

[Bug tree-optimization/80374] [7 Regression] ICE in fold_convert_loc, at fold-const.c:2384

2017-04-10 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80374 Sylvestre Ledru changed: What|Removed |Added CC||sylvestre at debian dot org

[Bug c/79082] -Wformat-truncation inconsistent behaviour

2017-01-30 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79082 Sylvestre Ledru changed: What|Removed |Added CC||sylvestre at debian dot org

[Bug c++/67989] [REGRESSION] g++ ICE on armel valid code

2015-10-21 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67989 Sylvestre Ledru changed: What|Removed |Added CC||sylvestre at debian dot org

[Bug c++/55189] enable -Wreturn-type by default

2014-04-17 Thread sylvestre at debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55189 --- Comment #10 from Sylvestre Ledru --- (In reply to Manuel López-Ibáñez from comment #9) > > Cool! Hopefully it goes quickly. After that, I would suggest that you submit > the patch to gcc-patches and CC Jason Merrill and Dodji Seketeli, either

[Bug c++/55189] enable -Wreturn-type by default

2014-04-17 Thread sylvestre at debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55189 --- Comment #8 from Sylvestre Ledru --- The patches to fix this bug are available here: https://github.com/sylvestre/gcc I am doing the legal FSF papers to be able to apply it.

[Bug c++/55189] enable -Wreturn-type by default

2013-12-27 Thread sylvestre at debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55189 Sylvestre Ledru changed: What|Removed |Added CC||sylvestre at debian dot org

[Bug c++/52373] New: template usage drops some checks on the accessibility of a member

2012-02-24 Thread sylvestre at debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52373 Bug #: 52373 Summary: template usage drops some checks on the accessibility of a member Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED

[Bug c++/52136] g++ is wrongly propagating "friend class" to the parent class

2012-02-06 Thread sylvestre at debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52136 --- Comment #4 from Sylvestre Ledru 2012-02-06 14:08:21 UTC --- I found this bug (or behavior) while playing with clang. I am not really sure to understand why friend class should impact his parent but if g++ respects the standard, why not...

[Bug c++/52136] New: g++ is wrongly propagating "friend class" to the parent class

2012-02-06 Thread sylvestre at debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52136 Bug #: 52136 Summary: g++ is wrongly propagating "friend class" to the parent class Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED