Re: Questions about selective scheduler and PowerPC

2010-10-20 Thread Jie Zhang
On 10/21/2010 04:08 AM, Pat Haugen wrote: On 10/18/2010 10:33 AM, Jeff Law wrote: On 10/18/10 09:22, David Edelsohn wrote: On Mon, Oct 18, 2010 at 8:27 AM, Nathan Froyd wrote: On Mon, Oct 18, 2010 at 02:49:21PM +0800, Jie Zhang wrote: 3. The aforementioned rs6000 hack rs6000_issue_rate was ad

Re: Questions about selective scheduler and PowerPC

2010-10-20 Thread Pat Haugen
On 10/18/2010 10:33 AM, Jeff Law wrote: On 10/18/10 09:22, David Edelsohn wrote: On Mon, Oct 18, 2010 at 8:27 AM, Nathan Froyd wrote: On Mon, Oct 18, 2010 at 02:49:21PM +0800, Jie Zhang wrote: 3. The aforementioned rs6000 hack rs6000_issue_rate was added by 2003-03-03 David Edelsohn

Re: GCC RTX generation question

2010-10-20 Thread Ian Lance Taylor
"Radu Hobincu" writes: >>> 2. I have another piece of code that fails to compile with -O3. >>> >>> - >>> struct desc{ >>> int int1; >>> int int2; >>> int int3; >>> }; >>> >>> int bugTest(struct desc *tDesc){ >>> return *((int*)(tDesc->in

Re: GCC RTX generation question

2010-10-20 Thread Radu Hobincu
> "Radu Hobincu" writes: > >> 1. I have the following code: >> >> --- >> extern void doSmth(); >> >> void bugTest(){ >> doSmth(); >> } >> --- >> >> It compiles fine with -O0, but when I try to use -O3, I get the >> following >> compiler

Re: old aliasing bug: fixed?

2010-10-20 Thread Richard Guenther
On Wed, Oct 20, 2010 at 10:29 AM, Albert Cahalan wrote: > On Thu, Sep 30, 2010 at 5:39 AM, Richard Guenther > wrote: >> On Thu, Sep 30, 2010 at 9:54 AM, Albert Cahalan wrote: >>> int weird(float *fp){ >>>        // access an int as an int (see caller), >>>        // so not an aliasing violation

Re: Hooks, macros and target configuration

2010-10-20 Thread Richard Guenther
On Tue, Oct 19, 2010 at 11:55 PM, Joseph S. Myers wrote: > My ongoing work to implement the multilib selection changes described > at will in due > course require option-related hooks to be shared between the driver > and the compilers proper (cc1

Re: old aliasing bug: fixed?

2010-10-20 Thread Albert Cahalan
On Thu, Sep 30, 2010 at 5:39 AM, Richard Guenther wrote: > On Thu, Sep 30, 2010 at 9:54 AM, Albert Cahalan wrote: >> int weird(float *fp){ >>        // access an int as an int (see caller), >>        // so not an aliasing violation >>        return *(int*)fp; >> } >> int main(int argc, char *argv