This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/47967] [4.6 Regression] ICE: verify_stmts failed: conversion of register to a different size with -fipa-cp on undefined code
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 4 Mar 2011 13:37:03 +0000
- Subject: [Bug tree-optimization/47967] [4.6 Regression] ICE: verify_stmts failed: conversion of register to a different size with -fipa-cp on undefined code
- Auto-submitted: auto-generated
- References: <bug-47967-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47967
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-04 13:36:50 UTC ---
Created attachment 23543
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23543
gcc46-pr47967.patch
Untested fix. Or is there some better place to check for this earlier?
Inlining certainly handles this right and doesn't consider inlining such
functions, but IPA-CP didn't care.