[Bug tree-optimization/100417] False positive -Wmaybe-uninitalized with malloc.

2021-05-05 Thread jkb at sanger dot ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100417 --- Comment #3 from jkb at sanger dot ac.uk --- I'd definitely be in favour of John's rewording of the warning - "data pointed to by ...". This definitely led us up the garden path for a while. While I agree the code cou

[Bug c/100417] New: False positive -Wmaybe-uninitalized with malloc.

2021-05-04 Thread jkb at sanger dot ac.uk via Gcc-bugs
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jkb at sanger dot ac.uk Target Milestone: --- With gcc 11.1.0 and -Wall, if we malloc a block of memory and pass this pointer to a function taking a const char * argument then we get a "may be used uninitialized&quo

[Bug tree-optimization/79014] New: Absent vectorization with memory loads

2017-01-06 Thread jkb at sanger dot ac.uk
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jkb at sanger dot ac.uk Target Milestone: --- I have some code which vectorises using icc to some success, but fails to vectorise in gcc (and clang too). The noddy example is as follows: #define NX 32 typedef

[Bug c/48916] New: Falsely reported buffer overrun due to incorrect __builtin_object_size.

2011-05-06 Thread jkb at sanger dot ac.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48916 Summary: Falsely reported buffer overrun due to incorrect __builtin_object_size. Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3