This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/29686] [4.1 Regression] ICE when expanding recursive function containing switch
- From: "rearnsha at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2007 12:04:02 -0000
- Subject: [Bug tree-optimization/29686] [4.1 Regression] ICE when expanding recursive function containing switch
- References: <bug-29686-10160@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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