Need help

2005-12-14 Thread Ivan Petrov
Dear all! It posible to receive function with type defined logicaly as '...false, true, true, ""' in 'attribute_spec', to a TARGET_EXPAND_BUILTIN or TARGET_RESOLVE_OVERLOADED_BUILTIN hooks? Criteria function return type and arguments count/type must be ignored for filtering. -- Regards Iva

Problems with ?: operator

2005-12-14 Thread Sulabh Nangalia
hi, while compiling the following code on gcc v3.3 compiler (on mac os x), i got the "invalid lvalue asignment" error as expected in the following code: main(){ int a = 1; a < 10 ? a = 5 : a = 7; return; } but i didn't get any error in 15 < 10 ? a = 5 : a = 7; and a < 10 ? a : a = 7; 5 < 1

Re: Huge compile time regressions

2005-12-14 Thread Daniel Berlin
On Thu, 2005-12-15 at 00:48 +0100, Steven Bosscher wrote: > Hi, > > Someone caused a >10% compile time regression yesterday for CSiBE, see > http://www.csibe.org/draw-diag.php?branchid=mainline&flags=-Os&rel_flag=--none--&dataview=Timeline&finish_button=Finish&draw=sbs&view=1&basephp=l-sbs > > >

options for compiling C using C++ compiler [trying 1 more time]

2005-12-14 Thread John R
I'm working on a project where I post-process AST (.tu) output from gcc using the -fdump-translation-unit option. Problem is the C compiler does not generate useful AST data. So I actually run the preprocessed source again thru g++ to get AST data. This works fine unless there are constructs n

Re: RELOAD_OTHER bug?

2005-12-14 Thread DJ Delorie
> I see now that this code is in merge_assigned_reloads, so it might > even be safe there to set the reload type to > RELOAD_FOR_OTHER_ADDRESS. You'll have to check if the reload type > from that point onward is only needed to determine the time of the > reload insn (rather than also the lifetime

Re: porting gcc/binutils

2005-12-14 Thread Mike Stump
On Dec 14, 2005, at 3:31 PM, Andrija Radičević wrote: I'm trying to port gcc and binutils to a new target and I hoped to find a brief procedure on that matter on the net, but was unsuccessful. OK, the GCC internals is quite a resourceful document and one can learn a lot by examining the source

Huge compile time regressions

2005-12-14 Thread Steven Bosscher
Hi, Someone caused a >10% compile time regression yesterday for CSiBE, see http://www.csibe.org/draw-diag.php?branchid=mainline&flags=-Os&rel_flag=--none--&dataview=Timeline&finish_button=Finish&draw=sbs&view=1&basephp=l-sbs Gr. Steven

[CFARM] accounts & use

2005-12-14 Thread Laurent GUERBY
Note: I'll be offline starting friday and up to monday, so if you want to start hacking on the machines over the week-end please send me your prefered UNIX and public key AS ATTACHMENT (not inline) in the next 12 hours. On Wed, 2005-12-14 at 14:28 +0100, Richard Guenther wrote: > Do they have acce

porting gcc/binutils

2005-12-14 Thread Andrija Radičević
Hi, I'm trying to port gcc and binutils to a new target and I hoped to find a brief procedure on that matter on the net, but was unsuccessful. OK, the GCC internals is quite a resourceful document and one can learn a lot by examining the source tree, but It would be very helpful if there would be

Re: gfc_build_addr_expr vs. build_fold_addr_expr{,_with_type}

2005-12-14 Thread Paul Thomas
Richard, As less intrusive first step I can bring the fortran variants in line with the middle-end ones, especially wrt correctness. We at least should correct these issues. For what it is worth, I applaud your effort - I think that the gfortran middle-end should be made completely consisten

Re: unable to build head on Fedora

2005-12-14 Thread Jakub Jelinek
On Wed, Dec 14, 2005 at 04:34:17PM -0600, Joel Sherrill <[EMAIL PROTECTED]> wrote: > > My fresh check out on the head build using the gcc shipped with > Fedora Core 4 has failed for the past couple of days with this error: A day and half. > /home/joel/gcc-work/head/b-native/./gcc/xgcc > -B/hom

[CFARM] SCSI disk

2005-12-14 Thread Laurent GUERBY
On Wed, 2005-12-14 at 14:11 +0100, Laurent GUERBY wrote: > Hi, we lost just one disk during transportation. > > If you know someone who has a spare X GB SCSI disk available for > donation, please contact me. Otherwise I'll just buy one :). Sebastian Pop kindly proposed a disk, but unfortunately i

unable to build head on Fedora

2005-12-14 Thread Joel Sherrill <[EMAIL PROTECTED]>
==+ | 4.2.0 20051214 (experimental) (i686-pc-linux-gnu) GCC error: | | in extract_insn, at recog.c:2084 | | Error detected at g-alleve.adb:5035:1| configure command: ./gcc/configure --prefix=/home/joel/gcc

Re: unrecognized option '-no-cpp-precomp' on Mac OS X (10.4.3)

2005-12-14 Thread Mike Stump
On Dec 14, 2005, at 12:52 PM, Paul Martinolich wrote: I have built gcc-4.1-20051209 successfully and while using it to try to compile Python-2.4.2, I get this error: /Users/martinol/auto_v4.0/devel/powerpc-apple-darwin8.3.0/bin/gcc - c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mn

Re: unrecognized option '-no-cpp-precomp' on Mac OS X (10.4.3)

2005-12-14 Thread Daniel Jacobowitz
On Wed, Dec 14, 2005 at 02:52:26PM -0600, Paul Martinolich wrote: > I have built gcc-4.1-20051209 successfully and while using it to try to > compile Python-2.4.2, I get this error: > > /Users/martinol/auto_v4.0/devel/powerpc-apple-darwin8.3.0/bin/gcc -c - > fno-strict-aliasing -Wno-long-double -

unrecognized option '-no-cpp-precomp' on Mac OS X (10.4.3)

2005-12-14 Thread Paul Martinolich
I have built gcc-4.1-20051209 successfully and while using it to try to compile Python-2.4.2, I get this error: /Users/martinol/auto_v4.0/devel/powerpc-apple-darwin8.3.0/bin/gcc -c - fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd - DNDEBUG -g -O3 -Wall -Wstrict-prototypes

Re: "Bag of pages" algorithm?

2005-12-14 Thread Daniel Berlin
On Wed, 2005-12-14 at 15:21 -0500, Domagoj D wrote: > Hi Daniel, > > > > Could anyone recommend a good reference (paper/book/webpage/...) > > > about the "bag of pages" GC algorithm used in GCC? > > There is none, AFAIK. > > Argh, how am I supposed to figure out the arcane lore of GCC programmers

Re: gfc_build_addr_expr vs. build_fold_addr_expr{,_with_type}

2005-12-14 Thread Richard Guenther
On Wed, 14 Dec 2005, FX Coudert wrote: > > The only downside I see with this type of patch is that backporting > > fixes from trunk to 4.1 will be more difficult. With only a small > > group of active gfortran hackers, this may place 4.1 into position > > of low maintenance. > > Unless I am mis

Re: "Bag of pages" algorithm?

2005-12-14 Thread Domagoj D
Hi Daniel, > > Could anyone recommend a good reference (paper/book/webpage/...) > > about the "bag of pages" GC algorithm used in GCC? > There is none, AFAIK. Argh, how am I supposed to figure out the arcane lore of GCC programmers than? :-) > > Also, is there > > any document about the specifi

Re: [PATCH] Fix bootstrap on i686-pc-linux-gnu

2005-12-14 Thread Richard Henderson
On Tue, Dec 13, 2005 at 04:39:56PM -0500, Jakub Jelinek wrote: > PR debug/25023 > * config/i386/i386.c (ix86_force_to_memory): Always use > SImode push for HImode in -m32. > (ix86_free_from_memory): Likewise. > > * gcc.dg/pr25023.c: New test. Ok. r~

Re: "Bag of pages" algorithm?

2005-12-14 Thread Daniel Berlin
On Wed, 2005-12-14 at 14:17 -0500, Domagoj D wrote: > Hi, > > Could anyone recommend a good reference (paper/book/webpage/...) > about the "bag of pages" GC algorithm used in GCC? There is none, AFAIK. > Also, is there > any document about the specifics of GCC implementation (besides > GCC Inter

"Bag of pages" algorithm?

2005-12-14 Thread Domagoj D
Hi, Could anyone recommend a good reference (paper/book/webpage/...) about the "bag of pages" GC algorithm used in GCC? Also, is there any document about the specifics of GCC implementation (besides GCC Internals document)? Thx. Domagoj -- ___

Re: gfc_build_addr_expr vs. build_fold_addr_expr{,_with_type}

2005-12-14 Thread FX Coudert
The only downside I see with this type of patch is that backporting fixes from trunk to 4.1 will be more difficult. With only a small group of active gfortran hackers, this may place 4.1 into position of low maintenance. Unless I am mistaken, this patch doesn't touch anything outside the fort

Re: gfc_build_addr_expr vs. build_fold_addr_expr{,_with_type}

2005-12-14 Thread Steve Kargl
On Mon, Dec 12, 2005 at 05:26:10PM +0100, Richard Guenther wrote: > > Always interesting to compare seemingly duplicates. The variant > from fold-const.c seems to be more strict with types and sets > TREE_ADDRESSABLE on the base component, while the gfc variant > sets it on the passed tree itself

heads up - gcc toplevel bootstrap activated

2005-12-14 Thread Paolo Bonzini
This is just a heads up that GCC has switched so that the toplevel coordinates the bootstrapping. The main change is that on a native configuration `make' will automatically bootstrap, unless you configure with --disable-bootstrap (and, since the binutils list is receiving this message, if you

Re: GCC mailing list archive search omits results after May 2005

2005-12-14 Thread Frank Ch. Eigler
mrs wrote: > I think we should remove all traces of any search that doesn't work. > [...] We'll try to set up mnogosearch again on the machine. Please stand by. - FChE

Re: GCC mailing list archive search omits results after May 2005

2005-12-14 Thread Mike Stump
On Dec 14, 2005, at 9:30 AM, Olly Betts wrote: It would be useful to at least note by the search box that it only searches messages sent prior to May 2005. :-( I think we should remove all traces of any search that doesn't work. It doesn't help advanced people, and it doesn't help beginne

Re: GCC mailing list archive search omits results after May 2005

2005-12-14 Thread Olly Betts
Hans-Peter Nilsson wrote: > On Tue, 13 Dec 2005, DJ Delorie wrote: > > Could we put in a google search box on the archive pages at least, to > > stop confusing people? > > Technically feasible but politically sensitive. Considering > that links on readings.html to sites that provide some software

Re: GCC mailing list archive search omits results after May 2005

2005-12-14 Thread Christopher Faylor
On Tue, Dec 13, 2005 at 11:03:12PM -0500, Hans-Peter Nilsson wrote: >On Tue, 13 Dec 2005, DJ Delorie wrote: >>>Summary of the thread: it's known about and may never be fixed, but >>>alternative searchable archives exist (gmane, nabble, probably others >>>like marc and mail-archive too). >> >>Could

Solaris/GCC 3.4.x/4.0.x issue: _GLIBCXX_HAVE_ASINL & others.

2005-12-14 Thread Karel Gardas
Hello, I'm trying to solve small MICO build issue on Solaris/GCC platform. The issue is simple: since GCC 3.4.0 we start to fail compiling code which uses asinl and other functions. The actual issue is that configure (generated by autoconf2.13) detects asinl (and others) function as availabl

Re: [CFARM] maintenance ok

2005-12-14 Thread Richard Guenther
On 12/14/05, Laurent GUERBY <[EMAIL PROTECTED]> wrote: > Hi, we lost just one disk during transportation. > > If you know someone who has a spare X GB SCSI disk available for > donation, please contact me. Otherwise I'll just buy one :). > > So we have 8 bi processor machines online, 7 with ubuntu

[CFARM] maintenance ok

2005-12-14 Thread Laurent GUERBY
Hi, we lost just one disk during transportation. If you know someone who has a spare X GB SCSI disk available for donation, please contact me. Otherwise I'll just buy one :). So we have 8 bi processor machines online, 7 with ubuntu 5.10 and 1 with NetBSD. I'm creating accounts on request: priva