This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/16876] [3.4/4.0/4.1 Regression] ICE on testcase with -O3 in gen_lowpart
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Oct 2005 22:44:51 -0000
- Subject: [Bug tree-optimization/16876] [3.4/4.0/4.1 Regression] ICE on testcase with -O3 in gen_lowpart
- References: <bug-16876-3760@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from mmitchel at gcc dot gnu dot org 2005-10-30 22:44 -------
P2 is the right setting for this bug; it's popping up often enough to make it
worth fixing. Disabling the inlining in the case that the argument type
doesn't match (closely enough) the parameter type seems reasonable to me, even
without introducing a subsequent runtime abort. That would be equivalent to
the behavior if the function called appeared in a different translation unit.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16876