Commit Graph

76260 Commits

Author SHA1 Message Date
Volker Reichelt
04499540e2 re PR c++/28606 (Destructor accepted as return-type of constructor)
PR c++/28606
	* parser.c (cp_parser_diagnose_invalid_type_name): Handle BIT_NOT_EXPR.
	Fix formatting.
	(cp_parser_parse_and_diagnose_invalid_type_name): Tighten condition
	for valid type-names.
	(cp_parser_unqualified_id): Fix error handling for destructors.

	* g++.dg/parse/dtor11.C: New test.

From-SVN: r116217
2006-08-17 09:07:39 +00:00
Alexandre Oliva
3f1e3e7010 re PR target/28146 (-O2 produces invalid code on s390-linux-gnu: gcc-4.1.2 20060608)
PR target/28146
* reload.h (reg_equiv_alt_mem_list): New declaration.
* reload1.c (reg_equiv_alt_mem_list): New definition.
(reload): Initialize it and release it.
(delete_output_reload): Use it.
* reload.c (push_reg_equiv_alt_mem): New function.
(find_reloads_toplev): Call it.
(find_reloads_address, find_reloads_address_1): Likewise.
(find_reloads_subreg_address): Likewise.

From-SVN: r116215
2006-08-17 08:55:02 +00:00
Maxim Kuvyrkov
d3b30e42b7 re PR rtl-optimization/28489 (ICE in move_insn, at haifa-sched.c:1968)
2006-08-17  Maxim Kuvyrkov  <mkuvyrkov@ispras.ru>

	PR rtl-optimization/28489
	* sched-ebb.c (begin_schedule_ready): Create basic block
	at the right place.
	(advance_target_bb): Skip empty blocks.
	* haifa-sched.c (bb_note): Make global.
	* sched-int.h (bb_note): Add prototype.

2006-08-17  Maxim Kuvyrkov  <mkuvyrkov@ispras.ru>

	PR rtl-optimization/28489
	* gcc.c-torture/compile/pr28489.c: New test.

From-SVN: r116214
2006-08-17 08:48:37 +00:00
Zdenek Dvorak
2052721560 re PR tree-optimization/27865 (tree check failure building FreePOOMA)
PR tree-optimization/27865
	* tree-vrp.c (adjust_range_with_scev): Do not use TYPE_{MIN,MAX}_VALUE
	for pointer types.
	* tree-scalar-evolution.c (fold_used_pointer_cast, pointer_offset_p,
	fold_used_pointer, pointer_used_p): New functions.
	(analyze_scalar_evolution_1): Use fold_used_pointer.
	* tree-chrec.c (convert_affine_scev): Convert no-op casts correctly.
	* tree-ssa-loop-ivopts.c (generic_type_for): Return integral type
	for pointers.

From-SVN: r116213
2006-08-17 08:22:05 +00:00
Volker Reichelt
b646edb85c re PR c++/28710 (ICE redeclaring template as non-template)
PR c++/28710
	* decl.c (xref_tag): Improve error message.  Return early on error.

	* g++.dg/template/redecl4.C: New test.

From-SVN: r116211
2006-08-17 08:06:27 +00:00
Volker Reichelt
a97728cfa9 re PR c++/28711 (ICE on invalid initializer for multidimensional array)
PR c++/28711
	* pt.c (tsubst_copy_and_build) <case CONSTRUCTOR>: Robustify.

	* g++.dg/template/ctor8.C: New test.

From-SVN: r116210
2006-08-17 08:02:39 +00:00
Jakub Jelinek
89b3e3cda1 re PR libgomp/28725 (Case Sensitive OpenMP environment variables and patch)
PR libgomp/28725
	* env.c: Include ctype.h.
	(parse_schedule, parse_unsigned_long, parse_boolean): Allow
	leading and/or trailing whitespace and compare strings case
	insensitively.

From-SVN: r116209
2006-08-17 09:58:02 +02:00
Paolo Bonzini
6d4d7b0eed [multiple changes]
2006-08-17  Paolo Bonzini <bonzini@gnu.org>

	PR c++/28573
	* c-common.c (fold_offsetof_1): Add an argument and recurse down to it
	or the INTEGER_CST.  Fail on a CALL_EXPR. 
	(fold_offsetof): Pass new argument to fold_offsetof_1.
	* c-parser.c (c_parser_postfix_expression): Don't include a NULL
	operand into an INDIRECT_REF. 
	* c-typeck.c (build_unary_op): Adjust call to fold_offsetof.

cp:
2006-08-17  Paolo Bonzini  <bonzini@gnu.org>

	PR c++/28573
	* semantics.c (finish_offsetof): Add new argument to fold_offsetof.

testsuite:
2006-08-17  Paolo Bonzini  <bonzini@gnu.org>

	PR c++/28573
	* g++.dg/parse/offsetof6.C: New test.
	* g++.dg/parse/offsetof7.C: New test.

From-SVN: r116208
2006-08-17 07:02:55 +00:00
John David Anglin
e98a430b85 re PR testsuite/28602 (All gfortran.dg/gomp tests fail)
PR testsuite/28602
	* gfortran.dg/gomp/gomp.exp: Return if check_effective_target_fopenmp
	is false.

From-SVN: r116207
2006-08-17 02:26:59 +00:00
Tom Tromey
74c8bcd136 * libtool-version: Updated.
From-SVN: r116206
2006-08-17 01:57:55 +00:00
Andrew Pinski
bd289f543a re PR c++/28302 (ICE with bit-complement for vectors)
2006-08-16  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/28302
        * typeck.c (build_unary_op <case BIT_NOT_EXPR:>): Don't call
        perform_integral_promotions for non integral type
2006-08-16  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/28302
        * g++.dg/ext/vector3.C: New test.

From-SVN: r116205
2006-08-16 18:56:47 -07:00
Jakub Jelinek
97c074fd44 jvspec.c (lang_specific_driver): Add -s-bc-abi when needed.
gcc/java/ChangeLog
	* jvspec.c (lang_specific_driver): Add -s-bc-abi when needed.
libjava/ChangeLog
	* configure, Makefile.in: Rebuilt.
	* Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj_bc.la.
	(libgcj_bc_la_SOURCES): New variable.
	(libgcj_bc_la_LDFLAGS): Likewise.
	(libgcj_bc_la_LIBADD): Likewise.
	(libgcj_bc_la_DEPENDENCIES): Likewise.
	(libgcj_bc_la_LINK): Likewise.
	(libgcj_bc_dummy_LINK): Likewise.
	(libgcj_bc.la): New target.
	(install-exec-hook): Likewise.
	* libgcj.spec.in (*lib): Use LIBGCJ_SPEC.
	* libgcj_bc.c: New file.
	* configure.ac (LIBGCJ_SPEC): New subst.
	* configure.host (use_libgcj_bc): New variable.

Co-Authored-By: Bryce McKinlay <bryce@mckinlay.net.nz>

From-SVN: r116204
2006-08-17 01:03:21 +00:00
Jason Merrill
9180c238de re PR c++/28385 (templated function call goes awry)
PR c++/28385
        * pt.c (tsubst) [TEMPLATE_TYPE_PARM]: Ignore quals from template
        if arg is a function.

From-SVN: r116203
2006-08-16 20:51:37 -04:00
GCC Administrator
4cb55a5ae0 Daily bump.
From-SVN: r116201
2006-08-17 00:17:17 +00:00
Zdenek Dvorak
7e2f40afd4 PR gcov/profile/26570
PR gcov/profile/26570
	* value-prof.c (static_values): Removed.
	(tree_find_values_to_profile): Do not set static_values.
	(find_values_to_profile): Do not free static_values.
	* profile.c (instrument_values): Do not free the values.
	(branch_prob): Free the values.

	* gcc.dg/pr26570.c: New test.

From-SVN: r116197
2006-08-17 00:13:24 +00:00
Naveen.H.S
d8db3756c9 * config/m32c/m32c_lib1.S (__mulsi3): Use only registers for dest.
From-SVN: r116196
2006-08-16 20:05:07 -04:00
Joseph Myers
efed193e0a re PR c/27697 (incorrect warning about constness of pointer to an array in a const struct)
PR c/27697
	* c-typeck.c (build_component_ref): Combine qualifiers of
	structure or union and field.

testsuite:
	* gcc.dg/qual-component-1.c: New test.

From-SVN: r116194
2006-08-17 00:10:46 +01:00
Volker Reichelt
d5d1d25696 re PR c++/28593 (ICE on invalid operator new)
PR c++/28593
	* init.c (build_new): Return early on invalid placement.

	* g++.dg/parse/new3.C: New test.

From-SVN: r116191
2006-08-16 21:35:18 +00:00
Zdenek Dvorak
f074ff6cc0 re PR middle-end/28071 (A file that can not be compiled in reasonable time/space)
PR rtl-optimization/28071
	* basic-block.h (bb_dom_dfs_in, bb_dom_dfs_out): Declare.
	* dominance.c (bb_dom_dfs_in, bb_dom_dfs_out): New functions.
	* tree-into-ssa.c (struct dom_dfsnum): New.
	(cmp_dfsnum, find_dfsnum_interval, prune_unused_phi_nodes): New
	functions.
	(insert_phi_nodes_for): Use prune_unused_phi_nodes instead of
	compute_global_livein.
	(prepare_block_for_update, prepare_use_sites_for): Mark the uses
	in phi nodes in the correct blocks.

From-SVN: r116190
2006-08-16 21:25:39 +00:00
Zdenek Dvorak
b43a2366d6 re PR tree-optimization/28364 (poor optimization choices when iterating over a std::string (probably not c++-specific))
PR tree-optimization/28364
	* tree-ssa-loop-ivopts.c (aff_combination_to_tree): Handle zero
	correctly.
	(fold_affine_expr): New function.
	(may_eliminate_iv): Use fold_affine_expr.

From-SVN: r116189
2006-08-16 21:14:11 +00:00
Volker Reichelt
c58e8676dd re PR c/27489 (ICE on broken switch condition)
PR c/27489
	* c-typeck.c (c_start_case): Handle invalid orig_type correctly.
	Clean up.

From-SVN: r116188
2006-08-16 20:50:18 +00:00
Mike Stump
e8c96d0901 invoke.texi (-Wno-deprecated-declarations): Fixup use of pxref.
* doc/invoke.texi (-Wno-deprecated-declarations): Fixup use of pxref.
	* doc/cppopts.texi (-MD): Likewise.

From-SVN: r116187
2006-08-16 20:36:23 +00:00
Nick Clifton
e1a1c424d2 Oops - this should have been part of r116159, but I forgot to include it on the commit command line. Doh!
From-SVN: r116180
2006-08-16 08:20:51 +00:00
GCC Administrator
3956955041 Daily bump.
From-SVN: r116177
2006-08-16 00:18:02 +00:00
Jerry DeLisle
e524a2763c re PR fortran/25828 ([f2003] ACCESS='STREAM' io support)
2006-08-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/25828
	* gfortran.dg/streamio_1.f90: New test.
	* gfortran.dg/streamio_2.f90: New test.
	* gfortran.dg/streamio_3.f90: New test.
	* gfortran.dg/streamio_4.f90: New test.
	* gfortran.dg/streamio_5.f90: New test.
	* gfortran.dg/streamio_6.f90: New test.
	* gfortran.dg/streamio_7.f90: New test.
	* gfortran.dg/streamio_8.f90: New test.

From-SVN: r116173
2006-08-15 23:14:03 +00:00
Jerry DeLisle
91b30ee5b9 re PR fortran/25828 ([f2003] ACCESS='STREAM' io support)
2006-08-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/25828
	* libgfortran.h: Rename GFC_LARGE_IO_INT to GFC_IO_INT.
	* io/file_pos.c (st_backspace): Ignore if access=STREAM.
	(st_rewind): Handle case of access=STREAM.
	* io/open.c (access_opt): Add STREAM_ACCESS.
	(edit_modes): Set current_record to zero only if not STREAM.
	(new_unit): Initialize maxrec, recl, and last_record for STREAM.
	* io/read.c (read_x): Advance file position for STREAM.
	* io/io.h (enum unit_access): Align IOPARM flags with frontend.
	Add ACCESS_STREAM. Add prototype for is_stream_io () function.
	Use GFC_IO_INT.
	* io/inquire.c (inquire_via_unit): Add text for access = "STREAM".
	* io/unit.c (is_stream_io): New function to return true if access =
	STREAM.
	* io/transfer.c (file_mode): Add modes for unformatted stream and
	formatted stream. (current_mode): Return appropriate file mode based
	on access flags.
	(read_block): Handle formatted stream reads.
	(read_block_direct): Handle unformatted stream reads.
	(write_block): Handle formatted stream writes.
	(write_buf): Handle unformatted stream writes.
	(unformatted_read): Fix up, use temporary for size.
	(pre_position): Position file for STREAM access.
	(data_transfer_init): Initialize for stream access, skip irrelevent
	error checks.
	(next_record_r),(next_record_w), and (next_record): Do nothing for
	stream I/O.
	(finalize_transfer): Flush when all done if stream I/O.

From-SVN: r116172
2006-08-15 23:06:44 +00:00
Jerry DeLisle
014ec6ee5f re PR fortran/25828 ([f2003] ACCESS='STREAM' io support)
2006-08-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/25828
	* gfortran.h: Add new pointer for stream position to st_inquire.
	Rename gfc_large_io_int_kind to gfc_intio_kind.
	* trans-types.c (gfc_init_kinds): use gfc_intio_kind.
	* io.c: Add new IO tag for file position going in and another for out.
	(match_dt_element): Match new tag_spos.
	(gfc_resolve_dt): Resolve new tag_spos.
	(gfc_free_inquire): Free inquire->strm_pos.
	(match_inquire_element): Match new tag_strm_out.
	(gfc_resolve_inquire): Resolve new tag_strm_out.
	* trans-io.c: Rename IOPARM_type_large_io_int to IOPARM_type_intio.
	(gfc_build_st_parameter): Same.
	(gfc_build_io_library_fndecls) Same. and add build pointer type pintio.
	(gfc_trans_inquire): Translate strm_pos for inquire.
	* ioparm.def: Reorder flags to accomodate addition of new inquire
	flag for strm_pos_out and add it in.

From-SVN: r116171
2006-08-15 23:03:28 +00:00
Danny Smith
55af93a8a3 re PR c/28287 (ICE with misplaced attribute weak)
gcc
	PR c/28287
	* c-common.c (handle_weak_attribute): Ignore and warn if
	not a FUNCTION_ or VAR_DECL

testsuite

	* gcc.dg/attr-invalid.c: Add tests for invalid weak attribute.

From-SVN: r116170
2006-08-15 21:46:30 +00:00
Kyle Galloway
c1782c0e69 Incorrect date in changelog
From-SVN: r116169
2006-08-15 21:10:01 +00:00
Kyle Galloway
3d7b0460e7 Forgot to commit changelog with last patch.
2006-08-15  Kyle Galloway  <kgallowa@redhat.com>

  * ChangeLog: Added entry for previous patch

From-SVN: r116168
2006-08-15 21:04:05 +00:00
Kyle Galloway
50ac25005f java-interp.h (_Jv_InterpMethod::run_debug): New method.
2006-08-15  Kyle Galloway  <kgallowa@redhat.com>

  * include/java-interp.h (_Jv_InterpMethod::run_debug): New method.
  * interpret.cc: Added placeholder for debug variable type info to STORE*
  macros.
  (_Jv_InterpMethod::run_debug): New method.
  (_Jv_InterpMethod::run_sync_object_debug): New method.
  (_Jv_InterpMethod::run_sync_class_debug): New method.
  (_Jv_InterpMethod::run_normal_debug): New method.
  (_Jv_InterpMethod::run_class_debug): New method.
  (_Jv_InterpMethod::ncode ()): Changed to select either debug or normal
  versions of these functions.
  * interpret-run.cc: New file, holds contents of old 	
  _Jv_InterpMethod::run method.
  * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Changed to select
  appropriate function for debug or normal mode.

From-SVN: r116167
2006-08-15 20:40:10 +00:00
Mike Stump
4adb785d44 re PR c/28280 (bogus "statement with no effect" warning with VLA and typeof)
PR c/28280
	* c-parser.c (c_parser_typeof_specifier): Don't use
	c_finish_expr_stmt, open code desired semantics instead.

From-SVN: r116163
2006-08-15 18:01:19 +00:00
Lee Millward
d47e3adf1d re PR c++/28594 (ICE with invalid template parameter)
PR c++/28594
	* pt.c (process_template_parm): Robustify.
	* g++.dg/template/void6.C: New test.

From-SVN: r116160
2006-08-15 17:21:09 +00:00
Nick Clifton
b0faa35c0f config.gcc (x86-mingw32): Add a gthr-win32.h including makefile fragment to tmake_file only if...
* config.gcc (x86-mingw32): Add a gthr-win32.h including makefile
  fragment to tmake_file only if threads are enabled.
* config/i386/t-mingw32 (LIB2FUNCS_EXTRA): Move to...
* config/i386/t-gthr-win32: New file. ... here.

From-SVN: r116159
2006-08-15 17:06:18 +00:00
Volker Reichelt
2c14ae9a7b re PR c/28649 (Poor error recovery of C parser)
PR c/28649
	* c-parser.c (c_parser_compound_statement_nostart): Reset
	parser->error after each statement.

	* gcc.dg/parse-error-1.c: New test.
	* gcc.dg/parse-error-2.c: New test.
	* gcc.dg/cpp/digraph2.c: Add error-marker.
	* gcc.dg/noncompile/920923-1.c: Likewise.

From-SVN: r116157
2006-08-15 16:52:25 +00:00
Paolo Carlini
482e4739cd random (poisson_distribution<>::_M_initialize): Add.
2006-08-15  Paolo Carlini  <pcarlini@suse.de>

	* include/tr1/random (poisson_distribution<>::_M_initialize): Add.
	(poisson_distribution<>::poisson_distribution(const _RealType&):
	Use it.
	(operator>>(std::basic_istream<>&, poisson_distribution<>&)):
	Likewise.
	(poisson_distribution<>::_M_large): Remove.
	* include/tr1/random.tcc (poisson_distribution<>::_M_initialize):
	Define.
	(operator<<(std::basic_ostream<>&, const poisson_distribution<>&)):
	Do not output the constants.

	* include/tr1/random (operator>>(std::basic_istream<>&,
	gamma_distribution&)): Minor tweak.
	
	* include/tr1/random.tcc (poisson_distribution<>::operator()):
	Minor tweak.

	* include/tr1/random: Consistently, all data members private.

From-SVN: r116155
2006-08-15 15:11:24 +00:00
Jakub Jelinek
018b899bc7 re PR middle-end/28713 (GNU OpenMP produces type mismatches)
PR middle-end/28713
	* omp-low.c (lower_omp_parallel): Convert t to
	receiver_decl's type.
	(expand_omp_parallel): STRIP_NOPS from the MODIFY_EXPR
	source before comparison.

From-SVN: r116154
2006-08-15 16:57:52 +02:00
Jakub Jelinek
d0f53cbc80 re PR middle-end/28724 (atomic produces type mismatches)
PR middle-end/28724
	* gimplify.c (gimplify_omp_atomic_pipeline): Convert oldival
	to itype in assignment to oldival2.

From-SVN: r116153
2006-08-15 16:56:28 +02:00
Andreas Tobler
8e5fde8713 ffi_common.h: Remove lint directives.
2006-08-15  Andreas Tobler  <a.tobler@schweiz.ch>

	* include/ffi_common.h: Remove lint directives.
	* include/ffi.h.in: Likewise.

From-SVN: r116152
2006-08-15 11:36:39 +02:00
Paolo Carlini
64c23908ee random.tcc (mersenne_twister<>::operator()): Revert last change (per gcc-patches/2006-08/msg00484.html).
2006-08-15  Paolo Carlini  <pcarlini@suse.de>

	* include/tr1/random.tcc (mersenne_twister<>::operator()): Revert
	last change (per gcc-patches/2006-08/msg00484.html).

From-SVN: r116151
2006-08-15 09:08:31 +00:00
Paolo Carlini
bbddd5d0c2 random (class poisson_distribution<>): Add.
2006-08-14  Paolo Carlini  <pcarlini@suse.de>

	* include/tr1/random (class poisson_distribution<>): Add.
	* include/tr1/random.tcc (poisson_distribution<>::operator(),
	operator<<(std::basic_ostream<>&, const poisson_distribution<>&),
	operator>>(std::basic_istream<>&, poisson_distribution<>&,
	poisson_distribution<>::poisson_distribution(const _RealType&)):
	Define.
	* testsuite/tr1/5_numerical_facilities/random/poisson_distribution/
	requirements/typedefs.cc: New.

	* include/tr1/random.tcc (mersenne_twister<>::operator()): Tweak
	a bit for efficiency.
	
	* include/tr1/random.tcc (operator<<(std::basic_ostream<>&,
	const normal_distribution<>&), operator>>(std::basic_istream<>&,
	normal_distribution<>&)): Do not output _M_saved unnecessarily.

	* include/tr1/random: Trivial formatting fixes.
	* include/tr1/cmath: Likewise.

From-SVN: r116149
2006-08-15 02:28:45 +00:00
Andrew Pinski
e63d6886f4 [multiple changes]
2006-07-14  Andrew Pinski  <pinksia@physics.uc.edu>

        PR c/27490
        PR c/27489
        * c-typeck.c (build_compound_expr): If the second expression
        is an error mark, then just return an error mark instead of
        creating a COMPOUND_EXPR.
2006-08-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/27490
        * gcc.dg/sizeof-2.c: New testcase.

        PR c/27489
        * gcc.dg/switch-A.c: New testcase.

From-SVN: r116148
2006-08-14 18:43:28 -07:00
GCC Administrator
b0100da681 Daily bump.
From-SVN: r116146
2006-08-15 00:17:23 +00:00
Mike Stump
df511f3268 * Makefile.in (LIBGCC_DEPS): Don't depend on LANGUAGES.
From-SVN: r116142
2006-08-14 23:40:41 +00:00
Steve Ellcey
9f4593a856 re PR c++/28288 (ICE with min/max operator)
PR c++/28288
	PR c++/14556
	* g++.old-deja/g++.warn/compare1.C: Delete.
	* g++.dg/opt/pr7503-2.C: Delete.
	* g++.dg/opt/pr7503-3.C: Delete.
	* g++.dg/opt/pr7503-4.C: Delete.
	* g++.dg/opt/pr7503-5.C: Delete.
	* g++.dg/opt/max1.C: Delete.
	* g++.dg/warn/minmax.C: Delete.
	* g++.dg/expr/minmax.C: New test.

From-SVN: r116141
2006-08-14 23:15:57 +00:00
Steve Ellcey
b52dbbf865 re PR c++/28288 (ICE with min/max operator)
PR c++/28288
	PR c++/14556
	* operators.def: Remove <?, ?>, <?=, and >?= operators.
	* parser.c: Remove CPP_MIN, CPP_MAX, CPP_MIN_EQ, and CPP_MAX_EQ.
	(cp_parser_warn_min_max): Remove.
	* include/cpplib.h: Remove <?, >?, <?=, and >?= tokens.
	(CPP_LAST_EQ): Change.
	(CPP_LAST_PUNCTUATOR): Change.
	* expr.c (cpp_operator): Remove MIN and MAX.
	(reduce): Remove CPP_MIN and CPP_MAX.
	(num_binary_op): Ditto.
	* lex.c (_cpp_lex_direct): Ditto.
	(cpp_avoid_paste): Remove ? as legal symbol after > or <.

From-SVN: r116140
2006-08-14 23:13:54 +00:00
Mark Wielaard
ac1ed908de Imported GNU Classpath 0.92
2006-08-14  Mark Wielaard  <mark@klomp.org>

       Imported GNU Classpath 0.92
       * HACKING: Add more importing hints. Update automake version
       requirement.

       * configure.ac (gconf-peer): New enable AC argument.
       Add --disable-gconf-peer and --enable-default-preferences-peer
       to classpath configure when gconf is disabled.
       * scripts/makemake.tcl: Set gnu/java/util/prefs/gconf and
       gnu/java/awt/dnd/peer/gtk to bc. Classify
       gnu/java/security/Configuration.java as generated source file.

       * gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
       gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
       gnu/java/lang/management/VMClassLoadingMXBeanImpl.java,
       gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
       gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java,
       gnu/java/lang/management/VMThreadMXBeanImpl.java,
       gnu/java/lang/management/VMMemoryMXBeanImpl.java,
       gnu/java/lang/management/VMCompilationMXBeanImpl.java: New VM stub
       classes.
       * java/lang/management/VMManagementFactory.java: Likewise.
       * java/net/VMURLConnection.java: Likewise.
       * gnu/java/nio/VMChannel.java: Likewise.

       * java/lang/Thread.java (getState): Add stub implementation.
       * java/lang/Class.java (isEnum): Likewise.
       * java/lang/Class.h (isEnum): Likewise.

       * gnu/awt/xlib/XToolkit.java (getClasspathTextLayoutPeer): Removed.

       * javax/naming/spi/NamingManager.java: New override for StackWalker
       functionality.

       * configure, sources.am, Makefile.in, gcj/Makefile.in,
       include/Makefile.in, testsuite/Makefile.in: Regenerated.

From-SVN: r116139
2006-08-14 23:12:35 +00:00
Jason Merrill
abab460491 re PR c++/28559 (ICE with friend and __attribute__)
PR c++/28559
        * parser.c (cp_parser_elaborated_type_specifier): Also ignore
        attributes applied to a TYPENAME_TYPE.

From-SVN: r116137
2006-08-14 17:25:03 -04:00
Kazu Hirata
96ff6c8cc0 * c-decl.c, var-tracking.c: Fix comment typos.
From-SVN: r116134
2006-08-14 17:55:03 +00:00
Richard Guenther
c5183e0fac re PR testsuite/28703 (FAIL: gcc.c-torture/execute/pr28651.c execution)
2006-08-14  Richard Guenther  <rguenther@suse.de>
 
	PR testsuite/28703
	* gcc.c-torture/execute/pr28651.c: Do not use argc
	to avoid optimization, instead forbid inlining.

From-SVN: r116129
2006-08-14 15:05:37 +00:00