aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-01-24alpha.md (builtin_longjmp_internal): New.Richard Henderson2-2/+17
* config/alpha/alpha.md (builtin_longjmp_internal): New. (builtin_longjmp): Use it instead of emit_indirect_jump. From-SVN: r39232
2001-01-24Daily bump.Jeff Law5-5/+5
From-SVN: r39231
2001-01-24class.c (layout_class): Don't lay the superclass out if it's already being ↵Alexandre Petit-Bianco8-93/+139
laid out. 2001-01-23 Alexandre Petit-Bianco <apbianco@cygnus.com> * class.c (layout_class): Don't lay the superclass out if it's already being laid out. * jcf-parse.c (handle_innerclass_attribute): New function. (HANDLE_INNERCLASSES_ATTRIBUTE): Invoke handle_innerclasses_attribute. (jcf_parse): Don't load an innerclasses if it's already being laid out. * jcf-write.c (append_innerclass_attribute_entry): Static `anonymous_name' and its initialization deleted. `ocii' and `ini' to be zero for anonymous classes. 2001-01-23 Alexandre Petit-Bianco <apbianco@cygnus.com> * class.c (set_constant_value): Set DECL_FIELD_FINAL_IUD if necessary. * jcf-parse.c (set_source_filename): Use MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC if necessary. 2001-01-23 Alexandre Petit-Bianco <apbianco@cygnus.com> * expr.c (build_jni_stub): Set DECL_CONTEXT on `meth_var' so it gets a unique asm name. 2001-01-23 Alexandre Petit-Bianco <apbianco@cygnus.com> * jcf-parse.c (HANDLE_END_METHODS): Nullify current_method. (HANDLE_START_FIELD): Invoke MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC if necessary. (HANDLE_SYNTHETIC_ATTRIBUTE): New macro. * jcf-reader.c (get_attribute): Handle `Synthetic' attribute. * parse.y (lookup_package_type_and_set_next): Deleted. (resolve_package): Removed unnecessary code. (find_applicable_accessible_methods_list): `finit$' can't be inherited. * verify.c (pop_argument_types): Added missing prototype. (http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01812.html) From-SVN: r39230
2001-01-24pt.c (check_explicit_specialization): Clone constructors and destructors.Kriang Lerdsuwanakij4-1/+16
* pt.c (check_explicit_specialization): Clone constructors and destructors. * g++.old-deja/g++.pt/spec33.C: Change from "Build don't link" to "Build don't run". From-SVN: r39229
2001-01-23bb-reorder.c (make_reorder_chain_1): Handle case where jump edge goes to the ↵John David Anglin2-5/+21
same block as the fallthru edge. * bb-reorder.c (make_reorder_chain_1): Handle case where jump edge goes to the same block as the fallthru edge. From-SVN: r39228
2001-01-23Eliminate IA-64 compiler warnings.Jim Wilson11-16/+70
* dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned. * frame.h (__ia64_personality_v1): Add prototype. * libgcc2.c (ia64_throw_helper): Change personality declaration to prototype form. Add void * cast to first argument to personality call. ... From-SVN: r39227
2001-01-23exception_support.cc (__terminate_func): Remove declaration.Chris Demetriou2-6/+17
2001-01-23 Chris Demetriou <cgd@broadcom.com> * libsupc++/exception_support.cc (__terminate_func): Remove declaration. (__terminate_func_ptr): New typedef. (__terminate, __terminate_set_func): New extern function prototypes. (std::terminate): Use __terminate function. (std::set_terminate): Use __terminate_set_func function. From-SVN: r39226
2001-01-23exception.cc (__terminate_func): Remove declaration.Chris Demetriou2-6/+16
2001-01-23 Chris Demetriou <cgd@broadcom.com> * exception.cc (__terminate_func): Remove declaration. (__terminate_func_ptr): New typedef. (__terminate, __terminate_set_func): New extern function prototypes. (std::terminate): Use __terminate function. (std::set_terminate): Use __terminate_set_func function. From-SVN: r39225
2001-01-23libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list of EH symbols.Chris Demetriou4-1/+23
2001-01-23 Chris Demetriou <cgd@broadcom.com> * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list of EH symbols. * libgcc2.c (__terminate_func): Make variable static. (__terminate_set_func): New function to set __terminate_func. * libgcc2.h (__terminate_func_ptr): New typedef. (__terminate_set_func): New function. From-SVN: r39224
2001-01-24ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'.Alexandre Oliva3-4/+10
* ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'. * libtool.m4 (_AC_LIBTOOL_GCJ): Pass $CPPFLAGS on. From-SVN: r39223
2001-01-23flow.c (init_propagate_block_info): Don't consider unchanging memories for ↵Richard Henderson2-0/+12
dead frame store elimination. * flow.c (init_propagate_block_info): Don't consider unchanging memories for dead frame store elimination. From-SVN: r39222
2001-01-23varasm.c (UNIQUE_SECTION): Move default implementation ...Richard Henderson1-0/+5
* varasm.c (UNIQUE_SECTION): Move default implementation ... * defaults.h: ... here. From-SVN: r39221
2001-01-24Fix date.Franz Sirl1-1/+1
From-SVN: r39220
2001-01-2420010123-1.c: New test.Franz Sirl2-0/+27
2001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * gcc.c-torture/execute/20010123-1.c: New test. From-SVN: r39219
2001-01-24Update copyright dates.Franz Sirl2-2/+2
From-SVN: r39218
2001-01-23* c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.Michael Hayes2-0/+8
From-SVN: r39217
2001-01-23ctime_.c: #include <sys/types.h> for time_t.Michael Sokolov11-10/+31
* libU77/ctime_.c: #include <sys/types.h> for time_t. * libU77/datetime_.c: Likewise. * libU77/fdate_.c: Likewise. * libU77/gmtime_.c: Likewise. * libU77/idate_.c: Likewise. * libU77/itime_.c: Likewise. * libU77/ltime_.c: Likewise. * libU77/sys_clock_.c: Likewise. * libU77/vxtidate_.c: Likewise. * libU77/vxttime_.c: Likewise. From-SVN: r39216
2001-01-23* c-lex.c (lex_charconst): Fix typo: s/p/str.Neil Booth2-1/+5
From-SVN: r39215
2001-01-23com.c: Don't explicitly include any time headers...Michael Sokolov2-14/+7
* com.c: Don't explicitly include any time headers, the right ones are already included by proj.h. From-SVN: r39214
2001-01-23varasm.c (UNIQUE_SECTION): Move default implementation ...Richard Henderson2-27/+28
* varasm.c (UNIQUE_SECTION): Move default implementation ... * defaults.h: ... here. From-SVN: r39213
2001-01-23configure.in: Enable libgcj on several additional platforms.Bryce McKinlay4-8/+15
* configure.in: Enable libgcj on several additional platforms. In gcc/java: * config-lang.in: Disable java by default. From-SVN: r39212
2001-01-23rs6000.h (rs6000_return_addr): Move prototype from here...Franz Sirl3-4/+7
2001-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * rs6000.h (rs6000_return_addr): Move prototype from here... * rs6000-protos.h (rs6000_return_addr): ...to here. (rs6000_init_expanders): Delete prototype. From-SVN: r39211
2001-01-23Replace , with \, inside @gccoptlist macros.Nick Clifton2-10/+47
Document %B and %j and %. and %v3 and %M and %{S*&T} spec switches. From-SVN: r39210
2001-01-23configure.target: Just use os_include_dir always.Benjamin Kosnik6-999/+729
2001-01-23 Benjamin Kosnik <bkoz@redhat.com> * configure.target: Just use os_include_dir always. * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT. Link atomicity files and ctype files here. * configure: Regenerate. * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove. (GLIBCPP_ENABLE_ATOMICITY): Remove. * aclocal.m4: Regenerate. From-SVN: r39209
2001-01-23gcj.texi (Copying): New node.Tom Tromey2-0/+457
* gcj.texi (Copying): New node. Added copyright information. From-SVN: r39208
2001-01-23* c4x.c (c4x_r11_set_p): Calculate rtx code correctly.Herman A.J. ten Brugge2-14/+14
From-SVN: r39207
2001-01-23cpperror.c: Merge handlers of PEDWARN and WARNING.Chris Demetriou2-21/+11
* cpperror.c: Merge handlers of PEDWARN and WARNING. Have -Werror make pedantic warnings errors, like the rest of GCC. Co-Authored-By: Neil Booth <neil@daikokuya.demon.co.uk> From-SVN: r39206
2001-01-23configure.in: Place definition of MULTISUBDIR in libsupc++/Makefile as is ↵Chris Demetriou3-829/+826
done for src/Makefile. 2001-01-23 Chris Demetriou <cgd@broadcom.com> * configure.in: Place definition of MULTISUBDIR in libsupc++/Makefile as is done for src/Makefile. * configure: Regenerate. From-SVN: r39205
2001-01-23c-tree.texi (IDENTIFIER_LENGTH): Fix typo.Phil Edwards2-1/+5
2001-01-23 Phil Edwards <pme@sources.redhat.com> * c-tree.texi (IDENTIFIER_LENGTH): Fix typo. From-SVN: r39204
2001-01-23integrate.h (struct inline_remap): Add compare_src, compare_mode.Jakub Jelinek3-4/+77
* integrate.h (struct inline_remap): Add compare_src, compare_mode. * integrate.c (expand_inline_function): Initialize them. (subst_constants): If changing COMPARE so that both its arguments will be VOIDmode and the comparison mode will be lost, note compare_mode. Use the recorded compare_mode to optimize IF_THEN_ELSE. From-SVN: r39203
2001-01-23* libU77/sys_clock_.c: #include <sys/param.h> for the clock tick rate.Michael Sokolov2-0/+7
From-SVN: r39202
2001-01-23dwarf2out.c (new_die): Use xcalloc.Jason Merrill2-8/+8
* dwarf2out.c (new_die): Use xcalloc. (output_die): Abort rather than emit a local reference to offset 0. From-SVN: r39201
2001-01-23acinclude.m4: Cosmetic changes only.Phil Edwards10-1084/+1256
2001-01-23 Phil Edwards <pme@sources.redhat.com> * acinclude.m4: Cosmetic changes only. * aclocal.m4: Regenerated. * configure: Regenerated. * configure.target: Update documented list of changed variables. * docs/html/install.html: Fix typo. * docs/html/20_util/howto.html: More notes on auto_ptr. * docs/html/27_io/howto.html: More notes on streabufs. * docs/html/faq/index.html: Add rel_ops problem and mention the DEC as(1) .subsection difficulty. * docs/html/faq/index.txt: Regenerated. From-SVN: r39200
2001-01-23libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy of a saved ↵Andrew Haley2-69/+73
register; return NULL instead. 2001-01-17 Andrew Haley <aph@redhat.com> * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy of a saved register; return NULL instead. (copy_reg): Take a pointer to a source register rather than a frame_state. (next_stack_level): Remember the address in the stack frame of all saved registers. Use the saved register pointer array as the source of the CFA. (throw_helper): Rewrite. Unwind once rather than twice and keep track of saved registers as we go. From-SVN: r39199
2001-01-23decl.c (grokdeclarator): Don't presume DECL_LANG_SPECIFIC indicates anything ↵Nathan Sidwell4-5/+38
special about template depth. cp: * decl.c (grokdeclarator): Don't presume DECL_LANG_SPECIFIC indicates anything special about template depth. Make sure we only count the user visible template classes. testsuite: * g++.old-deja/g++.pt/spec37.C: New test. From-SVN: r39198
2001-01-23call.c (build_conv): Typo in comment.Nathan Sidwell4-30/+109
cp: * call.c (build_conv): Typo in comment. (add_builtin_candidate): Add more explanation. Remove extra test for ENUMERAL_TYPE in {PRE,POST}INCREMENT_EXPR. Allow ENUMERAL_TYPEs for relops and eqops. Add both candidates when we have enumeral types. (add_builtin_candidates): Add more explanation. Add ENUMERAL_TYPE candidates for relops and eqops. (joust): Simplify control flow. Allow a non-template user function to hide a builtin. testsuite: * g++.old-deja/g++.pt/overload14.C: New test. From-SVN: r39197
2001-01-23ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.Mark Mitchell6-5141/+847
* ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro. (GLIBCPP_CHECK_MATH_SUPPORT): Use it. (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if its already provided in config.target. * aclocal.m4: Regenerated. * configure: Likewise. * configure.target: Set ctype_include_dir for lots of systems. * libsupc++/Makefile.am: Explicitly include --tag disable-shared. * libsupc++/Makefile.in: Regenerated. From-SVN: r39196
2001-01-23Daily bump.Jeff Law5-5/+5
From-SVN: r39195
2001-01-23c4x-protos.h (c4x_legitimize_reload_address): Remove.Herman A.J. ten Brugge4-38/+54
* c4x-protos.h (c4x_legitimize_reload_address): Remove. * c4x.c (c4x_legitimize_reload_address): Remove. * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct reload address for ldp(k) insn. From-SVN: r39194
2001-01-22pa.md (return_internal): Add a USE of the PIC register to ensure it is ↵Jeffrey A Law2-2/+19
restored after each call. * pa.md (return_internal): Add a USE of the PIC register to ensure it is restored after each call. (return expander): Corresponding changes. From-SVN: r39193
2001-01-23libstdc++.exp: Improve.Gabriel Dos Reis3-16/+99
* testsuite/lib/libstdc++.exp: Improve. Add support for @xxx# keyword capability. * testsuite/README: Add comment. From-SVN: r39192
2001-01-22[sorry, missed this the first time around] 2001-01-12 Laurynas Biveinis ↵Laurynas Biveinis1-28/+59
<lauras@softhome.net> [sorry, missed this the first time around] 2001-01-12 Laurynas Biveinis <lauras@softhome.net> * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h> (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older bash bug. * aclocal.m4: regenerated. * configure.target: set os_include_dir to config/os/djgpp under DJGPP. * configure: regenerated. * config/os/djgpp, config/os/djgpp/bits: new directories. * config/os/djgpp/bits/ctype_base.h, config/os/djgpp/bits/ctype_inline.h, config/os/djgpp/bits/ctype_noninline.h, config/os/djgpp/bits/os_defines.h: new files. From-SVN: r39191
2001-01-2220010122-1.c: New test, exercise __builtin_return_address.Franz Sirl2-0/+214
2001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * gcc.c-torture/execute/20010122-1.c: New test, exercise __builtin_return_address. From-SVN: r39189
2001-01-22rs6000.h (INIT_EXPANDERS): Delete.Franz Sirl3-32/+103
2001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * rs6000.h (INIT_EXPANDERS): Delete. (RETURN_ADDR_RTX): Call rs6000_return_addr(). * rs6000.c (rs6000_override_options): Call *_machine_status from here... (rs6000_init_expanders): ...instead of here. Delete. (rs6000_mark_machine_status): New function. (rs6000_init_machine_status): Use xcalloc. (rs6000_return_addr): Generate RTX for the return address. (rs6000_ra_ever_killed): New, check if LR was ever destroyed. (rs6000_stack_info): Use it. From-SVN: r39188
2001-01-22gthr-win32.h: Include errno.h to get a declaration for EINVAL and _mingw.h if...Thomas Pfaff2-0/+9
* gthr-win32.h: Include errno.h to get a declaration for EINVAL and _mingw.h if the target is mingw32. From-SVN: r39187
2001-01-22* cpp.texi: Fix typos.Andres Felipe Vargas2-2/+6
From-SVN: r39186
2001-01-22explow.c (probe_stack_range): Ensure value passed to stack_check_libfunc is ↵Richard Kenner2-6/+19
ptr_mode, not Pmode. * explow.c (probe_stack_range): Ensure value passed to stack_check_libfunc is ptr_mode, not Pmode. From-SVN: r39185
2001-01-22Makefile.in: Rebuilt.Tom Tromey3-12/+19
* Makefile.in: Rebuilt. * Makefile.am (bin_PROGRAMS): Remove grepjar. (EXTRA_PROGRAMS): New macro. From-SVN: r39184
2001-01-22recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND case...J"orn Rennecke3-8/+50
* recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND case, don't use operand_subword to calculate a SUBREG that is wider than a word. * rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE. From-SVN: r39183
2001-01-22cp-tree.h (unification_kind_t): Add DEDUCE_ORDER.Nathan Sidwell8-46/+212
cp: * cp-tree.h (unification_kind_t): Add DEDUCE_ORDER. (more_specialized): Add deduction parameter. * call.c (joust): Adjust more_specialized call. * pt.c (UNIFY_ALLOW_OUTER_MORE_CV_QUAL, UNIFY_ALLOW_OUTER_LESS_CV_QUAL): New unify flags. (get_bindings_order): Remove. (get_bindings_real): Add DEDUCE parameter. (maybe_adjust_types_for_deduction): Return extra unify flags. Do REFERENCE_TYPE jig for DEDUCE_ORDER. (type_unification_real): Deal with DEDUCE_ORDER. Use result of maybe_adjust_types_for_deduction. (more_specialized): Add DEDUCE parameter. Call get_bindings_real directly. (try_one_overload): Use result of maybe_adjust_types_for_deduction. (check_cv_quals_for_unify): Use new unify qualifier flags. (unify): Clear new unify qualifier flags. (get_bindings_real): Add DEDUCE parameter. (get_bindings): Adjust call to get_bindings_real. (get_bindings_overload): Likewise. (most_specialized_instantiation): Adjust call to more_specialized. testsuite: * g++.old-deja/g++.martin/sts_partial.C: Remove XFAIL. * g++.old-deja/g++.pt/spec35.C: New test. * g++.old-deja/g++.pt/spec36.C: New test. From-SVN: r39182