public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/19388] New: [4.0 Regression] MAX_OFILE_ALIGNMENT on PA HP-UX
@ 2005-01-12  2:25 danglin at gcc dot gnu dot org
  2005-01-12  2:32 ` [Bug ada/19388] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: danglin at gcc dot gnu dot org @ 2005-01-12  2:25 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-01-15 18:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-12  2:25 [Bug ada/19388] New: [4.0 Regression] MAX_OFILE_ALIGNMENT on PA HP-UX danglin at gcc dot gnu dot org
2005-01-12  2:32 ` [Bug ada/19388] " pinskia at gcc dot gnu dot org
2005-01-12  2:53 ` dave at hiauly1 dot hia dot nrc dot ca
2005-01-15 17:10 ` cvs-commit at gcc dot gnu dot org
2005-01-15 18:21 ` [Bug target/19388] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).