- 05 Dec, 2001 40 commits
-
-
* sem_eval.adb (Eval_Concatenation): If left operand is a null string, get bounds from right operand. * sem_eval.adb: Minor reformatting * exp_util.adb (Make_Literal_Range): use bound of literal rather than Index'First, its lower bound may be different from 1. * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B and C48009J * prj-nmsc.adb Minor reformatting * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if set and libraries are not supported. * sem_ch3.adb (Build_Derived_Private_Type): set Public status of private view explicitly, so the back-end can treat as a global when appropriate. From-SVN: r47692
Geert Bosch committed -
From-SVN: r47691
Geert Bosch committed -
* sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation unit, always replace instance node with new body, for ASIS use. * prj-nmsc.adb (Language_Independent_Check): Issue a warning if libraries are not supported and both attributes Library_Name and Library_Dir are specified. * prj-proc.adb (Expression): Set location of Result to location of first term. * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS. (prj-nmsc is now importing MLib.Tgt) * prj-proc.adb: Put the change indicated above that was forgotten. From-SVN: r47690
Geert Bosch committed -
2001-12-05 William Cohen <wcohen@redhat.com> * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Correct typo in instruction. From-SVN: r47689
William Cohen committed -
From-SVN: r47688
Robert Dewar committed -
* sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a constraint, introduce explicit subtype declaration and derive from it. * sem_ch3.adb: Minor reformatting From-SVN: r47687
Ed Schonberg committed -
* checks.adb (Determine_Range): Increase cache size for checks. Minor reformatting * exp_ch6.adb: Minor reformatting (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has a parameter whose root type is System.Address, since treating such subprograms as pure in the code generator is almost surely a mistake that will lead to unexpected results. * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and change handling of conversions. * g-regexp.adb: Use System.IO instead of Ada.Text_IO. From-SVN: r47686
Robert Dewar committed -
* sem_ch3.adb (Analyze_Object_Declaration): If expression is an aggregate with static wrong size, attach generated Raise node to declaration. From-SVN: r47685
Ed Schonberg committed -
* defineclass.cc (character): Removed. (prepare_character): Removed. (is_identifier_start): Use Character, not character. (is_identifier_part): Likewise. From-SVN: r47684
Tom Tromey committed -
* sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute. Fixes compilation abandoned bomb in B24009B. From-SVN: r47683
Robert Dewar committed -
* sem_ch12.adb: Document use of Associated_Node on Selected_Components. (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants, to clarify use of untyped descendant fields. From-SVN: r47682
Ed Schonberg committed -
2001-12-05 Daniel Berlin <dan@cgsoftware.com> * config/rs6000/rs6000.h (enum rs6000_builtins): Add more altivec builtins. * config/rs6000/rs6000.md: Modeling of 7450 altivec changed to better reflect reality (change from Apple's tree). Add more of altivec instructions. Add ftruncv4sf2 pattern. Remove more unspecs (vector merge instructions, etc). * config/rs6000/rs6000.c (bdesc_3arg): New, for 3 argument altivec builtins. (bdesc_1arg): New, for 1 argument altivec builtins. (altivec_expand_builtin): Handle unary and ternary ops. (altivec_init_builtins): Ditto. From-SVN: r47681
Daniel Berlin committed -
* prj-dect.ads: Add ??? comment Add 2001 to copyright notice (was not done in after all) * prj-part.adb: Minor reformatting. Reword one awkward error message. * prj.ads: Minor reformatting throughout, and add some ??? comments * snames.ads: Minor reformatting From-SVN: r47680
Robert Dewar committed -
* prj-dect.adb (Parse): Rename parameter Modifying to Extends. * prj-dect.ads (Parse): Rename parameter Modifying to Extends. * prj-env.adb: Minor comment changes (modifying -> extends). * prj-nmsc.adb: Minor comment changes (modifying -> extends). * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to Tok_Extends. * prj.adb (Initialize): Change Modifying to Extends. * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends. * prj.ads: Minor comment change (Modifying -> extending). * snames.ads: Change modifying to extends. From-SVN: r47679
Geert Bosch committed -
* prj-dect.adb (Parse): Rename parameter Modifying to Extends. * prj-dect.ads (Parse): Rename parameter Modifying to Extends. * prj-env.adb: Minor comment changes (modifying -> extends). * prj-nmsc.adb: Minor comment changes (modifying -> extends). * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to Tok_Extends. * prj.adb (Initialize): Change Modifying to Extends. * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends. * prj.ads: Minor comment change (Modifying -> extending). * snames.ads: Change modifying to extends. From-SVN: r47678
Vincent Celier committed -
* sem_warn.adb: Remove stuff for conditionals, we are not going to do this after all. * sem_warn.ads: Remove stuff for conditionals, we are not going to do this after all. Add 2001 to copyright notice From-SVN: r47677
Robert Dewar committed -
* config/alpha/vms.h (ADA_LONG_TYPE_SIZE): New macro. * doc/tm.texi (ADA_LONG_TYPE_SIZE): Document it. From-SVN: r47676
Richard Kenner committed -
gcse.c (store_killed_in_insn): Consider pure calls as potential store killers in addition to normal calls. * gcse.c (store_killed_in_insn): Consider pure calls as potential store killers in addition to normal calls. * gcc.c-torture/execute/20011024-1.c: New test. From-SVN: r47675
Jakub Jelinek committed -
* expr.c (expand_expr): When checking promoted value, use DECL_MODE (exp) and not mode. * g++.dg/other/anon-union.C: New test. From-SVN: r47674
Jakub Jelinek committed -
* c-typeck.c (output_init_element): Call digest_init just once, not in each if branch and check its return value for error_mark_node. * gcc.dg/noncompile/20011025-1.c: New test. From-SVN: r47673
Jakub Jelinek committed -
From-SVN: r47672
Jakub Jelinek committed -
* c-decl.c (pushdecl): Only increase n_incomplete if pushed decl's type is RECORD_TYPE, UNION_TYPE or ARRAY_TYPE thereof. (finish_struct): Break the loop if n_incomplete went to 0. For ARRAY_TYPE, if it is not TYPE_DECL, layout the decl too. * gcc.c-torture/compile/20011130-1.c: New test. From-SVN: r47671
Jakub Jelinek committed -
From-SVN: r47670
Douglas B Rupp committed -
From-SVN: r47669
Douglas B Rupp committed -
* vmsdbg.h, vmsdbgout.c: Add documentation and minor cleanups. * doc/invoke.texi: Add -gvms. * doc/passes.texi: Add mention of vmsdbgout.c. * doc/tm.texi: Document VMS debugging output. Co-Authored-By: Douglas B Rupp <rupp@gnat.com> From-SVN: r47668
Richard Kenner committed -
From-SVN: r47667
Richard Kenner committed -
From-SVN: r47666
Richard Kenner committed -
From-SVN: r47665
Richard Kenner committed -
* function.c (keep_stack_depressed): Refine check for register clobbered over call. From-SVN: r47664
Richard Kenner committed -
* expr.c (store_expr): When copying string constant into array, use functions that update memrefs instead of computations on addresses to better track MEMs. Also properly handle 32/64 pointers. (expand_expr): Use TARGET even if not reg for multi-word CONSTRUCTOR. (expand_expr, case CONSTRUCTOR): Fix errors in parms to assign_temp. From-SVN: r47663
Richard Kenner committed -
* emit-rtl.c (component_ref_for_mem_expr): Try harder to find decl underneath COMPONENT_REFs. (set_mem_attributes): Also strip VIEW_CONVERT_EXPR. From-SVN: r47662
Richard Kenner committed -
From-SVN: r47660
GCC Administrator committed -
From-SVN: r47659
Neil Booth committed -
emit-rtl.c (set_unique_reg_note): Don't set a REG_EQUAL or REG_EQUIV note if multiple sets are present. * emit-rtl.c (set_unique_reg_note): Don't set a REG_EQUAL or REG_EQUIV note if multiple sets are present. From-SVN: r47657
John Wehle committed -
* cfgrtl.c (verify_flow_info): Allow jump table data in fallthru if CASE_DROPS_THROUGH. From-SVN: r47655
John David Anglin committed -
From-SVN: r47654
Geert Bosch committed -
* errout.adb (Error_Msg): Ignore attempt to put error msg at junk location if we already have errors. Stops some cases of cascaded errors. * errout.adb: Improve comment. From-SVN: r47653
Robert Dewar committed -
(Analyze_Formal_Type_Definition): Defend against Error. (Analyze_Formal_Subprogram): Defend against Error. * par-ch12.adb (F_Formal_Type_Declaration): In case of error, remove following semicolon if present. Removes cascaded error. From-SVN: r47652
Robert Dewar committed -
(Gen_Exception_Table_Ada): Write "begin" and then return if Num exceptions equals 0. (Gen_Exception_Table_C): Return if Num exceptions equals 0. Fixes PIWG E tests (which have to be run with -gnatL). From-SVN: r47651
Douglas B Rupp committed -
From-SVN: r47650
Robert Dewar committed
-