OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago2002-07-10 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 10 Jul 2002 23:12:53 +0000 (23:12 +0000)]
2002-07-10  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (emit_frame_save): New.
        (rs6000_frame_related): Replace reg2 before reg.
        (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs,
        and eh_return registers.

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

21 years ago2002-07-10 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 10 Jul 2002 21:17:29 +0000 (21:17 +0000)]
2002-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>

* libI77/open.c (f_open): Do not indicate unformatted file
if record length is given without a FORMATTED/UNFORMATTED
specification.

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

21 years ago2002-07-10 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 10 Jul 2002 21:13:26 +0000 (21:13 +0000)]
2002-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>

Revert all patches for optimization of Complex .op. Real.
* complex_part_zero_p: Remove
* expand_cmplxdiv_straight: Replace complex_part_zero_p(x)
with x.
* expand_cmplxdiv_wide: Ditto.
* expand_binop: Ditto.

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

21 years ago * config/avr/avr.md: Fix two 0x80000000 constants to make them
marekm [Wed, 10 Jul 2002 21:08:41 +0000 (21:08 +0000)]
* config/avr/avr.md: Fix two 0x80000000 constants to make them
negative also on 64-bit hosts.

Default to -fno-reorder-blocks when optimizing for size.
* config/avr/avr-protos.h (avr_optimization_options): Declare.
* config/avr/avr.c (avr_optimization_options): New function.
* config/avr/avr.h (OPTIMIZATION_OPTIONS): New.

Optimize returning from simple functions.
* config/avr/avr-protos.h (avr_simple_epilogue): Declare.
* config/avr/avr.c (avr_simple_epilogue): New function.
* config/avr/avr.md (return): New insn.

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

21 years ago * config/i386/i386.c (ix86_svr3_asm_out_constructor): Add
rupp [Wed, 10 Jul 2002 20:32:51 +0000 (20:32 +0000)]
    * config/i386/i386.c  (ix86_svr3_asm_out_constructor): Add
        HAS_INIT_SECTION to protection.

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

21 years ago * doc/invoke.texi (Debugging Options): Mention that -gdwarf is
mmitchel [Wed, 10 Jul 2002 19:17:51 +0000 (19:17 +0000)]
* doc/invoke.texi (Debugging Options): Mention that -gdwarf is
deprecated.

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

21 years ago * combine.c (gen_lowpart_for_combine): Handle vector modes.
amylaar [Wed, 10 Jul 2002 18:51:20 +0000 (18:51 +0000)]
* combine.c (gen_lowpart_for_combine): Handle vector modes.
Supply non-VOID mode to simplify_gen_subreg.

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

21 years ago * pt.c (template_parm_this_level_p, push_template_decl_real):
grahams [Wed, 10 Jul 2002 18:45:05 +0000 (18:45 +0000)]
* pt.c (template_parm_this_level_p, push_template_decl_real):
Pass depth as int pointer.

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

21 years ago * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
law [Wed, 10 Jul 2002 18:26:59 +0000 (18:26 +0000)]
    * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
        as appropriate.

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

21 years ago * cp-tree.h (unqualified_name_lookup_error): Declare it.
mmitchel [Wed, 10 Jul 2002 18:16:24 +0000 (18:16 +0000)]
* cp-tree.h (unqualified_name_lookup_error): Declare it.
(begin_function_definition): Adjust prototype.
* lex.c (unqualified_name_lookup_error): New function, split out
from ...
(do_identifier): ... here.
* parse.y (parse_begin_function_definition): New function.
(fn.def1): Use it.
* semantics.c (begin_function_definition): Accept decl-specifiers
and attributes as separate parameters.

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

21 years ago * i386.c (ix86_init_mmx_sse_builtins): Fix thinko.
hubicka [Wed, 10 Jul 2002 17:52:59 +0000 (17:52 +0000)]
* i386.c (ix86_init_mmx_sse_builtins): Fix thinko.

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

21 years ago * gcc.c-torture/compile/981006-1.x: Do not use -fpic for mn102.
law [Wed, 10 Jul 2002 17:38:37 +0000 (17:38 +0000)]
    * gcc.c-torture/compile/981006-1.x: Do not use -fpic for mn102.

        * gcc.c-torture/compile/930326-1.x: Remove.  No longer needed.

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

21 years ago * mn10200.c (expand_epilogue): Fix test to determine which scratch
law [Wed, 10 Jul 2002 17:26:31 +0000 (17:26 +0000)]
    * mn10200.c (expand_epilogue): Fix test to determine which scratch
        register to use.

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

21 years ago * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
amylaar [Wed, 10 Jul 2002 15:08:04 +0000 (15:08 +0000)]
* cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
Get mode from dest.
If simplify_gen_subreg fails, try next equivalent.

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

21 years agoreverted bogus checkin
tromey [Wed, 10 Jul 2002 14:33:04 +0000 (14:33 +0000)]
reverted bogus checkin

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

21 years ago * configure: Rebuilt.
tromey [Wed, 10 Jul 2002 14:30:15 +0000 (14:30 +0000)]
* configure: Rebuilt.
* configure.in: Use `test' after `&&'.  From Chris Faylor.

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

21 years ago * include/bits/valarray_meta.h (_UnFunBase): Take a second
gdr [Wed, 10 Jul 2002 12:06:37 +0000 (12:06 +0000)]
* include/bits/valarray_meta.h (_UnFunBase): Take a second
template parameter. Remove _M_func data member.
(_UnFunClos): Take a third template parameter.
(__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
__atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
(_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.

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

21 years ago * diagnostic.h: #include location.h
gdr [Wed, 10 Jul 2002 10:36:27 +0000 (10:36 +0000)]
* diagnostic.h: #include location.h
(location_t): Move definition to..
* location.h: ... here.  New file.
* tree.h: #include location.h
(DECL_SOURCE_LOCATION): New macro.
(DECL_SOURCE_FILE): Use.
(DECL_SOURCE_LINE): Likewise.
(struct tree_decl): REplace filename and linenum with locus.
* Makefile.in (TREE_H): add location.h
(diagnostic.o): Depends on gt-location.h
(gt-location.h): Depends on s-gtype

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

21 years agoDaily bump.
gccadmin [Wed, 10 Jul 2002 07:17:32 +0000 (07:17 +0000)]
Daily bump.

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

21 years ago * config/rs6000/aix.h: Convert CPP_PREDEFINES to
kraai [Wed, 10 Jul 2002 00:33:52 +0000 (00:33 +0000)]
* config/rs6000/aix.h: Convert CPP_PREDEFINES to
TARGET_OS_CPP_BUILTINS.
* config/rs6000/aix31.h: Likewise.
* config/rs6000/aix41.h: Likewise.
* config/rs6000/aix43.h: Likewise.
* config/rs6000/aix51.h: Likewise.
* config/rs6000/beos.h: Likewise.
* config/rs6000/darwin.h: Likewise.
* config/rs6000/eabi.h: Likewise.
* config/rs6000/eabisim.h: Likewise.
* config/rs6000/linux.h: Likewise.
* config/rs6000/linux64.h: Likewise.
* config/rs6000/lynx.h: Likewise.
* config/rs6000/mach.h: Likewise.
* config/rs6000/rtems.h: Likewise.
* config/rs6000/sysv4.h: Likewise.
* config/rs6000/vxppc.h: Likewise.

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

21 years ago * cp-demangle.c (demangle_identifier): Support extended Unicode
jason [Tue, 9 Jul 2002 23:57:09 +0000 (23:57 +0000)]
    * cp-demangle.c (demangle_identifier): Support extended Unicode
        characters.

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

21 years ago PR c++/6255
jason [Tue, 9 Jul 2002 23:45:37 +0000 (23:45 +0000)]
    PR c++/6255
        * decl.c (lookup_name_real): Build a new TYPENAME_TYPE rather than
        modifying the old one.

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

21 years ago * cp-tree.h (constructor_name_p): Declare it.
mmitchel [Tue, 9 Jul 2002 23:31:28 +0000 (23:31 +0000)]
* cp-tree.h (constructor_name_p): Declare it.
(check_template_template_default_arg): Likewise.
* class.c (handle_using_decl): Use constructor_name_p.
* decl.c (grokdeclarator): Likewise.
* decl2.c (constructor_name_p): Define it.
* init.c (build_member_call): Use constructor_name_p.
* parse.y (template_parm): Use check_template_template_default_arg.
* pt.c (check_explicit_specialization): Use constructor_name_p.
* semantics.c (check_template_template_default_arg): New function.

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

21 years ago * gcc.dg/20020312-2.c: Check for __PPC__.
aldyh [Tue, 9 Jul 2002 23:30:51 +0000 (23:30 +0000)]
    * gcc.dg/20020312-2.c: Check for __PPC__.

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

21 years ago2002-07-09 Devang Patel <dpatel@apple.com>
dpatel [Tue, 9 Jul 2002 22:29:11 +0000 (22:29 +0000)]
2002-07-09 Devang Patel <dpatel@apple.com>
        * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch.
        Do not allow ObjC objects as a parameter type for Objective-C methods.
        My previous patch restricted  'struct' also.

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

21 years ago * cpperror.c (cpp_error): Default to directive_line within
neil [Tue, 9 Jul 2002 22:21:37 +0000 (22:21 +0000)]
* cpperror.c (cpp_error): Default to directive_line within
directives here.
* cppexp.c (cpp_interpret_integer): Only use traditional
number semantics in directives.
* cpplib.c (prepare_directive_trad): Don't reset pfile->line.
(do_include_common): Similarly.
* cpptrad.c (scan_out_logical_line): Implement accurate
quoting of <> in #include.
* doc/cpp.texi: Update.

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

21 years agoTue Jul 9 22:37:44 2002 Stephen Clarke <stephen.clarke@superh.com>
amylaar [Tue, 9 Jul 2002 22:04:34 +0000 (22:04 +0000)]
Tue Jul  9 22:37:44 2002  Stephen Clarke <stephen.clarke@superh.com>
                          J"orn Rennecke <joern.rennecke@superh.com>

* sh.c (sh_adjust_cost): Special handling of SHMEDIA code.
* sh.md (attribute issues): Replace with:
(attribute pipe_model).  All users changed.
(attribute type): Change pt / ptabs to pt_media / ptabs_media.
All users changed.
(function units sh5issue, sh5fds): New.
(attribute is_mac_media): New.
(adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type.
(andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise.
(ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise.
(movhi_media, shori_media, movv2sf_i, jump_media): Likewise.
(call_media, call_value_media, sibcall_media): Likewise.
(casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise.
(return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise.
(mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise.
(fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise.
(cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise.
(sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise.
(muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise.
(fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise.
(cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise.
(sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise.
(truncdfsf2_media): Likewise.
(movsi_media, movsi_media_nofpu, movdi_media): Use new types.
(movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise.

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

21 years ago * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
amylaar [Tue, 9 Jul 2002 21:30:32 +0000 (21:30 +0000)]
* sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
* sh.c (general_extend_operand, inqhi_operand): New functions.
* sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse
alternatives using 'N' modifier.  Add type.
(adddi3z_media): Likewise.  Enable generator function generation.
(movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more
exact predicates / constraints.  Add type.
(subsi3): Allow 0 for SHMEDIA.
(udivsi3_i4_media): Use match_operand for input values
rather than hard registers.
(udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
unnecessarily through hard registers.  Keep copies of pseudo
registers outside of the libcall sequence.
(mulsidi3_media, umulsidi3_media): Use more exact predicates.  Add type.
(ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise.
(zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise.
(extendhidi2, extendqidi2): Likewise.
(andsi3_compact): Name.
(andcdi3): Enable generator function generation.
(zero_extendhisi2, zero_extendqisi2): Rename to
(zero_extendhisi2_compact, zero_extendqisi2_compact).
(extendhisi2, extendqisi2): Rename to
(extendhisi2_compact, extendqisi2_compact).
(rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns.
(loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise.
(zero_extendhisi2_media+1, zero_extendqisi2): Likewise.
(zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise.
(extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise.
(extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise.
(truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise.
(shmedia32_initialize_trampoline_big): Likewise.
(shmedia32_initialize_trampoline_little): Likewise.
(nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise.
(negdi2): Remove spurious T clobber.
(zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE.
(movsi_media, movsi_media_nofpu): Remove spurious *k after b.
(movdi_media, movdi_media_nofpu, pt, ptb): Likewise.
(movsi_media_nofpu+2, movhi_media+1): Only do split after reload.
(ic_invalidate_line_media): Write back data cache before invalidating
instruction cache.  Add type.
(movsf_media): Sign-extend when the destination is a general
purpose register.  Add type.
(bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0.
(casesi_worker_0+1): Only increment ref count for proper label.
(casesi_worker_0+2): Likewise.

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

21 years agoTreelang updates for new attrib regime.
timjosling [Tue, 9 Jul 2002 21:19:08 +0000 (21:19 +0000)]
Treelang updates for new attrib regime.

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

21 years ago * gcc.c-torture/compile/20020709-1.c: New test.
dnovillo [Tue, 9 Jul 2002 19:52:02 +0000 (19:52 +0000)]
* gcc.c-torture/compile/20020709-1.c: New test.

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

21 years ago * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
mmitchel [Tue, 9 Jul 2002 17:04:56 +0000 (17:04 +0000)]
* dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.

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

21 years ago * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
sje [Tue, 9 Jul 2002 15:28:22 +0000 (15:28 +0000)]
* gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
from Pmode to ptr_mode.
(get_exception_pointer): Ditto.
(connect_post_landing_pads): Ditto.
(dw2_build_landing_pads): Ditto.

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

21 years agoDaily bump.
gccadmin [Tue, 9 Jul 2002 07:16:50 +0000 (07:16 +0000)]
Daily bump.

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

21 years ago * cp-demangle.c (demangle_v3_with_details): Wrap in
ghazi [Tue, 9 Jul 2002 00:32:22 +0000 (00:32 +0000)]
* cp-demangle.c (demangle_v3_with_details): Wrap in
!defined IN_GLIBCPP_V3.

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

21 years ago * configure.in: Don't build grez.
neroden [Mon, 8 Jul 2002 21:40:41 +0000 (21:40 +0000)]
* configure.in: Don't build grez.
* Makefile.in: Ditto.

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

21 years ago * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
mark [Mon, 8 Jul 2002 21:36:25 +0000 (21:36 +0000)]
* mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
java.sql.DatabaseMetaData.TestJdbc20

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

21 years ago * Makefile.in: Remove references to bsp, cygmon, libstub.
neroden [Mon, 8 Jul 2002 20:06:51 +0000 (20:06 +0000)]
* Makefile.in: Remove references to bsp, cygmon, libstub.
* configure.in: Ditto.

* configure.in: Remove leftover reference to gdbtest.

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

21 years ago2002-07-08 Eric Christopher <echristo@redhat.com>
echristo [Mon, 8 Jul 2002 19:41:57 +0000 (19:41 +0000)]
2002-07-08  Eric Christopher  <echristo@redhat.com>

* configure.target: Fix comment for mips atomicity. Add
mips*-*-linux* target, enable atomic operations there.
* config/cpu/mips/atomicity.h: Fix comments, remove
#ifndef/#endif. Add push/pop mips2.

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

21 years ago * gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
sje [Mon, 8 Jul 2002 17:53:24 +0000 (17:53 +0000)]
* gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
* gcc/c-pragma.c (add_to_renaming_pragma_list): New function.
(handle_pragma_redefine_extname): Change to use new function.

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

21 years ago * combine.c (combine_simplify_rtx): Add an explicit cast
sayle [Mon, 8 Jul 2002 15:59:53 +0000 (15:59 +0000)]
* combine.c (combine_simplify_rtx): Add an explicit cast
to avoid signed/unsigned comparison warning.
(simplify_if_then_else): Likewise.
(extended_count): Likewise.
(simplify_shift_const): Likewise.
(simplify_comparison): Likewise.

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

21 years ago * pt.c (can_complete_type_without_circularity): Add static to
lerdsuwa [Mon, 8 Jul 2002 14:53:51 +0000 (14:53 +0000)]
* pt.c (can_complete_type_without_circularity): Add static to
function definition.

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

21 years ago2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
pme [Mon, 8 Jul 2002 12:24:52 +0000 (12:24 +0000)]
2002-07-08  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

* include/bits/stl_deque.h (_Deque_alloc_base):  Change order of
member declarations to avoid compiler warnings and restore 3.1 ABI.

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

21 years ago2002-07-08 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 8 Jul 2002 10:00:39 +0000 (10:00 +0000)]
2002-07-08  Phil Edwards  <pme@gcc.gnu.org>

* configure.in (gxx_include_dir):  Change to match versioned
C++ headers if --enable-version-specific-runtime-libs is used.

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

21 years ago2002-07-08 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 8 Jul 2002 09:51:54 +0000 (09:51 +0000)]
2002-07-08  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/23_containers/howto.html:  Link to dk_std::vector paper
and homepage.

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

21 years ago * config/mips/mips.md: Add imadd type. Update scheduler description
rsandifo [Mon, 8 Jul 2002 08:56:20 +0000 (08:56 +0000)]
* config/mips/mips.md: Add imadd type.  Update scheduler description
to use imadd as well as imul.
(*mul_acc_si, *madsi): Change imul alternatives to imadd.
(*mul_acc_di, *mul_acc_64bit_di): Likewise.
(*mul_sub_si): Likewise for first alternative.  Change second
alternative from imul to multi.

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

21 years ago * cp-tree.h (have_extern_spec): Declare it
mmitchel [Mon, 8 Jul 2002 07:49:58 +0000 (07:49 +0000)]
* cp-tree.h (have_extern_spec): Declare it
* decl.c (have_extern_spec): Define it.
(start_decl): Eliminate use of used_extern_spec.
(start_function): Likewise.
* parse.y (have_extern_spec): Remove declaration.
(used_extern_spec): Likewise.
(frob_specs): Eliminate use of used_extern_spec.
(.hush_warning): Likewise.

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

21 years agoDaily bump.
gccadmin [Mon, 8 Jul 2002 07:16:59 +0000 (07:16 +0000)]
Daily bump.

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

21 years ago * Make-lang.in (cp/parse.o): Depend on decl.h.
mmitchel [Mon, 8 Jul 2002 02:25:19 +0000 (02:25 +0000)]
* Make-lang.in (cp/parse.o): Depend on decl.h.
* cp-tree.h (do_decl_instantiation): Change prototype.
* parse.y: Include decl.h.
(parse_decl_instantiation): New function.
(explicit_instantiation): Use it.
* pt.c (do_decl_instantiation): Accept a DECL, not a DECLARATOR
and DECLSPECS.

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

21 years ago * c-common.c (c_common_post_options): Update prototype;
neil [Sun, 7 Jul 2002 22:10:18 +0000 (22:10 +0000)]
* c-common.c (c_common_post_options): Update prototype;
don't init backends if preprocessing only.
* langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
* langhooks.h (struct lang_hooks): Update post_options to
return a boolean.
* toplev.c (parse_options_and_default_flags, do_compile,
lang_independent_init): Update prototypes.  Allow the
front end to specify that there is no need to initialize
the back end.
(general_init): Move call to hex_init here...
(toplev_main): ...from here.  Pass flag for back end init
suppression.
java:
* lang.c (java_post_options): Update prototype.

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

21 years ago * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
amylaar [Sun, 7 Jul 2002 19:56:31 +0000 (19:56 +0000)]
* sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
(PREDICATE_CODES): Add entries for equality_comparison_operator,
greater_comparison_operator and less_comparison_operator.
* sh.c (print_operand): Add '\'' code.  Make 'o' handle
more operators.
(equality_comparison_operator): New function.
(greater_comparison_operator, less_comparison_operator): Likewise.
* sh.md (beq_media_i): Disable generator function generation.
Use match_operator to handle a whole class of comparisons.  Add
modifier in output template to provide branch prediction.  Add type.
(bgt_media_i, ble_media_i): Likewise.  Allow zero operands.
(bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete.
(blt_media_i, bleu_media_i, bltu_media_i): Likewise.
(bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands.

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

21 years ago * error.c (dump_function_name): Use DECL_TEMPLATE_RESULT for
sayle [Sun, 7 Jul 2002 18:56:18 +0000 (18:56 +0000)]
* error.c (dump_function_name): Use DECL_TEMPLATE_RESULT for
constructor and destructor tests when passed a TEMPLATE_DECL.

* g++.dg/template/qualttp21.C: New test case.

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

21 years ago Emit MMIX function prologue and epilogue as rtl.
hp [Sun, 7 Jul 2002 17:13:14 +0000 (17:13 +0000)]
Emit MMIX function prologue and epilogue as rtl.
* config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val,
not unprototyped get_hard_reg_initial_val.
("call_value", "nonlocal_goto_receiver"): Ditto.
("return"): Make define_expand.  Move real insn to...
("*expanded_return"): New pattern.
("prologue", "epilogue"): New define_expands.
* config/mmix/mmix.h (MMIX_rO_REGNUM): New macro.
(struct machine_function): New member in_prologue.
(FIRST_PSEUDO_REGISTER): Adjust for including rO as register.
(FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto.
(MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto.
(MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto.
(REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto.
(LOCAL_REGNO): Define.  Adjust comment.
* config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS):
Consider regs_ever_live[MMIX_rJ_REGNUM], not just
leaf_function_p.
(MMIX_OUTPUT_REGNO): Don't translate registers while outputting
the prologue.
(mmix_target_asm_function_prologue): Make static.  Just mark that
the prologue is being emitted.  Move guts to...
(mmix_expand_prologue): New function.  Adjust for emitting
prologue as rtl.  For sizes, use HOST_WIDE_INT only.
(mmix_target_asm_function_epilogue): Make static.  Simply emit a
\n.  Move guts to...
(mmix_expand_epilogue): New function.  Adjust for emitting
epilogue as rtl.  For sizes, use HOST_WIDE_INT only.
(mmix_target_asm_function_end_prologue): Mark that the prologue
has ended.
(TARGET_ASM_FUNCTION_END_PROLOGUE): Define.
(mmix_conditional_register_usage): Improve comments.
(mmix_local_regno): New function.
(mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto.
* config/mmix/mmix-protos.h (mmix_local_regno): Prototype.
(mmix_expand_prologue, mmix_expand_epilogue): Ditto.
(mmix_get_hard_reg_initial_val): Ditto.

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

21 years ago2002-07-07 Paolo Carlini <pcarlini@unitus.it>
paolo [Sun, 7 Jul 2002 10:15:06 +0000 (10:15 +0000)]
2002-07-07  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/7186
* include/bits/stl_deque.h (_Deque_iterator::operator-):
Make non-member, as already happens for the comparison
operators in accord with DR179 (Ready).
* testsuite/23_containers/deque_operators.cc: Add test02.

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

21 years agoDaily bump.
gccadmin [Sun, 7 Jul 2002 07:18:36 +0000 (07:18 +0000)]
Daily bump.

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

21 years ago* gcc.c-torture/compile/20020706-1.c: New test.
aoliva [Sat, 6 Jul 2002 17:19:51 +0000 (17:19 +0000)]
* gcc.c-torture/compile/20020706-1.c: New test.
* gcc.c-torture/compile/20020706-2.c: New test.

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

21 years ago* g++.dg/warn/incomplete1.C: New test.
aoliva [Sat, 6 Jul 2002 16:58:39 +0000 (16:58 +0000)]
* g++.dg/warn/incomplete1.C: New test.

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

21 years ago* linkage1.C, linkage1-main.cc: New test.
aoliva [Sat, 6 Jul 2002 16:16:44 +0000 (16:16 +0000)]
* linkage1.C, linkage1-main.cc: New test.

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

21 years agoChangeLog entry for my last patch:
aj [Sat, 6 Jul 2002 13:41:12 +0000 (13:41 +0000)]
ChangeLog entry for my last patch:

* toplev.c (set_fast_math_flags): Don't use ISO C style function
definitions.
* gengtype.c (open_base_files): Likewise.
(close_output_files): Likewise.
* tracer.c (find_best_predecessor): Likewise.
(find_best_successor): Likewise.
(ignore_bb_p): Likewise.

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

21 years ago * toplev.c (set_fast_math_flags): Don't use ISO C style function
aj [Sat, 6 Jul 2002 13:39:46 +0000 (13:39 +0000)]
* toplev.c (set_fast_math_flags): Don't use ISO C style function
definitions.
* gengtype.c (open_base_files): Likewise.
(close_output_files): Likewise.
* tracer.c (find_best_predecessor): Likewise.
(find_best_successor): Likewise.
(ignore_bb_p): Likewise.

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

21 years agoDaily bump.
gccadmin [Sat, 6 Jul 2002 07:17:48 +0000 (07:17 +0000)]
Daily bump.

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

21 years ago2002-07-05 Tony Kimball <alk@pobox.com>
tromey [Sat, 6 Jul 2002 05:11:53 +0000 (05:11 +0000)]
2002-07-05  Tony Kimball  <alk@pobox.com>

* java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.

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

21 years ago2002-07-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
sayle [Sat, 6 Jul 2002 00:25:30 +0000 (00:25 +0000)]
2002-07-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

        PR c++/7099
        * g++.dg/warn/noreturn1.C: New test.

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

21 years ago PR c++/7099
sayle [Sat, 6 Jul 2002 00:16:44 +0000 (00:16 +0000)]
PR c++/7099
* builtin-attrs.def: Define new attribute lists for use in
builtins.def.
* builtins.def [DEF_BUILTIN]: Modify to take an additional
ATTRS argument, an enumerated value defined in builtin-attrs.def
that represents the attribute list for the builtins.  Modify
all builtin functions to pass an appropriate attribute list.
Specify "abort", "exit", "_exit" and "_Exit" builtins here with
their required noreturn attributes.
* tree.h (enum_builtin_function): Ignore the additional parameter
to DEF_BUILTIN.
* builtins.c (built_in_names): Likewise.
* c-common.c: (builtin_function_2): Replace the "int noreturn_p"
argument with a tree representing the functions attribute list.
Pass this "attrs" argument to builtin_function.  No longer handle
the noreturn_p processing manually.
(built_in_attributes): Move the definitions from builtin-attrs.def
before c_common_nodes_and_builtins.
(c_common_nodes_and_builtins): Handle the new ATTRS parameter in
DEF_BUILTIN, passing it to both builtin_function and the changed
builtin_function_2.

* doc/extend.texi: Document __builtin_abort, __builtin_exit,
__builtin__exit and __builtin__Exit.

* java/builtins.c (initialize_builtins): Ignore the additional
parameter to DEF_BUILTIN.  Handle more C/C++ specific junk in
the builtins.def file.

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

21 years ago * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
ciceron [Fri, 5 Jul 2002 22:16:38 +0000 (22:16 +0000)]
* config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
QI mode registers in soft registers.
("zero_extendqihi2"): Do not take into account soft registers
for register allocation (use '*' constraint).

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

21 years ago * cvt.c (cp_convert_to_pointer): Call force_fit_type for null
jason [Fri, 5 Jul 2002 22:10:25 +0000 (22:10 +0000)]
    * cvt.c (cp_convert_to_pointer): Call force_fit_type for null
        pointers.

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

21 years ago * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
ciceron [Fri, 5 Jul 2002 21:59:17 +0000 (21:59 +0000)]
* config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
it is dead.
("*ashrsi3"): Likewise.
("*lshrsi3"): Likewise.

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

21 years ago2002-07-05 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Fri, 5 Jul 2002 21:40:16 +0000 (21:40 +0000)]
2002-07-05  Vladimir Makarov  <vmakarov@redhat.com>

* genautomata.c (output_max_insn_queue_index_def): Take latencies
into account.

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

21 years ago * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
ciceron [Fri, 5 Jul 2002 21:31:31 +0000 (21:31 +0000)]
* config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
address computation and memory moves.

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

21 years ago2002-07-04 Tom Tromey <tromey@redhat.com>
tromey [Fri, 5 Jul 2002 20:40:11 +0000 (20:40 +0000)]
2002-07-04  Tom Tromey  <tromey@redhat.com>
            Jeff Sturm  <jsturm@one-point.com>

Fix for PR libgcj/7060:
* java/lang/Class.h (_getMethod): Renamed from getMethod.
* java/lang/natClass.cc (_getMethod): Renamed from getMethod.
Recurse into superinterfaces.  Don't throw NoSuchMethodException.
* java/lang/Class.java (getMethod): New Java implementation;
complies with spec.
(_getMethod): New native method.

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

21 years ago PR c++/6706
mmitchel [Fri, 5 Jul 2002 16:40:01 +0000 (16:40 +0000)]
PR c++/6706
* dwarfout.c (output_reg_number): Fix warning message.
(output_bound_representation): Check SAVE_EXPR_RTL is not NULL
before using it.

PR c++/6706
* g++.dg/debug/debug6.C: New test.
* g++.dg/debug/debug7.C: New test.

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

21 years ago PR optimization/7145
jason [Fri, 5 Jul 2002 15:16:56 +0000 (15:16 +0000)]
    PR optimization/7145
        * tree.c (cp_copy_res_decl_for_inlining): Also copy DECL_INITIAL.

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

21 years ago PR optimization/7145
jason [Fri, 5 Jul 2002 15:01:04 +0000 (15:01 +0000)]
    PR optimization/7145
        * tree.c (cp_copy_res_decl_for_inlining): Also copy DECL_INITIAL.

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

21 years agocopyright date updated
nathan [Fri, 5 Jul 2002 12:34:58 +0000 (12:34 +0000)]
copyright date updated

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

21 years ago * gcc/gcc.c (asm_debug): Move initialization ...
ro [Fri, 5 Jul 2002 12:33:52 +0000 (12:33 +0000)]
* gcc/gcc.c (asm_debug): Move initialization ...
(init_spec): ... here.

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

21 years ago * c-parse.in (extdef): Append ';'.
nathan [Fri, 5 Jul 2002 12:31:59 +0000 (12:31 +0000)]
* c-parse.in (extdef): Append ';'.
(old_style_parm_decls): Append ';'.

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

21 years ago Repair damage on weak-impared targets caused by my previous patch.
nathan [Fri, 5 Jul 2002 10:40:47 +0000 (10:40 +0000)]
Repair damage on weak-impared targets caused by my previous patch.
* cp-tree.h (import_export_tinfo): Add parameter.
* decl2.c (import_export_tinfo): Add parameter, post adjust
DECL_COMDAT.
* rtti.c (emit_tinfo_decl): DECL_COMDAT is (nearly) always setup by
import_export_tinfo.

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

21 years agoDaily bump.
gccadmin [Fri, 5 Jul 2002 07:17:18 +0000 (07:17 +0000)]
Daily bump.

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

21 years ago* ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*.
aoliva [Thu, 4 Jul 2002 22:52:03 +0000 (22:52 +0000)]
* ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*.

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

21 years ago* configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to
aoliva [Thu, 4 Jul 2002 22:43:29 +0000 (22:43 +0000)]
* configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to
gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag
to gcc_cv_as_gstabs_flag.
* configure: Rebuilt.

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

21 years ago * ggc.h (ggc_add_root): Document as obsolete.
geoffk [Thu, 4 Jul 2002 21:24:25 +0000 (21:24 +0000)]
* ggc.h (ggc_add_root): Document as obsolete.

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

21 years ago2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 4 Jul 2002 09:20:01 +0000 (09:20 +0000)]
2002-07-04  Benjamin Kosnik  <bkoz@redhat.com>
            Jack Reeves  <jackw_reeves@hotmail.com>

* include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
size_t, from int_type.
  (basic_streambuf::_M_buf_size_opt): Same.
  (basic_streambuf::_S_pback_sizex): Same.
* include/bits/streambuf.tcc: Same.
* include/std/std_streambuf.h (basic_streambuf::snextc): Use
eq_int_type.
(basic_streambuf::uflow): Same.
* include/bits/sstream.tcc (basic_stringbuf::overflow): Use
to_char_type.
* include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
* include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
eq_int_type.
(basic_streambuf::xsputn): Same.
(__copy_streambufs): Same.

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

21 years ago2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 4 Jul 2002 07:25:19 +0000 (07:25 +0000)]
2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>

* include/std/std_memory.h: Fix formatting.
* testsuite/20_util/auto_ptr_neg.cc: New.
* testsuite/20_util/auto_ptr.cc: Tweaks.
* testsuite/23_containers/map_operators.cc (test01): Split into..
* testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
* testsuite/23_containers/set_operators.cc: Move to...
* testsuite/23_containers/set_operators_neg.cc: ...here.
* testsuite/README: Add some more naming rules.

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

21 years agoDaily bump.
gccadmin [Thu, 4 Jul 2002 07:17:50 +0000 (07:17 +0000)]
Daily bump.

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

21 years ago * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE.
amylaar [Thu, 4 Jul 2002 07:02:48 +0000 (07:02 +0000)]
* sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE.
(mshflo_w): Likewise.

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

21 years agogcc:
amylaar [Thu, 4 Jul 2002 06:38:56 +0000 (06:38 +0000)]
gcc:
* simplify-rtx.c (simplify_subreg): Reduce problem of finding
vector mode subregs of constants to finding integer mode
subregs of constants.
* cse.c (cse_insn): Use simplify_gen_subreg.
* convert.c (convert_to_integer): Don't strip a NOP_EXPR
From a vector mode expression of different size than the
target mode.
gcc/testsuite:
* gcc.c-torture/compile/simd-3.c: New test.

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

21 years ago2002-07-03 Eric Christopher <echristo@redhat.com>
echristo [Thu, 4 Jul 2002 05:03:02 +0000 (05:03 +0000)]
2002-07-03  Eric Christopher  <echristo@redhat.com>

* config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC.
* config/mips/mips.h: Remove deprecated -m<processor> options
and cc1_cpu_spec associated.
(CONSTANT_ADDRESS_P): Fix last patch.
(ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment.
* config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df,
sunge_sf): Remove.

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

21 years ago2002-07-03 Steev Wilcox <steev@paradigmds.com>
bkoz [Thu, 4 Jul 2002 00:28:03 +0000 (00:28 +0000)]
2002-07-03  Steev Wilcox  <steev@paradigmds.com>

PR libstdc++/7057
* include/ext/stl_hashtable.h: Fix.
* testsuite/ext/hash_map.cc: New.

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

21 years ago2002-07-03 Chris Demetriou <cgd@broadcom.com>
cgd [Wed, 3 Jul 2002 23:09:11 +0000 (23:09 +0000)]
2002-07-03  Chris Demetriou  <cgd@broadcom.com>

        * g++.dg/abi/mangle6.C: Run for mipsisa64*-*-* targets.
        * gcc.dg/20020620-1.c: Likewise.

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

21 years ago * configure.in: Make --without-x work.
neroden [Wed, 3 Jul 2002 22:50:35 +0000 (22:50 +0000)]
* configure.in: Make --without-x work.

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

21 years ago2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
pme [Wed, 3 Jul 2002 22:25:06 +0000 (22:25 +0000)]
2002-07-03  Jack Reeves  <jackw_reeves@hotmail.com>
            Kenny Simpson  <theonetruekenny@yahoo.com>
            Phil Edwards  <pme@gcc.gnu.org>

PR libstdc++/3946
* testsuite/20_util/auto_ptr.cc (test08):  New test.
* include/std/std_memory.h (auto_ref_ptr):  Make constructor explicit.
(auto_ptr::operator auto_ptr_ref):  Fix typo.
General reformatting and doxygenating of the whole file.

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

21 years ago * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC.
shebs [Wed, 3 Jul 2002 21:50:12 +0000 (21:50 +0000)]
    * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC.
        (STRINGIFY_THIS, REALLY_STRINGIFY): Remove.
        (CPP_SPEC): Remove insertion of APPLE_CC definition.

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

21 years ago * combine.c (struct_undo): Change types of recorded substitutions
sayle [Wed, 3 Jul 2002 21:00:23 +0000 (21:00 +0000)]
* combine.c (struct_undo): Change types of recorded substitutions
to be either "int" or "rtx", instead of "unsigned int" and "rtx".
(do_SUBST_INT): Change types of the substitution from unsigned int
to int, to avoid compilation warning from SUBST_INT's only caller.

(make_extraction): Add cast to avoid compilation warning.
(force_to_mode): Remove cast to avoid compilation warning.

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

21 years ago2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 3 Jul 2002 17:14:21 +0000 (17:14 +0000)]
2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/7097
* include/c/std_cwchar.h: Fix.

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

21 years ago * i386.md (length_immediate attribute): Fix typo.
law [Wed, 3 Jul 2002 17:02:39 +0000 (17:02 +0000)]
    * i386.md (length_immediate attribute): Fix typo.
        (length_address attribute): Likewise.
        (modrm attribute): Set it to 0 for immediate call instructions.
        (jcc_1 pattern): Set modrm attribute to 0.
        (jcc_2 pattern ): Likewise.
        (jump pattern): Likewise.
        (doloop_end_internal pattern): Explicitly set length.
        (leave pattern): Fix typo.
        (leave_rex64 pattern): Likewise.

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

21 years ago PR c++/6944
lerdsuwa [Wed, 3 Jul 2002 15:46:21 +0000 (15:46 +0000)]
PR c++/6944
* init.c (build_aggr_init): Remove qualifiers of init before calling
build_vec_init.
(build_vec_init): Flatten multi-dimensional array during cleanup.
(build_vec_delete_1): Abort if the type of each element is array.

* g++.dg/init/array4.C: New test.
* g++.dg/init/array5.C: New test.

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

21 years ago * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
dje [Wed, 3 Jul 2002 14:41:22 +0000 (14:41 +0000)]
    * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
        in FPR as preference.
        (fctiwz): Same.
        (floatdidf2, fix_truncdfdi2): Same.
        (floatdisf2, floatditf2, fix_trunctfdi2): Same.
        (floatditf2): Same.
        (floatsitf2, fix_trunctfsi2): SImode in GPR.
        (ctrdi): Remove FPR alternative and splitter.

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

21 years ago2002-07-02 Will Cohen <wcohen@redhat.com>
wcohen [Wed, 3 Jul 2002 14:15:44 +0000 (14:15 +0000)]
2002-07-02  Will Cohen <wcohen@redhat.com>

* config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro.

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

21 years ago * pt.c (instantiate_class_template): Fix typo.
lerdsuwa [Wed, 3 Jul 2002 12:13:31 +0000 (12:13 +0000)]
* pt.c (instantiate_class_template): Fix typo.

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

21 years agogcc:
amylaar [Wed, 3 Jul 2002 09:49:46 +0000 (09:49 +0000)]
gcc:
* optabs.c (expand_vector_binop): Don't store using a SUBREG smaller
than UNITS_PER_WORD, unless this is little endian and the first unit
in this word.  Let extract_bit_field decide how to load an element.
Force arguments to matching mode.
(expand_vector_unop): Likewise.

* simplify-rtx.c (simplify_subreg): Don't assume that all vectors
consist of word_mode elements.
* c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR,
BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR.
(build_unary_op): Allow vector types for BIT_NOT_EPR.
* emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for
CONST_VECTOR.
* optabs.c (expand_vector_binop): Try to perform operation in
smaller vector modes with same inner size.  Add handling of AND, IOR
and XOR.  Reject expansion to inner-mode sized scalars when using
OPTAB_DIRECT.  Use simplify_gen_subreg on constants.
(expand_vector_unop): Try to perform operation in smaller vector
modes with same inner size.  Add handling of one's complement.
When there is no vector negate operation, try a vector subtract
operation.  Use simplify_gen_subreg on constants.
* simplify-rtx.c (simplify_subreg): Add capability to convert vector
constants into smaller vectors with same inner mode, and to
integer CONST_DOUBLEs.

gcc/testsuite:
* gcc.c-torture/execute/simd-1.c (main): Also test &, |, ^, ~.
* gcc.c-torture/execute/simd-2.c (main): Likewise.

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

21 years agoDaily bump.
gccadmin [Wed, 3 Jul 2002 07:17:24 +0000 (07:17 +0000)]
Daily bump.

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