public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "danglin at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/19388] New: [4.0 Regression] MAX_OFILE_ALIGNMENT on PA HP-UX
Date: Wed, 12 Jan 2005 02:25:00 -0000	[thread overview]
Message-ID: <20050112022518.19388.danglin@gcc.gnu.org> (raw)

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


             reply	other threads:[~2005-01-12  2:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-12  2:25 danglin at gcc dot gnu dot org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050112022518.19388.danglin@gcc.gnu.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).