This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/71831] __builtin_object_size poor results with no optimization


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71831

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
Yes, I understand and agree with that.  What I envision is handling just the
basic cases like the ones in comment #2 (and similar) that don't involve the
objsz machinery.  My -Wformat-length patch (bug 49905) already uses a simple
form of this enhancement to detect buffer overflow without optimization.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]