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: ICE outputting unaligned fp constant on powerpc-apple-darwin5.1



> My preferred solution would be for some enlightened person to explain
> that I've misunderstood the PPC alignment rules :-) .

Nope.

> Failing that, my next idea was to delete the sanity check, and Apple
> is currently using such a patch.  However, that leaves the "align"
> parameter unreferenced, and presumably this is a useful check for
> every other GCC target.
>
> There are several possible fixes, all unpalatable. Either we 1) delete
> the check, 2) pass down more information to facilitate a smarter
> check, or 3) conditionalize it away for PPC.

Deleting the check is cleanest, and is arguably right since it isn't
correct for all targets.  One thing that would be helpful to know is
just how useful this check is.  Has it caught many actual errors in
the past?


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