Re: There is a -Wenum-compare warning in gcc/c-family/array-notation-common.c

2013-06-20 Thread Chung-Ju Wu
2013/6/16 Chung-Ju Wu : > Hi Balaji, > > I was building a native gcc with trunk r200117, > but I noticed the following code fragment cause -Wenum-compare warning: > > > [gcc/c-family/array-notation-common.c] > > 483 /* This function is used by C and C++ front-ends. In C++, additional > 484

Re: [PR43721] Failure to optimise (a/b) and (a%b) into single call

2013-06-20 Thread Kugan
On 17/06/13 19:07, Richard Biener wrote: On Mon, 17 Jun 2013, Kugan wrote: Hi, I am attempting to fix Bug 43721 - Failure to optimise (a/b) and (a%b) into single __aeabi_idivmod call (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43721) execute_cse_sincos tree level pass does similar cse so I a

build error in libgcc

2013-06-20 Thread Mike Stump
A make clean followed by a make in the libgcc directory results in: ../../../../gcc/libgcc/config/i386/cpuinfo.c:23:25: fatal error: auto-target.h: No such file or directory #include "auto-target.h" Oh, the the old days, we'd just add a dependancy… If someone knows where to add just the right

Re: Loop induction variable optimization question

2013-06-20 Thread Steve Ellcey
On Thu, 2013-06-20 at 03:16 -0700, Stephen Clarke wrote: > > why (and where) did ivopts decide to move the post-increments above the > > usages in the first loop? > > It looks rather like the transformation described next to > tree-ssa-loop-ivopts.c/adjust_iv_update_pos. Yes, that looks like th

Re: Compiling GCC under Cygwin

2013-06-20 Thread Angelo Graziosi
Hi Arjen, Il 20/06/2013 21.41, Arjen Markus ha scritto: I found a reference to this sort of problems in the Cygwin FAQs, but this turned out to be a dead-end too. So I thought, I'd try MinGW/MSYS instead. It started off fairly well, however: - For some reason the gcc compiler did not like the

Re: Compiling GCC under Cygwin

2013-06-20 Thread Arjen Markus
Hi Angelo, I found a reference to this sort of problems in the Cygwin FAQs, but this turned out to be a dead-end too. So I thought, I'd try MinGW/MSYS instead. It started off fairly well, however: - For some reason the gcc compiler did not like the /d/gcc-src/... path (from $srcdir) - it could n

Re: Compiling GCC under Cygwin

2013-06-20 Thread Arjen Markus
Hi Jonathan, thanks - I did indeed overlook it ;). Regards, Arjen 2013/6/20 Jonathan Wakely : > On 20 June 2013 11:00, Arjen Markus wrote: >> Hi Angelo, >> >> well, the DOS-style path only caused a warning in the configure step, >> so I assumed it was okay. >> It was not apparently. Building ou

Re: Compiling GCC under Cygwin

2013-06-20 Thread Arjen Markus
Hi Angelo, well, contacting the Cygwin people is my next step. Regards, Arjen 2013/6/20 Angelo Graziosi : > Il 20/06/2013 12.00, Arjen Markus ha scritto: > >> So, I tried again. The problem I reported before has gone, but I still >> get a file permission problem later on. >> >> I have not been

Re: Compiling GCC under Cygwin

2013-06-20 Thread Angelo Graziosi
Il 20/06/2013 12.00, Arjen Markus ha scritto: So, I tried again. The problem I reported before has gone, but I still get a file permission problem later on. I have not been able to solve it, even though my laptop is now connected to the domain, I have instructed the build process to use my home

Re: Compiling GCC under Cygwin

2013-06-20 Thread Jonathan Wakely
On 20 June 2013 11:00, Arjen Markus wrote: > Hi Angelo, > > well, the DOS-style path only caused a warning in the configure step, > so I assumed it was okay. > It was not apparently. Building out-of-source is an instruction I must > have missed. It's documented here http://gcc.gnu.org/install/conf

Re: Loop induction variable optimization question

2013-06-20 Thread Stephen Clarke
> why (and where) did ivopts decide to move the post-increments above the > usages in the first loop? It looks rather like the transformation described next to tree-ssa-loop-ivopts.c/adjust_iv_update_pos.

Re: Compiling GCC under Cygwin

2013-06-20 Thread Arjen Markus
Hi Angelo, well, the DOS-style path only caused a warning in the configure step, so I assumed it was okay. It was not apparently. Building out-of-source is an instruction I must have missed. So, I tried again. The problem I reported before has gone, but I still get a file permission problem later

Re: fragile test case ivopt_infer_2.c

2013-06-20 Thread Richard Biener
On Wed, Jun 19, 2013 at 4:30 PM, Bin.Cheng wrote: > On Wed, Jun 19, 2013 at 8:33 PM, Richard Biener > wrote: >> On Wed, Jun 19, 2013 at 12:35 PM, Bin.Cheng wrote: >>> On Wed, Jun 19, 2013 at 4:43 PM, Richard Biener >>> wrote: On Wed, Jun 19, 2013 at 10:04 AM, Bin.Cheng wrote: > Hi, >>