Re: Fusing two loops

2008-04-10 Thread Sandeep Maram
Hi Zdenek, Thanks. Sandeep. On Thu, Apr 10, 2008 at 7:29 PM, Zdenek Dvorak <[EMAIL PROTECTED]> wrote: > Hi, > > > The error is rectified. The bug is in the function that calls fuse_loops(). > > Now I am trying to transfer all the statements, using code - > > > > /* The following function fus

A doubt about constraint modifiers

2008-04-10 Thread Mohamed Shafi
Hello all, I have noticed that when strict_low_part is used in a patten we need to use '+' as the constraint modifier if any constraints are used in the patterns. Why is this so? Regards, Shafi

gcc-4.3-20080410 is now available

2008-04-10 Thread gccadmin
Snapshot gcc-4.3-20080410 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.3-20080410/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.3 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: Problem with reloading in a new backend...

2008-04-10 Thread Stelian Pop
Le jeudi 10 avril 2008 à 15:56 -0400, [EMAIL PROTECTED] a écrit : > I noticed > > > Stack register is missing from ALL_REGS. No, it is not. It is missing from GENERAL_REGS but not from ALL_REGS. > Are registers 16bit? Yes. > Is just one required for pointer? For now, yes, I chose to suppor

Re: Problem with reloading in a new backend...

2008-04-10 Thread hutchinsonandy
I noticed Stack register is missing from ALL_REGS. Are registers 16bit? Is just one required for pointer? Andy

Re: Problem with reloading in a new backend...

2008-04-10 Thread Stelian Pop
Le jeudi 10 avril 2008 à 15:30 -0400, DJ Delorie a écrit : > > (call (mem:QI (match_operand:QI 1 "register_operand" "z")) > > Are you sure your "z" constraint only matches even numbered hard > registers? Well, I think so: enum reg_class { NO_REGS,

Re: Problem with reloading in a new backend...

2008-04-10 Thread DJ Delorie
> (call (mem:QI (match_operand:QI 1 "register_operand" "z")) Are you sure your "z" constraint only matches even numbered hard registers?

Re: Doubt about scheduling

2008-04-10 Thread Ian Lance Taylor
"Mohamed Shafi" <[EMAIL PROTECTED]> writes: > I got few doubts regarding the way in which scheduling works in gcc 4.1.2 > > 1. Will barrier insns gets scheduled along with other instructions? The scheduler works over regions. It doesn't look at barriers. > 2. When there is an unconditional jump

address taken problem

2008-04-10 Thread Dasarath Weeratunge
In the following code I marked the tree 'node.0' as address taken using 'c_mark_addressable'. Now in the assembly code, isn't the return value of the second call to malloc completely discarded? This problem does not arise in -O0. Here I'm using -O2. main () { void * D.2897; struct node * D.2

GCC 4.2.4 Status Report (2008-04-10)

2008-04-10 Thread Joseph S. Myers
Status == The GCC 4.2 branch is open for commits under normal release branch rules. All fixes going on that branch should first have gone on trunk and 4.3 branch. I propose to build 4.2.4-rc1 once we have resolved what if any changes related to strict-overflow and pointer arithmetic should g

Re: Problem with reloading in a new backend...

2008-04-10 Thread Stelian Pop
Le jeudi 10 avril 2008 à 15:48 +0200, Stelian Pop a écrit : > Le mercredi 09 avril 2008 à 18:21 -0400, DJ Delorie a écrit : > > > Maybe I should reserve a special register for this usage (say r0). > > > > That might be the only way, yes. > > Ok, I reserved r0 (BP_REGNUM) for such reloads, and I'

Re: Fusing two loops

2008-04-10 Thread Zdenek Dvorak
Hi, > The error is rectified. The bug is in the function that calls fuse_loops(). > Now I am trying to transfer all the statements, using code - > > /* The following function fuses two loops. */ > > void > fuse_loops (struct loop *loop_a, struct loop *loop_b) > { > debug_loop (loop_a, 10); >

Re: Problem with reloading in a new backend...

2008-04-10 Thread Stelian Pop
Le mercredi 09 avril 2008 à 18:21 -0400, DJ Delorie a écrit : > > Maybe I should reserve a special register for this usage (say r0). > > That might be the only way, yes. Ok, I reserved r0 (BP_REGNUM) for such reloads, and I'm generating new instructions in LEGITIMIZE_RELOAD_ADDRESS to calculate

Re: US-CERT Vulnerability Note VU#162289

2008-04-10 Thread Robert C. Seacord
Gerald, Here is another version of the program (same compiler version/flags). #include void test_signed(char *buf) { signed int len; len = 1<<30; printf("buf = %p; buf+len = %p; buf+len < buf = %d %d", buf, buf+len, buf+len < buf, (uintptr_t)buf+len < (uintptr_t)buf); if

I wished to write to you

2008-04-10 Thread Pamela Gregg
Hello!!! I find your email in internet and I wished to write to you. You do not know me... and I do not know you. But I trust in destiny and I hope that destiny give me a chance I want to find a kind, honest and clever man. My name - Natalya. My age-26 years.It is difficult to tell about my

Re: Fusing two loops

2008-04-10 Thread Sandeep Maram
Hi, The error is rectified. The bug is in the function that calls fuse_loops(). Now I am trying to transfer all the statements, using code - /* The following function fuses two loops. */ void fuse_loops (struct loop *loop_a, struct loop *loop_b) { debug_loop (loop_a, 10); debug_loop (loop_b,

Mapping back to original variables after SSA optimizations

2008-04-10 Thread Fran Baena
Hi all, i have a doubt about unSSA: is it allways possible to map back the versioned variables to the original variable? If it could be possible, is there an algorithm that describe this translation back? I have read the paper "Efficiently computing static single assignment form and the control de

Re: more m32c brokenness

2008-04-10 Thread Richard Guenther
On Wed, Apr 9, 2008 at 10:40 PM, DJ Delorie <[EMAIL PROTECTED]> wrote: > > I tracked it down to this: > > > /* Allow conversions between integral types and pointers only if >there is no sign or zero extension involved. */ > if (((POINTER_TYPE_P (type) && INTEGRAL_TYPE_

Doubt about scheduling

2008-04-10 Thread Mohamed Shafi
Hello all, I got few doubts regarding the way in which scheduling works in gcc 4.1.2 1. Will barrier insns gets scheduled along with other instructions? 2. When there is an unconditional jump in the instruction list, a barrier instruction gets emitted after the unconditional jump as the last inst