[Bug tree-optimization/86650] New: -Warray-bounds missing inlining context
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 23 19:41:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86650
Bug ID: 86650
Summary: -Warray-bounds missing inlining context
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: msebor at gcc dot gnu.org
Target Milestone: ---
As pointed out in the thread below, unlike warnings, instances of
-Warray-bounds don't include inlining context, making them harder to analyze:
https://sourceware.org/ml/libc-alpha/2018-07/msg00693.html
Making both the inlining context and the declaration being referenced available
in the warning would be helpful. The following post shows the difference it
makes in the instance of the warning discussed in the Glibc thread:
https://sourceware.org/ml/libc-alpha/2018-07/msg00701.html
More information about the Gcc-bugs
mailing list