This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][RFC] Another approach to fixing "bad" inlining
On Jul 10, 2007, Eric Botcazou <ebotcazou@libertysurf.fr> wrote:
> We ran into the same problem a few years ago with C functions casted to
> incompatible function types. Inlining in this case led to ICEs in the RTL
> expander. We "solved" the problem by generating an explicit trap in lieu
> of the bogus function call:
FWIW, issuing a warning and replacing the function call with a trap
sounds like a better choice than leaving the argument uninitialized to
me.
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
FSF Latin America Board Member http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}