On 06/07/2007 10:34 PM, Stefan Manegold wrote:
--
Sjoerd Mullender
> On Thu, Jun 07, 2007 at 08:01:52PM +0000, Sjoerd Mullender wrote:
>> Update of /cvsroot/monetdb/pathfinder/compiler/semantics
>> In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31053
>>
>> Modified Files:
>> Tag: XQuery_0-18
>> xquery_fo.c
>> Log Message:
>> Experiment: split up declaration of xquery_fo into smaller pieces in
>> multiple functions to see whether it then compiles with icc on Linux.
>
> Sjoerd,
>
> thanks for yoiur efforts!
>
> Unfortunately, it still does not help/work:
>
> /net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Stable/source/pathfinder/compiler/semantics/xquery_fo.c(1664):
> (col. 1)internal error: 0_0
>
> Maybe, we should finally consider upgrading icc --- provided there is a
> newer (free) version available...
I reverted the changes.
> Stefan
>
>
>> Index: xquery_fo.c
>> ===================================================================
>> RCS file: /cvsroot/monetdb/pathfinder/compiler/semantics/xquery_fo.c,v
>> retrieving revision 1.129.2.1
>> retrieving revision 1.129.2.2
>> diff -u -d -r1.129.2.1 -r1.129.2.2
>> --- xquery_fo.c 7 Jun 2007 14:07:00 -0000 1.129.2.1
>> +++ xquery_fo.c 7 Jun 2007 20:01:49 -0000 1.129.2.2
>> @@ -97,8 +97,8 @@
>> }
>> }
>>
>> -void
>> -PFfun_xquery_fo (void)
>> +static void
>> +PFfun_xquery_fo1 (void)
>> {
>> struct xquery_fo xquery_fo1[] =
>> /**
>> @@ -956,7 +956,15 @@
>> .ret_ty = PFty_xs_double () } },
>> .alg = PFbui_fn_floor_dbl }
>> , { .loc = 0 }
>> - }, xquery_fo2[] = {
>> + };
>> +
>> + xquery_fo_initiaze(xquery_fo1);
>> +}
>> +
>> +static void
>> +PFfun_xquery_fo2 (void)
>> +{
>> + struct xquery_fo xquery_fo2[] = {
>> /* fn:floor (integer?) as integer? */
>> { .ns = PFns_fn, .loc = "floor",
>> .arity = 1, .sig_count = 1, .sigs = { {
>> @@ -1646,7 +1654,15 @@
>> .ret_ty = PFty_opt (PFty_doc (PFty_xs_anyNode ())) } },
>> .alg = PFbui_fn_doc }
>> , { .loc = 0 }
>> - }, xquery_fo3[] = {
>> + };
>> +
>> + xquery_fo_initiaze(xquery_fo2);
>> +}
>> +
>> +static void
>> +PFfun_xquery_fo3 (void)
>> +{
>> + struct xquery_fo xquery_fo3[] = {
>> /* fn:collection (string) as node* */
>> { .ns = PFns_fn, .loc = "collection",
>> .arity = 1, .sig_count = 1, .sigs = { {
>> @@ -2241,11 +2257,17 @@
>> , { .loc = 0 }
>> };
>>
>> + xquery_fo_initiaze(xquery_fo3);
>> +}
>> +
>> +void
>> +PFfun_xquery_fo (void)
>> +{
>> PFfun_env = PFenv ();
>>
>> - xquery_fo_initiaze(xquery_fo1);
>> - xquery_fo_initiaze(xquery_fo2);
>> - xquery_fo_initiaze(xquery_fo3);
>> + PFfun_xquery_fo1 ();
>> + PFfun_xquery_fo2 ();
>> + PFfun_xquery_fo3 ();
>> }
>>
>> /* vim:set shiftwidth=4 expandtab: */
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Monetdb-pf-checkins mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins
>
--
Sjoerd Mullender
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-developers