[Bug tree-optimization/29686] [4.1 Regression] ICE when expanding recursive function containing switch

rearnsha at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 22 12:04:00 GMT 2007



------- Comment #4 from rearnsha at gcc dot gnu dot org  2007-01-22 12:04 -------
The reduced testcase also ices on a native i386 build.  The problem seems to
crop up somewhere in t81.ivopts pass where a switch statement variable is
transformed from an integral calculation into a cast of a void* pointer to an
integral expression.  Further simplification then removes that cast and thus
causes an invalid type to be passed to the switch expander.  This then crashes
because the pointer type has no 'min value'.


-- 

rearnsha at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rearnsha at gcc dot gnu dot
                   |                            |org
          Component|target                      |tree-optimization
 GCC target triplet|arm-linux                   |
            Summary|[4.1 Regression] ICE when   |[4.1 Regression] ICE when
                   |building the kernel on ARM  |expanding recursive function
                   |                            |containing switch


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



More information about the Gcc-bugs mailing list