This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch [PPC-Darwin] to fix ICE when Altivec argument is passedto function with no prototype.
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Fariborz Jahanian <fjahanian at apple dot com>
- Cc: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 03 Mar 2005 19:59:19 -0800
- Subject: Re: Patch [PPC-Darwin] to fix ICE when Altivec argument is passedto function with no prototype.
- Organization: CodeSourcery, LLC
- References: <4D797598-8C4F-11D9-93F2-000393B9ED88@apple.com>
Fariborz Jahanian wrote:
FSF mainline ICEs when vector argument is passed to function with no
prototype. This should be
flagged as error (Altivec PIM says so). Bootstrapped, dejagnu testsed
with no regressions.
OK for fsf mainline?
No; we should find a way to do this in the front end. Not only is that
more correct in the abstract; it's also the only way that you'll get an
error message if RTL is never generated for the call. (Like, because
the function is inlined, or because that function is not emitted into
the generated assembly code.)
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304