This is the mail archive of the gcc-patches@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]

[C++ Patch] PR 54165


Hi,

Marc noticed that this issue, where we are using an available templated conversion function for a cast to void, apparently can be rather easily attacked by moving the convert_to_void case a bit earlier in build_static_cast_1, that is before the perform_direct_initialization_if_possible call. I had a cursory look to other uses of convert_to_void elsewhere, actually moved the code, booted and tested successfully on x86_64-linux. Makes sense?

Thanks,
Paolo.

///////////////////////////////

Attachment: CL_54165
Description: Text document

Attachment: patch_54165
Description: Text document


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