[Bug libbacktrace/104463] New: Split debug info not loaded from .debug/ if .gnu_debuglink points to binary itself

2022-02-09 Thread matti.niemenmaa+gccbugs at iki dot fi via Gcc-bugs
Severity: normal Priority: P3 Component: libbacktrace Assignee: unassigned at gcc dot gnu.org Reporter: matti.niemenmaa+gccbugs at iki dot fi CC: ian at gcc dot gnu.org Target Milestone: --- (Related to PR77631; it seems this issue has been

[Bug analyzer/102308] New: False positive -Wanalyzer-malloc-leak when writing to array in struct

2021-09-13 Thread matti.niemenmaa+gccbugs at iki dot fi via Gcc-bugs
: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: matti.niemenmaa+gccbugs at iki dot fi Target Milestone: --- The following code: $ cat bug.c #include struct s { char *p; int arr[2]; }; int main(void) { struct s *s

[Bug tree-optimization/87167] strlen of stack-allocated zero-length array misoptimized in GCC 8

2018-08-31 Thread matti.niemenmaa+gccbugs at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87167 --- Comment #2 from Matti Niemenmaa --- Thanks for the info. I peeked at the git log and came across PR86914 — this looks like a duplicate of that. Sorry for not managing to find it in Bugzilla earlier.

[Bug tree-optimization/87167] New: strlen of stack-allocated zero-length array misoptimized in GCC 8

2018-08-31 Thread matti.niemenmaa+gccbugs at iki dot fi
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: matti.niemenmaa+gccbugs at iki dot fi Target Milestone: --- Created attachment 44636 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44636&action=edit Prepr