summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* * cppfiles.c (read_include_file): Add comment.neil2001-11-272-0/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47369 138bc75d-0d04-0410-961f-82ee72b054a4
* New test.rth2001-11-271-0/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47368 138bc75d-0d04-0410-961f-82ee72b054a4
* more minimal-toc tweaking of output_mi_thunk.dje2001-11-271-1/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47367 138bc75d-0d04-0410-961f-82ee72b054a4
* * toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.rth2001-11-272-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47365 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef.rth2001-11-273-3/+9
| | | | | | | | * config/ia64/aix.h (PREFERRED_DEBUGGING_TYPE): Remove commented out override. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47364 138bc75d-0d04-0410-961f-82ee72b054a4
* * cppfiles.c (stack_include_file): Don't optimize zero-lengthneil2001-11-2616-178/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | files. (read_include_file): NUL-terminate read files. * cpplex.c (handle_newline, skip_escaped_newlines, get_effective_char, skip_whitespace, parse_identifier, parse_identifier_slow, parse_number, parse_string, _cpp_lex_direct): Optimize for the fact that buffers are guaranteed NUL-terminated. * cpplib.c (destringize_and_run, cpp_define, handle_assertion): Be sure buffers are NUL terminated. * cppmacro.c (warn_of_redefinition): Kill compile warning. * c-common.c: Include tree-inline.h. (c_language): Move separate definitions here. (c_common_init_options, c_common_post_options): New. (c_common_lang_init): Rename c_common_init. * c-common.h (c_common_lang_init): Similarly. (c_common_init_options, c_common_post_options): New. * c-lang.c (c_post_options): Move body to c_common_post_options. (c_init_options): Use c_common_init_options. (c_init): Update. * langhooks.def: Rearrange. * langhooks.h: Rearrange, and improve comments. * toplev.c (do_compile): New function. (toplev_main): Use it. (lang_independent_f_options, parse_options_and_default_flags, process_options): Remove trailing periods. * Makefile.in: Update. cp: * decl2.c (c_language): Move to c-common.c. * lex.c (cxx_post_options, cxx_init_options): Use c-common.c functions. (cxx_init): Update. objc: * objc-act.c (objc_post_options, objc_init_options): Use c-common.c functions. (ojbc_init): Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47362 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/alpha.md (unop): Add 0 offset for some gas versions.rth2001-11-262-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47361 138bc75d-0d04-0410-961f-82ee72b054a4
* * expr.c (store_constructor): Actually use the value computeddj2001-11-262-4/+7
| | | | | | | if WORD_REGISTER_OPERATIONS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47359 138bc75d-0d04-0410-961f-82ee72b054a4
* * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,rth2001-11-262-15/+21
| | | | | | | | gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys, gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47358 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLYrth2001-11-262-1/+6
| | | | | | | for CONSTRUCTOR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47357 138bc75d-0d04-0410-961f-82ee72b054a4
* * rs6000.c (output_mi_thunk): Handle minimal-toc and calldje2001-11-262-7/+14
| | | | | | | correct function on AIX. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47355 138bc75d-0d04-0410-961f-82ee72b054a4
* * toplev.c (process_options): Don't forceaoliva2001-11-262-6/+6
| | | | | | | | flag_optimize_sibling_calls to zero just because exceptions are enabled. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47351 138bc75d-0d04-0410-961f-82ee72b054a4
* * df.h (transfer_function_sbitmap): Use PARAMS around argumentlaw2001-11-262-4/+10
| | | | | | | | list in function prototypes. (transfer_function_bitmap): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47350 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS.ljrittle2001-11-263-15/+5
| | | | | | | * config/i386/netbsd-elf.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47349 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/trouble.texi: Remove outdated RS/6000 comments.dje2001-11-262-32/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47348 138bc75d-0d04-0410-961f-82ee72b054a4
* * call.c (joust): Remove COND_EXPR hack.jason2001-11-262-21/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47346 138bc75d-0d04-0410-961f-82ee72b054a4
* * final.c (walk_alter_subreg): Fix return value.hubicka2001-11-262-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47345 138bc75d-0d04-0410-961f-82ee72b054a4
* * sparc.c (sparc_absnegfloat_split_legitimate): Do not callhubicka2001-11-264-97/+18
| | | | | | | | | alter_subreg. * sparc.md (post-reload splitters): Do not call alter_subreg. * cfgrtl.c (purge_dead_edges): Fix typo in previous fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47339 138bc75d-0d04-0410-961f-82ee72b054a4
* * regclass.c (choose_hard_reg_mode): Handle vector arguments.aldyh2001-11-262-0/+24
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47338 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2001-11-262-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47335 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp/search.c (lookup_base_r): Declare bk in variable declarationaldyh2001-11-262-4/+10
| | | | | | | space. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47333 138bc75d-0d04-0410-961f-82ee72b054a4
* * final.c: (insn_lengths): Make it an int *, so that large jumpamodra2001-11-262-2/+7
| | | | | | | tables don't overflow. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47331 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.jsm282001-11-257-19/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | (format_types): Use it for scanf. (dollar_arguments_pointer_p): New. (init_dollar_format_checking): Store details of which arguments are pointers. (maybe_read_dollar_number): Reallocate dollar_arguments_pointer_p. (finish_dollar_format_checking): Take extra parameter pointer_gap_ok. Treat unused arguments differently if pointer_gap_ok and the unused arguments are pointers. (check_format_info_main): Pass extra argument to finish_dollar_format_checking. * doc/invoke.texi (-Wno-format-extra-args): Document behavior when unused arguments are present between used arguments with operand numbers. testsuite: * gcc.dg/format/strfmon-1.c: Update comments. Adjust examples from Austin Group draft 7. * gcc.dg/format/xopen-1.c: Update comments. Add tests for gaps in scanf format arguments. * gcc.dg/format/no-exargs-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47327 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-11-25 Daniel Berlin <dan@cgsoftware.com>dberlin2001-11-252-160/+263
| | | | | | | | | | | | * df.c: Add prototypes for hybrid_search_bitmap and hybrid_search_sbitmap. (hybrid_search_bitmap): New function. (hybrid_search_sbitmap): New function. (iterative_dataflow_sbitmap): Change to use hybrid_search_sbitmap. (iterative_dataflow_bitmap): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47326 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/cpp/fpreprocessed.c: New test.neil2001-11-251-0/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47325 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimizeciceron2001-11-252-0/+31
| | | | | | | address computations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47323 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/m68hc11/m68hc11.c (d_register_operand): Must acceptciceron2001-11-252-1/+7
| | | | | | | register b (low part of d). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47321 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label nameciceron2001-11-252-1/+6
| | | | | | | passed to mcount. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47319 138bc75d-0d04-0410-961f-82ee72b054a4
* cp:nathan2001-11-2512-470/+568
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR g++/3145 * class.c (build_vbase_pointer): Remove. (build_vbase_path): Remove. (build_base_path): New function. * cp-tree.h (base_access, base_kind): New enumerations. (build_base_path): Declare. (convert_pointer_to_real): Remove. (convert_pointer_to): Remove. (lookup_base): Declare. (convert_pointer_to_vbase): Remove. * call.c (build_scoped_method_call): Use lookup_base & build_base_path instead of convert_pointer_to_real, get_base_distance & get_binfo. (build_over_call): Likewise. * cvt.c (cp_convert_to_pointer): Likewise. (convert_to_pointer_force): Likewise. (build_up_reference): Likewise. (convert_pointer_to_real): Remove. (convert_pointer_to): Remove. * init.c (dfs_initialize_vtbl_ptrs): Use build_base_path instead of convert_pointer_to_vbase & build_vbase_path. (emit_base_init): Use build_base_path instead of convert_pointer_to_real. (expand_virtual_init): Lose unrequired conversions. (resolve_offset_ref): Use lookup_base and build_base_path instead of convert_pointer_to. * rtti.c (build_dynamic_cast_1): Use lookup_base & build_base_path instead of get_base_distance & build_vbase_path. * search.c (get_vbase_1): Remove. (get_vbase): Remove. (convert_pointer_to_vbase): Remove. (lookup_base_recursive): New function. (lookup_base): New function. * typeck.c (require_complete_type): Use lookup_base & build_base_path instead of convert_pointer_to. (build_component_ref): Likewise. (build_x_function_call): Likewise. (get_member_function_from_ptrfunc): Likewise. (build_component_addr): Likewise. * typeck2.c (build_scoped_ref): Likewise. testsuite: * g++.dg/abi/vbase8-4.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47316 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-11-25 Laurent Guerby <guerby@acm.org>guerby2001-11-252-5/+28
| | | | | | | * sysdep.c (rts_get_*): Fix style. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47315 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/vms-ld.c, config/alpha/vms-cc.c: New files.kenner2001-11-255-0/+1159
| | | | | | | | * config/alpha/x-vms: New file, to compile the above. * config.gcc (alpha*-dec-vms*): Add x-vms. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47312 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2001-11-252-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47310 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/execute/20011121-1.c: New test.ian2001-11-252-0/+23
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47309 138bc75d-0d04-0410-961f-82ee72b054a4
* * genextract.c (main): Set ro_loc for peepholes.hp2001-11-242-2/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47308 138bc75d-0d04-0410-961f-82ee72b054a4
* * fix-header.c (main): Move inf_buffer termination and inf_limitkenner2001-11-242-3/+8
| | | | | | | calculation to after read. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47307 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/xm-vms.h (FILE_TYPE): Remove undef and baggage.kenner2001-11-241-16/+3
| | | | | | | (__UNIX_FOPEN): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47306 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/xm-vms.h (FILE_TYPE): Remove undef and baggage.kenner2001-11-241-0/+5
| | | | | | | (__UNIX_FOPEN): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47305 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-11-24 Toon Moene <toon@moene.indiv.nluug.nl>toon2001-11-242-2/+7
| | | | | | | | PR fortran/3957 * lang-specs.h: Correct !pipe conditional in tradcpp0 invocation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47304 138bc75d-0d04-0410-961f-82ee72b054a4
* * function.c (assign_stack_temp_for_type): Clear alias set beforekenner2001-11-242-0/+6
| | | | | | | setting new one. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47303 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2001-11-242-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47299 138bc75d-0d04-0410-961f-82ee72b054a4
* * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEXdje2001-11-243-5/+9
| | | | | | | | format. * rs6000.md (cmptf): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47298 138bc75d-0d04-0410-961f-82ee72b054a4
* * Fix typo in cmptf pattern.dje2001-11-241-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47297 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/execute/ieee/20011123-1.c: New test.law2001-11-232-0/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47295 138bc75d-0d04-0410-961f-82ee72b054a4
* fix typojason2001-11-231-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47293 138bc75d-0d04-0410-961f-82ee72b054a4
* * final.c (output_addr_const): Output PC as '.' even if !flag_pic.rsandifo2001-11-233-8/+11
| | | | | | | | * varasm.c (output_constructor): Use assemble_integer rather than ASM_OUTPUT_BYTE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47287 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpplex.c (cpp_interpret_charconst): Use HOST_WIDE_INT for signaj2001-11-234-12/+39
| | | | | | | | | extension. * gcc.dg/cpp/charconst-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47286 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove some compile time warnings about duplicate definitions.nickc2001-11-232-16/+24
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47285 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2001-11-232-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47283 138bc75d-0d04-0410-961f-82ee72b054a4
* * cppmacro.c (warn_of_redefinition): Warn regardless of -pedantic.neil2001-11-234-7/+12
| | | | | | | * gcc.dg/cpp/mi6.c, gcc.dg/cpp/redef2.c: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47282 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/old-dejagnu.exp (old-dejagnu): Copy extra source filesgeoffk2001-11-2312-1/+50
| | | | | | | | | | | | | | | | | | to the host if it is remote. Let tests specify extra headers they use. * g++.old-deja/g++.abi/vtable3a.C: This uses 'vtable3.h'. * g++.old-deja/g++.abi/vtable3b.C: This uses 'vtable3.h'. * g++.old-deja/g++.abi/vtable3c.C: This uses 'vtable3.h'. * g++.old-deja/g++.abi/vtable3d.C: This uses 'vtable3.h'. * g++.old-deja/g++.abi/vtable3e.C: This uses 'vtable3.h'. * g++.old-deja/g++.abi/vtable3f.C: This uses 'vtable3.h'. * g++.old-deja/g++.abi/vtable3g.C: This uses 'vtable3.h'. * g++.old-deja/g++.abi/vtable3h.C: This uses 'vtable3.h'. * g++.old-deja/g++.abi/vtable3i.C: This uses 'vtable3.h'. * g++.old-deja/g++.abi/vtable3j.C: This uses 'vtable3.h'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47281 138bc75d-0d04-0410-961f-82ee72b054a4