Commit 6f82f64b by Jeffrey A Law Committed by Jeff Law

981001-2.c: New test.

        * gcc.c-torture/compile/981001-2.c: New test.
        * gcc.c-torture/compile/981001-3.c: New test.

From-SVN: r22723
parent 23e08716
Thu Oct 1 19:05:20 1998 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/981001-2.c: New test.
* gcc.c-torture/compile/981001-3.c: New test.
1998-10-01 Robert Lipe <robertl@dgii.com>
* lib/objc.exp (objc_target_compile): Add -L during compiles for
......
#define weak_alias(func, aliasname) \
extern __typeof (func) aliasname __attribute__ ((weak, alias (#func)));
#define add3(d, m, c) ((d) + (m) + (c))
int
__add3(int d, int m, int c)
{
return d + m + c;
}
weak_alias (__add3, add3)
#define P(a, b) P1(a,b)
#define P1(a,b) a##b
#define FLT_MIN_EXP (-125)
#define DBL_MIN_EXP (-1021)
#define MIN_EXP P(FLT,_MIN_EXP)
#define FLT FLT
int f1 = MIN_EXP;
#undef FLT
#define FLT DBL
int f2 = MIN_EXP;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment