OSDN Git Service

pf3gnuchains/gcc-fork.git
16 years ago2004-08-14 Kelley Cook <kcook@gcc.gnu.org>
kcook [Sat, 14 Aug 2004 16:47:52 +0000 (16:47 +0000)]
2004-08-14  Kelley Cook  <kcook@gcc.gnu.org>

* gcc_release (build_sources): Add comment header to generated
MD5SUMS.

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

16 years ago * trans-decl.c (gfc_build_function_decl): Remove dead code.
pbrook [Sat, 14 Aug 2004 15:35:51 +0000 (15:35 +0000)]
* trans-decl.c (gfc_build_function_decl): Remove dead code.

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

16 years ago * doc/install.texi (Building): Avoid duplicate reference to GNU
gerald [Sat, 14 Aug 2004 15:20:47 +0000 (15:20 +0000)]
* doc/install.texi (Building): Avoid duplicate reference to GNU
make requirement.
(*-*-solaris2*): Do not recommend GNU make any longer.  Simplify.

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

16 years ago * trans-arry.c (gfc_trans_auto_array_allocation): Remove unused var.
pbrook [Sat, 14 Aug 2004 13:10:02 +0000 (13:10 +0000)]
* trans-arry.c (gfc_trans_auto_array_allocation): Remove unused var.

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

16 years ago2004-08-14 Bud Davis <bdavis9659@comcast.net>
bdavis [Sat, 14 Aug 2004 09:27:47 +0000 (09:27 +0000)]
2004-08-14  Bud Davis  <bdavis9659@comcast.net>

* ChangeLog: Fix wrong path.

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

16 years ago2004-08-14 Bud Davis <bdavis9659@comcast.net>
bdavis [Sat, 14 Aug 2004 09:25:05 +0000 (09:25 +0000)]
2004-08-14  Bud Davis  <bdavis9659@comcast.net>

* ChangeLog: Fix wrong file name.

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

16 years ago * gcc.dg/980217-1.c: Add prototype for printf.
rth [Sat, 14 Aug 2004 07:57:37 +0000 (07:57 +0000)]
    * gcc.dg/980217-1.c: Add prototype for printf.

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

16 years ago * config/alpha/alpha.h (PROMOTE_MODE): Don't promote vector types.
rth [Sat, 14 Aug 2004 07:41:21 +0000 (07:41 +0000)]
    * config/alpha/alpha.h (PROMOTE_MODE): Don't promote vector types.
        * config/alpha/alpha.c (function_value): Use PROMOTE_MODE.

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

16 years ago2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Sat, 14 Aug 2004 05:04:52 +0000 (05:04 +0000)]
2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>

        * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
        localhostAddress to loopbackAddress.
        * java/net/natInetAddressWin32.cc (lookup): Likewise.

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

16 years ago * config/i386/i386.md (call_1, sibcall_1, call_1_rex64): Use Pmode
rth [Sat, 14 Aug 2004 02:59:18 +0000 (02:59 +0000)]
    * config/i386/i386.md (call_1, sibcall_1, call_1_rex64): Use Pmode
        for constant_call_address_operand.
        (call_value_pop_1, call_value_1): Likewise.
        (sibcall_value_1, call_value_1_rex64): Likewise.

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

16 years agoDaily bump.
gccadmin [Sat, 14 Aug 2004 00:16:16 +0000 (00:16 +0000)]
Daily bump.

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

16 years agoFix typo in DFmode divide scheduler patterns.
wilson [Fri, 13 Aug 2004 23:57:02 +0000 (23:57 +0000)]
Fix typo in DFmode divide scheduler patterns.
* config/mips/sb1.md (ir_sb1_divdf_2pipes, ir_sb1_divdf_1pipe):
Correct mode from SFmode to DFmode.

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

16 years agolibjava:
bryce [Fri, 13 Aug 2004 23:05:36 +0000 (23:05 +0000)]
libjava:
2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>

* configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
boehm-gc's include dirs.
* configure: Rebuilt.
* include/boehm-gc.h: Include gc_config.h.

boehm-gc:
2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>

* configure.ac (gc_cflags): Add -Iinclude.
(AC_CONFIG_HEADERS): New. Configure gc_config.h header.
Don't write DEFS to boehm-cflags file.
* configure: Rebuilt.
* gcj_mlc.c: Check #ifdef GC_GCJ_SUPPORT after including headers.
* specific.c: Check #ifdef GC_LINUX_THREADS after including headers.
* include/gc_config_macros.h: Remove backward-compatibility
redefinitions of GC_ names.
* include/gc.h: Include <gc_config.h>.

2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>

Import Boehm GC version 6.3.

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

16 years ago[libobjc/ChangeLog]
zlaski [Fri, 13 Aug 2004 22:50:09 +0000 (22:50 +0000)]
[libobjc/ChangeLog]
2004-08-13  Ziemowit Laski  <zlaski@apple.com>

        * objc/sarray.h: Hoist include of assert.h near the top of file,
        and mark the remainder of the file 'extern "C"'.

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

16 years ago2004-08-13 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Fri, 13 Aug 2004 22:31:45 +0000 (22:31 +0000)]
2004-08-13  Nathanael Nerode  <neroden@gcc.gnu.org>

* Add ACX_{TARGET,HOST,BUILD}_NONCANONICAL,
which do an automatic AC_SUBST on _GCC_TOPLEV_*_NONCANONICAL.
The intention is that we will migrate to these bit by bit.

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

16 years agoCorrected typo in PR number, previous commit
bdavis [Fri, 13 Aug 2004 22:25:06 +0000 (22:25 +0000)]
Corrected typo in PR number, previous commit

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

16 years ago2004-08-13 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 13 Aug 2004 22:23:58 +0000 (22:23 +0000)]
2004-08-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * objc/Object.h: Move includes out of extern "C" blocks.
        * objc/encoding.h: Likewise.
        * objc/hash.h: Likewise.
        * objc/objc-api.h: Likewise.
        * objc/runtime.h: Likewise.
        * objc/sarray.h: Likewise.
        * objc/typedstream.h: Likewise.

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

16 years ago2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
bryce [Fri, 13 Aug 2004 22:17:34 +0000 (22:17 +0000)]
2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>

* java/net/InetAddress.java (loopbackAddress): Renamed from
localhostAddress.
(getByName): Return loopback address for null hostname, without
security check. Use lookup(), not getAllByName.
(getAllByName): Return loopback address for null hostname, without
security check.
* java/net/natInetAddressPosix.cc (lookup): Don't perform security
check here.

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

16 years ago2004-08-13 Bud Davis <bdavis9659@comcast.net>
bdavis [Fri, 13 Aug 2004 22:01:02 +0000 (22:01 +0000)]
2004-08-13  Bud Davis  <bdavis9659@comcast.net>

        PR gfortran/13965
        * gfortran.fortran-torture/execute/open_rewind.f90: New test.
        * io/open.c (st_open): use flags instead of the unit structure.

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

16 years ago[gcc/ChangeLog]
zlaski [Fri, 13 Aug 2004 21:46:49 +0000 (21:46 +0000)]
[gcc/ChangeLog]
2004-08-13  Ziemowit Laski  <zlaski@apple.com>

        * config/darwin.h (EXTRA_SECTION_FUNCTIONS): Mark the __sel_fixup,
        __cstring_object and __image_info sections with the no_dead_strip
        attribute.

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

16 years ago PR libgfortran/15930
sayle [Fri, 13 Aug 2004 21:13:56 +0000 (21:13 +0000)]
PR libgfortran/15930
* fixinc/inclhack.def (irix___generic1, irix___generic2): New.
* fixinc/fixincl.x: Regenerate.
* fixinc/tests/base/internal/math_core.h: New file.

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

16 years ago2004-08-13 Janis Johnson <janis187@us.ibm.com>
janis [Fri, 13 Aug 2004 21:11:24 +0000 (21:11 +0000)]
2004-08-13  Janis Johnson  <janis187@us.ibm.com>

* g++.dg/ext/altivec-2.C: Revert previous changes and don't execute.

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

16 years ago * dbxout.c (NO_DBX_FUNCTION_END): Default to zero.
rth [Fri, 13 Aug 2004 20:15:33 +0000 (20:15 +0000)]
    * dbxout.c (NO_DBX_FUNCTION_END): Default to zero.
        (dbxout_function_end): Remove ifdefs for it.
        (dbxout_begin_prologue): Protect N_BNSYM with it, and gdb extensions.

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

16 years ago * Makefile.in (insn-preds.o): Depend on TREE_H.
rth [Fri, 13 Aug 2004 19:11:35 +0000 (19:11 +0000)]
    * Makefile.in (insn-preds.o): Depend on TREE_H.
        * genpreds.c (write_insn_preds_c): Include tree.h.
        * config/alpha/alpha.c (reg_or_0_operand, reg_or_6bit_operand,
        reg_or_8bit_operand, cint8_operand, add_operand, sext_add_operand,
        const48_operand, and_operand, or_operand, mode_width_operand,
        mode_mask_operand, mul8_operand, const0_operand,
        hard_fp_register_operand, hard_int_register_operand,
        reg_or_cint_operand, some_operand, some_ni_operand, input_operand,
        samegp_function_operand, direct_call_operand, small_symbolic_operand,
        global_symbolic_operand, call_operand, symbolic_operand,
        dtp16_symbolic_operand, dtp32_symbolic_operand,
        gotdtp_symbolic_operand, tp16_symbolic_operand, tp32_symbolic_operand,
        gottp_symbolic_operand, alpha_comparison_operator,
        alpha_zero_comparison_operator, alpha_swapped_comparison_operator,
        signed_comparison_operator, alpha_fp_comparison_operator,
        divmod_operator, fix_operator, aligned_memory_operand,
        unaligned_memory_operand, reg_or_unaligned_mem_operand,
        any_memory_operand, reg_not_elim_operand, normal_memory_operand,
        reg_no_subreg_operand, addition_operation): Move to predicates.md.
        (reg_or_const_int_operand): Remove.  Replace all users with
        reg_or_cint_operand.
        (tls_symbolic_operand_1): Export.  Don't check mode or for CONST.
        (resolve_reload_operand): Split out of aligned_memory_operand.
        * config/alpha/alpha-protos.h: Update for exports.
        * config/alpha/alpha.h (PREDICATE_CODES): Remove.
        * config/alpha/alpha.md: Include predicates.md.
        * config/alpha/predicates.md: New file.

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

16 years ago PR libgcj/17020
bryce [Fri, 13 Aug 2004 18:26:00 +0000 (18:26 +0000)]
PR libgcj/17020
Reported by Robin Green.
* defineclass.cc (handleField): Don't throw exception on
unrecognised modifier. Add FIXME comments for spec compliance.
(handleMethod): Likewise.

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

16 years ago * gfortran.dg/der_io_1.f90: Remove stray comma.
pbrook [Fri, 13 Aug 2004 17:30:20 +0000 (17:30 +0000)]
* gfortran.dg/der_io_1.f90: Remove stray comma.

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

16 years ago2004-08-13 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
pbrook [Fri, 13 Aug 2004 17:24:09 +0000 (17:24 +0000)]
2004-08-13  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>

* gfortran.h: Add comments.
* parse.c (parse_contained): Fix comment typo.
* resolve.c (was_declared): Ditto.
* symbol.c: Ditto.

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

16 years ago2004-08-13 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 13 Aug 2004 16:53:12 +0000 (16:53 +0000)]
2004-08-13  Paolo Carlini  <pcarlini@suse.de>

* src/debug.cc (_Error_formatter::_M_print_string): Fix thinko,
memmove is not needed, memcpy suffices.

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

16 years ago2004-08-13 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 13 Aug 2004 16:47:43 +0000 (16:47 +0000)]
2004-08-13  Paolo Carlini  <pcarlini@suse.de>

* include/std/std_fstream.h (class basic_ifstream,
class basic_ofstream, class basic_fstream): Add const overloads
of is_open, as per DR 365 [WP].
* docs/html/ext/howto.html: Add an entry for DR 365.

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

16 years ago * genattrtab.c (insn_ent): Replace insn_code, insn_index and lineno
rsandifo [Fri, 13 Aug 2004 16:43:04 +0000 (16:43 +0000)]
* genattrtab.c (insn_ent): Replace insn_code, insn_index and lineno
fields with a pointer to the instruction definition.
(get_attr_value, fill_attr, make_length_attrs, remove_insn_ent)
(insert_insn_ent, simplify_test_exp, optimize_attrs, write_attr_get)
(write_attr_case, write_const_num_delay_slots): Update accordingly.
(write_attr_case, write_const_num_delay_slots): Write the name of
an insn next to its case statement.
* genoutput.c (data): Add a filename field.
(gen_insn, gen_peephole, gen_expand, gen_split): Set it.
(output_insn_data): Print the location of each insn definition.
* genrecog.c (write_action): Print the name of an insn above
the statement that returns its code.

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

16 years ago2004-08-12 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 13 Aug 2004 15:34:00 +0000 (15:34 +0000)]
2004-08-12  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/darwin-c.c (find_subframework_file): Fix spelling of cannot.
        * config/libgloss.h: Likewise.
        * config/arm/arm.c (arm_gen_load_multiple): Likewise.
        * c4x/c4x-modes.def: Likewise.
        * config/c4x/c4x.c (c4x_hard_regno_rename_ok): Likewise.
        (c4x_rptb_nop_p): Likewise.
        (c4x_rptb_valid_p): Likewise.
        (c4x_rptb_insert): Likewise.
        (c4x_address_conflict): Likewise.
        * config/c4x/c4x.md: Likewise.
        * config/frv/frv.md: Likewise.
        * config/i386/athlon.md: Likewise.
        * config/i386/i386.md: Likewise.
        * config/i386/predicates.md: Likewise.
        * config/ia64/ia64.c: Likewise.
        * config/ia64/itanium1.md: Likewise.
        * config/ia64/itanium2.md: Likewise.
        * config/iq2000/iq2000.md: Likewise.
        * config/mcore/mcore.c: Likewise.
        * config/mips/mips.c: Likewise.
        * config/mips/r3900.h: Likewise.
        * config/mips/sb1.md: Likewise.
        * config/pa/milli64.S: Likewise.
        * config/pa/pa.c: Likewise.
        * config/pa/pa.h: Likewise.
        * config/rs6000/8540.md: Likewise.

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

16 years ago2004-08-13 Daniel Berlin <dberlin@dberlin.org>
dberlin [Fri, 13 Aug 2004 15:29:58 +0000 (15:29 +0000)]
2004-08-13  Daniel Berlin  <dberlin@dberlin.org>

* Makefile.in (BOOT_CFLAGS): Remove accidental addition of -dU.

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

16 years ago * sh.md (cbranch define_delay) Use cond_delay_slot for
amylaar [Fri, 13 Aug 2004 15:24:30 +0000 (15:24 +0000)]
* sh.md (cbranch define_delay) Use cond_delay_slot for
non-anulled condition too.

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

16 years ago- correct ChangeLog
dje [Fri, 13 Aug 2004 14:41:51 +0000 (14:41 +0000)]
- correct ChangeLog

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

16 years ago * config/rs6000/rs6000.h (PREDICATE_CODES): Remove PARALLEL from
dje [Fri, 13 Aug 2004 14:41:10 +0000 (14:41 +0000)]
* config/rs6000/rs6000.h (PREDICATE_CODES): Remove PARALLEL from
any_operand.

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

16 years ago * config/rs6000/rs6000.c (any_parallel_operand): New predicate.
dje [Fri, 13 Aug 2004 14:38:47 +0000 (14:38 +0000)]
* config/rs6000/rs6000.c (any_parallel_operand): New predicate.
* config/rs6000/rs6000.h (PREDICATE_CODES): Add
any_parallel_operand, lmw_operation, stmw_operation,
mfcr_operation, mtcrf_operation.
* config/rs6000/rs6000.md (save_fpregs_{si,di}): Use
any_parallel_operand.
(return_and_restore_fpregs_{si,di}): Same.

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

16 years ago * MAINTAINERS: Remove myself from write-after-approval.
bbooth [Fri, 13 Aug 2004 14:29:31 +0000 (14:29 +0000)]
    * MAINTAINERS: Remove myself from write-after-approval.

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

16 years ago2004-08-13 Olivier Hainque <hainque@act-europe.fr>
charlet [Fri, 13 Aug 2004 10:24:46 +0000 (10:24 +0000)]
2004-08-13  Olivier Hainque  <hainque@act-europe.fr>

* decl.c (gnat_to_gnu_entity) <E_Variable>: When building an allocator
for a global aliased object with a variable size and an unconstrained
nominal subtype, pretend there is no initializer if the one we have is
incomplete, and avoid referencing an inexistant component in there. The
part we have will be rebuilt anyway and the reference may confuse
further operations.

2004-08-13  Thomas Quinot  <quinot@act-europe.fr>

* einfo.ads: Minor reformatting

* lib-writ.adb (Output_Main_Program_Line): Do not set parameter
restrictions in the ALI if we only want to warn about violations.

2004-08-13  Vincent Celier  <celier@gnat.com>

* ali.adb (Scan_ALI): Initialize component Body_Needed_For_SAL to False
when creating a new Unit_Record in table Units.

* gnatls.adb (Output_Unit): In verbose mode, output the restrictions
that are violated, if any.

* prj-nmsc.adb (Ada_Check.Get_Path_Names_And_Record_Sources): Do not
add directory separator if path already ends with a directory separator.

2004-08-13  Ed Schonberg  <schonberg@gnat.com>

* rtsfind.adb (Entity_Not_Defined): If the error ocurrs in a predefined
unit, this is an attempt to inline a construct that is not available in
the current restricted mode, so abort rather than trying to continue.

* sem_ch3.adb (Build_Underlying_Full_View): If the new type has
discriminants that rename those of the parent, recover names of
original discriminants for the constraint on the full view of the
parent.
(Complete_Private_Subtype): Do not create a subtype declaration if the
subtype is an itype.

* gnat_rm.texi: Added section on implementation of discriminated
records with default values for discriminants.

2004-08-13  Ed Schonberg  <schonberg@gnat.com>

PR ada/15601
* sem_res.adb (Make_Call_Into_Operator): Handle properly the case where
the second operand is overloaded.

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

16 years ago * genrecog.c (add_to_sequence): When processing a MATCH_PARALLEL,
zack [Fri, 13 Aug 2004 06:36:21 +0000 (06:36 +0000)]
* genrecog.c (add_to_sequence): When processing a MATCH_PARALLEL,
if pred->singleton != PARALLEL, issue a warning and pretend it was.
Also issue a warning for any predicate we don't know about.

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

16 years ago * config/i386/i386.c (internal_label_prefix): Export.
rth [Fri, 13 Aug 2004 04:29:06 +0000 (04:29 +0000)]
* config/i386/i386.c (internal_label_prefix): Export.
(internal_label_prefix_len, struct ix86_address,
ix86_decompose_address, maybe_get_pool_constant,
ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes,
memory_address_length): Export.
(any_fp_register_operand, fp_register_operand,
register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand,
x86_64_general_operand, x86_64_szext_general_operand,
x86_64_nonmemory_operand, x86_64_movabs_operand,
x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
x86_64_zext_immediate_operand, const_int_1_31_operand,
symbolic_operand, pic_symbolic_operand, local_symbolic_operand,
tls_symbolic_operand, global_dynamic_symbolic_operand,
local_dynamic_symbolic_operand, initial_exec_symbolic_operand,
local_exec_symbolic_operand, call_insn_operand, sibcall_insn_operand,
constant_call_address_operand, const0_operand, const1_operand,
const248_operand, const_0_to_3_operand, const_0_to_7_operand,
const_0_to_15_operand, const_0_to_255_operand, incdec_operand,
shiftdi_operand, reg_no_sp_operand, mmx_reg_operand,
general_no_elim_operand, nonmemory_no_elim_operand,
index_register_operand, q_regs_operand, flags_reg_operand,
non_q_regs_operand, zero_extended_scalar_load_operand,
vector_move_operand, no_seg_address_operand, sse_comparison_operator,
ix86_comparison_operator, ix86_carry_flag_operator,
fcmov_comparison_operator, promotable_binary_operator,
cmp_fp_expander_operand, ext_register_operand, binary_fp_operator,
mult_operator, div_operator, arith_or_logical_operator,
memory_displacement_operand, cmpsi_operand, long_memory_operand,
aligned_operand): Move to predicates.md as define_predicates.
(tls_symbolic_operand_1): Remove.
(x86_64_sign_extended_value): Merge into x86_64_immediate_operand.
(x86_64_zero_extended_value): Merge into x86_64_zext_immediate_operand.
(legitimize_address): Merge tls_symbolic_operand contents.
(ix86_expand_move): Likewise.
* config/i386/i386-protos.h: Update for exports.
* config/i386/i386.h (EXTRA_CONSTRAINT): Update for renames.
(PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Remove.
* config/i386/i386.md: Include predicates.md.
* config/i386/predicates.md: New file.

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

16 years ago2004-08-12 Ziemowit Laski <zlaski@apple.com>
zlaski [Fri, 13 Aug 2004 02:06:37 +0000 (02:06 +0000)]
2004-08-12  Ziemowit Laski  <zlaski@apple.com>

        * objc/NXConstStr.h: Update copyright date; bracket with
        'extern "C"' for C++ use; make include syntax consistent
        by using <...> instead of "..."; hoist <objc/...> includes
        above the 'extern "C"' block.
        * objc/Object.h: Likewise.
        * objc/Protocol.h: Likewise.
        * objc/encoding.h: Likewise.
        * objc/hash.h: Likewise.
        * objc/runtime.h: Likewise.
        * objc/sarray.h: Likewise.
        * objc/thr.h: Likewise.
        * objc/typedstream.h: Likewise.
        * objc/objc-api.h: Add 'extern "C"' block for C++ use.
        (objc_static_instances): For C++ case, do away with
        zero-sized array.
        (objc_method): Hoist definition to file scope.
        (_objc_load_callback, _objc_object_alloc, class_get_class_method,
        class_get_instance_method, class_create_instance,
        class_get_class_name, class_get_instance_size,
        class_get_meta_class, class_get_super_class, class_get_version,
        class_is_class, class_is_meta_class, class_set_version,
        class_get_gc_object_type, class_ivar_set_gcinvisible,
        get_imp): Rename 'class' parameter to '_class'.
        * objc/objc-list.h: Add 'extern "C"' block for C++ use.
        * objc/objc.h: Update copyright date.
        (arglist_t): Provide a union tag.

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

16 years ago PR c++/16924
dannysmith [Fri, 13 Aug 2004 01:24:28 +0000 (01:24 +0000)]
PR c++/16924
* config/i386/winnt.c (i386_pe_mark_dllexport): Set
SYMBOL_REF_DECL.
(i386_pe_mark_dllimport): Likewise.
(i386_pe_encode_section_info): Likewise, when overriding
dllimport attribute.

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

16 years ago2004-08-12 Janis Johnson <janis187@us.ibm.com>
janis [Fri, 13 Aug 2004 00:46:54 +0000 (00:46 +0000)]
2004-08-12  Janis Johnson  <janis187@us.ibm.com>

gcc.dg/vmx/cw-bug-2.c: Remove.
gcc.dg/vmx/vprint-1.c: Remove.
gcc.dg/vmx/vscan-1.c: Remove.

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

16 years agoDaily bump.
gccadmin [Fri, 13 Aug 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.

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

16 years agoremove file for real
ian [Fri, 13 Aug 2004 00:02:16 +0000 (00:02 +0000)]
remove file for real

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

16 years agotemporary add to fix file in CVS
ian [Fri, 13 Aug 2004 00:02:01 +0000 (00:02 +0000)]
temporary add to fix file in CVS

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

16 years ago * configure.ac: When testing for flex, nm, ar, and bison, check
geoffk [Thu, 12 Aug 2004 23:03:20 +0000 (23:03 +0000)]
* configure.ac: When testing for flex, nm, ar, and bison, check
that they will actually be built.
* configure: Regenerate.

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

16 years ago * Makefile.def, configure.in: Remove useless, bogus
neroden [Thu, 12 Aug 2004 23:00:39 +0000 (23:00 +0000)]
* Makefile.def, configure.in: Remove useless, bogus
references to tix.
* Makefile.in, configure: Regenerate.

(Also fix up last ChangeLog entry.)

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

16 years ago2004-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Thu, 12 Aug 2004 22:44:25 +0000 (22:44 +0000)]
2004-08-12  Nathanael Nerode  <neroden@gcc.gnu.org>

* src-release: Stop distributing mmalloc with gdb (which doesn't
use it).
* Makefile.def: GDB doesn't depend on mmalloc anymore.
* Makefile.in: Regenerate.

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

16 years ago2004-08-12 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 12 Aug 2004 22:38:21 +0000 (22:38 +0000)]
2004-08-12  Paolo Carlini  <pcarlini@suse.de>

* configure.ac: Specify version 1.8.5 in AM_INIT_AUTOMAKE.

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

16 years ago2004-08-12 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 12 Aug 2004 22:26:32 +0000 (22:26 +0000)]
2004-08-12  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/16956
* include/bits/sstream.tcc (basic_stringbuf<>::seekoff): Add __off
to the returned value, reorganize a bit.
* testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc: New.
* testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc: New.

* testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Remove junk.
* testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise.

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

16 years ago * config/s390/s390.h (MAX_FIXED_MODE_SIZE): Define.
uweigand [Thu, 12 Aug 2004 21:37:31 +0000 (21:37 +0000)]
* config/s390/s390.h (MAX_FIXED_MODE_SIZE): Define.
(MOVE_MAX_PIECES): Define.

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

16 years ago * dbxout.c (dbxout_begin_prologue): New function.
dpatel [Thu, 12 Aug 2004 21:32:56 +0000 (21:32 +0000)]
    * dbxout.c (dbxout_begin_prologue): New function.
        (dbx_debug_hooks): Use new begin prologue hook.
        (dbxout_function_end): Emit N_ENSYM.
        * stab.def (N_BNSYM, N_ENSYM): Define and document these two new stabs.

        testsuite:
        gcc.dg/darwin-20040809-2.c: New test.

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

16 years ago2004-08-12 Janis Johnson <janis187@us.ibm.com>
janis [Thu, 12 Aug 2004 21:28:12 +0000 (21:28 +0000)]
2004-08-12  Janis Johnson  <janis187@us.ibm.com>

* g++.dg/ext/altivec-12.C: New test.

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

16 years ago2004-08-12 Janis Johnson <janis187@us.ibm.com>
janis [Thu, 12 Aug 2004 21:27:14 +0000 (21:27 +0000)]
2004-08-12  Janis Johnson  <janis187@us.ibm.com>

* config/rs6000/altivec.h (vec_dst): Fix C++ functions whose first
argument is float*.

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

16 years ago2004-08-12 Janis Johnson <janis1872us.ibm.com>
janis [Thu, 12 Aug 2004 21:25:44 +0000 (21:25 +0000)]
2004-08-12  Janis Johnson  <janis1872us.ibm.com>

* g++.dg/ext/altivec-11.C: New test.

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

16 years ago2004-08-12 Janis Johnson <janis187@us.ibm.com>
janis [Thu, 12 Aug 2004 21:24:49 +0000 (21:24 +0000)]
2004-08-12  Janis Johnson  <janis187@us.ibm.com>

* config/rs6000/rs6000.c (altivec_init_builtins): Fix argument type
for vec_dss.

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

16 years ago2004-08-12 Janis Johnson <janis187@us.ibm.com>
janis [Thu, 12 Aug 2004 21:19:08 +0000 (21:19 +0000)]
2004-08-12  Janis Johnson  <janis187@us.ibm.com>

* doc/extend.texi (AltiVec builtins): Fix description for recent
changes.  Update operation list to match current support.

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

16 years agoThis commit was generated by cvs2svn to compensate for changes in r85899,
bryce [Thu, 12 Aug 2004 21:14:30 +0000 (21:14 +0000)]
This commit was generated by cvs2svn to compensate for changes in r85899,
which included commits to RCS files with non-trunk default branches.

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

16 years agoInitial revision
bryce [Thu, 12 Aug 2004 21:14:23 +0000 (21:14 +0000)]
Initial revision

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

16 years ago * config/cpu/arm/cxxabi_tweaks.h: Define __cxa_vec_ctor_return and
pbrook [Thu, 12 Aug 2004 18:50:38 +0000 (18:50 +0000)]
* config/cpu/arm/cxxabi_tweaks.h: Define __cxa_vec_ctor_return and
_GLIBCXX_CXA_VEC_CTOR_RETURN.
* config/cpu/generic/cxxabi_tweaks.h: Ditto.
* libsupc++/cxxabi.h (__cxa_vec_ctor, __cxa_vec_cctor): Use
__cxa_vec_ctor_return.
* libsupc++/vec.cc (__cxa_vec_ctor, __cxa_vec_cctor): Ditto.
Use _GLIBCXX_CXA_VEC_CTOR_RETURN.

* g++.dg/abi/arm_cxa_vec_1.C: New test.

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

16 years ago2004-08-12 Janis Johnson <janis187@us.ibm.com>
janis [Thu, 12 Aug 2004 18:09:44 +0000 (18:09 +0000)]
2004-08-12  Janis Johnson  <janis187@us.ibm.com>

* g++.dg/ext/altivec-2.C: Check for hardware support before
executing any VMX instructions.

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

16 years ago2004-08-12 Janis Johnson <janis187@us.ibm.com>
janis [Thu, 12 Aug 2004 18:08:12 +0000 (18:08 +0000)]
2004-08-12  Janis Johnson  <janis187@us.ibm.com>

* gcc.dg/vmx/ops-long-2.c: Add dg-error directives.

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

16 years agoFix typo
mmitchel [Thu, 12 Aug 2004 18:03:15 +0000 (18:03 +0000)]
Fix typo

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

16 years ago PR c++/16273
mmitchel [Thu, 12 Aug 2004 17:58:24 +0000 (17:58 +0000)]
PR c++/16273
* class.c (count_depth_data): New type.
(dfs_depth_post): New function.
(dfs_depth_q): Likewise.
(find_final_overrider_data_s): Change type of vpath.
Add vpath_list.
(dfs_find_final_overrider_1): New function.
(dfs_find_final_overrider): Use it.
(dfs_find_final_overrider_q): Adjust use of vpath.
(dfs_find_final_overrider_post): Likewise.
(find_final_overrider): Use dfs_depth.  Allocate and deallocate
vpath_list.

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

16 years ago PR libgcj/16662
hboehm [Thu, 12 Aug 2004 17:56:32 +0000 (17:56 +0000)]
PR libgcj/16662
* java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
(Almost everywhere): add LOG calls, fix, add comments.
(_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
Add explicit check for LOCKED bit in slow case (PR 16662).
(_Jv_MonitorExit): Add casts in debug-only code.
Always release LOCKED bit before throwing exception.
(_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
isn't.  Handle easy cases without lock acquisition.
(Object::wait): Use NotifyAll for lock inflation.

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

16 years ago2004-08-12 Andreas Krebbel <krebbel1@de.ibm.com>
uweigand [Thu, 12 Aug 2004 17:40:02 +0000 (17:40 +0000)]
2004-08-12  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.c (struct s390_frame_layout): New struct as element
of struct machine_function.
(cfun->machine->frame_size): Moved into cfun->machine->frame_layout and
changed all uses.
(cfun->machine->save_fprs_p): Replaced by cfun_save_high_fprs and
changed all uses.
(cfun_frame_layout, cfun_save_high_fprs_p, cfun_gprs_save_area_size)
(cfun_set_fpr_bit, cfun_fpr_bit_p): New macros.
(s390_frame_area, s390_register_info): New functions.
(s390_optimize_prolog): Renamed to s390_optimize_prologue.  Added check
for base register.
(s390_return_addr_rtx, s390_return_address_offset)
(s390_va_start, s390_gimplify_va_arg)
(s390_emit_prologue, s390_emit_epilogue): Adjusted for new stack
layouts.
(s390_frame_info): Functionality partly moved to s390_register_info.
Made adaptions for new stack layout.
(save_gprs, restore_gprs): Changed meaning of second parameter and
adapted all callers.

* config/s390/s390.h (s390_backchain_string): New global variable.
(MASK_BACKCHAIN): Removed definition.
(TARGET_BACKCHAIN): Changed check.
(TARGET_KERNEL_BACKCHAIN): New macro.
(TARGET_SWITCHES): Removed entries of "backchain" and "no-backchain".
(TARGET_OPTIONS): Added "backchain", "no-backchain" and
"kernel-backchain".
(DYNAMIC_CHAIN_ADDRESS): Adjusted for new stack layouts.

* config/s390/s390.md ("allocate_stack"): Added TARGET_KERNEL_BACKCHAIN
as condition.  Adjusted for new stack layout.

* doc/invoke.texi: Added documentation for new option
"-mkernel-backchain" and adjusted documentation of "-mbackchain" and
"-mno-backchain".

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

16 years ago2004-08-03 David Daney <ddaney@avtrex.com>
daney [Thu, 12 Aug 2004 16:24:56 +0000 (16:24 +0000)]
2004-08-03  David Daney  <ddaney@avtrex.com>

* testsuite/libjava.lang/Process_1.java: New test.
* testsuite/libjava.lang/Process_2.java: New test.
* testsuite/libjava.lang/Process_3.java: New test.
* testsuite/libjava.lang/Process_4.java: New test.
* testsuite/libjava.lang/Process_5.java: New test.
* testsuite/libjava.lang/Process_6.java: New test.
* testsuite/libjava.lang/Process_1.out: Expected result.
* testsuite/libjava.lang/Process_2.out: Expected result.
* testsuite/libjava.lang/Process_3.out: Expected result.
* testsuite/libjava.lang/Process_4.out: Expected result.
* testsuite/libjava.lang/Process_5.out: Expected result.
* testsuite/libjava.lang/Process_6.out: Expected result.

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

16 years ago2004-08-12 David Daney <ddaney@avtrex.com>
daney [Thu, 12 Aug 2004 16:20:11 +0000 (16:20 +0000)]
2004-08-12  David Daney  <ddaney@avtrex.com>

PR libgcj/11801
* java/lang/PosixProcess.java: Rewrote.
* java/lang/natPosixProcess.cc: Rewrote.
* java/lang/Runtime.java (execInternal): Declare throws IOException.
* gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
* posix-threads.cc (block_sigchld) New function.
(_Jv_ThreadRegister) Use it.
(_Jv_ThreadStart) Use it.
* configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
* Makefile.am: ... to specify extra native headers.
* configure: Regenerated.
* include/config.h: Regenerated.
* Makefile.in: Regenerated.
* gcj/Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.

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

16 years ago * config/arm/lib1funcs.asm (ARM_FUNC_ALIAS): Also alias _L__name.
pbrook [Thu, 12 Aug 2004 16:14:52 +0000 (16:14 +0000)]
* config/arm/lib1funcs.asm (ARM_FUNC_ALIAS): Also alias _L__name.
(aeabi_uidivmod, aeabi_idivmod): Provide thumb implementation.

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

16 years ago2004-08-12 David Daney <ddaney@avtrex.com>
daney [Thu, 12 Aug 2004 16:10:52 +0000 (16:10 +0000)]
2004-08-12  David Daney  <ddaney@avtrex.com>

        * java/gcj.texi:  Add subsection on signal usage.

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

16 years ago * expr.c (move_by_pieces): Set alignment for move to minimum of
dje [Thu, 12 Aug 2004 15:05:38 +0000 (15:05 +0000)]
    * expr.c (move_by_pieces): Set alignment for move to minimum of
        MOVE_MAX_PIECES mode alignment and the largest non-slow mode
        alignment, but not less than the original alignment.
        (move_by_pieces_ninsns): Same.
        (can_store_by_pieces): Similar for store with STORE_MAX_PIECES.
        (store_by_pieces_1): Same.

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

16 years ago PR tree-optimization/16867
dnovillo [Thu, 12 Aug 2004 14:34:11 +0000 (14:34 +0000)]
PR tree-optimization/16867
* tree.c (is_global_var): New function.
(needs_to_live_in_memory): Check for TREE_ADDRESSABLE.
Call is_global_var.
* tree.h (DECL_NEEDS_TO_LIVE_IN_MEMORY_INTERNAL): Remove.
Update all users.
(is_global_var): Declare.
* tree-dfa.c (dump_variable): Display global and addressable
attributes.
(add_referenced_var): Clarify documentation when marking
variables call-clobbered.
* tree-flow-inline.h (is_call_clobbered): Call is_global_var
instead of needs_to_live_in_memory.
(mark_call_clobbered): If the variable is a tag, mark it
DECL_EXTERNAL.
* tree-gimple.c (is_gimple_reg): Don't check for
TREE_ADDRESSABLE.
(is_gimple_non_addressable): Likewise.
* tree-ssa-alias.c (get_nmt_for): Always check whether the tag
needs to be marked call-clobbered.
(setup_pointers_and_addressables): Call is_global_var instead
of needs_to_live_in_memory.
* tree-ssa-dce.c (need_to_preserve_store): Remove.
Update all users with is_global_var.
(mark_stmt_if_obviously_necessary): Fix processing of aliased
stores.  Don't check the virtual definitions.  Rather, check
whether the store is going into global memory.
(find_obviously_necessary_stmts): Get the symbol from the PHI
result.
* tree-ssa-operands.c (get_call_expr_operands): Do not add
clobbering may-defs if the call does not have side effects.

libjava/ChangeLog

PR tree-optimization/16867
* testsuite/libjava.lang/PR16867.java: New test.

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

16 years ago PR c++/16276
jakub [Thu, 12 Aug 2004 13:57:04 +0000 (13:57 +0000)]
    PR c++/16276
        * output.h (default_function_rodata_section,
default_no_function_rodata_section): New prototypes.
* target.h (struct gcc_target): Add asm_out.function_rodata_section.
* target-def.h (TARGET_ASM_FUNCTION_RODATA_SECTION): Define.
(TARGET_ASM_OUT): Add it.
        * varasm.c (default_function_rodata_section,
default_no_function_rodata_section): New functions.
        * final.c (final_scan_insn): Call
targetm.asm_out.function_rodata_section instead of
readonly_data_section.
* config/darwin.h (TARGET_ASM_FUNCTION_RODATA_SECTION): Define.
* config/mcore/mcore.c (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise.
* config/ip2k/ip2k.c (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise.
* config/rs6000/xcoff.h (TARGET_ASM_FUNCTION_RODATA_SECTION):
Likewise.
* config/alpha/alpha.c (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise.
* config/i386/cygming.h (TARGET_ASM_FUNCTION_RODATA_SECTION):
Likewise.
* config/i386/i386-interix.h (TARGET_ASM_FUNCTION_RODATA_SECTION):
Likewise.
* config/arm/pe.h (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise.
* config/avr/avr.c (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise.
* doc/tm.texi (TARGET_ASM_FUNCTION_RODATA_SECTION): Document.

        * g++.old-deja/g++.other/comdat4.C: New test.
        * g++.old-deja/g++.other/comdat4-aux.cc: New.

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

16 years ago * dwarf2out.h (dwarf2out_frame_finish): Conditionalize outputting eh
pbrook [Thu, 12 Aug 2004 13:45:44 +0000 (13:45 +0000)]
* dwarf2out.h (dwarf2out_frame_finish): Conditionalize outputting eh
frame info.
* doc/tm.texi: Document interaction between TARGET_UNWIND_INFO and
DWARF2_UNWIND_INFO.

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

16 years ago2004-08-12 Kelley Cook <kcook@gcc.gnu.org>
kcook [Thu, 12 Aug 2004 12:13:14 +0000 (12:13 +0000)]
2004-08-12  Kelley Cook  <kcook@gcc.gnu.org>

* include/Makefile.in: Regenerate

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

16 years ago2004-08-12 Kelley Cook <kcook@gcc.gnu.org>
kcook [Thu, 12 Aug 2004 11:54:13 +0000 (11:54 +0000)]
2004-08-12  Kelley Cook  <kcook@gcc.gnu.org>

* Makefile.in, aclocal.m4, configure, include/Makefile.in,
libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
src/Makefile.in, testsuite/Makefile.in: Regenerate

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

16 years agoPatch for PR target/16286
bje [Thu, 12 Aug 2004 11:02:38 +0000 (11:02 +0000)]
Patch for PR target/16286

2004-08-12  Ben Elliston  <bje@au.ibm.com>

* config/rs6000/altivec.h: Change vector to __vector throughout.
(Except for the `vector' macro itself).

[testsuite]
2004-08-12  Ben Elliston  <bje@au.ibm.com>

* gcc.dg/pr16286.c: New test.

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

16 years ago2004-08-12 Jan Beulich <jbeulich@novell.com>
paolo [Thu, 12 Aug 2004 09:46:39 +0000 (09:46 +0000)]
2004-08-12  Jan Beulich  <jbeulich@novell.com>

* config/locale/generic/ctype_members.cc
(ctype<wchar_t>::_M_convert_to_wmask): Default case must not use 0 as
initializer for return value, as that is invalid for enumerated types.
* config/locale/gnu/ctype_members.cc
(ctype<wchar_t>::_M_convert_to_wmask): Likewise.

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

16 years ago*** empty log message ***
jbeulich [Thu, 12 Aug 2004 09:39:59 +0000 (09:39 +0000)]
*** empty log message ***

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

16 years agocp/
jbeulich [Thu, 12 Aug 2004 09:34:16 +0000 (09:34 +0000)]
cp/
2004-08-12 Jan Beulich <jbeulich@novell.com>

* parser.c (cp_parser_asm_definition): Properly consume scope operator
tokens preceding the clobbers. Don't check for scope operator
following inputs. Simplify inputs handling to match that now used for
clobbers.

testsuite/
2004-08-12 Jan Beulich <jbeulich@novell.com>

* g++.dg/ext/asm5.C: New.

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

16 years ago * genpreds.c: Add capability to generate predicate bodies as
zack [Thu, 12 Aug 2004 07:49:00 +0000 (07:49 +0000)]
* genpreds.c: Add capability to generate predicate bodies as
well as function prototypes.  Write function prototypes for
the generic predicates too.
(process_define_predicate, write_tm_preds_h, write_insn_preds_c)
(write_predicate_subfunction, mark_mode_tests, add_mode_tests)
(write_match_code, write_predicate_expr, write_one_predicate_function)
(parse_option): New functions.
(output_predicate_decls): Delete.
(main): Read the machine description, process DEFINE_PREDICATE or
DEFINE_SPECIAL_PREDICATE patterns, write tm-preds.h or insn-preds.c
as appropriate.

* genrecog.c (struct decision_test): Replace index with
struct pred_data pointer.
(next_index): Remove, unused.
(pred_table, preds, special_mode_pred_table): Delete.
(compute_predicate_codes, process_define_predicate): New functions.
(validate_pattern, add_to_sequence, write_switch): Update for
new data structures.
(main): Handle DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE.
Check both error_count and have_error.

* gensupport.c (in_fname, first_predicate): New globals.
(define_pred_queue, define_pred_tail): New RTL-pattern queue.
(predicate_table, last_predicate, old_pred_table)
(old_special_pred_table): New statics.
(hash_struct_pred_data, eq_struct_pred_data, lookup_predicate)
(add_predicate, init_predicate_table): New functions.
(process_rtx): Handle DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE.
(init_md_reader_args_cb): Use the global in_fname.  No need to zero
it or max_include_len.  Call init_predicate_table.
(read_rtx): Run the predicate queue after the attribute queue
but before all the others.
* gensupport.h (in_fname, struct pred_data, first_predicate)
(lookup_predicate, add_predicate, FOR_ALL_PREDICATES): Declare.
* rtl.def (MATCH_CODE, MATCH_TEST, DEFINE_PREDICATE)
(DEFINE_SPECIAL_PREDICATE): New RTL codes.
* dummy-conditions.c: Don't include bconfig.h, system.h,
coretypes.h, tm.h, or system.h.  Do include stddef.h.
Duplicate declaration of struct c_test from gensupport.h.

* Makefile.in (OBJS-common): Add insn-preds.o.
(STAGESTUFF, .PRECIOUS): Add insn-preds.c.
(insn-preds.c, insn-preds.o): New rules.
(s-preds): Also generate insn-preds.c.
(dummy-conditions.o, genpreds$(build_exeext), genpreds.o):
Update dependencies.
(print-rtl.o, print-rtl1.o): Correct dependencies.

* recog.h: Delete prototypes of predicate functions.

* doc/md.texi (Predicates): New section with complete
documentation of operand/operator predicates.  Remove some
incomplete documentation of predicates from other places.
* doc/tm.texi (Misc): Move SPECIAL_MODE_PREDICATES next to
PREDICATE_CODES; indicate that both are deprecated in favor
of define_predicate/define_special_predicate.

* config/ia64/ia64.c: All predicate function definitions moved
to ia64.md, except
(small_addr_symbolic_operand, tls_symbolic_operand): Delete.
(ia64_expand_load_address, ia64_expand_move):
Check SYMBOL_REF_TLS_MODEL directly, don't use tls_symbolic_operand.

* config/ia64/ia64.md: All predicates now defined here.
(symbolic_operand): Is now a special predicate.

* config/ia64/ia64.h: Declare ia64_section_threshold.
(PREDICATE_CODES): Delete.

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

16 years ago * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
bothner [Thu, 12 Aug 2004 06:53:42 +0000 (06:53 +0000)]
* gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
with private fields and access methods.
(_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
* gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
* prims.cc (_Jv_Utf8COnst::init): New method implementation.
( _Jv_makeUtf8Const): Rewrite using new constructors.
(hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
* defineclass.cc: Use new _Utf8Const access/convenience methods.
* jni.cc: Likewise.
* resolve.cc: Likewise.
* gcj/field.h: Likewise.
* include/jvm.h: Likewise.
* java/lang/Class.h: Likewise.
* java/lang/natClass.cc: Likwise.
* java/lang/natClassLoader.cc: Likewise
* java/lang/reflect/natMethod.cc: Likewise
* verify.cc: Likewise.
(_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
(~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.

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

16 years ago PR c++/16698
mmitchel [Thu, 12 Aug 2004 05:17:42 +0000 (05:17 +0000)]
PR c++/16698
* except.c (build_throw): Allocate cleanup_type and the function
for __cxa_throw separately.

PR c++/16698
* g++.dg/eh/crash1.C: New test.

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

16 years ago * c-common.h (STATEMENT_LIST_HAS_LABEL): New.
rth [Thu, 12 Aug 2004 04:09:57 +0000 (04:09 +0000)]
    * c-common.h (STATEMENT_LIST_HAS_LABEL): New.
        * c-semantics.c (add_stmt): Set it.
        * c-decl.c (finish_decl): Use it to create a new BIND_EXPR
        before instantiating a variable sized type.

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

16 years ago * stor-layout.c (round_up, round_down): Move ...
rth [Thu, 12 Aug 2004 04:01:04 +0000 (04:01 +0000)]
    * stor-layout.c (round_up, round_down): Move ...
        * fold-const.c (round_up, round_down): ... here.  Use
        multiple_of_p to avoid any arithmetic at all.

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

16 years ago * gimplify.c (struct gimplify_init_ctor_preeval_data): New.
rth [Thu, 12 Aug 2004 03:54:11 +0000 (03:54 +0000)]
    * gimplify.c (struct gimplify_init_ctor_preeval_data): New.
        (gimplify_init_ctor_preeval_1): New.
        (gimplify_init_ctor_preeval): New.
        (gimplify_init_ctor_eval): New.
        (gimplify_init_constructor): Use them.  Always gimplify the LHS
        object first.

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

16 years ago PR c++/16717
mmitchel [Thu, 12 Aug 2004 02:51:31 +0000 (02:51 +0000)]
PR c++/16717
* g++.dg/ext/construct1.C: New test.

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

16 years ago[gcc/ChangeLog]
zlaski [Thu, 12 Aug 2004 01:53:01 +0000 (01:53 +0000)]
[gcc/ChangeLog]
2004-08-12  Ziemowit Laski  <zlaski@apple.com>

        (This patch is part of merge of objc-improvements-branch
        into mainline.)

        * doc/frontends.texi: Mention Objective-C++ in addition to
        Objective-C.
        * doc/install.texi: Add 'obj-c++' to list of configurable
        languages.
        * doc/invoke.texi: Rename Objective-C option headings to
        indicate they also apply to Objective-C++.  List file
        extensions for Objective-C++ sources.  Mention that
        ObjC and ObjC++ compilations may also use C and C++ options,
        respectively.  Point users to doc/standards.texi for
        further info on ObjC and ObjC++.
        * doc/sourcebuild.texi: Mention the objcp/ directory and
        the Objective-C++ sources it contains.
        * doc/standards.texi: Update link to Apple ObjC site;
        add link to gcc readings.html WWW doc.

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

16 years ago PR c++/16853
mmitchel [Thu, 12 Aug 2004 00:43:47 +0000 (00:43 +0000)]
PR c++/16853
* call.c (standard_conversion): Do not accept conversions between
pointers to members if the class types are unrelated.

PR c++/16618
* parser.c (cp_parser_builtin_offsetof): Cast to "const volatile
char &" instead of just "char &".

PR c++/16870
* pt.c (tsubst): Just return the unknown_type_node.

PR c++/16853
* g++.dg/init/ptrmem1.C: New test.

PR c++/16618
* g++.dg/parse/offsetof5.C: New test.

PR c++/16870
* g++.dg/template/overload3.C: New test.

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

16 years agoDaily bump.
gccadmin [Thu, 12 Aug 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.

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

16 years agoFix comment typo
giovannibajo [Wed, 11 Aug 2004 23:19:10 +0000 (23:19 +0000)]
Fix comment typo

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

16 years ago * config/rs6000/rs6000.c (function_arg_padding): Revert 2004-07-28
amodra [Wed, 11 Aug 2004 23:18:21 +0000 (23:18 +0000)]
* config/rs6000/rs6000.c (function_arg_padding): Revert 2004-07-28
and 2004-07-14 changes.

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

16 years ago * doc/invoke.texi: Fix typo.
pbrook [Wed, 11 Aug 2004 23:05:24 +0000 (23:05 +0000)]
* doc/invoke.texi: Fix typo.

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

16 years ago PR c++/16964
mmitchel [Wed, 11 Aug 2004 22:13:32 +0000 (22:13 +0000)]
PR c++/16964
* parser.c (cp_parser_class_specifier): Robustify.

PR c++/16904
* pt.c (tsubst_copy_and_build): Complain about invalid
qualification.

PR c++/16929
* pt.c (tsubst_default_argument): Clear out current_class_ptr and
current_class_ref while tsubsting.

PR c++/16964
* g++.dg/parse/error16.C: New test.

PR c++/16904
* g++.dg/template/error14.C: New test.

PR c++/16929
* g++.dg/template/error15.C: New test.

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

16 years ago * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add -dead_strip
dpatel [Wed, 11 Aug 2004 21:26:12 +0000 (21:26 +0000)]
   * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add -dead_strip
       and -no_dead_strip_inits_and_terms.
       (LINK_SPEC): Same.
       * doc/invoke.texi (Darwin Options): Document -dead_strip and
       -no_dead_strip_inits_and_terms.

       * gcc.dg/darwin-ld-20040809-1.c: New test.
       * gcc.dg/darwin-ld-20040809-2.c: New test.

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

16 years ago * config/arm/arm-protos.h (arm_finalize_pic) Rename ...
pbrook [Wed, 11 Aug 2004 21:02:47 +0000 (21:02 +0000)]
* config/arm/arm-protos.h (arm_finalize_pic) Rename ...
(arm_load_pic_register): ... to this.
* config/arm/arm.c (arm_finalize_pic): Rename ...
(arm_load_pic_register): ... to this.  Always output insns at the
current location.  Load via low reg in thumb mode.
(arm_expand_prologue): Call arm_load_pic_register.
(thumb_expand_prologue): Ditto.
* config/arm/arm.h (FINALIZE_PIC): Remove.
* config/arm/arm.md (builtin_setjmp_receiver): Call
arm_load_pic_register.

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

16 years ago * arm.c (thumb_force_lr_save): Add prototype.
pbrook [Wed, 11 Aug 2004 20:59:15 +0000 (20:59 +0000)]
* arm.c (thumb_force_lr_save): Add prototype.
(thumb_compute_save_reg_mask): New function.
(thumb_find_work_register): New function.
(arm_get_frame_offsets): Use thumb_compute_save_reg_mask.
(thumb_unexpanded_epilogue): Ditto.  Remove redundant code.
Don't clobber r3 when removing pretend args.
(thumb_expand_prologue): Use thumb_compute_save_reg_mask.
(thumb_output_function_prologue): Use new functions.
(thumb_set_return_address): Use thumb_compute_save_reg_mask.
* arm.h (THUMB_REG_PUSHED_P): Remove.

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

16 years agoFix -fprofile-use ICE.
wilson [Wed, 11 Aug 2004 20:08:00 +0000 (20:08 +0000)]
Fix -fprofile-use ICE.
PR rtl-optimization/16490
* cfgrtl.c (cfg_layout_split_edge): Set global_live_at_start and
global_live_at_end for new basic block if already set for other blocks.

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

16 years ago * config/rs6000/rs6000.h (MAX_FIXED_MODE_SIZE): Define.
dje [Wed, 11 Aug 2004 19:18:14 +0000 (19:18 +0000)]
    * config/rs6000/rs6000.h (MAX_FIXED_MODE_SIZE): Define.

        * config/rs6000/rs6000.md (mfcr rlwinm patterns): Set length to 8.
        (mfcr rlwinm rlwinm patterns): Set length to 12.

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