public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/16345] New: ada cross-compiler for arm generates bad code - resulting executable segfaults
@ 2004-07-03  8:49 cherylgpepper at comcast dot net
  2004-07-04  3:55 ` [Bug ada/16345] " cherylgpepper at comcast dot net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: cherylgpepper at comcast dot net @ 2004-07-03  8:49 UTC (permalink / raw)
  To: gcc-bugs

The program available at this address:

http://users.erols.com/whitaker/wordsall.zip

compiles and executes correctly on native i686, but when cross-compiled for arm
the resulting "words" executable prints out some introductory text and a prompt,
but then segfaults as soon as any input is entered. The three helper programs
"makedict", "makestem", and "makeinfl" execute and generate their output files
correctly on arm, only the "words" program appears to be broken. It compiles
with no warnings even with -pedantic and -Wall options, so if there are any
errors in the code the compiler is not detecting them. I wouldn't expect bad Ada
code to just segfault, anyway, because Ada has bounds checking and lacks
pointers. I am trying to isolate the problem and produce a test case, but that
is difficult because I don't know Ada very well. I'd be happy to provide any
extra information that could be helpful.

-- 
           Summary: ada cross-compiler for arm generates bad code -
                    resulting executable segfaults
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: cherylgpepper at comcast dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arm-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16345


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

end of thread, other threads:[~2004-12-05 16:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-03  8:49 [Bug ada/16345] New: ada cross-compiler for arm generates bad code - resulting executable segfaults cherylgpepper at comcast dot net
2004-07-04  3:55 ` [Bug ada/16345] " cherylgpepper at comcast dot net
2004-07-04 20:37 ` cherylgpepper at comcast dot net
2004-07-04 20:48 ` cherylgpepper at comcast dot net
2004-07-04 21:23 ` cherylgpepper at comcast dot net
2004-09-09  8:49 ` charlet at gcc dot gnu dot org
2004-12-05 16:55 ` 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).