paolo [Fri, 14 May 2004 17:01:49 +0000 (17:01 +0000)]
2004-05-14 Paolo Carlini <pcarlini@suse.de>
Ivan Godard <igodard@pacbell.net>
PR libstdc++/15361
* include/std/std_bitset.h (_Base_bitset<_Nw>::_M_do_find_next): Fix.
* testsuite/23_containers/bitset/ext/15361.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81852
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 14 May 2004 16:35:07 +0000 (16:35 +0000)]
2004-05-14 Steven Augart <augart@watson.ibm.com>
* include/jni.h (_Jv_func): Removed.
(struct JNINativeInterface): Use `void *' for reserved slots.
(struct JNIInvokeInterface): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81851
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Fri, 14 May 2004 15:38:08 +0000 (15:38 +0000)]
* gfortran.fortran-torture/compile/noncontinuation_1.f90: Rename
this ...
* gfortran.fortran-torture/compile/noncontinuation_1.f: ... to
this.
(Correcting previous mistake)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81850
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Fri, 14 May 2004 15:35:11 +0000 (15:35 +0000)]
* passes.c (rest_of_handle_null_pointer): Remove.
(rest_of_handle_cse): Don't call rest_of_handle_null_pointer.
(rest_of_compilation): Likewise.
* rtl.h (delete_null_pointer_checks): Remove prototype.
* gcse.c (rd_kill, rd_gen, reaching_defs, rd_out, ae_in, ae_out):
Remove declarations.
(get_bitmap_width, alloc_rd_mem, free_rd_mem, handle_rd_kill_set,
compute_kill_rd, compute_rd, alloc_avail_expr_mem,
free_avail_expr_mem, compute_ae_gen, expr_killed_p, compute_ae_kill,
expr_reaches_here_p, computing_insn, def_reaches_here_p,
can_disregard_other_sets, handle_avail_expr, classic_gcse,
one_classic_gcse_pass, invalidate_nonnull_info,
delete_null_pointer_checks_1, delete_null_pointer_checks,
expr_reached_here_p_work): Remove.
(gcse_main): Do not perform classic GCSE when optimizing for size.
(alloc_pre_mem, free_pre_mem): Don't touch ae_in and ae_out, they
are never used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81849
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Fri, 14 May 2004 15:32:01 +0000 (15:32 +0000)]
PR fortran/15206
* trans-intrinsic.c (gfc_conv_intrinsic_rrspacing): Fixed to
handle zero correctly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81848
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 14 May 2004 15:27:37 +0000 (15:27 +0000)]
2004-05-14 Andrew Pinski <pinskia@physics.uc.edu>
PR optimization/14466
* tree-complex.c (make_temp): Remove.
(gimplify_val): Replace make_temp with make_rename_temp
and add NULL as the second argument.
(expand_complex_div_wide): Likewise.
* tree-dfa.c (make_rename_temp): New function.
* tree-flow.h (make_rename_temp): Declare.
* tree-sra.c (make_temp): Remove.
(lookup_scalar): Replace make_temp with make_rename_temp.
(create_scalar_copies): Likewise.
* tree-ssa-phiopt.c (conditional_replacement): When we
get non gimple create a temporary variable to hold the
casted expression.
2004-05-14 Andrew Pinski <pinskia@physics.uc.edu>
PR optimization/14466
* gcc.dg/tree-ssa/
20040514-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81847
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Fri, 14 May 2004 14:07:13 +0000 (14:07 +0000)]
* match.c (gfc_match): Eliminate dead code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81846
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Fri, 14 May 2004 14:04:36 +0000 (14:04 +0000)]
fortran:
* parse.c (gfc_statement_next_fixed): (Change from Andy's tree)
Detect bad continuation line in fixed form sources.
testsuite:
* gfortran.fortran-torture/compile/noncontinuation_1.f90: New
test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81845
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 14 May 2004 13:55:12 +0000 (13:55 +0000)]
2004-05-14 Robert Dewar <dewar@gnat.com>
* gnat_ugn.texi: Minor change to -gnatS documentation
* sprint.adb: Remove some instances of Assert (False) and for this
purpose replace them by output of a ??? string.
* checks.adb, exp_aggr.adb, sem_elim.adb: Remove useless pragma
Assert (False).
* lib-writ.adb, lib-load.adb, lib.ads, lib.adb: Remove Dependent_Unit
flag processing. This was suppressing required dependencies in
No_Run_Time mode and is not needed since the binder does not generate
references for things in libgnat anyway.
* sem_ch3.adb (Access_Type_Declaration): Reorganize code to avoid GCC
warning.
2004-05-14 Thomas Quinot <quinot@act-europe.fr>
* gnat_ugn.texi: Document AIX-specific issue with initialization of
resolver library.
* exp_ch4.adb (Insert_Dereference_Action): Do not generate dereference
action for the case of an actual parameter in an init proc call.
2004-05-14 Ed Schonberg <schonberg@gnat.com>
* sem_ch4.adb (Analyze_Selected_Component): If prefix is a protected
subtype, check visible entities in base type.
* exp_ch7.adb (Clean_Simple_Protected_Objects): Do not generate cleanup
actions if the object is a renaming.
* sem_ch12.adb (Same_Instantiated_Entity): Predicate for
Check_Formal_Package_Instance, to determine more precisely when the
formal and the actual denote the same entity.
2004-05-14 Javier Miranda <miranda@gnat.com>
* par-ch10.adb (P_Context_Clause): Complete documentation on AI-262
* sem_ch10.adb (Analyze_With_Clause): After analyzed, the entity
corresponding to a private_with must be removed from visibility; it
will be made visible later, just before we analyze the private part of
the package.
(Check_Private_Child_Unit): Allow private_with clauses in public
siblings.
(Install_Siblings): Make visible the private entities of private-withed
siblings.
(Install_Withed_Unit): Do not install the private withed unit if we
are compiling a package declaration and the Private_With_OK flag was
not set by the caller. These declarations will be installed later,
just before we analyze the private part of the package.
* sem_ch3.adb (Analyze_Object_Declaration): In case of errors detected
during the evaluation of the expression that initializes the object,
decorate it with the expected type to avoid cascade errors.
Code cleanup.
* sem_ch6.adb (Analyze_Subprogram_Body): If we are compiling a library
subprogram we have to install the private_with clauses after its
specification has been analyzed (as documented in AI-262.TXT).
* sem_ch8.adb (Has_Private_With): New function. Determines if the
current compilation unit has a private with on a given entity.
(Find_Direct_Name): Detect the Beaujolais problem described in
AI-262.TXT
* sem_utils.ads, sem_util.adb (Is_Ancestor_Package): New function. It
provides the functionality of the function Is_Ancestor that was
previously available in sem_ch10. It has been renamed to avoid
overloading.
* sprint.adb (Sprint_Node_Actual): Print limited_with clauses
2004-05-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* utils.c (build_vms_descriptor): Use SImode pointers.
2004-05-14 Vasiliy Fofanov <fofanov@act-europe.fr>
* gnat_ugn.texi: Revised chapter "GNAT and Libraries".
2004-05-14 GNAT Script <nobody@gnat.com>
* Make-lang.in: Makefile automatically updated
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81844
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Fri, 14 May 2004 13:51:27 +0000 (13:51 +0000)]
PR fortran/15205
* iresolve.c (gfc_resolve_nearest): Add new function.
* intrinsic.h: ... declare it here.
* intrinsic.c (add_functions): ... add it as resolving function
for NEAREST.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81843
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Fri, 14 May 2004 13:46:05 +0000 (13:46 +0000)]
fortran:
PR fortran/14066
* match.c (gfc_match_do): Allow infinite loops with
label-do-stmt. Do not enforce space after comma.
testsuite:
PR fortran/14066
* gfortran.fortran-torture/compile/do_1.f90: New test.
Also fixed date on previous ChangeLog entries.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81842
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Fri, 14 May 2004 13:26:03 +0000 (13:26 +0000)]
testsuite:
PR fortran/15051
* gfortran.fortran-torture/compile/empty_interface_1.f90: New
test.
fortran:
PR fortran/15051
* parse.c (parse_interface): Allow empty INTERFACE, remove
seen_body.
Also added ChangeLog entry missing from previous commit, removed umlaut from ChangeLog, and fixed previous entry to use tabs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81841
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Fri, 14 May 2004 13:00:04 +0000 (13:00 +0000)]
* Make-lang.in, arith.c, arith.h, array.c, bbt.c, check.c,
decl.c, dependency.c, dependency.h, dump-parse-tree.c, error.c,
expr.c, f95-lang.c, gfortran.h, interface.c, intrinsic.c,
intrinsic.h, io.c, iresolve.c, lang-specs.h, match.c, match.h,
matchexp.c, misc.c, module.c, options.c, parse.c, parse.h,
primary.c, resolve.c, scanner.c, simplify.c, st.c, symbol.c,
trans-array.c, trans-array.h, trans-common.c, trans-const.c,
trans-const.h, trans-decl.c, trans-expr.c, trans-intrinsic.c,
trans-io.c, trans-stmt.c, trans-stmt.h, trans-types.c,
trans-types.h, trans.c, trans.h: Update copyright years and
boilerplate.
* data.c: Likewise, also removed two whitespace-only lines.
* gfortranspec.c, lang.opt: Update copyright years.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81839
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Fri, 14 May 2004 12:53:11 +0000 (12:53 +0000)]
* stor-layout.c (update_alignment_for_field): Use
targetm.align_anon_bitfield.
* target-def.h (TARGET_ALIGN_ANON_BITFIELD): Define.
(TARGET_INITIALIZER): Use it.
* target.h (struct gcc_target): Add align_anon_bitfield.
* config/arm/arm.c (arm_align_anon_bitfield): New function.
(TARGET_ALIGN_ANON_BITFIELD): Define.
* doc/tm.texi: Document TARGET_ALIGN_ANON_BITFIELD.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81838
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Fri, 14 May 2004 12:44:40 +0000 (12:44 +0000)]
PR fortran/14568
* trans-decl.c (generate_local_decl): Don't warn for unused
variables which are in common blocks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81837
138bc75d-0d04-0410-961f-
82ee72b054a4
bdavis [Fri, 14 May 2004 12:21:22 +0000 (12:21 +0000)]
PR fortran/15149
* gfortran.fortran-torture/execute/random_init.f90: New test.
* libgfortan.h,intrinsics/random.c: Made random_seed visible.
* runtime/main.c(init): Call random_seed as part of MAIN init.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81836
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 14 May 2004 10:02:00 +0000 (10:02 +0000)]
Renaming of target specific files for clarity
* Makefile.in: Rename GNAT target specific files.
* 31soccon.ads, 31soliop.ads 35soccon.ads, 3asoccon.ads,
3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3psoccon.ads,
3ssoccon.ads, 3ssoliop.ads, 3veacodu.adb, 3vexpect.adb,
3vsoccon.ads, 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb,
3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads, 3wsoliop.ads,
3zsoccon.ads, 3zsocthi.adb, 3zsocthi.ads, 41intnam.ads,
42intnam.ads, 45intnam.ads, 4aintnam.ads, 4cintnam.ads,
4gintnam.ads, 4hexcpol.adb, 4hintnam.ads, 4lintnam.ads,
4nintnam.ads, 4ointnam.ads, 4onumaux.ads, 4pintnam.ads,
4sintnam.ads, 4vcaldel.adb, 4vcalend.adb, 4vcalend.ads,
4vintnam.ads, 4wcalend.adb, 4wexcpol.adb, 4wintnam.ads,
4zintnam.ads, 4znumaux.ads, 4zsytaco.adb, 4zsytaco.ads,
51osinte.adb, 51osinte.ads, 51system.ads,
52osinte.adb, 52osinte.ads, 53osinte.ads, 54osinte.ads,
55osinte.adb, 55osinte.ads, 55system.ads, 56osinte.adb,
56osinte.ads, 56system.ads, 56taprop.adb, 56taspri.ads,
56tpopsp.adb, 57system.ads, 58system.ads,
5amastop.adb, 5aml-tgt.adb, 5aosinte.adb, 5aosinte.ads,
5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
5atpopsp.adb, 5avxwork.ads, 5bml-tgt.adb, 5bosinte.adb,
5bosinte.ads, 5bsystem.ads, 5cosinte.ads, 5csystem.ads,
5dsystem.ads, 5esystem.ads, 5fintman.adb, 5fosinte.adb,
5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gml-tgt.adb,
5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
5hml-tgt.adb, 5hosinte.adb, 5hosinte.ads, 5hparame.ads,
5hsystem.ads, 5htaprop.adb, 5htaspri.ads, 5htraceb.adb,
5iosinte.adb, 5iosinte.ads, 5itaprop.adb, 5itaspri.ads,
5ksystem.ads, 5kvxwork.ads, 5lml-tgt.adb, 5losinte.ads,
5lparame.adb, 5lsystem.ads, 5msystem.ads, 5mvxwork.ads,
5ninmaop.adb, 5nintman.adb, 5nosinte.ads, 5nsystem.ads,
5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
5posprim.adb, 5psystem.ads, 5pvxwork.ads, 5sintman.adb,
5sml-tgt.adb, 5sosinte.adb, 5sosinte.ads, 5sosprim.adb,
5sparame.adb, 5ssystem.ads, 5staprop.adb, 5stasinf.adb,
5stasinf.ads, 5staspri.ads, 5stpopsp.adb, 5svxwork.ads,
5tosinte.ads, 5usystem.ads, 5vasthan.adb, 5vdirval.adb,
5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
5vmastop.adb, 5vml-tgt.adb, 5vosinte.adb, 5vosinte.ads,
5vosprim.adb, 5vosprim.ads, 5vparame.ads, 5vsymbol.adb,
5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
5vtpopde.ads, 5vtraent.adb, 5vtraent.ads, 5vvaflop.adb,
5wdirval.adb, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
5wml-tgt.adb, 5wosinte.ads, 5wosprim.adb, 5wsystem.ads,
5wtaprop.adb, 5wtaspri.ads, 5xparame.ads, 5xsystem.ads,
5xvxwork.ads, 5yparame.ads, 5ysystem.ads, 5zinterr.adb,
5zintman.adb, 5zintman.ads, 5zml-tgt.adb, 5zosinte.adb,
5zosinte.ads, 5zosprim.adb, 5zparame.ads, 5zstchop.adb,
5zsystem.ads, 5ztaprop.adb, 5ztaspri.ads, 5ztfsetr.adb,
5ztpopsp.adb, 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads,
7sinmaop.adb, 7sintman.adb, 7sosinte.adb, 7sosprim.adb,
7staprop.adb, 7staspri.ads, 7stfsetr.adb, 7stpopsp.adb,
7straceb.adb, 7straces.adb, 7strafor.adb, 7strafor.ads,
7stratas.adb, 86numaux.adb, 86numaux.ads: Replaced by files below.
* a-caldel-vms.adb, a-calend-mingw.adb, a-calend-vms.adb,
a-calend-vms.ads, a-dirval-mingw.adb, a-dirval-vms.adb,
a-excpol-abort.adb, a-excpol-interix.adb, a-intnam-aix.ads,
a-intnam-dummy.ads, a-intnam-freebsd.ads, a-intnam-hpux.ads,
a-intnam-interix.ads, a-intnam-irix.ads, a-intnam-linux.ads,
a-intnam-lynxos.ads, a-intnam-mingw.ads, a-intnam-os2.ads,
a-intnam-solaris.ads, a-intnam-tru64.ads, a-intnam-unixware.ads,
a-intnam-vms.ads, a-intnam-vxworks.ads, a-numaux-libc-x86.ads,
a-numaux-vxworks.ads, a-numaux-x86.adb, a-numaux-x86.ads,
a-sytaco-vxworks.adb, a-sytaco-vxworks.ads, g-eacodu-vms.adb,
g-expect-vms.adb, g-soccon-aix.ads, g-soccon-freebsd.ads,
g-soccon-hpux.ads, g-soccon-interix.ads, g-soccon-irix.ads,
g-soccon-mingw.ads, g-soccon-solaris.ads, g-soccon-tru64.ads,
g-soccon-unixware.ads, g-soccon-vms.adb, g-soccon-vxworks.ads,
g-socthi-mingw.adb, g-socthi-mingw.ads, g-socthi-vms.adb,
g-socthi-vms.ads, g-socthi-vxworks.adb, g-socthi-vxworks.ads,
g-soliop-mingw.ads, g-soliop-solaris.ads, g-soliop-unixware.ads,
g-trasym-vms.adb, i-cpp-vms.adb, i-cstrea-vms.adb,
interfac-vms.ads, mlib-tgt-aix.adb, mlib-tgt-hpux.adb,
mlib-tgt-irix.adb, mlib-tgt-linux.adb, mlib-tgt-mingw.adb,
mlib-tgt-solaris.adb, mlib-tgt-tru64.adb, mlib-tgt-vms.adb,
mlib-tgt-vxworks.adb, s-asthan-vms.adb, s-gloloc-mingw.adb,
s-inmaop-dummy.adb, s-inmaop-posix.adb, s-inmaop-vms.adb,
s-interr-dummy.adb, s-interr-sigaction.adb, s-interr-vms.adb,
s-interr-vxworks.adb, s-intman-dummy.adb, s-intman-irix.adb,
s-intman-irix-athread.adb, s-intman-mingw.adb, s-intman-posix.adb,
s-intman-solaris.adb, s-intman-vms.adb, s-intman-vms.ads,
s-intman-vxworks.adb, s-intman-vxworks.ads, s-mastop-irix.adb,
s-mastop-tru64.adb, s-mastop-vms.adb, s-mastop-x86.adb,
s-memory-mingw.adb, s-osinte-aix.adb, s-osinte-aix.ads,
s-osinte-aix-fsu.ads, s-osinte-dummy.ads, s-osinte-freebsd.adb,
s-osinte-freebsd.ads, s-osinte-fsu.adb, s-osinte-hpux.ads,
s-osinte-hpux-dce.adb, s-osinte-hpux-dce.ads, s-osinte-interix.ads,
s-osinte-irix.adb, s-osinte-irix.ads, s-osinte-irix-athread.ads,
s-osinte-linux.ads, s-osinte-linux-fsu.ads, s-osinte-linux-ia64.ads,
s-osinte-lynxos-3.adb, s-osinte-lynxos-3.ads, s-osinte-lynxos.adb,
s-osinte-lynxos.ads, s-osinte-mingw.ads, s-osinte-os2.adb,
s-osinte-os2.ads, s-osinte-posix.adb, s-osinte-solaris.adb,
s-osinte-solaris.ads, s-osinte-solaris-fsu.ads,
s-osinte-solaris-posix.ads, s-osinte-tru64.adb, s-osinte-tru64.ads,
s-osinte-unixware.adb, s-osinte-unixware.ads, s-osinte-vms.adb,
s-osinte-vms.ads, s-osinte-vxworks.adb,
s-osinte-vxworks.ads, s-osprim-mingw.adb,
s-osprim-os2.adb, s-osprim-posix.adb, s-osprim-solaris.adb,
s-osprim-unix.adb, s-osprim-vms.adb, s-osprim-vms.ads,
s-osprim-vxworks.adb, s-parame-ae653.ads, s-parame-hpux.ads,
s-parame-linux.adb, s-parame-os2.adb, s-parame-solaris.adb,
s-parame-vms.ads, s-parame-vms-restrict.ads, s-parame-vxworks.ads,
s-proinf-irix-athread.adb, s-proinf-irix-athread.ads,
s-stchop-vxworks.adb, s-taprop-dummy.adb,
s-taprop-hpux-dce.adb, s-taprop-irix.adb,
s-taprop-irix-athread.adb, s-taprop-linux.adb, s-taprop-lynxos.adb,
s-taprop-mingw.adb, s-taprop-os2.adb, s-taprop-posix.adb,
s-taprop-solaris.adb, s-taprop-tru64.adb, s-taprop-vms.adb,
s-taprop-vxworks.adb, s-tasinf-irix.ads, s-tasinf-irix-athread.adb,
s-tasinf-irix-athread.ads, s-tasinf-solaris.adb, s-tasinf-solaris.ads,
s-tasinf-tru64.ads, s-taspri-dummy.ads, s-taspri-hpux-dce.ads,
s-taspri-linux.ads, s-taspri-lynxos.ads, s-taspri-mingw.ads,
s-taspri-os2.ads, s-taspri-posix.ads, s-taspri-solaris.ads,
s-taspri-tru64.ads, s-taspri-vms.ads, s-taspri-vxworks.ads,
s-tfsetr-default.adb, s-tfsetr-vxworks.adb, s-tpopde-vms.adb,
s-tpopde-vms.ads, s-tpopsp-lynxos.adb, s-tpopsp-posix.adb,
s-tpopsp-posix-foreign.adb, s-tpopsp-solaris.adb, s-tpopsp-vxworks.adb,
s-traceb-hpux.adb, s-traceb-mastop.adb, s-traces-default.adb,
s-traent-vms.adb, s-traent-vms.ads, s-trafor-default.adb,
s-trafor-default.ads, s-tratas-default.adb, s-vaflop-vms.adb,
s-vxwork-alpha.ads, s-vxwork-m68k.ads, s-vxwork-mips.ads,
s-vxwork-ppc.ads, s-vxwork-sparcv9.ads, s-vxwork-xscale.ads,
symbols-vms.adb, system-aix.ads, system-freebsd-x86.ads,
system-hpux.ads, system-interix.ads, system-irix-n32.ads,
system-irix-o32.ads, system-linux-x86_64.ads,
system-linux-x86.ads, system-lynxos-ppc.ads, system-lynxos-x86.ads,
system-mingw.ads, system-os2.ads, system-solaris-sparc.ads,
system-solaris-sparcv9.ads, system-solaris-x86.ads, system-tru64.ads,
system-unixware.ads, system-vms.ads, system-vms-zcx.ads,
system-vxworks-alpha.ads, system-vxworks-m68k.ads,
system-vxworks-mips.ads, system-vxworks-ppc.ads,
system-vxworks-sparcv9.ads, system-vxworks-xscale.ads: Replace files
above.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81834
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 14 May 2004 05:08:55 +0000 (05:08 +0000)]
* tree-ssa-live.c (calculate_live_on_entry): Ignore virtual
variables. Simplify slightly by using USE_OP/DEF_OP instead
of USE_OP_PTR/DEF_OP_PTR and dereferencing the result.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81832
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 14 May 2004 02:33:00 +0000 (02:33 +0000)]
* tree.def (documentation): Remove mention of class 'b'.
(BLOCK): Now in class 'x'.
* c-common.c (verify_tree): Remove case 'b'.
* c-typeck.c (same_translation_unit_p): Change 'b' to 'x'.
* calls.c (calls_function_1): Control cannot get past the switch
when exp is a BLOCK.
* print-tree.c (print_node): Move code for class 'b' to the class
'c'/'x' switch, as case BLOCK.
* tree.c (tree_size, make_node_stat, tree_node_structure): Likewise.
(unsafe_for_reeval, substitute_placeholder_in_expr)
(stabilize_reference_1): Remove case 'b'.
* tree-browser.c (browse_tree): Change all tests for TREE_CODE_CLASS
of something being 'b' to tests for TREE_CODE of something being
BLOCK.
* tree-ssa-operands.c (get_expr_operands): Likewise.
ada:
* trans.c (gnat_stabilize_reference_1): Remove case 'b'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81831
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Fri, 14 May 2004 02:29:32 +0000 (02:29 +0000)]
* tree-gimple.c: Rename from tree-simple.c.
* tree-gimple.h: Rename from tree-simple.h.
* c-gimplify.c: Rename from c-simplify.c
* Makefile.in, c-decl.c, gimple-low.c, gimplify.c,
langhooks.c, tree-alias-ander.c, tree-alias-common.c,
tree-complex.c, tree-dfa.c, tree-flow.h, tree-inline.c,
tree-into-ssa.c, tree-iterator.c, tree-mudflap.c,
tree-nested.c, tree-nomudflap.c, tree-outof-ssa.c, tree-sra.c,
tree-ssa-alias.c, tree-ssa-ccp.c, tree-ssa-copyrename.c,
tree-ssa-dce.c, tree-ssa-live.c, tree-ssa-pre.c, tree-ssa.c:
Update.
cp/ChangeLog
* cp-gimplify.c: Rename from cp-simplify.c.
* Make-lang.in, optimize.c: Update.
fortran/ChangeLog
* Make-lang.in, f95-lang.c, trans-array.c, trans-decl.c,
trans-expr.c, trans-intrinsic.c, trans-io.c, trans-stmt.c,
trans.c: Rename tree-simple.[ch] to tree-gimple.[ch].
java/ChangeLog
* Make-lang.in, expr.c, java-gimplify.c: Rename
tree-simple.[ch] to tree-gimple.[ch].
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81829
138bc75d-0d04-0410-961f-
82ee72b054a4
rmathew [Fri, 14 May 2004 02:02:37 +0000 (02:02 +0000)]
* java-gimplify.c (java_gimplify_expr): Correct minor typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81825
138bc75d-0d04-0410-961f-
82ee72b054a4
rmathew [Fri, 14 May 2004 01:49:45 +0000 (01:49 +0000)]
* doc/sourcebuild.texi: Mention libbanshee and libmudflap.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81824
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 14 May 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81822
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Thu, 13 May 2004 23:36:16 +0000 (23:36 +0000)]
* io/format.c: (parse_format_list): No comma is required after
P descriptor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81819
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Thu, 13 May 2004 23:22:13 +0000 (23:22 +0000)]
PR fortran/15314
* gfortran.fortran-torture/execute/der_init_s.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81818
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 13 May 2004 23:13:14 +0000 (23:13 +0000)]
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-ssa.c (delete_tree_ssa): XFREE
bitmaps allocated with BITMAP_XMALLOC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81817
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Thu, 13 May 2004 23:11:47 +0000 (23:11 +0000)]
PR fortran/15314
* trans-expr.c (gfc_conv_structure): Use field type, not expr type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81816
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 13 May 2004 23:10:34 +0000 (23:10 +0000)]
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-ssa-pre.c (execute_pre): Free ephi_use_pool and
idfs_cache at the end of the function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81815
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 13 May 2004 23:06:03 +0000 (23:06 +0000)]
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-ssa-live (calculate_live_on_entry): Free saw_def
at the end of the function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81814
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 13 May 2004 23:01:52 +0000 (23:01 +0000)]
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-ssa-dce.c (perform_tree_ssa_dce): Free
el at the end of the function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81813
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 13 May 2004 22:56:28 +0000 (22:56 +0000)]
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/uninit-H.c: Test for __PPC__ and __ppc__
for the powerpc case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81812
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 13 May 2004 22:46:19 +0000 (22:46 +0000)]
* tree-into-ssa.c (compute_global_livein): Use EXECUTE_IF_SET_IN_BITMAP
rather than iterating through the blocks testing each bit in
livein to initialize the worklist.
(mark_def_sites): Remove useless checks of KILLS for virtual
operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81811
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 13 May 2004 22:41:37 +0000 (22:41 +0000)]
Fix format in (and bug number):
2004-05-13 Bud Davis <bdavis9659@comcast.net>
PR fortran/15204
* io/intrinsic/string_intrinsics.c (adjustr): rework logic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81810
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 13 May 2004 22:10:43 +0000 (22:10 +0000)]
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-into-ssa.c (insert_phi_nodes_for): XFREE
bitmaps allocated with BITMAP_XMALLOC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81809
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 13 May 2004 22:02:16 +0000 (22:02 +0000)]
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* loop-unswitch.c (unswitch_single_loop): Free bbs at
the end.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81808
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 13 May 2004 21:52:34 +0000 (21:52 +0000)]
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* final.c (shorten_branches): Free uid_shuid before
reallocating it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81807
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 13 May 2004 21:44:20 +0000 (21:44 +0000)]
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* bb-reoder.c (connect_traces): Free cold_traces at the end.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81806
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 13 May 2004 20:55:06 +0000 (20:55 +0000)]
* tree-ssa-forwprop.c (record_single_argument_cond_exprs): Accept
new parameters for the statement and variable worklist as well
as a bitmap of interesting SSA_NAMEs. Walk over the statement
worklist recording interesting variables in the variable worklist
and bitmap. Handle casts between integral and boolean types.
(substitute_single_use_vars): Accept new parameters for the statement
and variable worklist. When a substitution is made add a new
entry to the statement worklist. Handle casts between integral
and boolean types.
(tree_ssa_forward_propagate_single_use_vars): Rework to pass
worklists to children. Iterate until the statement worklist
is empty.
* gcc.dg/tree-ssa/
20040513-1.c: New test.
* gcc.dg/tree-ssa/
20040513-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81803
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 13 May 2004 19:06:56 +0000 (19:06 +0000)]
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* btest-gcc.sh: Remove g77.sum from TESTLOGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81799
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 13 May 2004 19:01:04 +0000 (19:01 +0000)]
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* archive.c (objc_read_class): Initialize class_name.
(objc_read_selector): Initialize selector_name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81798
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 13 May 2004 17:49:42 +0000 (17:49 +0000)]
2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15046
* crossconfig.m4: Add C99 math bits for linux crosses.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81797
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Thu, 13 May 2004 17:20:10 +0000 (17:20 +0000)]
* gcc.dg/tree-ssa/
20030808-1.c: Force enum size.
* gcc.dg/tree-ssa/
20030714-1.c: Ditto.
* gcc.dg/tree-ssa/
20030708-1.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81796
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 13 May 2004 16:29:39 +0000 (16:29 +0000)]
2004-05-13 Simon Marshall <simon.marshall@misys.com>
Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15090
* include/bits/locale_facets.h: Fix for -fno-for-scope.
* include/debug/safe_sequence.h: Same.
* include/debug/safe_iterator.tcc: Same.
* src/debug.cc: Same.
* src/locale.cc: Same.
* src/locale_init.cc: Same.
* src/localename.cc: Same.
* config/locale/gnu/ctype_members.cc: Same.
* config/locale/gnu/numeric_members.cc: Same.
* testsuite/testsuite_abi.cc: Same.
* testsuite/testsuite_hooks.cc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81795
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Thu, 13 May 2004 15:50:02 +0000 (15:50 +0000)]
2004-05-13 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/abi.html: Document effect of -fabi-version on value
of __GXX_ABI_VERSION, and that it's defined in c-cppbuiltin.c.
Fix markup.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81794
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 13 May 2004 15:28:07 +0000 (15:28 +0000)]
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-outof-ssa.c (rewrite_vars_out_of_ssa): Free map at
the end of the block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81793
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 13 May 2004 15:26:33 +0000 (15:26 +0000)]
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-into-ssa.c (def_blocks_free): XFREE bitmaps allocated
with BITMAP_XMALLOC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81791
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 13 May 2004 15:24:47 +0000 (15:24 +0000)]
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-ssa-alias.c (delete_alias_info): XFREE bitmaps allocated
with BITMAP_XMALLOC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81789
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 13 May 2004 15:21:53 +0000 (15:21 +0000)]
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-ssa-dom.c (tree_ssa_dominator_optimize):
Free nonzero_vars at the end of the function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81788
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 13 May 2004 15:20:24 +0000 (15:20 +0000)]
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* convert.c (convert_to_integer): Make a CONVERT_EXPR when there is a
need to generate code instead of a NOP_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81787
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 13 May 2004 15:14:07 +0000 (15:14 +0000)]
2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15074
* docs/html/faq/index.html: Update docs for libsupc++ usage.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81786
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 13 May 2004 14:54:24 +0000 (14:54 +0000)]
2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15412
* include/bits/stl_threads.h (_GLIBCXX_mutex): Move to namespace
__gnu_internal.
(_GLIBCXX_mutex_address): Same.
(_GLIBCXX_once): Same.
(_GLIBCXX_mutex_init): Same.
(_GLIBCXX_mutex_address_init): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81785
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Thu, 13 May 2004 14:38:53 +0000 (14:38 +0000)]
PR other/10819
* lib/gfortran.exp (gfortran_version): Do not match NL/CR
characters.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81784
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Thu, 13 May 2004 14:08:39 +0000 (14:08 +0000)]
* gcc.c (default_compilers): Fill out initializers for new Fortran
entries.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81782
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 13 May 2004 12:50:53 +0000 (12:50 +0000)]
2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/abi.html: New.
* docs/html/abi.txt: Remove.
* docs/html/documentation.html: Add link.
* testsuite/Makefile.am: Add files.
* testsuite/Makefile.in: Regenerated.
* testsuite/abi_check.cc: Move and modify code into...
* testsuite/testsuite_abi.cc: Add.
* testsuite/testsuite_abi.h: Add.
* docs/html/17_intro/TODO: Update.
* include/bits/stl_pair.h: Format.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81781
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 13 May 2004 12:30:21 +0000 (12:30 +0000)]
* gfortran.texi: Use @table @emph instead of @itemize @emph.
Remove "set DEVELOPMENT".
(Compiling GFORTRAN): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81780
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Thu, 13 May 2004 11:25:49 +0000 (11:25 +0000)]
* config/arm/arm.h (PCC_BITFIELD_TYPE_MATTERS): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81777
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Thu, 13 May 2004 11:16:27 +0000 (11:16 +0000)]
* config/arm/arm.c (arm_default_short_enums): New function.
(TARGET_DEFAULT_SHORT_ENUMS): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81776
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Thu, 13 May 2004 10:36:36 +0000 (10:36 +0000)]
2004-05-13 Tobias Schl��ter <tobi@gcc.gnu.org>
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81774
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 13 May 2004 10:30:28 +0000 (10:30 +0000)]
* update_web_docs: Also remove old .gz files from subdirectories
on the 15th of the month.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81773
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 13 May 2004 10:14:00 +0000 (10:14 +0000)]
* update_web_docs (MANUALS): Add gfortran.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81772
138bc75d-0d04-0410-961f-
82ee72b054a4
bdavis [Thu, 13 May 2004 10:11:02 +0000 (10:11 +0000)]
PR fortran/15294
* gfortran.fortran-torture/execute/adjustr.f90: New file.
* io/intrinsic/string_intrinsics.c(adjustr): rework logic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81771
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 13 May 2004 10:09:25 +0000 (10:09 +0000)]
2004-05-13 Arnaud Charlet <charlet@act-europe.fr>
* update_web_docs: Fix generation of Ada docs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81770
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 13 May 2004 08:59:23 +0000 (08:59 +0000)]
* update_version (ADD_BRANCHES): Remove tree-ssa-
20020619-branch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81768
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 13 May 2004 08:54:30 +0000 (08:54 +0000)]
* gcc_release (DIFF): Remove -3 option.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81767
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Thu, 13 May 2004 06:41:07 +0000 (06:41 +0000)]
Merge tree-ssa-
20020619-branch into mainline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81764
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 13 May 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81758
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Wed, 12 May 2004 08:32:00 +0000 (08:32 +0000)]
2004-05-12 Paolo Bonzini <bonzini@gnu.org>
Replace several arrays with a struct of arrays.
* combine.c (struct reg_stat): New.
(init_reg_last_arrays): Renamed to...
(init_reg_last): ...this. Callers adjusted.
(reg_stat): New.
(combine_instructions): Allocate it and use it.
(reg_last_death, reg_last_set, reg_last_set_value,
reg_last_set_label, reg_last_set_table_tick,
reg_last_set_invalid, reg_nonzero_bits, reg_sign_bit_copies,
reg_last_set_mode, reg_last_set_nonzero_bits,
reg_last_set_sign_bit_copies): Replace throughout
with items of reg_stat.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81740
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 12 May 2004 07:25:52 +0000 (07:25 +0000)]
PR target/15331
* 5gmastop.adb (Roff): Choose between '4' and '0', not '4' and ' '.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81737
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Wed, 12 May 2004 04:32:01 +0000 (04:32 +0000)]
PR optimization/15100
* combine.c (distribute_notes): Don't create a dangling
REG_LIBCALL/REG_RETVAL note.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81736
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 12 May 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81729
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Tue, 11 May 2004 23:41:08 +0000 (23:41 +0000)]
* config/rs6000/spe.md (spe_evneg): Rename to negv2si2.
* config/rs6000/rs6000.c (bdesc_1arg): Change spe_evneg to
negv2si2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81724
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Tue, 11 May 2004 23:35:57 +0000 (23:35 +0000)]
* doc/md.texi (Standard Names): Fix typo in vec_init description.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81723
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Tue, 11 May 2004 22:54:55 +0000 (22:54 +0000)]
* utils.c (max_size): Use MIN_EXPR to find the minimum value of a
COND_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81721
138bc75d-0d04-0410-961f-
82ee72b054a4
zlaski [Tue, 11 May 2004 21:47:35 +0000 (21:47 +0000)]
2004-05-11 Ziemowit Laski <zlaski@apple.com>
* g++.dg/ext/altivec-8.C: Use '-maltivec' instead of '-faltivec';
include <altivec.h> explicitly.
* gcc.dg/altivec-13.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81719
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 11 May 2004 21:35:57 +0000 (21:35 +0000)]
* doc/gty.texi (GTY Options): Clarify example.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81718
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Tue, 11 May 2004 20:59:12 +0000 (20:59 +0000)]
Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81717
138bc75d-0d04-0410-961f-
82ee72b054a4
fjahanian [Tue, 11 May 2004 20:29:48 +0000 (20:29 +0000)]
Test for AltiVec function vec_ld, passing a pointer to const vector.
Approved by Aldy Hernandez.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81716
138bc75d-0d04-0410-961f-
82ee72b054a4
fjahanian [Tue, 11 May 2004 20:28:12 +0000 (20:28 +0000)]
Fixed problem related to vec_ld in c++ mode.
Approved by Aldy Hernandez.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81715
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 11 May 2004 19:48:45 +0000 (19:48 +0000)]
2004-05-11 Michael Koch <konqueror@gmx.de>
* gnu/java/net/natPlainSocketImplPosix.cc
(read): Fixed typo in expression.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81714
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Tue, 11 May 2004 18:00:43 +0000 (18:00 +0000)]
* gcc.c-torture/compile/
20010518-1.c: Force enum size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81707
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Tue, 11 May 2004 16:23:44 +0000 (16:23 +0000)]
* flags.h (flag_short_enums): Update comment.
* opts.c (decode_options): Set flag_short_enums to 2.
* toplev.c (flag_short_enums): Update comment.
(process_options): Call default_short_enums target hook.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81704
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Tue, 11 May 2004 15:40:08 +0000 (15:40 +0000)]
Fix entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81697
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Tue, 11 May 2004 07:37:16 +0000 (07:37 +0000)]
2004-05-10 Eric Christopher <echristo@redhat.com>
* gcc.dg/sibcall-3.c: Remove xfail for mips*-*-elf.
* gcc.dg/sibcall-4.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81695
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Tue, 11 May 2004 04:22:05 +0000 (04:22 +0000)]
2004-05-11 Andrew Pinski <pinskia@gcc.gnu.org>
PR target/14063
* config/rs6000/altivec.md (altivec_dssall):
Change to unspec_volatile.
(altivec_dss): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81694
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Tue, 11 May 2004 03:29:57 +0000 (03:29 +0000)]
* config/rs6000/altivec.md ("one_cmplv16qi2"): Change vnot to
vnor.
("one_cmplv8hi2"): Same.
("one_cmplv4si2"): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81693
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 11 May 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81689
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Mon, 10 May 2004 23:25:13 +0000 (23:25 +0000)]
PR target/15130
* config/sh/sh-protos.h (sh_expand_epilogue): Change prototype.
* config/sh/sh.c (output_stack_adjust): Take the sibcall epilogue
into account. Compute the correct number of general registers
for the return value. Generate a special push/pop sequence when
failing to get a temporary register for non SHmedia epilogue.
(sh_expand_epilogue): Add an argument to show whether it's for
sibcall or not. Set the 3rd argument of output_stack_adjust to
-1 if needed.
(sh_need_epilogue): Call sh_expand_epilogue with 0.
* config/sh/sh.md (sibcall_epilogue): Call sh_expand_epilogue
with 1.
(epilogue): Call sh_expand_epilogue with 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81683
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 10 May 2004 22:28:50 +0000 (22:28 +0000)]
2004-05-10 Andrew Pinski <pinskia@physics.uc.edu>
* gcse.c (eliminate_partially_redundant_loads): Instead of returning early,
goto a cleanup label. After the cleanup, free the allocated memory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81682
138bc75d-0d04-0410-961f-
82ee72b054a4
zlaski [Mon, 10 May 2004 22:21:44 +0000 (22:21 +0000)]
[gcc/ChangeLog]
2004-05-10 Ziemowit Laski <zlaski@apple.com>
* config/rs6000/altivec.h (vec_sld): Add overloads for
argument/return types of 'vector bool int', 'vector bool short'
and 'vector bool char'.
[gcc/testsuite/ChangeLog]
2004-05-10 Ziemowit Laski <zlaski@apple.com>
* g++.dg/ext/altivec-8.C: New test case.
* gcc.dg/altivec-13.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81681
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Mon, 10 May 2004 20:44:13 +0000 (20:44 +0000)]
2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/lib/libjava.exp (libjava_invoke): Add new argument
ld_library_additions. Adjust all calls to libjava_invoke to match
the new argument.
* testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
path to cxxflagslist.
Pass path of libstdc++ to libjava_invoke.
* testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
libjava_invoke arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81679
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 10 May 2004 19:18:44 +0000 (19:18 +0000)]
* c-decl.c (store_parm_decls_newstyle): Correct test for a
nested function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81677
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 10 May 2004 18:35:43 +0000 (18:35 +0000)]
* read-rtl.c (read_rtx): Allow 's' and 'T' strings to be omitted,
treating missing ones as "".
* config/mips/mips.md: Remove constraints from match_operands and
match_scratches if they appear in define_expands (except reload*),
define_peephole2s, define_splits or attribute specifications.
* config/mips/7000.md, config/mips/sb1.md: Remove match_operand
constraint strings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81676
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Mon, 10 May 2004 16:21:08 +0000 (16:21 +0000)]
2004-05-10 Andrew Haley <aph@redhat.com>
* parse.y (create_class): Set TYPE_VFIELD.
* decl.c (java_init_decl_processing): Likewise.
* expr.c (build_invokevirtual): Remove DECL_VINDEX offset adjustment.
* class.c (make_method_value): Replace DECL_VINDEX with call to
get_method_index().
(get_dispatch_vector): Likewise.
(layout_class_method): Likewise.
Replace set of DECL_VINDEX with call to set_method_index().
(set_method_index): New function.
(get_method_index): New function.
* java-tree.h (set_method_index): New function decl.
(get_method_index): New function decl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81672
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 10 May 2004 16:18:54 +0000 (16:18 +0000)]
2004-05-10 Doug Rupp <rupp@gnat.com>
* 5qsystem.ads: Remove Short_Address subtype declaration. Moved to
system.aux_dec.
* s-auxdec.ads: Add Short_Address subtype (moved here from System).
* Makefile.in: [VMS]: Add translation for 5qauxdec.ads.
* init.c: [VMS] Macroize LIB$ calls for IA64 and Alpha.
Fixes undefined symbols in IA64 gnatlib.
* 5vinmaop.adb: Reference s-auxdec for Short_Address.
* 5xsystem.ads, 5vsystem.ads: Back out last change (addition of subtype
Short_Address). This will be moved to system.auxdec.
2004-05-10 Thomas Quinot <quinot@act-europe.fr>
* sem_util.adb: Replace test for presence of a node that is always
present with a call to Discard_Node.
* sem_ch10.adb (Analyze_Compilation_Unit): Remove superfluous call to
Analyze on the library unit node after generation of distribution stub
constructs. The call was a no-op because Unit_Node has already been
Analyzed, and the tree fragments for the distribution stubs are
analyzed as they are inserted in Exp_Dist.
Update comment regarding to distribution stubs to reflect that we
do not generate stub in separate files anymore.
* einfo.ads: Clarify the fact that a tagged private type has the
E_Record_Type_With_Private Ekind.
* erroutc.adb: Minor reformatting
* erroutc.ads (Max_Msg_Length): Increase to cover possible larger
values if line length is increased using -gnatyM (noticed during code
reading).
* eval_fat.adb: Minor reformatting
Put spaces around exponentiation operator
2004-05-10 Ed Schonberg <schonberg@gnat.com>
PR ada/15005
* sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): If prefix
has been rewritten as an explicit dereference, retrieve type of
original node to check for possibly unconstrained record type.
2004-05-10 Ed Schonberg <schonberg@gnat.com>
* exp_ch7.adb (Check_Visibly_Controlled): If given operation is not
overriding, use the operation of the parent unconditionally.
* sem_ch4.adb (Remove_Address_Interpretations): Remove address
operation when either operand is a literal, to avoid further
ambiguities.
* sem_ch6.adb (New_Overloaded_Entity): If new entity is inherited and
overridden by a previous explicit declaration, mark the previous entity
as overriding.
* sem_disp.adb (Check_Dispatching_Operation): New predicate
Is_Visibly_Controlled, to determine whether a declaration of a
primitive control operation for a derived type overrides an inherited
one. Add warning if the explicit declaration does not override.
2004-05-10 Vincent Celier <celier@gnat.com>
* gnatls.adb (Gnatls): Initialize Snames, to avoid assertion error in
some cases when the sources are no longer present.
* make.adb (Collect_Arguments): Fail if an external source, not part
of any project need to be compiled, when switch -x has not been
specified.
* makeusg.adb: Document new switch -x
* opt.ads (External_Unit_Compilation_Allowed): New Boolean flag,
defaulted to False.
* switch-m.adb (Scan_Make_Switches): New switch -x
* vms_data.ads: Add VMS qualifier /NON_PROJECT_UNIT_COMPILATION for
gnatmake switch -x.
* gnat_ugn.texi: Document new gnatmake switch -x
2004-05-10 Eric Botcazou <ebotcazou@act-europe.fr>
* misc.c (gnat_init_options): Set flag_zero_initialized_in_bss to 0.
* utils.c (create_var_decl): Do not modify the DECL_COMMON flag.
(process_attributes): Likewise.
2004-05-10 Joel Brobecker <brobecker@gnat.com>
* s-inmaop.ads: Fix spelling mistake in one of the comments.
2004-05-10 Robert Dewar <dewar@gnat.com>
* gnat_ugn.texi: Document that for config pragma files, the maximum
line length is always 32767.
* gnat_rm.texi: For pragma Eliminate, note that concatenation of string
literals is now allowed.
* gnat-style.texi: Remove statement about splitting long lines before
an operator rather than after, since we do not follow this rule at all.
Clarify rule (really lack of rule) for spaces around exponentiation
* sem_elim.adb: Allow concatenation of string literals as well as a
single string literal for pragma arguments.
* sem_prag.ads, sem_prag.adb: (Is_Config_Static_String): New function
* a-textio.adb (Terminate_Line): Do not add line feed if nothing
written for append case.
* frontend.adb: Changes to avoid checking max line length in config
pragma files.
* g-os_lib.ads: Minor reformatting
* mlib-utl.adb: Do not define Max_Line_Length locally (definition was
wrong in any case. Instead use standard value. Noticed during code
reading.
* opt.ads (Max_Line_Length): New field, used to implement removal of
limitation on length of lines when scanning config pragma files.
* osint.ads, prj-dect.adb, prj-strt.adb, prj-tree.adb,
makeutl.ads, makeutl.adb: Minor reformatting
* scn.adb: Do not check line length while scanning config pragma files
Do not check line length while scanning out license information
* scng.adb: Changes to avoid line length checks while parsing config
pragma files.
2004-05-10 GNAT Script <nobody@gnat.com>
* Make-lang.in: Makefile automatically updated
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81671
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 10 May 2004 15:08:07 +0000 (15:08 +0000)]
2004-05-10 Andrew Pinski <pinskia@physics.uc.edu>
* parse.y (check_pkg_class_access): Add new argument
and use it when cl is NULL to call lookup_cl on it.
(parser_check_super_interface): Do not call lookup_cl.
Pass this_decl to check_pkg_class_access and NULL
instead of lookup_cl.
(parser_check_super): Update for change in
check_pkg_class_access.
(do_resolve_class): Likewise.
(process_imports): Likewise.
(find_in_imports_on_demand): Likewise.
(resolve_qualified_expression_name): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81668
138bc75d-0d04-0410-961f-
82ee72b054a4
rmathew [Mon, 10 May 2004 14:50:56 +0000 (14:50 +0000)]
* testsuite/libjava.jacks/jacks.xfail: Update to reflect current
reality.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81667
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Mon, 10 May 2004 14:26:50 +0000 (14:26 +0000)]
* config/rs6000/rs6000.c (function_arg_boundary): Always align
AltiVec vectors.
(function_arg_advance): Pass TARGET_32BIT -mabi=no-altivec AltiVec
vectors by refererence. Align the same for TARGET_64BIT to a 16
byte boundary. Remove useless code. Add function comment.
(function_arg): Similarly. Move gpr rs6000_mixed_function_arg
call to where it belongs.
(function_arg_partial_nregs): Return true for all TARGET_32BIT
-mabi=no-altivec AltiVec vectors. Fix debug output.
(rs6000_va_arg): Adjust for AltiVec change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81666
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Mon, 10 May 2004 13:39:20 +0000 (13:39 +0000)]
* config/arm/arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED.
* config/arm/arm.h (TARGET_AAPCS_BASED): Define.
(TARGET_DOUBLEWORD_ALIGN): Use it.
(WCHAR_TYPE): Define.
(WCHAR_SIZE_TYPE): Define.
(SIZE_TYPE): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81665
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 10 May 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81662
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Sun, 9 May 2004 23:48:37 +0000 (23:48 +0000)]
* config/rs6000/rs6000.c (function_arg_boundary): Align for ABI_V4
when size is 8 bytes.
(function_arg_advance): Account for stack space used by AltiVec
args when -mabi=altivec. Simplify alignment calculations. For
ABI_V4, pass AltiVec vectors by reference when -mabi=no-altivec.
(function_arg): Similarly.
(function_arg_pass_by_reference): True for ABI_V4 AltiVec when
not AltiVec ABI.
(rs6000_va_arg): Correct fp arg test. Adjust for AltiVec change.
Correct alignment, and align before testing reg count. Remove
TREE_THIS_VOLATILE from reg. Don't emit unused labels.
(rs6000_complex_function_value): Check TARGET_HARD_FLOAT and
TARGET_FPRS here..
(rs6000_function_value): .. not here before call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81659
138bc75d-0d04-0410-961f-
82ee72b054a4