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 middle-end/79992] accessing storage member of lambda via pointer with -no-pie causes the next function to overwrite the pointer's data


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

--- Comment #5 from Yanai <yanai.eli11 at gmail dot com> ---
but if I still hold the lambda locally,
shouldn't it point to inside the lambda's storage?
See that I still hold no_pie_2 when accessing the variable that I got from it's
lambda object.

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