Re: How to define a built-in 24-bit type?

2012-01-25 Thread Georg-Johann Lay
Richard Henderson schrieb: On 01/21/2012 01:48 AM, Georg-Johann Lay wrote: FRACTIONAL_INT_MODE (PSI, 24, 3); Unrelated to everything else, I'm not sure you want a *fractional* mode. You're using all bits of the 3 bytes of storage. Fractional modes are those where there are unused bits of the

Re: How to define a built-in 24-bit type?

2012-01-25 Thread Richard Henderson
On 01/21/2012 01:48 AM, Georg-Johann Lay wrote: > FRACTIONAL_INT_MODE (PSI, 24, 3); Unrelated to everything else, I'm not sure you want a *fractional* mode. You're using all bits of the 3 bytes of storage. Fractional modes are those where there are unused bits of the in-memory representation. E.

Re: fixed_scalar_and_varying_struct_p and varies_p

2012-01-25 Thread Richard Sandiford
Richard Guenther writes: > I'd say open a missed optimization bug with the testcase and go ahead > with both patches. OK, I committed the patches yesterday and I've just opened PR 52000 for the missed optimisation. Richard

Re: forcing the linker to be a particular one (i.e. gold vs bfd)

2012-01-25 Thread Christophe Lyon
On 25.01.2012 16:14, Richard Guenther wrote: On Wed, Jan 25, 2012 at 3:55 PM, Christophe Lyon wrote: On 25.01.2012 15:49, Richard Guenther wrote: You can change the linker used by adjusting your path or giving an appropriate -B option to the gcc driver. Richard. Yes, but part of the thread

Re: How to define a built-in 24-bit type?

2012-01-25 Thread Georg-Johann Lay
Joseph S. Myers wrote: > On Wed, 25 Jan 2012, Georg-Johann Lay wrote: > >> You mean that thread? >> http://gcc.gnu.org/ml/gcc-patches/2011-07/msg00064.html >> and >> http://gcc.gnu.org/ml/gcc-patches/2011-07/msg00079.html > > Yes, the whole thread (with particular reference to my comments about w

Re: How to define a built-in 24-bit type?

2012-01-25 Thread Joseph S. Myers
On Wed, 25 Jan 2012, Georg-Johann Lay wrote: > You mean that thread? > http://gcc.gnu.org/ml/gcc-patches/2011-07/msg00064.html > and > http://gcc.gnu.org/ml/gcc-patches/2011-07/msg00079.html Yes, the whole thread (with particular reference to my comments about what should be kept target-dependen

Re: forcing the linker to be a particular one (i.e. gold vs bfd)

2012-01-25 Thread Richard Guenther
On Wed, Jan 25, 2012 at 3:55 PM, Christophe Lyon wrote: > On 25.01.2012 15:49, Richard Guenther wrote: >> >> >> You can change the linker used by adjusting your path or giving an >> appropriate -B option to the gcc driver. >> >> Richard. >> > Yes, but part of the thread was precisely to discuss al

Re: forcing the linker to be a particular one (i.e. gold vs bfd)

2012-01-25 Thread Christophe Lyon
On 25.01.2012 15:49, Richard Guenther wrote: You can change the linker used by adjusting your path or giving an appropriate -B option to the gcc driver. Richard. Yes, but part of the thread was precisely to discuss alternatives, more end-user friendly (for those won't know the full path to a

Re: forcing the linker to be a particular one (i.e. gold vs bfd)

2012-01-25 Thread Richard Guenther
On Wed, Jan 25, 2012 at 3:43 PM, Christophe Lyon wrote: > Hello, > > In a one year old thread, there was a discussion about a patch adding > -fuse-ld=gold and -fuse-ld=bfd options to GCC. > > It seems the GCC part of the patch was never actually committed, as there > were some problems with LTO: >

forcing the linker to be a particular one (i.e. gold vs bfd)

2012-01-25 Thread Christophe Lyon
Hello, In a one year old thread, there was a discussion about a patch adding -fuse-ld=gold and -fuse-ld=bfd options to GCC. It seems the GCC part of the patch was never actually committed, as there were some problems with LTO: http://sourceware.org/ml/binutils/2011-01/msg00287.html Unfortunat

Re: How to define a built-in 24-bit type?

2012-01-25 Thread Georg-Johann Lay
Joseph S. Myers wrote: > On Fri, 20 Jan 2012, Georg-Johann Lay wrote: > >> Hi. >> >> avr-gcc implements a 24-bit scalar integer types __int24 and __uint24 in >> avr.c:TARGET_INIT_BUILTINS like so: >> >> tree int24_type = make_signed_type (GET_MODE_BITSIZE (PSImode)); >> tree uint24_type = mak