This is the mail archive of the gcc@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]

Re: libquadmath


>> The following works for me:
>> 
>> __float128 *x = calloc(sizeof(__float128), 8);
> 
> Well, this does not work for me. The code compiles, but during execution
> the program crashes in this place.

You will need to investigate the crash in detail, then. Maybe it is due to memory alignment, and you could use aligned_alloc() instead?

FX

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