This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Jump table alignment (2.95.2 versus 3.2.3)


Hello,

I have recently 'upgraded' to 3.2.3 from 2.95.2 (MinGW version)
and I am trying to get it to produce code no larger than its
predecessor.  Even with the -Os option it is still generating
object modules somewhat larger than before, and close examination
shows that this is because jump table (dispatch table) entries
are now aligned on 16-byte boundaries rather than 4-bytes with
2.95.2. With large tables this wastes quite a lot of space.

Is there an option which will force gcc 3.2.3 to use 4-byte or
8-byte alignment for jump table entries ?

Richard.
http://www.rtrussell.co.uk/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]