Go to file
Jason Merrill 5ef73ba1cc c++: conversion location
It seems more useful for a conversion to have the location of the source
expression rather than the enclosing expression, such as a call that might
convert multiple arguments in different ways.

As a result, in srcloc17.C the recorded location of 'e' when
copy-initialized became that of the initializer rather than the variable,
since the semantic was to convert the initializer (at its location) and then
initialize the variable from the resulting prvalue.  If we instead
direct-initialize the variable, the location of the constructor call is that
of the variable.

gcc/cp/ChangeLog:

	* call.cc (convert_like_internal) [ck_user]: Use iloc_sentinel.

gcc/testsuite/ChangeLog:

	* g++.dg/cpp2a/srcloc17.C: Adjust initialization.
2024-09-15 17:47:28 +02:00
.github
c++tools
config
contrib
fixincludes
gcc c++: conversion location 2024-09-15 17:47:28 +02:00
gnattools
gotools
include Daily bump. 2024-09-14 00:16:52 +00:00
INSTALL
libada
libatomic Daily bump. 2024-09-03 00:21:29 +00:00
libbacktrace
libcc1
libcody
libcpp Daily bump. 2024-09-14 00:16:52 +00:00
libdecnumber
libffi
libgcc
libgfortran Daily bump. 2024-09-08 00:17:46 +00:00
libgm2
libgo
libgomp Daily bump. 2024-09-03 00:21:29 +00:00
libgrust
libiberty Daily bump. 2024-09-08 00:17:46 +00:00
libitm Daily bump. 2024-09-03 00:21:29 +00:00
libobjc
libphobos Daily bump. 2024-09-03 00:21:29 +00:00
libquadmath
libsanitizer Daily bump. 2024-09-06 00:19:10 +00:00
libssp
libstdc++-v3 libstdc++: Adjust std::span::iterator to be ADL-proof 2024-09-15 16:20:58 +01:00
libvtv Daily bump. 2024-09-03 00:21:29 +00:00
lto-plugin
maintainer-scripts
zlib
.b4-config
.dir-locals.el
.gitattributes
.gitignore Git ignores .vscode 2024-09-12 22:51:00 +08:00
ABOUT-NLS
ar-lib
ChangeLog Daily bump. 2024-09-13 00:18:06 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure rust: avoid clobbering LIBS 2024-09-04 10:44:28 +02:00
configure.ac rust: avoid clobbering LIBS 2024-09-04 10:44:28 +02:00
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 MAINTAINERS: Update my email address 2024-09-03 10:51:57 +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.