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]
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=110466
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
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=114348
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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=109577
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
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=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=110882
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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=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=112790
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Summary|[13
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11
David Malcolm changed:
What|Removed |Added
Summary|[11/12/13 Regression] |[11/12 Regression]
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=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=111289
David Malcolm changed:
What|Removed |Added
Summary|[13 Regression] Unwarranted |Unwarranted
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109251
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Summary|[13
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=114408
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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=112792
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Summary|[13
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
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=114896
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111475
David Malcolm changed:
What|Removed |Added
Status|NEW |ASSIGNED
--- Comment #11 from David
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=113235
David Malcolm changed:
What|Removed |Added
CC||dmalcolm at gcc dot gnu.org
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=106634
David Malcolm changed:
What|Removed |Added
CC||iamanonymous.cs at gmail dot
com
---
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
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=114677
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
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=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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114588
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
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 -Wanalyzer
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114473
David Malcolm changed:
What|Removed |Added
Summary|[13/14 Regression] ICE: in |[13 Regression] ICE: in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114473
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Priority|P3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114472
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113314
--- Comment #2 from David Malcolm ---
(In reply to David Malcolm from comment #1)
[...]
> 70redo_next:
> 71 next = fdtab[fd].update.next;
> 72 if (next > -2)
> 73goto done;
> 74
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114408
David Malcolm changed:
What|Removed |Added
Summary|[13/14 Regression] ICE when |[13 Regression] ICE when
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108455
--- Comment #5 from David Malcolm ---
Note: the above patch caused the ICE in bug 114408.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114408
David Malcolm changed:
What|Removed |Added
Status|NEW |ASSIGNED
--- Comment #5 from David
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114408
--- Comment #2 from David Malcolm ---
Created attachment 57781
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57781=edit
WIP patch for the the ICE
The attached patch seems to fix the ICE. AIUI I'm lazily creating dominance
info as it's
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106358
Bug 106358 depends on bug 112975, which changed state.
Bug 112975 Summary: [14 Regression] -Wanalyzer-tainted-allocation-size false
positive seen in Linux kernel's drivers/xen/privcmd.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112975
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112975
David Malcolm changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112974
David Malcolm changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106358
Bug 106358 depends on bug 112974, which changed state.
Bug 112974 Summary: [14 Regression] -Wanalyzer-tainted-array-index false
positive seen on Linux kernel
drivers/platform/x86/intel/speed_select_if/isst_tpmi_core.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113619
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106358
Bug 106358 depends on bug 113619, which changed state.
Bug 113619 Summary: [14 Regression] -Wanalyzer-tainted-divisor false positive
seen in Linux kernel's fs/ceph/ioctl.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113619
What
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109251
David Malcolm changed:
What|Removed |Added
Status|NEW |ASSIGNED
Summary|[13/14
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113505
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114348
--- Comment #5 from David Malcolm ---
Should be fixed on trunk for GCC 14 by the above patch. Keeping open to
backport.
(In reply to Tobias Specht from comment #2)
[...snip...]
> A workaround could be, to only parse the first line as json,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113505
--- Comment #5 from David Malcolm ---
Thanks, am testing your patch now.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114286
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110928
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110902
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111305
David Malcolm changed:
What|Removed |Added
Priority|P2 |P3
Summary|[13/14
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111441
David Malcolm changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114348
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114286
--- Comment #5 from David Malcolm ---
Aha - thanks! Am working on a fix.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114286
--- Comment #3 from David Malcolm ---
Looking at
https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html#index-_005f_005fatomic_005fload
I see this signature for __atomic_load with 3 arguments:
Built-in Function: void __atomic_load
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114286
David Malcolm changed:
What|Removed |Added
Status|NEW |ASSIGNED
--- Comment #2 from David
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114285
--- Comment #2 from David Malcolm ---
(In reply to Antoni from comment #0)
> Created attachment 57655 [details]
> Reproducer for the bug
[...]
> I tried to reproduce in C and I attached the reproducer.
Trunk with -fanalyzer:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114159
David Malcolm changed:
What|Removed |Added
Summary|[13/14 Regression] ICE: in |[13 Regression] ICE: in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114159
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110483
--- Comment #6 from David Malcolm ---
Thanks; let's keep using this PR for the stuff in comment #5.
I've been looking at these on gcc211 in the compile farm:
* I see out-of-bounds-diagram-11.c failing as you describe (the overflow in
test6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92830
--- Comment #7 from David Malcolm ---
(In reply to GCC Commits from comment #5)
> The master branch has been updated by David Malcolm :
>
> https://gcc.gnu.org/g:fa29cf0c3f19b648e30b16fd2485c3c17a528a6e
>
> commit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111802
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110483
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111881
David Malcolm changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111305
David Malcolm changed:
What|Removed |Added
Last reconfirmed||2024-02-26
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105898
--- Comment #4 from David Malcolm ---
I implemented this a different way, for memcpy, in r14-3556-g034d99e81484fb (by
special-casing it).
We don't yet check mempcpy, wmemcpy, or wmempcp; keeping bug open to handle
those.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113999
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113998
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111289
David Malcolm changed:
What|Removed |Added
Summary|[13/14 Regression] |[13 Regression] Unwarranted
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110520
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113983
--- Comment #5 from David Malcolm ---
(In reply to Andrew Pinski from comment #4)
> Fixed.
Thanks!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113999
David Malcolm changed:
What|Removed |Added
Last reconfirmed||2024-02-19
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113998
--- Comment #2 from David Malcolm ---
Thanks for filing this bug.
I'm testing a fix.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113998
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109802
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110285
David Malcolm changed:
What|Removed |Added
Last reconfirmed||2024-02-16
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109851
David Malcolm changed:
What|Removed |Added
Summary|False positive va_arg when |[13/14 Regression] False
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109579
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109628
David Malcolm changed:
What|Removed |Added
Resolution|--- |WORKSFORME
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111213
David Malcolm changed:
What|Removed |Added
Status|NEW |SUSPENDED
--- Comment #4 from David
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105755
David Malcolm changed:
What|Removed |Added
Resolution|--- |WORKSFORME
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108562
Bug 108562 depends on bug 105755, which changed state.
Bug 105755 Summary: -Wanalyzer-null-dereference regression compiling Emacs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105755
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105755
--- Comment #3 from David Malcolm ---
Current status of reproducer on Compiler Explorer:
GCC trunk: no warning: https://godbolt.org/z/o6ecKKa8e
GCC 13.2: no warning: https://godbolt.org/z/z7hdYx1Y7
GCC 12.3: false +ve:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108400
David Malcolm changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105961
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109251
David Malcolm changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113314
David Malcolm changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111289
David Malcolm changed:
What|Removed |Added
Summary|Unwarranted |[13/14 Regression]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111266
David Malcolm changed:
What|Removed |Added
Summary|[13/14 Regression] Missing |[13 Regression] Missing
1 - 100 of 3215 matches
Mail list logo