This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
What is ccp_fold_builtin() for vs. fold_builtin_1() ?
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 31 Mar 2005 17:46:40 -0500 (EST)
- Subject: What is ccp_fold_builtin() for vs. fold_builtin_1() ?
I'm wondering what ccp_fold_builtin() is for, and particularly why it
only handles BUILT_IN_STRLEN, BUILT_IN_FPUTS, BUILT_IN_FPUTS_UNLOCKED,
BUILT_IN_STRCPY and BUILT_IN_STRNCPY.
Why were these builtins chosen to live in this function and not
others?
And what is the place of fold_builtin_1() given we have
ccp_fold_builtin() ?
Would someone please enlighten me?
Thanks,
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu