The same qualifier occouring more than once specifier-qualifier-list is allowed by sdcc in all compilation modes.
This means that in this respect sdcc always behaves according to the C99 standard (verse 1479: "If the same qualifier appears more than once in the same specifier-qualifier-list, either directly or via one or more typedefs, the behavior is the same as if it appeared only once.").
On the other hand the ISO C90 standard (which, AFAIK is the same as the asni standard in this respect) does not allow this ("The same type qualifier shall not appear more than once in the same specifier list or qualifier list, either directly or via one or more typedefs.").
Thus the current behaviour is a bug when compiling using --std-c89 (though not a serious one).
Philipp
Fixed in reversion #9231.