In order to get debug information about the incoming arguments right for
functions with nonzero pretend_args_size, CFA_FRAME_BASE_OFFSET and
ARG_POINTER_CFA_OFFSET need to take the size of the pretend arguments into
account. This used to be easy in gcc 4.2.1, however in gcc 4.4 this is no
longer possible to do conforming with the macro definition in tm.texi, since
CFA_FRAME_BASE_OFFSET / ARG_POINTER_CFA_OFFSET are supposed to work for
arbitrary function definitions, but the incoming_args struct is only available
for the current function.
--
Summary: insufficient information available for
CFA_FRAME_BASE_OFFSET/ ARG_POINTER_CFA_OFFSET
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: wrong-debug
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: amylaar at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38391