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

New test



This tests a latent bug in gen_lowpart_common that's exposed by the PA port.
I've already contacted the author of the code privately to get some hints on
host best to fix the problem.

	* gcc.c-torture/execute/ieee/20011123-1.c: New test for latent
	bug in gen_lowpart_common.

main()
{
  double db1 = 1.7976931348623157e+308;
  long double ldb1 = db1;

  if (sizeof (double) != 8 || sizeof (long double) != 16)
    exit (0);

  if (ldb1 != 1.7976931348623157e+308)
    abort ();
  exit (0);
}





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