[Prev][Next][Index]
Sage++ bug ??
- Date: Sun, 23 Jul 95 13:55:23 CDT
- From: bubba@vuse.vanderbilt.edu (James Richard Davis)
- To: bubba@vuse.vanderbilt.edu, sage-bugs@cica.indiana.edu
- Subject: Sage++ bug ??
- Sender: owner-sage-bugs@extreme.indiana.edu
I have come across a problem when using Sage++. I believe this is caused
by a bug in Sage++. I have looked at the inline functions, but nothing
jumped out at me.
When compiling an application utilizing Sage++, I get the following error
on an SGI INDY2.
compile line :
CC -I../sage++-1.7/lib/include -I../sage++-1.7/h -g -Aa -c s_loops.c
error msg:
cfe: Warning 695: s_loops.c, line 29: Unacceptable operand of conditional operator.
if (__1tmp = ( (( ( LibFortranlanguage ( ) ) ) ?(((__1doloop -> thebif__11SgStatement -> entry__4bfnd . Template__Q2_4bfnd10bfnd_union . ll_ptr1 !=
-----------------------------------------------^
cfe: Warning 695: s_loops.c, line 36: Unacceptable operand of conditional operator.
if (__1tmp = ( (( ( LibFortranlanguage ( ) ) ) ?(((__1doloop -> thebif__11SgStatement -> entry__4bfnd . Template__Q2_4bfnd10bfnd_union . ll_ptr1 !=
-----------------------------------------------^
The function calls that produce these errors are:
doloop->start();
doloop->end();
The call doloop->step(); compiles without problem.
And yes, doloop is a SgForStmt pointer.
This same code compiles without problem under linux with g++.
If you have any ideas why this fails, or need more information, just email
me.
bubba@vuse.vanderbilt.edu