summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* Josef Zlomek <zlomekj@suse.cz>zlomek2004-02-0624-10/+2820
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (var-tracking.o): New. * common.opt (fvar-tracking): New. * flags.h (flag_var_tracking): New. * gengtype.c (adjust_field_rtx_def): NOTE_INSN_VAR_LOCATION was added. * opts.c (common_handle_option): Add OPT_fvar_tracking. * print-rtl.c (print_rtx): NOTE_INSN_VAR_LOCATION was added. * rtl.c (note_insn_name): Likewise. * rtl.def (VAR_LOCATION): New. * rtl.h (NOTE_VAR_LOCATION): New. (NOTE_VAR_LOCATION_DECL): New. (NOTE_VAR_LOCATION_LOC): New. (enum insn_note): NOTE_INSN_VAR_LOCATION was added. (variable_tracking_main): New exported function. * timevar.def (TV_VAR_TRACKING): New. * toplev.c (enum dump_file_index): Added DFI_vartrack. (dump_file): "vartrack" was added (-dV). (flag_var_tracking): New. (f_options): "var-tracking" was added. (rest_of_handle_variable_tracking): New function. (rest_of_compilation): Run variable tracking. (process_options): If user has not specified flag_var_tracking set it according to optimize, debug_info_level and debug_hooks. * tree.h (frame_base_decl): New. * var-tracking.c: New file. * config/ia64/ia64.c (ia64_flag_var_tracking): New variable. (ia64_override_options): Set flags to run variable tracking in machine dependent reorg instead of toplev.c. (ia64_reorg): Run variable tracking if wanted. * doc/invoke.texi: Mention variable tracking in -dV, add and -fvar-tracking. * doc/passes.texi: Added variable tracking pass. Daniel Berlin <dberlin@dberlin.org> * debug.h (struct gcc_debug_hooks): Added var_location debug hook. * dbxout.c (dbx_debug_hooks): Likewise. (xcoff_debug): Likewise. * debug.c (do_nothing_debug_hooks): Likewise. * dwarf2out.c (dwarf2_debug_hooks): Likewise. * dwarfout.c (dwarf_debug_hooks): Likewise. * sdbout.c (sdb_debug_hooks): Likewise. * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. * final.c (final_scan_insn): Call var_location debug hook for each NOTE_INSN_VAR_LOCATION. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77418 138bc75d-0d04-0410-961f-82ee72b054a4
* * flow.c (update_life_info): Allocate reg_deaths when called fromhubicka2004-02-062-8/+24
| | | | | | | | scheudler. (attempt_auto_inc): Update life ranges accordingly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77415 138bc75d-0d04-0410-961f-82ee72b054a4
* PR debug/11816uweigand2004-02-062-2/+8
| | | | | | | * dwarf2out.c (gen_decl_die): Handle anonymous struct members. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77411 138bc75d-0d04-0410-961f-82ee72b054a4
* * cfganal.c (flow_call_edges_add): Never split a libcall block.uweigand2004-02-062-1/+18
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77410 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (output_loc_list): Don't use deltas if we havezlomek2004-02-062-11/+29
| | | | | | | | | a separate line info table in use. Use the correct size for terminators. (output_die): Use offset, not delta. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77409 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-06 H.J. Lu <hongjiu.lu@intel.com>hjl2004-02-062-8/+6
| | | | | | | * doc/invoke.texi: Remove the pni option from -mfpmath=. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77404 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/14028giovannibajo2004-02-062-0/+11
| | | | | | | * g++.dg/parse/angle-bracket2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77403 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/14028giovannibajo2004-02-062-16/+22
| | | | | | | | * parser.c (cp_parser_enclosed_template_argument_list): Emit straight error when terminator can not be found. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77402 138bc75d-0d04-0410-961f-82ee72b054a4
* * recog.c (split_all_insns): Do not update reg info.hubicka2004-02-066-12/+101
| | | | | | | | | | | | | | | | | | | | | | * regrename.c (regrename_optimize): Likewise. * toplev.c (rest_of_handle_reorder_blocks): Likewise. * flow.c (struct propagate_block_info): Add insn_num field. (reg_deaths): New array. (life_analysis): Free reg_deaths info. (allocate_reg_life_data): Allocate reg_deaths array. (propagate_one_insn): Use new array. (init_propagate_block): Initialize it. (free_propagate_block_info): Finish compuation of REG_LIVE_LENGTH (attempt_auto_inc): Sanity check that REG_INFO is not computed at same time. (mark_used_regs): Update new array. * reg-stack.c (subst_stack_regs): Unshare clobbers before substitution. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77396 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/s390/s390.md (*extendsiqi2_short_displ): Change tokazu2004-02-062-1/+6
| | | | | | | *extendqisi2_short_displ. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77394 138bc75d-0d04-0410-961f-82ee72b054a4
* * misc.c (default_pass_by_ref): Update INIT_CUMULATIVE_ARGS call.amodra2004-02-062-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77391 138bc75d-0d04-0410-961f-82ee72b054a4
* oops, missed a file in the last commitamodra2004-02-062-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77381 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/tm.texi (INIT_CUMULATIVE_ARGS): Update doco.amodra2004-02-0642-70/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * calls.c (expand_call): Pass n_named_args to INIT_CUMULATIVE_ARGS. (emit_library_call_value_1): Likewise pass nargs. * expr.c (block_move_libcall_safe_for_call_parm): Pass 3 here. * function.c (assign_parms): Pass -1 to INIT_CUMULATIVE_ARGS. * config/rs6000/rs6000.c (init_cumulative_args): Use n_named_args parameter instead of scanning TYPE_ARGS_TYPES to count args. * config/rs6000/rs6000-protos.h (init_cumulative_args): Update prototype. * config/rs6000/rs6000.h (INIT_CUMULATIVE_ARGS): Pass extra arg. (INIT_CUMULATIVE_INCOMING_ARGS): Set extra arg to 1000. (INIT_CUMULATIVE_LIBCALL_ARGS): Set extra arg to 0. * config/sh/sh.c (sh_output_mi_thunk): Pass 1 as n_named_args to INIT_CUMULATIVE_ARGS. * config/alpha/alpha.h (INIT_CUMULATIVE_ARGS): Update. * config/alpha/unicosmk.h, config/alpha/vms.h, config/arc/arc.h, config/arm/arm.h, config/avr/avr.h, config/c4x/c4x.h, config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.h, config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h, config/ia64/ia64.h, config/ip2k/ip2k.h, config/iq2000/iq2000.h, config/iq2000/iq2000.c, config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/m68k.h, config/mcore/mcore.h, config/mips/mips.h, config/mmix/mmix.h, config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h, config/pdp11/pdp11.h config/s390/s390.h, config/sh/sh.h, config/sparc/sparc.h, config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h, config/xtensa/xtensa.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77380 138bc75d-0d04-0410-961f-82ee72b054a4
* * genemit.c (gen_exp) [CONST_INT]: Use const_int_rtx wheneverkazu2004-02-062-0/+9
| | | | | | | possible. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77379 138bc75d-0d04-0410-961f-82ee72b054a4
* * reload1.c (eliminate_regs_in_insn): If a set has a REG_EQUALkazu2004-02-062-11/+50
| | | | | | | | | note containing (plus (reg) (const_int)), where reg is an eliminable reg, then perform the register elimination without depending on eliminate_regs(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77378 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/arc/arc.c (arc_return_in_memory): Check the returnkazu2004-02-067-12/+48
| | | | | | | | | | | | | | | | value of int_size_in_bytes against -1. Don't check TREE_ADDRESSABLE. * config/avr/avr.c (avr_return_in_memory): Check the return value of int_size_in_bytes against -1. * config/ip2k/ip2k.c (ip2k_return_in_memory): Likewise. * config/m68hc11/m68hc11.c (m68hc11_return_in_memory): Likewise. * config/mcore/mcore.c (mcore_return_in_memory): Likewise. * config/stormy16/stormy16.c (xstormy16_return_in_memory): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77377 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/frv/frv-protos.h: Remove the prototype forkazu2004-02-064-10/+15
| | | | | | | | | | frv_setup_incoming_varargs. * config/frv/frv.c (TARGET_SETUP_INCOMING_VARARGS): New. (frv_setup_incoming_varargs): Make it static. * config/frv/frv.h (SETUP_INCOMING_VARARGS): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77376 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/fr30/fr30-protos.h: Remove the prototype forkazu2004-02-064-23/+32
| | | | | | | | | | | | | | | | | | | | fr30_setup_incoming_varargs. Update the prototypes for fr30_num_arg_regs and fr30_function_arg_partial_nregs. * config/fr30/fr30.c (TARGET_STRUCT_VALUE_RTX): New. (TARGET_SETUP_INCOMING_VARARGS): Likewise. (fr30_setup_incoming_varargs): Make it static. Add argument second_time. Don't do anything when second_time is nonzero. (fr30_num_arg_regs): Change the type of the first argument to enum machine_mode. (fr30_function_arg_partial_nregs): Change the type of the second argument to enum machine_mode. * config/fr30/fr30.h (STRUCT_VALUE): Remove. (SETUP_INCOMING_VARARGS): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77375 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/arc/arc-protos.h: Remove the prototype forkazu2004-02-064-26/+42
| | | | | | | | | | | | | | arc_setup_incoming_varargs. * config/arc/arc.c (TARGET_ASM_EXTERNAL_LIBCALL): New. (TARGET_SETUP_INCOMING_VARARGS): Likewise. (arc_setup_incoming_varargs): Make it static. (arc_external_libcall): Likewise. * config/arc/arc.h (SETUP_INCOMING_VARARGS): Remove. Remove the commented-out definition of ASM_OUTPUT_EXTERNAL_LIBCALL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77374 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/sh/t-linux (SHLIB_INSTALL): Prepend $$(DESTDIR)kkojima2004-02-062-4/+9
| | | | | | | to $$(slibdir) in the installation commands. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77371 138bc75d-0d04-0410-961f-82ee72b054a4
* * reload.c (refers_to_regno_for_reload_p): Index hard_regno_nregsdje2004-02-063-4/+10
| | | | | | | | with inner_regno, not regno. * rtlanal.c (refers_to_regno_p): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77370 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc: Remove i370 support.kazu2004-02-062-21/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77369 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.pot: Regenerate.jsm282004-02-062-2509/+2679
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77366 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-05 Kelley Cook <kcook@gcc.gnu.org>kcook2004-02-065-17/+68
| | | | | | | | | | | | | | | * doc/install.texi: Update automake and autoconf version requirements. Note where to find gcj automake version. 2004-02-05 Kelley Cook <kcook@gcc.gnu.org> * Makefile.in (generate-manpages): Move dependencies to ... (man): here. * doc/makefile.texi: Document new targets. * doc/sourcebuild.texi (Make-lang.in): Document new langhooks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77365 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-05 Kelley Cook <kcook@gcc.gnu.org>kcook2004-02-067-14/+25
| | | | | | | | | | | | | | PR/13485 Makefile.in (srcextra): Add a level of indirection to ... (gcc.srcextra): ... here. (po-generated): Delete. (po/$(PACKAGE).pot: Use srcextra instead of po-generated. Depend on options.c. (start.encap): Remove superfluous lang.srcextra dependency. objc/Make-lang.in (po-generated): Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77363 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2004-02-061-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77356 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/ia64.c (REG_GP): Remove.kazu2004-02-052-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77353 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Don't pass --with-stabs on IRIX 5 either.ro2004-02-052-1/+8
| | | | | | | | | | * configure: Regenerate. gcc: * config/mips/iris5gas.h (PREFERRED_DEBUGGING_TYPE): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77349 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (force_type_die): Look up input type itselfdpatel2004-02-052-2/+7
| | | | | | | instead of root_type() of type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77348 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-04 Andreas Krebbel <krebbel1@de.ibm.com>uweigand2004-02-052-10/+41
| | | | | | | | | | | * config/s390/s390.md ("*tmqidi_ext"): New insn. ("*extendqidi2_short_displ", "*extendsiqi2_short_displ"): Old pre-reload splitters are transformed to post-reload define_insn_and_split patterns. ("*tmqisi_ext"): Renamed old "*tmqi_ext". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77346 138bc75d-0d04-0410-961f-82ee72b054a4
* ada/kazu2004-02-0511-14/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ada/utils.c (create_param_decl): Replace PROMOTE_PROTOTYPES with targetm.calls.promote_prototypes. gcc/ * config/cris/cris.h: Replace PROMOTE_PROTOTYPES with TARGET_PROMOTE_PROTOTYPES. cp/ * call.c (type_passed_as): Replace PROMOTE_PROTOTYPES with targetm.calls.promote_prototypes. java/ * Make-lang.in (java/decl.o, java/expr.o, java/parse.o): Depend on target.h. * decl.c: Include target.h. (start_java_method): Replace PROMOTE_PROTOTYPES with targetm.calls.promote_prototypes. * expr.c: Include target.h. (pop_arguments): Replace PROMOTE_PROTOTYPES with targetm.calls.promote_prototypes. * parse.y: Include target.h. (start_complete_expand_method): Replace PROMOTE_PROTOTYPES with targetm.calls.promote_prototypes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77345 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/13750ro2004-02-0513-42/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert: 2004-01-15 Geoffrey Keating <geoffk@apple.com> PR pch/13361 * c-typeck.c (constructor_asmspec): Delete. (struct initializer_stack): Delete field 'asmspec'. (start_init): Delete saving of asmspec. (finish_init): Don't update constructor_asmspec. * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree. * stmt.c (expand_asm): Duplicate strings from tree. (expand_asm_operands): Likewise. * tree.c (tree_size): Update computation of size of STRING_CST. (make_node): Don't make STRING_CST nodes. (build_string): Allocate string with tree node. * tree.def (STRING_CST): Update comment. * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST. (tree_string): Place contents of string in tree node. * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string from tree. cp: PR middle-end/13750 Revert: 2004-01-15 Geoffrey Keating <geoffk@apple.com> PR pch/13361 * cp/lex.c (handle_pragma_interface): Duplicate string from tree. (handle_pragma_implementation): Likewise. testsuite: PR middle-end/13750 Revert: 2004-01-15 Geoffrey Keating <geoffk@apple.com> PR pch/13361 * testsuite/g++.dg/pch/wchar-1.C: New. * testsuite/g++.dg/pch/wchar-1.Hs: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77343 138bc75d-0d04-0410-961f-82ee72b054a4
* * diagnostic.h (DEFINE_DIAGNOSTIC_KIND): Change parameter M tojsm282004-02-052-1/+6
| | | | | | | msgid. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77341 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo and clarify comment.kenner2004-02-051-3/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77338 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/13714mmitchel2004-02-052-2/+7
| | | | | | | * typeck.c (lookup_destructor): Tweak error message. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77334 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.c (cp_cannot_inline_tree_fn): Allow inlining of comdathubicka2004-02-052-2/+11
| | | | | | | functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77330 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-05 Dorit Naishlos <dorit@il.ibm.com>dje2004-02-052-4/+20
| | | | | | | | | | | * config/rs6000/altivec.md (*movv4si_internal): At least one operand must be altivec_register_operand. (*movv8hi_internal1): Likewise. (*movv16qi_internal1): Likewise. (*movv4sf_internal1): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77326 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (gcc_cv_as_powerpc_mfcrf): Correct test for mfcr.dje2004-02-053-8/+17
| | | | | | | * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77325 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/14008giovannibajo2004-02-053-1/+46
| | | | | | | | * g++.dg/parse/error15.C: New test. * g++.dg/parse/crash11.C: Update dg-error mark. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77324 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/14008giovannibajo2004-02-052-35/+123
| | | | | | | | | | | | | | | | * parser.c (cp_parser_diagnose_invalid_typename): Removed parsing code, only emits the diagnostic now. Added lookup of the identifier and support for qualified ids. (cp_parser_parse_and_diagnose_invalid_type_name): New function. Parse an (invalid) type name as id-expression within a declarator. (cp_parser_simple_declaration): Use it. (cp_parser_member_declaration): Likewise. (cp_parser_make_typename_type): New function. Handle errors through cp_parser_diagnose_invalid_typename. (cp_parser_elaborated_type_specifier): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77323 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-05 Jonathan Wakely <redi@gcc.gnu.org>redi2004-02-052-1/+6
| | | | | | | | * doc/install.texi: Update description of --gxx-include-dir to give correct default value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77315 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.h (REG_OK_FOR_BASE_NONSTRICT_P): Replacekazu2004-02-052-1/+6
| | | | | | | 8 with MAC_REG. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77314 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/pa/pa.c (emit_hpdiv_const): Replace gen_rtx withkazu2004-02-052-2/+7
| | | | | | | gen_rtx_PARALLEL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77313 138bc75d-0d04-0410-961f-82ee72b054a4
* * emit-rtl.c: Update the comment about the file.kazu2004-02-052-8/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77312 138bc75d-0d04-0410-961f-82ee72b054a4
* * sourcebuild.texi (Test Idioms): Update testcase namingjsm282004-02-052-7/+20
| | | | | | | conventions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77306 138bc75d-0d04-0410-961f-82ee72b054a4
* Partially revert/redo 2003-10-01 change; fix -fworking-directory.bothner2004-02-059-89/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-ppoutput.c (pp_dir_change): New function. * c-common.h (pp_dir_change): New declaration. * cpplib.h (struct cpp_options): Remove working_directory field. * cppinit.c (cpp_find_main_file, cpp_push_main_file): Merge back to (cpp_read_main_file): as before 10-01. Call _cpp_stack_file. Don't handle -fworking_directory here, but in c_common_post_options. (read_original_directory): Don't back up when done. Don't clear no-longer used working_directory flag. * cpplib.h: Update declarations to match. * c-lex.c (cb_dir_change): Move to c-opts.c. (init_c_lex): Don't set dir_change callback here, since we want to set it even if flag_preprocess_only. * c-opts.c (cb_dir_change): Function moved from c-lex.c. (c_common_post_options): Set dir_change callback. Call pp_dir_change if approporiate. (finish_options): Don't call cpp_find_main_file here. Hence remove unneeded parameter and result. Do LC_RENAME for <built-in>. (c_common_post_options): Call cpp_read_main_file here instead. (c_common_init): Update accordingly. (push_command_line_include): Don't cpp_push_main_file. Do LC_RENAME rather than LC_LEASE to get back to main file. Compared to pre-10-01 version, inline cpp_rename_to_main_file. (c_common_parse_file): Call cpp_read_main_file for subsequent main files, but call finish_options for all files. * c-opts.c (sanitize_cpp_opts): Don't set cpp_opts->working_directory. * fix-header.c (read_scan_file): Call cpp_read_main_file instead of cpp_find_main_file + cpp_push_main_file. * c-lex.c (fe_file_change): Don't set main_input_filename here. * opts.c (handle_options): Only set main_input_filename first time. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77303 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/arm/arm.h (REG_CLASS_NAMES): Add missing comma.ian2004-02-052-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77301 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/13932mmitchel2004-02-055-3/+18
| | | | | | | | | | | | | | * call.c (convert_like_real): Use "converting" rather than "argument" as the descriptive keyword to dubious_conversion_warnings. * typeck.c (convert_for_assignment): Do not call dubious_conversion_warnings. PR c++/13932 * g++.dg/warn/conv2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77297 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/file-format.exp (gcc_target_object_format): Usemmitchel2004-02-055-5/+21
| | | | | | | | | | | | ${tool}_target_compile, not gcc_target_compile. * lib/target-supports.exp (check_alias_available): Likewise. (check_gc_sections_available): Likewise. * g++.dg/ext/attrib10.C: Use dg-require-alias. * g++.old-deja/g++.ext/attrib5.C: Use dg-require-weak and dg-require-alias. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77295 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/13086giovannibajo2004-02-052-1/+6
| | | | | | | * g++.dg/warn/incomplete1.C: Remove xfail. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77290 138bc75d-0d04-0410-961f-82ee72b054a4