Re: Pta_flags enum overflow in i386.c

2011-07-13 Thread Ian Lance Taylor
Igor Zamyatin writes: > As you may see pta_flags enum in i386.c is almost full. So there is a > risk of overflow in quite near future. Comment in source code advises > "widen struct pta flags" which is now defined as unsigned. But it > looks not optimal. > > What will be the most proper solution

Pta_flags enum overflow in i386.c

2011-07-13 Thread Igor Zamyatin
Hi All! As you may see pta_flags enum in i386.c is almost full. So there is a risk of overflow in quite near future. Comment in source code advises "widen struct pta flags" which is now defined as unsigned. But it looks not optimal. What will be the most proper solution for this problem? Thanks