Richard Henderson
eadccfbb85
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
2002-02-26 17:48:57 -08:00
Tom Tromey
7fe4a89aed
natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not `1'.
...
* java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
`1'.
From-SVN: r50081
2002-02-27 01:39:30 +00:00
Zack Weinberg
7080ada154
cpp.texi: Clarify documentation of relationship between #line and #include.
...
* doc/cpp.texi: Clarify documentation of relationship between
#line and #include.
From-SVN: r50079
2002-02-27 01:26:04 +00:00
Kazu Hirata
b42cff6bff
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
2002-02-27 01:09:50 +00:00
Benjamin Kosnik
3af7d37f67
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
2002-02-27 01:01:59 +00:00
Benjamin Kosnik
ac39fabb8b
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
2002-02-27 01:01:31 +00:00
Kelley Cook
831c4e87d0
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
2002-02-26 16:29:00 -08:00
Ryan T. Sammartino
ff88fe1035
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
2002-02-26 16:22:09 -08:00
John David Anglin
d410858908
pa-linux.h (LIB_SPEC): Update definition.
...
* pa-linux.h (LIB_SPEC): Update definition.
* pa32-linux.h (LINK_COMMAND_SPEC): Delete.
From-SVN: r50071
2002-02-26 23:38:34 +00:00
Loren J. Rittle
79d6ba0bee
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
2002-02-26 23:02:52 +00:00
Richard Henderson
e013f3c710
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
2002-02-26 14:41:48 -08:00
Jakub Jelinek
9e944a165d
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
2002-02-26 22:39:07 +01:00
Jakub Jelinek
47bd70b56a
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
2002-02-26 22:17:22 +01:00
Jakub Jelinek
6d73371a68
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
2002-02-26 22:08:57 +01:00
Paolo Carlini
2d13abcf86
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
2002-02-26 20:56:24 +00:00
Alexandre Oliva
06e224f7e8
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
2002-02-26 19:05:26 +00:00
Kazu Hirata
40367e2d81
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
2002-02-26 12:50:52 +00:00
GCC Administrator
64ee51e0ba
Daily bump.
...
From-SVN: r50053
2002-02-26 08:17:53 +00:00
Mark Mitchell
2df96f0a59
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
2002-02-26 07:13:25 +00:00
Aldy Hernandez
0e98f92438
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
2002-02-26 06:58:01 +00:00
Daniel Egger
a50cfd52a6
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
2002-02-26 06:50:25 +00:00
Aldy Hernandez
b799728433
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
2002-02-26 06:22:24 +00:00
Aldy Hernandez
376aec5d8a
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
2002-02-26 06:20:48 +00:00
Mark Mitchell
a007e0819b
Daily bump.
...
From-SVN: r50044
2002-02-26 06:12:33 +00:00
Mark Mitchell
3664fcf9b7
Set version numbers for mainline
...
From-SVN: r50036
2002-02-26 05:50:55 +00:00
Richard Henderson
3b40e71b7b
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
2002-02-25 21:46:15 -08:00
Benjamin Kosnik
1bc59af523
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
2002-02-26 04:55:48 +00:00
Kazu Hirata
801791cc03
960416-1.x: New.
...
* gcc.c-torture/execute/960416-1.x: New.
* gcc.c-torture/execute/divconst-3.x: Likewise.
From-SVN: r50029
2002-02-25 23:07:09 +00:00
Jakub Jelinek
232b8f528b
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
2002-02-25 23:49:44 +01:00
Jason Merrill
6728279090
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
2002-02-25 17:38:53 -05:00
Alexandre Oliva
5c1817565f
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
2002-02-25 13:25:11 +00:00
Bryce McKinlay
f36bcb2d6b
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
2002-02-25 09:58:13 +00:00
GCC Administrator
b73a391b6f
Daily bump.
...
From-SVN: r50022
2002-02-25 08:16:22 +00:00
Aldy Hernandez
6786d2018e
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
2002-02-25 07:22:37 +00:00
Phil Edwards
14d6758650
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
2002-02-25 05:24:53 +00:00
Adam Megacz
bbe7f26957
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
2002-02-25 05:21:45 +00:00
Alexandre Oliva
7d6040e83a
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
2002-02-25 04:14:45 +00:00
Adam Megacz
77da08b08e
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
2002-02-25 04:10:53 +00:00
Adam Megacz
3e0e6811b6
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
2002-02-25 04:04:43 +00:00
Aldy Hernandez
b188f760ce
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
2002-02-25 02:30:33 +00:00
Adam Megacz
2e8f5b2dde
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
2002-02-25 02:01:29 +00:00
Adam Megacz
f5d8c6600c
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
2002-02-24 23:17:26 +00:00
Alan Modra
11a35b8bb1
New test.
...
From-SVN: r50012
2002-02-25 09:47:23 +10:30
Richard Kenner
8041889f44
* optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
...
From-SVN: r50011
2002-02-24 16:43:52 -05:00
Christian Jönsson
506d4ef6a1
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
2002-02-24 20:45:15 +00:00
Anthony Green
b9f8d427a8
jar -C fix
...
From-SVN: r50009
2002-02-24 19:59:46 +00:00
Craig Rodrigues
3387d36e96
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
2002-02-24 18:57:38 +00:00
Jeff Sturm
a7261b2da0
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
2002-02-24 17:55:44 +00:00
Jeff Sturm
02c521f439
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
2002-02-24 17:31:45 +00:00
Neil Booth
a47ed31052
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
2002-02-24 12:52:30 +00:00