Go to file
Paolo Carlini 74e883ce8c c-common.c (struct c_common_resword): Add __underlying_type.
/gcc
2011-04-25  Paolo Carlini  <paolo.carlini@oracle.com>

	* c-family/c-common.c (struct c_common_resword): Add
	__underlying_type.
	* c-family/c-common.h (enum rid): Add RID_UNDERLYING_TYPE.
	* doc/extend.texi: Document __underlying_type.

/cp
2011-04-25  Paolo Carlini  <paolo.carlini@oracle.com>

	* cp-tree.def: Add a new UNDERLYING_TYPE tree code.
	* cp-tree.h (enum cp_trait_kind): Add CPTK_UNDERLYING_TYPE, tidy.
	(UNDERLYING_TYPE_TYPE): Add.
	* cp-objcp-common.c (cp_common_init_ts): Mark UNDERLYING_TYPE
	as TS_COMMON.
	* parser.c (cp_lexer_next_token_is_decl_specifier_keyword,
	cp_parser_simple_type_specifier): Handle UNDERLYING_TYPE.
	(cp_parser_trait_expr): Deal with RID_UNDERLYING_TYPE; tidy.
	* semantics.c (finish_underlying_type): New.
	* typeck.c (structural_comptypes): Handle UNDERLYING_TYPE.
	* error.c (dump_type, dump_type_prefix, dump_type_suffix): Likewise.
	* cxx-pretty-print.c (p_cxx_type_id): Likewise.
	* tree.c (cp_walk_subtrees): Likewise.
	* pt.c (for_each_template_parm_r, tsubst, unify,
	dependent_type_p_r): Likewise.
	* mangle.c (write_type): Sorry for __underlying_type.

/testsuite
2011-04-25  Paolo Carlini  <paolo.carlini@oracle.com>

	* g++.dg/ext/underlying_type1.C: New.
	* g++.dg/ext/underlying_type2.C: Likewise.
	* g++.dg/ext/underlying_type3.C: Likewise.
	* g++.dg/ext/underlying_type4.C: Likewise.
	* g++.dg/ext/underlying_type5.C: Likewise.
	* g++.dg/ext/underlying_type6.C: Likewise.
	* g++.dg/ext/underlying_type7.C: Likewise.
	* g++.dg/ext/underlying_type8.C: Likewise.
	* g++.dg/ext/underlying_type9.C: Likewise.
	* g++.dg/ext/underlying_type10.C: Likewise.

From-SVN: r172945
2011-04-25 23:50:35 +00:00
boehm-gc install.texi (Configuration, [...]): Remove mach. 2011-04-19 17:22:28 +00:00
config * bootstrap-lto.mk: Remove obsolete requirement. 2011-04-20 09:24:48 +00:00
contrib ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h. 2011-04-25 18:05:37 +00:00
fixincludes MAINTAINERS (crx port, [...]): Remove. 2011-03-22 19:58:18 +00:00
gcc c-common.c (struct c_common_resword): Add __underlying_type. 2011-04-25 23:50:35 +00:00
gnattools PR other/46202: implement install-strip. 2010-11-20 19:37:08 +00:00
include ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h. 2011-04-25 18:05:37 +00:00
INSTALL
intl
libada PR other/46202: implement install-strip. 2010-11-20 19:37:08 +00:00
libcpp ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h. 2011-04-25 18:05:37 +00:00
libdecnumber remove useless if-before-free tests 2011-04-20 18:19:03 +00:00
libffi Remove freebsd1 from libtool.m4 macros and config.rpath. 2011-02-13 11:45:53 +00:00
libgcc MAINTAINERS (crx port, [...]): Remove. 2011-03-22 19:58:18 +00:00
libgfortran remove useless if-before-free tests 2011-04-20 18:19:03 +00:00
libgo libgo/time: Support Irix 6 location of zoneinfo files. 2011-04-25 19:42:33 +00:00
libgomp re PR middle-end/48591 (OpenMP ICE with atomics on __float128 in 32-bit only i686 cc1) 2011-04-13 17:50:02 +02:00
libiberty remove useless if-before-free tests 2011-04-20 18:19:03 +00:00
libjava * README: Refer to our generic bug reporting page. 2011-04-24 10:04:26 +00:00
libmudflap Remove freebsd1 from libtool.m4 macros and config.rpath. 2011-02-13 11:45:53 +00:00
libobjc re PR libobjc/32037 (--enable-objc-gc on OS X won't build) 2011-04-15 09:26:05 +00:00
libquadmath re PR fortran/48311 ([Quadmath] Documentation - typo, order) 2011-04-03 20:45:16 +02:00
libssp re PR bootstrap/48135 (build fails on Solaris2.8 due to Glob.pm not found within /usr/perl5) 2011-03-21 12:24:17 +00:00
libstdc++-v3 type_traits (struct underlying_type): Add. 2011-04-25 23:04:16 +00:00
lto-plugin remove useless if-before-free tests 2011-04-20 18:19:03 +00:00
maintainer-scripts gcc_release (maybe_build_tarfile): Don't build a tarfile if the first directory doesn't exist. 2011-04-21 15:15:02 +02:00
zlib Remove freebsd1 from libtool.m4 macros and config.rpath. 2011-02-13 11:45:53 +00:00
ABOUT-NLS
ChangeLog * MAINTAINERS: Update my email address. 2011-04-22 02:30:57 +00:00
ChangeLog.tree-ssa
compile
config-ml.in MAINTAINERS (crx port, [...]): Remove. 2011-03-22 19:58:18 +00:00
config.guess config.guess: Update to version 2011-02-02 2011-03-18 13:42:07 -04:00
config.rpath Remove freebsd1 from libtool.m4 macros and config.rpath. 2011-02-13 11:45:53 +00:00
config.sub Sync config.sub from upstream. 2011-04-05 19:05:27 +00:00
configure re PR lto/48086 (bootstrap-lto creates c-common.s with too many sections on x86_64-apple-darwin10) 2011-04-18 21:27:00 +00:00
configure.ac re PR lto/48086 (bootstrap-lto creates c-common.s with too many sections on x86_64-apple-darwin10) 2011-04-18 21:27:00 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4 Remove freebsd1 from libtool.m4 macros and config.rpath. 2011-02-13 11:45:53 +00:00
lt~obsolete.m4
ltgcc.m4
ltmain.sh backport: ltmain.sh (relink): Use absolute path when hardcoding with -L. 2011-01-13 18:51:10 +00:00
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS Remove Dale Johannesen as darwin maintainer, invalid address. 2011-04-23 00:41:32 +00:00
Makefile.def configure.ac (build_tools): Remove build-byacc. 2011-04-06 13:18:12 +01:00
Makefile.in configure.ac (build_tools): Remove build-byacc. 2011-04-06 13:18:12 +01:00
Makefile.tpl configure.ac: Remove code setting CONFIG_SHELL, config_shell and moveifchange. 2011-04-01 14:43:39 +01:00
missing
mkdep
mkinstalldirs
move-if-change Import move-if-change script from gnulib. 2011-02-12 15:48:30 +00:00
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.