comp.lang.ada
 help / color / mirror / Atom feed
From: Keith Thompson <kst-u@mib.org>
Subject: Re: Any way to turn of constant merging in GCC 2.8.1?
Date: Fri, 10 Feb 2006 03:51:49 GMT
Date: 2006-02-10T03:51:49+00:00	[thread overview]
Message-ID: <ln4q37swff.fsf@nuthaus.mib.org> (raw)
In-Reply-To: 8VQGf.150321$7l4.51461@trnddc05

Anonymous Coward <anonymous@coward.org> writes:
> I need to be able to use the -fno-merge-constants option in GCC 2.8.1,
> which does not seem to be an option in this version.  Are there any
> workarounds?  
>
> I may have to write a script to turn all constants into variables at
> prior to compilation by removing all "constant" tokens.  It's pretty
> ugly, but seems to be the only remedy.

Just out of curiosity, why do you need to do this?  Why do you care
about constants being merged, as long as the program behaves
correctly?  (I'm not implying that you don't have a legitimate reason,
I'm just wondering what it is.)

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
San Diego Supercomputer Center             <*>  <http://users.sdsc.edu/~kst>
We must do something.  This is something.  Therefore, we must do this.



  reply	other threads:[~2006-02-10  3:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-10  0:13 Any way to turn of constant merging in GCC 2.8.1? Anonymous Coward
2006-02-10  3:51 ` Keith Thompson [this message]
2006-02-10  6:13   ` Anonymous Coward
2006-02-18  3:01 ` Craig Carey
2006-02-18 10:37   ` Craig Carey
2006-02-18 17:10     ` GDB won't break on constants (was: Any way to turn of constant merging in GCC 2.8.1?) Anonymous Coward
2006-02-20 21:55       ` Randy Brukardt
replies disabled

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