------- Comment #1 from rguenth at gcc dot gnu dot org  2008-11-20 15:15 -------
Invalid gimple:

(gdb) call debug_gimple_stmt (origt)
# STORES:  { foo_ptr }
foo_ptr ={v} (int (*<T4cb>) (void * *)) ptr.3_4;

produced by forwprop.  Probably caused by Jakubs patch

2008-11-17  Jakub Jelinek  <[EMAIL PROTECTED]>

        PR middle-end/38140
        * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): If
        propagating x = &a into *x = b, add a cast if not useless
        type conversion or don't optimize if another stmt would be
        needed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu dot
                   |                            |org, rguenth at gcc dot gnu
                   |                            |dot org
             Status|UNCONFIRMED                 |NEW
          Component|regression                  |middle-end
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2008-11-20 15:15:11
               date|                            |
            Summary|internal compiler error: in |[4.4 Regression] internal
                   |find_func_aliases, at tree- |compiler error: in
                   |ssa-structalias.c:3905      |find_func_aliases, at tree-
                   |                            |ssa-structalias.c:3905
   Target Milestone|---                         |4.4.0


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

Reply via email to