On 04/29/2016 01:32 PM, Jason Merrill wrote:
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?
Dunno. Might be worth an experiment.
+// Verify the line numbe returned by the built-in.
Typo.
OK with those adjustments and Jeff's.
No objections from me. Just wanted to make sure I understood why we had
to handle the builtins differently than _DECL nodes.
Thanks,
jeff