[vta,trunk?] inlining gen_rtvec_v into gen_rtvec warns

Alexandre Oliva aoliva@redhat.com
Tue Aug 12 06:06:00 GMT 2008


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-O3-emit-rtl-Wno-error.patch
Type: text/x-patch
Size: 744 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080812/4c4cc8c4/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva         http://www.lsd.ic.unicamp.br/~oliva/
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}
FSFLA Board Member       ?S? Libre! => http://www.fsfla.org/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}


More information about the Gcc-patches mailing list