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

parse arguments sequentially


Hi all,

I know one of my colleague already submited this problem.
Let remind you the problem.
asume that you have

foo(foo(foo(inv(x), foo1(y))))

I am using the same compiler g++ on both linux and solaris,
The evaluation order of inv(x) and foo1(y) differ from linux to solaris,
and this is really bad for my application.

I need the evaluation order tobe the same for both architecture.
my question is: for the same compiler (g++), can we control that order?


Thanks fo your help and your time,
Housseine,

-- 
==============================================================
Housseine Rejouan, Ph.D.            Voice: (+1) (408) 501-9520
Staff R&D Engineer,                   Fax: (+1) (408) 501-9610
Get2Chip.com, Inc.               e-mail: hrejouan@get2chip.com
2107 North First Street, Suite 350, San Jose, CA 95131, U.S.A.
==============================================================


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