comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: How to convert a certain value to text
Date: Sun, 10 May 2020 09:30:27 +0200
Date: 2020-05-10T09:30:27+02:00	[thread overview]
Message-ID: <r98aii$sjh$1@dont-email.me> (raw)
In-Reply-To: <ead20b08-dfac-41fc-8ea2-ea3ff79f7e90@googlegroups.com>

Le 09/05/2020 à 23:09, Oliver Kellogg a écrit :
> Actually, I've had disappointing experiences with *-Og* , in
> particular on trying to inspect function arguments and local
> variables. Most of the time GDB said "optimized out" or similar.
> Tried it on various GCC versions <= 8.
> 
Yes, GCC is very good at eliminating/optimizing unnecessary variables.
If you want to inspect your code "as written", use -O0

-- 
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr

  reply	other threads:[~2020-05-10  7:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5e8adbd9$0$18429$e4fe514c@news.kpn.nl>
2020-04-06 10:38 ` How to convert a certain value to text J-P. Rosen
2020-04-06 12:59 ` Simon Wright
2020-04-06 14:02   ` ldries46
2020-04-06 21:52     ` Oliver Kellogg
2020-04-12 16:38       ` Stephen Leake
2020-05-09 21:09         ` Oliver Kellogg
2020-05-10  7:30           ` J-P. Rosen [this message]
2020-05-10  7:15   ` Simon Wright
replies disabled

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