Re: [Flex] Getting the absolute input file position

2005-07-15 Thread Henrik Sorensen
On Friday 15 July 2005 03.42, [EMAIL PROTECTED] wrote: > I need to figure out how I can augment the generated file to get > the absolute input file position within two rules: > start file position...end file position. In the pl1gcc project, I have implemented token offsets across multiple input fi

Re: Can't turn off overflow_warning?

2005-07-15 Thread Gabriel Dos Reis
Andrew Pinski <[EMAIL PROTECTED]> writes: | On Jul 15, 2005, at 10:27 PM, Bradley Lucier wrote: | | > After examining the source and documentation, it appears to me that | > in 4.0.* and on mainline one cannot turn off the warning generated | > by overflow_warning, in, for example, | | IIRC the

Re: scheduling insn on none

2005-07-15 Thread Ian Lance Taylor
"Tabony, Charles" <[EMAIL PROTECTED]> writes: > What does it mean by "unit none"? First I'll note that you shouldn't see this when using the DFA scheduler (define_insn_reservation, etc.). You should only see it when using the old pipeline description (define_function_unit, etc.). The old pipelin

Re: Can't turn off overflow_warning?

2005-07-15 Thread DJ Delorie
> If I were to propose a patch, which way should I go? Why not check out my recently posted -Wpragmas patch on gcc-patches? It takes a set of existing non-optional warnings, and gives them an option that can be used to disable them, which defaults to on (i.e. -Wno-pragmas is the useful option).

Re: Can't turn off overflow_warning?

2005-07-15 Thread Andrew Pinski
On Jul 15, 2005, at 10:27 PM, Bradley Lucier wrote: After examining the source and documentation, it appears to me that in 4.0.* and on mainline one cannot turn off the warning generated by overflow_warning, in, for example, IIRC the C standard requires that a warning here but I could be wro

Can't turn off overflow_warning?

2005-07-15 Thread Bradley Lucier
After examining the source and documentation, it appears to me that in 4.0.* and on mainline one cannot turn off the warning generated by overflow_warning, in, for example, [descartes:~] lucier% cat test.c #include int main() { if (1048256 * 1048256 < 0) printf("1"); else printf("

scheduling insn on none

2005-07-15 Thread Tabony, Charles
Hi, I am trying to add instruction scheduling to a machine description. I added everything I think I need and the .dfa looks right to me, but when I compile with -fsched-verbose=10 I get something that looks like this: ;; == ;; -- basic blo

Re: [Q] Class instance layout details

2005-07-15 Thread Andrew Pinski
On Jul 15, 2005, at 5:02 PM, Ian Lance Taylor wrote: Bharadwaj Yadavalli <[EMAIL PROTECTED]> writes: Newer versions of C++ more or less follow the Itanium C++ ABI: http://www.codesourcery.com/cxx-abi/abi.html That started somewhere in gcc 3.x, though I don't know exactly when. It starte

Re: [Q] Class instance layout details

2005-07-15 Thread Ian Lance Taylor
Bharadwaj Yadavalli <[EMAIL PROTECTED]> writes: > Can someone please point me to a place where I can get information > about how gcc (2.96 and later) lays out class instances? In other > words if I examine the contents of an object pointer, is there a > document that specifies how the contents of

Re: please update the gcj main page

2005-07-15 Thread Tom Tromey
> "Bryce" == Bryce McKinlay <[EMAIL PROTECTED]> writes: Bryce> The FAQ is badly in need of an update - in fact, it should be moved Bryce> over to the Wiki (http://gcc.gnu.org/wiki/GCJ) in order to be easier Bryce> to update and maintain. Great idea, I agree. We've had a lot of trouble with bi

gcc vs Darwin memcmp

2005-07-15 Thread Dale Johannesen
Darwin's memcmp has semantics that are an extension of the language standard: The memcmp() function returns zero if the two strings are identical, oth- erwise returns the difference between the first two differing bytes (treated as unsigned char values, so that `\200' is greater

[Q] Class instance layout details

2005-07-15 Thread Bharadwaj Yadavalli
Can someone please point me to a place where I can get information about how gcc (2.96 and later) lays out class instances? In other words if I examine the contents of an object pointer, is there a document that specifies how the contents of the memory with relation to the pointer correspond to the

Re: Some notes on the Wiki

2005-07-15 Thread Gerald Pfeifer
On Mon, 11 Jul 2005, Steven Bosscher wrote: > Unless we are going to require reviewing for wiki changes now, too, > there is no point in this entire discussion. I beg to disagree: first, we again raised the GFDL issue with RMS, we may have some new volunteers to help with web pages/documentation,

Re: please update the gcj main page

2005-07-15 Thread Andrew Pinski
On Jul 15, 2005, at 12:39 PM, John M. Gabriele wrote: The faq looks great. I'm paranoid though -- with wiki's, I always worry some random troll is going to pop in and make tiny incorrect changes just to mess with everyone. IMO, if you needed some special access privileges to make changes (bes

Re: please update the gcj main page

2005-07-15 Thread John M. Gabriele
--- Bryce McKinlay <[EMAIL PROTECTED]> wrote: > John M. Gabriele wrote: > > > >Yes. How do we go about it? :) > > > > > > The web pages can be found in the "wwwdocs" module in GCC cvs. Go here > for details: http://gcc.gnu.org/cvs.html > > Fixes and updates should be submitted to [EMAIL PR

Re: please update the gcj main page

2005-07-15 Thread John M. Gabriele
--- Bryce McKinlay <[EMAIL PROTECTED]> wrote: > Ranjit Mathew wrote: > > >As for your suggestion, I believe the correct place would > >be "2.8 What features of the Java language are/aren't supported?" > >in the FAQ: > > > > http://gcc.gnu.org/java/faq.html#2_8 > > > >in addition to the front-pag

Successful gcc4.0.1 build (Redhat 9. Kernel 2.4.25)

2005-07-15 Thread Jeff Clifford
make bootstrap successful build info: config.guess states: i686-pc-linux-gnu gcc -v states: Using built-in specs. Target: i686-pc-linux-gnu Configured with: /tmp/downloads/gcc-4.0.1/configure -prefix=/apps/Linux/gcc401 --program-suffix=401 Thread model: posix gcc version 4.0.1 /etc/issue sta

Re: please update the gcj main page

2005-07-15 Thread Bryce McKinlay
John M. Gabriele wrote: Ah. Some expansion of that faq item would be useful (re. 1.4 vs 1.5). Following the link to the JLS page, I see that they are still pointing users to what looks to me like the Java 1.4 spec (I browsed the online html version's index, and there's no mention of generics or

Re: please update the gcj main page

2005-07-15 Thread Bryce McKinlay
Ranjit Mathew wrote: As for your suggestion, I believe the correct place would be "2.8 What features of the Java language are/aren't supported?" in the FAQ: http://gcc.gnu.org/java/faq.html#2_8 in addition to the front-page (if so desired). The FAQ is badly in need of an update - in fact

Re: please update the gcj main page

2005-07-15 Thread John M. Gabriele
--- Ranjit Mathew <[EMAIL PROTECTED]> wrote: > John M. Gabriele wrote: > > Please update http://gcc.gnu.org/java/index.html and mention > > how much of the Java 1.5 spec that GCJ currently implements. > > > > When I refer folks to GCJ, the first thing they usually ask is, > > "does it support g

Re: Where does the C standard describe overflow of signed integers?

2005-07-15 Thread Paul Schlie
> From: Georg Bauhaus <[EMAIL PROTECTED]> >> Paul Schlie wrote: >>> From: Robert Dewar <[EMAIL PROTECTED]> Paul Schlie wrote: I don't contest that it may, I simply don't believe it should. >>> you can't seriously mean that with respect to uninitialized >>> variables. this would mean you c

Re: The origin of scalar evolutions?

2005-07-15 Thread Robert van Engelen
Hi Sebastian, Thank you for your quick reply. I have a few more comments though, and I hope you can take a look at these. 1. After reading the paper, we concluded that the scalar evolutions are actually a restricted polynomial form of chains of recurrences by Bachmann and Zima [6,8]. Is thi

Re: [toplevel] Update COPYING.LIB from FSF

2005-07-15 Thread Daniel Jacobowitz
On Thu, Jul 14, 2005 at 07:44:35PM -0400, DJ Delorie wrote: > > > As I understand it, the only difference in the bumped version number > > is the address. Can anyone confirm this? > > A simple diff shows other changes, including the all-new shared > library clause and the change of "Library" to

RE: Where does the C standard describe overflow of signed integers?

2005-07-15 Thread Dave Korn
Original Message >From: Georg Bauhaus >Sent: 15 July 2005 14:21 > You can have both, correctness and uninitialised local > variables. For an impression of the difference in performance, > and for a way to ensure correctness, I tried this > (switch register/volatile in the declaration lines

Re: Where does the C standard describe overflow of signed integers?

2005-07-15 Thread Georg Bauhaus
Georg Bauhaus wrote: (There are at least two bugs in this :-/ but corrections won't change the picture. Neither will initialisation.) #define BUFFER_SIZE 1000 // must be > 0 #define ITERATIONS 10 // must be > 0 assert(hi > 0); for (size_t c=0; c < hi + 2; ++c) { if (a[c]) {

Re: Where does the C standard describe overflow of signed integers?

2005-07-15 Thread Georg Bauhaus
Paul Schlie wrote: From: Robert Dewar <[EMAIL PROTECTED]> Paul Schlie wrote: I don't contest that it may, I simply don't believe it should. you can't seriously mean that with respect to uninitialized variables. this would mean you could not put local variables in registers. the effect on c

Re: How to make an application look somewhere other than /lib for ld-linux.so.2

2005-07-15 Thread Kai Ruottu
Kai Ruottu kirjoitti: Mark Cuss kirjoitti: So - the question is: How do I do this? Even though LD_LIBRARY_PATH points to ./ as it's first entry, ldd still looks in /lib first for ld-linux.so.2. I've tried the rpath option to ld at link time, but that doesn't work either. It seems that thing

Re: How to make an application look somewhere other than /lib for ld-linux.so.2

2005-07-15 Thread Kai Ruottu
Mark Cuss kirjoitti: Hello all I apologize if this is off topic for this list - I wasn't sure exactly where to ask but I thought this would be a good place to start: Something for newbies like gcc-help? I'm trying to get myself a group of libraries that I can distribute with my program so

Merged CVS repository of gcc and old-gcc

2005-07-15 Thread Ian Lance Taylor
In preparation for the future transition to subversion, I've written some code to merge the old-gcc repository into current mainline. I would like to see this merged repository used as the basis for the conversion to subversion. The advantage is that it provides revision history back to 1992, whe

Get $266/mo extra

2005-07-15 Thread Erick Windom
1a http://dd5dbek.convolve.esouroe.us/?1qT go.gif Description: GIF image

Re: please update the gcj main page

2005-07-15 Thread Ranjit Mathew
John M. Gabriele wrote: > Please update http://gcc.gnu.org/java/index.html and mention > how much of the Java 1.5 spec that GCJ currently implements. > > When I refer folks to GCJ, the first thing they usually ask is, > "does it support generics?" "autoboxing?" and so on. That info > should be rig

Re: Where does the C standard describe overflow of signed integers?

2005-07-15 Thread Avi Kivity
Paul Schlie wrote: In that case you may want to stick with -O0. There are *lots* of things GCC does that alter undefined cases. How about the undefined behavior when aliasing rules are violated? Would you want to make -fno-strict-aliasing be the only supported setting? - Isn't the purp