This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch [PPC-Darwin] to fix ICE when Altivec argument is passedto function with no prototype.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]