This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] c++/66561 - __builtin_LINE at al. should yield constant expressions
- From: Jason Merrill <jason at redhat dot com>
- To: Martin Sebor <msebor at gmail dot com>, Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 29 Apr 2016 15:32:22 -0400
- Subject: Re: [PATCH] c++/66561 - __builtin_LINE at al. should yield constant expressions
- Authentication-results: sourceware.org; auth=none
- References: <572000D7 dot 2050208 at gmail dot com>
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