Commit df7aa629 by Zack Weinberg

Strip carriage returns

From-SVN: r65969
parent 4da2eb6b
......@@ -113,9 +113,9 @@ extern size_t
#if defined( UNDEFINE_NULL_CHECK )
#ifndef NULL
#define NULL 0UL
#endif
#ifndef NULL
#define NULL 0UL
#endif
#ifndef NULL
#define NULL ((void*)0)
#endif
......
// { dg-do compile }
class BIXSet{
int z[4];
public:
void f(BIXSet &other){
z[0]=other.z[0];
}
};
class TestCase2{
public:
BIXSet a,b;
public:
void run(void){
BIXSet x,y;
process(0,x,y);
}
protected:
template<class BS> void process(const int d,BS &en,BS &lb){
a.f(en);b.f(lb);
}
};
// { dg-do compile }
class BIXSet{
int z[4];
public:
void f(BIXSet &other){
z[0]=other.z[0];
}
};
class TestCase2{
public:
BIXSet a,b;
public:
void run(void){
BIXSet x,y;
process(0,x,y);
}
protected:
template<class BS> void process(const int d,BS &en,BS &lb){
a.f(en);b.f(lb);
}
};
/* Produced a overflow in ifcvt.c, causing S to contain 0xffffffff7fffffff. */
int a = 1;
int main ()
{
long long s;
s = a;
if (s < 0)
s = -2147483648LL;
else
s = 2147483647LL;
if (s < 0)
abort ();
return 0;
}
/* Produced a overflow in ifcvt.c, causing S to contain 0xffffffff7fffffff. */
int a = 1;
int main ()
{
long long s;
s = a;
if (s < 0)
s = -2147483648LL;
else
s = 2147483647LL;
if (s < 0)
abort ();
return 0;
}
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