[Bug c/86972] New: Incorrect array-bounds warning with -O2 when creating pointer from array

2018-08-15 Thread aes368 at cornell dot edu
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: aes368 at cornell dot edu Target Milestone: --- int *p; int main() { int a[1]; p = a - 1; } The above code raises the warning: warning: array subscript -1 is below array

[Bug c++/59800] Compilation with g++ fails when -Ofast -flto is used to compile code using some distribution

2017-12-20 Thread aes368 at cornell dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59800 aes368 at cornell dot edu changed: What|Removed |Added CC||aes368 at cornell dot edu