This is the mail archive of the gcc@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]

[tree-ssa] Use of build_binary_op


I notice you've started using build_binary_op inside tree-ssa-pre.c, 
specifically in and around calculate_increment.

This causes me problems with the Fortran 95 frontend because build_binary_op 
is a c-specific function, and the F95 frontend doesn't currently contain an 
implementation of this. A straight copy/paste of the C implementation isn't 
possible because this pulls in lots of other c-specific code.

Is it really necessary to use build_bunary_op, or are you just using it as 
shorthand for build(code, type, op1, op1) ? If this is the case I'd like to 
request that a language independat function be used for this purpose. If 
not how much of the functionality of build_binary_op do I need to 
implement?

Paul Brook


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