Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2002:
[Freeciv-Dev] Re: CMA attributes - gcc optimization problem with Tru64 U
Home

[Freeciv-Dev] Re: CMA attributes - gcc optimization problem with Tru64 U

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: CMA attributes - gcc optimization problem with Tru64 Unix
From: Davide Pagnin <nightmare@xxxxxxxxxx>
Date: Fri, 07 Jun 2002 12:41:29 +0200

        Hi All!

I've applied the patch from Raimar, with a little correction:
assert(pvalue); --> assert(pvalue!=NULL);
to stop the gcc complaining of the bad cast from pointer to int

I attach the results, of both the optimized and no-optimized civclient.
(In this case the output is generated without --debug=3 option,
I've seen that Raimar code, don't use LOG_VERBOSE.

        Davide
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffbcb0)
2:   not found
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffbcb0)
2:   not found
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffb460)
2:   not found
2: attribute_get(key=100000001, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffb530)
2:   not found
2: attribute_set(key=100000001, id=117, x=-1, y=-1, data_length=36, 
data=11fffb530)
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffb550)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffb4c0)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffb470)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2: attribute_get(key=100000001, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffb560)
2:   found length=36
2: attribute_set(key=100000001, id=117, x=-1, y=-1, data_length=36, 
data=140542fc8)
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffaf80)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffaee0)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffae90)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2: attribute_get(key=100000001, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffaf80)
2:   found length=36
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffa8c0)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2: attribute_get(key=100000001, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffa950)
2:   found length=36
2: attribute_set(key=100000000, id=117, x=-1, y=-1, data_length=36, 
data=11fffa950)
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffa8a0)
2:   found length=36
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffa8e0)
2:   found length=36
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffa850)
2:   found length=36
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffa800)
2:   found length=36
2: attribute_set(key=100000001, id=117, x=-1, y=-1, data_length=36, 
data=11fffa8f0)
2: attribute_set(key=100000001, id=117, x=-1, y=-1, data_length=36, 
data=140542fc8)
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffbcb0)
2:   not found
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffbcb0)
2:   not found
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffb460)
2:   not found
2: attribute_get(key=100000001, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffb530)
2:   not found
2: attribute_set(key=100000001, id=117, x=-1, y=-1, data_length=36, 
data=11fffb530)
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffb550)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffb4c0)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffb470)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2: attribute_get(key=100000001, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffb560)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2: attribute_set(key=100000001, id=117, x=-1, y=-1, data_length=36, 
data=11fffb560)
2: attribute_set(key=100000001, id=117, x=-1, y=-1, data_length=36, 
data=140544e88)
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffaf80)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffaee0)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffae90)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2: attribute_get(key=100000001, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffaf80)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2: attribute_set(key=100000001, id=117, x=-1, y=-1, data_length=36, 
data=11fffaf80)
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffa8c0)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2: attribute_get(key=100000001, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffa950)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2: attribute_set(key=100000001, id=117, x=-1, y=-1, data_length=36, 
data=11fffa950)
2: attribute_set(key=100000000, id=117, x=-1, y=-1, data_length=36, 
data=11fffa950)
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffa8a0)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2:   [1], key=(key=100000000, id=117, x=-1, y=-1) value_len=36
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffa8e0)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2:   [1], key=(key=100000000, id=117, x=-1, y=-1) value_len=36
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffa850)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2:   [1], key=(key=100000000, id=117, x=-1, y=-1) value_len=36
2: attribute_get(key=100000000, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffa800)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2:   [1], key=(key=100000000, id=117, x=-1, y=-1) value_len=36
2: attribute_get(key=100000001, id=117, x=-1, y=-1, max_data_length=36, 
data=11fffa8f0)
2:   not found
2:   [0], key=(key=100000001, id=117, x=-1, y=-1) value_len=36
2:   [1], key=(key=100000000, id=117, x=-1, y=-1) value_len=36
2: attribute_set(key=100000001, id=117, x=-1, y=-1, data_length=36, 
data=11fffa8f0)

[Prev in Thread] Current Thread [Next in Thread]