comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <bauhaus@futureapps.de>
Subject: Re: Exception propagation with optimization flags
Date: Wed, 04 Oct 2006 17:09:15 +0200
Date: 2006-10-04T17:02:35+02:00	[thread overview]
Message-ID: <1159974554.16821.16.camel@localhost> (raw)
In-Reply-To: <1159968673.163378.15830@m7g2000cwm.googlegroups.com>

On Wed, 2006-10-04 at 06:31 -0700, ldb wrote:
> Stephen Leake wrote:
> > "ldb" <ldb_nospam@hotmail.com> writes:
> >
> > > Can someone explain why this particular combinations of build flags
> > > causes exceptions to stop propagating.

> gnatmake -fomit-frame-pointer -O2 super.adb (doesn't work)
> gnatmake -fomit-frame-pointer -O1 super.adb (works)
> gnatmake -O2 super.adb (works)
> 

And, earlier,
> And, if anyone is an expert, can you explain to me the connection (if
> there is one) with "libunwind-exceptions" in my gcc ./configure.

A good place to ask is probably the GCC mailing list. Specific
GCC configurations and their effects on front-ends are probably
best known there. A vanilla GCC 42 with Ada enabled compiles
your programs such that it prints/handles exceptions as
expected.


-- Georg 





  reply	other threads:[~2006-10-04 15:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-03 22:18 Exception propagation with optimization flags ldb
2006-10-04 12:36 ` Stephen Leake
2006-10-04 13:31   ` ldb
2006-10-04 15:09     ` Georg Bauhaus [this message]
2006-10-04 16:33     ` Stefan Bellon
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox