Can I trace the process of C++ template Instantiation?

2005-07-04 Thread zheng wang
Hi,all: How can I trace the process of C++ template Instantiation? I study Loki and some library is very complex, so I want to see how gcc compiler instance the template class. alex ___ 雅虎免费G邮箱-中国第一

Re: Problem with Delayed Branch Scheduling

2005-07-04 Thread Steven Bosscher
On Monday 04 July 2005 07:59, Balaji S wrote: > Hi everybody, > > I have a problem with delayed branch scheduling. Problem in a DSP porting > which has VLIW instructions and delayed branches. While scheduling delayed > branches, GCC (3.4.3) schedules an instruction which is a part of a VLIW > instr

Re: Problem with Delayed Branch Scheduling

2005-07-04 Thread Balaji S
_On 04-Jul-2005 15:31, Steven Bosscher san wrote_: Add an attribute to those instructions that cannot be in delay slots, and change this define_delay to disallow instructions with that attr? Any instruction other than jump can be placed in the delay slot. I hope "!jump" can fulfill this requi

Re: Problem with Delayed Branch Scheduling

2005-07-04 Thread Steven Bosscher
On Monday 04 July 2005 12:41, Balaji S wrote: > _On 04-Jul-2005 15:31, Steven Bosscher san wrote_: > > Add an attribute to those instructions that cannot be in delay slots, > > and change this define_delay to disallow instructions with that attr? > > Any instruction other than jump can be placed in

Bugzilla does not let me in

2005-07-04 Thread Ilya Mezhirov
Hi, I've got a problem: bugzilla sends me no registration e-mails. I tried two times with different e-mail addresses and got nothing. So I cannot report a gcj bug :( You've got a nice page "Reporting Bugs" that explains what needs to be sent, but doesn't contain a word about *where* to send. T

Re: matching '-Wl,' in a specs file

2005-07-04 Thread Gunther Nikl
On Fri, Jul 01, 2005 at 03:19:28PM -0700, James E Wilson wrote: > Gunther Nikl wrote: > >A few LINK_SPEC definitions contain a "%{Wl,*:%*}" sequence. > > There is no need to match -Wl options in LINK_SPEC, as it is handled by > the gcc.c driver. The driver support was added in gcc-2.5.8. I beli

Re: matching '-Wl,' in a specs file

2005-07-04 Thread Andrew Haley
Gunther Nikl writes: > On Fri, Jul 01, 2005 at 03:19:28PM -0700, James E Wilson wrote: > > Gunther Nikl wrote: > > >A few LINK_SPEC definitions contain a "%{Wl,*:%*}" sequence. > > > > There is no need to match -Wl options in LINK_SPEC, as it is handled by > > the gcc.c driver. The driver

Re: Can I trace the process of C++ template Instantiation?

2005-07-04 Thread Giovanni Bajo
zheng wang <[EMAIL PROTECTED]> wrote: >How can I trace the process of C++ template > Instantiation? I study Loki and some library is very > complex, so I want to see how gcc compiler instance > the template class. The source code for template processing is mostly contained in the file cp/pt.

Re: Bugzilla does not let me in

2005-07-04 Thread Giovanni Bajo
Ilya Mezhirov <[EMAIL PROTECTED]> wrote: > I've got a problem: bugzilla sends me no registration e-mails. > I tried two times with different e-mail addresses and got nothing. > So I cannot report a gcj bug :( > > You've got a nice page "Reporting Bugs" that explains what needs to be > sent, but do

Re: GCC 4.0.1 RC3

2005-07-04 Thread Ulrich Weigand
Mark Mitchell wrote: > GCC 4.0.1 RC3 is now available here: > >ftp://gcc.gnu.org/pub/gcc/prerelease-4.0.1-20050702/ > > With luck, this will be the last 4.0.1 release candidate. > > Please do download tarballs from the above URL and confirm that they > work OK on your systems. s390(x)-ibm-

MIPS-X

2005-07-04 Thread IM.Nobody
Hi all, I am wondering if MIPS-X has been supported. Thanks. IM

Re: matching '-Wl,' in a specs file

2005-07-04 Thread Gunther Nikl
On Mon, Jul 04, 2005 at 01:15:19PM +0100, Andrew Haley wrote: > Gunther Nikl writes: > > > > Sometimes I use -Wl,-r and I tried to change what options to pass > > depending on -r. > > IMO that would be really bad. The point of "-Wl" is to pass arguments > unmolested to the linker, bypassi

Re: Problem with Delayed Branch Scheduling

2005-07-04 Thread Joern RENNECKE
So you have a few instructions bundled into a VLIW instruction, and one of the instructions in the bundle is moved into the delay slot, thus breaking your VLIW bundle. Right? That is a much harder problem... I don't think it is really possible with the existing dbr scheduling pass, but maybe

The origin of scalar evolutions?

2005-07-04 Thread Robert van Engelen
Hi, I am interested in the recent work in gcc 4.0 with respect to "scalar evolutions". The students in my compiler laboratory studied the algorithm implemented in gcc 4.0. We are considering extending this work based on our experience [4] building a similar framework for symbolic analysis wi

SVN test repo updated and call for help

2005-07-04 Thread Daniel Berlin
The svn test repo has been updated on dberlin.org. Please don't rape my bandwidth or my disk i/o :) svn://www.dberlin.org/ Commits to the hooks dir will be reflected in the actual repository hooks through the nice sync script. If people help convert the contrib scripts and the current cvs repos

Re: Bugzilla does not let me in

2005-07-04 Thread Daniel Berlin
On Mon, 2005-07-04 at 15:03 +0400, Ilya Mezhirov wrote: > Hi, > > > I've got a problem: bugzilla sends me no registration e-mails. > I tried two times with different e-mail addresses and got nothing. > So I cannot report a gcj bug :( I verified the emails were getting sent to your address (or at

Re: GCC 4.0.1 RC3

2005-07-04 Thread H. J. Lu
On Sun, Jul 03, 2005 at 11:21:15AM -0700, Mark Mitchell wrote: > GCC 4.0.1 RC3 is now available here: > > ftp://gcc.gnu.org/pub/gcc/prerelease-4.0.1-20050702/ > > With luck, this will be the last 4.0.1 release candidate. > > Please do download tarballs from the above URL and confirm that they

Re: GCC 4.0.1 RC3

2005-07-04 Thread Andrew Pinski
On Jul 4, 2005, at 1:48 PM, H. J. Lu wrote: On Sun, Jul 03, 2005 at 11:21:15AM -0700, Mark Mitchell wrote: GCC 4.0.1 RC3 is now available here: ftp://gcc.gnu.org/pub/gcc/prerelease-4.0.1-20050702/ With luck, this will be the last 4.0.1 release candidate. Please do download tarballs from t

Re: Problem with Delayed Branch Scheduling

2005-07-04 Thread Ian Lance Taylor
Steven Bosscher <[EMAIL PROTECTED]> writes: > So you have a few instructions bundled into a VLIW instruction, and > one of the instructions in the bundle is moved into the delay slot, > thus breaking your VLIW bundle. Right? I think there are two natural approaches. 1) Do the VLIW bundling afte

Re: byteswap.c and endian.c for gcc?

2005-07-04 Thread Ian Lance Taylor
"Sung-Gu" <[EMAIL PROTECTED]> writes: > I thought I might find a specfic directory in gcc sources whether it supports > the files. > I don't want to compile the whole source files. :( gcc is just the compiler. Header files like byteswap.c and endian.c are part of the system library. gcc does no

Re: initializing wider-than-pointers

2005-07-04 Thread Richard Henderson
On Fri, Jul 01, 2005 at 09:27:48PM -0400, DJ Delorie wrote: > Note that my complaint about the lack of endian support in that code > still stands ;-) I seem to recall running into this before. It's not a lack of endian support, it's one piece lying to another about the size of the object. Which

[st20] seeking implementation advice for stack architectures (long)

2005-07-04 Thread Dimitri Gorokhovik
I plan to up-port my ST20 port to the mainline. I thought I'd first give a description of the port and ask for some opinion. Basically, I would like to hear, would an implementation along these lines be acceptable in principle, and otherwise, what are the main no-go points ? I'll try to keep it sh

Re: MIPS-X

2005-07-04 Thread Richard Sandiford
"IM.Nobody" <[EMAIL PROTECTED]> writes: > I am wondering if MIPS-X has been supported. Not by FSF releases, no. I'm not aware of a private port either, but perhaps others know better. Richard

Re: GCC 4.0.1 RC3

2005-07-04 Thread David Edelsohn
AIX is good: http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg00216.html David

RE: byteswap.c and endian.c for gcc?

2005-07-04 Thread Sung-Gu
I have another Linux machine. And I found the following messages: $cd /usr/include $ more endian.h /* Copyright (C) 1992, 1996, 1997, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. /* This file defines `__BYTE_ORDER' for the particular machine. */ #include $

Re: byteswap.c and endian.c for gcc?

2005-07-04 Thread Ian Lance Taylor
"Sung-Gu" <[EMAIL PROTECTED]> writes: > I have another Linux machine. > And I found the following messages: > > > $cd /usr/include > > $ more endian.h > /* Copyright (C) 1992, 1996, 1997, 2000 Free Software Foundation, Inc. >This file is part of the GNU C Library. Yes. gcc is not the GNU

Re: The origin of scalar evolutions?

2005-07-04 Thread Daniel Berlin
On Mon, 2005-07-04 at 12:31 -0400, Robert van Engelen wrote: > Hi, > > I am interested in the recent work in gcc 4.0 with respect to "scalar > evolutions". The students in my compiler laboratory studied the > algorithm implemented in gcc 4.0. We are considering extending this > work based on ou

Re: GCC 4.0.1 RC3

2005-07-04 Thread Andreas Tobler
Darwin here: http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg00221.html ok so far. Andreas

Re: Ada is broken in a clean directory

2005-07-04 Thread Andrew Pinski
On Jun 30, 2005, at 4:25 PM, Paul Brook wrote: On Thursday 30 June 2005 04:24, Andrew Pinski wrote: Ada is now broken on the mainline by: 2005-06-28 Paul Brook <[EMAIL PROTECTED]> * Makefile.in: Set and use UNWIND_H. Install as unwind.h. * c-decl.c (finish_decl): Call defaul

Re: GCC 4.0.1 RC3

2005-07-04 Thread John David Anglin
PA is ok: http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg00223.html http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg00218.html http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg00186.html The failure of pr21817-1.c on hppa2.0w-hp-hpux11.11 is a minor testsuite issue that is now fixed on the tru

A trouble with libssp in one-tree builds

2005-07-04 Thread Kazu Hirata
Hi Jakub, I am having a trouble with libssp in one-tree builds. That is, if I try to build binutils and gcc at the same time, libssp/configure complains while compiling (and linking) the following program and the build process stops. /* confdefs.h. */ #define PACKAGE_NAME "libssp" #define PACK

bubblestrap and current gcc trunk gnattools

2005-07-04 Thread Christian Joensson
Hello, Just today, I noticed that I couldn't use bubblestrap on current gcc trunk... It fails like this in gnattools: ../../gnatbind -C -I- -I../rts -I. -I/usr/local/src/trunk/gcc/gcc/ada -o b_gnatm.c gnatmake.ali error: "g-dirope.adb" must be compiled error: ("../rts/g-dirope.ali" is obsolete an

Re: Problem with Delayed Branch Scheduling

2005-07-04 Thread Balaji S
_On 05-Jul-2005 00:14, Ian Lance Taylor san wrote_: Steven Bosscher <[EMAIL PROTECTED]> writes: So you have a few instructions bundled into a VLIW instruction, and one of the instructions in the bundle is moved into the delay slot, thus breaking your VLIW bundle. Right? I think there are tw

Re: A trouble with libssp in one-tree builds

2005-07-04 Thread Andrew Pinski
On Jul 5, 2005, at 12:50 AM, Kazu Hirata wrote: Hi Jakub, I am having a trouble with libssp in one-tree builds. That is, if I try to build binutils and gcc at the same time, libssp/configure complains while compiling (and linking) the following program and the build process stops. I don't s

Re: Problem with Delayed Branch Scheduling

2005-07-04 Thread Richard Sandiford
Ian Lance Taylor writes: > Steven Bosscher <[EMAIL PROTECTED]> writes: >> So you have a few instructions bundled into a VLIW instruction, and >> one of the instructions in the bundle is moved into the delay slot, >> thus breaking your VLIW bundle. Right? > > I think there are two natural approach

Re: GCC 4.0.1 RC3

2005-07-04 Thread Mark Mitchell
Eric Botcazou wrote: We have 1 new failure on SPARC/Solaris 2.5.1, 2.6 and 7 over RC2: http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg00137.html http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg00138.html http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg00139.html WARNING: program timed out.

Re: GCC 4.0.1 RC3

2005-07-04 Thread Mark Mitchell
Ulrich Weigand wrote: Mark Mitchell wrote: GCC 4.0.1 RC3 is now available here: ftp://gcc.gnu.org/pub/gcc/prerelease-4.0.1-20050702/ With luck, this will be the last 4.0.1 release candidate. Please do download tarballs from the above URL and confirm that they work OK on your systems. s

Re: [C++] Re: PARM_DECL of DECL_SIZE 0, but TYPE_SIZE of 96 bits

2005-07-04 Thread Mark Mitchell
Daniel Berlin wrote: On Thu, 2005-06-30 at 14:11 -0700, Geoffrey Keating wrote: Certainly an option; not doing extra work is good. 4. Make sure that template types are incomplete. That is, with TYPE_SIZE/TYPE_SIZE_UNIT unset. I think this makes a lot of sense considering the language se