This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] PR 84333 ("[6/7/8 Regression] ICE with ternary operator in template function")
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 13 Feb 2018 16:58:45 +0100
- Subject: Re: [C++ Patch] PR 84333 ("[6/7/8 Regression] ICE with ternary operator in template function")
- Authentication-results: sourceware.org; auth=none
- References: <d8838d77-f124-9c02-d2f5-92baad1baced@oracle.com> <CADzB+2mgj=iNR_agqvXtr6-arASeu3b4cgVUKURrLz1F=4G0LA@mail.gmail.com> <bf2541c2-d521-8a95-6cd0-5986e3d09f62@oracle.com>
.. I should honestly add that now I don't really believe - as stated by
Volker - that the issue, in any substantive way, is a recent, post
6.1.0, regression: for the GNU extension build_conditional_expr was
definitely copying arg2 = arg1 before that release and using save_expr
on arg1 and the comment in cp_save_expr was already true.
Paolo.