------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-14 16:46 ------- (In reply to comment #5) > It looks like fold_indirect_ref is not supposed to be used as a generic > folder, > but explicitly to strip these const casts. So the bug I tried to fix with > this > has to be fixed elsewhere!?
Note I don't believe that is true, but this is why having no real type system and just making it up as we go is bad. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21538