RE: Patch for mingw stdint information

2009-04-03 Thread Danny Smith
> Hi all, > > Please find attached a patch I built to add stdint-related > information > to GCC configuration for the mingw target (see > http://gcc.gnu.org/ml/gcc/2009-04/msg0.html > for more details about why). Thanks for this. I am just in the process of doning a testsuite run on e

Re: GCC releases - busy or broken site

2009-04-03 Thread Dave Korn
Nicholas Yue wrote: > Hi, > >On the page http://gcc.gnu.org, it mentions that as of 13 March 2009, > the current release is the 4.4.0 series and there is now a 4.5.0 > development snapshot. Actually, it's misleading. When that status message was sent, 4.4.0 series was actually in the lowes

typo in gcc-4.4 changes

2009-04-03 Thread Pierce Lopez
I was just reading this page: http://gcc.gnu.org/gcc-4.4/changes.html May I humbly draw your attention to this bullet point: -Wparentheses now warns about expressions such as (!x | y) and (!x & y). Using explicit parentheses, such as in ((!x) | y)), silences this warning Note the extra parenthesi

GCC releases - busy or broken site

2009-04-03 Thread Nicholas Yue
Hi, On the page http://gcc.gnu.org, it mentions that as of 13 March 2009, the current release is the 4.4.0 series and there is now a 4.5.0 development snapshot. Given that the information was three weeks old, I am not sure if the failure of 4.4.0 appearing in the release (mirror) was a

Re: Call for testers: MPC-0.6 released

2009-04-03 Thread Andreas Tobler
Kaveh R. Ghazi wrote: And report your results along with the versions of target triplet/compiler/gmp/mpfr that you used. I've cc'ed others who have access to the platforms in question based on GCC test results. Please help if you can. - powerpc-apple-darwin9.6.0 gcc-4.5.0 gmp-4.2.2 mpfr-2.3

IRIX stdint patch

2009-04-03 Thread FX
Hi Rainer, Here's a patch to add knowledge about C99 stdint.h types to the target configuration for IRIX. I did that from the system headers of a IRIX6.5 box, but can't bootstrap or regtest (I have very limited access, can't run anything on it). If you can bootstrap and confirm that tests

Is the testsuite broken or did I get the RUNTESTFLAGS syntax wrong?

2009-04-03 Thread Dave Korn
I thought this syntax, issued in $objdir make -k check-gcc RUNTESTFLAGS="-all gcc.dg/dg.exp=c99-stdint-*" would only run testcases that matched the pattern after the equals sign, but right now on trunk for me it's running everything in gcc.dg/dg.exp: === gcc tests === Schedul

Re: Revised GCC Runtime Library Exception

2009-04-03 Thread Paul Koning
> "Frank" == Frank Ch Eigler writes: >> [...] Since the FSF is the copyright owner, even if your reading >> is held by someone to be correct, then the FSF's FAQ would count >> as an additional permission. [...] Frank> Is anyone else uncomfortable that an important license is to Frank> r

Patch for mingw stdint information

2009-04-03 Thread FX
Hi all, Please find attached a patch I built to add stdint-related information to GCC configuration for the mingw target (see http://gcc.gnu.org/ml/gcc/2009-04/msg0.html for more details about why). I built it from looking at the mingw headers, because I have them on my laptop, I'm in a

Re: Revised GCC Runtime Library Exception

2009-04-03 Thread Joe Buck
On Fri, Apr 03, 2009 at 12:33:59PM -0700, Frank Ch. Eigler wrote: > > Ian Lance Taylor wrote: > > > [...] Earlier Bradley Kuhn had indicated that this would be covered > > in the updated FAQ, but I don't really see it there. I sent him a > > separate message asking him to update it. > > Joe Bu

Patch for stdint support on darwin

2009-04-03 Thread FX
This is a patch that should add stdint support on darwin. It should work on both i386 and ppc, for Mac OS >= 10.3 (don't think we support 10.2 or earlier, anyway). Because I only have a laptop at hand and poor connectivity for the next 10 days, the following needs doing: -- bootstrap and r

Re: Revised GCC Runtime Library Exception

2009-04-03 Thread Ian Lance Taylor
f...@redhat.com (Frank Ch. Eigler) writes: > Ian Lance Taylor wrote: > >> [...] Earlier Bradley Kuhn had indicated that this would be covered >> in the updated FAQ, but I don't really see it there. I sent him a >> separate message asking him to update it. > > Joe Buck wrote: > >> [...] Since the

Re: gcc-4.5-20090402 is now available

2009-04-03 Thread Gerald Pfeifer
On Fri, 3 Apr 2009, Piotr Wyderski wrote: > Exactly the same happens on trunk. GCC 4.5 _is_ trunk :-), so that explains this aspect, I believe. Gerald

Re: generating functions and eh region

2009-04-03 Thread Dave Korn
Nathan Froyd wrote: > If you're going to seriously consider doing this, you may want to take: > > http://gcc.gnu.org/ml/gcc-patches/2006-02/msg01091.html > > as a starting point. I certainly might, thank you ! cheers, DaveK

Re: Revised GCC Runtime Library Exception

2009-04-03 Thread Frank Ch. Eigler
Ian Lance Taylor wrote: > [...] Earlier Bradley Kuhn had indicated that this would be covered > in the updated FAQ, but I don't really see it there. I sent him a > separate message asking him to update it. Joe Buck wrote: > [...] Since the FSF is the copyright owner, even if your reading is >

Re: generating functions and eh region

2009-04-03 Thread Dave Korn
Ian Lance Taylor wrote: >> Also, windows doesn't have signal handlers. Except on Cygwin, which would >> have to deal with this in its own way. > > Does Windows have any asynchronous signalling mechanism which can > trigger an SEH-style exception? Or does SEH only trigger on a certain > class

Re: generating functions and eh region

2009-04-03 Thread Nathan Froyd
On Fri, Apr 03, 2009 at 08:05:47PM +0100, Dave Korn wrote: > Ian Lance Taylor wrote: > > No fundamental difficulty that I know of. Lots of tedious work for > > every backend setting RTX_FRAME_RELATED_P and adding > > REG_FRAME_RELATED_EXPR notes to the manually constructed epilogue insns. > > I

Re: generating functions and eh region

2009-04-03 Thread Ian Lance Taylor
Dave Korn writes: > Ian Lance Taylor wrote: > >> No fundamental difficulty that I know of. Lots of tedious work for >> every backend setting RTX_FRAME_RELATED_P and adding >> REG_FRAME_RELATED_EXPR notes to the manually constructed epilogue insns. >> >> And, in fact, I was wrong in saying that

Re: stdint.h type information needed

2009-04-03 Thread Dave Korn
FX wrote: > Hum, well, only partially solved. I get a failure on c99-stdint-1.c, > which I can reduce to: > u.c:7: error: initialization from incompatible pointer type > This is because, for 32-bit for example, intptr_t is "long" and > INTPTR_MIN is (-2147483647-1), which is of type "int". > The

Re: generating functions and eh region

2009-04-03 Thread Dave Korn
Ian Lance Taylor wrote: > No fundamental difficulty that I know of. Lots of tedious work for > every backend setting RTX_FRAME_RELATED_P and adding > REG_FRAME_RELATED_EXPR notes to the manually constructed epilogue insns. > > And, in fact, I was wrong in saying that exception could only occur >

Re: gcc-4.5-20090402 is now available

2009-04-03 Thread Dave Korn
Piotr Wyderski wrote: >> Snapshot gcc-4.5-20090402 is now available on >> ftp://gcc.gnu.org/pub/gcc/snapshots/4.5-20090402/ >> and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. > > When building on Cygwin/WinXP configured as: > > $ ../configure --prefix=/opt/gcc-4.5-200904

Re: stdint.h type information needed

2009-04-03 Thread FX
Hum, well, only partially solved. I get a failure on c99-stdint-1.c, which I can reduce to: $ cat u.c #include void test_ptr (void) { __typeof__(INTPTR_MIN) a; __typeof__((intptr_t)0 + 0) *b = &a; } $ ./gcc/xgcc -B./gcc u.c -std=iso9899:1999 -pedantic-errors -S u.c: In function ‘test_ptr

Re: generating functions and eh region

2009-04-03 Thread Kai Tietz
2009/4/3 Ian Lance Taylor : > "Vincent R." writes: > >> Once again what I describe above is simplified because when seh is used, >> there is a mechanism >> called virtual unwiding that I didn't explained but that is  the reason to >> store the prologue length. > > It's worth noting that in gcc the

Re: Call for testers: MPC-0.6 released

2009-04-03 Thread Steve Ellcey
> I.e. we need (primaries) x86-freebsd, x86-darwin, sparc-solaris2.10 and > (secondaries) hppa-hpux11, ppc-aix5.2, ppc-darwin, x86-mingw32 and > s390-linux-gnu. I tested on hppa1.1-hp-hpux11.11, hppa64-hp-hpux11.11, ia64-hp-hpux11.23, and ia64-debian-linux-gnu using GCC 4.2.1, MPFR 2.3.1, and GMP

Re: gcc-4.5-20090402 is now available

2009-04-03 Thread Piotr Wyderski
> Snapshot gcc-4.5-20090402 is now available on > ftp://gcc.gnu.org/pub/gcc/snapshots/4.5-20090402/ > and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. When building on Cygwin/WinXP configured as: $ ../configure --prefix=/opt/gcc-4.5-20090402 -v --enable-bootstrap --enable

Re: GCC + libJIT instead of LLVM

2009-04-03 Thread Kirill Kononenko
I have been criticized for inserting a mail from a public mail list into this mail list. My position is that if a guy contradicts himself in two different public mail lists, it is a reason to point to this. Public mail list is a 'public' mail list. It is a source of reference, for books for example

Re: generating functions and eh region

2009-04-03 Thread Ian Lance Taylor
Dave Korn writes: > Ian Lance Taylor wrote: > >> First, an exception can occur while executing an instruction which >> accesses memory or does a division (admittedly only within a __try >> block). The raise exception call, on the other hand, can only occur >> during a function call. gcc's -fasy

Re: GCC + libJIT instead of LLVM

2009-04-03 Thread Basile STARYNKEVITCH
Ian Lance Taylor wrote: Kirill Kononenko writes: There have been mentioned a couple of ideas indeed. But I would not like to spend a lot of my precious time on telling my thoughts and suggestions, if the topic is already decided elsewhere. So I basically want asking question which exactly J

Re: GCC + libJIT instead of LLVM

2009-04-03 Thread Diego Novillo
On Fri, Apr 3, 2009 at 10:54, Kirill Kononenko wrote: > What I want to identify is how both a VM engine(ILDJIT, > .NET for example, Mono, Portable.NET), gcc and libJIT could be > extended with minimal changes to both, for best user experience for > example, is it speed performance, benchmark, cod

Re: GCC + libJIT instead of LLVM

2009-04-03 Thread Kirill Kononenko
Hi Ian, Thank you a lot for your reply. > >> There have been mentioned a couple of ideas indeed. But I would not >> like to spend a lot of my precious time on telling my thoughts and >> suggestions, if the topic is already decided elsewhere. So I basically >> want asking question which exactly J

Re: generating functions and eh region

2009-04-03 Thread Dave Korn
Ian Lance Taylor wrote: > First, an exception can occur while executing an instruction which > accesses memory or does a division (admittedly only within a __try > block). The raise exception call, on the other hand, can only occur > during a function call. gcc's -fasynchronous-unwind-tables opt

Re: generating functions and eh region

2009-04-03 Thread Ian Lance Taylor
"Vincent R." writes: > Once again what I describe above is simplified because when seh is used, > there is a mechanism > called virtual unwiding that I didn't explained but that is the reason to > store the prologue length. It's worth noting that in gcc the "prologue length" is normally an unde

Re: GCC + libJIT instead of LLVM

2009-04-03 Thread Ian Lance Taylor
Kirill Kononenko writes: > There have been mentioned a couple of ideas indeed. But I would not > like to spend a lot of my precious time on telling my thoughts and > suggestions, if the topic is already decided elsewhere. So I basically > want asking question which exactly JITing support GCC need

(mcs | csc | cscc) & gcc & libJIT == LLVM ?

2009-04-03 Thread Kirill Kononenko
I have been asked by many private emails to more precisely specify what I mean in my proposal. The formula above in the topic, illustrates shortly my idea. I already have a lot of work to do on both coding, research, and documentation so please let me know as more precisely as possible your thought

Re: [Ada] runtime license wording change and Ada bootstrap, gcc/ada/scn.adb Determine_License

2009-04-03 Thread Nick Clifton
Hi Laurent, The license wording will soon be changed and Ada gcc/ada/scn.adb (function Determine_License) currently checks about licence. Any change to the wording breaks Ada bootstrap as Jakub found out. How should we proceed? I have already changed the patch under development so that the te

Re: generating functions and eh region

2009-04-03 Thread Ian Lance Taylor
Dave Korn writes: > Really, it's all pretty much the same as DW2, except that rather than > calling a raise exception function in libgcc, it begins with a real processor > exception that then ends up routing into the unwinder. From there it's all > fairly analagous. It sounds like it is diffe

Re: [Ada] runtime license wording change and Ada bootstrap, gcc/ada/scn.adb Determine_License

2009-04-03 Thread Arnaud Charlet
> The license wording will soon be changed and Ada gcc/ada/scn.adb > (function Determine_License) currently checks about licence. > Any change to the wording breaks Ada bootstrap as Jakub found out. > > How should we proceed? scn.adb needs to be updated to recognize the new text I assume. What wo

[Ada] runtime license wording change and Ada bootstrap, gcc/ada/scn.adb Determine_License

2009-04-03 Thread Laurent GUERBY
Hi The license wording will soon be changed and Ada gcc/ada/scn.adb (function Determine_License) currently checks about licence. Any change to the wording breaks Ada bootstrap as Jakub found out. How should we proceed? What will happen with existing installed compilers? Thanks in advance, Laure

[SOLVED] Re: stdint.h type information needed

2009-04-03 Thread Dave Korn
Dave Korn wrote: > FX wrote: >>> LOL, I forgot to attach mine didn't I? It's basically the same, I >>> copied >>> and pasted the newlib version and tweaked a couple of the definitions >>> so they >>> were identical to Cygwin's stdint.h. I suspect we're simply missing some >>> needed definition s

Re: GCC + libJIT instead of LLVM

2009-04-03 Thread Kirill Kononenko
There have been mentioned a couple of ideas indeed. But I would not like to spend a lot of my precious time on telling my thoughts and suggestions, if the topic is already decided elsewhere. So I basically want asking question which exactly JITing support GCC needs, that I don't spend my time in th

Re: GCC + libJIT instead of LLVM

2009-04-03 Thread Dave Korn
Kirill Kononenko wrote: > Do I understand it correctly that there are no useful thoughts or > ideas with-out- flaming and flooding about LLVM? I will admit that I don't have any ideas, but I thought there were a couple of positive suggestions in there. It's possible there's a bit of "library

Re: stdint.h type information needed

2009-04-03 Thread Dave Korn
FX wrote: >> LOL, I forgot to attach mine didn't I? It's basically the same, I >> copied >> and pasted the newlib version and tweaked a couple of the definitions >> so they >> were identical to Cygwin's stdint.h. I suspect we're simply missing some >> needed definition somewhere, so I won't send

Re: stdint.h type information needed

2009-04-03 Thread FX
LOL, I forgot to attach mine didn't I? It's basically the same, I copied and pasted the newlib version and tweaked a couple of the definitions so they were identical to Cygwin's stdint.h. I suspect we're simply missing some needed definition somewhere, so I won't send mine now you've sent

Re: GCC + libJIT instead of LLVM

2009-04-03 Thread Kirill Kononenko
Do I understand it correctly that there are no useful thoughts or ideas with-out- flaming and flooding about LLVM? Thanks, Kirill > > 2009/4/1 Kirill Kononenko : >> Please, let collect together all useful ideas and concrete thoughts? I >> am sure many people already have thought about which JIT

Re: generating functions and eh region

2009-04-03 Thread Dave Korn
Vincent R. wrote: >> Really, it's all pretty much the same as DW2, except that rather than >> calling a raise exception function in libgcc, it begins with a real >> processor exception that then ends up routing into the unwinder. From >> there it's all fairly analagous. I should have added th

Re: GCC + libJIT instead of LLVM

2009-04-03 Thread Kirill Kononenko
Hello Everyone Do I understand it correctly that there are no useful thoughts or ideas with flamimg and flooding about LLVM? Thanks, Kirill 2009/4/1 Kirill Kononenko : > Please, let collect together all useful ideas and concrete thoughts? I > am sure many people already have thought about whic

Re: stdint.h type information needed

2009-04-03 Thread Dave Korn
FX wrote: >>> for some reason identifier_global_value() on it returns NULL. >> ... and this is presumably because it should have /already/ been > declared somehow. > > I have exactly the same issue on darwin, it segfaults on: > >> char16_type_node = TREE_TYPE (identifier_global_value >> (char16

Life

2009-04-03 Thread Joseph Awinongya
Life, I had a chance to meet a lot of people. I interviewed First Lady Mrs.Obama, Paul Kaupas, Nancy Schultz Voots, Mayor Roger Claar (Bolingbrook), Mayor Joseph Broda (Lisle), Mayor Art Schultz (Joliet), Marilyn Miglin, Senator AJ Wilhelmi and more. I like to talk to Marilyn Miglin. She always

Re: [ANNOUNCE] Trunk freeze for alias-improvements branch Fri. Apr. 3rd 8am UTC

2009-04-03 Thread Richard Guenther
On Thu, 2 Apr 2009, Richard Guenther wrote: > > The trunk will be frozen for the merge of the alias-improvements branch > tomorrow, Friday, April 3rd starting 8am UTC. I will do a last merge > to the branch at that point, do a bootstrap & regtest cycle and > finally commit the merge to trunk. >

Re: generating functions and eh region

2009-04-03 Thread Vincent R.
On Fri, 03 Apr 2009 08:00:33 +0100, Dave Korn wrote: > Cary Coutant wrote: >>> With SEH you can catch that kind of errors and that's why it's so >>> interesting in embedded world >> >> That's also why SEH is a major pain for optimization. The compiler >> would have to identify every instruction t

Re: stdint.h type information needed

2009-04-03 Thread FX
>> for some reason identifier_global_value() on it returns NULL. > ... and this is presumably because it should have /already/ been declared somehow. I have exactly the same issue on darwin, it segfaults on: char16_type_node = TREE_TYPE (identifier_global_value (char16_type_node)); beca

Re: stdint.h type information needed

2009-04-03 Thread Dave Korn
Dave Korn wrote: > Dave Korn wrote: > >> First attempt (attached) didn't go so well. When building libgcc2, I get >> an ICE in the preprocessor, here: > >> As far as I can tell, CHAR16_TYPE is: >> >> (gdb) x/s 0x1fdb0f6 0x1fdb0f6 <__FUNCTION__.59453+167>: "unsigned >> short" (gdb) >> >> Is

Re: Call for testers: MPC-0.6 released

2009-04-03 Thread Andreas Krebbel
Hi, > I.e. we need (primaries) x86-freebsd, x86-darwin, sparc-solaris2.10 and > (secondaries) hppa-hpux11, ppc-aix5.2, ppc-darwin, x86-mingw32 and > s390-linux-gnu. I've tested with: gmp-4.2.2-7 (fedora core 9) mpfr-2.4.1 (vanilla) gcc 4.3.2 mpc-0.6 The mpc testsuite is clean on s390-linux-

Re: generating functions and eh region

2009-04-03 Thread Dave Korn
Cary Coutant wrote: >> With SEH you can catch that kind of errors and that's why it's so >> interesting in embedded world > > That's also why SEH is a major pain for optimization. The compiler > would have to identify every instruction that may trigger an > exception, Isn't that what the "__tr