From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9ff6a39316ae3a1 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!207.115.63.139.MISMATCH!newscon06.news.prodigy.com!prodigy.net!news-east.rr.com!news-feed-01.rdc-kc.rr.com!news.rr.com!cyclone2.kc.rr.com!news2.kc.rr.com!tornado.socal.rr.com.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Any way to turn of constant merging in GCC 2.8.1? References: <8VQGf.150321$7l4.51461@trnddc05> From: Keith Thompson Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:vXHVRaHu2lBh3zPdxVSb3pyxCFc= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 10 Feb 2006 03:51:49 GMT NNTP-Posting-Host: 66.75.136.120 X-Complaints-To: abuse@rr.com X-Trace: tornado.socal.rr.com 1139543509 66.75.136.120 (Thu, 09 Feb 2006 19:51:49 PST) NNTP-Posting-Date: Thu, 09 Feb 2006 19:51:49 PST Organization: Road Runner High Speed Online http://www.rr.com Xref: g2news1.google.com comp.lang.ada:2833 Date: 2006-02-10T03:51:49+00:00 List-Id: Anonymous Coward 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 San Diego Supercomputer Center <*> We must do something. This is something. Therefore, we must do this.