Go to file
LIU Hao 5080840d8f Do not use caller-saved registers for COMDAT functions
A reference to a COMDAT function may be resolved to another definition
outside the current translation unit, so it's not eligible for `-fipa-ra`.

In `decl_binds_to_current_def_p()` there is already a check for weak
symbols. This commit checks for COMDAT functions that are not implemented
as weak symbols, for example, on *-*-mingw32.

gcc/ChangeLog:

	PR rtl-optimization/115049
	* varasm.cc (decl_binds_to_current_def_p): Add a check for COMDAT
	declarations too, like weak ones.
2024-07-18 13:14:39 +00:00
.github
c++tools
config
contrib Daily bump. 2024-07-14 00:16:33 +00:00
fixincludes Daily bump. 2024-07-12 00:17:52 +00:00
gcc Do not use caller-saved registers for COMDAT functions 2024-07-18 13:14:39 +00:00
gnattools Daily bump. 2024-07-08 00:17:01 +00:00
gotools
include Daily bump. 2024-07-03 00:19:01 +00:00
INSTALL
libada
libatomic
libbacktrace libbacktrace: add cast to avoid warning 2024-07-17 17:59:41 -07:00
libcc1
libcody
libcpp Daily bump. 2024-07-14 00:16:33 +00:00
libdecnumber
libffi
libgcc
libgfortran Daily bump. 2024-07-12 00:17:52 +00:00
libgm2
libgo
libgomp
libgrust
libiberty Daily bump. 2024-07-17 00:18:32 +00:00
libitm
libobjc
libphobos
libquadmath
libsanitizer
libssp
libstdc++-v3 c++: diagnose failed qualified lookup into current inst 2024-07-17 20:54:14 -04:00
libvtv
lto-plugin
maintainer-scripts Daily bump. 2024-07-08 00:17:01 +00:00
zlib
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
ar-lib
ChangeLog Daily bump. 2024-07-14 00:16:33 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure
configure.ac
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS Add gcc.gnu.org account names to MAINTAINERS 2024-07-13 16:22:58 +01:00
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
SECURITY.txt
symlink-tree
test-driver
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with 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/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.