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] | |
Mark,
Lookup for a particular conversion operator looped unnecessarily, but more
importantly lookup_conversions, which gathers all the visible conversions
would only DTRT in singly inherited hierarchies.
This replacement does the set of parallel lookups that need to be done, complete with the hiding that happens with virtual bases. Whilst there I took advantage of TYPE_HAS_CONVERSION, to avoid unnecessary walking.
booted & tested on i686-pc-linux-gnu, ok?
-- Mark Mitchell CodeSourcery, LLC (916) 791-8304 mark@codesourcery.com
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |