https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107582
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106325
--- Comment #10 from David Malcolm ---
Should be fixed on gcc 12 branch by the above (for the eventual gcc 12.3
release).
Still affects GCC 11 and GCC 10.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108704
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108733
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105273
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Target Milestone: ---
Created attachment 54798
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54798&action=edit
WIP progress p
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109163
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|WAITING
Priority: P3
Component: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Target Milestone: ---
My integration tests for -fanalyzer don't yet track how long the analyzer takes
on the real-world cases.
It would be nice for the .
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109361
--- Comment #1 from David Malcolm ---
Some existing SARIF properties we could generate:
3.20.7 startTimeUtc property
An invocation object MAY contain a property named sta
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109365
--- Comment #1 from David Malcolm ---
(In reply to Benjamin Priour from comment #0)
[...]
> (Note: sorry David, I've binged through bugzilla doc and gcc bugs page yet I
> cannot seem to find the way to add this to the 'analyzer-c++' block, nor d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109361
David Malcolm changed:
What|Removed |Added
Last reconfirmed||2023-03-31
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109361
--- Comment #3 from David Malcolm ---
Created attachment 54804
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54804&action=edit
v1 of patch for this
This patch works, but it also enables the output on stderr, and I see
significant differe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106626
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106000
David Malcolm changed:
What|Removed |Added
Blocks||109432
--- Comment #8 from David Malcol
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109570
--- Comment #2 from David Malcolm ---
Thanks for filing this bug.
I think -fanalyzer should warn about fclose(NULL), but not for free(NULL).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109580
David Malcolm changed:
What|Removed |Added
Last reconfirmed||2023-04-21
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109580
--- Comment #2 from David Malcolm ---
The warning is emitted on this statement:
_23 = _3 | _5;
within this basic block in the optimized code:
[local count: 217325344]:
nfd_26 = emacs_open_noquit ("/dev/null", 2, 0);
_3 = nfd_26 < 0;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109580
--- Comment #3 from David Malcolm ---
The optimized stmt with UNKNOWN_LOCATION is created from:
(gdb) call inform(stmt->location, "stmt in gimple_simplify")
../../src/pr109580.c:10:9: note: stmt in gimple_simplify
10 | err |= dup2(nfd, 0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109580
David Malcolm changed:
What|Removed |Added
CC||rguenth at gcc dot gnu.org
--- Comment
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Target Milestone: ---
As noted by ycombinator user "ephaeton" here:
https://news.ycombinato
Priority: P3
Component: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
CC: BenBE at geshi dot org
Target Milestone: ---
Created attachment 57881
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114594
--- Comment #1 from David Malcolm ---
The "leak" was fixed in htop by
https://github.com/htop-dev/htop/commit/62c2d820add3dadea7569af051d2afd804f08432
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Target Milestone: ---
It's really helpful when triaging analyzer reports from -Wana
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114588
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94365
--- Comment #3 from David Malcolm ---
(In reply to David Malcolm from comment #2)
> Testing again with trunk (for GCC 12); the false leak of ‘a’ report still
> occurs, but the -Wanalyzer-free-of-non-heap report is fixed.
False leak still present
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114472
--- Comment #3 from David Malcolm ---
I'm testing a fix for this.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114677
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114472
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114778
--- Comment #1 from David Malcolm ---
Thanks for filing this.
It's failing this assertion in frame_region::get_region_for_local :
1421case VAR_DECL:
1422 gcc_assert (!is_global_var (expr));
1423 /* Fall th
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106634
David Malcolm changed:
What|Removed |Added
CC||iamanonymous.cs at gmail dot
com
--- C
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114778
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113235
David Malcolm changed:
What|Removed |Added
CC||dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111475
--- Comment #9 from David Malcolm ---
Sorry about this.
Is there a machine in the compile farm I can test this on?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111475
David Malcolm changed:
What|Removed |Added
Status|NEW |ASSIGNED
--- Comment #11 from David Mal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114896
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114920
David Malcolm changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111475
David Malcolm changed:
What|Removed |Added
Target Milestone|14.0|14.2
Summary|[14/15 regressi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112792
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Summary|[13 Regression
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106358
Bug 106358 depends on bug 112792, which changed state.
Bug 112792 Summary: -Wanalyzer-out-of-bounds false positives seen on Linux
kernel with certain unions
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112792
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114408
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114473
David Malcolm changed:
What|Removed |Added
Summary|[13 Regression] ICE: in |ICE: in deref_rvalue, at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109251
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Summary|[13 Regress
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111289
David Malcolm changed:
What|Removed |Added
Summary|[13 Regression] Unwarranted |Unwarranted
|-Wanalyz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113253
David Malcolm changed:
What|Removed |Added
Summary|[11/12/13 Regression] gcc |[11/12 Regression] gcc -g
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112969
David Malcolm changed:
What|Removed |Added
Summary|[11/12/13 Regression] |[11/12 Regression]
|-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11
David Malcolm changed:
What|Removed |Added
Summary|[11/12/13 Regression] |[11/12 Regression]
|a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112790
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Summary|[13 Regression
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106358
Bug 106358 depends on bug 112790, which changed state.
Bug 112790 Summary: -Wanalyzer-deref-before-check false positives seen in Linux
kernel due to inlining
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112790
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112889
David Malcolm changed:
What|Removed |Added
Summary|[11/12/13 Regression] ICE |[11/12 Regression] ICE with
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110882
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110700
David Malcolm changed:
What|Removed |Added
Summary|[12/13 Regression] ICE with |[12 Regression] ICE with
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110014
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109577
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110112
David Malcolm changed:
What|Removed |Added
Summary|[11/12/13 Regression] gcc |[11/12 Regression] gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114348
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111700
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110466
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107646
--- Comment #11 from David Malcolm ---
I've created a wiki page to track this project:
https://gcc.gnu.org/wiki/StaticAnalyzer/CPython
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115089
--- Comment #3 from David Malcolm ---
FWIW, adding -fno-analyzer-state-merge makes it find the issue; see
https://godbolt.org/z/Ecfe9oqjv
: In function 'main':
:16:16: warning: use of uninitialized value 'x' [CWE-457]
[-Wanalyzer-use-of-uniniti
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115089
David Malcolm changed:
What|Removed |Added
Ever confirmed|0 |1
Summary|-Wanalyzer-use-of-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114899
David Malcolm changed:
What|Removed |Added
Ever confirmed|0 |1
Summary|[14/15 regression]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115167
--- Comment #1 from David Malcolm ---
Thanks for filing this, and sorry for the breakage.
Is there a cfarm machine that I ought to be able to reproduce this on? I'm
trying with cfarm111, but get this configure error:
$ ../src/configure --wit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115167
David Malcolm changed:
What|Removed |Added
Status|NEW |ASSIGNED
--- Comment #4 from David Malc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115203
David Malcolm changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115203
--- Comment #3 from David Malcolm ---
(In reply to Tobias Burnus from comment #2)
> Thus, one way would be to have LANG=C set somewhere (e.g. via the Makefile -
> assuming it can be done portable).
I'd prefer not to do that as we may want to h
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115167
--- Comment #5 from David Malcolm ---
Created attachment 58278
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58278&action=edit
WIP patch to split out the classes into the c-family
I tried the attached patch, to move the pertinent code to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115203
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115167
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106203
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105888
Bug 105888 depends on bug 106203, which changed state.
Bug 106203 Summary: Allow to emit diagnostics at return edges for the exit
point as well as the call site
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106203
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108155
David Malcolm changed:
What|Removed |Added
CC||dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115288
--- Comment #5 from David Malcolm ---
Sorry about the breakage; thanks for fixing this
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105892
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105887
Bug 105887 depends on bug 105892, which changed state.
Bug 105892 Summary: RFE: -fanalyzer could complain about pointer subtraction of
pointers to different memory chunks
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105892
What|R
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111537
David Malcolm changed:
What|Removed |Added
Last reconfirmed||2023-10-11
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111537
--- Comment #4 from David Malcolm ---
(In reply to David Malcolm from comment #3)
> Thanks; that reproducer works for me.
...or rather, demonstrates the ICE in a way that I can see in the debugger.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111537
--- Comment #5 from David Malcolm ---
It's complaining about the read from the string literal.
If I change the string in the reproducer from "hello world" to "foo", I see:
(gdb) pt string_cst
unit-size
align:8 warn_i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111537
--- Comment #6 from David Malcolm ---
Oops; the above got truncated; the string_cst prints as follows in gdb
(gdb) pt string_cst
unit-size
align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7fffea77293
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112317
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Target Milestone: ---
We use column number == 0 to mean "the whole line".
As noted in:
https://gcc.gnu.org/pipermail/gcc-patches/2023-November/6
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Target Milestone: ---
The only remaining issue with enabling taint by default in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103533
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109077
David Malcolm changed:
What|Removed |Added
Blocks||107646
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109077
--- Comment #2 from David Malcolm ---
PLUGIN_ANALYZER_INIT was added in r11-5583-g66dde7bc64b75d, so presumably this
affects GCC 11 onwards.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109077
--- Comment #4 from David Malcolm ---
Should be fixed on trunk for GCC 14 by the above patch.
Keeping open to track backporting to the GCC 11, 12 and 13 branches.
Severity: normal
Priority: P3
Component: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Target Milestone: ---
https://godbolt.org/z/4fjjcfbPb
False positive on:
typedef unsigned char u8;
struct inode {
void *i_mapping
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112790
David Malcolm changed:
What|Removed |Added
Last reconfirmed||2023-11-30
Ever confirmed|0
Priority: P3
Component: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Blocks: 106358
Target Milestone: ---
typedef unsigned int u32
: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Blocks: 106358
Target Milestone: ---
-fanalyzer with trunk ICEs on:
struct foo_laptop_debug {
struct dentry *root;
unsigned long size;
};
struct foo_laptop {
void *placeholder
IRMED
Severity: normal
Priority: P3
Component: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Blocks: 106358
Target Milestone: ---
False positive at -O1 and above with:
/* { dg-do compile } */
/*
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107016
David Malcolm changed:
What|Removed |Added
Blocks|106358 |
--- Comment #2 from David Malcolm ---
: normal
Priority: P3
Component: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Blocks: 106358
Target Milestone: ---
Affects only trunk (for gcc 14): https://godbolt.org/z/Tshdnvshx
typedef unsigned char __u8
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112889
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112850
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106358
Bug 106358 depends on bug 112850, which changed state.
Bug 112850 Summary: -Wanalyzer-tainted-allocation-size false positive seen in
Linux kernel's sound/core/rawmidi.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112850
What|Rem
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112895
David Malcolm changed:
What|Removed |Added
Last reconfirmed||2023-12-07
Status|UNCONFIRM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112889
--- Comment #3 from David Malcolm ---
Should be fixed on trunk by the above patch.
Keeping open to backport to older releases.
IRMED
Severity: normal
Priority: P3
Component: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Blocks: 106358
Target Milestone: ---
Created attachment 56837
--> https://gcc.gnu.org/
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109015
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
: normal
Priority: P3
Component: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Target Milestone: ---
As noted by Reddit user "kr90df" here:
https://www.reddit.com/r/C_Programming/commen
3101 - 3200 of 3524 matches
Mail list logo