summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* acinclude.m4: Quote first argument of AC_DEFUNs.Paolo Bonzini2004-06-156-679/+820
| | | | | | | | | | | | 2004-06-15 Paolo Bonzini <bonzini@gnu.org> * acinclude.m4: Quote first argument of AC_DEFUNs. * aclocal.m4: Regenerate with automake 1.8. * Makefile.in: Likewise. * configure: Regenerate. * .cvsignore: New file. From-SVN: r83168
* Makefile.in: Regenerate with automake 1.8.5.Paolo Bonzini2004-06-1515-7933/+1933
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | libcpp/ChangeLog: 2004-06-15 Paolo Bonzini <bonzini@gnu.org> * Makefile.in: Regenerate with automake 1.8.5. * aclocal.m4: Likewise. * configure: Regenerate. libjava/libltdl/ChangeLog: 2004-06-15 Paolo Bonzini <bonzini@gnu.org> * Makefile.in: Regenerate with Automake 1.8.5. * aclocal.m4: Likewise. * configure: Regenerate. libbanshee/ChangeLog: 2004-06-15 Paolo Bonzini <bonzini@gnu.org> * Makefile.in: Regenerate with Automake 1.8.5. * engine/Makefile.in: Likewise. * points-to/Makefile.in: Likewise. * libcompat/Makefile.in: Likewise. * aclocal.m4: Likewise. * configure: Regenerate. * .cvsignore: New file. From-SVN: r83167
* function.c (fixup_var_refs): Also adjust the start of sequence after fixing ↵Eric Botcazou2004-06-152-2/+8
| | | | | | | | | | | up the insns. * function.c (fixup_var_refs): Also adjust the start of sequence after fixing up the insns. Co-Authored-By: Olivier Hainque <hainque@act-europe.fr> From-SVN: r83166
* * gccbug.in: Update optimization -> tree-optimization/rtl-optimization.Giovanni Bajo2004-06-152-1/+5
| | | | From-SVN: r83160
* re PR c++/15967 (ICE on ambiguous operator new in class hierarchy)Giovanni Bajo2004-06-154-4/+32
| | | | | | | | | | | PR c++/15967 * search.c (lookup_field): Propagate the ambiguity list. (lookup_fnfields): Likewise. PR c++/15967 * g++.dg/lookup/crash3.C: New test. From-SVN: r83158
* re PR c++/15947 (Puzzling error message for wrong destructor declaration in ↵Giovanni Bajo2004-06-154-3/+27
| | | | | | | | | | | | | template class) PR c++/15947 * parser.c (cp_parser_template_name): Ctors/dtors never need a template keyword to disambiguate. PR c++/15947 * g++.dg/parse/dtor4.C: New test. From-SVN: r83154
* Daily bump.GCC Administrator2004-06-151-1/+1
| | | | | | [[Split portion of a mixed commit.]] From-SVN: r83152.2
* Daily bump.GCC Administrator2004-06-151-1/+1
| | | | | | [[Split portion of a mixed commit.]] From-SVN: r83151.2
* install.texi (Prerequisites): Update libstdc++ entry to automake 1.8.5.Benjamin Kosnik2004-06-142-3/+7
| | | | | | | | | 2004-06-14 Benjamin Kosnik <bkoz@redhat.com> * doc/install.texi (Prerequisites): Update libstdc++ entry to automake 1.8.5. From-SVN: r83147
* s390.h (TARGET_SWITCHES): Change -mtpf (-mno-tpf) to -mtpf-trace ↵Eric Christopher2004-06-143-14/+30
| | | | | | | | | | | | | (-mno-tpf-trace). 2004-06-14 Eric Christopher <echristo@redhat.com> * config/s390/s390.h (TARGET_SWITCHES): Change -mtpf (-mno-tpf) to -mtpf-trace (-mno-tpf-trace). * doc/invoke.texi (S/390 and zSeries Options): Add tpf option documentation. From-SVN: r83135
* * real.c: Fix bit count in head comment.Eric Botcazou2004-06-142-1/+5
| | | | From-SVN: r83133
* tree-ssa.c (kill_redundant_phi_nodes): More correctly handle PHIs where the ↵Jeff Law2004-06-144-4/+50
| | | | | | | | | | | | | 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
* hash_map: Trivial formatting fixes.Paolo Carlini2004-06-145-731/+1057
| | | | | | | | | | | 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
* Fix ChangeLog, fix parentheses from previous patch to trans-intrinsic.cTobias Schlüter2004-06-142-3/+4
| | | | From-SVN: r83128
* re PR fortran/15211 (ICE with LEN intrinsic)Tobias Schlüter2004-06-144-1/+26
| | | | | | | | | | | | | | 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
* configure.in: Support --enable-version-specific-runtime-libs.Andreas Jaeger2004-06-143-372/+441
| | | | | | | * configure.in: Support --enable-version-specific-runtime-libs. * configure: Regenerated. From-SVN: r83125
* Makefile.in: Regenerate with automake 1.8.5.Benjamin Kosnik2004-06-149-46/+69
| | | | | | | | | | | | | | | 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
* re PR middle-end/15945 (Incorrect floating point optimization)Jakub Jelinek2004-06-142-0/+41
| | | | | | | | 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
* * opts.sh (var_args): Fix regexp.Zdenek Dvorak2004-06-142-1/+5
| | | | From-SVN: r83120
* re PR target/15178 (Solaris 9/x86 fails linking after stage 3)Jakub Jelinek2004-06-142-0/+20
| | | | | | | PR target/15178 * config/i386/sol2.h (ASM_OUTPUT_DEF_FROM_DECLS): Define. From-SVN: r83117
* re PR libfortran/15292 (libgfortran depends on c99 functionality round and ↵Bud Davis2004-06-142-1/+11
| | | | | | | | | | | roundf) 2004-06-14 Bud Davis <bdavis9659@comcast.net> PR gfortran/15292 * intrinsics/c99_functions.c: Use fpclassify if it exists. From-SVN: r83116
* re PR fortran/15510 (Should not warn about unused variables from used modules)Tobias Schlüter2004-06-142-4/+11
| | | | | | | | | | 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
* re PR c++/15096 (parse error with templates and pointer to const member)Mark Mitchell2004-06-146-19/+83
| | | | | | | | | | | | | | | | | | 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
* re PR fortran/14928 (minloc intrinsic does not understand mask)Tobias Schlüter2004-06-147-51/+98
| | | | | | | | | | | | | | | | | | | | | | | 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
* Calendar.java: Change ResourceBundle.getBundle() calls to pass ClassLoader ↵Bryce McKinlay2004-06-1411-11/+32
| | | | | | | | | | | | | | | | | | argument. * 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
* * dwarf2out.c (output_call_frame_info): Support dwarf3 cie entries.Paul Brook2004-06-142-1/+9
| | | | From-SVN: r83108
* System.java: (getenv0): New method.Andrew Haley2004-06-143-7/+37
| | | | | | | | | | 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
* Makefile.in (FLAGS_H): New.Zdenek Dvorak2004-06-1412-1808/+448
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* ada-tree.def (LOOP_STMT, EXIT_STMT): Update documentation.Richard Kenner2004-06-147-65/+124
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* sparc.h: Correct comment about availability of little endian option.Ian Lance Taylor2004-06-142-1/+4
| | | | | | | * config/sparc/sparc.h: Correct comment about availability of little endian option. From-SVN: r83102
* config.gcc: Remove sparc64-*-aout*.Ian Lance Taylor2004-06-145-108/+7
| | | | | | | | | * 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
* * gcc_update: Add libcpp.Andreas Jaeger2004-06-142-0/+7
| | | | From-SVN: r83100
* [multiple changes]Arnaud Charlet2004-06-1430-911/+1445
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* slist: Trivial formatting fixes.Paolo Carlini2004-06-142-784/+955
| | | | | | | | 2004-06-14 Paolo Carlini <pcarlini@suse.de> * include/ext/slist: Trivial formatting fixes. From-SVN: r83098
* s390.c: Include "tree-gimple.h".Ulrich Weigand2004-06-144-53/+62
| | | | | | | | | | | * 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
* basic-block.h (could_fall_through): Declare.J"orn Rennecke2004-06-148-18/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* locale_facets.tcc (time_get<>::_M_extract_name): Don't use the 'magic ↵Paolo Carlini2004-06-142-18/+21
| | | | | | | | | | | | | | 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
* rs6000.h (ASM_CPU_SPEC): Handle -mpowerpc64 and -mcpu for power5 and rs64a.Alan Modra2004-06-142-11/+21
| | | | | | | | * 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
* linking.m (_objcInit): New empty function for Darwin only.Andrew Pinski2004-06-142-0/+11
| | | | | | | | | 2004-06-14 Andrew Pinski <pinskia@physics.uc.edu> * linking.m (_objcInit): New empty function for Darwin only. From-SVN: r83082
* Fixed 2005-05-25 entry to mention that rtlhooks-def.h was added.Paolo Bonzini2004-06-141-0/+1
| | | | From-SVN: r83081
* gcse.c (hash_scan_set, [...]): Revert previous change, don't use CALL_P.Steven Bosscher2004-06-142-6/+11
| | | | | | | | | 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
* tree.h: Move std_gimplify_va_arg_expr protoype here.Jason Merrill2004-06-133-1/+6
| | | | | | | * tree.h: Move std_gimplify_va_arg_expr protoype here. * tree-gimple.h: From here. From-SVN: r83079
* Fix PR tree-optimization/15979 Fix PR tree-optimization/15981Daniel Berlin2004-06-142-5/+26
| | | | | | | | | | | 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
* Daily bump.GCC Administrator2004-06-141-1/+1
| | | | | | [[Split portion of a mixed commit.]] From-SVN: r83074.2
* Daily bump.GCC Administrator2004-06-141-1/+1
| | | | | | [[Split portion of a mixed commit.]] From-SVN: r83073.2
* * intrinsic.c (add_sym_2s): Use correct function types.Paul Brook2004-06-132-4/+8
| | | | From-SVN: r83071
* Makefile.am (gfor_helper_src): Add runtime/normalize.f90.Paul Brook2004-06-1312-30/+334
| | | | | | | | | | | | | | | * 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
* tree-ssa-pre.c (add_to_value): is_gimple_min_invariant things are available ↵Daniel Berlin2004-06-132-0/+10
| | | | | | | | | | | everywhere too. 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
* fold-const.c (fold_checksum_tree <case 't'>): Only look at TREE_VALUES if ↵Andrew Pinski2004-06-132-3/+15
| | | | | | | | | | | | | 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
* decl.c (grokdeclarator): Do not depend on C99's _Bool's behavior.Andrew Pinski2004-06-132-3/+7
| | | | | | | | 2004-06-11 Andrew Pinski <pinskia@physics.uc.edu> * decl.c (grokdeclarator): Do not depend on C99's _Bool's behavior. From-SVN: r83066