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/29686] [4.1 Regression] ICE when expanding recursive function containing switch



------- 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


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