Go to file
Casper S. Hornstrup e91f04de4b i386.c (ix86_handle_cdecl_attribute): Check for attributes incompatible with fastcall attribute.
* config/i386/i386.c (ix86_handle_cdecl_attribute): Check for
        attributes incompatible with fastcall attribute.
        (ix86_handle_regparm_attribute): Likewise.

        * config/i386/i386.c (ix86_comp_type_attributes): Check for mismatched
        fastcall types.

        * config/i386/cygwin.h (TARGET_OS_CPP_BUILTINS): Add fastcall
        attributes.
        (ASM_OUTPUT_LABELREF): Define as i386_pe_output_labelref.
        * config/i386/i386-protos.h (i386_pe_output_labelref): Declare.
        * config/i386/winnt.c (i386_pe_mark_dllimport). Add __imp_ prefix in
        i386_pe_output_labelref rather than here.
        (gen_fastcall_suffix): New function. Decorates a label name with the
        fastcall prefix (@) and the stdcall suffix.
        (i386_pe_encode_section_info): Call gen_fastcall_suffix() if a symbol
        has a fastcall attribute.
        (i386_pe_output_labelref): New function. Outputs a label reference.
        * config/i386/i386.c (ix86_attribute_table): Accept 'fastcall' as a
        valid attribute.
        (ix86_return_pops_args): Fastcall functions pop the stack.
        (init_cumulative_args): Reserve registers ECX and EDX if function has
        fastcall attribute.
        (function_arg): Use registers ECX and EDX if function has fastcall
        attribute.
        * config/i386/i386.h (CUMULATIVE_ARGS): Add fastcall attribute flag.
        (DLL_IMPORT_EXPORT_PREFIX): Redefine as '#'.
        (FASTCALL_PREFIX): Define as '@'.
        * config/i386/mingw32.h (TARGET_OS_CPP_BUILTINS): Add fastcall
        attributes.
        * doc/extend.texi: Add documentation of fastcall attribute.

        * testsuite/gcc.dg/i386-fastcall-1.c: New.

Co-Authored-By: Danny Smith <dannysmith@users.sourceforge.net>
Co-Authored-By: Eric Kohl <ekohl@rz-online.de>

From-SVN: r60337
2002-12-19 14:00:33 -08:00
boehm-gc ltconfig (osf[345]): Append $major to soname_spec. 2002-11-20 15:59:07 +00:00
config * mh-cygwin: Don't build libtermcap if it doesn't exist. 2002-12-17 02:58:05 +00:00
contrib Merge basic-improvements-branch to trunk 2002-12-16 18:23:00 +00:00
fastjar Merge basic-improvements-branch to trunk 2002-12-16 18:23:00 +00:00
gcc i386.c (ix86_handle_cdecl_attribute): Check for attributes incompatible with fastcall attribute. 2002-12-19 14:00:33 -08:00
include * libiberty.h (basename): Add NetBSD to the list. 2002-11-24 06:54:38 +00:00
INSTALL
libf2c date_.c (G77_date_y2kbuggy_0): Declare G77_abort_0 noreturn. 2002-12-18 11:37:14 -05:00
libffi Merge basic-improvements-branch to trunk 2002-12-16 18:23:00 +00:00
libiberty make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX): Define for hosts with HOST_EXECUTABLE_SUFFIX. 2002-12-04 01:57:27 +00:00
libjava natClassLoader.cc (defineClass0): Removed erroneous comment. 2002-12-19 19:31:55 +00:00
libobjc Merge basic-improvements-branch to trunk 2002-12-16 18:23:00 +00:00
libstdc++-v3 documentation.html: Add link for debug.html. 2002-12-19 08:18:14 +00:00
maintainer-scripts * root.texi: Change version number to 3.4. 2002-12-16 22:18:33 +00:00
zlib Makefile.am (all-multi): Fix multilib parallel build. 2002-09-23 03:52:55 +00:00
.cvsignore
ChangeLog Fix date typo 2002-12-19 20:27:49 +00:00
config-ml.in config-ml.in doesn't need to worry about cygnus configure 2002-07-01 19:59:22 +00:00
config.guess config.sub: Import from master repository 2002-12-17 10:01:10 +00:00
config.if config.if (libstdcxx_incdir): Version C++ headers. 2002-06-27 10:19:53 +00:00
config.sub config.sub: Import from master repository 2002-12-17 10:01:10 +00:00
configure Merge basic-improvements-branch to trunk 2002-12-16 18:23:00 +00:00
configure.in Makefile.tpl: Revert HJL's change. 2002-12-19 20:23:50 +00:00
COPYING
COPYING.LIB
install-sh
libtool.m4 libtool.m4 (libtool_flags): Add patch from libtool CVS... 2002-11-20 16:18:53 +01:00
ltcf-c.sh Merge basic-improvements-branch to trunk 2002-12-16 18:23:00 +00:00
ltcf-cxx.sh * ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*. 2002-07-04 22:52:03 +00:00
ltcf-gcj.sh Merge basic-improvements-branch to trunk 2002-12-16 18:23:00 +00:00
ltconfig ltconfig (osf[345]): Append $major to soname_spec. 2002-11-20 15:59:07 +00:00
ltmain.sh ltconfig (osf[345]): Append $major to soname_spec. 2002-11-20 15:59:07 +00:00
MAINTAINERS fix my email address 2002-12-16 08:16:06 +00:00
Makefile.def Merge basic-improvements-branch to trunk 2002-12-16 18:23:00 +00:00
Makefile.in Makefile.tpl: Revert HJL's change. 2002-12-19 20:23:50 +00:00
Makefile.tpl Makefile.tpl: Revert HJL's change. 2002-12-19 20:23:50 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.