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: [vta,trunk?] inlining gen_rtvec_v into gen_rtvec warns


2008/8/12 Alexandre Oliva <aoliva@redhat.com>:
> Bootstrapping with -O3 on x86/64? causes gen_rtvec_v() to be inlined
> into gen_rtvec().  This in turns causes the test for n == 0, already
> performed in the caller, to be warned about, since it's always false.
> I don't think it is appropriate to warn in this case, but this patches
> permits bootstrap with -O3 to succeed.
>
> I'm installing it on the branch.  Should I install it on the trunk as
> well?

Why not fix gen_rtvec instead to not allocate the temporary array
on the stack?

Richard.


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