#5 FAIL: gcc.dg/alias-7.c execution test

gcc
open
nobody
FAIL (33)
5
2008-04-22
2008-04-22
NightStrike
No

Executing on host: /var/tmp/build/gcc-svn/build-x86_64-pc-linux/gcc/xgcc -B/var/tmp/build/gcc-svn/build-x86_64-pc-linux/gcc/ /var/tmp/build/gcc-svn/gcc/gcc/testsuite/gcc.dg/alias-7.c -O2 -fno-show-column -lm -o ./alias-7.exe (timeout = 300)
PASS: gcc.dg/alias-7.c (test for excess errors)
Executing on mingw: chmod +x /tmp/alias-7.exe.2433 (timeout = 300)
XYZ0ZYX
Executing on mingw: /tmp/alias-7.exe.2433 (timeout = 300)

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
XYZ3ZYX
Executing on mingw: rm -f /tmp/alias-7.exe.2433.o /tmp/alias-7.exe.2433 (timeout = 300)
XYZ0ZYX
FAIL: gcc.dg/alias-7.c execution test

alias-7.c
---------
http://gcc.gnu.org/viewcvs/trunk/gcc/testsuite/gcc.dg/alias-7.c?view=markup

/* { dg-do run } */
/* { dg-require-alias "" } */
/* { dg-options "-O2" } */

extern void abort (void);

#define ASMNAME(cname) ASMNAME2 (__USER_LABEL_PREFIX__, cname)
#define ASMNAME2(prefix, cname) STRING (prefix) cname
#define STRING(x) #x

int foo __asm__ (ASMNAME ("foo")) __attribute__((nocommon));
extern __typeof (foo) bar __attribute__ ((weak, alias ("foo")));

int
main (void)
{
if (&foo != &bar || foo || bar)
abort ();
return bar;
}

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks