Re: reload getting the mode of (subreg:HI (reg:QI pseudo)) wrong

2006-08-03 Thread Ian Lance Taylor
Rask Ingemann Lambertsen <[EMAIL PROTECTED]> writes: > In my i8086 backend experiments, I seem to have come across a corner case > which confuses reload. Interesting case. > It seems necessary to recover the mode of the operand when computing > rld[i].mode. There is operand_mode[rld[i].opnum] a

Re: native or cross libssp?

2006-08-03 Thread Michael Eager
Mark Mitchell wrote: Ben Elliston wrote: The former will be far easier, unless you desparately want ssp support for your target. libssp's configure script checks for certain behaviour from vsnprintf and needs to run the test program to determine that. It's our general policy that all librari

reload getting the mode of (subreg:HI (reg:QI pseudo)) wrong

2006-08-03 Thread Rask Ingemann Lambertsen
Hi. In my i8086 backend experiments, I seem to have come across a corner case which confuses reload. While building libgcc2 for one of the multilib variants, GCC crashes: libgcc2.c: In function '__muldc3': libgcc2.c:1854: error: insn does not satisfy its constraints: (insn:HI 2485 2483 2604 39 li

gcc-4.0-20060803 is now available

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

Re: A question about assembler

2006-08-03 Thread Mike Stump
On Aug 3, 2006, at 2:04 AM, Niu, Bao Qiang (Henry) wrote: I have a problem when I try to do the 'make' operation Please don't send to gcc, this list is for something else... If you don't hear back from gcc-help, you might want to try the manual, I think how to do this is documented in there.

dynamic_cast broken on GCC trunk

2006-08-03 Thread Benjamin Smedberg
The patch for GCC bug 10891 changed the behavior of dynamic_cast when RTTI is disabled. The new behavior is too restrictive for certain types of dynamic_cast that can be reliably performed without any RTTI information: If you have a class with virtual functions: class A { virtual DoSomething

Re: Register windows implementation in Xtensa backend

2006-08-03 Thread Bob Wilson
"kernel coder" wrote: > I'm trying to understand the register windows > implementation in xtensa backend.I could not find much theory about > register windows in extensa.I am trying to understand the register > windows implementation by observing the assembly file generated by gcc > f

Re: [PATCH] improved algorithm for gcc/expmed.c::choose_multiplier()

2006-08-03 Thread Denis Vlasenko
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28417 On Thursday 03 August 2006 06:55, Roger Sayle wrote: > As mentioned by Jim, the current GCC algorithm is based upon the > paper by Torbjorn Granlund and Peter Montgomery, "Division by > Invariant Integers using Multiplication", PLDI-94. > http://sw

Re: RTEMS memory access

2006-08-03 Thread Joel Sherrill
khalil maatoug wrote: hello everybody, I am working on RTEMS porting for an arm processor, I'am using the gcc3.2.3 version; Everything seems to work well excepting floating point operations, and exactly in the gcc floating point library(dp-bit.c file), it tries to affect some variables to an ad

RTEMS memory access

2006-08-03 Thread khalil maatoug
hello everybody, I am working on RTEMS porting for an arm processor, I'am using the gcc3.2.3 version; Everything seems to work well excepting floating point operations, and exactly in the gcc floating point library(dp-bit.c file), it tries to affect some variables to an adress which not belong t

Register windows implementation in Xtensa backend

2006-08-03 Thread kernel coder
hi, I'm trying to understand the register windows implementation in xtensa backend.I could not find much theory about register windows in extensa.I am trying to understand the register windows implementation by observing the assembly file generated by gcc for a simple c file. Following

Re: if() and trailing ;

2006-08-03 Thread Andreas Schwab
"Dave Korn" <[EMAIL PROTECTED]> writes: > How about > > if (condition) > assert (other_dependent_condition); > > compiled under NDEBUG? assert(...) is never empty. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nü

RE: if() and trailing ;

2006-08-03 Thread Dave Korn
On 01 August 2006 16:00, Andreas Schwab wrote: > Joe Buck <[EMAIL PROTECTED]> writes: > >> On Sat, Jul 29, 2006 at 07:33:03PM -0400, Simon Boulet wrote: >>> After a couple hours debugging code, I figured our an if() somewhere had >>> a trailing ; like this: >>> >>> if (memcmp(p

A question about assembler

2006-08-03 Thread Niu, Bao Qiang (Henry)
Hi, I have a problem when I try to do the 'make' operation, it failed because the assembler mismatch, it should use 'asppc', but every time it try to find 'as'. I'm sure the macro 'AS=asppc' is set. This problem has held me for about two days. Do you have any idea for this problem? Niu Baoqiang