[M3devel] gcc 4.5 status
Jay K
jay.krell at cornell.edu
Mon Jun 28 03:39:35 CEST 2010
Gcc 4.5 complains about a few similar aspects of our trees.
These would all be errors but I hacked the gcc source to make them warnings.
Running cm3 build with gcc 4.5 crashes early in sysutils => PathReprCommon => Text.Length.
I think I'll try to fix up these type issues first.
You can see they aren't all that interesting, either widening an unsigned integer or
changing the signedness but not the width of an integer.
It's likely this checking isn't on by default, but that I enabled it, and that the errors/warnings are true,
even though my enabling might have been by hacking the #idefs instead of the configure command.
I assume upgrading to gcc 4.5 is considered fairly unilaterly uncontroversially good.
I chose working on it for that reason.
D.1401 = TextClass__GetChar (M3_Bd56fi_t.11, M3_Cwb5VA_i.10);
cm3cg: warning: type mismatch in indirect reference
word_64
<unnamed type>
D.1408 = *D.1407;
cm3cg: warning: verify_gimple failed
../src/cm3/TextUtils.m3: In function 'TextUtils__SkipRight':
cm3cg: warning: invalid conversion in gimple call
word_8
word_64
D.1481 = TextClass__GetChar (M3_Bd56fi_t.36, D.1479);
cm3cg: warning: type mismatch in indirect reference
word_64
<unnamed type>
D.1488 = *D.1487;
cm3cg: warning: verify_gimple failed
../src/cm3/TextUtils.m3: In function 'TextUtils__Compress':
cm3cg: warning: invalid conversion in gimple call
word_8
word_64
D.1553 = TextClass__GetChar (M3_Bd56fi_t.59, M3_Cwb5VA_i.58);
cm3cg: warning: type mismatch in indirect reference
word_64
<unnamed type>
D.1560 = *D.1559;
cm3cg: warning: invalid conversion in gimple call
word_8
word_64
D.1591 = TextClass__GetChar (M3_Bd56fi_t.67, D.1589);
cm3cg: warning: type mismatch in indirect reference
word_64
<unnamed type>
D.1598 = *D.1597;
cm3cg: warning: verify_gimple failed
../src/cm3/TextUtils.m3: In function 'TextUtils__SubstChar':
cm3cg: warning: invalid conversion in gimple call
word_8
word_64
D.1683 = TextClass__GetChar (M3_Bd56fi_t.99, D.1681);
cm3cg: warning: type mismatch in binary expression
word_64
int_64
int_64
D.1701 = D.1700 & 1;
cm3cg: warning: type mismatch in binary expression
word_64
int_64
int_64
More information about the M3devel
mailing list