Go to file
Paolo Carlini 2d45625fa7 re PR c++/51312 ([C++0x] Wrong interpretation of converted constant expressions (for enumerator initializers))
/cp
2014-08-07  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/51312
	* decl.c (build_enumerator): Handle class types with conversion
	operators via perform_implicit_conversion_flags and
	build_expr_type_conversion.

	* cvt.c (build_expr_type_conversion): Replace pair of errors
	with error + inform.

/testsuite
2014-08-07  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/51312
	* g++.dg/cpp0x/enum29.C: New.

From-SVN: r213736
2014-08-07 19:51:28 +00:00
boehm-gc
config re PR target/47230 (gcc fails to bootstrap on alpha in stage2 with "relocation truncated to fit: GPREL16 against ...") 2014-07-26 17:11:14 +02:00
contrib mklog: Allow running from arbitrary folder. 2014-08-01 04:19:59 +00:00
fixincludes
gcc re PR c++/51312 ([C++0x] Wrong interpretation of converted constant expressions (for enumerator initializers)) 2014-08-07 19:51:28 +00:00
gnattools
include
INSTALL
intl
libada
libatomic configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS. 2014-07-18 08:34:20 +02:00
libbacktrace
libcilkrts
libcpp re PR c/61861 (Incorrect column number for -Wdiscarded-qualifiers) 2014-07-27 17:09:38 +00:00
libdecnumber
libffi ffi.c: Do not include stdlib.h. 2014-07-25 11:01:45 +02:00
libgcc Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ... 2014-08-07 18:02:06 +00:00
libgfortran * runtime/memory.c (xmallocarray): Avoid division for the common case. 2014-08-04 17:46:33 +02:00
libgo runtime: Add casts to mincore call to compile on Solaris. 2014-08-04 17:54:09 +00:00
libgomp task.c (GOMP_taskgroup_end): If taskgroup->num_children is not zero... 2014-08-04 17:45:50 +02:00
libiberty
libitm libitm: Improve aarch64 _ITM_beginTransaction 2014-07-24 19:58:06 -07:00
libjava
libobjc re PR libobjc/61920 (libobjc has undefined symbols on powerpc*-linux-gnu) 2014-07-27 13:15:17 +00:00
libquadmath
libsanitizer sanitizer_common_interceptors.inc: Cherry pick upstream r211008. 2014-06-23 19:03:07 +00:00
libssp
libstdc++-v3 stl_list.h (_List_base::_List_base(_List_base&&)): Optimize. 2014-08-07 18:25:13 +01:00
libvtv
lto-plugin
maintainer-scripts * update_web_docs_svn: Simplify build of gnat_ugn. 2014-08-01 21:00:14 +02:00
zlib
.dir-locals.el
.gitignore
ABOUT-NLS
ChangeLog Add myself to Write After Approval list. 2014-08-01 14:40:24 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub Import config.sub from upstream. No changes to config.guess. 2014-07-28 17:53:25 +00:00
configure re PR target/47230 (gcc fails to bootstrap on alpha in stage2 with "relocation truncated to fit: GPREL16 against ...") 2014-07-26 17:11:14 +02:00
configure.ac re PR target/47230 (gcc fails to bootstrap on alpha in stage2 with "relocation truncated to fit: GPREL16 against ...") 2014-07-26 17:11:14 +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 Add myself to Write After Approval list. 2014-08-01 14:40:24 +00:00
Makefile.def
Makefile.in
Makefile.tpl
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 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.