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] | |
Another thought: Can you inline compare_string as well, or maybe only call a library function if the memcmp returned equal?
I have been thinking about that. Doing it completely might be a real pain, but the option you suggest (emitting memcmp followed by a library call if need be) sounds good. Although I don't think it's emitted very often (except explicit calls to strcmp).
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |