Re: GCC 4.3 target deprecation proposals

2008-01-25 Thread Nick Clifton
Hi Joseph, I have posted some results for the xstormy16-elf target. They are not great (614 failures) but I do hope that this can target can be removed from the potential deprecations list. Cheers Nick

Re: Seperate the c front-end from GCC

2008-01-25 Thread Fabian Scheler
Hello, > I have to use gcc's C parser and the intermediate representation, so that I > can manipulate the basic blocks and CFG. So I need to plug out the parser > and the intermediate code. I would like to know if it is possible to plug > out the parser and the intermediate representation code. t

Re: dwarf2 EH address size

2008-01-25 Thread Ian Lance Taylor
DJ Delorie <[EMAIL PROTECTED]> writes: > > The EH code does seem to use POINTER_SIZE pretty consistently. > > DWARF2_ADDR_SIZE is for the debug info, not the exception frame > > info. I haven't looked into the history of why this is so. > > Hmmm... I suppose the EH info is used by the runtime as

Re: uninit-13 testcase: Weird line number in the "uninitialized use" warning

2008-01-25 Thread Ian Lance Taylor
"Andreas Krebbel" <[EMAIL PROTECTED]> writes: > Should we do something about this for GCC 4.3 or just XFAIL the > testcases for s390 and s390x? I haven't tried to figure out what is really going on, but I know the answer to this question: an off-by-one error in the line number for a warning is a

Re: [Progress] Tiny GCC: Pure, Unadulterated, Object Code

2008-01-25 Thread Michael Witten
On 25 Jan 2008, at 6:11 PM, Michael Witten wrote: On 25 Jan 2008, at 8:16 AM, Michael Witten wrote: On 24 Jan 2008, at 7:20 AM, Brian Dessent wrote: Michael Witten wrote: Can I build gcc in this way? I've been trying for quite some time now to achieve such a stripped down gcc, but it wou

UNIQUE ID (INSN UID) Question

2008-01-25 Thread Balaji V. Iyer
Hello Everyone, I have a quick question regarding instruction unique ID in the RTL. Is this number unique for the function? or is it unique for the entire program that it is compiling? I would like to "mark" instructions and identify them, so can I use this value as a unique identifier for

Re: [libstdc++] testsuite failures on sparc biarch using -m64: tr1_impl/boost_shared_ptr.h error:

2008-01-25 Thread Jonathan Wakely
On 22/01/2008, Christian Joensson wrote: > 2008/1/21, Jonathan Wakely > > My first guess would be that you've somehow got the C++0x and TR1 > > versions of boost_sp_shared_count.h mixed up and you're including the > > wrong one. > > well, the testsuite results are posted at, e.g., > > http://gcc.gn

gcc-4.3-20080125 is now available

2008-01-25 Thread gccadmin
Snapshot gcc-4.3-20080125 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.3-20080125/ 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/trunk

Re: GCC 4.2.3 Status Report (2008-01-21)

2008-01-25 Thread Joseph S. Myers
On Mon, 21 Jan 2008, Joseph S. Myers wrote: > The 4.2 branch is in regression-only mode. Since it has been more > than two months since the last release, I propose to prepare 4.2.3-rc1 > on Friday 25 January, with either rc2 or the final release on Friday 1 > February. Therefore, the branch will

Re: small changes of gdbinit.in

2008-01-25 Thread Daniel Jacobowitz
On Fri, Jan 25, 2008 at 10:54:18AM -0700, Tom Tromey wrote: > > "Joe" == Joe Buck <[EMAIL PROTECTED]> writes: > > Joe> When was $arg0 added to gdb? And why would a gcc developer need > Joe> to use an old gdb? > > $arg0 is ancient, but $argc is pretty new. It was added in GDB 6.4, released J

Re: small changes of gdbinit.in

2008-01-25 Thread David Daney
Joe Buck wrote: On Fri, Jan 25, 2008 at 10:18:01AM -0700, Tom Tromey wrote: "Joe" == Joe Buck <[EMAIL PROTECTED]> writes: Joe> On the other hand, old-timers are used to the commands being the way Joe> they are. So I guess that a command that takes a proper argument Joe> should have a different

Array alignment difference on stack

2008-01-25 Thread Jon Beniston
Hi, With a port of GCC 4.2.1 I'm working on, get_pointer_alignment() (via DECL_ALIGN) returns different values for a char array depending upon whether it is on the stack or not. For example, if the array is a global, get_pointer_alignment() always returns 32, regardless, if there are more than 4

Re: small changes of gdbinit.in

2008-01-25 Thread Joe Buck
On Wed, Jan 23, 2008 at 08:03:05AM -0500, Daniel Jacobowitz wrote: > On Wed, Jan 23, 2008 at 02:31:11PM +0800, Eric Fisher wrote: > > I guess that the argument of the user defined command in gdbinit.in > > should be $arg0. Also, due to the changes of the structure tree node, > > ptc should be, > >

Re: GCC 4.3 target deprecation proposals

2008-01-25 Thread Joel Sherrill <[EMAIL PROTECTED]>
Joseph S. Myers wrote: On Thu, 24 Jan 2008, DJ Delorie wrote: At the moment, I'm working on getting sh, h8300, and m32c in shape for 4.3 (or future). I can easily get the test results under 400k by removing some of the multilibs, but I don't think that's a good idea. My sh-elf test tests 38

Re: Mainline is now regression and documentation fixes only

2008-01-25 Thread Paolo Bonzini
Jakub Jelinek wrote: On Wed, Jan 23, 2008 at 06:50:02PM +0100, Bernhard Fischer wrote: On Wed, Jan 23, 2008 at 12:06:22PM +0100, Richard Guenther wrote: As we now reached the goal of less than 100 open serious regressions against GCC 4.3, we are as of now in regression and documentation fixes o

Re: Finding out what backend instruction pattern matches instruction

2008-01-25 Thread andrewhutchinson
Ok, I guess I will try setting the length attribute as you describe and see if it is called at all before hard registers are allocated. Then, I can trace any usage to see if its important. Ian Lance Taylor <[EMAIL PROTECTED]> wrote: > Andrew Hutchinson <[EMAIL PROTECTED]> writes: > > >

Re: Mainline is now regression and documentation fixes only

2008-01-25 Thread Jakub Jelinek
On Wed, Jan 23, 2008 at 06:50:02PM +0100, Bernhard Fischer wrote: > On Wed, Jan 23, 2008 at 12:06:22PM +0100, Richard Guenther wrote: > > > >As we now reached the goal of less than 100 open serious regressions > >against GCC 4.3, we are as of now in regression and documentation fixes > >only mode.

Re: c++0x concepts in gcc call

2008-01-25 Thread Doug Gregor
On Jan 21, 2008 8:08 PM, Benjamin Kosnik <[EMAIL PROTECTED]> wrote: > Jason Merrill, Doug Gregor, and I invite all interested GCC hackers to > discuss implementation of the compiler and library parts of the > C++0x concepts proposals. This is to be a brainstorming session, where > we discuss the be

Re: small changes of gdbinit.in

2008-01-25 Thread Tom Tromey
> "Joe" == Joe Buck <[EMAIL PROTECTED]> writes: Joe> When was $arg0 added to gdb? And why would a gcc developer need Joe> to use an old gdb? $arg0 is ancient, but $argc is pretty new. Tom

Re: small changes of gdbinit.in

2008-01-25 Thread Joe Buck
On Fri, Jan 25, 2008 at 10:18:01AM -0700, Tom Tromey wrote: > > "Joe" == Joe Buck <[EMAIL PROTECTED]> writes: > > Joe> On the other hand, old-timers are used to the commands being the way > Joe> they are. So I guess that a command that takes a proper argument > Joe> should have a different na

Re: dwarf2 EH address size

2008-01-25 Thread DJ Delorie
> The EH code does seem to use POINTER_SIZE pretty consistently. > DWARF2_ADDR_SIZE is for the debug info, not the exception frame > info. I haven't looked into the history of why this is so. Hmmm... I suppose the EH info is used by the runtime as well, right? So changing to a non-standard addr

uninit-13 testcase: Weird line number in the "uninitialized use" warning

2008-01-25 Thread Andreas Krebbel
Hello, the uninit-13.c testcase fails on s390 and s390x: 1 /* { dg-do compile } */ 2 /* { dg-options "-O -Wuninitialized" } */ 3 4 typedef _Complex float C; 5 C foo() 6 { 7 C f; 8 __imag__ f = 0; /* { dg-warning "is used" "unconditional" } */ 9 return f; 10 } On s390 and s390x the repo

Re: Seperate the c front-end from GCC

2008-01-25 Thread Haizhou LING
Hi Fabian, Thank you very much, I will have a look at it. Best Regards, Eric Fabian Scheler wrote: > > Hello, > >> I have to use gcc's C parser and the intermediate representation, so that >> I >> can manipulate the basic blocks and CFG. So I need to plug out the parser >> and the intermediat

Re: small changes of gdbinit.in

2008-01-25 Thread Tom Tromey
> "Joe" == Joe Buck <[EMAIL PROTECTED]> writes: Joe> On the other hand, old-timers are used to the commands being the way Joe> they are. So I guess that a command that takes a proper argument Joe> should have a different name. You can have it both ways, somewhat: define pt if $argc == 0

Re: small changes of gdbinit.in

2008-01-25 Thread Joe Buck
On Fri, Jan 25, 2008 at 10:23:03AM -0800, David Daney wrote: > Joe Buck wrote: > >On Fri, Jan 25, 2008 at 10:18:01AM -0700, Tom Tromey wrote: > >>>"Joe" == Joe Buck <[EMAIL PROTECTED]> writes: > >>Joe> On the other hand, old-timers are used to the commands being the way > >>Joe> they are. So I

4.2.3-rc1 available

2008-01-25 Thread Joseph S. Myers
GCC 4.2.3 release candidate 1 is now available at: ftp://gcc.gnu.org/pub/gcc/snapshots/4.2.3-RC-20080125/ Please test the tarballs there and report any problems to Bugzilla. CC me on the bugs if you believe they are regressions from previous 4.2 releases that should block the 4.2.3 release