[Bug tree-optimization/104603] [10/11/12 Regression] wrong detection of -Warray-bounds for interesting tail resusive case

2022-02-18 Thread herumi at nifty dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104603 --- Comment #7 from herumi --- Created attachment 52478 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52478&action=edit an original code The array-bounds.zip file is a little stripped original issue. array-bounds% g++-11.2 -O2 -c a.cpp

[Bug tree-optimization/104603] [10/11/12 Regression] wrong detection of -Warray-bounds for interesting tail resusive case

2022-02-18 Thread herumi at nifty dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104603 --- Comment #5 from herumi --- >Can you file a seperate issue with the preprocessed source (-save-temps) since >it really does look like a seperate issue all together. May I attach a zipped a.ii which is generated by the following commands? T

[Bug tree-optimization/104603] [10/11/12 Regression] wrong detection of -Warray-bounds for interesting tail resusive case

2022-02-18 Thread herumi at nifty dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104603 --- Comment #3 from herumi --- >Also if this is from some larger code, >it might be useful to have the non-reduced testcase >since the reduced testcase might being showing something different. The reason why I made this code is from the issue:

[Bug c++/104603] New: wrong detection of g++ -Warray-bounds about downcast

2022-02-18 Thread herumi at nifty dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104603 Bug ID: 104603 Summary: wrong detection of g++ -Warray-bounds about downcast Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp