On Mar 22, 2018, Jakub Jelinek <[email protected]> wrote: > On Thu, Mar 22, 2018 at 02:02:01PM -0400, Jason Merrill wrote: >> > To my surprise, with latest Alex' changes tsubst_copy_and_build is still >> > called with FIX_TRUNC_EXPR (the (int) __builtin_inf () expression) >> >> He hadn't yet checked in the relevant change, "Disable >> auto_is_implicit_function_template_parm_p while parsing attributes". >> That should happen soon.
> I thought it was r258748, but perhaps there is some other patch. No, there were two different patches related with this, and only the latter one (linked to from PR84942), that I'm going to install tonight, affects this case. I didn't include the testcase in the patch assuming your testcase adn patch would go in, but it will certainly require adjustments for the expected error messages. -- Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/ You must be the change you wish to see in the world. -- Gandhi Be Free! -- http://FSFLA.org/ FSF Latin America board member Free Software Evangelist|Red Hat Brasil GNU Toolchain Engineer
