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]

[Ping] [C++ Patch] PR 70540 ("[4.9/5/6 Regression] ICE on invalid code in cxx_incomplete_type_diagnostic...")


Hi,

On 14/04/2016 11:50, Paolo Carlini wrote:
Hi,

in this regression we ICE during error recovery after an additional redundant error message. I think it's one of those cases (we have got quite a few elsewhere, in semantics.c too) when it's better to immediately return error_mark_node when mark_used returns false, even if we aren't in a SFINAE context. To be sure, I double checked that in those cases mark_used certainly issues an error, thus we aren't risking creating accepts-invalid bugs, it's only matter of fine tuning error recovery. Tested x86_64-linux.
Pinging this... for trunk and maybe for the branch too when it reopens if everything goes well?

        https://gcc.gnu.org/ml/gcc-patches/2016-04/msg00644.html

Thanks,
Paolo.


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