Age | Commit message (Collapse) | Author | Files | Lines |
|
* tree.h (DECL_UNINLINABLE): Move from C++ frontend.
(struct tree_decl): Add uninlinable bitfield.
* c-decl.c (duplicate_decls): Set it.
* integrate.c (function_cannot_inline_p): Check it.
* cp-tree.h (struct lang_decl_flags): Remove uninlinable flag.
(DECL_UNINLINABLE): Move to middle-end.
* dwarf2out.c (add_name_and_src_coords_attributes): Don't add
DW_AT_MIPS_linkage_name to abstract methods.
(dwarf2out_abstract_function): Emit class context before calling
set_decl_abstract_flags. Don't clear DECL_ABSTRACT.
(gen_subprogram_die): Remove obsolete code.
(gen_member_die): Don't include clones in the member list.
(gen_decl_die): Emit abstract info for clone origin.
* dwarfout.c (output_type): Don't include clones in the member list.
* dbxout.c (dbxout_type_methods): Ignore abstract methods.
* toplev.c (note_deferral_of_defined_inline_function): Don't clear
DECL_ABSTRACT on a function that already has it set.
* class.c (clone_function_decl): Set DECL_ABSTRACT on original fn.
* decl.c (duplicate_decls): Preserve DECL_ABSTRACT.
* class.c (build_clone): Set DECL_ABSTRACT_ORIGIN for the clone.
* optimize.c (maybe_clone_body): Set DECL_ABSTRACT_ORIGIN for the
parms and outer BLOCK. note_deferral_of_defined_inline_function.
* dwarf2out.c (gen_formal_types_die): Also accept a FUNCTION_DECL.
(get_subprogram_die): Pass it in.
* method.c (implicitly_declare_fn): Don't set DECL_ARTIFICIAL on
second parm of op=.
From-SVN: r39945
|
|
* flow.c (mark_set_1): Make not_dead unsigned long. For
non-pseudos, use it as a bitmask of the hard regs that
don't die.
From-SVN: r39943
|
|
From-SVN: r39942
|
|
From-SVN: r39939
|
|
* cppfiles.c: Update comments.
(_cpp_read_file): Don't check for NULL filenames any more.
* cppinit.c (cpp_start_read): Don't do canonicalization of
in_fname and out_fname. Use the passed file name exclusively.
(_cpp_handle_options): Don't treat "-" as a command line option,
but as a normal filename.
(_cpp_post_options): Canonicalize in_fname and out_fname.
* cppmain.c (printer_init): Don't check out_fname for NULL.
* c-lex.c (orig_filename): Rename cpp_filename for clarity.
(init_c_lex): Update, and use "" to represent stdin to CPP.
(yyparse): Update.
From-SVN: r39938
|
|
* config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_usgl): New function.
* config/pa/long_double.h (FIXUNS_TRUNCTFSI2_LIBCALL): Added.
(INIT_TARGET_OPTABS): Use FIXUNS_TRUNCTFSI2_LIBCALL for
fixunstfsi_libfunc.
From-SVN: r39937
|
|
using ';' to separate.
* config/rs6000/rs6000.c (output_cbranch): Output branches
on separate lines instead of using ';' to separate.
From-SVN: r39935
|
|
* cppinit.c (set_lang): Move builtin handling to...
(init_builtins): ...here.
(_cpp_create_reader): Move call to set_lang.
From-SVN: r39934
|
|
`enclosing_decl_type' to the right location.
2001-02-20 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (check_inner_class_access): Moved declaration of local
`enclosing_decl_type' to the right location.
(http://gcc.gnu.org/ml/gcc-patches/2001-02/msg01258.html)
From-SVN: r39933
|
|
2001-02-20 Phil Edwards <pme@sources.redhat.com>
* include/bits/stl_config.h: Remove file.
* src/Makefile.am (base_headers): Remove from list.
* configure: Regenerate.
* Makefile.in: Ditto.
* libio/Makefile.in: Ditto.
* libmath/Makefile.in: Ditto.
* libsupc++/Makefile.in: Ditto.
* src/Makefile.in: Ditto.
* include/bits/c++config: Move relevant macros to here.
* include/backward/alloc.h: Include c++config.h instead.
* include/backward/function.h: Ditto.
* include/backward/heap.h: Ditto.
* include/backward/pair.h: Ditto.
* include/bits/pthread_allocimpl.h: Ditto.
* include/bits/std_functional.h: Ditto.
* include/bits/std_iterator.h: Ditto.
* include/bits/std_numeric.h: Ditto.
* include/bits/std_utility.h: Ditto.
* include/bits/stl_algobase.h: Ditto.
* include/bits/type_traits.h: Ditto.
* src/stl-inst.cc: Ditto.
From-SVN: r39931
|
|
From-SVN: r39929
|
|
* java/io/PipedWriter.java (flush): Throw exception if stream
closed.
* java/io/OutputStreamWriter.java (write): Throw exception if
stream closed.
(writeChars): Don't throw exception if stream closed.
* java/io/CharArrayWriter.java (closed): New field.
(close): Set it.
(flush): Throw exception if stream closed.
(reset): Synchronize on correct lock. Allow stream to be
reopened.
(toCharArray, toString, writeTo): Synchronize.
(write): Throwe exception if stream closed.
* java/io/BufferedWriter.java (close): Clear `buffer'.
(flush): Throw IOException if stream is closed.
(write): Likewise.
From-SVN: r39927
|
|
* stmt.c (expand_return): If an attempt is made to return the
error_mar_node, treat the return like a return without a value.
From-SVN: r39924
|
|
* java/lang/ThreadGroup.java (activeCount): Only include threads
which are alive.
(enumerate): Likewise.
From-SVN: r39922
|
|
From-SVN: r39921
|
|
From-SVN: r39920
|
|
and return orig_insn if it returns zero.
* sibcall.c (skip_copy_to_return_value): Call
identify_call_return_value here, and return orig_insn if it
returns zero. Hardret and softret arguments now unnecessary.
(call_ends_block_p): Don't call identify_call_return_value here.
* ggc-common.c (ggc_mark_rtx_children): No need to mark 'S' or
's' slots in RTXen.
* ggc-page.c, ggc-simple.c (ggc_mark_if_gcable): Delete function.
* ggc.h (ggc_mark_if_gcable): Delete prototype.
testsuite:
* g77.dg: New directory.
* g77.dg/20010216-1.f: New test case.
* g77.dg/dg.exp: New driver.
* lib/g77-dg.exp: New driver library.
From-SVN: r39916
|
|
2001-02-19 Benjamin Kosnik <bkoz@redhat.com>
* Makefile.in (check-c++): New rule.
From-SVN: r39915
|
|
DLT as a valid move operand.
* pa.c (move_operand): Accept code to load the address of a
symbol out of the DLT as a valid move operand.
(print_operand, case 'A'): New to handle generating a DLT
reference for a LO_SUM expression.
* pa.h (EXTRA_CONSTRAINT): Handle 'A' for DLT LO_SUM references.
* pa.md (movsi, movdi patterns): Allow DLT LO_SUM references.
From-SVN: r39914
|
|
2001-02-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* configure.in (target_libs): Remove libg++.
(noconfigdirs): Remove libg++.
(noconfigdirs): Same.
(noconfigdirs): Same.
(noconfigdirs): Same.
* config-ml.in: Remove libg++ references.
* Makefile.in (TARGET_CONFIGDIRS): Remove libio, libstdc++, libg++.
(ALL_TARGET_MODULES): Same.
(configure-target-libg++): Remove.
(all-target-libg++): Remove.
(configure-target-libio): Remove.
(all-target-libio): Remove.
(check-target-libio): Remove.
(.PHONY): Remove.
(libg++.tar.bz2): Remove.
(all-target-cygmon): Remove libio.
(all-target-libstdc++): Remove.
(configure-target-libstdc++): Remove.
(TARGET_LIB_PATH): Remove libstdc++.
(ALL_GCC_CXX): Remove libstdc++.
From-SVN: r39911
|
|
From-SVN: r39910
|
|
for an inner interface.
* parse.y (parser_check_super_interface): Don't call
check_pkg_class_access for an inner interface.
(parser_check_super): Don't call check_pkg_class_access for inner
class.
(do_resolve_class): Simplify enclosing type loop. Don't call
check_pkg_class_access if CL and DECL are not set.
(find_in_imports_on_demand): Set DECL if class_type needed to be
loaded. Don't call check_pkg_class_access for an inner class.
(check_inner_class_access): Rewritten to implement member access
rules as per spec 6.6.1.
(check_pkg_class_access): Handle the empty package correctly.
(in_same_package): New function. Determine if two classes are in the
same package.
From-SVN: r39909
|
|
* decl2.c (set_decl_namespace): Allow explicit instantiations in
any namespace.
From-SVN: r39907
|
|
into array types.
* typeck.c (build_java_array_type): Don't try to poke a public `clone'
method into array types.
* parse.y (patch_method_invocation): Bypass access check on clone call
to array instance.
From-SVN: r39906
|
|
libf2c:
* libF77/Version.c, libI77/Version.c, libU77/Version.c: Update G77
version number to 0.5.27.
gcc:
* README, cpp.texi, gcc.texi, version.c: Update version number to
3.1.
* cpp.1, gcov.1, gcc.1: Regenerate.
gcc/f:
* version.c, root.texi: Update GCC version number to 3.1. Update
G77 version number to 0.5.27.
* BUGS, NEWS: Regenerate.
From-SVN: r39901
|
|
include_count here too.
* cppfiles.c (stack_include_file): Generate dependencies
here, and manage include_count here too.
(PRINT_THIS_DEP): Delete.
(_cpp_execute_include): Do not generate dependencies here,
apart from the case of a missing header. Do not manage
include_count.
(_cpp_read_file): Leave dependency generation to
stack_include_file.
From-SVN: r39899
|
|
From-SVN: r39896
|
|
* config.gcc (hppa*64*-*-hpux11*): Add MASK_GAS to
target_cpu_default. Remove dead assignment to
target_cpu_default.
From-SVN: r39895
|
|
* regclass.c (contains_reg_of_mode): Make global.
(init_reg_sets): Remove contains_reg_of_mode; take into account
CLASS_MAX_NREGS when looking for the proper mode.
(dump_regclass): Dump only classes considered for the pseudo.
(regclass): Use contains_reg_of_mode.
From-SVN: r39891
|
|
* gcc.c (do_spec_1): 'n' for printing notices.
* i386.h (CC1_CPU_SPEC): Notice deprecated options as deprecated.
From-SVN: r39889
|
|
2001-02-19 Andreas Jaeger <aj@suse.de>
* config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
Fix typo.
From-SVN: r39886
|
|
* reg-stack.c (next_flags_user): Use current_block->end
(swap_rtx_condition): Look for next user if flags don't die;
give up on CALL_INSNs; use current_block->end.
From-SVN: r39884
|
|
From-SVN: r39883
|
|
* sibcall.c (call_ends_block_p): New function.
(optimize_sibling_and_tail_recursive_call): Use it.
From-SVN: r39879
|
|
From-SVN: r39877
|
|
constructor arguments are illegal.
* java/io/CharArrayReader.java (CharArrayReader): Throw
IllegalArgumentException if constructor arguments are illegal.
(ready): Return false if no more characters can be read.
* java/io/ByteArrayInputStream.java (ByteArrayInputStream): Likewise.
From-SVN: r39876
|
|
* optimize.c (expand_call_inline): Don't walk subtrees of type
nodes.
* g++.old-deja/g++.other/inline19.c: Remove XFAIL.
From-SVN: r39873
|
|
* java/lang/Integer.java (getInteger): Return default argument if
property is not set. Don't call decode with null argument.
* java/lang/Long.java (getLong): Likewise.
From-SVN: r39870
|
|
From-SVN: r39869
|
|
2001-02-18 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md: Update copyright.
From-SVN: r39868
|
|
2001-02-18 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md: Do not output an extra newline character.
From-SVN: r39866
|
|
2001-02-18 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md: Do not output an extra newline character.
From-SVN: r39865
|
|
From-SVN: r39862
|
|
unused.
* toplev.c (note_deferral_of_defined_inlined_function): Argument
FNDECL may be unused.
* toplev.c (rest_of_compilation): Don't have CSE skip blocks or
follow jumps after first run.
If -fexpensive-optimizations rerun CSE after GCSE and iterate until
it doesn't change any jumps.
From-SVN: r39861
|
|
* Makefile.in (rtlanal.o): Depend on hard-reg-set.h.
($HOST_PREFIX_1)rtlanal.o: Remove rules for building
(mostlyclean): Corresponding changes.
* rtlanal.c (hard-reg-set.h): Include.
(rtx_unstable_p): Do not treat the argument pointer specially
if it is not a fixed register.
(rtx_varies_p, rtx_addr_can_trap_p): Similarly.
From-SVN: r39860
|
|
real insn in basic block.
* sibcall.c (optimize_sibling_and_tail_recursive_call): Compare
against last real insn in basic block.
Rework to avoid gotos.
From-SVN: r39858
|
|
* Makefile.in (gcse.o): Now includes ggc.h.
* gcse.c: Include ggc.h.
(want_to_gcse_p): Verify expression can be in SET as valid insn.
(try_replace_reg): Remove warning of uninitialize variable.
(process_insert_insn): Call invalid_insn_p to validate insn.
* recog.c (insn_invalid_p): Now global.
See if can make valid by adding CLOBBERs of SCRATCH only and do if so.
* recog.h (insn_invalid_p): New declaration.
From-SVN: r39857
|
|
From-SVN: r39856
|
|
constants sonce 'Y' output code can't handle it.
* config/sparc/sparc.c (eligible_for_epilogue_delay): Don't put
assignments from FP constants sonce 'Y' output code can't handle it.
(eligible_for_sibcall_delay): Likewise.
From-SVN: r39854
|
|
* flow.c (print_rtl_and_abort_fcn): Renamed from print_rtl_and_abort.
Call fancy_abort directly, passing args.
(print_rtl_and_abort): Now a macro, like fancy_abort.
From-SVN: r39852
|