[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-cxx-dev
Subject:    Re: CXX-DEV: Strange Optimisation behavour with -AP flag
From:       "Keith Halligan" <keith.halligan () gmail ! com>
Date:       2007-05-17 10:09:47
Message-ID: 40f37d400705170309o1e781b63jd99d5358a7a318af () mail ! gmail ! com
[Download RAW message or body]

On 16/05/07, Dennis Handly <dhandly@cup.hp.com> wrote:
> >From: "Keith Halligan" <keith.halligan@gmail.com>
> >I have a file compiled into an object file thats used in linking a
> >binary.  The file thats linked contains a block of memory defined as:
> >static unsigned char x[36] = { 0x00, 0x01, ..  };
> >The thing is that the block of memory is read by a different program, so
> >its not referenced as far as optimisation goes, and so it's removed.
>
> Right.
> This is removed if not referenced.  You can use +Onoprocelim to keep it.
> There should be no connection to -AA or -AP.
>

Thanks for suggesting the +Onoprocelim that worked fine.

I would of thought as well there would be no optimisation issues
between the -AP and -AA flags, it's a strange one.

 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE cxx-dev
 _________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic