https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68366
Bug ID: 68366
Summary: [6 Regression] sdbout.c build error
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: danglin at gcc dot gnu.org
CC: tsaunders at mozilla dot com
Target Milestone: ---
Host: hppa*-*-*
Target: hppa*-*-*
Build: hppa*-*-*
Created attachment 36717
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36717&action=edit
Preprocessed source
g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-f
ormat -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long
-
Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I.
-I../../gc
c/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I./../intl
-I../../gcc/gcc/.
./libcpp/include -I/opt/gnu64/gcc/gmp/include -I../../gcc/gcc/../libdecnumber
-
I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc/gcc/../libbacktrace -o sdbout.o -MT sdbout.o -MMD -MP -MF
./.deps/sdbout.TPo ../../gcc/gcc/sd
bout.c
../../gcc/gcc/sdbout.c: In function 'void sdbout_symbol(tree, int)':
../../gcc/gcc/config/pa/pa.h:168:8: error: 'frame_pointer_needed' was not
declar
ed in this scope
+ (frame_pointer_needed ? 0 : pa_compute_frame_size (get_frame_size (),
0)))
^
../../gcc/gcc/sdbout.c:163:23: note: in definition of macro 'PUT_SDB_INT_VAL'
(HOST_WIDE_INT) (a), SDB_DELIM); \
^
../../gcc/gcc/sdbout.c:853:25: note: in expansion of macro
'DEBUGGER_AUTO_OFFSET'
PUT_SDB_INT_VAL (DEBUGGER_AUTO_OFFSET
^
../../gcc/gcc/config/pa/pa.h:168:74: error: 'get_frame_size' was not declared
in this scope
+ (frame_pointer_needed ? 0 : pa_compute_frame_size (get_frame_size (),
0)))
^