gcc -D_XOPEN_UNIX -D_XOPEN_SOURCE_EXTENDED -D_INCLUDE__STDC_A1_SOURCE -D_INCLUDE
_XOPEN_SOURCE_500 -c -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -mdisable-inde
xing -fno-common -DHAVE_CONFIG_H -I. -Iada -I../../gcc/gcc -I../../gcc/g
cc/ada -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I/opt/gnu/i
nclude ../../gcc/gcc/ada/utils.c -o ada/utils.o
../../gcc/gcc/ada/decl.c: In function `validate_alignment':
../../gcc/gcc/ada/decl.c:6165: error: `decl' undeclared (first use in this funct
ion)
../../gcc/gcc/ada/decl.c:6165: error: (Each undeclared identifier is reported on
ly once
../../gcc/gcc/ada/decl.c:6165: error: for each function it appears in.)
Unfortunately, the MAX_OFILE_ALIGNMENT on the PA under HP-UX depends on
whether or not a variable is placed in common. The maximum alignment
in common is only 8 bytes. I can't reduce MAX_OFILE_ALIGNMENT to 64 without
breaking other stuff. In the other places where MAX_OFILE_ALIGNMENT is
used, I can access the declaration and do an appropriate test. However,
this isn't going to work in ada/decl.c.
--
Summary: [4.0 Regression] MAX_OFILE_ALIGNMENT on PA HP-UX
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: hppa*-*-hpux*
GCC host triplet: hppa*-*-hpux*
GCC target triplet: hppa*-*-hpux*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19388