aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-12-29Temoporarily disable broken verify flow info.Jan Hubicka1-0/+1
From-SVN: r48372
2001-12-29call.c (build_user_type_conversion_1): Use my_friendly_assert rather than if ...Nathan Sidwell5-15/+18
cp: * call.c (build_user_type_conversion_1): Use my_friendly_assert rather than if ... abort. * cvt.c (convert_to_reference): Likewise. * semantics.c (setup_vtbl_ptr): Likewise. * pt.c (lookup_template_class): Comment typo. From-SVN: r48371
2001-12-29re PR c++/5125 (both g++ 3.0.1 and 2.95.3 crash with internal error when ↵Nathan Sidwell4-1/+28
trying compile template method with parameter pointer to method) cp: PR c++/5125 * pt.c (push_template_decl_real): Make sure DECL has DECL_LANG_SPECIFIC. testsuite: * g++.dg/template/crash1.C: New test. From-SVN: r48370
2001-12-29re PR c++/335 (gcc accepts assignment in read-only structures)Nathan Sidwell5-12/+42
cp: PR c++/335 * init.c (resolve_offset_ref): Copy cv qualifiers of this pointer for non-reference fields. * typeck.c (require_complete_type): Use resolve_offset_ref). testsuite: * g++.dg/other/const1.C: New test. From-SVN: r48369
2001-12-29objc-act.c (STRING_OBJECT_CLASS_NAME): Remove.Stan Shebs2-6/+9
* objc/objc-act.c (STRING_OBJECT_CLASS_NAME): Remove. (default_constant_string_class_name): New global. (objc_init): Set it. (synth_module_prologue): Use it. From-SVN: r48366
2001-12-29* objc/objc-act.c: Apply various cosmetic and formatting changes.Stan Shebs2-67/+67
From-SVN: r48365
2001-12-29* gcc.c-torture/compile/20011229-1.c: New test.Hans-Peter Nilsson2-0/+82
From-SVN: r48363
2001-12-29darwin-tramp.asm: Fix comment formatting.Kazu Hirata6-23/+31
* config/rs6000/darwin-tramp.asm: Fix comment formatting. * config/rs6000/freebsd.h: Likewise. * config/rs6000/rs6000.c: Likewise. * config/sh/sh.c: Likewise. * config/sh/sh.h: Likewise. From-SVN: r48362
2001-12-29Daily bump.GCC Administrator6-6/+6
From-SVN: r48360
2001-12-29gen-table.pl: Don't process characters after \uffff.Tom Tromey2-4/+14
* gen-table.pl: Don't process characters after \uffff. Added comment pointing to input file. From-SVN: r48359
2001-12-28cpu_limits.h: New file.Richard Henderson4-0/+83
* config/cpu/ia64/bits/cpu_limits.h: New file. * config/os/osf/osf5.0/bits/cpu_limits.h: New file. * configure.target (CPULIMITSH): Use them. From-SVN: r48358
2001-12-28objc-torture.exp: Resync with c-torture.exp.Stan Shebs3-131/+128
* lib/objc-torture.exp: Resync with c-torture.exp. * lib/objc.exp: Load standard libraries. From-SVN: r48357
2001-12-28objc-act.c (build_module_descriptor): Make sure the init function is not ↵Stan Shebs2-0/+15
deferred. * objc/objc-act.c (build_module_descriptor): Make sure the init function is not deferred. (build_dispatch_table_initializer): Compute the method encoding if not already done. From-SVN: r48356
2001-12-28* doc/md.texi: Add @findex define_insn_and_split.Kazu Hirata2-0/+5
From-SVN: r48355
2001-12-28gen-table.pl: Const-ify output.Kaveh R. Ghazi3-5/+16
* gen-table.pl: Const-ify output. Document the location of a suitable unicode input file. * chartables.h: Regenerate. From-SVN: r48354
2001-12-28c++config: Move doxygen hook comment...Phil Edwards3-4/+11
2001-12-28 Phil Edwards <pme@gcc.gnu.org> * include/bits/c++config: Move doxygen hook comment... * docs/doxygen/doxygroups.cc: ...to here. From-SVN: r48353
2001-12-28linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.Hans Boehm3-23/+95
* config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New. * config/ia64/unwind-ia64.c (uw_init_context_1): Redo sp, psp, bsp setup. Set pri_unat_loc to something reasonable. (uw_install_context): Add missing cast. (unw_access_gr): Fix off-by-1 indexing error. From-SVN: r48352
2001-12-28re PR libstdc++/2054 (g++-3 rejects legal code, accepted by g++-2.95.2 ↵Phil Edwards3-2/+83
(functors)) 2001-12-28 Phil Edwards <pme@gcc.gnu.org> PR libstdc++/2054 * include/bits/stl_algo.h (lower_bound): Relax concept checks. * testsuite/ext/concept_checks.cc: New file. From-SVN: r48351
2001-12-28stl_algo.h (count returning void, [...]): Move to...Paolo Carlini6-376/+447
2001-12-28 Paolo Carlini <pcarlini@unitus.it> * include/bits/stl_algo.h (count returning void, count_if returning void, __random_sample, random_sample, random_sample_n, __is_heap, is_heap, is_sorted): Move to... * include/ext/algorithm: ...here, new file. * include/Makefile.am (ext_headers): Add new file. * include/Makefile.in: Regenerate. * testsuite/ext/headers.cc: Include <ext/algorithm>. From-SVN: r48350
2001-12-28except.c: Fix comment formatting.Kazu Hirata9-29/+40
* except.c: Fix comment formatting. * flags.h: Likewise. * flow.c: Likewise. * predict.c: Likewise. * simplify-rtx.c: Likewise. * system.h: Likewise. * vmsdbg.h: Likewise. * vmsdbgout.c: Likewise. From-SVN: r48349
2001-12-28* config/h8300/h8300.md: Fix formatting.Kazu Hirata2-22/+26
From-SVN: r48348
2001-12-28varasm.c (record_constant_1): Correct parameter to recursive call in default ↵Geoffrey Keating2-1/+6
case. * varasm.c (record_constant_1): Correct parameter to recursive call in default case. From-SVN: r48347
2001-12-28Fix whitespace in and around comment.Richard Kenner1-3/+3
From-SVN: r48346
2001-12-28basic_string.h (insert(__pos, __s, __n)): Optimize by avoiding temporaries ↵Paolo Carlini3-15/+106
and working in-place when possible. 2001-12-28 Paolo Carlini <pcarlini@unitus.it> Nathan Myers <ncm@cantrip.org> * include/bits/basic_string.h (insert(__pos, __s, __n)): Optimize by avoiding temporaries and working in-place when possible. (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n). (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n). * testsuite/21_strings/insert.cc (test02): New testcases. Co-Authored-By: Nathan Myers <ncm@cantrip.org> From-SVN: r48345
2001-12-28sparc.h (ASM_PREFERRED_EH_DATA_FORMAT, [...]): Define.Jakub Jelinek6-9/+105
* config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT, ASM_OUTPUT_DWARF_PCREL): Define. * config/sparc/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. * configure.in (HAVE_AS_SPARC_UA_PCREL): Check whether as supports .uaword %r_disp32() and linker handles it correctly. * configure, config.in: Rebuilt. From-SVN: r48344
2001-12-28c-typeck.c (store_init_value): If initializing object with array type of ↵Jakub Jelinek5-5/+53
unknown size by a compound literal... * c-typeck.c (store_init_value): If initializing object with array type of unknown size by a compound literal, set object's size from compound literal size. * doc/extend.texi (Compound Literals): Adjust documentation. * gcc.dg/gnu89-init-1.c: Adjust for the new behaviour, add some additional tests. From-SVN: r48343
2001-12-28real.c (etoe113, toe113): Ifndef INTEL_EXTENDED_IEEE_FORMAT.Richard Henderson3-8/+28
* real.c (etoe113, toe113): Ifndef INTEL_EXTENDED_IEEE_FORMAT. (endian): Clear word 3 for INTEL_EXTENDED_IEEE_FORMAT. (etartdouble): Invoke etoe64 for INTEL_EXTENDED_IEEE_FORMAT. * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Don't special case INTEL_EXTENDED_IEEE_FORMAT. From-SVN: r48342
2001-12-28Daily bump.GCC Administrator6-6/+6
From-SVN: r48340
2001-12-28combine.c (try_combine): Mask off sign bits when combining stores to the low ↵Geoffrey Keating2-1/+5
and high parts of a... * combine.c (try_combine): Mask off sign bits when combining stores to the low and high parts of a two-word value. From-SVN: r48339
2001-12-28expr.c (expand_expr): Don't mark memory for non-constants as constant.Geoffrey Keating2-4/+6
* expr.c (expand_expr): Don't mark memory for non-constants as constant. From-SVN: r48338
2001-12-27integrate.c (copy_rtx_and_substitute, case MEM): If inlining and not for ↵Richard Kenner2-0/+12
LHS, clear RTX_UNCHANGING_P. * integrate.c (copy_rtx_and_substitute, case MEM): If inlining and not for LHS, clear RTX_UNCHANGING_P. From-SVN: r48337
2001-12-28cppfiles.c (stack_include_files): Don't translate <stdin>.Philipp Thomas2-1/+5
From-SVN: r48336
2001-12-27re PR rtl-optimization/3508 (builtin memcmp() could be optimised)Roger Sayle4-0/+68
* builtins.c (expand_builtin_memcmp): Optimize memcmp built-in when all arguments are known constant. Fixes PR opt/3508. * gcc.c-torture/execute/string-opt-16.c: New testcase. From-SVN: r48335
2001-12-27* config/h8300/h8300.md (two anonymous patterns): Remove.Kazu Hirata2-27/+5
From-SVN: r48334
2001-12-27haifa-sched.c (reemit_other_notes): New.Richard Henderson9-19/+138
* haifa-sched.c (reemit_other_notes): New. (schedule_block): Use it. * sched-ebb.c (schedule_ebbs): Call remove_unnecessary_notes. * sched-rgn.c (schedule_insns): Likewise. * cfglayout.c (remove_scope_notes): Handle removing note at the end of the insn chain. * function.c (debug_find_var_in_block_tree): New. * gcc.dg/debug-1.c, gcc.dg/debug-2.c: New. From-SVN: r48333
2001-12-27testsuite_hooks.h (gnu_counting_struct): Add.Phil Edwards3-0/+75
2001-12-27 Phil Edwards <pme@gcc.gnu.org> * testsuite/testsuite_hooks.h (gnu_counting_struct): Add. * testsuite/23_containers/deque_ctor.cc: New file. From-SVN: r48332
2001-12-27Fix typo in 2001-12-26 entryHans-Peter Nilsson1-1/+1
From-SVN: r48331
2001-12-27linux64.h (ASM_DECLARE_FUNCTION_NAME): Simplify.Alan Modra2-76/+98
2001-12-27 Alan Modra <amodra@bigpond.net.au> David Edelsohn <edelsohn@gnu.org> * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Simplify. Co-Authored-By: David Edelsohn <edelsohn@gnu.org> From-SVN: r48330
2001-12-27toplev.c (independent_decode_option): Re-add -aux-info option handling.Jakub Jelinek2-0/+29
* toplev.c (independent_decode_option): Re-add -aux-info option handling. From-SVN: r48329
2001-12-27integrate.c (copy_insn_notes): Don't adjust REG_EH_REGION note if special value.Richard Kenner2-1/+7
* integrate.c (copy_insn_notes): Don't adjust REG_EH_REGION note if special value. From-SVN: r48328
2001-12-27locale_facets.tcc (collate::do_transform): Adjust implicit typename.Paolo Carlini5-10/+21
2001-12-27 Paolo Carlini <pcarlini@unitus.it> * include/bits/locale_facets.tcc (collate::do_transform): Adjust implicit typename. * config/locale/messages_members_generic.h (messages::open, messages::do_open, messages::do_get): Adjust implicit typename. * config/locale/messages_members_gnu.h (messages::open, messages::do_open, messages::do_get): Adjust Implicit typename. * config/locale/messages_members_ieee_1003.1-200x.h (messages::open, messages::do_open, messages::do_get): Adjust implicit typename. From-SVN: r48327
2001-12-27Daily bump.GCC Administrator6-6/+6
From-SVN: r48325
2001-12-27re PR libstdc++/3829 (missing template instantiations)Phil Edwards3-0/+104
2001-12-27 Phil Edwards <pme@gcc.gnu.org> PR libstdc++/3829 * src/misc-inst.cc: Many additional I/O-related instantiations. * testsuite/27_io/instantiations.cc: New file. From-SVN: r48324
2001-12-27Fix typo in ChangeLogKaveh Ghazi1-1/+1
From-SVN: r48323
2001-12-27collect2.c (is_ctor_dtor): Const-ify.Kaveh R. Ghazi17-81/+105
* collect2.c (is_ctor_dtor): Const-ify. * m88k-protos.c (output_file_start): Likewise. * m88k.c (m88k_lang_independent_options, output_options, output_file_start): Likewise. * fix-header.c (files_to_ignore, std_include_entry, include_entry, std_include_table, main): Likewise. * protoize.c (longopts): Likewise. * regclass.c (int_reg_class_contents): Likewise. * toplev.c (dump_file, f_options, W_options): Make static. (lang_independent_options, f_options, W_options): Const-ify. * tree-dump.c (dump_file_info): Likewise. * unroll.c (_factor): Make static. java: * chartables.h: Const-ify. * gjavah.c (options): Likewise. * jcf-dump.c (options): Likewise. * jv-scan.c (options): Likewise. * lex.c (java_start_char_p, java_part_char_p): Likewise. * parse.y (binop_lookup): Likewise. From-SVN: r48322
2001-12-26* config/alpha/alpha.c (alpha_align_insns): Remove warning.Richard Kenner2-1/+3
From-SVN: r48321
2001-12-26sparc.md (call struct patterns): Show starting at two words long.Richard Kenner2-4/+13
* config/sparc/sparc.md (call struct patterns): Show starting at two words long. From-SVN: r48320
2001-12-26rs6000.h (ASM_CPU_SPEC, [...]): Add mcpu=405.David Edelsohn3-1/+10
* rs6000.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add mcpu=405. * sysv4.h (CPP_SYSV_SPEC, CPP_OS_VXWORKS_SPEC): Add mcpu=405. From-SVN: r48319
2001-12-26insert_iterator.cc (test02): Add.Benjamin Kosnik6-42/+120
2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com> * testsuite/24_iterators/insert_iterator.cc (test02): Add. * testsuite/24_iterators/front_insert_iterator.cc (test02): Add. * testsuite/24_iterators/back_insert_iterator.cc (test02): Add. * testsuite/24_iterators/reverse_iterator.cc (test02): Add. * include/bits/stl_iterator.h (reverse_iterator): Uglify member current to _M_current. (back_insert_iterator): Ulify member container to _M_container. (front_insert_iterator): Same. (insert_iterator): Same. From-SVN: r48318
2001-12-26re PR c++/196 (problem with: namespace N { class N {...}; })Nathan Sidwell5-5/+76
cp: PR c++/196 * cp/parse.y (bad_parm): Better diagnostic when given a SCOPE_REF. testsuite: * g++.dg/eh/ctor1.C: New test. * g++.dg/other/error2.C: New test. From-SVN: r48317