Commit Graph

111278 Commits

Author SHA1 Message Date
Diego Novillo
f0efc7aa77 rebase
From-SVN: r177571
2011-08-08 12:49:34 -04:00
H.J. Lu
b7926cf905 Add a testcase for PR target/49781.
2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/49781
	* gcc.target/i386/pr49781-1.c: New.

From-SVN: r177569
2011-08-08 09:33:06 -07:00
Rainer Orth
ddaad3c8b1 configure.ac (THREADS): Remove posix95.
boehm-gc:
	* configure.ac (THREADS): Remove posix95.
	* configure: Regenerate.

	gcc:
	* gthr-posix95.h: Remove.
	* gthr.h [_PTHREADS95]: Remove.
	* configure.ac (enable_threads): Remove posix95.
	* configure: Regenerate.
	* doc/install.texi (Configuration, --enable-threads): Remove
	posix95.

	libgomp:
	* config/posix95/lock.c, posix95/omp-lock.h: Remove.

	libjava:
	* configure.ac (THREADS): Remove posix95.
	* configure: Regenerate.

From-SVN: r177568
2011-08-08 15:39:35 +00:00
Jason Merrill
712c948a07 re PR c++/50020 ([C++0x] internal compiler error range for in templated class)
PR c++/50020
	* semantics.c (finish_call_expr): Don't look at 'this' if we
	had an explicit object argument.

From-SVN: r177567
2011-08-08 11:32:21 -04:00
Uros Bizjak
473b30ce95 re PR target/49781 ([x32] Unnecessary lea in x32 mode)
PR target/49781
	* config/i386/i386.c (ix86_decompose_address): Allow zero-extended
	SImode addresses.
	(ix86_print_operand_address): Handle zero-extended addresses.
	(memory_address_length): Add length of addr32 prefix for
	zero-extended addresses.
	(ix86_secondary_reload): Handle moves to/from double-word general
	registers from/to zero-extended addresses.
	* config/i386/predicates.md (lea_address_operand): Reject
	zero-extended operands.

From-SVN: r177566
2011-08-08 16:59:19 +02:00
Jason Merrill
d7cfa3145f re PR c++/50011 ([C++0x] warning: narrowing conversion of 'i' from 'short unsigned int' to 'int' inside { } [-Wnarrowing])
PR c++/50011
	* typeck2.c (check_narrowing): Fix integer logic.

From-SVN: r177565
2011-08-08 10:36:22 -04:00
H.J. Lu
cca2207a2d Fix Dwarf unwind library for UNITS_PER_WORD > sizeof (void *)
gcc/

2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>

	PR other/48007
	* config.gcc (libgcc_tm_file): Add i386/value-unwind.h for
	Linux/x86.

	* system.h (REG_VALUE_IN_UNWIND_CONTEXT): Poisoned.
	(ASSUME_EXTENDED_UNWIND_CONTEXT): Likewise.

	* unwind-dw2.c (ASSUME_EXTENDED_UNWIND_CONTEXT): New.
	(_Unwind_Context_Reg_Val): Likewise.
	(_Unwind_Get_Unwind_Word): Likewise.
	(_Unwind_Get_Unwind_Context_Reg_Val): Likewise.
	(_Unwind_Context): Use _Unwind_Context_Reg_Val on the reg field.
	(_Unwind_IsExtendedContext): Check ASSUME_EXTENDED_UNWIND_CONTEXT
	for EXTENDED_CONTEXT_BIT.
	(__frame_state_for): Likewise.
	(uw_init_context_1): Likewise.
	(_Unwind_GetGR): Updated.
	(_Unwind_SetGR): Likewise.
	(_Unwind_GetGRPtr): Likewise.
	(_Unwind_SetGRPtr): Likewise.
	(_Unwind_SetGRValue): Likewise.
	(_Unwind_GRByValue): Likewise.
	(uw_install_context_1): Likewise.

	* doc/tm.texi.in: Document REG_VALUE_IN_UNWIND_CONTEXT and
	ASSUME_EXTENDED_UNWIND_CONTEXT.
	* doc/tm.texi: Regenerated.

libgcc/

2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>

	PR other/48007
	* config/i386/value-unwind.h: New.

From-SVN: r177563
2011-08-08 06:26:06 -07:00
Rainer Orth
b6ee5bef6e * Makefile.in (gengtype$(exeext)): Add $(LDFLAGS).
From-SVN: r177562
2011-08-08 12:36:51 +00:00
Rainer Orth
56e6b4a277 New files from last commit.
From-SVN: r177561
2011-08-08 12:15:42 +00:00
Rainer Orth
46135ba7ad invoke.texi (DEC Alpha Options, -mcpu): native support isn't Linux/GNU-specific.
* doc/invoke.texi (DEC Alpha Options, -mcpu): native support isn't
	Linux/GNU-specific.
	(DEC Alpha Options, -mtune): Likewise.
	(MIPS Options, -march): native is supported on IRIX.

From-SVN: r177560
2011-08-08 12:14:54 +00:00
Rainer Orth
e3b3fa45a4 driver-sparc.c: New file.
gcc:
	* config/sparc/driver-sparc.c: New file.
	* config/sparc/x-sparc: New file.
	* config.host: Use driver-sparc.o, sparc/x-sparc on
	sparc*-*-solaris2*.
	* config/sparc/sparc.opt (native): New value for enum
	processor_type.
	* config/sparc/sparc-opts.h (PROCESSOR_NATIVE): Declare.
	* config/sparc/sparc.c (sparc_option_override): Abort if
	PROCESSOR_NATIVE gets here.
	* config/sparc/sol2.h [__sparc__] (host_detect_local_cpu): Declare.
	(EXTRA_SPEC_FUNCTIONS, MCPU_MTUNE_NATIVE_SPECS,
	DRIVER_SELF_SPECS): Define.
	* doc/invoke.texi (SPARC Options, -mcpu): Document native.
	(SPARC Options, -mtune): Likewise.
	* configure.ac (EXTRA_GCC_LIBS): Check for libkstat.
	Substitute result.
	* configure: Regenerate.
	* Makefile.in (EXTRA_GCC_LIBS): Set.
	(xgcc$(exeext)): Add $(EXTRA_GCC_LIBS).
	(cpp$(exeext)): Likewise.

	gcc/cp:
	* Make-lang.in (g++$(exeext)): Add $(EXTRA_GCC_LIBS).

	gcc/fortran:
	* Make-lang.in (gfortran$(exeext)): Add $(EXTRA_GCC_LIBS).

	gcc/go:
	* Make-lang.in (gccgo$(exeext)): Add $(EXTRA_GCC_LIBS).

	gcc/java:
	* Make-lang.in ($(XGCJ)$(exeext)): Add $(EXTRA_GCC_LIBS).

From-SVN: r177559
2011-08-08 12:08:31 +00:00
Richard Guenther
ce6bfa50fa tree-vrp.c (extract_range_from_unary_expr_1): New function, split out from ...
2011-08-08  Richard Guenther  <rguenther@suse.de>

	* tree-vrp.c (extract_range_from_unary_expr_1): New function,
	split out from ...
	(extract_range_from_unary_expr): ... here.  Handle BIT_NOT_EXPR
	by composition.

From-SVN: r177558
2011-08-08 11:40:08 +00:00
Mikael Pettersson
daae4650a9 re PR tree-optimization/50005 (ipa-inline-analysis.c:1876:41: error: comparison between signed an d unsigned integer expressions)
2011-08-08  Mikael Pettersson  <mikpe@it.uu.se>

        PR tree-optimization/50005
        * ipa-inline-analysis (remap_predicate): Add cast to
        silence signed/unsigned comparison warning.

From-SVN: r177557
2011-08-08 09:59:02 +00:00
Richard Sandiford
3e762578c1 modulo-sched.c (get_sched_window): Use a table for the debug output.
gcc/
	* modulo-sched.c (get_sched_window): Use a table for the debug output.
	Print the current ii.
	(sms_schedule_by_order): Reduce whitespace in dump line.

From-SVN: r177556
2011-08-08 09:27:40 +00:00
Richard Sandiford
fe43febc8c modulo-sched.c (get_sched_window): Use just one loop for predecessors and one loop for successors.
gcc/
	* modulo-sched.c (get_sched_window): Use just one loop for predecessors
	and one loop for successors.  Fix upper bound of memory range.

From-SVN: r177555
2011-08-08 09:26:54 +00:00
GCC Administrator
d855a67e7d Daily bump.
From-SVN: r177554
2011-08-08 00:19:29 +00:00
Janus Weil
2240d1cfe8 re PR fortran/49638 ([OOP] length parameter is ignored when overriding type bound character functions with constant length.)
2011-08-07  Janus Weil  <janus@gcc.gnu.org>
	    Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/49638
	* dependency.c (are_identical_variables): For dummy arguments only
	check for equal names, not equal symbols.
	* interface.c (gfc_check_typebound_override): Add checking for rank
	and character length.

2011-08-07  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/49638
	* gfortran.dg/typebound_override_1.f90: New.

Co-Authored-By: Thomas Koenig <tkoenig@gcc.gnu.org>

From-SVN: r177550
2011-08-07 22:59:16 +02:00
Eric Botcazou
588c8f488f gigi.h (enumerate_modes): Fix formatting.
* gcc-interface/gigi.h (enumerate_modes): Fix formatting.

	* gcc-interface/trans.c (Subprogram_Body_to_gnu): Revert latest change.

From-SVN: r177548
2011-08-07 16:47:14 +00:00
Jonathan Wakely
a5db4ced81 alloc_traits.h: Fix doxygen @headername.
2011-08-07  Jonathan Wakely  <jwakely.gcc@gmail.com>

	* include/bits/alloc_traits.h: Fix doxygen @headername.

From-SVN: r177546
2011-08-07 13:25:48 +01:00
Janus Weil
99fc1b90cd re PR fortran/49638 ([OOP] length parameter is ignored when overriding type bound character functions with constant length.)
2011-08-07  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/49638
	* dependency.h (gfc_is_same_range,gfc_are_identical_variables): Remove
	two prototypes.
	* dependency.c (gfc_are_identical_variables,are_identical_variables):
	Renamed the former to the latter and made static.
	(gfc_dep_compare_expr): Renamed 'gfc_are_identical_variables', handle
	commutativity of multiplication.
	(gfc_is_same_range,is_same_range): Renamed the former to the latter,
	made static and removed argument 'def'.
	(check_section_vs_section): Renamed 'gfc_is_same_range'.
	* gfortran.h (gfc_check_typebound_override): New prototype.
	* interface.c (gfc_check_typebound_override): Moved here from ...
	* resolve.c (check_typebound_override): ... here (and renamed).
	(resolve_typebound_procedure): Renamed 'check_typebound_override'.

From-SVN: r177545
2011-08-07 12:12:09 +02:00
Eric Botcazou
f446d60e81 * gcc-interface/Makefile.in (raise-gcc.o): Fix previous change.
From-SVN: r177544
2011-08-07 08:44:06 +00:00
Kai Tietz
cd6cf2c9a6 pr23455.c: Adjust testcases for LLP64 for x86_64 mingw target.
* gcc.dg/tree-ssa/pr23455.c: Adjust testcases for LLP64 for
	x86_64 mingw target.
	* gcc.dg/tree-ssa/loop-1.c: Likewise.
	* gcc.dg/tree-ssa/ssa-store-ccp-2.c: Likewise.
	* gcc.dg/tree-ssa/ssa-store-ccp-3.c: Likewise.
	* gcc.dg/tree-ssa/loop-33.c: Likewise.
	* gcc.dg/tree-ssa/ssa-store-ccp-4.c: Likewise.
	* gcc.dg/tree-ssa/loop-35.c: Likewise.
	* gcc.dg/tree-ssa/stdarg-2.c: Likewise.
	* gcc.dg/tree-ssa/stdarg-4.c: Likewise.
	* gcc.dg/tree-ssa/stdarg-5.c: Likewise.
	* gcc.dg/tree-ssa/gen-vect-11c.c: Likewise.

From-SVN: r177543
2011-08-07 09:45:57 +02:00
Benjamin Kosnik
93c66bc68a user.cfg.in (PDF_HYPERLINKS): To NO.
2011-08-06  Benjamin Kosnik  <bkoz@redhat.com>

	* doc/doxygen/user.cfg.in (PDF_HYPERLINKS): To NO.

2011-08-06  Benjamin Kosnik  <bkoz@redhat.com>

	* doc/doxygen/user.cfg.in: Add scoped_allocator.

	* include/debug/safe_sequence.h: Fix doxygen markup.
	* include/debug/safe_unordered_base.h: Same.
	* include/debug/safe_local_iterator.tcc: Same.
	* include/debug/safe_unordered_container.h: Same.
	* include/std/valarray: Same.
	* include/std/iomanip: Same.
	* include/std/streambuf: Same.
	* include/std/bitset: Same.
	* include/std/fstream: Same.
	* include/std/functional: Same.
	* include/std/istream: Same.
	* include/std/ostream: Same.
	* include/std/scoped_allocator: Same.
	* include/std/sstream: Same.
	* include/parallel/multiway_merge.h: Same.
	* include/parallel/base.h: Same.
	* include/parallel/for_each_selectors.h: Same.
	* include/parallel/multiway_mergesort.h: Same.
	* include/parallel/search.h: Same.
	* include/parallel/partial_sum.h: Same.
	* include/parallel/queue.h: Same.
	* include/parallel/sort.h: Same.
	* include/parallel/random_number.h: Same.
	* include/ext/vstring.h: Same.
	* include/ext/algorithm: Same.
	* include/ext/pb_ds/assoc_container.h: Same.
	* include/ext/bitmap_allocator.h: Same.
	* include/ext/stdio_filebuf.h: Same.
	* include/ext/memory: Same.
	* include/ext/functional: Same.
	* include/bits/basic_ios.h: Same.
	* include/bits/stl_list.h: Same.
	* include/bits/stl_map.h: Same.
	* include/bits/stl_algobase.h: Same.
	* include/bits/stl_queue.h: Same.
	* include/bits/gslice.h: Same.
	* include/bits/locale_classes.h: Same.
	* include/bits/stl_set.h: Same.
	* include/bits/locale_facets.h: Same.
	* include/bits/stl_stack.h: Same.
	* include/bits/stl_heap.h: Same.
	* include/bits/forward_list.h: Same.
	* include/bits/stream_iterator.h: Same.
	* include/bits/basic_string.h: Same.
	* include/bits/stl_multimap.h: Same.
	* include/bits/stl_pair.h: Same.
	* include/bits/ios_base.h: Same.
	* include/bits/stl_numeric.h: Same.
	* include/bits/stl_vector.h: Same.
	* include/bits/stl_deque.h: Same.
	* include/bits/codecvt.h: Same.
	* include/bits/stl_multiset.h: Same.
	* include/bits/stl_uninitialized.h: Same.
	* include/bits/ptr_traits.h: Same.
	* include/bits/slice_array.h: Same.
	* include/bits/stl_iterator_base_funcs.h: Same.
	* include/bits/stl_algo.h: Same.
	* include/bits/stl_iterator.h: Same.
	* include/bits/stl_tempbuf.h: Same.
	* include/bits/regex.h: Same.
	* include/bits/range_access.h: Same.
	* include/bits/random.h: Same.
	* include/bits/alloc_traits.h: Same.
	* include/bits/regex_error.h: Same.
	* include/bits/locale_facets_nonio.h: Same.
	* include/bits/stl_relops.h: Same.
	* include/backward/auto_ptr.h: Same.
	* libsupc++/initializer_list: Same.

	* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
	Adjust line numbers.
	* testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
	* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
	Same.
	* testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
	Same.

From-SVN: r177542
2011-08-07 07:27:06 +00:00
GCC Administrator
77d2c8b34f Daily bump.
From-SVN: r177541
2011-08-07 00:18:41 +00:00
Uros Bizjak
476ccc3fc4 re PR testsuite/48727 (FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2)
PR testsuite/48727
	* g++.dg/opt/devirt2.C: Use specific pattern for alpha*-*-*.

From-SVN: r177537
2011-08-06 23:37:22 +02:00
Uros Bizjak
ed003a8855 pr48770.c: Cleanup coverage files.
* gcc.dg/pr48770.c: Cleanup coverage files.
	* gfortran.dg/vect/O3-pr49957.f: Cleanup vect tree dump.

From-SVN: r177536
2011-08-06 21:10:07 +02:00
Richard Sandiford
ed39fbad9a libgcc/
* config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
	(*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
	Add to tmake_file rather than overriding it.

From-SVN: r177533
2011-08-06 18:41:36 +00:00
Uros Bizjak
1e46eb2a1b re PR rtl-optimization/50001 ([alpha]: ICE in reload_combine_note_use, at postreload.c:1538)
PR target/50001
	* config/alpha/alpha.c (alpha_instantiate_decls): New function.
	(TARGET_INSTANTIATE_DECLS): New define.

From-SVN: r177531
2011-08-06 20:39:19 +02:00
Uros Bizjak
bd82021880 test-expandargv.c (writeout_test): Check result of fwrite.
* testsuite/test-expandargv.c (writeout_test): Check result of fwrite.

From-SVN: r177529
2011-08-06 19:38:04 +02:00
Uros Bizjak
bc336d6308 sse-22.c (dg-options): Add -march=k8.
* gcc.target/i386/sse-22.c (dg-options): Add -march=k8.
	(pragma GCC target): Add avx, fma4, lzcnt and bmi options.
	* gcc.target/i386/sse-23.c (pragma GCC target): Add avx, fma4,
	lzcnt and bmi options.

From-SVN: r177528
2011-08-06 18:56:49 +02:00
Thomas Koenig
48b155b991 re PR fortran/50004 (ICE in c_ptr_tests_16.f90)
2011-08-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/50004
	* target-memory.c (gfc_target_expr-size): Don't clobber typespec
	for derived types.
	* simplify.c (gfc_simplify_transfer): Don't calculate source_size
	twice.

From-SVN: r177527
2011-08-06 15:19:45 +00:00
Paolo Bonzini
cc3801b0e6 Makefile.in (INCLUDES_FOR_TARGET): New.
2011-08-06  Paolo Bonzini  <bonzini@gnu.org>
            Mikael Morin   <mikael.morin@sfr.fr>

	* Makefile.in (INCLUDES_FOR_TARGET): New.
	(LIBGCC2_CFLAGS): Use it.
	(CRTSTUFF_CFLAGS): Use it instead of INCLUDES. 


Co-Authored-By: Mikael Morin <mikael.morin@sfr.fr>

From-SVN: r177522
2011-08-06 15:14:06 +00:00
H.J. Lu
56b6687b9e Add testcases for PR 47381.
2011-08-06  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/47381
	* gcc.dg/pr47381-1.c: New.
	* gcc.dg/pr47381-2.c: Likewise.
	* gcc.target/i386/pr47381.c: Likewise.

From-SVN: r177514
2011-08-06 07:57:52 -07:00
H.J. Lu
8f2b8cdefe Add testcases for PRs 47727/47372/47715.
2011-08-06  H.J. Lu  <hongjiu.lu@intel.com>

	PR middle-end/47727
	* gcc.dg/pr47727.c: New.

	PR target/47372
	* gcc.dg/pr47372-1.c: New.
	* gcc.dg/pr47372-2.c: Likewise.

	PR target/47715
	* gcc.dg/tls/pr47715-5.c: New.

From-SVN: r177513
2011-08-06 07:50:05 -07:00
H.J. Lu
7ac1b8a01e Add testcases for PRs 47449/47446.
2011-08-06  H.J. Lu  <hongjiu.lu@intel.com>

	PR middle-end/47449
	* gcc.target/i386/pr47449.c: New.

	PR target/47446
	* gcc.dg/pr47446-1.c: New.
	* gcc.dg/pr47446-2.c: Likewise.

From-SVN: r177512
2011-08-06 07:36:52 -07:00
H.J. Lu
08094409ca Add testcases for PRs 47766/47715.
2011-08-06  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/47766
	* gcc.dg/pr47766.c: New.

	PR target/47715
	* gcc.dg/tls/pr47715-1.c: New.
	* gcc.dg/tls/pr47715-2.c: Likewise.
	* gcc.dg/tls/pr47715-3.c: Likewise.
	* gcc.dg/tls/pr47715-4.c: Likewise.

From-SVN: r177511
2011-08-06 07:25:58 -07:00
Nicola Pero
0e0677a2f0 In libobjc/: 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>

	PR libobjc/50002
	* class.c (__objc_update_classes_with_methods): Iterate over meta
	classes as well as normal classes when refreshing the method
	implementations.  This fixes replacing class methods.

2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>

	* class.c (class_getSuperclass): Fixed to work with meta classes
	still in construction too.

In gcc/testsuite/:
2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>

	PR libobjc/50002
	* objc.dg/gnu-api-2-class.m: Updated comments.
	* obj-c++.dg/gnu-api-2-class.mm: Likewise.
	* objc.dg/gnu-api-2-class-meta.m: New test.
	* obj-c++.dg/gnu-api-2-class-meta.mm: Likewise.
	
2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
	
	PR libobjc/49882
	* obj-c++.dg/gnu-api-2-class.mm (main): Test class_getSuperclass()
	with classes that are in construction.

From-SVN: r177510
2011-08-06 14:20:09 +00:00
H.J. Lu
7dff453e64 Add testcases for PRs 48084/49504/49860.
2011-08-06  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/48084
	* gcc.target/i386/pr48084-1.c: New.
	* gcc.target/i386/pr48084-2.c: Likewise.
	* gcc.target/i386/pr48084-3.c: Likewise.
	* gcc.target/i386/pr48084-4.c: Likewise.
	* gcc.target/i386/pr48084-5.c: Likewise.

	PR rtl-optimization/49504
	* gcc.target/i386/pr49504.c: New.

	PR target/49860
	* gcc.dg/pr49860.c: New.

From-SVN: r177509
2011-08-06 07:05:39 -07:00
Uros Bizjak
f68c9aa8fe i386.c (ix86_compute_frame_layout): Simplify frame->save_regs_using_mov calculation.
* config/i386/i386.c (ix86_compute_frame_layout): Simplify
	frame->save_regs_using_mov calculation.

From-SVN: r177508
2011-08-06 14:48:13 +02:00
Andreas Schwab
2c7f9cc076 Remove conflict marker
From-SVN: r177507
2011-08-06 10:07:58 +00:00
Nicola Pero
e2852612bf In libobjc/: 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>

	* class.c (class_getSuperclass): Fixed typo in comment.

From-SVN: r177506
2011-08-06 09:53:43 +00:00
Nicola Pero
3f54203792 In libobjc/: 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>

	PR libobjc/49882
	* class.c (class_getSuperclass): Return the superclass if the
	class is in construction.
	* objc/runtime.h (class_getSuperclass): Updated documentation.

In gcc/testsuite/:
2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
	
	PR libobjc/49882
	* objc.dg/gnu-api-2-class.m (main): Test class_getSuperclass()
	with classes that are in construction.

From-SVN: r177505
2011-08-06 09:49:30 +00:00
Uros Bizjak
cd7c6bc5bf i386.md (ssemodesuffix): Remove V8SI mode.
* config/i386/i386.md (ssemodesuffix): Remove V8SI mode.
	* config/i386/sse.md (castmode): New mode attribute.
	(avx_<castmode><avxsizesuffix>_<castmode>): Rename from
	avx_<ssemodesuffix><avxsizesuffix>_<ssemodesuffix>.

From-SVN: r177504
2011-08-06 10:15:10 +02:00
Jason Merrill
b569be8ca6 re PR c++/48993 ([C++0x] segmentation fault when compiling this program with constexpr)
PR c++/48993
	* semantics.c (potential_constant_expression_1) [CALL_EXPR]: Sorry
	on 'this' in a constructor.

From-SVN: r177499
2011-08-06 00:34:45 -04:00
Jason Merrill
bb0a32e80d re PR c++/49921 ([C++0x] Segfault during compilation, decltype and operator->*)
PR c++/49921
	* semantics.c (finish_decltype_type): Call invalid_nonstatic_memfn_p.

From-SVN: r177498
2011-08-06 00:34:37 -04:00
Jason Merrill
dd56ca9f1c re PR c++/49669 ([C++0x] Compiler crashes with "internal compiler error: in perform_member_init, at cp/init.c:530")
PR c++/49669
	* init.c (perform_member_init): Handle invalid array initializer.

From-SVN: r177497
2011-08-06 00:34:29 -04:00
Jason Merrill
5c67ef9aef re PR c++/49988 (constexpr on ctor invokes improper initialization)
PR c++/49988
	* semantics.c (cxx_eval_array_reference): Handle failure to
	reduce the array operand to something we can work with.

From-SVN: r177496
2011-08-06 00:34:21 -04:00
GCC Administrator
de9ef71ca7 Daily bump.
From-SVN: r177495
2011-08-06 00:18:02 +00:00
Thomas Koenig
5f7c4bd72d re PR fortran/37211 (TRANSFER to characters: Size checking)
2011-08-05  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/37211
        * fortran/ChangeLog:  Correct PR number from last commit.
        * testsuite/ChangeLog:  Likewise.

From-SVN: r177491
2011-08-05 23:06:18 +00:00
H.J. Lu
8c14fefc3f Add a testcase for PR target/47369.
2011-08-05  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/47369
	* gcc.dg/pr47369-1.c: New.

From-SVN: r177490
2011-08-05 15:37:32 -07:00