aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2001-12-26function.c (expand_main_function): Make sure stack adjustments happen before ↵DJ Delorie2-1/+17
sjlj exception setup. * function.c (expand_main_function): Make sure stack adjustments happen before sjlj exception setup. From-SVN: r48316
2001-12-26rs6000.md (indirect_jump): Prefer CTR over LR.David Edelsohn3-7/+25
* rs6000.md (indirect_jump): Prefer CTR over LR. * xcoff.h (ASM_DECLARE_FUNCTION_NAME): Handle weak function. From-SVN: r48315
2001-12-26Daily bump.GCC Administrator6-6/+6
From-SVN: r48313
2001-12-25* dwarf2out.c: Reformatting and minor code rearrangement.Richard Kenner2-650/+670
From-SVN: r48312
2001-12-25std_limits.h (__glibcpp_xxx_is_modulo): New macros for signed types; default ↵Gabriel Dos Reis2-8/+44
value is true. * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New macros for signed types; default value is true. (numeric_limits<>::is_modulo): Get value from corresponding __glibcpp_xxx_is_modulo macro. From-SVN: r48311
2001-12-25Daily bump.GCC Administrator6-6/+6
From-SVN: r48309
2001-12-24re PR c++/160 (Reference variables not initialized correctly in constructor ↵Nathan Sidwell4-124/+137
initializer list using , operator) cp: PR c++/160 * typeck.c (build_modify_expr): Remove old unreachable code & tidy up. Don't stabilize_references when initializing a reference. testsuite: * g++.dg/other/init2.C: New test. From-SVN: r48307
2001-12-24configure.in (uintptr_t): Use AC_CHECK_TYPE.Douglas B Rupp2-190/+198
* configure.in (uintptr_t): Use AC_CHECK_TYPE. * configure: Regenerated. From-SVN: r48306
2001-12-24configure.in (quoted_stage_prefix_set_by_configure): Generate.Douglas B Rupp4-24/+38
* configure.in (quoted_stage_prefix_set_by_configure): Generate. * configure: Regenerated. * Makefile.in (SUBDIR_FLAGS_TO_PASS): Use quoted_stage_prefix_set_by_configure. From-SVN: r48305
2001-12-24rtl.h (in_expr_list_p): New declaration.Richard Kenner7-541/+561
* rtl.h (in_expr_list_p): New declaration. * rtlanal.c (in_expr_list_p): New function. * cfgcleanup.c: Reformatting and minor code rearrangement. * cfglayout.c, cfgloop.c, cfgrtl.c: Likewise. From-SVN: r48304
2001-12-24Remove bogus blank lineRichard Kenner1-1/+0
From-SVN: r48303
2001-12-24re PR debug/5163 (Internal compiler error in add_abstract_origin_attribute, ↵Richard Henderson5-15/+86
at dwarf2out.c:9296) PR c/5163: * c-decl.c (duplicate_decls): As needed, set DECL_INLINE when we have a function body associated. Minor cleanups. (grokdeclarator): Do not set DECL_INLINE without a function body. * gcc.dg/20011223-1.c: New. * gcc.dg/inline-1.c: New. From-SVN: r48302
2001-12-24Daily bump.GCC Administrator6-6/+6
From-SVN: r48301
2001-12-23stmt.c (resolve_operand_names): Handle operand modifiers.Richard Henderson4-4/+22
* stmt.c (resolve_operand_names): Handle operand modifiers. * gcc.dg/asm-4.c: Test operand modifiers. From-SVN: r48299
2001-12-23stmt.c (parse_input_constraint): Break out from ...Richard Henderson3-195/+260
* stmt.c (parse_input_constraint): Break out from ... (expand_asm_operands): ... here. Loop over the operands twice, the first time only calling mark_addressable. Correct and simplify the conditions for spilling an output operand to memory. From-SVN: r48298
2001-12-23* config/alpha/alpha.c (call_operand) [OSF]: Disallow virtual regs.Richard Henderson2-1/+8
From-SVN: r48297
2001-12-23* gcc.c-torture/execute/20011219-1.c (main): Make "i" a long.Richard Henderson2-1/+5
From-SVN: r48296
2001-12-23alpha.md (UNSPEC_SIBCALL): New.Richard Henderson2-6/+13
* config/alpha/alpha.md (UNSPEC_SIBCALL): New. (sibcall, sibcall_value, sibcall_osf_1_er, sibcall_osf_1): Use it. (sibcall_value_osf_1_er, sibcall_value_osf_1): Likewise. From-SVN: r48295
2001-12-23utils.c (end_subprog_body): Push GC context around rest_of_compilation for ↵Richard Henderson2-1/+16
nested functions. * utils.c (end_subprog_body): Push GC context around rest_of_compilation for nested functions. From-SVN: r48294
2001-12-23os_defines.h: Do not include <_sys/inttypes.h>.Jeff Law2-9/+15
* config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>. Twiddle return types for strtoll and strtoull to avoid using intmax_t and uintmax-t. From-SVN: r48293
2001-12-23re PR c/2454 (Test Program A0376972.c fails with gcc-20010320, works with ↵Joseph Myers4-9/+31
gcc-2.95.3) * c-typeck.c (c_start_case): Don't strip conversions from the controlling expression. Partially fixes PR c/2454. testsuite: * gcc.c-torture/execute/20011223-1.c: New test. From-SVN: r48292
2001-12-23Makefile.in (USER_H): Remove proto.h.Joseph Myers3-1/+7
* Makefile.in (USER_H): Remove proto.h. * config.gcc (c*-convex-*): Set extra_headers=proto.h. From-SVN: r48291
2001-12-23arc.c (arc_hard_regno_mode_ok): Const-ify.Kaveh R. Ghazi27-62/+111
* arc.c (arc_hard_regno_mode_ok): Const-ify. * arc.h (arc_hard_regno_mode_ok): Likewise. * i386.c (x86_64_reg_class_name): Make static. * m68k.c (regno_reg_class): Const-ify. * m68k.h (regno_reg_class): Likewise. * mcore.c (reg_class_from_letter): Likewise. * mcore.h (reg_class_from_letter): Likewise. * sh.c (reg_class_from_letter, ashiftrt_insns, shift_insns, ext_shift_insns, ext_shift_amounts): Likewise. * sh.h (reg_class_from_letter): Likewise. * sparc.c (hard_regno_mode_classes, hard_32bit_mode_classes, hard_64bit_mode_classes): Likewise. * sparc.h (hard_regno_mode_classes): Likewise. * gcc.c (modify_target): Make static. * gengenrtl.c (defs, formats): Likewise. * reload1.c (elim_table_1, init_elim_table): Const-ify. * tradcpp.c (directive, directive_table, handle_directive, skip_if_group, run_directive): Likewise. cp: * decl2.c (lang_f_options): Const-ify. f: * com.c (ffecom_gfrt_volatile_, ffecom_gfrt_complex_, ffecom_gfrt_const_, ffecom_gfrt_type_): Const-ify. java: * Make-lang.in (keyword.h): Pass -C to gperf to const-ify the static arrays that are output. * jvspec.c (jvgenmain_spec): Make static. * keyword.gperf (struct java_keyword, java_keyword): Const-ify. * keyword.h: Regenerate. * lang.c (string_option, process_option_with_no, lang_f_options, lang_W_options): Const-ify. * lex.c (java_lex): Likewise. From-SVN: r48290
2001-12-23* 5nosinte.ads: Get definition of "int" from Interfaces.C.Richard Henderson2-1/+8
From-SVN: r48288
2001-12-23calls.c (expand_call): Don't turn off ECF_LIBCALL_BLOCK for an invalid ↵Richard Henderson2-46/+71
result register... * calls.c (expand_call): Don't turn off ECF_LIBCALL_BLOCK for an invalid result register; do end the sequence properly. (emit_library_call_value_1): Likewise. From-SVN: r48287
2001-12-23gnat-style.texi (Declarations and Types): Remove ancient style rule which ↵Florian Weimer2-7/+5
was mandated by code generation issues. * gnat-style.texi (Declarations and Types): Remove ancient style rule which was mandated by code generation issues. From-SVN: r48286
2001-12-23gnat-style.texi (header): Add @dircategory, @direntry.Florian Weimer2-103/+147
* gnat-style.texi (header): Add @dircategory, @direntry. (title page): Remove date. (general) Add @./@: where approriate, and two spaces after the full stop at the end of a sentence. Use @samp markup when referring concrete lexical entities (keywords, attribute names etc.), and @syntax for ARM grammar elements. Use @r for English text in comments. Use @emph for emphasis. Change "if-statements" etc. to "if statements" (without @samp). Break long lines. Make casing of section names consistent. (Identifiers): Use @samp markup for variable names. (Comments): Use @samp markup for comment characters. Line-end comments may follow any Ada code, not just statements. Fix misspelling of "Integer" as "integer". (Loop statements): Do not use variable name "I", use "J". (Subprogram Declarations): Document alignment. (Subprogram Bodies, Block statements): Document empty line before "begin". From-SVN: r48285
2001-12-23Daily bump.GCC Administrator6-6/+6
From-SVN: r48283
2001-12-23rs6000.h (rs6000_builtins): Add vsldoi variants.Aldy Hernandez4-32/+156
* config/rs6000/rs6000.h (rs6000_builtins): Add vsldoi variants. * config/rs6000/rs6000.md ("altivec_vsldoi_*"): Same. * config/rs6000/rs6000.c: Clean up some spacing and indentation. (altivec_init_builtins): Add tree types for builtins with 4 bit literals. (bdesc_3arg): Add vsldoi variants. From-SVN: r48282
2001-12-231750a.h (datalbl, jmplbl): Declare array size explicitly.Kaveh R. Ghazi21-26/+53
* 1750a.h (datalbl, jmplbl): Declare array size explicitly. * a29k.h (a29k_debug_reg_map): Likewise. * arc.h (arc_regno_reg_class): Likewise. * c4x-protos.h (c4x_regclass_map, c4x_caller_save_map): Likewise. * convex.h (regno_reg_class, reg_class_from_letter): Likewise. * d30v.h (regno_reg_class, reg_class_from_letter): Likewise. * i386.h (regclass_map): Likewise. * m32r.h (m32r_hard_regno_mode_ok, m32r_punct_chars): Likewise. * mcore.h (regno_reg_class): Likewise. * mips.h (mips_print_operand_punct, mips_char_to_class): Likewise. * ns32k.h (regclass_map): Likewise. * pj.h (pj_debugreg_renumber_vec): Likewise. * s390.h (regclass_map): Likewise. * sh.h (regno_reg_class): Likewise. * sparc.h (sparc_regno_reg_class): Likewise. * hard-reg-set.h (reg_class_contents): Likewise. * machmode.h (class_narrowest_mode): Likewise. f: * bld.c (ffebld_arity_op_): Declare array size explicitly. * bld.h (ffebld_arity_op_): Likewise. From-SVN: r48281
2001-12-22loop.c (scan_loop, [...]): Do not overlook hard registers when computing ↵David Edelsohn2-21/+47
statistics. * loop.c (scan_loop, move_movables, count_one_set): Do not overlook hard registers when computing statistics. From-SVN: r48280
2001-12-23calls.c (ECF_LIBCALL_BLOCK): New constant.Jan Hubicka2-38/+37
* calls.c (ECF_LIBCALL_BLOCK): New constant. (emit_call_1, initialize_argument_information, precompute_arguments, expand_call, emit_library_call_value_1): Use ECF_LIBCALL_BLOCK instead of ECF_PURE | ECF_CONST. Honnor LCT_CONST/LCT_PURE. From-SVN: r48279
2001-12-22* configure.target (CPULIMITSH): Fix typo in alpha case.Richard Henderson2-1/+5
From-SVN: r48278
2001-12-22config.gcc (extra_headers): Move settings to math-68881.h and ppc-asm.h to ↵Joseph Myers2-65/+21
common code for CPU types. * config.gcc (extra_headers): Move settings to math-68881.h and ppc-asm.h to common code for CPU types. Use math-68881.h on all m68k targets. (header_files): Remove unused setting. From-SVN: r48277