successfully removed the convert callback

Rafael Espíndola rafael.espindola@gmail.com
Sat Apr 1 01:20:00 GMT 2006


The attached patch removes the convert callback by
1) copying the c implementation of convert to convert2
2) changing all calls to convert in gcj and gfortran into calls to convert2
3) adding a lang prefix to the remaining implementations (cxx_, c_, gnat_)
4) renaming all convert calls in a front end to the corresponding implementation
5) coping convert_and_check and constant_fits_type_p into the c++
front end so that it doesn't try to use convert2
6) renaming all the remaining calls to convert into convert2
7) removing the treelang, java and fortran implementation of convert

This patch was bootstraped and regtested on a x86 without any regressions!

I found a bit strange that there were no java regression since
convert_ieee_real_to_integer is no longer used. Is a testcase missing?

I will as soon as possible move item 5 into a patch of its on and
submit. I will then clean up the tons of dead code that I have added,
rename convert2 back to convert, move it to a better place,
reintroduce java_convert if needed and finally submit a patch.

I will be a bit busy, so I think that I will be able to do just the
first step during next week :-(

Best Regards,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: convert.patch
Type: text/x-patch
Size: 248801 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20060401/67281b40/attachment.bin>


More information about the Gcc mailing list