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: RFA: Fix sh-elf -m2 newlib/libm/math/e_atan2.c build failure


Richard Henderson wrote:
> > !                   && ! refers_to_regno_p (i, i+1,
> > !                                           current_function_return_rtx,
> 
> This is incorrect.  See diddle_return_value.

I don't see what you are referring to here.

Using diddle_return_value itself in this place doesn't make much sense -
you'd have to build a lot of glue around it.
And we are already including function.h in flow.c, so no new header file
dependencies are created.

refers_to_regno_p checks for 0, and the default case looks at
subexpressions, which should handle PARALLEL and EXPR_LIST just fine.
	
-- 
--------------------------
SuperH (UK) Ltd.
2410 Aztec West / Almondsbury / BRISTOL / BS32 4QX
T:+44 1454 465658


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