gcc.git
22 years agogcc.c (init_gcc_specs): Get -static and -static-libgcc to override -shared and -share...
Alexandre Oliva [Fri, 1 Mar 2002 00:50:39 +0000 (00:50 +0000)]
gcc.c (init_gcc_specs): Get -static and -static-libgcc to override -shared and -shared-libgcc.

* gcc.c (init_gcc_specs): Get -static and -static-libgcc to
override -shared and -shared-libgcc.

From-SVN: r50171

22 years agoconfigure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for libjava.
Alexandre Oliva [Fri, 1 Mar 2002 00:49:53 +0000 (00:49 +0000)]
configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for libjava.

* configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
libjava.
(CXX_FOR_TARGET): Explain why -shared-libgcc here.

From-SVN: r50169

22 years ago* expr.c (build_java_arraystore_check): Fix formatting.
Bryce McKinlay [Thu, 28 Feb 2002 23:27:09 +0000 (23:27 +0000)]
* expr.c (build_java_arraystore_check): Fix formatting.

From-SVN: r50167

22 years agoconfig.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification of "ultrasparc".
David O'Brien [Thu, 28 Feb 2002 23:06:25 +0000 (23:06 +0000)]
config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification of "ultrasparc".

2002-02-28  David O'Brien  <obrien@FreeBSD.org>
* config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
of "ultrasparc".
* config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS.  It appears
to be broken.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020228100723.A30279@redhat.com>

From-SVN: r50165

22 years agolocale_facets.tcc (num_get::_M_extract_int): Admit grouping for octals and hexadecima...
Paolo Carlini [Thu, 28 Feb 2002 21:16:45 +0000 (22:16 +0100)]
locale_facets.tcc (num_get::_M_extract_int): Admit grouping for octals and hexadecimals too.

2002-02-28  Paolo Carlini  <pcarlini@unitus.it>

        * include/bits/locale_facets.tcc (num_get::_M_extract_int):
        Admit grouping for octals and hexadecimals too.
        * testsuite/22_locale/num_get_members_char.cc: Add test04.
        (test01): Tweak "." -> "," in void* test.
        * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.

        * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
        * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.

From-SVN: r50162

22 years agoia64.c (ia64_adjust_cost): All non-MM consumers have 4 cycle latency from MM producers.
Richard Henderson [Thu, 28 Feb 2002 19:48:40 +0000 (11:48 -0800)]
ia64.c (ia64_adjust_cost): All non-MM consumers have 4 cycle latency from MM producers.

        * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
        4 cycle latency from MM producers.
        (ia64_internal_sched_reorder): Likewise with pipeline flush.

From-SVN: r50160

22 years ago* mklibgcc.in: Don't use GNU make extension.
Jakub Jelinek [Thu, 28 Feb 2002 18:56:55 +0000 (19:56 +0100)]
* mklibgcc.in: Don't use GNU make extension.

From-SVN: r50156

22 years agoc-parse.in (STATIC): New terminal.
Neil Booth [Thu, 28 Feb 2002 18:51:14 +0000 (18:51 +0000)]
c-parse.in (STATIC): New terminal.

* c-parse.in (STATIC): New terminal.
(scspec): New non-terminal.  Update productions accordingly.
(program): Remove bogus ifc / end ifc.
(array_declarator): Simplify production using STATIC.

From-SVN: r50155

22 years agocpplex.c (cpp_parse_escape): Restore mistakenly-removed code: \a still means TARGET_BELL.
Jim Meyering [Thu, 28 Feb 2002 18:46:17 +0000 (18:46 +0000)]
cpplex.c (cpp_parse_escape): Restore mistakenly-removed code: \a still means TARGET_BELL.

* cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
\a still means TARGET_BELL.

From-SVN: r50154

22 years agohaifa-sched.c (sched_emit_insn): New.
Richard Henderson [Thu, 28 Feb 2002 18:32:12 +0000 (10:32 -0800)]
haifa-sched.c (sched_emit_insn): New.

        * haifa-sched.c (sched_emit_insn): New.
        (schedule_block): Use last_scheduled_insn to track last insn.
        * sched-int.h (sched_emit_insn): Prototype.
        * config/ia64/ia64.c (last_issued): Remove.
        (ia64_variable_issue): Don't set it.
        (nop_cycles_until): Use sched_emit_insn.

From-SVN: r50153

22 years agosparc.c (sparc64_initialize_trampoline): Generate sign extended constants.
Andrew MacLeod [Thu, 28 Feb 2002 18:31:00 +0000 (18:31 +0000)]
sparc.c (sparc64_initialize_trampoline): Generate sign extended constants.

* config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
extended constants.

From-SVN: r50152

22 years agoh8300.c: Fix formatting.
Kazu Hirata [Thu, 28 Feb 2002 18:13:06 +0000 (18:13 +0000)]
h8300.c: Fix formatting.

* config/h8300/h8300.c: Fix formatting.
* config/h8300/h8300.h: Likewise.

From-SVN: r50150

22 years agosearch.c (lookup_base_r): Don't clear is_non_public just because we found a friendly...
Jason Merrill [Thu, 28 Feb 2002 15:46:31 +0000 (10:46 -0500)]
search.c (lookup_base_r): Don't clear is_non_public just because we found a friendly scope.

        * search.c (lookup_base_r): Don't clear is_non_public just because
        we found a friendly scope.

From-SVN: r50143

22 years agosearch.c (lookup_base_r): Don't clear is_non_public just because we found a friendly...
Jason Merrill [Thu, 28 Feb 2002 15:32:38 +0000 (10:32 -0500)]
search.c (lookup_base_r): Don't clear is_non_public just because we found a friendly scope.

        * search.c (lookup_base_r): Don't clear is_non_public just because
        we found a friendly scope.

From-SVN: r50140

22 years agoavr.c (avr_hard_regno_mode_ok): Do not allow r29 which may overwrite the high byte...
Marek Michalkiewicz [Thu, 28 Feb 2002 15:23:54 +0000 (16:23 +0100)]
avr.c (avr_hard_regno_mode_ok): Do not allow r29 which may overwrite the high byte of the frame pointer.

* config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
which may overwrite the high byte of the frame pointer.

From-SVN: r50138

22 years agolinux64.h (LINK_SPEC): Fix 32/64 bit compilation.
Bo Thorsen [Thu, 28 Feb 2002 15:16:17 +0000 (15:16 +0000)]
linux64.h (LINK_SPEC): Fix 32/64 bit compilation.

2002-02-28  Bo Thorsen  <bo@suse.de>

* config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
(STARTFILE_SPEC): Add 64 bit files.
(ENDFILE_SPEC): Likewise.

From-SVN: r50137

22 years agoc-decl.c (finish_function): Only warn about missing return statement with -Wreturn...
Jason Merrill [Thu, 28 Feb 2002 13:30:04 +0000 (08:30 -0500)]
c-decl.c (finish_function): Only warn about missing return statement with -Wreturn-type.

        * c-decl.c (finish_function): Only warn about missing return
        statement with -Wreturn-type.
        * cp/decl.c (finish_function): Only warn about missing return
        statement with -Wreturn-type.

From-SVN: r50132

22 years agoexpr.c (java_array_data_offset): Removed function.
Bryce McKinlay [Thu, 28 Feb 2002 11:40:29 +0000 (11:40 +0000)]
expr.c (java_array_data_offset): Removed function.

* expr.c (java_array_data_offset): Removed function.
(JAVA_ARRAY_LENGTH_OFFSET): Removed macro.
(build_java_array_length_access): Obtain "length" value using a
COMPONENT_REF, instead of INDIRECT_REF and arithmetic.
(build_java_arrayaccess): Correct comment. Access "data" using a
COMPONENT_REF, and return an ARRAY_REF instead of an INDIRECT_REF.
(build_java_arraystore_check): New function.
(expand_java_arraystore): Use build_java_arraystore_check.
* parse.y (patch_assignment): Simplify code to insert a store check
when lvalue is an ARRAY_REF. Use build_java_arraystore_check.
* check-init.c (check_init): Update to reflect that an array length
access is now a COMPONENT_REF.
* gcj.texi (Code Generation): Improve documentation of
-fno-bounds-check. Add documentation for -fno-store-check.
* java-tree.h (flag_store_check): Declare.
(build_java_arraystore_check): Declare.
* lang.c (flag_store_check): Initialize to 1.
(lang_f_options): Add store-check option.
* jvspec.c: Don't pass store-check option to jvgenmain.
* lang-options.h: Add help string for -fno-store-check.

From-SVN: r50129

22 years agocfgrtl.c (purge_dead_edges): Fix handling of EH edges.
Jan Hubicka [Thu, 28 Feb 2002 11:03:16 +0000 (11:03 +0000)]
cfgrtl.c (purge_dead_edges): Fix handling of EH edges.

* cfgrtl.c (purge_dead_edges): Fix handling of EH edges.

* i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM

From-SVN: r50128

22 years agobasic-block.h (BB_REACHABLE): Renumber.
Jan Hubicka [Thu, 28 Feb 2002 10:11:01 +0000 (10:11 +0000)]
basic-block.h (BB_REACHABLE): Renumber.

* basic-block.h (BB_REACHABLE): Renumber.
(BB_DIRTY, BB_NEW): New flags.
(clear_bb_flags): Declare.
(update_life_info_in_dirty_blocks): Declare.
* cfg.c (clear_bb_flags): New function.
* cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
* emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
reorder_insns, emit_insn_after): Mark block as dirty.
* flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
(update_life_info_in_dirty_blocks): New function.
* recog.c (apply_change_group): Dirtify block.

* cse.c (cse_insn): Reorder emitting of jump insn to keep
cfg consistent.
* gcse.c (delete_null_pointer_checks): Likewise.

* toplev.c (dump_file_index): Move cse2 after bp,
add DFI_null
(dump_file_info): Similary.
(rest_of_compilation): Avoid most of CFG rebuilds;
do first if converision after null pointer checks, do cse2
after branch prediction; avoid full liveness rebuild after
initializing subregs.
* invoke.texi (-d options): Document -du, renumber.

* cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
(notice_new_block): Do not set BB_UPDATE_LIFE.
(try_forward_edges, merge_blocks_move_predecessor_nojumps,
 merge_blocks_move_successor_nojumps, merge_blocks,
 try_crossjump_to_edge): Likewise.
(try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
* cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
* ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
(merge_of_block): Do not use life_data_ok.
(find_if_case_1): Do not use SET_UPDATE_LIFE.
(if_convert): Use BB_DIRTY mechanizm to update life.
* lcm.c (optimize_mode_switching): Update
update_life_info_in_dirty_blocks

From-SVN: r50127

22 years agoDaily bump.
GCC Administrator [Thu, 28 Feb 2002 08:17:15 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r50126

22 years agoMakefile.in (integrate.o): Update.
Neil Booth [Thu, 28 Feb 2002 07:39:44 +0000 (07:39 +0000)]
Makefile.in (integrate.o): Update.

* Makefile.in (integrate.o): Update.
* c-decl.c (copy_lang_decl): Rename.
* c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
* integrate.c: Include langhooks.h.
(copy_decl_for_inlining): Update to use langhook.
* langhooks-def.h (lhd_do_nothing_t,
LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.c (lhd_do_nothing_t): New.
* langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
* tree.h (copy_lang_decl): Remove.
ada:
* misc.c (copy_lang_decl): Remove.
cp:
* class.c (build_clone): Update.
* cp-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
* cp-tree.h (cxx_dup_lang_specific_decl): New.
* lex.c (copy_lang_decl): Rename cxx_dup_lang_specific_decl.
(copy_decl): Update.
* method.c (make_thunk): Update.
f:
* com.c (copy_lang_decl): Delete.
java:
* decl.c (copy_lang_decl): Rename java_dup_lang_specific_decl.
* java-tree.h (java_dup_lang_specific_decl): New.
* lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
objc:
* objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.

From-SVN: r50122

22 years agodwarf2out.c (stack_adjust_offset): Add support for POST_INC, POST_DEC, and POST_MODIFY.
Andrew MacLeod [Thu, 28 Feb 2002 03:09:41 +0000 (03:09 +0000)]
dwarf2out.c (stack_adjust_offset): Add support for POST_INC, POST_DEC, and POST_MODIFY.

* dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
POST_DEC, and POST_MODIFY.

From-SVN: r50121

22 years agonatInetAddress.cc: Changed USE_WINSOCK to WIN32, added '#undef STRICT'.
Adam Megacz [Thu, 28 Feb 2002 01:03:37 +0000 (01:03 +0000)]
natInetAddress.cc: Changed USE_WINSOCK to WIN32, added '#undef STRICT'.

2002-02-27  Adam Megacz <adam@xwt.org>

        * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
        '#undef STRICT'.

From-SVN: r50120

22 years agoc-typeck.c (digest_init): Remove unused parameter; all callers changed.
Zack Weinberg [Wed, 27 Feb 2002 22:14:59 +0000 (22:14 +0000)]
c-typeck.c (digest_init): Remove unused parameter; all callers changed.

* c-typeck.c (digest_init): Remove unused parameter; all
callers changed.

From-SVN: r50118

22 years ago* gcc.c-torture/execute/20020227-1.c: New test.
Hans-Peter Nilsson [Wed, 27 Feb 2002 21:16:55 +0000 (21:16 +0000)]
* gcc.c-torture/execute/20020227-1.c: New test.

From-SVN: r50117

22 years ago* gcc.c-torture/execute/20020227-1.c: New test.
Hans-Peter Nilsson [Wed, 27 Feb 2002 21:11:19 +0000 (21:11 +0000)]
* gcc.c-torture/execute/20020227-1.c: New test.

From-SVN: r50116

22 years agovisibility13.C: Remove "instantiated from here" ERROR lines.
Mark Mitchell [Wed, 27 Feb 2002 20:29:45 +0000 (20:29 +0000)]
visibility13.C: Remove "instantiated from here" ERROR lines.

* g++.old-deja/g++.law/visibility13.C: Remove "instantiated from
here" ERROR lines.
* g++.old-deja/g++.oliva/partord1.C: Likewise.
* g++.old-deja.g++.other/defarg1.C: Likewise.
* g++.old-deja/g++.pt/calls2.C: Likewise.
* g++.old-deja/g++.pt/crash20.C: Likewise.
* g++.old-deja/g++.pt/crash30.C: Likewise.
* g++.old-deja/g++.pt/crash36.C: Likewise.
* g++.old-deja/g++.pt/crash6.C: Likewise.
* g++.old-deja/g++.pt/defarg13.C: Likewise.
* g++.old-deja/g++.pt/derived3.C: Likewise.
* g++.old-deja/g++.pt/error1.C: Likewise.
* g++.old-deja/g++.pt/friend21.C: Likewise.
* g++.old-deja/g++.pt/friend23.C: Likewise.
* g++.old-deja/g++.pt/infinite1.C: Likewise.
* g++.old-deja/g++.robertl/eb128.C: Likewise.

From-SVN: r50115

22 years agoIndex: ChangeLog
Geoffrey Keating [Wed, 27 Feb 2002 20:27:38 +0000 (20:27 +0000)]
Index: ChangeLog

* expmed.c (expand_shift): Correctly test for low part of a
subreg.

Index: testsuite/ChangeLog

* gcc.c-torture/execute/20020225-2.c: New test.

From-SVN: r50114

22 years agos390.c (s390_chunkify_pool): Do not confuse insn UIDs with insn addresses.
Ulrich Weigand [Wed, 27 Feb 2002 20:20:54 +0000 (20:20 +0000)]
s390.c (s390_chunkify_pool): Do not confuse insn UIDs with insn addresses.

* config/s390/s390.c (s390_chunkify_pool): Do not confuse
insn UIDs with insn addresses.

From-SVN: r50112

22 years agoios_manip_basefield.cc (test01): Fix for 64 bit machines.
Paolo Carlini [Wed, 27 Feb 2002 19:54:32 +0000 (20:54 +0100)]
ios_manip_basefield.cc (test01): Fix for 64 bit machines.

2002-02-27  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/ios_manip_basefield.cc (test01):
Fix for 64 bit machines.

From-SVN: r50111

22 years agoc-common.c, [...]: Delete code implementing -traditional mode.
Zack Weinberg [Wed, 27 Feb 2002 18:48:07 +0000 (18:48 +0000)]
c-common.c, [...]: Delete code implementing -traditional mode.

* c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
gcc.c, toplev.c: Delete code implementing -traditional mode.

* ada/misc.c, ch/ch-tree.h, ch/decl.c, cp/decl2.c, f/com.c,
f/lex.c, f/top.c, java/builtins.c, java/decl.c: Delete
traditional-mode-related code copied from the C front end
but not used, or used only to permit the compiler to link.

* doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
Document removal of -traditional mode for compilation, and
remove documentation only relevant to that mode.

* config/nextstep.h, config/ptx4.h, config/svr4.h,
config/convex/convex.h, config/d30v/d30v.h,
config/i386/dgux.h, config/i386/osf1elf.h,
config/i386/osfelf.h, config/i386/osfrose.h,
config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
config/m68k/hp310.h, config/m88k/dgux.h,
config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
config/m88k/m88k.h, config/m88k/openbsd.h,
config/mips/abi64.h, config/mips/osfrose.h,
config/mips/svr4-5.h, config/mips/svr4-t.h,
config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
config/stormy16/stormy16.h: Remove all references to
-traditional from target specs.  Delete all mention of the
no-longer-necessary TRADITIONAL_RETURN_FLOAT macro.  Also
delete a couple of commented-out definitions of
DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
to -traditional.

* system.h: Poison TRADITIONAL_RETURN_FLOAT.
* doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.

* testsuite/gcc.c-torture/execute/920730-1t.c,
testsuite/gcc.c-torture/execute/920730-1t.x,
testsuite/gcc.dg/ext-glob.c: Delete test cases, only relevant
to -traditional.

From-SVN: r50110

22 years agomklibgcc.in: Don't use \n in a line subject to interpretation by echo.
Zack Weinberg [Wed, 27 Feb 2002 18:40:15 +0000 (18:40 +0000)]
mklibgcc.in: Don't use \n in a line subject to interpretation by echo.

* mklibgcc.in: Don't use \n in a line subject to
interpretation by echo.

From-SVN: r50109

22 years agors6000.h (ASM_OUTPUT_DEF_FROM_DELC): Constify NAME.
Graham Stott [Wed, 27 Feb 2002 15:08:07 +0000 (15:08 +0000)]
rs6000.h (ASM_OUTPUT_DEF_FROM_DELC): Constify NAME.

        * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
        Constify NAME.

From-SVN: r50102

22 years ago* loop.c (prescan_loop): Handle PARALLEL.
Graham Stott [Wed, 27 Feb 2002 15:03:05 +0000 (15:03 +0000)]
* loop.c (prescan_loop): Handle PARALLEL.

From-SVN: r50101

22 years agounroll.c (loop_iterations): Return 0 if the add_val for a BIV is REG.
Graham Stott [Wed, 27 Feb 2002 15:01:10 +0000 (15:01 +0000)]
unroll.c (loop_iterations): Return 0 if the add_val for a BIV is REG.

        * unroll.c (loop_iterations): Return 0 if the add_val for
        a BIV is REG.

From-SVN: r50100

22 years ago* final.c (output_operand_lossage): Constify PFX_STR.
Graham Stott [Wed, 27 Feb 2002 13:53:50 +0000 (13:53 +0000)]
* final.c (output_operand_lossage): Constify PFX_STR.

From-SVN: r50099

22 years ago* df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
Graham Stott [Wed, 27 Feb 2002 13:50:57 +0000 (13:50 +0000)]
* df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.

From-SVN: r50098

22 years agolinux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
Jan Hubicka [Wed, 27 Feb 2002 09:47:27 +0000 (10:47 +0100)]
linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.

Wed Feb 27 10:45:19 CET 2002  Jan Hubicka  <jh@suse.cz>

* linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
* x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.

From-SVN: r50097

22 years ago* linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
Jan Hubicka [Wed, 27 Feb 2002 09:40:32 +0000 (10:40 +0100)]
* linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.

From-SVN: r50096

22 years agoDaily bump.
GCC Administrator [Wed, 27 Feb 2002 08:19:19 +0000 (08:19 +0000)]
Daily bump.

From-SVN: r50095

22 years agocpplex.c (_cpp_lex_token): Handle directives in macro arguments.
Neil Booth [Wed, 27 Feb 2002 07:24:53 +0000 (07:24 +0000)]
cpplex.c (_cpp_lex_token): Handle directives in macro arguments.

* cpplex.c (_cpp_lex_token): Handle directives in macro
arguments.
* cpplib.c (_cpp_handle_directive): Save and restore state
if parsing macro args when entering a directive.
* cppmacro.c (collect_args): No need to handle directives
in macro arguments.
(enter_macro_context, replace_args): Use the original macro
definition in case it was redefined whilst collecting arguments.
doc:
* cpp.texi: Update.
testsuite:
* gcc.dg/cpp/undef1.c: Remove.
* gcc.dg/cpp/directiv.c: Update.
* gcc.dg/cpp/mac-dir-1.c, mac-dir-2.c: New tests.

From-SVN: r50091

22 years ago[multiple changes]
David Edelsohn [Wed, 27 Feb 2002 05:42:20 +0000 (00:42 -0500)]
[multiple changes]

2002-02-26  David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
        * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
        * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
        method on AIX.
        * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
        (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
        (load_toc_v4_PIC_2): Same.

2002-02-26  Alan Modra  <amodra@bigpond.net.au>

        * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.

From-SVN: r50090

22 years agonatSystem.cc (init_properties): Use __VERSION__.
Tom Tromey [Wed, 27 Feb 2002 05:32:29 +0000 (05:32 +0000)]
natSystem.cc (init_properties): Use __VERSION__.

* java/lang/natSystem.cc (init_properties): Use __VERSION__.
* gij.cc (version): Use __VERSION__.
* include/config.h.in: Rebuilt.
* acconfig.h (GCJVERSION): Removed.
* configure: Rebuilt.
* configure.in (GCJVERSION): Removed.

From-SVN: r50088

22 years agoAdd 20020226-1.c to test rotate patterns
Michael Meissner [Wed, 27 Feb 2002 05:28:58 +0000 (05:28 +0000)]
Add 20020226-1.c to test rotate patterns

From-SVN: r50087

22 years agoacinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of glibcpp_CXX, since libjav...
Andreas Schwab [Wed, 27 Feb 2002 02:18:09 +0000 (02:18 +0000)]
acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of glibcpp_CXX, since libjava uses even another CXX.

2002-02-26  Andreas Schwab  <schwab@suse.de>

* acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
glibcpp_CXX, since libjava uses even another CXX.
* aclocal.m4, configure: Regenerated.

From-SVN: r50084

22 years ago* config/alpha/alpha.md (ashldi_se): Re-enable.
Richard Henderson [Wed, 27 Feb 2002 01:52:18 +0000 (17:52 -0800)]
* config/alpha/alpha.md (ashldi_se): Re-enable.

From-SVN: r50083

22 years agoalpha.c (alpha_encode_section_info): Examine MODULE_LOCAL_P; improve commentary.
Richard Henderson [Wed, 27 Feb 2002 01:48:57 +0000 (17:48 -0800)]
alpha.c (alpha_encode_section_info): Examine MODULE_LOCAL_P; improve commentary.

        * config/alpha/alpha.c (alpha_encode_section_info): Examine
        MODULE_LOCAL_P; improve commentary.

From-SVN: r50082

22 years agonatPosixProcess.cc (startProcess): Use FD_CLOEXEC, not `1'.
Tom Tromey [Wed, 27 Feb 2002 01:39:30 +0000 (01:39 +0000)]
natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not `1'.

* java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
`1'.

From-SVN: r50081

22 years agocpp.texi: Clarify documentation of relationship between #line and #include.
Zack Weinberg [Wed, 27 Feb 2002 01:26:04 +0000 (01:26 +0000)]
cpp.texi: Clarify documentation of relationship between #line and #include.

* doc/cpp.texi: Clarify documentation of relationship between
#line and #include.

From-SVN: r50079

22 years agoh8300-protos.h: Update the prototype for compute_logical_op_length.
Kazu Hirata [Wed, 27 Feb 2002 01:09:50 +0000 (01:09 +0000)]
h8300-protos.h: Update the prototype for compute_logical_op_length.

* config/h8300/h8300-protos.h: Update the prototype for
compute_logical_op_length.  Add the prototype for
compute_logical_op_cc.
* config/h8300/h8300.c (compute_logical_op_length): Figure out
code from operands.
(compute_logical_op_cc): New.
* config/h8300/h8300.md: Combine all the logical op patterns
in HImode and SImode.  Use compute_logical_op_cc.

From-SVN: r50078

22 years agobasic_ios.tcc (basic_ios::init): Set _M_fill to zero.
Benjamin Kosnik [Wed, 27 Feb 2002 01:01:59 +0000 (01:01 +0000)]
basic_ios.tcc (basic_ios::init): Set _M_fill to zero.

2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
Adjust comment.
* include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
(basic_ios::_M_fill_init): New.
(basic_ios::fill()): Delay dealing with _M_fill.
Adjust comment.
* testsuite/27_io/ios_init.cc (test02): Adjust testcase.

From-SVN: r50077

22 years agobasic_ios.tcc (basic_ios::init): Set _M_fill to zero.
Benjamin Kosnik [Wed, 27 Feb 2002 01:01:31 +0000 (01:01 +0000)]
basic_ios.tcc (basic_ios::init): Set _M_fill to zero.

2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
Adjust comment.
* include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
(basic_ios::_M_fill_init): New.
(basic_ios::fill()): Deal with _M_fill lazily.
Adjust comment.
* testsuite/27_io/ios_init.cc (test02): Adjust testcase.

From-SVN: r50076

22 years agoi386.c (print_operand): Don't append ATT-style length suffixs to x87 opcodes when...
Kelley Cook [Wed, 27 Feb 2002 00:29:00 +0000 (16:29 -0800)]
i386.c (print_operand): Don't append ATT-style length suffixs to x87 opcodes when in Intel mode.

        * config/i386/i386.c (print_operand): Don't append ATT-style
        length suffixs to x87 opcodes when in Intel mode.

From-SVN: r50075

22 years agoemit-rtl.c (gen_const_vector_0): Remove TYPE argument.
Ryan T. Sammartino [Wed, 27 Feb 2002 00:22:09 +0000 (00:22 +0000)]
emit-rtl.c (gen_const_vector_0): Remove TYPE argument.

        * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
        (init_emit_once): Update calls.
        * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
        (init_syntax_once): Prototype.

From-SVN: r50072

22 years agopa-linux.h (LIB_SPEC): Update definition.
John David Anglin [Tue, 26 Feb 2002 23:38:34 +0000 (23:38 +0000)]
pa-linux.h (LIB_SPEC): Update definition.

* pa-linux.h (LIB_SPEC): Update definition.
* pa32-linux.h (LINK_COMMAND_SPEC): Delete.

From-SVN: r50071

22 years agoMakefile.am (thread_target_headers): Unconditionally stage and install gthr-posix.h.
Loren J. Rittle [Tue, 26 Feb 2002 23:02:52 +0000 (23:02 +0000)]
Makefile.am (thread_target_headers): Unconditionally stage and install gthr-posix.h.

* include/Makefile.am (thread_target_headers): Unconditionally
stage and install gthr-posix.h.
(${target_builddir}/gthr-posix.h): New rule cloned off
${target_builddir}/gthr-default.h.
(${target_builddir}/gthr-default.h): Support chained inclusion
of gthr support headers.
* include/Makefile.in: Rebuilt.

From-SVN: r50069

22 years agoia64.c (nop_cycles_until): Do init_insn_group_barriers if we emitted a stop bit.
Richard Henderson [Tue, 26 Feb 2002 22:41:48 +0000 (14:41 -0800)]
ia64.c (nop_cycles_until): Do init_insn_group_barriers if we emitted a stop bit.

        * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
        if we emitted a stop bit.

From-SVN: r50065

22 years agoconfigure.in (libgcc_visibility): Substitute.
Jakub Jelinek [Tue, 26 Feb 2002 21:39:07 +0000 (22:39 +0100)]
configure.in (libgcc_visibility): Substitute.

* configure.in (libgcc_visibility): Substitute.
* configure: Rebuilt.
* mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
defined symbols .hidden.

From-SVN: r50063

22 years agoattribs.c (c_common_attribute_table): Add visibility.
Jakub Jelinek [Tue, 26 Feb 2002 21:17:22 +0000 (22:17 +0100)]
attribs.c (c_common_attribute_table): Add visibility.

* attribs.c (c_common_attribute_table): Add visibility.
(handle_visibility_attribute): New function.
* varasm.c (assemble_visibility): New function.
* output.h (assemble_visibility): Add prototype.
* tree.h (MODULE_LOCAL_P): Define.
* crtstuff.c (__dso_handle): Use visibility attribute.
* config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
for MODULE_LOCAL_P symbols too.
* config/ia64/ia64.c (ia64_encode_section_info): Handle
MODULE_LOCAL_P symbols the same way as local symbols.
Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
into .sdata/.sbss by the user.
* doc/extend.texi (Function Attributes): Document visibility
attribute.

* gcc.dg/ia64-visibility-1.c: New test.

From-SVN: r50061

22 years agore PR debug/5770 (undefined reference to `.LC0')
Jakub Jelinek [Tue, 26 Feb 2002 21:08:57 +0000 (22:08 +0100)]
re PR debug/5770 (undefined reference to `.LC0')

PR debug/5770
* dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
STRING_CST initializer spanning the whole variable without
embedded zeros.
If expand_expr returned MEM, don't use it.

* g++.dg/debug/debug4.C: New test.

From-SVN: r50058

22 years agolocale_facets.tcc (num_put::_M_widen_int): Group all the integral types, not only...
Paolo Carlini [Tue, 26 Feb 2002 20:56:24 +0000 (21:56 +0100)]
locale_facets.tcc (num_put::_M_widen_int): Group all the integral types, not only decs.

2002-02-26  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/locale_facets.tcc (num_put::_M_widen_int):
Group all the integral types, not only decs.
* testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
tests, add a few more.

From-SVN: r50057

22 years agodwarf2out.c (gen_inlined_subroutine_die): If block is abstract, generate a die for...
Alexandre Oliva [Tue, 26 Feb 2002 19:05:26 +0000 (19:05 +0000)]
dwarf2out.c (gen_inlined_subroutine_die): If block is abstract, generate a die for the lexical block.

* dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
generate a die for the lexical block.

From-SVN: r50056

22 years agoh8300-protos.h: Add a prototype for compute_logical_op_length.
Kazu Hirata [Tue, 26 Feb 2002 12:50:52 +0000 (12:50 +0000)]
h8300-protos.h: Add a prototype for compute_logical_op_length.

* config/h8300/h8300-protos.h: Add a prototype for
compute_logical_op_length.
* config/h8300/h8300.c (compute_logical_op_length): New.
* config/h8300/h8300.md (anonymous logical patterns): Use
compute_logical_op_length for length.

From-SVN: r50055

22 years agoDaily bump.
GCC Administrator [Tue, 26 Feb 2002 08:17:53 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r50053

22 years agoupdate_version: Automatically update version files on all branches.
Mark Mitchell [Tue, 26 Feb 2002 07:13:25 +0000 (07:13 +0000)]
update_version: Automatically update version files on all branches.

* update_version: Automatically update version files on all
branches.
* crontab: Only invoke update_version once.

From-SVN: r50049

22 years agodwarf2out.c (modified_type_die): Do not call type_main_variant for vectors.
Aldy Hernandez [Tue, 26 Feb 2002 06:58:01 +0000 (06:58 +0000)]
dwarf2out.c (modified_type_die): Do not call type_main_variant for vectors.

2002-02-26  Aldy Hernandez  <aldyh@redhat.com>

        * dwarf2out.c (modified_type_die): Do not call type_main_variant
        for vectors.
        (gen_type_die): Same.

        * attribs.c (handle_vector_size_attribute): Set debug information.

From-SVN: r50048

22 years agors6000.md: Swap define_insn attributes to fix incorrect generation of merge high...
Daniel Egger [Tue, 26 Feb 2002 06:50:25 +0000 (06:50 +0000)]
rs6000.md: Swap define_insn attributes to fix incorrect generation of merge high...

2002-02-26  Daniel Egger  <degger@fhm.edu>

        * config/rs6000/rs6000.md: Swap define_insn attributes to
        fix incorrect generation of merge high instructions instead
        of merge low.

From-SVN: r50047

22 years agoc-typeck.c (really_start_incremental_init): Use bitsize_zero_node for vectors.
Aldy Hernandez [Tue, 26 Feb 2002 06:22:24 +0000 (06:22 +0000)]
c-typeck.c (really_start_incremental_init): Use bitsize_zero_node for vectors.

2002-02-26  Aldy Hernandez  <aldyh@redhat.com>

        * c-typeck.c (really_start_incremental_init): Use
        bitsize_zero_node for vectors.

From-SVN: r50046

22 years agors6000.md (get_vrsave_internal): Fix typo.
Aldy Hernandez [Tue, 26 Feb 2002 06:20:48 +0000 (06:20 +0000)]
rs6000.md (get_vrsave_internal): Fix typo.

2002-02-26  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
        ("*set_vrsave_internal"): Same.

From-SVN: r50045

22 years agoDaily bump.
Mark Mitchell [Tue, 26 Feb 2002 06:12:33 +0000 (06:12 +0000)]
Daily bump.

From-SVN: r50044

22 years agoSet version numbers for mainline
Mark Mitchell [Tue, 26 Feb 2002 05:50:55 +0000 (05:50 +0000)]
Set version numbers for mainline

From-SVN: r50036

22 years agoexpr.c (expand_expr): Do not apply distributive law in EXPAND_SUM case.
Richard Henderson [Tue, 26 Feb 2002 05:46:15 +0000 (21:46 -0800)]
expr.c (expand_expr): Do not apply distributive law in EXPAND_SUM case.

        * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
        in EXPAND_SUM case.  Use host_integerp/tree_low_cst.

From-SVN: r50033

22 years agoios.cc (ios_base::~ios_base): Tweak.
Benjamin Kosnik [Tue, 26 Feb 2002 04:55:48 +0000 (04:55 +0000)]
ios.cc (ios_base::~ios_base): Tweak.

2002-02-25  Benjamin Kosnik  <bkoz@redhat.com>

* src/ios.cc (ios_base::~ios_base): Tweak.
(ios_base::_M_call_callbacks): Deal with null __p.
(ios_base::ios_base): Set _M_callbacks.
* include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
* testsuite/27_io/ios_init.cc (test02): Fix.

* mkcheck.in (static_fail): Failed links go to output file.

From-SVN: r50032

22 years ago960416-1.x: New.
Kazu Hirata [Mon, 25 Feb 2002 23:07:09 +0000 (23:07 +0000)]
960416-1.x: New.

* gcc.c-torture/execute/960416-1.x: New.
* gcc.c-torture/execute/divconst-3.x: Likewise.

From-SVN: r50029

22 years agore PR target/5755 (-mregparm=3 and -fomit-frame-pointer corrupt esp register)
Jakub Jelinek [Mon, 25 Feb 2002 22:49:44 +0000 (23:49 +0100)]
re PR target/5755 (-mregparm=3 and -fomit-frame-pointer corrupt esp register)

PR target/5755
* config/i386/i386.c (ix86_return_pops_args): Only pop
fake structure return argument if it was passed on the stack.

* gcc.dg/20020224-1.c: New test.

From-SVN: r50028

22 years agoattribs.c (decl_attributes): Also re-layout PARM_DECL and RESULT_DECL.
Jason Merrill [Mon, 25 Feb 2002 22:38:53 +0000 (17:38 -0500)]
attribs.c (decl_attributes): Also re-layout PARM_DECL and RESULT_DECL.

        * attribs.c (decl_attributes): Also re-layout PARM_DECL and
        RESULT_DECL.

From-SVN: r50027

22 years agogcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to link with shared_nam...
Alexandre Oliva [Mon, 25 Feb 2002 13:25:11 +0000 (13:25 +0000)]
gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to link with shared_name only.

* gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
link with shared_name only.
* doc/invoke.texi (Link Options): Document new behavior.

From-SVN: r50025

22 years agoMakefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath.
Bryce McKinlay [Mon, 25 Feb 2002 09:58:13 +0000 (09:58 +0000)]
Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath.

* Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
dependency tracking for .java files.
* Makefile.in: Rebuilt.

From-SVN: r50024

22 years agoDaily bump.
GCC Administrator [Mon, 25 Feb 2002 08:16:22 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r50022

22 years agoc-typeck.c (push_init_level): Handle vectors.
Aldy Hernandez [Mon, 25 Feb 2002 07:22:37 +0000 (07:22 +0000)]
c-typeck.c (push_init_level): Handle vectors.

2002-02-25  Aldy Hernandez  <aldyh@redhat.com>

        * c-typeck.c (push_init_level): Handle vectors.

From-SVN: r50021

22 years agoindex.html: Update.
Phil Edwards [Mon, 25 Feb 2002 05:24:53 +0000 (05:24 +0000)]
index.html: Update.

2002-02-25  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/faq/index.html:  Update.
* docs/html/faq/index.txt:  Regenerate.

From-SVN: r50020

22 years agonatPlainDatagramSocketImpl.cc: whops; removed 'make' typo.
Adam Megacz [Mon, 25 Feb 2002 05:21:45 +0000 (05:21 +0000)]
natPlainDatagramSocketImpl.cc: whops; removed 'make' typo.

2002-02-24  Adam Megacz  <adam@xwt.org>

        * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
        typo. Sorry.

From-SVN: r50019

22 years agosparc.c (const64_high_operand): Zero-extend operands of SPARC_SETHI_P.
Alexandre Oliva [Mon, 25 Feb 2002 04:14:45 +0000 (04:14 +0000)]
sparc.c (const64_high_operand): Zero-extend operands of SPARC_SETHI_P.

* config/sparc/sparc.c (const64_high_operand): Zero-extend
operands of SPARC_SETHI_P.
(input_operand): Likewise.
(sparc_emit_set_const32): Likewise.
* config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
(SPARC_SETHI32_P): Zero-extend operand from 32 bits.
(CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'.  Add `N' as SETHI.
* config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
(movdi_insn_sp64_vis): Likewise.
(movdi split, movdf split): Use SETHI32.
* doc/md.texi: Document SPARC constraints L, M and N.

From-SVN: r50018

22 years agonatPlainDatagramSocketImpl.cc: Updated #includes for Win32...
Adam Megacz [Mon, 25 Feb 2002 04:10:53 +0000 (04:10 +0000)]
natPlainDatagramSocketImpl.cc: Updated #includes for Win32...

2002-02-24  Adam Megacz  <adam@xwt.org>

* java/net/natPlainDatagramSocketImpl.cc: Updated #includes
for Win32, changed #ifdefs to check WIN32 instead of the
(now-obsolete) USE_WINSOCK, and removed support for socket
timeouts on Win32 pending further discussion.

From-SVN: r50017

22 years agoMakefile.am: Added win32_threads.c to sources list.
Adam Megacz [Mon, 25 Feb 2002 04:04:43 +0000 (04:04 +0000)]
Makefile.am: Added win32_threads.c to sources list.

2002-02-24  Adam Megacz  <adam@xwt.org>

        * Makefile.am: Added win32_threads.c to sources list.
        * win32_threads.c: Added two */'s which I had neglected.

From-SVN: r50016

22 years agors6000.md ("get_vrsave_internal"): New.
Aldy Hernandez [Mon, 25 Feb 2002 02:30:33 +0000 (02:30 +0000)]
rs6000.md ("get_vrsave_internal"): New.

2002-02-25  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
        ("*set_vrsave_internal"): use mfspr for Darwin.

        * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
        gen_get_vrsave_internal.

From-SVN: r50015

22 years agowin32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
Adam Megacz [Mon, 25 Feb 2002 02:01:29 +0000 (02:01 +0000)]
win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new

2002-02-24  Adam Megacz  <adam@xwt.org>

* win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
* win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
delete

From-SVN: r50014

22 years agoWin32Process.java: Created a dummy class to allow build process to run to completion.
Adam Megacz [Sun, 24 Feb 2002 23:17:26 +0000 (23:17 +0000)]
Win32Process.java: Created a dummy class to allow build process to run to completion.

2002-02-24  Adam Megacz  <adam@xwt.org>

        * java/lang/Win32Process.java: Created a dummy class to allow
        build process to run to completion.

From-SVN: r50013

22 years agoNew test.
Alan Modra [Sun, 24 Feb 2002 23:17:23 +0000 (23:17 +0000)]
New test.

From-SVN: r50012

22 years ago* optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
Richard Kenner [Sun, 24 Feb 2002 21:43:52 +0000 (21:43 +0000)]
* optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.

From-SVN: r50011

22 years agotest_summary: Additional to XPASS and FAIL...
Christian Jönsson [Sun, 24 Feb 2002 20:45:15 +0000 (20:45 +0000)]
test_summary: Additional to XPASS and FAIL...

* test_summary: Additional to XPASS and FAIL, add UNRESOLVED,
WARNING and ERROR output from the *.sum files.

From-SVN: r50010

22 years agojar -C fix
Anthony Green [Sun, 24 Feb 2002 19:59:46 +0000 (19:59 +0000)]
jar -C fix

From-SVN: r50009

22 years agore PR c++/4093 (Return type mis-match for (a?b:c) constructs in gcc/cp/cp-tree.h)
Craig Rodrigues [Sun, 24 Feb 2002 18:57:38 +0000 (18:57 +0000)]
re PR c++/4093 (Return type mis-match for (a?b:c) constructs in gcc/cp/cp-tree.h)

2002-02-24 Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR c++/4093
        * cp-tree.h (SET_BINFO_MARKED): Cast false part of condition
        to void.

From-SVN: r50008

22 years agonatMethod.cc (_Jv_CallAnyMethodA): Define ffi_result union for ffi_call result.
Jeff Sturm [Sun, 24 Feb 2002 17:55:44 +0000 (17:55 +0000)]
natMethod.cc (_Jv_CallAnyMethodA): Define ffi_result union for ffi_call result.

        * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
        Define ffi_result union for ffi_call result.  Cast
        ffi_result members to jvalue.

From-SVN: r50007

22 years agoffi.h.in: Add typedef for ffi_arg.
Jeff Sturm [Sun, 24 Feb 2002 17:31:45 +0000 (17:31 +0000)]
ffi.h.in: Add typedef for ffi_arg.

        * include/ffi.h.in: Add typedef for ffi_arg.
        * src/ffitest.c (main): Declare rint with ffi_arg.

From-SVN: r50006

22 years agocpplex.c (cpp_interpret_charconst): Get signedness or otherwise of wide character...
Neil Booth [Sun, 24 Feb 2002 12:52:30 +0000 (12:52 +0000)]
cpplex.c (cpp_interpret_charconst): Get signedness or otherwise of wide character constants correct.

* cpplex.c (cpp_interpret_charconst): Get signedness or
otherwise of wide character constants correct.
* cppexp.c (lex): Get signedness of wide charconsts correct.
* testsuite/gcc.dg/cpp/wchar-1.c: New test.

From-SVN: r50005

22 years agooptabs.c (widen_operand): Only call convert_modes for promoted SUBREG if signedness...
Richard Kenner [Sun, 24 Feb 2002 12:46:52 +0000 (12:46 +0000)]
optabs.c (widen_operand): Only call convert_modes for promoted SUBREG if signedness matches.

* optabs.c (widen_operand): Only call convert_modes for
promoted SUBREG if signedness matches.
* config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.

From-SVN: r50004

22 years agoDaily bump.
GCC Administrator [Sun, 24 Feb 2002 08:16:22 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r50002

22 years agoInvokeReturn.java: New file.
Jeff Sturm [Sun, 24 Feb 2002 06:45:19 +0000 (06:45 +0000)]
InvokeReturn.java: New file.

* libjava.lang/InvokeReturn.java: New file.
* libjava.lang/InvokeReturn.out: New file.

From-SVN: r50001