diff options
author | Kai Tietz <ktietz@gcc.gnu.org> | 2008-04-26 02:44:18 +0200 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2008-04-26 02:44:18 +0200 |
commit | 94f9491441b3a1be2ba646212aca9f909e47f215 (patch) | |
tree | 5e9aab1588c95d3800fa64b6f0c2cea9985034ce /gcc | |
parent | c818d0196384dfd7af19533be9b4ca912db685a4 (diff) | |
download | gcc-94f9491441b3a1be2ba646212aca9f909e47f215.zip gcc-94f9491441b3a1be2ba646212aca9f909e47f215.tar.gz gcc-94f9491441b3a1be2ba646212aca9f909e47f215.tar.bz2 |
Revert my patch for mingw32.
From-SVN: r134692
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 4 | ||||
-rw-r--r-- | gcc/config/i386/mingw32.h | 17 |
3 files changed, 0 insertions, 28 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f448aac..374615b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,10 +1,3 @@ -2008-04-25 Kai Tietz <kai.tietz@onevision.com> - - * config/i386/mingw32.h (SUBTARGET_INIT_BUILTINS): New. - * config/i386/i386.c (ix86_init_builtins): Use of - SUBTARGET_INIT_BUILTINS. - Add include of c-common.h for builtin. - 2008-04-25 Jan Hubicka <jh@suse.cz> PR testsuite/35843 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index bb8983e..dee2410 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -19807,10 +19807,6 @@ ix86_init_builtins (void) { if (TARGET_MMX) ix86_init_mmx_sse_builtins (); - -#ifdef SUBTARGET_INIT_BUILTINS - SUBTARGET_INIT_BUILTINS; -#endif } /* Errors in the source file can cause expand_expr to return const0_rtx diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h index 19b57db..3a3b74c 100644 --- a/gcc/config/i386/mingw32.h +++ b/gcc/config/i386/mingw32.h @@ -180,23 +180,6 @@ __enable_execute_stack (void *addr) \ #undef ENABLE_EXECUTE_STACK #define ENABLE_EXECUTE_STACK MINGW_ENABLE_EXECUTE_STACK -#define SUBTARGET_INIT_BUILTINS \ -do { \ - if (TARGET_64BIT_MS_ABI) \ - { \ - /* These builtin functions have a different return \ - type (intptr_t) on 64-bit MS Windows. */ \ - disable_builtin_function ("execl"); \ - disable_builtin_function ("execlp"); \ - disable_builtin_function ("execle"); \ - disable_builtin_function ("execv"); \ - disable_builtin_function ("execvp"); \ - disable_builtin_function ("execve"); \ - } \ - /* Second argument of MS scalb is long, not double. */ \ - disable_builtin_function ("scalb"); \ -} while (0) \ - #ifdef IN_LIBGCC2 #include <windows.h> #endif |