1. 22 Aug, 2008 19 commits
    • exp_ch5.adb (Expand_Simple_Function_Return): If secondary stack is involved and… · 87cd63ba
      exp_ch5.adb (Expand_Simple_Function_Return): If secondary stack is involved and the return type is class-wide...
      
      2008-08-22  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_ch5.adb (Expand_Simple_Function_Return): If secondary stack is
      	involved and the return type is class-wide, use the type of the expression
      	for the generated access type. Suppress useless discriminant checks on the
      	allocator.
      
      From-SVN: r139447
      Ed Schonberg committed
    • init.c: adjust EH support code on Alpha/Tru64 as well. · 116c24a0
      2008-08-22  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* init.c: adjust EH support code on Alpha/Tru64 as well.
      
      	* raise-gcc.c: Add back a couple of comments.
      
      From-SVN: r139446
      Eric Botcazou committed
    • s-shasto.ads, [...]: Move Shared_Var_ROpen... · 0999b547
      2008-08-22  Kevin Pouget  <pouget@adacore.com>
      
      	* s-shasto.ads, s-shasto.adb: Move Shared_Var_ROpen, Shared_Var_WOpen and
      	Shared_Var_Close procedure specifications from package spec to package body.
      
      	* rtsfind.ads: Remove RE_Shared_Var_Close, RE_Shared_Var_ROpen,
      	RE_Shared_Var_WOpen entries.
      
      	* exp_dist.adb: Update RE_Any_Content_Ptr to RE_Any_Container_Ptr in
      	Build_To_Any_Call, Build_TypeCode_Call and Build_From_Any_Call procedures.
      
      From-SVN: r139445
      Kevin Pouget committed
    • sem_ch8.adb: Minor reformatting · 44b90160
      2008-08-22  Robert Dewar  <dewar@adacore.com>
      
      	* sem_ch8.adb: Minor reformatting
      
      From-SVN: r139444
      Robert Dewar committed
    • 2008-08-22 Robert Dewar <dewar@adacore.com> · 1dcdbfab
      	* exp_attr.adb:
      	(Expand_N_Attribute_Reference): No validity checking on OUT parameter of
      	Read or Input attribute.
      
      From-SVN: r139443
      Arnaud Charlet committed
    • exp_aggr.adb (Static_Array_Aggregate): When a static array aggregate with a… · 597d7158
      exp_aggr.adb (Static_Array_Aggregate): When a static array aggregate with a range is transformed into a positional...
      
      2008-08-22  Gary Dismukes  <dismukes@adacore.com>
      
      	* exp_aggr.adb (Static_Array_Aggregate): When a static array aggregate
      	with a range is transformed into a positional aggregate, any copied
      	component literals should be marked Is_Static_Expression.
      
      	* sem_eval.adb (Compile_Time_Known_Value): Don't treat null literals as
      	not being known at at compile time when Configurable_Run_Time_Mode is
      	true.
      
      From-SVN: r139442
      Gary Dismukes committed
    • init.c (__gnat_adjust_context_for_raise): Delete for AIX, HP-UX, Solaris,… · 5f0085c7
      init.c (__gnat_adjust_context_for_raise): Delete for AIX, HP-UX, Solaris, FreeBSD, VxWorks and PowerPC/Linux.
      
      2008-08-22  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* init.c (__gnat_adjust_context_for_raise): Delete for AIX, HP-UX,
      	Solaris, FreeBSD, VxWorks and PowerPC/Linux.  For x86{-64}/Linux,
      	do not adjust the PC anymore.
      	(__gnat_error_handler): Do not call __gnat_adjust_context_for_raise
      	on AIX, HP-UX, Solaris, FreeBSD and VxWorks.
      
      	* raise-gcc.c (get_call_site_action_for): Use _Unwind_GetIPInfo
      	instead of _Unwind_GetIP.
      
      From-SVN: r139441
      Eric Botcazou committed
    • gnat_ugn.texi: Change the description of gnatcheck default rule settings. · f934798c
      2008-08-22  Sergey Rybin  <rybin@adacore.com>
      
      	* gnat_ugn.texi: Change the description of gnatcheck default rule
      	settings.
      
      From-SVN: r139440
      Sergey Rybin committed
    • sem_ch8.adb: Minor reformatting Minor code reorganization (introduce subprogram to factor... · 7ca139d3
      2008-08-22  Thomas Quinot  <quinot@adacore.com>
      
      	* sem_ch8.adb: Minor reformatting
      	Minor code reorganization (introduce subprogram to factor duplicated
      	code).
      
      From-SVN: r139439
      Thomas Quinot committed
    • gfortran.h (in_prefix): Removed from this header. · 3df684e2
      2008-08-22  Daniel Kraft  <d@domob.eu>
      
      	* gfortran.h (in_prefix): Removed from this header.
      	* match.h (gfc_matching_prefix): Moved and renamed from `in_prefix'.
      	* decl.c (in_prefix): Removed from here.
      	(gfc_match_prefix): Use new name of `gfc_matching_prefix'.
      	* symbol.c (gfc_check_symbol_typed): Ditto.
      	* expr.c (check_typed_ns): New helper variable.
      	(expr_check_typed_help): New helper method.
      	(gfc_expr_check_typed): Rewrote to use gfc_traverse_expr to do the
      	work, fixing a minor problem.
      	* match.c (gfc_matching_prefix): New variable.
      
      From-SVN: r139435
      Daniel Kraft committed
    • exp_attr.adb (Expand_N_Attribute_Reference): In case of access attributes add… · 0d4aed99
      exp_attr.adb (Expand_N_Attribute_Reference): In case of access attributes add missing support to handle designated types...
      
      2008-08-22  Javier Miranda  <miranda@adacore.com>
      
      	* exp_attr.adb (Expand_N_Attribute_Reference): In case of access
      	attributes add missing support to handle designated types that come
      	from the limited view.
      
      	* exp_disp.adb (Expand_Interface_Conversion): Remove wrong assertion.
      
      From-SVN: r139432
      Arnaud Charlet committed
    • vms_data.ads: Add entry for new gnatcheck -mNNN option · b66cb572
      2008-08-22  Sergey Rybin  <rybin@adacore.com>
      
      	* vms_data.ads: Add entry for new gnatcheck -mNNN option
      
      	* gnat_ugn.texi: Add description for gnatcheck option '-m'
      
      From-SVN: r139431
      Sergey Rybin committed
    • sem_ch8.adb (Use_One_Type): when checking which of two use_type clauses in… · 3ea52b2e
      sem_ch8.adb (Use_One_Type): when checking which of two use_type clauses in related units is redundant...
      
      2008-08-22  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch8.adb (Use_One_Type): when checking which of two use_type
      	clauses in related units is redundant, if one of the units is a package
      	instantiation, use its instance_spec to determine which unit is the
      	ancestor of the other.
      
      From-SVN: r139430
      Ed Schonberg committed
    • make.adb (Check.File_Not_A_Source_Of): New Boolean function · 5d41bf55
      2008-08-22  Vincent Celier  <celier@adacore.com>
      
      	* make.adb (Check.File_Not_A_Source_Of): New Boolean function
      	(Check): Check if the file names registered in the ALI file for the
      	spec, the body and each of the subunits are the ones expected.
      
      From-SVN: r139429
      Arnaud Charlet committed
    • g-catiio.adb: Code cleanup. · 2147ba0c
      2008-08-22  Robert Dewar  <dewar@adacore.com>
      
      	* g-catiio.adb: Code cleanup.
      
      From-SVN: r139428
      Robert Dewar committed
    • gnat_ugn.texi: Update the gnatcheck subsection for metric rules acoording to the latest... · 846f6f7a
      2008-08-22  Sergey Rybin  <rybin@adacore.com>
      
      	* gnat_ugn.texi: Update the gnatcheck subsection for metric rules
      	acoording to the latest changes in the metric rule interface
      
      From-SVN: r139427
      Sergey Rybin committed
    • * c-ppoutput.c (init_pp_output): Initialize src_line to 1. · 1a456b49
      From-SVN: r139426
      Nathan Sidwell committed
    • re PR fortran/32095 (Accepts invalid character(len(a)),dimension(1) :: a) · f37e928c
      2008-08-22  Daniel Kraft  <d@domob.eu>
      
      	PR fortran/32095
      	PR fortran/34228
      	* gfortran.h (in_prefix): New global.
      	(gfc_check_symbol_typed), (gfc_check_expr_typed): New methods.
      	* array.c (match_array_element_spec): Check that bounds-expressions
      	don't have symbols not-yet-typed in them.
      	* decl.c (var_element): Check that variable used is already typed.
      	(char_len_param_value): Check that expression does not contain
      	not-yet-typed symbols.
      	(in_prefix): New global.
      	(gfc_match_prefix): Record using `in_prefix' if we're at the moment
      	parsing a prefix or not.
      	* expr.c (gfc_expr_check_typed): New method.
      	* parse.c (verify_st_order): New argument to disable error output.
      	(check_function_result_typed): New helper method.
      	(parse_spec): Check that the function-result declaration, if given in
      	a prefix, contains no not-yet-typed symbols when the IMPLICIT rules are
      	parsed.
      	* symbol.c (gfc_check_symbol_typed): Check that a symbol already has
      	a type associated to it, otherwise use the IMPLICIT rules or signal
      	an error.
      
      2008-08-22  Daniel Kraft  <d@domob.eu>
      
      	PR fortran/32095
      	PR fortran/34228
      	* gfortran.dg/used_before_typed_1.f90: New test.
      	* gfortran.dg/used_before_typed_2.f90: New test.
      	* gfortran.dg/used_before_typed_3.f90: New test.
      	* gfortran.dg/array_constructor_26.f03: Add -std=gnu to not enable
      	legacy-behaviour for the new check.
      	* gfortran.dg/array_constructor_27.f03: Ditto.
      	* gfortran.dg/blockdata_4.f90: Ditto.
      	* gfortran.dg/bound_2.f90: Reordered declarations to satisfy the check.
      	* gfortran.dg/result_in_spec_1.f90: Ditto.
      	* gfortran.dg/argument_checking_7.f90: Adapted expected error messages.
      
      From-SVN: r139425
      Daniel Kraft committed
    • Daily bump. · 6b738732
      From-SVN: r139421
      GCC Administrator committed
  2. 21 Aug, 2008 21 commits