attribute((mode(byte))) no longer works in typedef

2011-06-17 Thread Paul Koning
In GCC 3.3.3, I had a typedef with attribute((mode(byte))) on it. That worked (the resulting type had size 1). In GCC 4.5.1, this no longer works; the attribute is silently ignored. It does work when used on a variable declaration directly, but for the many lines of code that relied on the

Re: attribute((mode(byte))) no longer works in typedef

2011-06-17 Thread Richard Henderson
On 06/17/2011 08:54 AM, Paul Koning wrote: In GCC 3.3.3, I had a typedef with attribute((mode(byte))) on it. That worked (the resulting type had size 1). In GCC 4.5.1, this no longer works; the attribute is silently ignored. It certainly does work. libgcc relies on it. You'll have to

Re: attribute((mode(byte))) no longer works in typedef

2011-06-17 Thread Paul Koning
On Jun 17, 2011, at 2:15 PM, Richard Henderson wrote: On 06/17/2011 08:54 AM, Paul Koning wrote: In GCC 3.3.3, I had a typedef with attribute((mode(byte))) on it. That worked (the resulting type had size 1). In GCC 4.5.1, this no longer works; the attribute is silently ignored. It