Skip to content
Snippets Groups Projects
  1. Jun 14, 2004
    • Andreas Jaeger's avatar
      * gcc_update: Add libcpp. · d5ad6feb
      Andreas Jaeger authored
      From-SVN: r83100
      d5ad6feb
    • Arnaud Charlet's avatar
      [multiple changes] · cc335f43
      Arnaud Charlet authored
      2004-06-14  Pascal Obry  <obry@gnat.com>
      
      	* gnat_ugn.texi: Document relocatable vs. dynamic Library_Kind on
      	Windows.  Fix minor typo.
      
      	* mlib-tgt-mingw.adb: New implementation using the GCC -shared option
      	which is now supported on Windows. With this implementation using the
      	Library Project feature is no different on Windows than on UNIX.
      
      2004-06-14  Vincent Celier  <celier@gnat.com>
      
      	* makegpr.adb (Compile_Sources): Nothing to do when there are no
      	non-Ada sources.
      
      	* mlib-tgt-vxworks.adb (Library_Exists_For): Remove incorrect comment
      
      	* prj-part.adb (Parse_Single_Project): When a duplicate project name is
      	found, show the project name and the path of the previously parsed
      	project file.
      
      2004-06-14  Ed Schonberg  <schonberg@gnat.com>
      
      	* exp_ch6.adb (Add_Call_By_Copy_Code): For an out-parameter that is an
      	array, avoid copying the actual before the call.
      
      2004-06-14  Thomas Quinot  <quinot@act-europe.fr>
      
      	* g-debpoo.adb: Remove alignment assumptions from GNAT.Debug_Pools.
      	Instead, allocate memory on worst-case alignment assumptions, and then
      	return an aligned address within the allocated zone.
      
      2004-06-14  Robert Dewar  <dewar@gnat.com>
      
      	* bindgen.adb (Gen_Adainit_Ada): Do not generate external references to
      	elab entities in predefined units in No_Run_Time_Mode.
      	(Gen_Adainit_C): Same fix
      	(Gen_Elab_Calls_Ada): Do not generate calls to elaborate predefined
      	units in No_Run_Time_Mode
      	(Gen_Elab_Calls_C): Same fix
      
      	* symbols-vms-alpha.adb: Minor reformatting
      
      	* g-debpoo.ads: Minor reformatting
      
      	* lib.adb (In_Same_Extended_Unit): Version working on node id's
      
      	* lib.ads (In_Same_Extended_Unit): Version working on node id's
      
      	* lib-xref.adb: Minor cleanup, use new version of In_Same_Extended_Unit
      	working on nodes.
      
      	* make.adb: Minor reformatting
      
      	* par-ch12.adb: Minor reformatting
      
      	* par-prag.adb: Add dummy entry for pragma Profile_Warnings
      
      	* prj-strt.adb: Minor reformatting
      
      	* restrict.ads, restrict.adb: Redo handling of profile restrictions to
      	be more general.
      
      	* sem_attr.adb: Minor reformatting
      
      	* sem_ch7.adb: Minor reformatting
      
      	* sem_elab.adb (Check_A_Call): Deal with problem of calling init proc
      	for type in the same unit as the object declaration.
      
      	* sem_prag.adb (Check_Arg_Is_External_Name): New procedure, allows
      	static string expressions and not just string literals.
      	Minor reformatting
      	(Set_Warning): Reset restriction warning flag for restriction pragma
      	Implement pragma Profile_Warnings
      	Implement pragma Profile (Restricted)
      	Give obolescent messages for old restrictions and pragmas
      
      	* snames.h, snames.ads, snames.adb: Add new entry for pragma
      	Profile_Warnings.
      
      	* s-rident.ads: Add declarations for restrictions required by profile
      	Restricted and profile Ravenscar.
      
      	* targparm.ads, targparm.adb: Allow pragma Profile in system.ads
      
      	* gnat_ugn.texi: Correct some missing entries in the list of GNAT
      	configuration pragmas.
      
      From-SVN: r83099
      cc335f43
    • Paolo Carlini's avatar
      slist: Trivial formatting fixes. · 14ba6d00
      Paolo Carlini authored
      2004-06-14  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/ext/slist: Trivial formatting fixes.
      
      From-SVN: r83098
      14ba6d00
    • Ulrich Weigand's avatar
      s390.c: Include "tree-gimple.h". · 63694b5e
      Ulrich Weigand authored
      	* config/s390/s390.c: Include "tree-gimple.h".
      	(s390_gimplify_va_arg): New function.
      	(TARGET_GIMPLIFY_VA_ARG_EXPR): Define.
      	(s390_va_arg): Remove.
      	* config/s390/s390-protos.h (s390_va_arg): Remove.
      	* config/s390/s390.h (EXPAND_BUILTIN_VA_ARG): Call abort ().
      
      From-SVN: r83090
      63694b5e
    • J"orn Rennecke's avatar
      basic-block.h (could_fall_through): Declare. · 623a66fa
      J"orn Rennecke authored
      	* basic-block.h (could_fall_through): Declare.
      	* cfganal.c (can_fallthru): Succeed if the target is EXIT_BLOCK_PTR.
      	Fail if the source already has a fallthrough edge to the exit
      	block pointer.
      	(could_fall_through): New function.
      	* cfgbuild.c (make_edges): Check if we already have a fallthrough
      	edge to the exit block pointer.
      	* cfglayout.c (fixup_fallthru_exit_predecessor): Check that it is
      	not called before reload has completed.
      	Handle special case of first block having a fall-through exit edge.
      	(cfg_layout_finalize): Don't call it before reload or if we have
      	rtl epilogues.
      	(fixup_reorder_chain): A fall through to the exit block does not
      	require the block to come last.  Add sanity checks.
      	* cfgrtl.c (rtl_split_edge): Add special handling of fall through
      	edges to the exit block.
      	* function.c (cfglayout.h): #include.
      	(thread_prologue_and_epilogue_insns): If we have neither return nor
      	epilogue, but a fall through to the exit block from mid-function,
      	force a non-fall-through exit.
      	* Makefile.in (function.o): Depend on CFGLAYOUT_H.
      
      From-SVN: r83089
      623a66fa
    • Paolo Carlini's avatar
      locale_facets.tcc (time_get<>::_M_extract_name): Don't use the 'magic number'... · ce2a46a2
      Paolo Carlini authored
      locale_facets.tcc (time_get<>::_M_extract_name): Don't use the 'magic number' 10 in the computation of __minlen...
      
      2004-06-14  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
      	Don't use the 'magic number' 10 in the computation of __minlen;
      	never access __name past __minlen; in the loop over __i3, don't
      	decrease __nmatches and increase __i3 at once, only either of
      	the two; tidy.
      
      From-SVN: r83088
      ce2a46a2
    • Alan Modra's avatar
      rs6000.h (ASM_CPU_SPEC): Handle -mpowerpc64 and -mcpu for power5 and rs64a. · 93ae5495
      Alan Modra authored
      	* config/rs6000/rs6000.h (ASM_CPU_SPEC): Handle -mpowerpc64 and -mcpu
      	for power5 and rs64a.  Correct condition for default.  Correct power3,
      	620, 630, 7400, 7450, G4, 970 and G5 -mcpu entries.  Add -many.
      
      From-SVN: r83086
      93ae5495
    • Andrew Pinski's avatar
      linking.m (_objcInit): New empty function for Darwin only. · da727eab
      Andrew Pinski authored
      2004-06-14  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * linking.m (_objcInit): New empty function
              for Darwin only.
      
      From-SVN: r83082
      da727eab
    • Paolo Bonzini's avatar
      Fixed 2005-05-25 entry to mention that rtlhooks-def.h was added. · 789550d1
      Paolo Bonzini authored
      From-SVN: r83081
      789550d1
    • Steven Bosscher's avatar
      gcse.c (hash_scan_set, [...]): Revert previous change, don't use CALL_P. · 6e72d1e9
      Steven Bosscher authored
      2004-06-13  Steven Bosscher <stevenb@suse.de>
      
      	* gcse.c (hash_scan_set, hash_scan_insn, mark_set, mark_oprs_set):
      	Revert previous change, don't use CALL_P.
      
      From-SVN: r83080
      6e72d1e9
    • Jason Merrill's avatar
      tree.h: Move std_gimplify_va_arg_expr protoype here. · e5da415c
      Jason Merrill authored
              * tree.h: Move std_gimplify_va_arg_expr protoype here.
              * tree-gimple.h: From here.
      
      From-SVN: r83079
      e5da415c
    • Daniel Berlin's avatar
      Fix PR tree-optimization/15979 Fix PR tree-optimization/15981 · ce25943a
      Daniel Berlin authored
      2004-06-13  Daniel Berlin  <dberlin@dberlin.org>
      
      	Fix PR tree-optimization/15979
      	Fix PR tree-optimization/15981
      	* tree-ssa-pre.c (insert_aux): Fix faulty logic so that we don't
      	try to insert values undefined along some path.
      
      From-SVN: r83076
      ce25943a
    • GCC Administrator's avatar
      Daily bump. · bd85b0cb
      GCC Administrator authored
      [[Split portion of a mixed commit.]]
      
      From-SVN: r83074.2
      bd85b0cb
    • GCC Administrator's avatar
      Daily bump. · fc2ce0d0
      GCC Administrator authored
      [[Split portion of a mixed commit.]]
      
      From-SVN: r83073.2
      fc2ce0d0
  2. Jun 13, 2004
  3. Jun 12, 2004
    • Paul Brook's avatar
      Fix changelog typo. · b3b65c9a
      Paul Brook authored
      From-SVN: r83042
      b3b65c9a
    • Tobias Schlüter's avatar
      Make-lang.in (F95_OBJS, [...]): Alpabetize. · fd528377
      Tobias Schlüter authored
      	* Make-lang.in (F95_OBJS, F95_PARSER_OBJS): Alpabetize.  Move data.c
      	* data.c (gfc_get_section_index):  Remove dependency on trans.h.
      
      From-SVN: r83041
      fd528377
    • Roger Sayle's avatar
      fold-const.c (omit_two_operands): New function. · 08039bd8
      Roger Sayle authored
      	* fold-const.c (omit_two_operands): New function.
      	* tree.h (omit_two_operands): Prototype here.
      	* builtins.c (fold_builtin_unordered_cmp): New function to lower
      	C99 unordered comparison builtins to the appropriate tree nodes.
      	(fold_builtin_1): Use fold_builtin_unordered_cmp to lower
      	BUILT_IN_ISGREATER, BUILT_IN_ISGREATEREQUAL, BUILT_IN_ISLESS,
      	BUILT_IN_ISLESSEQUAL and BUILT_IN_ISLESSGREATER.  Manually lower
      	BUILT_IN_ISUNORDERED comparisons to an UNORDERED_EXPR tree node.
      	(simplify_builtin_memcmp, simplify_builtin_strncmp,
      	simplify_builtin_strncat, simplify_builtin_strspn): Use the new
      	omit_two_operands function to build the required COMPOUND_EXPRs.
      
      From-SVN: r83040
      08039bd8
    • Bud Davis's avatar
      re PR libfortran/15292 (libgfortran depends on c99 functionality round and roundf) · a2a2059f
      Bud Davis authored
      	PR gfortran/15292
      	* intrinsics/c99_functions.c: New file.
      	* Makefile.am: Add new file.
      	* configure.ac: Added test for round/roundf.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
              * configure.h.in: Regenerate.
      
      From-SVN: r83036
      a2a2059f
    • Steven G. Kargl's avatar
      check.c (gfc_check_second_sub, [...]): New functions. · 2bd74949
      Steven G. Kargl authored
      	* check.c (gfc_check_second_sub, gfc_check_irand, gfc_check_rand
      	gfc_check_srand, gfc_check_etime, gfc_check_etime_sub): New functions.
      	* gfortran.h (gfc_generic_isym_id): New symbols GFC_ISYM_ETIME,
      	GFC_ISYM_IRAND, GFC_ISYM_RAND, GFC_ISYM_SECOND.
      	* trans-intrinsic.c:  Use symbols.
      	* intrinsic.c (add_sym_2s): New function.
      	* intrinsic.c: Add etime, dtime, irand, rand, second, srand.
      	* intrinsic.h: Function prototypes.
      	* iresolve.c (gfc_resolve_etime_sub, gfc_resolve_second_sub
      	gfc_resolve_srand):  New functions.
      libgfortran
      	* Makefile.am: Add rand.c and etime.c
      	* Makefile.in: Regenerated.
      	* aclocal.in: Regenerated.
      	* cpu_time.c (second_sub, second): New functions.
      	* rand.c (irand, rand, srand): New file.
      	* etime.c (etime_sub, etime): New file.
      
      From-SVN: r83034
      2bd74949
    • Paul Brook's avatar
      * gfortran.fortran-torture/execute/contained_3.f90: New test. · b08eae92
      Paul Brook authored
      From-SVN: r83033
      b08eae92
    • Tobias Schlüter's avatar
      re PR libfortran/14923 (gfortran misses the DATE_AND_TIME intrinsic) · f814193b
      Tobias Schlüter authored
      
      	PR fortran/14923
      	* intrinsics/date_and_time.c: New file.
      	* Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
      	* Makefile.in, aclocal.m4: Regenerate.
      	* libgfortran.h: Prototype date_and_time().
      testsuite/
      	* gfortran.fortran-torture/execute/date_time_1.f90: New test.
      
      Co-Authored-By: default avatarSteven Bosscher <stevenb@suse.de>
      
      From-SVN: r83032
      f814193b
    • Tobias Schlüter's avatar
      re PR fortran/14957 (testsuite issues) · c52eae8d
      Tobias Schlüter authored
      fortran/
      PR fortran/14957
      * decl.c (gfc_match_end): Require END {SUBROUTINE|FUNCTION} for
      contained procedure.
      
      testsuite/
      PR fortran/14957
      * gfortran.fortran-torture/execute/stack_varsize.f90: Correct
              syntax errors in end statements of contained subroutines.
      
      From-SVN: r83031
      c52eae8d
    • Tobias Schlüter's avatar
      PR fortran/15665 Fixup ChangeLog from my previous commit · a13c7588
      Tobias Schlüter authored
      From-SVN: r83030
      a13c7588
Loading