* builtins.def (DEF_C99_BUILTIN): Fix.
From-SVN: r59571
This commit is contained in:
parent
5154b05d15
commit
1dc46545cb
5 changed files with 25 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Nov 27 14:45:46 CET 2002 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* builtins.def (DEF_C99_BUILTIN): Fix.
|
||||
|
||||
2002-11-26 Andrew Haley <aph@redhat.com>
|
||||
|
||||
* unwind-sjlj.c (_Unwind_FindEnclosingFunction): Rename
|
||||
|
|
|
@ -114,7 +114,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|||
#undef DEF_C99_BUILTIN
|
||||
#define DEF_C99_BUILTIN(ENUM, NAME, TYPE) \
|
||||
DEF_BUILTIN (ENUM, NAME, BUILT_IN_NORMAL, TYPE, TYPE, \
|
||||
true, !flag_isoc99, true, ATTR_NOTHROW_LIST)
|
||||
true, true, !flag_isoc99, ATTR_NOTHROW_LIST)
|
||||
|
||||
/* Like DEF_LIB_BUILTIN, except that the function is expanded in the
|
||||
front-end. */
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
Wed Nov 27 14:37:34 CET 2002 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* gcc.c-torture/execute/20021127.[cx]: New test.
|
||||
|
||||
2002-11-26 Geoffrey Keating <geoffk@apple.com>
|
||||
|
||||
* g++.dg/init/brace2.C: New test.
|
||||
|
|
14
gcc/testsuite/gcc.c-torture/execute/20021127-1.c
Normal file
14
gcc/testsuite/gcc.c-torture/execute/20021127-1.c
Normal file
|
@ -0,0 +1,14 @@
|
|||
long long a = -1;
|
||||
long long llabs (long long);
|
||||
void abort (void);
|
||||
int
|
||||
main()
|
||||
{
|
||||
if (llabs (a) != 1)
|
||||
abort ();
|
||||
return 0;
|
||||
}
|
||||
long long llabs (long long b)
|
||||
{
|
||||
abort ();
|
||||
}
|
2
gcc/testsuite/gcc.c-torture/execute/20021127-1.x
Normal file
2
gcc/testsuite/gcc.c-torture/execute/20021127-1.x
Normal file
|
@ -0,0 +1,2 @@
|
|||
set additional_flags "-std=c99"
|
||||
return 0
|
Loading…
Add table
Reference in a new issue