[PING^3] Wconversion: fixes for C++ front-end

Gabriel Dos Reis gdr@cs.tamu.edu
Thu Feb 8 14:06:00 GMT 2007


"Manuel López-Ibáñez" <lopezibanez@gmail.com> writes:

[...]

| > Make a list of all the places where the C++ front-end does not call
| > convert_and_check (that is already contained in your patch).
| 
| I don't understand this. Do you mean the places where the C++
| front-end calls a conversion function instead of convert_and_check ?

Yes.  Essentially, you can trace brack from ocp_convert, with a grep...

For ocp_convert() I have: force_rvalue(), cp_convert(), convert(),
convert_force(), initialize_handler_parm(), expand_default_init(),
convert_nontype_argument(), build_static_cast_1,
convert_for_initialization(). 

| (and which ones? convert, cp_convert, ...). There are around 66 calls
| to convert and 52 calls to cp_convert. :-(

-- Gaby



More information about the Gcc-patches mailing list