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=113998
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0
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=113999
David Malcolm changed:
What|Removed |Added
Last reconfirmed||2024-02-19
Status|UNCONFIRM
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=110520
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
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=113998
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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=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=111305
David Malcolm changed:
What|Removed |Added
Last reconfirmed||2024-02-26
Status|UNCONFIRM
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=110483
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
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=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 r10-7994-gfa29cf0c3f19b648e30b
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 is
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=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=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://godbolt.o
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114286
David Malcolm changed:
What|Removed |Added
Status|NEW |ASSIGNED
--- Comment #2 from David Malc
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 (t
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=114348
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0
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=111305
David Malcolm changed:
What|Removed |Added
Priority|P2 |P3
Summary|[13/14 Regression
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=110928
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
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=113505
--- Comment #5 from David Malcolm ---
Thanks, am testing your patch now.
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, but
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=109251
David Malcolm changed:
What|Removed |Added
Status|NEW |ASSIGNED
Summary|[13/14 Regr
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=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/bugzil
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=112975
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 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=114408
--- Comment #2 from David Malcolm ---
Created attachment 57781
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57781&action=edit
WIP patch for the the ICE
The attached patch seems to fix the ICE. AIUI I'm lazily creating dominance
info as
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114408
David Malcolm changed:
What|Removed |Added
Status|NEW |ASSIGNED
--- Comment #5 from David Malc
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
Summary|[13/14 Regression] ICE when |[13 Regression] ICE when
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=114472
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0
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=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=110387
David Malcolm changed:
What|Removed |Added
Last reconfirmed||2023-07-19
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110700
--- Comment #3 from David Malcolm ---
Should be fixed on trunk by the above patch. Keeping open to track backporting
to branches for gcc 12 and gcc 13.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110387
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110433
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86656
Bug 86656 depends on bug 110433, which changed state.
Bug 110433 Summary: ASAN reports mismatching new/delete when compiling analyzer
testcases
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110433
What|Removed |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110455
David Malcolm changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110612
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109365
David Malcolm changed:
What|Removed |Added
CC||dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109361
--- Comment #4 from David Malcolm ---
1st patch posted for this (adding -fsarif-time-report):
https://gcc.gnu.org/pipermail/gcc-patches/2023-April/615109.html
2nd patch:
https://gcc.gnu.org/pipermail/gcc-patches/2023-July/625767.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109361
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110830
--- Comment #1 from David Malcolm ---
For reference, I implemented use_after_free::supercedes_p in commit
g:33255ad3ac14e3953750fe0f2d82b901c2852ff6 as part of the gcc 12
(re)implementation of -Wanalyzer-use-of-uninitialized-value.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110830
--- Comment #2 from David Malcolm ---
The "supercedes_p" logic is called in
diagnostic_manager::emit_saved_diagnostics here:
best_candidates.handle_interactions (this);
I *think* every saved_diagnostic ought to have a non-NULL m_best_epath by
Priority: P3
Component: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Target Milestone: ---
ICE seen with -fanalyzer on this code:
-
struct csv_row {
char *columns
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110882
--- Comment #1 from David Malcolm ---
It's failing this assertion:
#1 0x016e2295 in ana::binding_key::make (mgr=0x7fff91d8,
r=0x3275340) at ../../src/gcc/analyzer/store.cc:132
132 gcc_assert (bit_size > 0);
(gdb) list
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110882
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110882
David Malcolm changed:
What|Removed |Added
Summary|[13/14 Regression] ICE with |[13 Regression] ICE with
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108171
David Malcolm changed:
What|Removed |Added
Status|NEW |ASSIGNED
--- Comment #5 from David Malc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108171
David Malcolm changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110882
David Malcolm changed:
What|Removed |Added
CC||asolokha at gmx dot com
--- Comment #6
: normal
Priority: P3
Component: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Target Milestone: ---
Whilst trying to fix PR analyzer/110426, I noticed that
region_model_manager::maybe_fold_binop doesn't always retur
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110426
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105899
David Malcolm changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107646
--- Comment #4 from David Malcolm ---
Some ideas of projects we could analyze:
- minimal Cython-generated C file
- https://pypi.org/project/psycopg2/
- https://pypi.org/project/numpy
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107646
--- Comment #5 from David Malcolm ---
How precisely to track behavior of API entrypoints? We can’t implement
known_functions that precisely model every entrypoint.
Consider:
https://docs.python.org/3/c-api/dict.html#c.PyDict_SetItem
which has:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107646
--- Comment #6 from David Malcolm ---
(In reply to David Malcolm from comment #5)
> How precisely to track behavior of API entrypoints? We can’t implement
> known_functions that precisely model every entrypoint.
>
> Consider:
> https://docs.py
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107646
--- Comment #7 from David Malcolm ---
(In reply to David Malcolm from comment #6)
> (In reply to David Malcolm from comment #5)
> Some attribute ideas:
>
> extern int PyDict_SetItem(PyObject *p, PyObject *key, PyObject *val)
> __attribute__((
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107646
--- Comment #8 from David Malcolm ---
(In reply to David Malcolm from comment #4)
> Some ideas of projects we could analyze:
* https://pypi.org/project/mercurial/ ; see:
https://repo.mercurial-scm.org/hg-stable/file/tip/mercurial/cext
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107646
David Malcolm changed:
What|Removed |Added
Last reconfirmed||2023-08-17
Status|UNCONFIRM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107646
--- Comment #9 from David Malcolm ---
(In reply to David Malcolm from comment #4)
> Some ideas of projects we could analyze:
https://github.com/fedora-python/python-ethtool
(Although deprecated, it's relatively small and has been ported to Pyth
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111099
David Malcolm changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111099
--- Comment #2 from David Malcolm ---
Infinite recursion within ana::constraint_manager::eval_condition; possible
duplicate of bug 109027
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109027
--- Comment #6 from David Malcolm ---
Bug 111099 is possibly a duplicate of this.
Priority: P3
Component: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Target Milestone: ---
>From IRC:
dmalcolm__: I wonder if there's any way that the analyzer could find
suspicious asserts (asserts w/ side
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44
--- Comment #1 from David Malcolm ---
See e.g.:
https://wiki.sei.cmu.edu/confluence/display/c/PRE31-C.+Avoid+side+effects+in+arguments+to+unsafe+macros
https://stackoverflow.com/questions/10593492/catching-assert-with-side-effects
cppcheck:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44
--- Comment #2 from David Malcolm ---
See also bug 6906 and bug 57612
: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Target Milestone: ---
See
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=99a3fcb8ff0bf27407c525415384372189e2c3cc
The generated diagrams could be improved.
Specifically:
- we should show
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111213
David Malcolm changed:
What|Removed |Added
Summary|-Wanalyzer-out-of-bounds|-Wanalyzer-out-of-bounds
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110529
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Summary|-Wanalyzer-null-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111095
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Blocks: 111095, 111213
Target Milestone: ---
I made the analyzer run when it does in order to take advantage of the LTO
streaming representation.
But:
I'm having to recommend disa
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111213
David Malcolm changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111095
--- Comment #2 from David Malcolm ---
(In reply to David Malcolm from comment #1)
[...]
> I'll open a bug about that.
Filed as bug 111312; made this one block that one.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110520
David Malcolm changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111329
--- Comment #2 from David Malcolm ---
Possibly another duplicate of bug 110483.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110529
David Malcolm changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111312
David Malcolm changed:
What|Removed |Added
CC||rguenth at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111396
David Malcolm changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111312
--- Comment #3 from David Malcolm ---
Another example can be seen here:
https://gcc.gnu.org/pipermail/gcc-patches/2023-August/628759.html
in:
gcc/testsuite/c-c++-common/analyzer/overlapping-buffers.c
where -Wanalyzer-overlapping-buffers only
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Target Milestone: ---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111567
--- Comment #1 from David Malcolm ---
This PR tracks adding support for the attribute to -fanalyzer (which I can take
a look at).
Adding the attribute itself is tracked by PR 108896.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104940
--- Comment #5 from David Malcolm ---
See also:
https://kristerw.github.io/2022/11/01/verifying-optimizations/
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104940
--- Comment #6 from David Malcolm ---
https://github.com/kristerw/pysmtgcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111700
David Malcolm changed:
What|Removed |Added
Last reconfirmed||2023-10-06
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111700
--- Comment #3 from David Malcolm ---
Should be fixed on trunk by the above patch.
Keeping open to track backporting the fix to gcc 13.
2901 - 3000 of 3524 matches
Mail list logo