This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Ping] [C++ Patch] PR 70540 ("[4.9/5/6 Regression] ICE on invalid code in cxx_incomplete_type_diagnostic...")
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Jason Merrill <jason at redhat dot com>
- Date: Thu, 21 Apr 2016 16:21:24 +0200
- Subject: [Ping] [C++ Patch] PR 70540 ("[4.9/5/6 Regression] ICE on invalid code in cxx_incomplete_type_diagnostic...")
- Authentication-results: sourceware.org; auth=none
- References: <570F67DC dot 9030700 at oracle dot com>
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.