[Bug tree-optimization/108860] [12/13/14/15 regression] New (since gcc 12) false positive null-dereference in vector.resize

2024-06-27 Thread adl at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108860 Alexandre Duret-Lutz changed: What|Removed |Added CC||adl at gnu dot org --- Comment

[Bug c++/106159] New: Have -Woverloaded-virtual not warn about virtual destructors?

2022-07-01 Thread adl at gnu dot org via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: adl at gnu dot org Target Milestone: --- The new version of -Woverloaded-virtual recently introduced seems to warn about virtual destructors in case of multiple inheritance. Is this

[Bug preprocessor/103488] New: cpp --help lists some options that are silently ignored

2021-11-30 Thread adl at gnu dot org via Gcc-bugs
Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: adl at gnu dot org Target Milestone: --- Hi! Sorry for this trivialish issue, but that puzzled me for 10 minutes this morning while I was looking whether cpp had some option I needed

[Bug c++/101150] New: null pointer dereference false positive disappears when compiling an additional function

2021-06-21 Thread adl at gnu dot org via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: adl at gnu dot org Target Milestone: --- Created attachment 51042 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51042&action=edit source code, p

[Bug c++/90309] Spurious warning shift-negative-value

2019-09-24 Thread adl at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90309 Alexandre Duret-Lutz changed: What|Removed |Added CC||adl at gnu dot org --- Comment

[Bug c++/91184] New: memory leak with enable_shared_from_this and pthread

2019-07-16 Thread adl at gnu dot org
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: adl at gnu dot org Target Milestone: --- Created attachment 46604 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46604&action=edit preprocessed source % gcc --version gcc (Debian 20190706-1) 10.0.0 2

[Bug rtl-optimization/49054] useless cmp+jmp generated for switch when "default:" is unreachable

2019-02-13 Thread adl at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49054 --- Comment #6 from Alexandre Duret-Lutz --- I revisited this with GCC 8.2.1 (or more precisely the version called gcc-8.2.0-20 in Debian). The original code I gave now generate a jump table with no extra comparison: : 0:

[Bug rtl-optimization/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this

2019-02-12 Thread adl at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303 --- Comment #6 from Alexandre Duret-Lutz --- I mentioned in my first comment that I had also cases that threw bad_weak_ptr. I've been able to reproduce those as follows: % cat badwptr.cc #include class blob final: public std::enable_shared_fro

[Bug libstdc++/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this

2019-02-12 Thread adl at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303 --- Comment #3 from Alexandre Duret-Lutz --- Created attachment 45665 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45665&action=edit preprocessed source Here is the preprocessed source.

[Bug c++/89303] New: memory leak with shared_ptr and enable_shared_from_this

2019-02-12 Thread adl at gnu dot org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: adl at gnu dot org Target Milestone: --- I'm not sure if this issue is compiler or library related, but since changing -O into -O0 or -O2 hides the issue, I'm assuming its the compi

[Bug c/78228] New: fstrict-overflow breaks code without overflow?

2016-11-06 Thread adl at gnu dot org
Assignee: unassigned at gcc dot gnu.org Reporter: adl at gnu dot org Target Milestone: --- I'm compiling for x86_64. These two functions used to work fine in gcc-5.4.1, but behave incorrectly with gcc-6.2 when optimizations are turned on. The job is to compute the n

[Bug middle-end/48544] "might be clobbered by ‘longjmp’" diagnostic for unmodified variable

2015-08-20 Thread adl at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48544 --- Comment #1 from Alexandre Duret-Lutz --- This works OK with 4.8 and 5.1, so not an issue anymore as far as I'm concerned. (Might be related to #48968 which is reported as "half-fixed" -- I haven't tried.)

[Bug c/49054] New: useless cmp+jmp generated for switch when "default:" is unreachable

2011-05-18 Thread adl at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49054 Summary: useless cmp+jmp generated for switch when "default:" is unreachable Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/48544] New: "might be clobbered by ‘longjmp’" diagnostic for unmodified variable

2011-04-10 Thread adl at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48544 Summary: "might be clobbered by ‘longjmp’" diagnostic for unmodified variable Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/42758] ICE on assert() in function with complex(?) template argument

2010-01-15 Thread adl at gnu dot org
--- Comment #1 from adl at gnu dot org 2010-01-15 13:40 --- Created an attachment (id=19615) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19615&action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42758

[Bug c++/42758] New: ICE on assert() in function with complex(?) template argument

2010-01-15 Thread adl at gnu dot org
l at gnu dot org GCC build triplet: i686-linux-gnu GCC host triplet: i686-linux-gnu GCC target triplet: i486-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42758

[Bug c++/34073] overloaded template function resolves differently if one type is included in a namespace

2007-11-12 Thread adl at gnu dot org
--- Comment #4 from adl at gnu dot org 2007-11-12 22:08 --- Thank you for the very clear explanation, Andrew. Indeed, adding a "namespace algebra" around the second definition of op_is_finite() will solve my problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34073

[Bug c++/34073] New: overloaded template function resolves differently if one type is included in a namespace

2007-11-12 Thread adl at gnu dot org
Version: 4.2.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: adl at gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC targ

[Bug c++/19808] New: miss a warning about uninitialized members in constructor

2005-02-07 Thread adl at gnu dot org
ONFIRMED Severity: enhancement Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: adl at gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808