1. 01 Aug, 2006 13 commits
    • re PR c++/28250 (ICE with invalid catch) · 413803d3
      	PR c++/28250
      	PR c++/28257
      	PR c++/28259
      	PR c++/28267
      	* toplev.c (compile_file): Return early on errorcount or sorrycount.
      	* cgraphunit.c (cgraph_finalize_compilation_unit): Likewise.
      	(cgraph_optimize): Likewise.
      
      	PR c++/28250
      	* g++.dg/eh/catch4.C: New test.
      
      	PR c++/28257
      	* g++.dg/other/qual1.C: New test.
      
      	PR c++/28259
      	* g++.dg/inherit/error2.C: New test.
      
      	PR c++/28267
      	* g++.dg/other/new1.C: New test.
      
      	* g++.dg/warn/pr23075.C: Remove obsolete test.
      	* g++.old-deja/g++.brendan/crash52.C: Remove dg-warning marker.
      	* g++.old-deja/g++.jason/report.C: Remove dg-warning marker.
      
      From-SVN: r115866
      Volker Reichelt committed
    • natSystemProperties.cc: Add additional check for getpwuid_r on _POSIX_PTHREAD_SEMANTICS. · d2b81507
      2006-08-01  Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* gnu/classpath/natSystemProperties.cc: Add additional check for
      	getpwuid_r on _POSIX_PTHREAD_SEMANTICS.
      	(SystemProperties::insertSystemProperties): Likewise.
      	* java/io/natFilePosix.cc (File::performList): Add
      	additional check for readdir_r on _POSIX_PTHREAD_SEMANTICS.
      	* java/util/natVMTimeZone.cc (VMTimeZone::getSystemTimeZoneId): Add
      	additional check for localtime_r on _POSIX_PTHREAD_SEMANTICS.
      
      From-SVN: r115864
      Andreas Tobler committed
    • re PR c++/28523 (Throw of a derived class casted to its base class using a C-style cast) · 9beafc83
      	PR c++/28523
      	* tree.c (stabilize_expr): Tweak documentation.  Add assertion.
      	(stabilize_call): Tweak documentation.
      	(stabilize_init): Only call stabilize_call for calls.
      	PR c++/28523
      	* g++.dg/eh/cast1.C: New test.
      
      From-SVN: r115862
      Mark Mitchell committed
    • tr1.html: Update. · 8218f92f
      2006-08-01  Ed Smith-Rowland  <3dw4rd@verizon.net>
      
      	* docs/html/ext/tr1.html: Update.
      
      From-SVN: r115860
      Ed Smith-Rowland committed
    • re PR libfortran/28452 (__gfortran_random_r10 not found) · 6785c635
      2006-08-01  Thomas Koenig  <Thomas.Koenig@online.de>
      
      	PR libfortran/28452
      	* libgfortran/ChangeLog:  Correct PR number.
      	* gcc/testsuite/ChangeLog:  Likewise.
      
      From-SVN: r115859
      Thomas Koenig committed
    • re PR libfortran/28452 (__gfortran_random_r10 not found) · cdc5524f
      2006-08-01  Thomas Koenig  <Thomas.Koenig@online.de>
      
      	PR libfortran/28542
      	* Makefile.am:  Remove normalize.c.
      	* aclocal.m4:  Regenerate using aclocal 1.9.3.
      	* Makefile.in:  Regenerate using automake 1.9.3.
      	* libgfortran.h:  #include <float.h>.
      	Define GFC_REAL_*_DIGITS and GFC_REAL_*_RADIX.
      	Remove prototypes for normalize_r4_i4 and normalize_r8_i8.
      	* intrinsics/random.c (top level): Add prototypes for
      	random_r10, arandom_r10, random_r16 and arandom_r16.
      	(rnumber_4):  New static function.
      	(rnumber_8):  New static function.
      	(rnumber_10): New static function.
      	(rnumber_16): New static function.
      	(top level):  Set to kiss_size to 12 if we have
      	REAL(KIND=16), to 8 otherwise.
      	Define KISS_DEFAULT_SEED_1, KISS_DEFAULT_SEED_2 and
      	KISS_DEFAULT_SEED_3.
      	(kiss_random_kernel):  Take argument to differentiate
      	between different random number generators.
      	(random_r4):  Add argument to call to kiss_random_kernel,
      	use rnumber_*.
      	(random_r8):  Likewise.
      	(random_r10):  New function.
      	(random_r16):  New function.
      	(arandom_r4):  Add argument to call to kiss_random_kernel,
      	use_rnumber_*.
      	(arandom_r8):  Likewise.
      	(arandom_r10):  New function.
      	(arandom_r16):  New function.
      	* intrinsics/rand.c (rand):  Use shift and mask.
      	* runtime/normalize.c:  Remove.
      
      2006-08-01  Thomas Koenig  <Thomas.Koenig@online.de>
      
      	PR libfortran/28542
      	* gfortran.dg/random_3.f90:  New test.
      
      From-SVN: r115858
      Thomas Koenig committed
    • re PR c++/28432 (duplicate "no member function declared" message) · a82f93ac
      	PR c++/28432
      	* decl2.c (check_classfn): Remove early return.
      	* search.c (lookup_member): Return NULL with bad type.
      	* g++.dg/other/pr28304.C: Change expected error message.
      	* g++.dg/other/pr28432.C: New test.
      
      From-SVN: r115857
      Steve Ellcey committed
    • re PR c++/28256 (ICE with empty initializer) · f47165c9
      	PR c++/28256
      	* decl.c (check_initializer): Check for 1 initializer on scalar types.
      	* g++.dg/init/brace2.C: Change expected error message, add empty init.
      
      From-SVN: r115856
      Steve Ellcey committed
    • * rtl.h (UINTVAL) New. · 4fbbe694
      	* config/rs6000/rs6000.c (SMALL_INT) Use it.
      	* testsuite/gcc.dg/20060801-1.c: New.
      
      From-SVN: r115855
      Stuart Hastings committed
    • re PR debug/23336 (enum constants not visible to gdb because of -feliminate-unused-debug-types) · 6193b8b7
      gcc/
      	PR debug/23336
      	* c-typeck.c (build_external_type): Mark used enum types.
      	* dwarf2out.c (dwarf2out_abstract_function): Save and restore
      	cfun also.
      	(gen_subprogram_die): Whitespace fix.
      gcc/cp/
      	PR debug/23336
      	* pt.c (tsubst_copy_and_build): Mark used enum types.
      	* semantics.c (finish_id_expression): Likewise.
      gcc/testsuite/
      	PR debug/23336
      	* lib/gcc-dg.exp (gcc-dg-debug-runtest): Suppress new tests
      	at -g1.
      	* gcc.dg/debug/enum-1.c, g++.dg/debug/enum-1.C,
      	g++.dg/debug/enum-2.C: New.
      
      From-SVN: r115853
      Daniel Jacobowitz committed
    • tree-outof-ssa.c (check_replaceable): Do not allocate def_vars bitmap when not needed. · 9824b886
      	* tree-outof-ssa.c (check_replaceable): Do not allocate def_vars
      	bitmap when not needed.
      	* tree-ssa-pre.c (bitmap_set_and, bitmap_set_and_compl): Free temporary
      	bitmaps.
      
      From-SVN: r115851
      Jan Hubicka committed
    • tree-vrp.c (fix_equivalence_set): Avoid bitmap memory leak. · 53743367
      2006-08-01  Dirk Mueller  <dmueller@suse.de>
      
             * tree-vrp.c (fix_equivalence_set): Avoid bitmap memory leak.
      
      From-SVN: r115850
      Dirk Mueller committed
    • Daily bump. · d620bdfb
      From-SVN: r115848
      GCC Administrator committed
  2. 31 Jul, 2006 10 commits
  3. 30 Jul, 2006 8 commits
    • re PR target/27543 (attribute ms_struct is now also for rs6000 but not documented) · 1ccbef77
      2006-07-30  Eric Christopher  <echristo@apple.com>
      
              PR target/27543
              * doc/extend.texi (i386 Variable Attributes): Add anchor.
              (PowerPC Variable Attributes): New section.
      
      From-SVN: r115827
      Eric Christopher committed
    • ChangeLog: Commit ChangeLog forgotten in previous commit. · 1672b39f
      	* libgfortran/ChangeLog: Commit ChangeLog forgotten in previous
      	commit.
      	* gcc/testsuite/ChangeLog: Likewise.
      
      From-SVN: r115826
      François-Xavier Coudert committed
    • intrinsic.c (add_functions): Add ACCESS, CHMOD, RSHIFT, LSHIFT. · a119fc1c
      	* intrinsic.c (add_functions): Add ACCESS, CHMOD, RSHIFT, LSHIFT.
      	(add_subroutines): Add LTIME, GMTIME and CHMOD.
      	* intrinsic.h (gfc_check_access_func, gfc_check_chmod,
      	gfc_check_chmod_sub, gfc_check_ltime_gmtime, gfc_simplify_rshift,
      	gfc_simplify_lshift, gfc_resolve_access, gfc_resolve_chmod,
      	gfc_resolve_rshift, gfc_resolve_lshift, gfc_resolve_chmod_sub,
      	gfc_resolve_gmtime, gfc_resolve_ltime): Add prototypes.
      	* gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_ACCESS,
      	GFC_ISYM_CHMOD, GFC_ISYM_LSHIFT, GFC_ISYM_RSHIFT.
      	* iresolve.c (gfc_resolve_access, gfc_resolve_chmod,
      	gfc_resolve_rshift, gfc_resolve_lshift, gfc_resolve_chmod_sub,
      	gfc_resolve_gmtime, gfc_resolve_ltime): New functions.
      	* check.c (gfc_check_access_func, gfc_check_chmod,
      	gfc_check_chmod_sub, gfc_check_ltime_gmtime): New functions.
      	* trans-intrinsic.c (gfc_conv_intrinsic_rlshift): New function.
      	(gfc_conv_intrinsic_function): Add cases for the new GFC_ISYM_*.
      
      	* intrinsics/date_and_time.c: Add functions for GMTIME and LTIME.
      	* intrinsics/access.c: New file.
      	* intrinsics/chmod.c: New file.
      	* configure.ac: Add checks for <sys/wait.h>, access, fork,execl
      	and wait.
      	* Makefile.am: Add new files intrinsics/access.c and
      	intrinsics/chmod.c.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      	* Makefile.in: Regenerate.
      
      	* gcc/testsuite/gfortran.dg/chmod_3.f90: New test.
      	* gcc/testsuite/gfortran.dg/ltime_gmtime_1.f90: New test.
      	* gcc/testsuite/gfortran.dg/ltime_gmtime_2.f90: New test.
      	* gcc/testsuite/gfortran.dg/lrshift_1.f90: New test.
      	* gcc/testsuite/gfortran.dg/chmod_1.f90: New test.
      	* gcc/testsuite/gfortran.dg/chmod_2.f90: New test.
      
      From-SVN: r115825
      Francois-Xavier Coudert committed
    • codevt_specializations.h (__iconv_adaptor): Use identifier _Tp instead of _T in… · bd11bebe
      codevt_specializations.h (__iconv_adaptor): Use identifier _Tp instead of _T in template argument to avoid conflict.
      
      
      	* include/ext/codevt_specializations.h (__iconv_adaptor): Use
      	identifier _Tp instead of _T in template argument to avoid conflict.
      
      From-SVN: r115823
      Roger Sayle committed
    • stl_algo.h (stable_sort): Uglify the buf variable. · 43804767
      2006-07-30  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/stl_algo.h (stable_sort): Uglify the buf variable.
      	* include/bits/stl_tempbuf.h (_Temporary_buffer<>::
      	_M_initialize_buffer): Uglify the val parameter.
      
      From-SVN: r115820
      Paolo Carlini committed
    • PR target/28126 (partial fix) · 56ee081b
      gcc/
      2006-07-25  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
      
      	PR target/28126 (partial fix)
      	* config/mips/mips.md (tls_get_tp_<mode>): Set can_delay to no.
      
      From-SVN: r115819
      Atsushi Nemoto committed
    • transfer.c (transfer_array): Remove stride0 fix. · 6097a897
      2006-07-30  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	* io/transfer.c (transfer_array): Remove stride0 fix.
      
      From-SVN: r115818
      Janne Blomqvist committed
    • Daily bump. · f6837eeb
      From-SVN: r115816
      GCC Administrator committed
  4. 29 Jul, 2006 2 commits
  5. 28 Jul, 2006 7 commits
    • Makefile.in: Use $(HEADER_H) instead of header.h in dependencies and variables used in... · 48779194
      	* Makefile.in: Use $(HEADER_H) instead of header.h in dependencies
      	and variables used in dependencies.
      
      ada/ cp/ fortran/ java/ objc/ objcp/ treelang/
      
      	* Make-lang.in: Use $(HEADER_H) instead of header.h in dependencies.
      
      From-SVN: r115802
      Volker Reichelt committed
    • re PR c++/27668 (ICE with invalid template parameter) · 42b304f1
              PR c++/27668
              PR c++/27962
              * pt.c (process_template_parm) Store invalid template
              parameters as error_mark_node in the paramater list.
              (push_inline_template_parms_recursive): Handle invalid
              template parameters.
              (comp_template_parms): Likewise.
              (check_default_tmpl_arg): Likewise.
              (coerce_template_template_parms): Likewise.
              (mangle_class_name_for_template): Likewise.
              (tsubst_template_parms): Likewise.
              * error.c (dump_template_argument_list): Likewise.
      
              * g++.dg/template/crash55.C: New test.
              * g++.dg/template/nontype16.C: New test.
              * g++.dg/template/void2.C: Adjust error markers.
              * g++.dg/template/nontype5.C: Adjust error markers.
      
      From-SVN: r115800
      Lee Millward committed
    • natSharedLibLoader.cc (init): Don't set curLoader to VMClassLoader::bootLoader. · 8f2cc5b5
      2006-07-28  Andrew Haley  <aph@redhat.com>
      
              * gnu/gcj/runtime/natSharedLibLoader.cc (init): Don't set
              curLoader to VMClassLoader::bootLoader.
      
      From-SVN: r115797
      Andrew Haley committed
    • re PR libgcj/13604 (AccessController unfinished) · 464fc7a1
      2006-07-28  Gary Benson  <gbenson@redhat.com>
      	    Casey Marshall <csm@gnu.org>
      
      	PR libgcj/13604:
      	* include/java-stack.h (GetClassMethodStack): Declare.
      	* stacktrace.cc (GetClassMethodStack): New method.
      	* java/security/AccessController.java: Removed.
      	* java/security/VMAccessController.java: New file.
      	* java/security/natVMAccessController.cc: Likewise.
      	* Makefile.am (nat_source_files): Added the above.
      	* sources.am, Makefile.in: Rebuilt.
      
      
      Co-Authored-By: Casey Marshall <csm@gnu.org>
      
      From-SVN: r115793
      Gary Benson committed
    • SecurityManager.java (currentClassLoader, [...]): Remerged javadoc. · 99460c7e
      2006-07-28  Gary Benson  <gbenson@redhat.com>
      
      	* java/lang/SecurityManager.java (currentClassLoader,
      	currentLoadedClass, classLoaderDepth, checkAccess, checkRead,
      	checkWrite, checkTopLevelWindow, checkPrintJobAccess,
      	checkSystemClipboardAccess, checkAwtEventQueueAccess,
      	checkPackageList): Remerged javadoc.
      
      From-SVN: r115792
      Gary Benson committed
    • prims.cc (_Jv_CreateJavaVM): Move setting runtimeInitialized from the start to… · 8d0941a9
      prims.cc (_Jv_CreateJavaVM): Move setting runtimeInitialized from the start to the end of the function.
      
      2006-07-28  Gary Benson  <gbenson@redhat.com>
      
      	* prims.cc (_Jv_CreateJavaVM): Move setting runtimeInitialized
      	from the start to the end of the function.  Remove references
      	to VMThrowable.trace_enabled.
      	* java/lang/natVMThrowable.cc (fillInStackTrace): Use
      	runtimeInitialized rather than trace_enabled to decide
      	whether to inhibit stack trace generation.
      	* java/lang/VMThrowable.java (trace_enabled): Removed.
      
      From-SVN: r115791
      Gary Benson committed
    • PR libstdc++/19664 round 3 · b82f782b
      2006-07-27  Benjamin Kosnik  <bkoz@wells.artheist.org>
      
      	PR libstdc++/19664 round 3	
      	* include/Makefile.am (tr1_headers): Add hashtable_policy.h.
      	* include/Makefile.in: Regenerate.
      	* include/tr1/hashtable: Move policy classes into...
      	* include/tr1/hashtable_policy.h: ... this. New.
      	
      	* src/globals_locale.cc: Move contents....
      	* src/locale_init.cc: ... to here, put in anonymous namespace.
      	* src/Makefile.am: Remove globals_locale.cc.
      	* src/Makefile.in: Regenerate.
      
      	* src/locale.cc: Convert __gnu_internal to anonymous namespace.
      	* src/debug.cc: Same.
      	* src/ext-inst.cc: Same.
      	* src/mt_allocator.cc: Same.
      	* src/pool_allocator.cc: Same.
      	
      	* include/tr1/random: Convert std::tr1::_Private to anonymous
      	namespace.
      	* include/tr1/random.tcc: Same.
      
      	* include/tr1/hashtable: Move ::Internal to std::tr1::detail and
      	enclose bits that can actually be internal in in anonymous
      	namespace.
      	* include/tr1/unordered_set: Adjust explicit qualifications for
      	namespace changes.
      	* include/tr1/unordered_map: Same.
      
      	* include/tr1/cmath: Convert __gnu_internal to nested detail namespace.
      
      	* include/bits/cpp_type_traits.h: Move __type_type into anonymous
      	namespace.
      	
      	* include/ext/rope: Change _Rope_constants to anonymous namespace.
      	* include/ext/ropeimpl.h: Same.
      	* src/ext-inst.cc: Same.
      
      From-SVN: r115790
      Benjamin Kosnik committed