Are any G++ builtin functions working?
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Wed Jan 3 10:19:00 GMT 2001
I may have lost my mind, :-) but I can't seem to get any builtins to
work in G++. (They seem fine in Gnu C itself.)
When I compile the following with G++ -O1 -save-temps it doesn't look
like strlen is being calculated as 5, instead it issues the function
call.
> #include <string.h>
> int main()
> {
> return strlen("hello");
> }
Any ideas? Or did I miss something obvious?
(We definitely need some minimal basic builtin tests in the G++ suite,
the C tests aren't enough given this boo boo.)
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions
More information about the Gcc-bugs
mailing list