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]

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


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


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