This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/33186] [4.3 Regression] ICE: tree check: expected function_type or method_type, have void_type in expand_call, at calls.c:2131



------- Comment #2 from rguenth at gcc dot gnu dot org  2007-08-25 13:32 -------
I think this was fixed by

2007-08-24  Richard Guenther  <rguenther@suse.de>

        PR middle-end/33166
        * tree-ssa.c (useless_type_conversion_p): Split into a
        recursive and a non-recursive part.
        (useless_type_conversion_p_1): New function.
        * tree-ssa-ccp.c (fold_stmt_r): Make sure that the result
        from maybe_fold_offset_to_reference is trivially convertible
        to the desired type before doing the simplification.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]