Go to file
Franz Sirl 45806a3fd4 re PR c/6343 (attribute((weak)) not working on second declaration)
2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	PR c/6343
	* c-decl.c (duplicate_decls): Call merge_weak.
	* c-pragma.c (apply_pragma_weak): Warn about misuse.
	* output.h (merge_weak): Prototype merge_weak.
	* varasm.c (merge_weak): New function.
	(declare_weak): Make sure we don't give an error on VAR_DECLs.
	Mark RTL with SYMBOL_REF_WEAK.

cp:
	* decl.c (duplicate_decls): Call merge_weak.

testsuite:
	* gcc.dg/weak-[2-7].c: New tests.

From-SVN: r52844
2002-04-28 18:31:34 +00:00
INSTALL README: Update wrt. 2001-06-13 14:51:33 +00:00
boehm-gc Makefile.am (toolexeclib_LTLIBRARIES): Remove. 2002-04-23 03:37:27 +00:00
config mh-a68bsd: clean out dead code 2002-04-19 13:26:08 -04:00
contrib * gcc_update (touch_files): Don't have empty for loop. 2002-04-18 10:09:10 +00:00
fastjar jartool.c (expand_options): Handle tar-style argument list with a leading "-". 2002-03-18 11:08:21 +00:00
gcc re PR c/6343 (attribute((weak)) not working on second declaration) 2002-04-28 18:31:34 +00:00
include xregex2.h (__restrict_arr): Define to __restrict on GCC 3.1 and later. 2002-04-16 17:12:54 -07:00
libf2c Daily bump. 2002-04-28 07:17:18 +00:00
libffi java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE correctly. 2002-04-08 23:59:13 +00:00
libiberty hashtab.c (higher_prime_number): Use 7 as minimum. 2002-04-09 17:14:53 -07:00
libjava re PR target/6422 (libjava failures on sparc-linux) 2002-04-26 17:04:14 -07:00
libobjc encoding.c (MAX, [...]): #undef before defining. 2002-04-23 02:04:20 +00:00
libstdc++-v3 [multiple changes] 2002-04-28 16:21:32 +00:00
maintainer-scripts * gcc_release (build_diffs): Remove reference to Chill. 2002-04-22 16:00:13 +00:00
zlib Last commit missed this 2002-03-17 00:46:40 +00:00
.cvsignore gcc_update: Dump timestamp in LAST_UPDATED. 2001-07-26 23:00:45 -07:00
COPYING COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes... 2000-12-18 21:47:20 +00:00
COPYING.LIB COPYING.LIB: Update to LGPL 2.1 from the FSF. 2001-01-29 13:32:47 +00:00
ChangeLog configure.in (h8300*-*-rtems*): Disable libf2c and libgcj. 2002-04-26 22:30:19 +00:00
MAINTAINERS * MAINTAINERS: Add information about purpose of this file. 2002-04-19 16:40:52 +00:00
Makefile.in MAINTAINERS: Remove chill maintainers. 2002-04-15 20:19:23 +00:00
README * README: Remove version number. 2001-06-13 19:48:09 +01:00
config-ml.in config-ml.in (powerpc-*-* | rs6000-*-*): Allow aix64 and pthread multilibs to be disabled. 2001-06-12 22:12:07 -04:00
config.guess config.guess: Updated to 2002-01-30's version. 2002-02-09 03:00:13 +00:00
config.if * config.if: Assume enable_libstdcxx_v3 is defined. 2001-02-05 11:02:20 +00:00
config.sub config.guess: Updated to 2002-01-30's version. 2002-02-09 03:00:13 +00:00
configure * configure, configure.in: Use temp file for long sed commands. 2001-12-05 07:40:39 -05:00
configure.in configure.in (h8300*-*-rtems*): Disable libf2c and libgcj. 2002-04-26 22:30:19 +00:00
install-sh * install-sh: Use _inst.$$_ for temp file name. 2002-01-25 18:42:28 -05:00
libtool.m4 ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.254. 2001-05-20 18:55:59 +00:00
ltcf-c.sh backport: ltcf-c.sh: Use $objext, not $ac_objext. 2001-09-01 00:47:19 +00:00
ltcf-cxx.sh backport: ltcf-c.sh: Use $objext, not $ac_objext. 2001-09-01 00:47:19 +00:00
ltcf-gcj.sh backport: ltcf-c.sh: Use $objext, not $ac_objext. 2001-09-01 00:47:19 +00:00
ltconfig backport: ltcf-c.sh: Use $objext, not $ac_objext. 2001-09-01 00:47:19 +00:00
ltmain.sh * ltmain.sh (relink_command): Fix typo in previous change. 2002-03-16 14:42:17 +00:00
missing merge with /cvs/src 2000-07-22 04:08:22 -04:00
mkdep merge with /cvs/src 2000-07-22 04:08:22 -04:00
mkinstalldirs
move-if-change
symlink-tree Makefile.in: handle DOS-style absolute paths. 2000-12-09 11:06:19 -05:00
ylwrap

README

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.