[Bug tree-optimization/102006] A false warning "Array subscript -N is outside array bounds warning"

2022-02-15 Thread d-ef at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006 --- Comment #11 from Dmitriano --- It was UB in my code, I dereference a pointer to an object that does not exist.

[Bug tree-optimization/102006] A false warning "Array subscript -N is outside array bounds warning"

2021-08-23 Thread d-ef at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006 --- Comment #8 from Dmitriano --- (In reply to Dmitriano from comment #7) > (In reply to Richard Biener from comment #6) > > It sounds like the usual upcasting of a link-only node which is strictly > > non-conforming and can also result in TBAA

[Bug tree-optimization/102006] A false warning "Array subscript -N is outside array bounds warning"

2021-08-23 Thread d-ef at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006 --- Comment #7 from Dmitriano --- (In reply to Richard Biener from comment #6) > It sounds like the usual upcasting of a link-only node which is strictly > non-conforming and can also result in TBAA issues but it's wide-spread. > Note I didn't

[Bug c++/102006] A false warning "Array subscript -N is outside array bounds warning"

2021-08-21 Thread d-ef at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006 --- Comment #4 from Dmitriano --- (In reply to Andrew Pinski from comment #1) > Can you attach the prepcoessed source? attached ListTest.cpp.i file that I generated with the command make Tests/ListTest.cpp.i

[Bug c++/102006] A false warning "Array subscript -N is outside array bounds warning"

2021-08-21 Thread d-ef at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006 --- Comment #3 from Dmitriano --- (In reply to Dmitriano from comment #2) > Created attachment 51340 [details] > preprocessed source file attached ListTest.cpp.i file that I generated with the command make Tests/ListTest.cpp.i

[Bug c++/102006] A false warning "Array subscript -N is outside array bounds warning"

2021-08-21 Thread d-ef at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006 --- Comment #2 from Dmitriano --- Created attachment 51340 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51340&action=edit preprocessed source file

[Bug c++/102006] New: A false warning "Array subscript -N is outside array bounds warning"

2021-08-21 Thread d-ef at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102006 Bug ID: 102006 Summary: A false warning "Array subscript -N is outside array bounds warning" Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal