- 14 Jun, 2004 34 commits
-
-
tree-ssa.c (kill_redundant_phi_nodes): More correctly handle PHIs where the destination or an argument is marked with... * tree-ssa.c (kill_redundant_phi_nodes): More correctly handle PHIs where the destination or an argument is marked with SSA_NAME_OCCURS_IN_ABNORMAL_PHI. * gcc.c-torture/20040614-1.c: New test. From-SVN: r83132
Jeff Law committed -
2004-06-14 Paolo Carlini <pcarlini@suse.de> * include/ext/hash_map: Trivial formatting fixes. * include/ext/hash_set: Likewise. * include/ext/memory: Likewise. * include/ext/numeric: Likewise. From-SVN: r83131
Paolo Carlini committed -
From-SVN: r83128
Tobias Schlüter committed -
fortran/ PR fortran/15211 * trans-intrinsic.c (gfc_conv_intrinsic_len): Deal with arrays of strings. testsuite/ PR fortran/15211 * gfortran.fortran-torture/execute/intrinsic_len.f90: Also test LEN of a character array. From-SVN: r83126
Tobias Schlüter committed -
* configure.in: Support --enable-version-specific-runtime-libs. * configure: Regenerated. From-SVN: r83125
Andreas Jaeger committed -
2004-06-14 Benjamin Kosnik <bkoz@redhat.com> * Makefile.in: Regenerate with automake 1.8.5. * aclocal.m4: Same. * include/Makefile.in: Same. * libmath/Makefile.in: Same. * libsupc++/Makefile.in: Same. * po/Makefile.in: Same. * src/Makefile.in: Same. * testsuite/Makefile.in: Same. From-SVN: r83123
Benjamin Kosnik committed -
PR middle-end/15945 * simplify-rtx.c (simplify_binary_operation): Don't optimize out Inf + -Inf, Inf - Inf, Inf / Inf and 0 * Inf if flag_trapping_math. From-SVN: r83121
Jakub Jelinek committed -
From-SVN: r83120
Zdenek Dvorak committed -
PR target/15178 * config/i386/sol2.h (ASM_OUTPUT_DEF_FROM_DECLS): Define. From-SVN: r83117
Jakub Jelinek committed -
2004-06-14 Bud Davis <bdavis9659@comcast.net> PR gfortran/15292 * intrinsics/c99_functions.c: Use fpclassify if it exists. From-SVN: r83116
Bud Davis committed -
PR fortran/15510 * trans-deecl.c (generate_local_decl): Do not issue warning for unused variables if they're use associated. Co-Authored-By: Andrew Vaught <andyv@firstinter.net> From-SVN: r83113
Tobias Schlüter committed -
PR c++/15096 * decl.c (grokdeclarator): Ignore pointer-to-members when computing template depth. PR c++/14930 * name-lookup.c (pushtag): Do not try to put class declarations in explicit specialization scopes. PR c++/15096 * g++.dg/template/ptrmem10.C: New test. PR c++/14930 * g++.dg/template/friend30.C: New test. From-SVN: r83112
Mark Mitchell committed -
fortran/ 2004-06-05 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> Andrew Vaught <andyv@firstinter.net> PR fortran/14928 * gfortran.h (gfc_check_f): Add new field f3ml. * check.c (gfc_check_minloc_maxloc): Take argument list instead of individual arguments, reorder if necessary. * intrinsic.h (gfc_check_minloc_maxloc): ... adapt prototype. * intrinsic.c (add_sym_3ml): New function. (add_functions): Change to add_sym_3ml for MINLOC, MAXLOC. (check_specific): Catch special case MINLOC, MAXLOC. testsuite/ PR fortran/14928 * gfortran.fortran-torture/compile/mloc.f90: New test. Co-Authored-By: Andrew Vaught <andyv@firstinter.net> From-SVN: r83111
Tobias Schlüter committed -
* java/util/Calendar.java: Change ResourceBundle.getBundle() calls to pass ClassLoader argument. * java/util/GregorianCalendar.java: Likewise. * java/util/Currency.java: Likewise. * java/text/BreakIterator.java: Likewise. * java/text/Collator.java: Likewise. * java/text/DateFormat.java: Likewise. * java/text/DateFormatSymbols.java: Likewise. * java/text/DecimalFormatSymbols.java: Likewise. * java/text/NumberFormat.java: Likewise. * java/awt/Window.java: Likewise. From-SVN: r83109
Bryce McKinlay committed -
From-SVN: r83108
Paul Brook committed -
2004-06-14 Andrew Haley <aph@redhat.com> * java/lang/System.java: (getenv0): New method. (getenv): Add security check. Do the right thing. * java/lang/natSystem.cc (getenv0): New method. From-SVN: r83107
Andrew Haley committed -
* Makefile.in (FLAGS_H): New. (flags.h): Replace by FLAGS_H. * c.opt: Document Var, VarExists, Init and Report attributes. * common.opt: Fill the values of the attributes. * diagnostic.c (flag_fatal_errors): Do not define. * except.c (flag_non_call_exceptions): Do not define. * flags.h: Include options.h. Remove declarations conflicting with the automatically defined ones. * opts.c: Remove automatically defined variables. (handle_option): Perform default initialization. (common_handle_option): Do not handle options covered by the default initialization. * opts.h (struct cl_option): Add flag_var, has_set_value and set_value fields. (CL_REPORT): New. * opts.sh: Generate variable declarations, handle CL_REPORT. * toplev.c: Remove automatically defined variables. (f_options): Removed. (print_switch_values): Use cl_options instead of f_options. * toplev.h (version_flag): Declaration removed. From-SVN: r83105
Zdenek Dvorak committed -
* ada-tree.def (LOOP_STMT, EXIT_STMT): Update documentation. * ada-tree.h (EXIT_STMT_LABEL): Renamed from EXIT_STMT_LOOP. * decl.c (gnat_to_gnu_entity): Also set force_global for imported subprograms. * trans.c (gnu_loop_label_stack): Renamed from gnu_loop_stmt_stack; all callers changed. (gnat_to_gnu, case N_Loop_Statement, case N_Exit_Statement): Change the way that EXIT_STMT finds the loop label. (gnat_gimplify_stmt, case LOOP_STMT, EXIT_STMT): Likewise. (gnat_gimplify_stmt, case DECL_STMT): Handle variable-sized decls here. (add_stmt): Use annotate_with_locus insted of setting directly. (pos_to_construct): Set TREE_PURPOSE of each entry to index. (gnat_stabilize_reference, case ARRAY_RANGE_REF): Merge with ARRAY_REF. * utils.c (gnat_install_builtins): Install __builtin_memcmp. (build_vms_descriptor): Add extra args to ARRAY_REF. (convert): Use VIEW_CONVERT_EXPR between aggregate types. * utils2.c (gnat_truthvalue_conversion, case INTEGER_CST, REAL_CST): New cases. (build_binary_op): Don't make explicit CONVERT_EXPR. Add extra rgs to ARRAY_REF. From-SVN: r83103
Richard Kenner committed -
* config/sparc/sparc.h: Correct comment about availability of little endian option. From-SVN: r83102
Ian Lance Taylor committed -
* 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 6 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
-