aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-11-19config.gcc (powerpc-*-darwin*): Add libgcc build specification file.Andreas Tobler6-1/+257
2003-11-19 Andreas Tobler <a.tobler@schweiz.ch> * config/config.gcc (powerpc-*-darwin*): Add libgcc build specification file. * config/t-slibgcc-darwin: New file, libgcc build specification. * config/t-darwin: Add libgcc2 flag -fPIC. * config/rs6000/t-darwin: Multilib matches float. * libgcc-darwin.ver: New file, contains libgcc symbols. From-SVN: r73728
2003-11-19compat.exp: Add DYLD_LIBRARY_PATH for darwin.Andreas Tobler5-0/+17
2003-11-19 Andreas Tobler <a.tobler@schweiz.ch> * g++.dg/compat/compat.exp: Add DYLD_LIBRARY_PATH for darwin. * lib/g77.exp: Likewise. * lib/objc.exp: Likewise. * lib/g++.exp: Likewise, add -multiply_defined suppress flag for darwin. From-SVN: r73727
2003-11-19libffi-dg.exp: Add DYLD_LIBRARY_PATH for darwin.Andreas Tobler2-2/+12
2003-11-19 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/lib/libffi-dg.exp: Add DYLD_LIBRARY_PATH for darwin. Add -lgcc_s to additional flags. From-SVN: r73726
2003-11-19libjava.exp: Add DYLD_LIBRARY_PATH for darwin.Andreas Tobler2-7/+31
2003-11-19 Andreas Tobler <a.tobler@schweiz.ch> * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for the right libgcc. Add -multiply_defined suppress and -bind_at_load flags. From-SVN: r73725
2003-11-19libstdc++.exp: Add DYLD_LIBRARY_PATH for darwin.Andreas Tobler3-1/+14
2003-11-19 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/lib/libstdc++.exp: Add DYLD_LIBRARY_PATH for darwin. * testsuite/libstdc++-dg/normal.exp: Add -multiply_defined suppress flag. From-SVN: r73724
2003-11-19cp-demangle.c (demangle_operator_name): Remove space before "sizeof".Ian Lance Taylor2-20/+134
* cp-demangle.c (demangle_operator_name): Remove space before "sizeof". (demangle_type_ptr): Put qualifiers in the right place. Handle qualifiers in pointer to member specially. (demangle_type): Handle qualifiers for pointer or reference specially. Handle function type. (demangle_local_name): Save and restore caret around demangling of initial encoding. From-SVN: r73723
2003-11-19re PR libgcj/13026 (libgcj verifier failure)Tom Tromey2-3/+10
PR libgcj/13026: * verify.cc (state::copy): Only set local_changed if we're in a subroutine. Correctly copy local variables which were modified by the subroutine. (push_jump_merge): Added more debugging output. From-SVN: r73722
2003-11-19* config/ns32k/ns32k.h: Remove obsolete comment.Nathanael Nerode2-8/+5
From-SVN: r73720
2003-11-19Daily bump.GCC Administrator2-2/+2
From-SVN: r73718
2003-11-18configopts.html, [...]: Add <link> tags.Jonathan Wakely27-39/+195
2003-11-18 Jonathan Wakely <redi@gcc.gnu.org> * docs/html/configopts.html, docs/html/debug.html, docs/html/documentation.html, docs/html/explanations.html, docs/html/install.html, docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html, docs/html/17_intro/license.html, docs/html/18_support/howto.html, docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html, docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html, docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html, docs/html/22_locale/locale.html, docs/html/22_locale/messages.html, docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html, docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html, docs/html/27_io/howto.html, docs/html/ext/howto.html, docs/html/ext/sgiexts.html: Add <link> tags. From-SVN: r73712
2003-11-18test-demangle.c (main): Don't pass DMGL_VERBOSE to cplus_demangle.Ian Lance Taylor2-1/+4
* testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to cplus_demangle. From-SVN: r73709
2003-11-18* testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.Ian Lance Taylor2-1/+5
From-SVN: r73708
2003-11-18jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string is null.Tom Tromey2-2/+9
* jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string is null. From-SVN: r73707
2003-11-18re PR middle-end/11821 (Operator implementation as a library call fails with ↵Roger Sayle2-1/+9
constants) PR middle-end/11821 * config/arm/arm.c (arm_rtx_costs_1): Improve estimate of the code size for calls to libgcc's div & mod subroutines when using -Os. From-SVN: r73706
2003-11-18re PR c++/12932 (ICE with use of ptr-to-function as template arg)Kriang Lerdsuwanakij6-1/+38
PR c++/12932 * class.c (currently_open_derived_class): Check if current_class_type is NULL_TREE. * semantics.c (finish_call_expr): Check if currently_open_derived_class returns NULL_TREE. * cp-tree.h (DERIVED_FROM_P): Add parenthesis around PARENT parameter. * g++.dg/template/static5.C: New test. From-SVN: r73705
2003-11-18* cgraph.c (change_decl_assembler_name): Avoid bogus warnings.Jan Hubicka2-1/+6
From-SVN: r73703
2003-11-18sysv4.h: OpenBSD hooks.Marc Espie2-2/+51
2003-11-18 Marc Espie <espie@openbsd.org> * config/rs6000/sysv4.h: OpenBSD hooks. From-SVN: r73702
2003-11-18* gcc.dg/nested-func-1.c: New test.Joseph Myers2-0/+39
From-SVN: r73701
2003-11-18[multiple changes]Arnaud Charlet7-16/+117
2003-11-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s". * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set TYPE_PRECISION directly from esize. 2003-11-18 Thomas Quinot <quinot@act-europe.fr> * cstreams.c: Use realpath(3) on FreeBSD. Fix typo in comment while we are at it. * init.c: Initialization routines for FreeBSD * link.c: Link info for FreeBSD * sysdep.c: Add the case of FreeBSD From-SVN: r73700
2003-11-18expr.c (expand_expr): Don't look through constant arrays if they don't bind ↵Richard Henderson2-1/+7
locally. * expr.c (expand_expr): Don't look through constant arrays if they don't bind locally. From-SVN: r73698
2003-11-18re PR libstdc++/12868 (basic_filebuf::imbue fails too easily)Paolo Carlini3-18/+85
2003-11-18 Paolo Carlini <pcarlini@suse.de> PR libstdc++/12868 * include/bits/fstream.tcc (imbue): For encodings != -1 it's always ok to imbue a new locale, provided seekoff(0, cur, ...) doesn't fail, of course. (underflow): In order for the above to work, deal gracefully with _M_codecvt->in returning codecvt_base::error while (__ilen = __iend - this->eback()) > 0: it just means __ilen correctly converted internal characters before an error. * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: New. From-SVN: r73697
2003-11-18jar.exp: Cleanup files and reset CLASSPATH.Andreas Tobler2-2/+14
2003-11-18 Andreas Tobler <a.tobler@schweiz.ch> * libjava.jar/jar.exp: Cleanup files and reset CLASSPATH. From-SVN: r73696
2003-11-18* libjava.compile/PR12857.java: New test case.Jeff Sturm2-0/+8
From-SVN: r73692
2003-11-18re PR java/12857 (Illegal method modifier when loading a generated .class)Jeff Sturm4-35/+110
Fix PR java/12857. decl.c (java_init_decl_processing): Don't initialize class_not_found_type_node, no_class_def_found_type_node. java-tree.h (JTI_CLASS_NOT_FOUND_TYPE_NODE, JTI_NO_CLASS_DEF_FOUND_TYPE_NODE): Remove from java_tree_index. (class_not_found_type_node, no_class_def_found_type_node): Don't define. parse.y (build_dot_class_method_invocation): Add this_class argument. Qualify method invocations to a different class. (create_new_parser_context): Initialize saved_data_ctx to 0. (java_parser_context_save_global): Initialize saved_data_ctx to 1. (build_dot_class_method): Don't load classes. Register incomplete types. (build_incomplete_class_ref): Special cases for interfaces and inner classes. Move build_dot_class_method call to here... (patch_incomplete_class_ref): ...from here. Pass current_class to build_dot_class_method_invocation. (build_assertion): Pass class_type to build_dot_class_method_invocation. (encapsulate_with_try_catch): Handle EXPR_WITH_FILE_LOCATION node. From-SVN: r73691
2003-11-18re PR java/12739 (gcj emits dead bytecode)Jeff Sturm3-3/+16
Fix PR java/12739. * java-tree.h (BLOCK_EMPTY_P): Define. * parse.y (java_complete_lhs): Check for empty blocks in TRY_FINALLY_EXPR case. From-SVN: r73690
2003-11-17expr.c (convert_move): Use GET_MODE_PRECISION instead of bitsize when seeing ↵Richard Kenner2-2/+7
if truncation or extension. * expr.c (convert_move): Use GET_MODE_PRECISION instead of bitsize when seeing if truncation or extension. From-SVN: r73689
2003-11-18BasicDefaults.java: Rewrite to spec.Graydon Hoare3-82/+312
2003-11-17 Graydon Hoare <graydon@redhat.com> * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec. * javax/swing/UIDefaults.java: Modify to reflect rewrite. From-SVN: r73688
2003-11-18reload1.c (reload): Fix previous change.Eric Christopher2-6/+10
2003-11-17 Eric Christopher <echristo@redhat.com> * reload1.c (reload): Fix previous change. From-SVN: r73687
2003-11-18Daily bump.GCC Administrator2-2/+2
From-SVN: r73684
2003-11-17fix size_tJason Merrill2-2/+2
From-SVN: r73680
2003-11-17add commentJason Merrill1-0/+3
From-SVN: r73678
2003-11-17init.c (build_new_1): Preevaluate placement args.Jason Merrill4-24/+71
* init.c (build_new_1): Preevaluate placement args. * call.c (build_op_delete_call): Don't expose placement args to overload resolution. From-SVN: r73677
2003-11-17re PR debug/11325 (nested class debug info missing)Scott Snyder2-3/+32
2003-11-17 Scott Snyder <snyder@fnal.gov> PR debug/11325 * dwarf2out.c (struct die_struct): Add die_definition field. (add_AT_specification): New. (gen_subprogram_die, gen_variable_die, gen_struct_or_union_type_die): Use it. (prune_unused_types_mark): If we're marking a forward declaration, also mark the full definition, if it exists. From-SVN: r73676
2003-11-17java-tree.h (LOCAL_VAR_OUT_OF_SCOPE_P): New.Andrew Haley3-7/+27
2003-09-12 Andrew Haley <aph@redhat.com> * java-tree.h (LOCAL_VAR_OUT_OF_SCOPE_P): New. (struct lang_decl_var:freed): New variable. * decl.c (poplevel): Mark local vars that have gone out of scope. (push_jvm_slot): Don't use the RTL of a var that has gone out of scope. From-SVN: r73675
2003-11-17re PR c++/11266 ([tree-ssa] ICE with placement new)Jason Merrill1-0/+10
PR c++/11266 * gimplify.c (gimple_add_tmp_var): Also make sure seen_in_bind_expr isn't set. (mostly_copy_tree_r): Don't copy a TARGET_EXPR. (gimplify_target_expr): Only expand a TARGET_EXPR the first time we see it. [[Split portion of a mixed commit.]] From-SVN: r73674.2
2003-11-17Resync.Arnaud Charlet1-0/+113
From-SVN: r73673
2003-11-17[multiple changes]Arnaud Charlet29-1525/+2510
2003-11-17 Jerome Guitton <guitton@act-europe.fr> * 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is already called in System.Threads. * 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the environment task, as it has been moved to System.Threads.Initialization. 2003-11-17 Arnaud Charlet <charlet@act-europe.fr> * adaint.c (__gnatlib_install_locks): Only reference __gnat_install_locks on VMS, since other platforms can avoid using --enable-threads=gnat 2003-11-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro. * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set TYPE_PACKED_ARRAY_TYPE_P. (validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P. Part of PR ada/12806 * utils.c (float_type_for_precision): Renamed from float_type_for_size. Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE. 2003-11-17 Vincent Celier <celier@gnat.com> * gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted to False. Do not set exit status to Failure when Warning is True. (Gnatchop): Make errors "no compilation units found" and "no source files written" warnings only. * make.adb (Gnatmake): When using a project file, set Look_In_Primary_Dir to False. (Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas and Local_Configuration_Pragmas in the project where they are declared not an extending project which might have inherited them. * osint.adb (Locate_File): If Name is already an absolute path, do not look for a directory. * par-ch10.adb (P_Compilation_Unit): If source contains no token, and -gnats (Check_Syntax) is used, issue only a warning, not an error. * prj.adb (Register_Default_Naming_Scheme): Add new component Project in objects of type Variable_Value. * prj.ads: (Variable_Value): New component Project * prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source is in a project extended by Project. * prj-proc.adb (Add_Attributes): New parameter Project. Set component Project of Variable_Values to this new parameter value. (Expression): Set component Project of Variable_Values. (Process_Declarative_Items): Call Add_Attributes with parameter Project. Set the component Project in array elements. 2003-11-17 Sergey Rybin <rybin@act-europe.fr> * errout.adb: (Initialize): Add initialization for error nodes. * sem_ch12.adb (Initialize): Add missing initializations for Exchanged_Views and Hidden_Entities. 2003-11-17 Ed Schonberg <schonberg@gnat.com> * sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an already instantiated tree for use in subsequent inlining. (Analyze_Associations, Instantiate_Formal_Subprogram, Instantiate_Object): improve error message for mismatch in instantiations. * sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle instantiations of subprograms declared in instances. 2003-11-17 Javier Miranda <miranda@gnat.com> * sem_ch4.adb (Analyze_Allocator): Previous modification must be executed only under the Extensions_Allowed flag. 2003-11-17 Robert Dewar <dewar@gnat.com> * a-exexda.adb (Address_Image): Fix documentation to indicate leading zeroes suppressed. (Address_Image): Fix bug of returning 0x instead of 0x0 Minor reformatting (function specs). * einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array (missed case of 33-63) * freeze.adb, sem_ch13.adb: Properly check size of packed bit array * s-thread.adb: Add comments for pragma Restriction * exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb, sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting 2003-11-17 Ed Falis <falis@gnat.com> * s-thread.adb: Added No_Tasking restriction for this implementation. 2003-11-17 Emmanuel Briot <briot@act-europe.fr> * xref_lib.adb (Parse_Identifier_Info): Add handling of generic instanciation references in the parent type description. 2003-11-17 GNAT Script <nobody@gnat.com> * Make-lang.in: Makefile automatically updated From-SVN: r73672
2003-11-17* MAINTAINERS: Add myself as iq2000 port maintainer.Stan Cox2-0/+5
From-SVN: r73671
2003-11-17locale_facets.tcc: Fix typo in comment.Paolo Carlini2-1/+5
2003-11-17 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc: Fix typo in comment. From-SVN: r73667
2003-11-17Replace use of poisoned BUILD_VA_LIST_TYPE macro with a target function.Nick Clifton4-8/+14
From-SVN: r73666
2003-11-178.cc: New test, summarizing the discussion ensuing libstdc++/12988.Paolo Carlini3-0/+142
2003-11-17 Paolo Carlini <pcarlini@suse.de> * testsuite/22_locale/num_put/put/char/8.cc: New test, summarizing the discussion ensuing libstdc++/12988. * testsuite/22_locale/num_put/put/wchar_t/8.cc: Ditto. From-SVN: r73665
2003-11-17h8300-protos.h: Add the prototype for same_cmp_following_p.Kazu Hirata4-2/+29
* config/h8300/h8300-protos.h: Add the prototype for same_cmp_following_p. * config/h8300/h8300.c (same_cmp_following_p): New. * config/h8300/h8300.md (peephole2): Use it. From-SVN: r73662
2003-11-17h8300.md: Don't use REGNO when its operand is not guaranteed to be a REG.Kazu Hirata2-4/+9
* config/h8300/h8300.md: Don't use REGNO when its operand is not guaranteed to be a REG. From-SVN: r73661
2003-11-17Daily bump.GCC Administrator2-2/+2
From-SVN: r73658
2003-11-16* gcc.dg/cpp/assert4.c: New test.Kaveh R. Ghazi2-0/+376
From-SVN: r73654
2003-11-16re PR libgcj/13062 (StreamTokenizer ignores commentChar)Tom Tromey2-4/+25
PR libgcj/13062: * java/io/StreamTokenizer.java (commentChar): Clear other attributes for character. (quoteChar): Likewise. From-SVN: r73653
2003-11-16Makefile.in (expr.o): Depend on $(TARGET_H).Richard Sandiford11-228/+301
* Makefile.in (expr.o): Depend on $(TARGET_H). * target.h (return_in_msb): New target hook. * target-def.h (TARGET_RETURN_IN_MSB): New macro. (TARGET_CALLS): Include it. * calls.c (shift_returned_value): New function. (expand_call): Use it. * expr.c: Include target.h. (copy_blkmode_from_reg): Check targetm.calls.return_in_msb when deciding what padding is needed. Change the name of the local padding variable from big_endian_correction to padding_correction. * stmt.c (shift_return_value): New function. (expand_return): Use it. Adjust memory->register copy in the same way as copy_blkmode_from_reg. Only change the return register's mode if it was originally BLKmode. * doc/tm.texi (TARGET_RETURN_IN_MSB): Document. * config/mips/mips.c (TARGET_RETURN_IN_MSB): Define. (mips_fpr_return_fields): New, split out from mips_function_value. (mips_return_in_msb, mips_return_fpr_pair): New functions. (mips_function_value): Rework to use the functions above. * config/mips/irix6-libc-compat.c: Delete. * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Undefine. From-SVN: r73652
2003-11-16* doc/install.texi (--enable-checking): Update valgrind's URL.Kazu Hirata2-1/+5
From-SVN: r73651
2003-11-16h8300.md: Fix warnings by replacing -2147483648 with -2147483647 - 1.Kazu Hirata2-2/+7
* config/h8300/h8300.md: Fix warnings by replacing -2147483648 with -2147483647 - 1. From-SVN: r73647
2003-11-16Fix links in online manuals.Gerald Pfeifer2-2/+8
* doc/invoke.texi (H8/300 Options): @xref to ld, not ld.info. (Precompiled Headers): @pxref to cpp, not cpp.info. From-SVN: r73646