Nathan Sidwell
7d3bec9db5
re PR c++/27787 (Qualified lookup fails to find inherited class template)
...
cp/
PR c++/27787
* decl.c (make_typename_type): Only try and resolve it when
context is not dependent. Refactor.
* decl2.c (check_classfn): Push to class scope before looking for
the function.
testsuite/
PR c++/27787
* g++.dg/template/typename10.C: New.
* g++.dg/template/lookup4.C: Remove bogus error marker.
From-SVN: r116409
2006-08-25 16:56:07 +00:00
Bob Wilson
9eb8a531c0
xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Do not emit a literal_prefix directive.
...
* config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Do not emit a
literal_prefix directive.
(XTENSA_DECLARE_FUNCTION_SIZE): Delete.
* config/xtensa/linux.h (ASM_DECLARE_FUNCTION_SIZE): Delete.
* config/xtensa/elf.h (ASM_DECLARE_FUNCTION_SIZE): Delete.
From-SVN: r116403
2006-08-25 16:13:54 +00:00
Paolo Carlini
7849b3de89
random (bernoulli_distribution::operator()): Fix wrt generators returning integers.
...
2006-08-25 Paolo Carlini <pcarlini@suse.de>
* include/tr1/random (bernoulli_distribution::operator()): Fix
wrt generators returning integers.
(uniform_int<>::_M_call): Add.
(uniform_int<>::operator()): Use it.
* include/tr1/random (_Adaptor<>::min, _Adaptor<>::max): Add.
(_Adaptor<>::operator()): Allow for nonzero _M_g.min().
* include/tr1/random.tcc (linear_congruential<>::min, max):
Move inline...
(__mod): Move ...
* include/tr1/random: ... here.
(struct _Mod): Declare.
* include/tr1/random (struct _To_Unsigned_Type): Only declare,
move...
* include/tr1/random.tcc: ... here.
From-SVN: r116402
2006-08-25 16:02:23 +00:00
David Edelsohn
4eb585a473
re PR middle-end/28753 (ICE in extract_insn, at recog.c:2075 on powerpc)
...
PR target/28753
* config/rs6000/rs6000.md (movcc_internal1): Change operand 1
predicate to general_operand. Add 0->y and I->r alternatives.
From-SVN: r116400
2006-08-25 09:53:39 -04:00
Kazu Hirata
86c33cd0fb
tm.texi: Fix a typo.
...
* doc/tm.texi: Fix a typo.
* predict.c: Fix comment typos.
From-SVN: r116399
2006-08-25 13:39:02 +00:00
Richard Guenther
17daa4c8ba
re PR testsuite/28829 (FAIL: gcc.dg/pr26570.c)
...
2006-08-25 Richard Guenther <rguenther@suse.de>
PR testsuite/28829
* gcc.dg/pr26570.c: Fix testcase.
From-SVN: r116395
2006-08-25 10:32:03 +00:00
Nick Clifton
816e93eb33
* config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Add assertions of "cpu" and "machine".
...
From-SVN: r116394
2006-08-25 07:21:47 +00:00
Andrew Pinski
aa666e0063
re PR tree-optimization/28807 (wrong code with may_alias and structs)
...
2006-08-24 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/28807
* tree-ssa-operands.c (access_can_touch_variable): Don't say
the access through a base which has an alias set of 0 cannot
touch the variable.
2006-08-24 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/28807
* gcc.c-torture/execute/mayalias-2.c: New test.
* gcc.dg/tree-ssa/alias-13.c: New test.
From-SVN: r116393
2006-08-25 00:13:48 -07:00
Danny Smith
a073516d43
re PR driver/28528 (C language extensions override -x in C++ driver)
...
PR driver/28528
* g++spec.c (lang_specific_driver): Always check if we need to
swallow a space-separated arg to '-x'.
* lang-specs.h: Don't create ouput files for '-xc++-header'
if -fsyntax-only.
From-SVN: r116392
2006-08-25 00:24:10 +00:00
GCC Administrator
df1195dbc5
Daily bump.
...
From-SVN: r116390
2006-08-25 00:17:19 +00:00
Bill Wendling
8b7d430070
* doc/tm.texi (TARGET_DEFAULT_PACK_STRUCT): Fixed English.
...
From-SVN: r116385
2006-08-24 19:45:30 +00:00
Jan Hubicka
7ef701a84a
* reload1.c (emit_reload_insns): Fix yet another typo in my patch.
...
From-SVN: r116384
2006-08-24 19:43:43 +00:00
Keith Seitz
b8caf93e7d
prims.cc (remoteDebug): New global.
...
* prims.cc (remoteDebug): New global.
(jdwpOptions): New global.
(parse_x_arg): Add processing for "X" options "debug" and
"runjdwp:"
(_Jv_RunMain): If debugging, start up JDWP backend.
Send VM_INIT and VM_DEATH when appropriate.
From-SVN: r116383
2006-08-24 18:55:53 +00:00
Jason Merrill
c9cbfca6f5
re PR c++/27714 (operator new as friend in template class rejected)
...
PR c++/27714
* pt.c (push_template_decl_real): A friend template with class
scope isn't primary.
From-SVN: r116379
2006-08-24 11:54:39 -04:00
Daniel Franke
cd051390eb
intrinsic.texi: Added doc-stubs for undocumented intrinsics...
...
2006-08-24 Daniel Franke <franke.daniel@gmail.com>,
Brooks Moses <bmoses@stanford.edu>
* intrinsic.texi: Added doc-stubs for undocumented intrinsics,
added a "See Also" section, renamed the "Options" section to
"Standard", improved the index, and made numerous minor
typo corrections and grammatical fixes.
Co-Authored-By: Brooks Moses <bmoses@stanford.edu>
From-SVN: r116376
2006-08-24 14:43:42 +00:00
Gary Benson
9f858b0703
NetworkInterface.java (getInetAddresses): Bracket IPv6 addresses.
...
2006-08-24 Gary Benson <gbenson@redhat.com>
* java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
addresses.
From-SVN: r116375
2006-08-24 14:28:49 +00:00
Jan Hubicka
a418679d8d
re PR debug/26881 (internal compiler error in dwarf2out_finish)
...
PR debug/26881
* cgraph.c: Fix comments.
(cgraph_varpool_mark_needed_node): Mark only variables not already
output to file.
* cgraphunit.c: Update comments; include gt-cgraphunit.h
(cgraph_varpool_assembled_nodes_queue): New static variable.
(cgraph_varpool_assemble_decl): Record output decls for debug out code.
(cgraph_varpool_output_debug_info): New function.
(cgraph_finalize_compilation_unit, cgraph_optimize): Call it.
* Makefile.in: Add gt-cgraphunit.h
* gcc.dg/debug/pr26881.c: New file.
From-SVN: r116374
2006-08-24 13:30:45 +00:00
Paul Thomas
96f4873b16
re PR fortran/28788 (ICE on valid code)
...
2006-08-23 Paul Thomas <pault@gcc.gnu.org>
PR fortran/28788
* gfortran.dg/used_types_4.f90: New test.
* gfortran.dg/derived_init_2.f90: Modify to check sibling
association of derived types.
* gfortran.dg/used_types_2.f90: Add module cleanup.
* gfortran.dg/used_types_3.f90: The same.
PR fortran/28771
* gfortran.dg/assumed_charlen_in_main.f90: Modify to check
fix of regression.
2006-08-23 Paul Thomas <pault@gcc.gnu.org>
PR fortran/28788
* gfortran.dg/used_types_4.f90: New test.
* gfortran.dg/derived_init_2.f90: Modify to check sibling
association of derived types.
* gfortran.dg/used_types_2.f90: Add module cleanup.
* gfortran.dg/used_types_3.f90: The same.
PR fortran/28771
* gfortran.dg/assumed_charlen_in_main.f90: Modify to check
fix of regression.
From-SVN: r116369
2006-08-24 04:47:28 +00:00
Jerry DeLisle
664ee581a8
re PR fortran/28813 (gfortran.dg/direct_io_6.f90 can exhaust system disk space)
...
2006-08-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR 28813
* gfortran.dg/direct_io_6.f90: Remove test.
From-SVN: r116368
2006-08-24 01:10:55 +00:00
GCC Administrator
86de7c28e7
Daily bump.
...
From-SVN: r116366
2006-08-24 00:17:30 +00:00
Steven G. Kargl
ed499b9f53
gfortran.texi: Fix last commit where a "no" was deleted and a grammatical error was introduced.
...
2006-08-23 Steven G. Kargl <kargls@comcast.net>
* gfortran.texi: Fix last commit where a "no" was deleted and
a grammatical error was introduced.
From-SVN: r116362
2006-08-23 23:41:19 +00:00
Steven G. Kargl
deeddce62f
gfortran.texi: Spell check.
...
2006-08-23 Steven G. Kargl <kargls@comcast.net>
* gfortran.texi: Spell check. Add a few contributors to
Chapter 9. Expand the description of BOZ constant handling.
From-SVN: r116361
2006-08-23 23:10:39 +00:00
Jan Hubicka
2c9e13f37d
predict.c (probability_reliable_p): New predicate.
...
* predict.c (probability_reliable_p): New predicate.
(edge_probability_reliable_p, br_prob_note_reliable_p): Likewise.
(predict_loops): Do not predict loop exit with less than 2%
probability.
* basic-block.h (edge_probability_reliable_p,
br_prob_note_reliable_p): Declare.
* ia64.h (ia64_print_operand): Do not disable on-chip branch
prediction when static predictor is not reliable.
* rs6000.c (output_cbranch): Likewise.
From-SVN: r116358
2006-08-23 22:29:14 +00:00
Keith Seitz
a4d0390b44
* gnu/classpath/jdwp/VMVirtualMachine.java
...
(initialize): Declare.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(initialize): Get and save JVMTI environment.
From-SVN: r116357
2006-08-23 22:18:08 +00:00
Stuart Hastings
12b3553fe4
re PR target/28825 (return (vector float) { a, a, b, b } generates unwanted MMX insns)
...
PR 28825
* gcc/config/i386/i386.c (ix86_expand_vector_init_duplicate,
ix86_expand_vector_init_one_nonzero): Remove TARGET_SSE test.
* gcc.target/i386/20060821-1.c: New.
From-SVN: r116356
2006-08-23 21:41:35 +00:00
Danny Smith
b2742484fc
gcc.dg/attr-invalid.c: Insert an " |directive" substitution into
...
dg-warning strings for dllimport.
From-SVN: r116355
2006-08-23 18:30:57 +00:00
Benjamin Smedberg
6c9384c3c0
re PR c++/28687 (dynamic_cast<void*> disallowed too rigorously with -fno-rtti)
...
PR c++/28687
* rtti.c (build_dynamic_cast, build_dynamic_cast_1):
Move -fno-rtti check to be more specific.
From-SVN: r116350
2006-08-23 10:04:24 -04:00
Phillip Jordan
3467cfd982
boost_shared_ptr.h: Added locking policy to tr1::shared_ptr<> and related classes.
...
2006-08-22 Phillip Jordan <phillip.m.jordan@gmail.com>
*include/tr1/boost_shared_ptr.h: Added locking policy to
tr1::shared_ptr<> and related classes.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/thread: New.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
lockfree_weaktoshared.cc: New.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
mutex_weaktoshared.cc: New.
*testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
shared_ptr_neg.cc: Modify.
From-SVN: r116345
2006-08-23 10:16:31 +00:00
Jason Merrill
a5c4274085
re PR c++/23372 (Temporary aggregate copy not elided when passing parameters by value)
...
PR c++/23372
* call.c (build_over_call): Don't make a copy here if build_call
will make one too.
From-SVN: r116342
2006-08-23 00:27:43 -04:00
Andrew Pinski
c846e8cd67
re PR c++/28450 (ICE with new and complex/vector types)
...
2006-08-21 Andrew Pinski <pinskia@physics.uc.edu>
PR C++/28450
* cp/init.c (build_zero_init): Handle VECTOR_TYPE and
COMPLEX_TYPEs.
2006-08-21 Andrew Pinski <pinskia@physics.uc.edu>
PR C++/28450
* g++.dg/ext/vector4.C: New test.
* g++.dg/ext/complex1.C: New test.
From-SVN: r116341
2006-08-22 19:56:43 -07:00
GCC Administrator
bee7c39239
Daily bump.
...
From-SVN: r116339
2006-08-23 00:18:08 +00:00
Paolo Carlini
53fdb33908
random.tcc (subtract_with_carry_01<>:: seed(_Gen&, false_type)): Fix _M_carry initialization.
...
2006-08-22 Paolo Carlini <pcarlini@suse.de>
* include/tr1/random.tcc (subtract_with_carry_01<>::
seed(_Gen&, false_type)): Fix _M_carry initialization.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/cons/default.cc: Qualify 1 as 1UL.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/cons/gen1.cc: Likewise.
From-SVN: r116334
2006-08-22 22:57:53 +00:00
Phillip Jordan
a25ce4dbf9
added locking policy to tr1::shared_ptr<> and related classes
...
From-SVN: r116333
2006-08-22 22:34:45 +00:00
Thomas Fitzsimmons
df3e8c70fd
re PR libgcj/27890 (lib/logging.properties pollutes common namespace)
...
2006-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/27890
* gnu/classpath/natSystemProperties.cc (insertSystemProperties):
Set gnu.classpath.home.url to TOOLEXECLIBDIR.
* configure.ac: Do not add --with-native-libdir to
ac_configure_args.
* java/security/libgcj.security: Remove file.
* java/util/logging/logging.properties: Likewise.
* classpath/m4/acinclude.m4 (CLASSPATH_TOOLEXECLIBDIR): New macro.
* classpath/resource/Makefile.am (loggingdir): Define to
toolexeclibdir.
(securitydir): Likewise.
* classpath/configure.ac: Call CLASSPATH_TOOLEXECLIBDIR.
Set default nativeexeclibdir using toolexeclibdir.
* HACKING: Fix classpath aclocal arguments.
* Makefile.am (secdir): Remove variable.
(propdir): Likewise.
(AM_CXXFLAGS): Replace LIBDIR definition with TOOLEXECLIBDIR
definition.
(all_property_files): Remove variable.
(install-data-local): Do not install libgcj.security or
logging.properties.
* configure, Makefile.in, classpath/configure,
classpath/Makefile.in, classpath/native/jni/java-lang/Makefile.in,
classpath/native/jni/midi-alsa/Makefile.in,
classpath/native/jni/classpath/Makefile.in,
classpath/native/jni/midi-dssi/Makefile.in,
classpath/native/jni/Makefile.in,
classpath/native/jni/java-nio/Makefile.in,
classpath/native/jni/java-net/Makefile.in,
classpath/native/jni/gconf-peer/Makefile.in,
classpath/native/jni/java-io/Makefile.in,
classpath/native/jni/xmlj/Makefile.in,
classpath/native/jni/java-util/Makefile.in,
classpath/native/jni/qt-peer/Makefile.in,
classpath/native/jni/gtk-peer/Makefile.in,
classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
classpath/native/target/Linux/Makefile.in,
classpath/native/target/Makefile.in,
classpath/native/target/generic/Makefile.in,
classpath/native/fdlibm/Makefile.in,
classpath/native/plugin/Makefile.in,
classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
classpath/tools/Makefile.in, classpath/doc/Makefile.in,
classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
classpath/external/Makefile.in,
classpath/external/sax/Makefile.in,
classpath/external/w3c_dom/Makefile.in,
classpath/external/relaxngDatatype/Makefile.in,
classpath/include/Makefile.in, classpath/aclocal.m4,
classpath/examples/Makefile.in, aclocal.m4: Regenerate.
From-SVN: r116332
2006-08-22 20:37:36 +00:00
Geoffrey Keating
9a23b83361
Index: gcc/ChangeLog
...
2006-08-21 Geoffrey Keating <geoffk@apple.com>
PR debug/28692
* dwarf2out.c (rtl_for_decl_init): Don't try to create RTL for
complex values, nor for generic vector values.
Index: gcc/testsuite/ChangeLog
2006-08-21 Geoffrey Keating <geoffk@apple.com>
PR debug/28692
* gcc.dg/debug/const-1.c: New.
* gcc.dg/debug/const-2.c: New.
* gcc.dg/debug/dwarf2/const-1.c: New.
* gcc.dg/debug/dwarf2/const-2.c: New.
* gcc.dg/debug/dwarf2/const-2b.c: New.
From-SVN: r116331
2006-08-22 19:16:03 +00:00
Simon Martin
5e8c38c2de
re PR c++/28420 (ICE with "typeid" as template parameter)
...
PR c++/28420
* parser.c (cp_parser_postfix_expression): Make sure that the
saved value for parser->type_definition_forbidden_message is
restored before returning to avoid an invalid free().
From-SVN: r116330
2006-08-22 14:51:40 -04:00
Jason Merrill
8e30dcf345
re PR c++/28659 (ICE (segfault) while compiling kdelibs 4.0 snapshot)
...
PR c++/28659
* typeck.c (merge_types): If either of the types have the right
attributes, return that one.
* tree.c (cp_build_type_attribute_variant): Make sure we aren't
doing this to class types.
* typeck.c (original_type): Deal with type quals properly.
From-SVN: r116329
2006-08-22 14:27:26 -04:00
Paolo Carlini
6d3c522156
2006-08-22 Paolo Carlini <pcarlini@suse.de>
...
* Fix/complete last ChangeLog entry.
From-SVN: r116328
2006-08-22 18:15:22 +00:00
Paolo Carlini
9aa53350c3
random (class subtract_with_carry_01): Add.
...
2006-08-22 Paolo Carlini <pcarlini@suse.de>
* include/tr1/random (class subtract_with_carry_01): Add.
* include/tr1/random.tcc (subtract_with_carry_01<>::
seed(unsigned long), subtract_with_carry_01<>::
seed(_Gen&, false_type), subtract_with_carry_01<>::
operator(), operator<<(std::basic_ostream<>&, const
subtract_with_carry_01<>&), operator>>(std::basic_istream<>&,
subtract_with_carry_01<>&)): Define.
* testsuite/tr1/5_numerical_facilities/random/ranlux3_01.cc:
New.
* testsuite/tr1/5_numerical_facilities/random/ranlux4_01.cc:
Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/cons/seed1.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/cons/seed2.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/cons/default.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/cons/gen1.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/requirements/typedefs.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/operators/equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/operators/not_equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/operators/serialize.cc: Likewise.
* docs/html/ext/howto.html: Add two implemented TR1 issues.
* include/tr1/random.tcc (struct _To_Unsigned_Type): Move...
* include/tr1/random: ... here.
(class subtract_with_carry): Use it everywhere.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/cons/seed1.cc: Qualify 1 as 1UL.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/cons/seed2.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/cons/default.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/cons/gen1.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/requirements/typedefs.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/operators/equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/operators/not_equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/operators/serialize.cc: Likewise.
From-SVN: r116327
2006-08-22 18:07:55 +00:00
Richard Guenther
8a613caeb3
re PR middle-end/28776 (dwarf2out.c:2160: ICE: in build_polynomial_chrec, at tree-chrec.h:108)
...
2006-08-22 Richard Guenther <rguenther@suse.de>
PR middle-end/28776
* tree-scalar-evolution.c (fold_used_pointer): Add at_stmt
parameter. Convert arguments to arithmetic expression to the
chrecs type.
(analyze_scalar_evolution_1): Adjust caller.
* gcc.c-torture/compile/pr28776-1.c: New testcase.
* gcc.c-torture/compile/pr28776-2.c: Likewise.
From-SVN: r116326
2006-08-22 16:26:32 +00:00
Jan Hubicka
1f6c68eda5
Patch by Paolo Bonzini
...
Patch by Paolo Bonzini
* reload1.c (emit_reload_insns): Fix incorrect bracketing introduced by
my previous patch.
From-SVN: r116325
2006-08-22 15:44:56 +00:00
Andrew Haley
182ee26047
decl.c (java_add_stmt): Give the statement list a type.
...
2006-08-22 Andrew Haley <aph@redhat.com>
* decl.c (java_add_stmt): Give the statement list a type.
From-SVN: r116324
2006-08-22 15:00:37 +00:00
Daniel Berlin
ca8587095e
re PR tree-optimization/28003 (optimizer bug)
...
2006-08-22 Daniel Berlin <dberlin@dberlin.org>
PR tree-optimization/28003
* tree-ssa-alias.c (compute_may_aliases): Compute call clobbered
before grouping aliases.
From-SVN: r116323
2006-08-22 14:04:16 +00:00
Roger Sayle
883259c6d3
i386.c (ix86_value_regno): Don't return FIRST_MMX_REG if !TARGET_MMX...
...
* config/i386/i386.c (ix86_value_regno): Don't return FIRST_MMX_REG
if !TARGET_MMX, and don't return FIRST_SSE_REG if !TARGET_SSE.
From-SVN: r116321
2006-08-22 12:42:41 +00:00
GCC Administrator
173c3aa1f4
Daily bump.
...
From-SVN: r116317
2006-08-22 00:18:26 +00:00
Bryce McKinlay
7ddf92a874
re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread with garbage collector)
...
boehm-gc
PR libgcj/13212:
* configure.ac: Check for pthread_getattr_np(). Remove
GC_PTHREAD_SYM_VERSION detection.
* include/gc.h (GC_register_my_thread, GC_unregister_my_thread,
GC_get_thread_stack_base): New declarations.
* pthread_support.c (GC_register_my_thread, GC_unregister_my_thread,
GC_get_thread_stack_base): New functions.
(GC_delete_thread): Don't try to free the first_thread.
* misc.c (GC_init_inner): Use GC_get_thread_stack_base() if possible.
(pthread_create_, constr): Removed.
(pthread_create): Don't rename.
* include/gc_ext_config.h.in: Rebuilt.
* include/gc_pthread_redirects.h (pthread_create): Define
unconditionally.
* include/gc_config.h.in: Rebuilt.
* configure: Rebuilt.
libjava
* java/lang/natThread.cc (_Jv_AttachCurrentThread): Attach thread
to GC.
(_Jv_DetachCurrentThread): Detach thread from GC.
* include/boehm-gc.h (_Jv_GCAttachThread, _Jv_GCDetachThread):
Declare.
* boehm.cc (_Jv_GCAttachThread): New function.
(_Jv_GCDetachThread): Likewise.
From-SVN: r116313
2006-08-21 22:07:30 +00:00
Jason Merrill
accabadcf3
revert accidental checkin of tests
...
From-SVN: r116312
2006-08-21 16:56:28 -04:00
Jason Merrill
c6c7698dfd
re PR c++/27115 (ICE in cp_expr_size or miscompilation with statement expressions and constructors (and ?: ))
...
PR c++/27115
* gimplify.c (voidify_wrapper_expr): Handle STATEMENT_LIST as a
wrapper. Loop to handle nested wrappers.
(gimplify_bind_expr): Remove temp parameter.
(gimplify_modify_expr_rhs): Handle CLEANUP_POINT_EXPR, BIND_EXPR
and STATEMENT_LIST on the rhs.
(gimplify_statement_list): Voidify the STATEMENT_LIST.
(gimplify_expr): Pass pre_p to gimplify_statement_list.
(gimplify_target_expr): Remove special BIND_EXPR handling.
* cp/semantics.c (finish_stmt_expr_expr): Don't try to voidify here,
just leave the expression as it is.
(finish_stmt_expr): If the statement-expression has class type,
wrap it in a TARGET_EXPR.
* cp/cp-gimplify.c (cp_gimplify_init_expr): Don't bother with
CLEANUP_POINT_EXPR.
* cp/except.c (build_throw): Give the CLEANUP_POINT_EXPR void type.
From-SVN: r116311
2006-08-21 16:54:57 -04:00
Mark Shinwell
63b263936e
arm-vfp-unwind.C: Correct order of DejaGNU directives.
...
gcc/testsuite/
* g++.dg/eh/arm-vfp-unwind.C: Correct order of DejaGNU directives.
From-SVN: r116308
2006-08-21 19:15:15 +00:00
Lee Millward
dc5395cc64
Fix typo from a previous commit
...
From-SVN: r116305
2006-08-21 18:43:36 +00:00