Possible bug in SUIF2 #pragma translation

Gabriel Rodriguez <[email protected]> Thu, 30 Oct 2003 20:18:24 +0000
Newsgroups gmane.comp.compilers.suif.bugs
Message-ID <[email protected]>
As stated by Jeffrey J. Cook in May 2002, there's a bug when=20
converting .cil->.suif, associated with #pragma directives. When running
"suifint $prefix.il $outputfile", the crash output is:

'Internal error: assertion failed: find_assoc_pragma: pragma not found
          (../il.c, line 8382)'

I'm not sure why suifint tries to proccess some #pragma's, where others r=
emain
untouched. =BFIs there any way to avoid suifint trying to 'find' the #pra=
gma's?

Related to the first issue in Jeffrey's message, 'pgcpp1' and 'suifint' d=
on't=20
drop the directives. By the way, #pragma directives are dropped during th=
e=20
execution of the 'dismantle_call_expressions' PipelinablePass, invoked at=
=20
line 175 in $NCIHOME/bin/c2suif. I suppose this information is a year and=
 a=20
half late, sorry.

In case this helps, I'm using
'Edison Design Group C/C++ Front End, version 2.40 (Jul 30 2000 21:28:27)
Copyright 1988-1998 Edison Design Group, Inc.'

Thanks.

Gabriel Rodr=EDguez =C1lvarez
Graduate Student, Computer Engineering
University of A Coru=F1a
mailto:[email protected]