[Bug c/46547] [4.5/4.6 Regression] internal compiler error when converting a complex to a bool

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 19 08:56:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46547

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-19 08:46:46 UTC ---
Actually, reading that comment again it, the conversion warnings are probably
emitted during convert_for_assignment and thus the earlier c_fully_fold is
needed.  Perhaps we need another c_fully_fold if convert_for_assignment
returned something different from the passed argument, or remove the if (code
!= MODIFY_EXPR) guard for c_fully_fold_internal on the RHS of a MODIFY_EXPR.



More information about the Gcc-bugs mailing list