OSDN Git Service

pf3gnuchains/gcc-fork.git
19 years agoFix ChangeLog, fix parentheses from previous patch to trans-intrinsic.c
tobi [Mon, 14 Jun 2004 19:25:33 +0000 (19:25 +0000)]
Fix ChangeLog, fix parentheses from previous patch to trans-intrinsic.c

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83128 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agofortran/
tobi [Mon, 14 Jun 2004 18:50:44 +0000 (18:50 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83126 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * configure.in: Support --enable-version-specific-runtime-libs.
aj [Mon, 14 Jun 2004 18:29:01 +0000 (18:29 +0000)]
* configure.in: Support --enable-version-specific-runtime-libs.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83125 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-14 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 14 Jun 2004 17:49:30 +0000 (17:49 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83123 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/15945
jakub [Mon, 14 Jun 2004 17:45:08 +0000 (17:45 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83121 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * opts.sh (var_args): Fix regexp.
rakdver [Mon, 14 Jun 2004 17:36:29 +0000 (17:36 +0000)]
* opts.sh (var_args): Fix regexp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83120 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR target/15178
jakub [Mon, 14 Jun 2004 17:31:27 +0000 (17:31 +0000)]
PR target/15178
* config/i386/sol2.h (ASM_OUTPUT_DEF_FROM_DECLS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83117 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-14 Bud Davis <bdavis9659@comcast.net>
bdavis [Mon, 14 Jun 2004 17:27:20 +0000 (17:27 +0000)]
2004-06-14  Bud Davis  <bdavis9659@comcast.net>

        PR gfortran/15292
        * intrinsics/c99_functions.c: Use fpclassify if it exists.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83116 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoPR fortran/15510
tobi [Mon, 14 Jun 2004 16:04:41 +0000 (16:04 +0000)]
PR fortran/15510
* trans-deecl.c (generate_local_decl): Do not issue warning for
unused variables if they're use associated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83113 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/15096
mmitchel [Mon, 14 Jun 2004 15:58:54 +0000 (15:58 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83112 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agofortran/
tobi [Mon, 14 Jun 2004 15:56:50 +0000 (15:56 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83111 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
bryce [Mon, 14 Jun 2004 15:51:37 +0000 (15:51 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83109 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * dwarf2out.c (output_call_frame_info): Support dwarf3 cie entries.
pbrook [Mon, 14 Jun 2004 14:56:35 +0000 (14:56 +0000)]
* dwarf2out.c (output_call_frame_info): Support dwarf3 cie entries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83108 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-14 Andrew Haley <aph@redhat.com>
aph [Mon, 14 Jun 2004 14:34:21 +0000 (14:34 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83107 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.in (FLAGS_H): New.
rakdver [Mon, 14 Jun 2004 14:18:01 +0000 (14:18 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83105 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * ada-tree.def (LOOP_STMT, EXIT_STMT): Update documentation.
kenner [Mon, 14 Jun 2004 14:09:38 +0000 (14:09 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83103 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/sparc/sparc.h: Correct comment about availability of
ian [Mon, 14 Jun 2004 14:07:06 +0000 (14:07 +0000)]
* config/sparc/sparc.h: Correct comment about availability of
little endian option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83102 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config.gcc: Remove sparc64-*-aout*.
ian [Mon, 14 Jun 2004 13:59:44 +0000 (13:59 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83101 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gcc_update: Add libcpp.
aj [Mon, 14 Jun 2004 13:53:45 +0000 (13:53 +0000)]
* gcc_update: Add libcpp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83100 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-14 Pascal Obry <obry@gnat.com>
charlet [Mon, 14 Jun 2004 13:19:14 +0000 (13:19 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83099 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-14 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 14 Jun 2004 13:03:45 +0000 (13:03 +0000)]
2004-06-14  Paolo Carlini  <pcarlini@suse.de>

* include/ext/slist: Trivial formatting fixes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83098 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/s390/s390.c: Include "tree-gimple.h".
uweigand [Mon, 14 Jun 2004 12:11:06 +0000 (12:11 +0000)]
* 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 ().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83090 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * basic-block.h (could_fall_through): Declare.
amylaar [Mon, 14 Jun 2004 12:09:08 +0000 (12:09 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83089 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-14 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 14 Jun 2004 10:49:36 +0000 (10:49 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83088 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/rs6000/rs6000.h (ASM_CPU_SPEC): Handle -mpowerpc64 and -mcpu
amodra [Mon, 14 Jun 2004 10:05:07 +0000 (10:05 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83086 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-14 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Mon, 14 Jun 2004 07:46:33 +0000 (07:46 +0000)]
2004-06-14  Andrew Pinski  <pinskia@physics.uc.edu>

        * linking.m (_objcInit): New empty function
        for Darwin only.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83082 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoFixed 2005-05-25 entry to mention that rtlhooks-def.h was added.
bonzini [Mon, 14 Jun 2004 07:45:43 +0000 (07:45 +0000)]
Fixed 2005-05-25 entry to mention that rtlhooks-def.h was added.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83081 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-13 Steven Bosscher <stevenb@suse.de>
aj [Mon, 14 Jun 2004 04:55:35 +0000 (04:55 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83080 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree.h: Move std_gimplify_va_arg_expr protoype here.
jason [Mon, 14 Jun 2004 03:41:31 +0000 (03:41 +0000)]
    * tree.h: Move std_gimplify_va_arg_expr protoype here.
        * tree-gimple.h: From here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83079 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-13 Daniel Berlin <dberlin@dberlin.org>
dberlin [Mon, 14 Jun 2004 01:27:57 +0000 (01:27 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83076 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Mon, 14 Jun 2004 00:16:16 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83074 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Mon, 14 Jun 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83073 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * intrinsic.c (add_sym_2s): Use correct function types.
pbrook [Sun, 13 Jun 2004 23:23:24 +0000 (23:23 +0000)]
* intrinsic.c (add_sym_2s): Use correct function types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83071 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
pbrook [Sun, 13 Jun 2004 22:58:30 +0000 (22:58 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83070 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-13 Daniel Berlin <dberlin@dberlin.org>
dberlin [Sun, 13 Jun 2004 22:52:34 +0000 (22:52 +0000)]
2004-06-13  Daniel Berlin  <dberlin@dberlin.org>

* tree-ssa-pre.c (add_to_value): is_gimple_min_invariant things
are available everywhere too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83069 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-13 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sun, 13 Jun 2004 22:15:51 +0000 (22:15 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83068 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sun, 13 Jun 2004 21:41:45 +0000 (21:41 +0000)]
2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>

        * decl.c (grokdeclarator): Do not depend on C99's _Bool's behavior.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83066 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-sra.c (tree_sra): Update documentation.
dnovillo [Sun, 13 Jun 2004 19:48:53 +0000 (19:48 +0000)]
* tree-sra.c (tree_sra): Update documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83064 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* random.c: Fix several spelling and formatting mistakes in
tobi [Sun, 13 Jun 2004 18:25:53 +0000 (18:25 +0000)]
* random.c: Fix several spelling and formatting mistakes in
comments.
(random_r8): Fix loop to make random numbers range in [0,1(.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83063 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-13 Steven G. Kargl <kargls@comcast.net>
tobi [Sun, 13 Jun 2004 17:48:23 +0000 (17:48 +0000)]
2004-06-13  Steven G. Kargl  <kargls@comcast.net>

* random.c (random_r4): Burn a random number.
(random_r8): fix infinite loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83062 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-typeck.c (comptypes, tagged_types_tu_compatible_p,
jsm28 [Sun, 13 Jun 2004 17:14:09 +0000 (17:14 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83061 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-13 Eric Christopher <echristo@redhat.com>
echristo [Sun, 13 Jun 2004 16:24:52 +0000 (16:24 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83060 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-13 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 13 Jun 2004 09:52:14 +0000 (09:52 +0000)]
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).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83059 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/sh/libgcc-std.ver: Add __unorddf2 and __unordsf2 with
kkojima [Sun, 13 Jun 2004 06:35:56 +0000 (06:35 +0000)]
* config/sh/libgcc-std.ver: Add __unorddf2 and __unordsf2 with
version 3.3.4.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83057 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * expmed.c (shift_cost, shiftadd_cost, shiftsub_cost): Additionally
sayle [Sun, 13 Jun 2004 02:46:08 +0000 (02:46 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83053 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-12 Eric Christopher <echristo@redhat.com>
echristo [Sun, 13 Jun 2004 00:40:37 +0000 (00:40 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83051 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Sun, 13 Jun 2004 00:16:53 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83049 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Sun, 13 Jun 2004 00:16:44 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83048 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoAll right, I'm in! Working on apple-ppc-branch for now, mostly testing.
jonz [Sun, 13 Jun 2004 00:14:29 +0000 (00:14 +0000)]
All right, I'm in!  Working on apple-ppc-branch for now, mostly testing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83046 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoFix changelog typo.
pbrook [Sat, 12 Jun 2004 19:51:13 +0000 (19:51 +0000)]
Fix changelog typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83042 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Make-lang.in (F95_OBJS, F95_PARSER_OBJS): Alpabetize. Move data.c
pbrook [Sat, 12 Jun 2004 19:48:41 +0000 (19:48 +0000)]
* Make-lang.in (F95_OBJS, F95_PARSER_OBJS): Alpabetize.  Move data.c
* data.c (gfc_get_section_index):  Remove dependency on trans.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83041 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * fold-const.c (omit_two_operands): New function.
sayle [Sat, 12 Jun 2004 19:41:51 +0000 (19:41 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83040 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR gfortran/15292
pbrook [Sat, 12 Jun 2004 17:59:30 +0000 (17:59 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83036 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * check.c (gfc_check_second_sub, gfc_check_irand, gfc_check_rand
pbrook [Sat, 12 Jun 2004 17:34:47 +0000 (17:34 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83034 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gfortran.fortran-torture/execute/contained_3.f90: New test.
pbrook [Sat, 12 Jun 2004 15:37:23 +0000 (15:37 +0000)]
* gfortran.fortran-torture/execute/contained_3.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83033 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR fortran/14923
pbrook [Sat, 12 Jun 2004 15:15:41 +0000 (15:15 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83032 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agofortran/
tobi [Sat, 12 Jun 2004 15:02:01 +0000 (15:02 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83031 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoPR fortran/15665 Fixup ChangeLog from my previous commit
tobi [Sat, 12 Jun 2004 14:50:49 +0000 (14:50 +0000)]
PR fortran/15665 Fixup ChangeLog from my previous commit

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83030 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoPR fortran/15655Fixup ChangeLog entries from previous commit by Paul Brook
tobi [Sat, 12 Jun 2004 14:09:43 +0000 (14:09 +0000)]
PR fortran/15655Fixup ChangeLog entries from previous commit by Paul Brook

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83029 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agofortran/
tobi [Sat, 12 Jun 2004 14:06:19 +0000 (14:06 +0000)]
fortran/
PR fortran/12841
* interface.c (compare_parameter, compare_actual_formal): Don't
check types and array shapes for NULL()
* trans-expr.c (conv_function_call): No double indirection for
NULL()
( I had accidentally committed the interface.c part before)

testuite/
PR fortran/12841
* gfortran.fortran-torture/execute/null_arg.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83028 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * intrinsics/args.c: Implement GETARG and IARGC.
pbrook [Sat, 12 Jun 2004 13:42:46 +0000 (13:42 +0000)]
* intrinsics/args.c: Implement GETARG and IARGC.
* Makefile.am: Add it.
* Makefile.in: Regenerate.
testsuite/
* gfortran.fortran-torture/execute/getarg_1.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83027 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gcse.c (record_set_info): Use predicates like REG_P.
aj [Sat, 12 Jun 2004 13:17:39 +0000 (13:17 +0000)]
* gcse.c (record_set_info): Use predicates like REG_P.
(mems_conflict_for_gcse_p): Likewise.
(load_killed_in_block_p): Likewise.
(hash_expr_1): Likewise.
(insert_set_in_table): Likewise.
(gcse_constant_p): Likewise.
(hash_scan_set): Likewise.
(hash_scan_insn): Likewise.
(canon_list_insert): Likewise.
(record_last_mem_set_info): Likewise.
(record_last_set_info): Likewise.
(compute_hash_table_work): Likewise.
(mark_set): Likewise.
(mark_clobber): Likewise.
(mark_oprs_set): Likewise.
(compute_transp): Likewise.
(find_avail_set): Likewise.
(cprop_insn): Likewise.
(do_local_cprop): Likewise.
(cprop): Likewise.
(find_implicit_sets): Likewise.
(find_bypass_set): Likewise.
(bypass_conditional_jumps): Likewise.
(insert_insn_end_bb): Likewise.
(pre_insert_copy_insn): Likewise.
(compute_transpout): Likewise.
(next_ls_expr): Likewise.
(invalidate_any_buried_refs): Likewise.
(compute_ld_motion_mems): Likewise.
(reg_set_info): Likewise.
(reg_clear_last_set): Likewise.
(find_moveable_store): Likewise.
(compute_store_table): Likewise.
(find_loads): Likewise.
(store_killed_in_insn): Likewise.
(insert_insn_start_bb): Likewise.
(reg_set_between_after_reload_p): Likewise.
(reg_used_between_after_reload_p): Likewise.
(is_jump_table_basic_block): Likewise.
(gcse_after_reload): Likewise.
(hash_scan_set_after_reload): Likewise.
(compute_hash_table_after_reload): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83026 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * javax/swing/RepaintManager.java
mark [Sat, 12 Jun 2004 13:06:40 +0000 (13:06 +0000)]
   * javax/swing/RepaintManager.java
       (paintDirtyRegions): Use entrySet(), not values().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83025 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-12 Bud Davis <bdavis9659@comcast.net>
bdavis [Sat, 12 Jun 2004 12:50:54 +0000 (12:50 +0000)]
2004-06-12  Bud Davis  <bdavis9659@comcast.net>

        PR gfortran/12839
        * gfortran.fortran-torture/execute/nan_inf_fmt.f90: New test.
        * io/write.c(write_float): format inf and nan IAW F2003.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83024 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * rtl.h (MEM_P, NONJUMP_INSN_P, CALL_INSN_P): New predicates.
steven [Sat, 12 Jun 2004 12:50:42 +0000 (12:50 +0000)]
* rtl.h (MEM_P, NONJUMP_INSN_P, CALL_INSN_P): New predicates.
(INSN_P): Don't look at the rtx code class, just explicitly
check for one of the tree RTX_INSN codes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83023 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-12 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 12 Jun 2004 08:10:24 +0000 (08:10 +0000)]
2004-06-12  Paolo Carlini  <pcarlini@suse.de>

* include/ext/algorithm: Trivial formatting fixes.
* include/ext/functional: Likewise.
* include/ext/hash_fun.h: Likewise.
* include/ext/iterator: Likewise.

2004-06-12  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.tcc (find(const _CharT*, size_type,
size_type)): Reimplement using std::search.
* src/string-inst.cc: Instantiate std::search for char/wchar_t.

2004-06-12  Dhruv Matani  <dhruvbird@gmx.net>

* testsuite/performance/21_strings/string_find.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83022 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-typeck.c (default_function_array_conversion): Use
zack [Sat, 12 Jun 2004 06:02:51 +0000 (06:02 +0000)]
* c-typeck.c (default_function_array_conversion): Use
build_pointer_type not TYPE_POINTER_TO.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83021 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agogcc:
zack [Sat, 12 Jun 2004 05:53:54 +0000 (05:53 +0000)]
gcc:
* configure.ac: Don't invoke ACX_HEADER_STDBOOL.
* configure, config.in: Regenerate.
* system.h: Unconditionally define bool as unsigned char,
BOOL_BITFIELD as unsigned int.
* domwalk.h: Use BOOL_BITFIELD.
libcpp:
* configure.ac: Don't invoke ACX_HEADER_STDBOOL.
* configure, config.in: Regenerate.
* system.h: Unconditionally define bool as unsigned char,
BOOL_BITFIELD as unsigned int.
* .cvsignore: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83020 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * libgcc-std.ver: Add __unorddf2 and __unordsf2 with version 3.3.4.
aj [Sat, 12 Jun 2004 04:34:58 +0000 (04:34 +0000)]
* libgcc-std.ver: Add __unorddf2 and __unordsf2 with version 3.3.4.
* libgcc-darwin.ver: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83017 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * reload.c (find_reloads): Force reload for pseudo registers on big
bernie [Sat, 12 Jun 2004 01:06:40 +0000 (01:06 +0000)]
* reload.c (find_reloads): Force reload for pseudo registers on big
endian machines.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83014 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-11 Steven Bosscher <stevenb@suse.de>
dberlin [Sat, 12 Jun 2004 00:18:35 +0000 (00:18 +0000)]
2004-06-11  Steven Bosscher <stevenb@suse.de>

* tree-ssa-dce.c (mark_control_dependent_edges_necessary):
Don't try to mark anything control dependent on the entry or
exit blocks.

2004-06-11  Daniel Berlin  <dberlin@dberlin.org>

Fix Bug 15899
Fix Bug 15460
* tree.h (SSA_NAME_VALUE): New macro.
(struct tree_ssa_name): Add value_handle member.
* tree-ssa-pre.c: Replaced.
* tree-flow.h (tree_ann_type): Add CST_ANN, EXPR_ANN.
(struct cst_ann_d): New.
(struct expr_ann_d): New.
(union tree_ann_d): Add cst_ann, expr_ann.
* tree-dfa.c (create_cst_ann): New function.
(create_expr_ann): Ditto.
* tree-flow-inline.h (cst_ann): New function.
(expr_ann): Ditto.
(get_cst_ann): Ditto.
(get_expr_ann): Ditto..

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83010 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Sat, 12 Jun 2004 00:16:18 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83008 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Sat, 12 Jun 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83007 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * pa.c (pa_hpux_init_libfunc): Add support for unord_optab.
danglin [Fri, 11 Jun 2004 23:09:58 +0000 (23:09 +0000)]
* pa.c (pa_hpux_init_libfunc): Add support for unord_optab.
* pa/quadlib.c (enum qfcmp_magic): Define magic values for call to
_U_Qfcmp library function.
(_U_Qfltgt, _U_Qfunle, _U_Qfunlt, _U_Qfunge, _U_Qfungt, _U_Qfuneq,
_U_Qfunord, _U_Qford): Add more TFmode builtin compare functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83004 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * pa.c (legitimize_pic_address): Use UNSPEC_DLTIND14R to identify
danglin [Fri, 11 Jun 2004 22:46:13 +0000 (22:46 +0000)]
* pa.c (legitimize_pic_address): Use UNSPEC_DLTIND14R to identify
unspec used for loading address from DLT.
* pa.md: Define constants for the uses of UNSPEC and UNSPEC_VOLATILE.
Change all users of UNSPEC and UNSPEC_VOLATILE to use new constants.
Don't use short code sequence when loading the address of a nonlocal
label.
(nonlocal_goto): New expander.
(indirect_goto): New jump pattern for nonlocal gotos.
(short_jump): Remove extra whitespace.
(builtin_longjmp): Clobber memory and hard frame pointer.  Restore
frame pointer via virtual_stack_vars_rtx when we have a nonlocal goto
pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83003 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * expmed.c (synth_mult): Add an additional MODE argument for the
sayle [Fri, 11 Jun 2004 21:34:23 +0000 (21:34 +0000)]
* expmed.c (synth_mult): Add an additional MODE argument for the
machine mode of the multiplication.  Update recursive calls.  Use
mode instead of word_mode for determining operation costs.
(choose_mult_variant): Update calls to synth_mult with "mode".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83002 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-ssa-operands.c (get_stmt_operands): Clear makes_aliased_loads
rth [Fri, 11 Jun 2004 21:29:46 +0000 (21:29 +0000)]
    * tree-ssa-operands.c (get_stmt_operands): Clear makes_aliased_loads
        and makes_aliased_stores.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83001 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoMerge in xfails from PR14107.
mrs [Fri, 11 Jun 2004 20:33:54 +0000 (20:33 +0000)]
Merge in xfails from PR14107.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82999 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 11 Jun 2004 20:31:29 +0000 (20:31 +0000)]
2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>

        * doc/install.text (--enable-shared): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82998 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/alpha/alpha.c (alpha_gimplify_va_arg_1): Remove post_p
rth [Fri, 11 Jun 2004 20:21:02 +0000 (20:21 +0000)]
    * config/alpha/alpha.c (alpha_gimplify_va_arg_1): Remove post_p
        argument.  Use internal post for call to gimplify_expr.  Tidy
        rounded type size computation.
        (alpha_gimplify_va_arg): Use get_formal_tmp_var and
        get_initialized_tmp_var.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82997 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 11 Jun 2004 20:17:46 +0000 (20:17 +0000)]
2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>

        * doc/install.texi (--enable-shared): Update libobjc's shared library status.
        Remove reference to libf2c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82996 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 11 Jun 2004 20:11:12 +0000 (20:11 +0000)]
2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>

        * configure.ac: Support --enable-shared=libobjc.
        * configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82995 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/i386.h (EXPAND_BUILTIN_VA_ARG): Just abort.
jason [Fri, 11 Jun 2004 18:41:47 +0000 (18:41 +0000)]
    * config/i386/i386.h (EXPAND_BUILTIN_VA_ARG): Just abort.
        * config/i386/i386.c (ix86_va_arg): Remove.
        * config/rs6000/rs6000.h (EXPAND_BUILTIN_VA_ARG): Just abort.
        * config/rs6000/rs6000.c (rs6000_va_arg): Remove.
        * config/alpha/alpha.h (EXPAND_BUILTIN_VA_ARG): Just abort.
        * config/alpha/alpha.c (alpha_va_arg): Remove.
        * config/sparc/sparc.h (EXPAND_BUILTIN_VA_ARG): Just abort.
        * config/sparc/sparc.c (sparc_va_arg): Remove.

        * tree-ssa-operands.c (get_stmt_operands): Use a V_MAY_DEF if the
        assignment might throw.
        * tree-eh.c (tree_could_throw_p): Support non-call exceptions in
        expressions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82992 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago Add PR number in:
amylaar [Fri, 11 Jun 2004 18:15:19 +0000 (18:15 +0000)]
Add PR number in:
PR 15886:
* sh.h (ALLOCATE_INITIAL_VALUE): Use return_address_pointer_rtx.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82987 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/15862
mmitchel [Fri, 11 Jun 2004 18:14:52 +0000 (18:14 +0000)]
PR c++/15862
* name-lookup.c (unqualified_namespace_lookup): Do not ignore type
bindings for undeclared built-ins.

PR c++/15862
* g++.dg/parse/enum1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82986 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * sh.h (ALLOCATE_INITIAL_VALUE): Use return_address_pointer_rtx.
amylaar [Fri, 11 Jun 2004 18:13:32 +0000 (18:13 +0000)]
* sh.h (ALLOCATE_INITIAL_VALUE): Use return_address_pointer_rtx.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82985 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * ChangeLog: Merge text from include/ChangeLog.
zack [Fri, 11 Jun 2004 18:07:12 +0000 (18:07 +0000)]
* ChangeLog: Merge text from include/ChangeLog.
* include/ChangeLog: Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82984 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoAdd missing ChangeLog entries
mmitchel [Fri, 11 Jun 2004 17:46:45 +0000 (17:46 +0000)]
Add missing ChangeLog entries

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82983 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 11 Jun 2004 17:37:06 +0000 (17:37 +0000)]
2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>

        PR libobjc/15901
        * configure.ac: Do not disable shared by default.
        * configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82980 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/install.texi (Prerequisites): Update documentation of
jsm28 [Fri, 11 Jun 2004 16:50:08 +0000 (16:50 +0000)]
* doc/install.texi (Prerequisites): Update documentation of
required versions of autoconf and automake.  Remove mention of
libf2c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82975 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-11 Vincent Celier <celier@gnat.com>
charlet [Fri, 11 Jun 2004 10:47:39 +0000 (10:47 +0000)]
2004-06-11  Vincent Celier  <celier@gnat.com>

* mlib-tgt-vms-alpha.adb (Build_Dynamic_Library): Issue switch -R to
gnatsym, when symbol policy is Restricted.

* mlib-tgt-vms-ia64.adb (Build_Dynamic_Library): Issue switch -R to
gnatsym, when symbol policy is Restricted.

* symbols-vms-alpha.adb (Initialize): When symbol policy is Restricted,
read the symbol file.
(Finalize): Fail in symbol policy Restricted if a symbol in the original
symbol file is not in the object files. Do not create a new symbol file
when symbol policy is Restricted.

* gnatbind.adb (Gnatbind): Initialize Snames, because Snames is used
in Scng.

* gnatsym.adb (Parse_Vmd_Line): Process new switch -R for symbol policy
Restricted.
(Usage): Line for new switch -R

* make.adb (Initialize): When the platform is not VMS, add the
directory where gnatmake is invoked in the front of the path, if
gnatmake is invoked with directory information.  Change the Scan_Args
while loop to a for loop.
(Recursive_Compute_Depth): Remove parameter Visited. Improve efficiency:
if Depth is equal or greater than the proposed depth, there is nothing
to do.
(Initialize): Call Recursive_Compute_Depth with initial Depth equal to 1
instead of 0.

* prj.ads: Add new symbol policy Restricted.

* prj-dect.adb (Parse_Case_Construction): Call End_Case_Construction
with the new parameters Check_All_Labels and Case_Location.

* prj-nmsc.adb (Ada_Check): Process new symbol policy Restricted
(Library_Symbol_File needs to be defined).

* prj-strt.adb (End_Case_Construction): New parameters Check_All_Labels
and Case_Location If Check_All_Labels is True, check that all values of
the string type are used, and output warning(s) if they are not.

* prj-strt.ads (End_Case_Construction): New parameters Check_All_Labels
and Case_Location.

* gnat_ugn.texi: Reorder subclauses in menus "Switches for gcc"

* gnat_ugn.texi: Update documentation about the library directory in
Library Projects.

* makegpr.adb (Display_Command): In verbose mode, also display the
value of the CPATH env var, when the compiler is gcc.
(Initialize): Change the Scan_Args while loop to a for loop
(Compile_Individual_Sources): Change directory to object directory
before compilations.

* symbols.ads: New symbol policy Restricted.

2004-06-11  Olivier Hainque  <hainque@act-europe.fr>

* a-except.adb (Raise_After_Setup family): Remove. The responsibility
is now taken care of internally in the Exception_Propagation package
and does not require clients assistance any more.

* a-exexpr.adb (Is_Setup_And_Not_Propagated,
Set_Setup_And_Not_Propagated, and Clear_Setup_And_Not_Propagated): New
functions. Helpers to maintain a predicate required in the handling of
occurrence transfer between tasks.
This is now handled internally and does not require clients assistance
for the setup/propagate separation anymore.
(Setup_Exception, Propagate_Exception): Simplify the Private_Data
allocation strategy, handle the Setup_And_Not_Propagated predicate and
document.

* s-taenca.adb (Check_Exception): Use raise_with_msg instead of
raise_after_setup, now that everything is handled internally within the
setup/propagation engine.

2004-06-11  Hristian Kirtchev  <kirtchev@gnat.com>

* exp_ch6.adb (Expand_Inlined_Call): Add function Formal_Is_Used_Once.
Add additional conditions for the case of an actual being a simple
name or literal. Improve inlining by preventing the generation
of temporaries with a short lifetime (one use).

2004-06-11  Hristian Kirtchev  <kirtchev@gnat.com>

PR ada/15587

* einfo.ads: Minor comment updates for Has_Completion and
E_Constant list of flags.

* sem_ch3.adb (Analyze_Object_Declaration): Full constant declarations
and constant redeclarations now set the Has_Completion flag of their
defining identifiers.

* sem_ch7.adb (Analyze_Package_Spec): Add procedure
Inspect_Deferred_Constant_Completion.
Used to detect private deferred constants that have not been completed
either by a constant redeclaration or pragma Import. Emits error message
"constant declaration requires initialization expression".

* sem_prag.adb (Process_Import_Or_Interface): An Import pragma now
completes a deferred constant.

2004-06-11  Geert Bosch  <bosch@gnat.com>

* eval_fat.adb (Decompose_Int): Fix rounding of negative numbers.

* s-fatgen.adb (Gradual_Scaling): Correct off-by-one error in
calculating exponent for scaling denormal numbers.
(Leading_Part): Properly raise Constraint_Error for zero or negative
Adjustment.
(Remainder): Properly raise Constraint_Error for zero divisor.

2004-06-11  Thomas Quinot  <quinot@act-europe.fr>

* sem_util.adb: Minor reformatting.

* exp_ch2.adb (Expand_Entry_Parameter): Generate an explicit
dereference when accessing the entry parameter record.
(Check_Array_Type): Always check for possible implicit dereference.
(maybe_implicit_dereference): Rename to check_no_implicit_derefence.
Abort if a pointer is still present (denoting that an implicit
dereference was left in the tree by the front-end).

* sem_attr.adb (Expand_Entry_Parameter): Generate an explicit
dereference when accessing the entry parameter record.
(Check_Array_Type): Always check for possible implicit dereference.
(maybe_implicit_dereference): Rename to check_no_implicit_derefence.
Abort if a pointer is still present (denoting that an implicit
dereference was left in the tree by the front-end).

2004-06-11  Emmanuel Briot  <briot@act-europe.fr>

* g-debpoo.adb (Deallocate, Dereference): Add prefix "error:" to error
message, like the compiler itself does. Easier to parse the output.

* g-debpoo.ads: (Allocate, Deallocate, Dereference): Add comments.

* gnat_ugn.texi (gnatxref, gnatfind): Clarify that source names should
be base names, and not includes directories.

2004-06-11  Arnaud Charlet  <charlet@act-europe.fr>

* Makefile.generic ($(EXEC)): Depend on $(OBJECTS), not $(OBJ_FILES),
so that dependencies are properly taken into account by make.

2004-06-11  Arnaud Charlet  <charlet@act-europe.fr>

PR ada/15622
* s-unstyp.ads, s-maccod.ads, sem_ch8.adb, s-auxdec.ads,
exp_intr.adb, s-auxdec-vms_64.ads: Fix typo: instrinsic -> intrinsic

2004-06-11  Jerome Guitton  <guitton@act-europe.fr>

* Makefile.in (install-gnatlib): install target-specific run-time files.

* Make-lang.in: Remove obsolete targets.

2004-06-11  Ed Schonberg  <schonberg@gnat.com>

* par-ch12.adb (P_Generic): Add scope before analyzing subprogram
specification, to catch misuses of program unit names.

* sem_res.adb (Resolve_Type_Conversion): Do not emit warnings on
superfluous conversions in an instance.

2004-06-11  Ed Schonberg  <schonberg@gnat.com>

PR ada/15403

* sem_ch12.adb (Save_References): If operator node has been folded to
enumeration literal, associated_node must be discarded.

2004-06-11  Jose Ruiz  <ruiz@act-europe.fr>

* s-stchop-vxworks.adb: Add required pragma Convention to
Task_Descriptor because it is updated by a C function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82973 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
mark [Fri, 11 Jun 2004 10:42:59 +0000 (10:42 +0000)]
   * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
       NoSuchMethodError.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82972 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/sparc/sparc.c (sparc_gimplify_va_arg): New fn.
jason [Fri, 11 Jun 2004 06:08:09 +0000 (06:08 +0000)]
    * config/sparc/sparc.c (sparc_gimplify_va_arg): New fn.
        (TARGET_GIMPLIFY_VA_ARG_EXPR): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82963 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-11 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Fri, 11 Jun 2004 05:54:02 +0000 (05:54 +0000)]
2004-06-11  Jerry Quinn  <jlquinn@optonline.net>

* java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
when we already know the answer.
* java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
(setStartRule,setEndRule): Don't take abs of day number.
(getOffset): Clarify docs.  Add argument checks.
(isBefore): Take abs of day number in DOW_LE_DOM_MODE.
(equals,hasSameRules,toString,readObject): Use startTimeMode and
endTimeMode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82962 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agofix typo
jason [Fri, 11 Jun 2004 05:46:37 +0000 (05:46 +0000)]
fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82961 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-06-11 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Fri, 11 Jun 2004 05:31:09 +0000 (05:31 +0000)]
2004-06-11  Jerry Quinn  <jlquinn@optonline.net>

* typeclass.h: Add GPL plus exception license.  Add include
guard.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82960 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gimplify.c (gimplify_modify_expr): Don't force a temporary
jason [Fri, 11 Jun 2004 03:26:31 +0000 (03:26 +0000)]
    * gimplify.c (gimplify_modify_expr): Don't force a temporary
        of an aggregate_value_p type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82959 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * fold-const.c (fold_inf_compare): Avoid creating non-gimple
law [Fri, 11 Jun 2004 03:22:30 +0000 (03:22 +0000)]
    * fold-const.c (fold_inf_compare): Avoid creating non-gimple
        code when we are in gimple form.

        * gcc.c-torture/compile/20040610-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82958 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * typeck2.c (abstract_virtual_errors): Reword diagnostics, make them
giovannibajo [Fri, 11 Jun 2004 03:11:07 +0000 (03:11 +0000)]
* typeck2.c (abstract_virtual_errors): Reword diagnostics, make them
appear at the correct location.

* g++.old-deja/g++.robertl/eb4.C: Adjust error markers.
* g++.old-deja/g++.other/decl3.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82957 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Fri, 11 Jun 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82953 138bc75d-0d04-0410-961f-82ee72b054a4