From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28342 invoked by alias); 4 Feb 2006 22:13:28 -0000 Received: (qmail 28300 invoked by alias); 4 Feb 2006 22:13:24 -0000 Date: Sat, 04 Feb 2006 22:13:00 -0000 Message-ID: <20060204221324.28299.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug debug/24444] [4.1/4.2 regression] invalid register in debug info In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "aoliva at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg00348.txt.bz2 List-Id: ------- Comment #13 from aoliva at gcc dot gnu dot org 2006-02-04 22:13 ------- Subject: Bug 24444 Author: aoliva Date: Sat Feb 4 22:13:20 2006 New Revision: 110597 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110597 Log: PR debug/24444 * config/ia64/ia64.c: Include debug.h. (MAX_ARTIFICIAL_LABEL_BYTES): New. (ia64_label_after_insn, ia64_dwarf2out_def_steady_cfa): New. (IA64_CHANGE_CFA_IN_EPILOGUE): Define to 0. (process_epilogue, process_set, process_for_unwind_directive): Output unwind info only if requested. Add CFA info if requested. Add new arguments as needed. Adjust callers. * config/ia64/ia64.h (ARG_POINTER_CFA_OFFSET): Override incorrect default. (DWARF2_FRAME_INFO): Define to zero. * config/ia64/unwind-ia64.c: Remove code that compensated for the CFA offset error fixed above. * config/ia64/t-ia64 (ia64.o): Depend on debug.h. * dwarf2out.c (DWARF2_FRAME_INFO): Define default. (dwarf2out_do_frame): Require nonzero DWARF2_UNWIND_INFO for -funwind-tables and -fexceptions to enable frame info. (dwarf2out_frame_init): Define initial CFA even if DWARF2_UNWIND_INFO is disabled. Call initial_return_save if DWARF2_UNWIND_INFO is nonzero, not just defined. (dwarf2out_frame_finish): Output non-EH call frame info only if DWARF2_FRAME_INFO is nonzero. (convert_cfa_to_loc_list, compute_frame_pointer_to_cfa_displacement): Define even if unwind info is not supported. (gen_subprogram_die): Use the above unconditionally. Remove legacy alternate code. * toplev.c (compile_file): Compile in call to dwarf2out_frame_finish if DWARF2_DEBUGGING_INFO is defined. (lang_dependent_init): Ditto for dwarf2out_frame_init. Modified: branches/gcc-4_1-branch/gcc/ChangeLog branches/gcc-4_1-branch/gcc/config/ia64/ia64.c branches/gcc-4_1-branch/gcc/config/ia64/ia64.h branches/gcc-4_1-branch/gcc/config/ia64/t-ia64 branches/gcc-4_1-branch/gcc/config/ia64/unwind-ia64.c branches/gcc-4_1-branch/gcc/dwarf2out.c branches/gcc-4_1-branch/gcc/toplev.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24444