- 05 Dec, 2001 1 commit
-
-
2001-12-05 Martin v. L�wis <loewis@informatik.hu-berlin.de> * da.po, es.po, fr.po, ja.po: New files. From-SVN: r47635
Martin v. Löwis committed
-
- 04 Dec, 2001 39 commits
-
-
* verify.cc (_Jv_BytecodeVerifier::linked_utf8): New structure. (_Jv_BytecodeVerifier::utf8_list): New field. (_Jv_BytecodeVerifier::_Jv_BytecodeVerifier): Initialize it. (_Jv_BytecodeVerifier::~_Jv_BytecodeVerifier): Free it. (_Jv_BytecodeVerifier::make_utf8_const): New method. (_Jv_BytecodeVerifier::get_one_type): Use it. (_Jv_BytecodeVerifier::type::merge): When using local semantics, if the destination type is already unsuitable then we didn't change. From-SVN: r47634
Tom Tromey committed -
2001-12-04 Phil Edwards <pme@gcc.gnu.org> * Makefile.in: Add INSTALL_SCRIPT using INSTALL definition. From-SVN: r47633
Phil Edwards committed -
* fixinc/fixincl.c (initialize): Avoid problemsome macro parameter names (PR 3388). From-SVN: r47632
DJ Delorie committed -
* config/rs6000/rs6000.c (rs6000_legitimize_address): Fix typo. * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Here too. From-SVN: r47631
Alan Modra committed -
* Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes more confusion than it solves. From-SVN: r47630
Arnaud Charlet committed -
re PR c/4787 (Different anonymous variables declared but only one allocated when the initialization is the same) * c-common.def (COMPOUND_LITERAL_EXPR): New. * c-common.c (c_expand_expr): Handle COMPOUND_LITERAL_EXPR. (c_staticp): New function. * c-common.h (COMPOUND_LITERAL_EXPR_DECL): New. (c_staticp): Declare. * c-typeck.c (default_function_array_conversion, build_unary_op): Don't handle CONSTRUCTOR specially. (lvalue_p, mark_addressable): Handle COMPOUND_LITERAL_EXPR. * c-decl.c (build_compound_literal): New function. * c-tree.h (build_compound_literal): Declare. * c-parse.in (primary): Use build_compound_literal. * c-lang.c (LANG_HOOKS_STATICP): Define. * objc/objc-lang.c (LANG_HOOKS_STATICP): Likewise. * doc/c-tree.texi: Document COMPOUND_LITERAL_EXPR. * doc/extend.texi: Update documentation of compound literals. Fixes PR c/4787. testsuite: * gcc.c-torture/execute/20000722-1.x, gcc.c-torture/execute/20010123-1.x: Remove. * gcc.c-torture/compile/init-3.c: Don't use a compound literal. * gcc.dg/c90-complit-1.c, gcc.dg/c99-complit-1.c, gcc.dg/c99-complit-2.c: New tests. From-SVN: r47629
Joseph Myers committed -
* langhooks.h (struct lang_hooks): Add staticp. * langhooks-def.h (lhd_staticp, LANG_HOOKS_STATICP): New. (LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_STATICP. * langhooks.c (lhd_staticp): New function. * tree.c (staticp): Call lang_hooks.staticp for language-specific tree codes. From-SVN: r47628
Joseph Myers committed -
* cppspec.c (lang_specific_driver): Set is_cpp_driver. * gcc.c (process_command): Ensure the cpp driver sees --help and --target-help, and that the help is printed exactly once. From-SVN: r47627
Neil Booth committed -
From-SVN: r47626
Geert Bosch committed -
* Makefile.in (update-sources): New target. For use by gcc_release script. From-SVN: r47625
Geert Bosch committed -
* sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as a configuration pragma, it is now legal wherever a pragma can appear. From-SVN: r47624
Ed Schonberg committed -
* defineclass.cc (read_one_method_attribute): `end_pc' for an exception can be equal to code length. * verify.cc (_Jv_BytecodeVerifier::verify_instructions_0): Removed `start_PC' from error invocation where it didn't make sense, and updated error message. Use `copy' to copy a state. Only try to merge current state with saved state when we've fallen through from the previous instruction. (_Jv_BytecodeVerifier::pop_ref_or_return): New method. (_Jv_BytecodeVerifier::verify_instructions_0) [op_astore_0]: Use pop_ref_or_return. (_Jv_BytecodeVerifier::verify_instructions_0) [op_astore]: Likewise. (_Jv_BytecodeVerifier::push_jump_merge): Pass max_locals, not max_stack, to merge. (_Jv_BytecodeVerifier::verify_instructions_0): Likewise. (_Jv_BytecodeVerifier::push_jump_merge): Merge from new state into state at branch target, not vice versa. (_Jv_BytecodeVerifier::branch_prepass): Allow end of exception to be equal to code length. Removed redundant test to see if exception start is after exception end. (_Jv_BytecodeVerifier::verify_instructions_0): Type of argument to `finally' is Throwable. From-SVN: r47623
Tom Tromey committed -
2001-12-04 Benjamin Kosnik <bkoz@redhat.com> * src/Makefile.am (sources): Add ext-inst.cc. * src/Makefile.in: Regenerate. * src/ext-inst.cc: New file. * include/bits/stl_threads.h: Format. * src/globals.cc: Add instantiation for _S_swap_lock. * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B> instantiation. 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca> * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile and execute test01 if _GLIBCPP_USE_WCHAR_T is defined. * testsuite/26_numerics/complex_inserters_extractors.cc: Provide for explicit instantiation of class std::basic_string<char, gnu_char_traits, std::allocator<char> >. From-SVN: r47622
Benjamin Kosnik committed -
From-SVN: r47620
David Edelsohn committed -
* check-init.c: Handle definite unassignment to finals in addition to definite assignment. [see ChangeLog] From-SVN: r47619
Per Bothner committed -
* config/cris/cris.h (OPTIMIZATION_OPTIONS): Don't unset flag_strict_aliasing. Use separate assignment statements. From-SVN: r47618
Hans-Peter Nilsson committed -
* build-make, cross-make: Delete file. * configure.in: Set and substitute CROSS, ALL, SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC, HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on whether build == host and host == target. Do not AC_SUBST_FILE build_overrides or cross_overrides. Do not AC_SUBST cross_defines or extra_c_flags. * Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New. (SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX, HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set partially or completely with autoconf-substituted @variable@ notation. (INSTALL_TARGET, @cross_defines@, @cross_overrides@, @build_overrides@, @extra_c_flags@, all.build, install-build, install-cross-rest, install-float-h-cross): Deleted. (install-normal): Rename to install. Delete old "install" indirection rule. * ada/Makefile.in, ch/Makefile.in: Don't set ALL. Delete @cross_defines@, @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS is now @CROSS@ -DIN_GCC; update comment. From-SVN: r47617
Zack Weinberg committed -
stmt.c (expand_return): Clear destination instead of clobbering it when setting a return value via bitsets. 2001-12-04 Andrew MacLeod <amacleod@redhat.com> * stmt.c (expand_return): Clear destination instead of clobbering it when setting a return value via bitsets. From-SVN: r47616
Andrew MacLeod committed -
* tree.c (get_callee_fndecl): Only use DECL_ABSTRACT_ORIGIN if it has DECL_SAVED_TREE. From-SVN: r47615
Alexandre Oliva committed -
* einfo.adb (Has_Pragma_Pure_Function): New flag. Fix problem that stopped ceinfo from working * einfo.ads (Has_Pragma_Pure_Function): New flag. * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function. From-SVN: r47614
Geert Bosch committed -
(File_Time_Stamp): New procedure. (Preserve_Mode): New boolean. (Write_Unit): Pass time stamp. Implement -p switch (preserve time stamps). * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE). * gnatchop.adb: Do usage info for -p switch * adaint.h (__gnat_set_file_time_name): New function * adaint.c (__gnat_set_file_time_name): Implement * adaint.h: Fix typo From-SVN: r47613
Douglas B Rupp committed -
From-SVN: r47612
Alexandre Oliva committed -
From-SVN: r47611
Andreas Jaeger committed -
* c-decl.c (duplicate_decls): Revert rth's patch. If newdecl is in a different binding level, get its abstract origin to be olddecl. * tree-inline.c (expand_call_inline): Move DECL_INITIAL sanity check earlier. * tree.c (get_callee_fndecl): Follow DECL_ABSTRACT_ORIGIN if DECL_INITIAL is NULL. From-SVN: r47610
Alexandre Oliva committed -
* com.c (ffecom_expr_power_integer_): Adjust expand_start_stmt_expr() invocation. From-SVN: r47609
Alexandre Oliva committed -
* semantics.c (begin_global_stmt_expr): Adjust expand_start_stmt_expr invocation. From-SVN: r47608
Alexandre Oliva committed -
* stmt.c (expand_expr_stmt): Keep last_expr_value non-NULL iff we're interested in the result. Use it to tell whether to ignore results of enclosed expressions. (expand_start_stmt_expr): Added new argument, and initialize last_expr_value accordingly. * tree.h (expand_start_stmt_expr): Adjusted declaration. * c-common.c (c_expand_expr): Adjust call. * expr.c (expand_expr) [EXPR_WFL]: Pass const0_rtx down if ignoring the result. From-SVN: r47607
Alexandre Oliva committed -
From-SVN: r47606
Alexandre Oliva committed -
* Makefile.in (AR, RANLIB): Add, for substitutions. (all-unilib, $(LIBG2C)): Depend on object lists, not convenience libraries. (s-libe77): Renamed from libE77.la; build object list. (install): Do not move libraries to libdir. (mostlyclean, clean): Adjust. * libF77/Makefile.in (RANLIB): Add. (LINK): Remove. (../s-libf77): Renamed from ../libF77.la; build object list. (../libfrtbegin.a): Remove target first. Don't use $<. (all, clean, distclean): Adjust. * libF77/configure.in: Substitute RANLIB. * libF77/configure: Rebuilt. * libI77/Makefile.in (LINK): Delete. (../s-libi77): Renamed from ../libI77.la; build object list. (all, clean, distclean): Adjust. * libU77/Makefile.in: Likewise. From-SVN: r47605
Alexandre Oliva committed -
cp: * pt.c (end_template_parm_list): Clear TREE_CHAIN of each parm. From-SVN: r47604
Nathan Sidwell committed -
cp: PR g++/164 * init.c (sort_base_init): Allow binfos to be directly specified. * method.c (do_build_copy_constructor): Explicitly convert to the base instance. (do_build_assign_ref): Likewise. testsuite: * g++.dg/inherit/base1.C: New test. From-SVN: r47603
Nathan Sidwell committed -
* flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized. Return correct value if one of the subexpressions was optimized to 0 resp. 1. Optimize (x | A) | x and (x & A) | x. (and_reg_cond): Similarly. * gcc.c-torture/compile/20011130-2.c: New test. From-SVN: r47602
Jakub Jelinek committed -
* function.c (assign_parms): Set last_named only for last named argument. * g++.dg/other/stdarg1.C: New test. From-SVN: r47601
Jakub Jelinek committed -
From-SVN: r47599
Joseph Myers committed -
* doc/install.texi: Use the GFDL. Include years from old install manual in copyright notice. Include copyright and GFDL notice on HTML index page. Include usual footer on testing.html. * doc/install.texi2html: Build gfdl.html. Use -I $SOURCEDIR/include. * doc/include/fdl.texi: Adapt for use in the install manual. From-SVN: r47598
Joseph Myers committed -
* doc/install.texi: Document that installed native compiler for building cross compilers should be GCC 2.95 or later. From-SVN: r47596
Joseph Myers committed -
From-SVN: r47594
GCC Administrator committed -
From-SVN: r47593
Bryce McKinlay committed -
2001-12-03 Benjamin Kosnik <bkoz@redhat.com> * testsuite/22_locale/collate.cc: Compile-only. * testsuite/22_locale/time_get.cc: Same. * testsuite/22_locale/time_put.cc: Same. * testsuite/22_locale/numpunct.cc: Same. * testsuite/22_locale/num_put.cc: Same. * testsuite/22_locale/num_get.cc: Same. * testsuite/22_locale/moneypunct.cc: Same. * testsuite/22_locale/money_get.cc: Same. * testsuite/22_locale/messages.cc: Same. * testsuite/22_locale/ctype.cc: Same. From-SVN: r47592
Benjamin Kosnik committed
-