This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ARM compiler generating never-used constant data structures
On Fri, Feb 06, 2009 at 12:30:13AM +1100, Zoltán Kócsi wrote:
> Almost the same:
>
> x86_64: 4.0.2
> AVR: 4.0.1
> ARM: 4.0.2
>
> So, at least the Intel and the ARM are the same yet the Intel version
> omits the .rodata, the ARM keeps it. I'll check it with the newer
> version next week. However, I tend to use the 4.0.x because at least for
> the ARM it generates smaller code from the same source than the newer
> versions when optimising with -Os.
Still, there's not much help people can give you with old versions.
If you have any test cases where 4.0.2 gives smaller code with -Os
than a 4.4 snapshot, please, file them in bugzilla.
--
Daniel Jacobowitz
CodeSourcery