aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-03-15decl.c (cp_make_fnname_decl): Set DECL_IGNORED_P on __FUNCTION__ and its ilk.Mark Mitchell3-0/+14
* decl.c (cp_make_fnname_decl): Set DECL_IGNORED_P on __FUNCTION__ and its ilk. From-SVN: r40485
2001-03-15varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME...Mark Mitchell34-165/+286
* varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME, not the contents of the RTL, to determine the name of the object. * tree.h (DECL_RTL): Allocate RTL lazily. (SET_DECL_RTL): New macro. (DECL_RTL_SET_P): Likewise. (COPY_DECL_RTL): Likewise. (DECL_RTL_IF_SET): Likewise. * varasm.c (make_decl_rtl): Add assertions about the kind of declaration we are processing. * c-decl.c (duplicate_decls): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc. (start_decl): Likewise. (finish_decl): Likewise. * c-semantics.c (emit_local_var): Likewise. * calls.c (expand_call): Likewise. * dbxout.c (dbxout_symbol): Likewise. * emit-rtl.c (unshare_all_rtl): Likewise. (unshare_all_decls): Likewise. (reset_used_decls): Likewise. * expr.c (store_constructor): Likewise. (safe_from_p): Likewise. (expand_expr): Likewise. * function.c (put_var_into_stack): Likewise. (instantiate_decls_1): Likewise. (assign_parms): Likewise. (expand_function_start): Likewise. (expand_function_end): Likewise. * ggc-common.c (gcc_mark_trees): Likewise. * integrate.c (function_cannot_inline_p): Likewise. (copy_decl_for_inlining): Likewise. (expand_inline_function): Likewise. (integrate_parm_decls): Likewise. (integrate_decl_tree): Likewise. * print-tree.c (print_node): Likewise. * reg-stack.c (stack_result): Likewise. * stmt.c (label_rtx): Likewise. (expand_return): Likewise. (expand_decl): Likewise. (expand_decl_cleanup): Likewise. (expand_anon_union_decl): Likewise. * toplev.c (check_global_declarations): Likewise. (rest_of_decl_compilation): Likewise. * tree.c (simple_cst_equal): Likewise. * objc/objc-act.c (generate_static_references): Likewise. * class.c (build_clone): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc. * cp-tree.h (DECL_IN_MEMORY_P): Likewise. * decl.c (duplicate_decls): Likewise. (builtin_function): Likewise. (build_library_fn): Likewise. (build_cp_library_fn): Likewise. (check_initializer): Likewise. (cp_finish_decl): Likewise. * decl2.c (grokfield): Likewise. (grok_function_init): Remove #if 0'd code. (finish_anon_union): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc. * friend.c (do_friend): Likewise. * init.c (get_temp_regvar): Likewise. * method.c (make_thunk): Likewise. * pt.c (tsubst_friend_function): Likewise. (tsubst_decl): Likewise. (regenerate_decl_from_template): Likewise. * semantics.c (genrtl_named_return_value): Likewise. (expand_body): Likewise. (genrtl_finish_function): Likewise. * tree.c (cp_tree_equal): Likewise. * com.c (ffecom_member_phase_2): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc. (duplicate_decls): Likewise. (start_decl): Likewise. * class.c (build_static_field_ref): Likewise. (make_method_value): Likewise. (get_dispatch_table): Likewise. * decl.c (push_jvm_slot): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc. From-SVN: r40482
2001-03-15thr.c (objc_thread_add): New function.Nicola Pero4-0/+40
2001-03-14 Nicola Pero <n.pero@mi.flashnet.it> * thr.c (objc_thread_add): New function. (objc_thread_remove): Ditto. * objc/thr.h: Declare them. * libobjc.def: Mention them. From-SVN: r40479
2001-03-15aclocal.m4 (gcc_AC_C_CHARSET, [...]): New macros.Zack Weinberg33-814/+707
* aclocal.m4 (gcc_AC_C_CHARSET, gcc_AC_C_COMPILE_BIGENDIAN, gcc_AC_C_FLOAT_FORMAT): New macros. * configure.in: Add AC_PROG_CPP after CC tests; gcc_AC_C_CHARSET and gcc_AC_C_FLOAT_FORMAT after the sizeof tests; and gcc_AC_C_COMPILE_BIGENDIAN after gcc_AC_C_CHAR_BIT. * configure, config.in: Regenerate. * config/a29k/xm-a29k.h, config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h, config/convex/xm-convex.h, config/d30v/xm-d30v.h, config/i370/xm-linux.h, config/i370/xm-oe.h, config/ia64/xm-ia64.h, config/m32r/xm-m32r.h, config/m68k/xm-m68k.h, config/mips/xm-mips.h, config/pa/xm-linux.h, config/pa/xm-pa.h, config/rs6000/xm-lynx.h, config/rs6000/xm-mach.h, config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h, config/sparc/xm-sparc.h, config/vax/xm-vax.h, config/we32k/xm-we32k.h: Delete. * config/i370/xm-mvs.h, config/m88k/m88k.h, config/romp/xm-romp.h, config/rs6000/xm-beos.h, config/vax/xm-vms.h: Don't define any of: HOST_FLOAT_FORMAT, HOST_EBCDIC, HOST_WORDS_BIG_ENDIAN * config/rs6000/aix.h: Define COLLECT_EXPORT_LIST here. * config.gcc: Remove references to deleted files. (i370-*-opened*): Use i370/xm-mvs.h (which now defines only FATAL_EXIT_CODE, which is the same between oe and mvs). From-SVN: r40478
2001-03-14i960.c (i960_function_prologue): Compute size of frame according to number ↵DJ Delorie2-2/+8
of registers actually saved there. * config/i960/i960.c (i960_function_prologue): Compute size of frame according to number of registers actually saved there. Co-Authored-By: Vladimir Makarov <vmakarov@redhat.com> From-SVN: r40477
2001-03-14* expr.c (emit_move_insn_1): Fix else if around #endif.Richard Henderson2-1/+6
From-SVN: r40476
2001-03-14md.texi (machine constraints): Document 'Q', 'R', 'e' and 'Z' constraints.Jan Hubicka2-1/+26
* md.texi (machine constraints): Document 'Q', 'R', 'e' and 'Z' constraints. From-SVN: r40475
2001-03-14i386.c (ix86_cmodel_string, [...]): Define.Jan Hubicka3-1/+259
* i386.c (ix86_cmodel_string, ix86_cmodel): Define. (override_options): Parse cmodel string. (x86_64_sign_extended_value, x86_64_zero_extended_value): New. * i386.h (TARGET_OPTIONS): Add "cmodel". (EXTRA_CONSTRAINT): Recognize 'e' and 'Z'. (enum cmodel): New. (ix86_cmodel_string, ix86_cmodel): Declare. Spot by Matt Kraai: * i386.h (GENERAL_REG_P): Add missing REG_P. From-SVN: r40474
2001-03-14Fix pathname.DJ Delorie1-1/+1
From-SVN: r40473
2001-03-14std_streambuf.h: Remove cached locale facets.Benjamin Kosnik7-59/+73
2001-03-14 Benjamin Kosnik <bkoz@redhat.com> libstdc++/2020 * include/bits/std_streambuf.h: Remove cached locale facets. (basic_streambuf::_M_buf_fctype): Remove. (basic_streambuf::~basic_streambuf): Remove here. (basic_streambuf::basic_streambuf): Same. (basic_streambuf::imbue): Same. * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype. * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove. (basic_filebuf::~basic_filebuf()): Remove here. * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same. (basic_filebuf::imbue): Same. * include/bits/localefwd.h (_Count_ones): Remove. (locale::_S_num_categories): Just use 6, since this doesn't actually change, ever. * include/bits/locale_facets.tcc (has_facet): Simplify. (use_facet): Same. * testsuite/27_io/filebuf.cc (test06): Add tests. From-SVN: r40472
2001-03-14configure.in: Use $gcc_cv_as instead of $as.Laurynas Biveinis3-2/+7
* configure.in: Use $gcc_cv_as instead of $as. * configure: Regenerated. From-SVN: r40470
2001-03-14Fix copyright datesNick Clifton10-8/+48
From-SVN: r40469
2001-03-14* gcc.dg/cpp/mi1.c: Update.Neil Booth2-0/+5
From-SVN: r40468
2001-03-14cppfiles.c (stack_include_file): Only increase the include count if we ↵Neil Booth3-58/+75
actually process the file properly... * cppfiles.c (stack_include_file): Only increase the include count if we actually process the file properly, as opposed to treating it as length zero. Only call read_include_file if not DO_NOT_REREAD. Handle the -H include file output here. (read_include_file): Remove now redundant DO_NOT_REREAD check. (cpp_included, find_include_file): Simplify pathnames after remapping them. If remapping, don't use the remapped file name's buffer as our scratch buffer. (cpp_pop_file_buffer): Replace the multiple include macro only if it isn't yet set. (read_name_map): Simplify remapped names when reading in. (remap_filename): Move code to code path that uses it. (_cpp_simplify_pathname): Return the input pointer. * cpphash.h (_cpp_simplify_pathname): Update prototype. From-SVN: r40467
2001-03-14* expr.c (expand_expr): Revove bogus conditional.Mark Mitchell2-6/+4
From-SVN: r40464
2001-03-14assignment.xfail: Removed.Tom Tromey3-4/+5
* libjava.compile/assignment.xfail: Removed. * libjava.compile/assignment_2.xfail: Removed. From-SVN: r40463
2001-03-14* expr.c (emit_move_insn_1): Guard PUSH_ROUNDING use by ifdef.Jan Hubicka2-0/+6
From-SVN: r40462
2001-03-14reg-stack.c (stack_result): Unconditionally use FUNCTION_OUTGOING_VALUE resp.Jakub Jelinek4-5/+41
* reg-stack.c (stack_result): Unconditionally use FUNCTION_OUTGOING_VALUE resp. FUNCTION_VALUE. * g++.old-deja/g++.other/regstack.C: New test. From-SVN: r40457
2001-03-14natThrowable.cc (printRawStackTrace): Copy the stackTrace buffer to a ↵Andrew Haley2-3/+9
correctly aligned pointer array. 2001-03-01 Andrew Haley <aph@redhat.com> * java/lang/natThrowable.cc (printRawStackTrace): Copy the stackTrace buffer to a correctly aligned pointer array. From-SVN: r40456
2001-03-14expr.c (emit_move_insn_1): Split push of complex value when no suitable push ↵Jan Hubicka4-13/+64
instruction exist. * expr.c (emit_move_insn_1): Split push of complex value when no suitable push instruction exist. * i386.md (QImode move/add/shift patterns): Use ANY_QI_REG_P instead of QI_REG_P. From-SVN: r40454
2001-03-14Daily bump.GCC Administrator5-5/+5
From-SVN: r40453
2001-03-13ctype_base.h: Make ctype masks match HP-UX ctype.h header file.Steve Ellcey2-11/+16
* libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks match HP-UX ctype.h header file. From-SVN: r40451
2001-03-13alias.c (handled_component_p, [...]): New functions.Richard Kenner2-29/+62
* alias.c (handled_component_p, can_address_p): New functions. (get_alias_set): Use them. From-SVN: r40449
2001-03-13Fix reg-alloc error reported by Andreas Schwab to Trillian list.Jim Wilson2-1/+14
* config/ia64/ia64.c (find_gr_spill): Subtract frame_pointer_needed from 80 in try_locals code. (ia64_expand_prologue): Add comment pointing to find_gr_spill change. From-SVN: r40447
2001-03-14aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, [...]): New.Zack Weinberg23-554/+867
* aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_C_CHAR_BIT, gcc_AC_C_LONG_LONG): New. * configure.in: Use them. Probe the size of short, int, long, and long long/__int64 if we have them. Move all the AC_C_* checks together, except gcc_AC_C_CHAR_BIT which has to go after AC_CHECK_HEADERS(limits.h). Take hwint.h out of host_xm_file and build_xm_file. * hwint.h: Unconditionally define HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT, HOST_BITS_PER_INT, HOST_BITS_PER_LONG, and HOST_BITS_PER_LONGLONG in terms of SIZEOF_* and CHAR_BIT. Move the HOST_WIDEST_INT setup logic here from system.h. Provide HOST_WIDEST_INT even if HOST_BITS_PER_LONGLONG is not defined. * system.h: Include hwint.h after limits.h. HOST_WIDEST_INT is now handled by hwint.h. * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms.h, config/c4x/xm-c4x.h, config/i370/xm-oe.h, config/ia64/xm-ia64.h: Don't define any of: HOST_BITS_PER_LONG, HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT, HOST_BITS_PER_LONGLONG. * config/alpha/xm-alpha.h, config/dsp16xx/xm-dsp16xx.h, config/h8300/xm-h8300.h, config/mips/iris6.h, config/mn10200/xm-mn10200.h, config/pa/xm-pa64hpux.h, config/sparc/xm-sp64.h: Delete. * config.gcc: Remove references to deleted files. * config/arm/xm-arm.h, config/mips/xm-mips.h: Don't define HOST_FLOAT_FORMAT to IEEE_FLOAT_FORMAT. * config/i370/xm-linux.h: Clarify floating-point situation in a comment. From-SVN: r40446
2001-03-13cppfiles.c (NO_INCLUDE_PATH): New macro.Neil Booth3-71/+69
* cppfiles.c (NO_INCLUDE_PATH): New macro. (find_include_file): Decide here which part of the include chain to start the search. Complain about an empty include chain in all cases apart from an abolsute file name. (_cpp_execute_include): Don't choose the search chain here. Don't call handle_missing_include in the case of an empty include chain. (_cpp_compare_file_date): Don't choose the search chain here. * cpplib.c (do_include_next): Move the in-main-file diagnostic here from _cpp_execute_include. Behave like #include if we're in the main file. From-SVN: r40445
2001-03-13ctype_noninline.h: Fix typo and remove duplicate definitions of __dj_ctype_*Andris Pavenis2-6/+6
2001-03-13 Andris Pavenis <pavenis@latnet.lv> * config/djgpp/bits/ctype_noninline.h: Fix typo and remove duplicate definitions of __dj_ctype_* From-SVN: r40444
2001-03-13system.h (malloc, [...]): Only poison these tokens when IN_GCC is defined.Kaveh R. Ghazi2-0/+11
* system.h (malloc, realloc, calloc, strdup): Only poison these tokens when IN_GCC is defined. From-SVN: r40443
2001-03-13new: Remove pragma interface.Benjamin Kosnik7-15/+33
2001-03-13 Benjamin Kosnik <bkoz@redhat.com> * libsupc++/new: Remove pragma interface. * libsupc++/typeinfo: Same. * libsupc++/exception: Same. * libsupc++/new_handler.cc: Remove pragma implementation. (bad_alloc::~bad_alloc()): Add. * libsupc++/exception_support.cc: Same. (exception::~exception): Add. (bad_exception::~bad_exception): Add. * libsupc++/tinfo.cc: Same. (bad_cast::~bad_cast): Add. (bad_typeid::~bad_typeid): Add. From-SVN: r40442
2001-03-13mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.Phil Edwards2-1/+9
2001-03-13 Phil Edwards <pme@sources.redhat.com> * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts. From-SVN: r40441
2001-03-13i386.md (abs?f expander): Support SSE case.Jan Hubicka2-3/+136
* i386.md (abs?f expander): Support SSE case. (abd?f_if): Add new "USE"; add splitters. From-SVN: r40440
2001-03-13* cpp.texi (poison): Explain the macro expansion exception.Kaveh R. Ghazi2-0/+20
From-SVN: r40438
2001-03-13expr.c (store_expr): Add dont_store_target.Jakub Jelinek2-2/+17
* expr.c (store_expr): Add dont_store_target. If temp is already in target before copying to reg, don't store it into target again. From-SVN: r40437
2001-03-13Daily bump.GCC Administrator5-5/+5
From-SVN: r40435
2001-03-12* cppinternals.texi: Update for file handling.Neil Booth2-9/+76
From-SVN: r40432
2001-03-12emit-rtl.c (remove_unnecessary_notes): Reverse Richard Kenner's 2001-02-24 ↵Jeffrey Oldham6-37/+33
which broke building the Java library. 2001-03-12 Jeffrey Oldham <oldham@codesourcery.com> * emit-rtl.c (remove_unnecessary_notes): Reverse Richard Kenner's 2001-02-24 which broke building the Java library. * function.c (identify_blocks): Likewise. (all_blocks): Likewise. * integrate.c (integrate_decl_tree): Likewise. * print-tree.c (print_node): Likewise. * tree.h (BLOCK_NUMBER): Likewise. (struct tree_block): Likewise. From-SVN: r40431
2001-03-12mkcheck.in: workaround for bash 2.01 IFS bug.Felix Lee2-1/+6
2001-03-12 Felix Lee <flee@redhat.com> * mkcheck.in: workaround for bash 2.01 IFS bug. From-SVN: r40430
2001-03-12Fixups for -fno-for-scopeBenjamin Kosnik3-24/+27
2001-03-12 Benjamin Kosnik <bkoz@redhat.com> Fixups for -fno-for-scope * include/bits/locale_facets.tcc (__match_parallel): Fixup. * src/valarray-inst.cc (__gslice_to_index): Same. From-SVN: r40429
2001-03-12aix51.h (CPP_SPEC, [...]): Fix typo in __WCHAR_TYPE__ definition.David Edelsohn2-10/+17
* rs6000/aix51.h (CPP_SPEC, CPLUSPLUS_CPP_SPEC): Fix typo in __WCHAR_TYPE__ definition. (WCHAR_TYPE_SIZE): #undef before #define. From-SVN: r40428
2001-03-12Fix typoRichard Kenner1-1/+1
From-SVN: r40426
2001-03-12vector.h: Include std_vector.h.Benjamin Kosnik2-1/+3
2001-03-12 Benjamin Kosnik <bkoz@redhat.com> * include/backward/vector.h: Include std_vector.h. From-SVN: r40425
2001-03-12cppfiles.c: Update comments.Neil Booth2-105/+127
* cppfiles.c: Update comments. (destroy_include_file_node): Rename destroy_node. (find_or_create_entry): New function. (open_file, _cpp_fake_include): Use it. (handle_missing_header): New function, broken out of _cpp_execute include. Don't segfault if there is no system or quoted path. (_cpp_execute_include): Use handle_missing_header. From-SVN: r40423
2001-03-12gen-num-limits.cc (traps): Add fflush prior to trapping signal (UnixWare 7 ↵Rodney Brown2-183/+200
workaround). 2001-03-12 Rodney Brown <RodneyBrown@mynd.com> * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush prior to trapping signal (UnixWare 7 workaround). From-SVN: r40422
2001-03-12jump.c (reversed_comparison_code_parts): Reverse Jan Hubricka's 2001-02-28 ↵Jeffrey Oldham2-11/+6
patch because it breaks arm-linux and... 2001-03-12 Jeffrey Oldham <oldham@codesourcery.com> * jump.c (reversed_comparison_code_parts): Reverse Jan Hubricka's 2001-02-28 patch because it breaks arm-linux and mips-sgi-irix6.5. From-SVN: r40421
2001-03-12flow.c (insn_dead_p): Don't consider two memrefs equivalent unless ↵Richard Kenner3-18/+32
anti_dependence says they are. * flow.c (insn_dead_p): Don't consider two memrefs equivalent unless anti_dependence says they are. * alias.c (objects_must_conflict): If neither has a type specified, they must conflict. From-SVN: r40420
2001-03-12iris5.h: Change WCHAR_TYPE to int.Neil Booth2-3/+8
* config/mips/iris5.h: Change WCHAR_TYPE to int. Co-Authored-By: David Billinghurst <David.Billinghurst@riotinto.com> From-SVN: r40419
2001-03-12hashtable.h: Same.Craig Rodrigues3-2/+7
2001-03-12 Craig Rodrigues <rodrigc@mediaone.net> * include/backward/hashtable.h: Same. * include/backward/rope.h: Fix include. From-SVN: r40418
2001-03-12istream.tcc (basic_istream<_CharT, [...]): Fix typo.Benjamin Kosnik2-1/+7
2001-03-12 Benjamin Kosnik <bkoz@redhat.com> * include/bits/istream.tcc (basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)): Fix typo. From-SVN: r40417
2001-03-12stl_hashtable.h: Change type of __n to size_tPeter Schmid3-2/+7
2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> * include/ext/stl_hashtable.h: Change type of __n to size_t * include/backward/bvector.h: Include <ext/stl_bvector.h> From-SVN: r40416
2001-03-12call.c (convert_like_real): Add extra semantics to INNER parameter.Nathan Sidwell4-3/+46
cp: * call.c (convert_like_real): Add extra semantics to INNER parameter. Don't convert to temporary if a user conversion gives us an lvalue that we're about to bind to a reference. Set INNER to indicate pending reference binding on recursive calls. testsuite: * g++.old-deja/g++.other/ref4.C: New test. From-SVN: r40415