Go to file
Kai Tietz a6766312d3 demangle-expected: Add tests for __int128 and unsigned __int128 types.
libiberty/

2010-05-26  Kai Tietz  <kai.tietz@onevision.com>

        * testsuite/demangle-expected: Add tests for __int128
        and unsigned __int128 types.

gcc/testsuite
2010-05-26  Kai Tietz  <kai.tietz@onevision.com>

	* lib/target-supports.exp (check_effective_target_int128): New
	function to check if __int128 types are available for target.
	* testsuite/c-c++-common/int128-types-1.c: New.
	* testsuite/c-c++-common/int128-1.c: New.
	* testsuite/c-c++-common/int128-2.c: New.
	* g++.dg/abi/mangle43.C: New.
	* g++.dg/init/enum1.C: Handle __int128 case and add -Wno-overflow.
	* g++.dg/cpp0x/nullptr04.C: Use __SIZE_TYPE__ for getting
	pointer-wide scalar.
	* g++.dg/other/pr25632.C: Likewise.
	* g++.dg/other/large-size-array.C (DIM): Use ULLONG_MAX for win64 case.
	* g++.dg/warn/pr13358-2.C: Add llp64 for check of special
	overflow warnings.
	* g++.dg/warn/pr13358-4.C: Likewise.
	* g++.dg/warn/Wconversion-null-2.C:  Add 'long long' case.
	* g++.dg/warn/Wconversion-null.C: Likewise.

gcc/
2010-05-26  Kai Tietz  <kai.tietz@onevision.com>

	* builtin-types.def (BT_INT128): New primitive type.
	(BT_UINT128): Likewise.
	* c-common.c (c_common_r): Add __int128 keyword.
	(c_common_type_for_size): Handle __int128.
	(c_common_type_for_mode): Likewise.
	(c_common_signed_or_unsigned_type): Likewise.
	(c_common_nodes_and_builtins): Add builtin type
	if target supports 128-bit integer scalar.
	* c-common.h (enum rid): Add RID_INT128.
	* c-cppbuiltin.c (c_cpp_builtins): Define __SIZEOF_INT128__
	if target supports 128-bit integer scalar.
	* c-decl.c (declspecs_add_type): Handle new keyword
	__int128.
	(finish_declspecs): Likewise.
	* c-parser.c (c_token_starts_typename): Handle RID_INT128.
	(c_token_starts_declspecs): Likewise.
	(c_parser_declspecs): Likewise.
	(c_parser_attributes): Likewise.
	(c_parser_objc_selector): Likewise.
	* c-pretty-print.c (pp_c_integer_constant): Handle __int128.
	* c-tree.h (enum c_typespec_keyword): Add cts_int128.
	* gimple.c (gimple_signed_or_unsigned_type): Handle int128 types.
	* tree.c (make_or_reuse_type): Likewise.
	(make_unsigned_type): Likewise.
	(build_common_tree_nodes_2): Likewise.
	* tree.h (enum integer_type_kind): Add itk_int128 and
	itk_unsigned_int128.
	(int128_integer_type_node): New define..
	(int128_unsigned_type_node): New define.
	* cp/cp-tree.h (cp_decl_specifier_seq): Add new bifield
	explicit_int128_p.
	* cp/decl.c (grokdeclarator): Handle __int128.
	* cp/parser.c (cp_lexer_next_token_is_decl_specifier_ke): Likewise.
	(cp_parser_simple_type_specifier): Likewise.
	* cp/rtti.c (emit_support_tinfos): Add int128 nodes for rtti.
	* cp/typeck.c (cp_common_type): Handle __int128.
	* cp/mangle.c (integer_type_codes): Add itk_int128 and
	itk_unsigned_int128.
	* doc/extend.texi: Add documentation about __int128 type.

From-SVN: r159879
2010-05-26 18:13:55 +02:00
boehm-gc leak_test.c (main): Declare as int. 2010-05-13 00:45:35 +02:00
config
contrib configure.ac: Redirect grep stdout, stderr to /dev/null instead of grep -q. 2010-05-25 18:50:01 +00:00
fixincludes
gcc demangle-expected: Add tests for __int128 and unsigned __int128 types. 2010-05-26 18:13:55 +02:00
gnattools
include * filenames.h (PATH_SEPARATOR): Delete. 2010-04-26 17:43:53 +00:00
INSTALL
intl
libada
libcpp * fi.po: New. 2010-05-15 02:06:29 +01:00
libdecnumber
libffi configure.ac (libffi_cv_as_x86_pcrel): Check for illegal in as output, too. 2010-05-19 15:31:36 +00:00
libgcc config.host (sparc64-*-rtems*): New target. 2010-05-21 14:56:57 +00:00
libgfortran re PR fortran/43851 (Add _gfortran_error_stop_numeric) 2010-05-20 19:40:30 +00:00
libgomp no-dist in non-imported automake dirs. 2010-05-04 18:58:11 +00:00
libiberty demangle-expected: Add tests for __int128 and unsigned __int128 types. 2010-05-26 18:13:55 +02:00
libjava configure.ac: Redirect grep stdout, stderr to /dev/null instead of grep -q. 2010-05-25 18:50:01 +00:00
libmudflap pass46-frag.c (dg-options): Remove -Wall. 2010-05-16 12:03:01 +02:00
libobjc
libssp no-dist in non-imported automake dirs. 2010-05-04 18:58:11 +00:00
libstdc++-v3 re PR libstdc++/25306 (fill_n, generate_n assume Size is modifiable) 2010-05-21 16:57:17 +00:00
lto-plugin lto-plugin.c (write_resolution): Do not assert syms is non-NULL. 2010-05-21 16:08:28 +00:00
maintainer-scripts
zlib
ABOUT-NLS
ChangeLog config.sub: Update to version 2010-05-21. 2010-05-25 13:22:07 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess config.sub: Update to version 2010-05-21. 2010-05-25 13:22:07 +00:00
config.rpath
config.sub config.sub: Update to version 2010-05-21. 2010-05-25 13:22:07 +00:00
configure add lto to powerpc-*darwin and enable for 32bit darwin 2010-05-18 08:12:56 +00:00
configure.ac add lto to powerpc-*darwin and enable for 32bit darwin 2010-05-18 08:12:56 +00: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 (Write After Approval): Add myself. 2010-05-12 18:48:15 +00:00
Makefile.def configure.ac (--enable-gold): Support both, both/gold and both/bfd to add gold to configdirs without removing ld. 2010-04-27 14:27:15 +00:00
Makefile.in configure.ac (--enable-gold): Support both, both/gold and both/bfd to add gold to configdirs without removing ld. 2010-04-27 14:27:15 +00:00
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.