- 11 Dec, 2001 40 commits
-
-
sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance that is the parent of other generics... * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance that is the parent of other generics, the instance body replaces the instance node. Retrieve the instance of the spec, which is the one that is visible in clients and within the body. From-SVN: r47906
Ed Schonberg committed -
* gnatmain.adb: Initial version. * gnatmain.ads: Initial version. * prj-attr.adb (Initialisation_Data): Add package Gnatstub. * snames.adb: Updated to match snames.ads. * snames.ads: Added Gnatstub. * prj-attr.adb (Initialization_Data): Change name from Initialisation_Data. * g-regpat.adb (Parse_Literal): Properly handle simple operators ?, + and * applied to backslashed expressions like \r. * g-os_lib.ads: String_List type added, Argument_List type is now subtype of String_List. * g-os_lib.ads: Change copyright to FSF Add comments for String_List type * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a string to the buffer). From-SVN: r47905
Geert Bosch committed -
2001-12-11 Steve Ellcey <sje@cup.hp.com> * doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): New. * defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): New. * calls.c (store_unaligned_arguments_into_pseudos): Check FUNCTION_ARG_REG_LITTLE_ENDIAN to see how structures are passed/returned. * expr.c (move_block_from_reg): Ditto. (move_block_from_reg): Ditto. (copy_blkmode_from_reg): Ditto. * stmt.c (expand_return): Ditto. * stor-layout.c (compute_record_mode): If FUNCTION_ARG_REG_LITTLE_ENDIAN is set then check MEMBER_TYPE_FORCES_BLK even if mode == VOIDmode. * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set to true so that Structures of one field are still treated as structures. (FUNCTION_ARG_REG_LITTLE_ENDIAN): New, set it to true. (FUNCTION_ARG_PADDING): Set to ia64_hpux_function_arg_padding(). (PAD_VARARGS_DOWN): Modify from default to not pad structures down. * config/ia64/ia64-protos.h (ia64_hpux_function_arg_padding): New. * config/ia64/ia64.c (ia64_hpux_function_arg_padding): New function to special case handling of structure padding. From-SVN: r47904
Steve Ellcey committed -
at end of line. From-SVN: r47903
Matthias Klose committed -
* freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in sem_attr. * sem_attr.adb: Simplify previous fix for Address. (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now, to avoid anomalies where the bound of the type appears to raise constraint error. * lib-xref.adb (Output_Refs): Make sure pointers are always properly handled. * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a renamed unit before checking for recursive instantiations. * prj.ads: Add comments for some of the fields. From-SVN: r47902
Geert Bosch committed -
* lib-xref.adb (Output_Refs): Don't output type references outside the main unit if they are not otherwise referenced. * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify code and diagnose additional illegal uses * sem_util.adb (Is_Object_Reference): An indexed component is an object only if the prefix is. * g-diopit.adb: Initial version. * g-diopit.ads: Initial version. * g-dirope.adb: (Expand_Path): Avoid use of Unbounded_String (Find, Wildcard_Iterator): Moved to child package Iteration * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS * sem_attr.adb: Minor reformatting From-SVN: r47901
Geert Bosch committed -
2001-12-11 Daniel Berlin <dan@cgsoftware.com> * sched-rgn.c (CONST_BASED_ADDRESS_P): CONST_INT -> CONSTANT_P. (may_trap_exp): Stores only are risk if they trap, too, not just if code == MEM. From-SVN: r47900
Daniel Berlin committed -
* sem_ch3.adb: Clarify some ???. * exp_util.adb (Must_Be_Aligned): Removed, replaced by Exp_Pakd.Known_Aligned_Enough * sem_ch13.adb (Check_Address_Alignment): Removed, extended version is moved to Exp_Ch13. From-SVN: r47899
Geert Bosch committed -
* einfo.ads: Minor reformatting * exp_ch5.adb: Add comment for previous.change * ali.adb: New interface for extended typeref stuff. * ali.ads: New interface for typeref stuff. * checks.adb (Apply_Alignment_Check): New procedure. * debug.adb: Add -gnatdM for modified ALI output * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough. * lib-xref.adb: Extend generation of <..> notation to cover subtype/object types. Note that this is a complete rewrite, getting rid of the very nasty quadratic algorithm previously used for derived type output. * lib-xref.ads: Extend description of <..> notation to cover subtype/object types. Uses {..} for these other cases. Also use (..) for pointer types. * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup. * exp_pakd.adb: Minor reformatting. Note that prevous RH should say: (Known_Aligned_Enough): Replaces Must_Be_Aligned. From-SVN: r47896
Geert Bosch committed -
* gnatcmd.adb: Changed /COMPILE_ONLY to /ACTIONS=COMPILE Changed /BIND_ONLY to /ACTIONS=BIND Changed /LINK_ONLY to /ACTIONS=LINK * sem_ch8.adb (Find_Selected_Component): improved search for a candidate package in case of error. * sem_ch12.adb (Inline_Instance_Body): place head of use_clause chain back on scope stack before reinstalling use clauses. * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings is enabled, do not kill the code for the condition, to preserve warning. From-SVN: r47895
Geert Bosch committed -
checks.adb (Insert_Valid_Check): Apply validity check to expression of conversion, not to result of conversion. * checks.adb (Insert_Valid_Check): Apply validity check to expression of conversion, not to result of conversion. * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag before freezing parent. If the declarations are mutually recursive, an access to the current record type may be frozen before the derivation is complete. From-SVN: r47894
Geert Bosch committed -
2001-12-05 Martin v. L�wis <loewis@informatik.hu-berlin.de> * es.po: Update to 3.0 template. From-SVN: r47893
Martin v. Löwis committed -
2001-12-11 Aldy Hernandez <aldyh@redhat.com> * flow.c (find_regno_partial): Indent properly. Add a default to switch. From-SVN: r47892
Aldy Hernandez committed -
cp: PR g++/51 * parse.y (frob_specs): Indicate it is a language linkage which contained the extern. * decl.c (grokdeclarator): Allow extern language linkage with other specifiers. testsuite: * g++.dg/other/linkage1.C: New test. * g++.old-deja/g++.brendan/err-msg2.C: Alter to avoid two specifiers. From-SVN: r47891
Nathan Sidwell committed -
* c-common.c (combine_strings): Complain if concatenating __FUNCTION__. * c-parse.in (yylexname): Flag artificial strings. * tree.h (TREE_ARTIFICIAL_STRING_P): New. doc: * extend.texi: Update. testsuite: * gcc.dg/concat.c: New test. From-SVN: r47890
Neil Booth committed -
2001-12-10 Aldy Hernandez <aldyh@redhat.com> * c-common.c (type_for_mode): Handle unsigned vectors. (type_for_mode): Remove redundant calls to TYPE_MODE. * tree.c (make_vector): New. (build_common_tree_nodes_2): Use make_vector for vector types. Add unsigned vector types. * tree.h (tree_index): Add unsigned types for vectors. (unsigned_V16QI_type_node): New. (unsigned_V4SI_type_node): New. (unsigned_V8QI_type_node): New. (unsigned_V8HI_type_node): New. (unsigned_V4HI_type_node): New. (unsigned_V2SI_type_node): New. From-SVN: r47889
Aldy Hernandez committed -
2001-12-11 Phil Edwards <pme@gcc.gnu.org> * testsuite/ext/allocators.cc: New file. From-SVN: r47888
Phil Edwards committed -
From-SVN: r47887
David Edelsohn committed -
* objc/objc-act.c (finish_message_expr): Fix misplaced parens in a test of class names. * objc/compile: New test directory. * objc/compile/compile.exp: New expect script. * objc/compile/20011211-1.m: New compile test. From-SVN: r47886
Stan Shebs committed -
2001-12-11 David O'Brien <obrien@FreeBSD.org> * config.gcc (m68020-*-elf*): Expand tm_file to include all needed cpu configuration headers. * config/h8300/elf.h: Include dbxelf.h. * config/m68k/linux.h: Likewise. * config/m68k/m68020-elf.h: Likewise. * config/m68k/m68kv4.h: Likewise. * config/sh/elf.h: Likewise. * config/m68k/m68kemb.h: Add comment about the its purpose. Approved by: Richard Henderson <rth@redhat.com> Message-ID: <20011210155120.A23862@redhat.com> From-SVN: r47885
David O'Brien committed -
* objc/objc-act.c (build_constructor): Cast initializer values to the proper field types. From-SVN: r47884
Richard Henderson committed -
* java/lang/String.java (String): New constructor. * gnu/gcj/runtime/natStringBuffer.cc: New file. * gnu/gcj/runtime/StringBuffer.java: New file. * Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Added gnu/gcj/runtime/StringBuffer.java. (nat_source_files): Added gnu/gcj/runtime/natStringBuffer.cc. From-SVN: r47883
Tom Tromey committed -
lex.c (java_init_lex): Define wfl_to_string as gnu.gcj.runtime.StringBuffer unless generating bytecode. * lex.c (java_init_lex): Define wfl_to_string as gnu.gcj.runtime.StringBuffer unless generating bytecode. From-SVN: r47882
Tom Tromey committed -
From-SVN: r47881
Jakub Jelinek committed -
* class.c (make_method_value): Use null_pointer_node to represent empty exception table. From-SVN: r47880
Jeff Sturm committed -
* include/bits/locale_facets.tcc (_M_extract_int): Avoid uninitialized warning. From-SVN: r47877
Jason Merrill committed -
* builtins.c (expand_builtin): Use a switch statement to list those functions not expanded without optimizations, instead of a series of equality tests. From-SVN: r47876
Roger Sayle committed -
* lib/prune.exp (prune_gcc_output): Also handle "In member function". So many permutations... From-SVN: r47875
Jason Merrill committed -
* config/alpha/vms.h (LIB_SPEC): Define. * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Don't set component field. From-SVN: r47874
Douglas B Rupp committed -
From-SVN: r47873
Douglas B Rupp committed -
From-SVN: r47872
Douglas B Rupp committed -
* Makefile.in (stage[1234]-start): $(LN_S) utilities in a manner that works if LN_S = cp. From-SVN: r47871
Douglas B Rupp committed -
From-SVN: r47870
Douglas B Rupp committed -
* gcc/configure.in: Hardcode that vfork works on VMS host. * gcc/configure: Regenerated. * libiberty/configure.in: Hardcode that vfork works on VMS host. * libiberty/configure: Regenerated. From-SVN: r47869
Douglas B Rupp committed -
(__Atomicity_lock<0>::_S_atomicity_lock): Add. From-SVN: r47867
Loren J. Rittle committed -
From-SVN: r47866
Matthias Klose committed -
From-SVN: r47865
GCC Administrator committed -
* prims.cc (JvConvertArgv): Convert using current locale's encoding. From-SVN: r47862
Tom Tromey committed -
Fix for PR libgcj/5064. * java/lang/natClassLoader.cc: Don't include stdio.h. (_Jv_RegisterClassHookDefault): Don't use snprintf. From-SVN: r47861
Tom Tromey committed -
From-SVN: r47860
Tom Tromey committed
-