[PATCH] c++/66561 - __builtin_LINE at al. should yield constant expressions

Jason Merrill jason@redhat.com
Fri Apr 29 19:32:00 GMT 2016


On 04/26/2016 07:59 PM, Martin Sebor wrote:
> 	* builtins.c (fold_builtin_FILE): New function.
> 	(fold_builtin_FUNCTION, fold_builtin_LINE): New functions.
> 	(fold_builtin_0): Call them.

Can we now remove the handling for these built-ins from gimplify_call_expr?

> +// Verify the line numbe returned by the built-in.

Typo.

OK with those adjustments and Jeff's.

Jason



More information about the Gcc-patches mailing list