- 14 Jun, 2004 15 commits
-
-
* config.gcc: Remove sparc64-*-aout*. * config/sparc/sparc.c (sparc_aout_select_rtx_section): Remove. * config/sparc/sp64-aout.h: Remove. * config/sparc/aout.h: Remove. From-SVN: r83101
Ian Lance Taylor committed -
From-SVN: r83100
Andreas Jaeger committed -
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
Arnaud Charlet committed -
2004-06-14 Paolo Carlini <pcarlini@suse.de> * include/ext/slist: Trivial formatting fixes. From-SVN: r83098
Paolo Carlini committed -
* 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
Ulrich Weigand committed -
* 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
J"orn Rennecke committed -
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
Paolo Carlini committed -
* 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
Alan Modra committed -
2004-06-14 Andrew Pinski <pinskia@physics.uc.edu> * linking.m (_objcInit): New empty function for Darwin only. From-SVN: r83082
Andrew Pinski committed -
From-SVN: r83081
Paolo Bonzini committed -
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
Steven Bosscher committed -
* tree.h: Move std_gimplify_va_arg_expr protoype here. * tree-gimple.h: From here. From-SVN: r83079
Jason Merrill committed -
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
Daniel Berlin committed -
[[Split portion of a mixed commit.]] From-SVN: r83074.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r83073.2
GCC Administrator committed
-
- 13 Jun, 2004 17 commits
-
-
From-SVN: r83071
Paul Brook committed -
* Makefile.am (gfor_helper_src): Add runtime/normalize.f90. * configure.ac: Add checks for nextafter and nextafterf. * Makefile.in, config.h.in, configure: Regenerate. * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare. * intrinsics/rand.c (rand): Use normalize_r4_i4. * intrinsics/random.c (random_r4): Use normalize_r4_i4. (random_r8): Use normalize_r8_i8. * runtime/normalize.c: New file. testsuite/ * gfortran.fortran-torture/execute/random_2.f90: New test. From-SVN: r83070
Paul Brook committed -
2004-06-13 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-pre.c (add_to_value): is_gimple_min_invariant things are available everywhere too. From-SVN: r83069
Daniel Berlin committed -
fold-const.c (fold_checksum_tree <case 't'>): Only look at TREE_VALUES if the EXPR is an ENUMERAL_TYPE. 2004-06-13 Andrew Pinski <pinskia@physics.uc.edu> * fold-const.c (fold_checksum_tree <case 't'>): Only look at TREE_VALUES if the EXPR is an ENUMERAL_TYPE. Only look at TYPE_MIN_VALUE and TYPE_MAX_VALUE if EXPR is an INTEGERAL_TYPE or a scalar float type. From-SVN: r83068
Andrew Pinski committed -
2004-06-11 Andrew Pinski <pinskia@physics.uc.edu> * decl.c (grokdeclarator): Do not depend on C99's _Bool's behavior. From-SVN: r83066
Andrew Pinski committed -
From-SVN: r83064
Diego Novillo committed -
* random.c: Fix several spelling and formatting mistakes in comments. (random_r8): Fix loop to make random numbers range in [0,1(. Co-Authored-By: Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de> From-SVN: r83063
Steven G. Kargl committed -
2004-06-13 Steven G. Kargl <kargls@comcast.net> * random.c (random_r4): Burn a random number. (random_r8): fix infinite loop. From-SVN: r83062
Tobias Schlüter committed -
* c-typeck.c (comptypes, tagged_types_tu_compatible_p, function_types_compatible_p, type_lists_compatible_p): Remove flags parameter. * c-tree.h (comptypes): Likewise. (COMPARE_STRICT): Remove. * c-decl.c, c-lang.c, c-parse.in, c-typeck.c, objc/objc-act.c: All callers changed. From-SVN: r83061
Joseph Myers committed -
2004-06-13 Eric Christopher <echristo@redhat.com> * c-decl.c (diagnose_mismatched_decls): Improve error message. Remove unused code. * c-typeck.c (comptypes): Add location in standard we're checking. 2004-06-13 Eric Christopher <echristo@redhat.com> * gcc.dg/noncompile/redecl-1.c: Fix error message. From-SVN: r83060
Eric Christopher committed -
2004-06-13 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (time_get<>::do_get_time, time_get<>::do_get_date): Use only once _M_extract_via_format, instead of going through "%X"/"%x" and calling it two times (+ using widen). From-SVN: r83059
Paolo Carlini committed -
* config/sh/libgcc-std.ver: Add __unorddf2 and __unordsf2 with version 3.3.4. From-SVN: r83057
Kaz Kojima committed -
* expmed.c (shift_cost, shiftadd_cost, shiftsub_cost): Additionally index by machine mode. (init_expmed): Initialize shift_cost, shiftadd_cost and shiftsub_cost tables inside the loop over machine modes. (synth_mult, expand_mult_highpart_optab, expand_mult_highpart, expand_divmod): Index shift*_cost by the appropriate machine mode. From-SVN: r83053
Roger Sayle committed -
2004-06-12 Eric Christopher <echristo@redhat.com> * config/s390/s390.h: Rename TARGET_TPF to TARGET_TPF_PROFILING. * config/s390/s390.md: Ditto. * config/s390/s390.c: Ditto. (s390_frame_info): Conditionalize frame and setup info on TARGET_TPF_PROFILING. (s390_arg_frame_offset): Ditto. From-SVN: r83051
Eric Christopher committed -
[[Split portion of a mixed commit.]] From-SVN: r83049.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r83048.2
GCC Administrator committed -
From-SVN: r83046
Jon Ziegler committed
-
- 12 Jun, 2004 8 commits
-
-
From-SVN: r83042
Paul Brook committed -
* 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
Tobias Schlüter committed -
* 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
Roger Sayle committed -
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
Bud Davis committed -
* 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
Steven G. Kargl committed -
From-SVN: r83033
Paul Brook committed -
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: Steven Bosscher <stevenb@suse.de> From-SVN: r83032
Tobias Schlüter committed -
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
Tobias Schlüter committed
-