Cannot unwind through MIPS signal frames with ICACHE_REFILLS_WORKAROUND_WAR

2007-11-12 Thread David Daney
With the current kernel (2.6.23.1) in my R5000 based O2 it seems impossible for GCC's exception unwinding machinery to unwind through signal frames. The cause of the problems is the ICACHE_REFILLS_WORKAROUND_WAR which puts the sigcontext at an almost impossible to determine offset from the sig

Re: Designs for better debug info in GCC

2007-11-12 Thread Mark Mitchell
Alexandre Oliva wrote: >> What I don't understand is how it's actually going to work. What >> are the notes you're inserting? > > They're always of the form > > DEBUG user-variable = expression Good, I understand that now. Why is this better than associating user variables with assignments?

Hurennetzwerk News

2007-11-12 Thread Harald webmaster
Neue Einträge in: http://www.hurennetzwerk.de/frankfurt-kontakte.php http://www.hurennetzwerk.de/hamburg-kontakte.php http://www.hurennetzwerk.de/oldenburg-kontakte.php http://www.hurennetzwerk.de/herne-kontakte.php http://www.geiles-nrw.de/ http://www.hurennetzwerk.de/erkrath-kontakte.php http://w

Re: Using crlibm as the default math library in GCC sources

2007-11-12 Thread Geert Bosch
On Nov 12, 2007, at 12:37, Michael Matz wrote: At the time we discussed and evaluated a bundled libm I've looked at several ones. I rules out crlibm relatively quickly for these reasons: * only double is implemented, hence long double and float are missing at least, at least the long do

gcc-4.1-20071112 is now available

2007-11-12 Thread gccadmin
Snapshot gcc-4.1-20071112 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-20071112/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.1 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: Designs for better debug info in GCC

2007-11-12 Thread Steven Bosscher
xf. http://gcc.gnu.org/ml/gcc/2007-11/msg00293.html Mark Mitchell wrote: > The reason I want to make that assumption is that the part of this where > the representation is in question is once we reach RTL, right? The representation in GIMPLE should also be discussed IMVHO. For GIMPLE Alex has inve

Re: Declaring artificial fields

2007-11-12 Thread Ian Lance Taylor
Gabriele SVELTO <[EMAIL PROTECTED]> writes: > Since CLI doesn't support bit-fields I am trying to turn COMPONENT_REF > statements working on bit-fields into statements working on artificial > fields overlapping the bit-fields plus the necessary shift & mask > operations so as to simplify CLI emiss

Re: help for visual basic if you connot then sent me other helper's

2007-11-12 Thread Ian Lance Taylor
[EMAIL PROTECTED] writes: > Hey I am Pakistani. I don?t know why I have interest in the > database programming. I mad a database of a library during the coding > I have created some problems just like as > 1 Searching > 2 Delete > Kindly helps me. I For further I want to informatio

Re: How to instrument at source code level?

2007-11-12 Thread Ian Lance Taylor
"胡鹏飞" <[EMAIL PROTECTED]> writes: > First, I'm a real beginner at gcc, so I hope my question is not so foolish. > I have used bounds checking patch and find it pretty good though it > can't deal with dangle pointer. The problem is my company doesn't use > GCC in it's every product. > It seems boun

Re: Designs for better debug info in GCC

2007-11-12 Thread Ian Lance Taylor
Alexandre Oliva <[EMAIL PROTECTED]> writes: > > Why does it make sense to have that, rather than notes on > > instructions that say what affect the instruction has on user > > variables? > > Few instructions need such notes, so the proposal of growing SET by > 33% doesn't quite appeal to me. We

Re: Designs for better debug info in GCC

2007-11-12 Thread Joe Buck
On Mon, Nov 12, 2007 at 03:52:01PM -0200, Alexandre Oliva wrote: > On Nov 12, 2007, Mark Mitchell <[EMAIL PROTECTED]> wrote: > > > (We may already have lost some information, though. For example, given: > > > i = 3; > > f(i); > > i = 7; > > i = 2; > > g(i); > > > we may well have lost

Re: Designs for better debug info in GCC

2007-11-12 Thread Alexandre Oliva
On Nov 12, 2007, Mark Mitchell <[EMAIL PROTECTED]> wrote: > (We may already have lost some information, though. For example, given: > i = 3; > f(i); > i = 7; > i = 2; > g(i); > we may well have lost the "i = 7" assignment, so "i" might appear to > have the value "3" right before we as

Re: Designs for better debug info in GCC

2007-11-12 Thread Alexandre Oliva
On Nov 9, 2007, Michael Matz <[EMAIL PROTECTED]> wrote: > static inline int foo(int i) > { > return i-1; > } > int foobar(int j) > { > return foo(j+2); > } > int main(int argc, char **argv) > { > return foobar(argc); > } > > And similar examples. Dep

Re: Using crlibm as the default math library in GCC sources

2007-11-12 Thread Michael Matz
Hi, On Tue, 6 Nov 2007, Uros Bizjak wrote: > Forwarded is a short discussion with Mr. de Dinechin (forwarded with > permission), where the possibility to import crlibm as the default gcc > math library is discussed. I would like to ask members of the GCC SC for > the opinion on the idea of ado

Re: Designs for better debug info in GCC

2007-11-12 Thread Mark Mitchell
Alexandre Oliva wrote: > On Nov 12, 2007, Mark Mitchell <[EMAIL PROTECTED]> wrote: > >> Clearly, for some users, incorrect debugging information on optimized >> code is not a terribly big deal. It's certainly less important to many >> users than that the program get the right answer. On the othe

Re: Designs for better debug info in GCC

2007-11-12 Thread Alexandre Oliva
On Nov 12, 2007, Mark Mitchell <[EMAIL PROTECTED]> wrote: > Clearly, for some users, incorrect debugging information on optimized > code is not a terribly big deal. It's certainly less important to many > users than that the program get the right answer. On the other hand, > there are no doubt u

Re: undocumented optimization options

2007-11-12 Thread Mark Mitchell
Richard Guenther wrote: > For options that are not enabled by default at any -O level the documentation > should be a help for the user to decide whether to enable or not enable it. > So, yes, if there are non-standard terms used or if there are not obvious > side-effects (like performing function

Re: Designs for better debug info in GCC

2007-11-12 Thread Alexandre Oliva
On Nov 8, 2007, Robert Dewar <[EMAIL PROTECTED]> wrote: > Alexandre Oliva wrote: >>> 1. I don't think we should care much about the ability to >>> *SET* values of variables in optimized code. >> >> Indeed. We should care about correctness of debug information, and >> then this ability will com

Declaring artificial fields

2007-11-12 Thread Gabriele SVELTO
Hello everybody, I started working on the GCC CLI back end just a few weeks ago and I'm having some trouble declaring new fields and adding them to an already existing structure. I'm still fairly unfamiliar with gcc's code so please bear with me :) Since CLI doesn't support bit-fields I am tr

help for visual basic if you connot then sent me other helper's

2007-11-12 Thread hgaansari
Hello Mr. /Ms. Hey I am Pakistani. I don?t know why I have interest in the database programming. I mad a database of a library during the coding I have created some problems just like as 1 Searching 2 Delete Kindly helps me. I For further I want to information about visual basi

RE: [PATCH][varmap] New var-mappings-branch created

2007-11-12 Thread Dave Korn
On 12 November 2007 15:24, Richard Guenther wrote: > + tage [varmap] in the subject line. ^ Fixed as obvious typo. Index: htdocs/svn.html === RCS file: /cvs/gcc/wwwdocs/htdocs/svn.html,v retrieving revision 1.68 diff -p

[PATCH][varmap] New var-mappings-branch created

2007-11-12 Thread Richard Guenther
I created a new branch for the debugging improvements based on tracking multiple variables per computed value approach. The branch is maintained by me and Michael Matz. I'll do initial patch postings and checkins in the following days, please mark patches with [varmap]. Thanks, Richard. Index

Re: Using crlibm as the default math library in GCC sources

2007-11-12 Thread François-Xavier Coudert
Hi Uros, It sounds like a great idea! I'm forwarding this to the Fortran list, because I think it might raise quite some interest there also : http://gcc.gnu.org/ml/gcc/2007-11/msg00164.html FX

Re: undocumented optimization options

2007-11-12 Thread Richard Guenther
On Nov 12, 2007 3:27 PM, Razya Ladelsky <[EMAIL PROTECTED]> wrote: > "Richard Guenther" <[EMAIL PROTECTED]> wrote on 12/11/2007 > 12:28:05: > > > > On Nov 12, 2007 10:06 AM, Razya Ladelsky <[EMAIL PROTECTED]> wrote: > > > Kenneth Zadeck <[EMAIL PROTECTED]> wrote on 07/11/2007 > 19:49:29: > > > > >

Re: undocumented optimization options

2007-11-12 Thread Razya Ladelsky
"Richard Guenther" <[EMAIL PROTECTED]> wrote on 12/11/2007 12:28:05: > On Nov 12, 2007 10:06 AM, Razya Ladelsky <[EMAIL PROTECTED]> wrote: > > Kenneth Zadeck <[EMAIL PROTECTED]> wrote on 07/11/2007 19:49:29: > > > > > Razya Ladelsky wrote: > > > > Mark Mitchell <[EMAIL PROTECTED]> wrote on 05/11

Re: Newbie

2007-11-12 Thread Matthieu Kaczmarek
Thanks a lot for the hints, those are clear leads to start with. Matthieu

How to instrument at source code level?

2007-11-12 Thread 胡鹏飞
Hello everyone, First, I'm a real beginner at gcc, so I hope my question is not so foolish. I have used bounds checking patch and find it pretty good though it can't deal with dangle pointer. The problem is my company doesn't use GCC in it's every product. It seems bounds checking mainly instrument

Re: Newbie

2007-11-12 Thread Eric Botcazou
> If it is possible, I would like to begin with a small project to get > familiar with GCC code. I have been through the "Simple GCC projects" > web page and I would be interested in project such as "Convert > reorg.c to use the flow graph". You could also pick an open PR in Bugzilla (http://gcc.g

Removing #include "*.c"

2007-11-12 Thread Rob Quill
Hi, I have decided to try and remove occurrences of #include "*.c" as suggested here: http://gcc.gnu.org/projects/beginner.html However, it remarks that: "There may be places where someone is trying to simulate generic programming through the macro facility. Discuss what should be done with the

Re: structuring a front-end subdirectory

2007-11-12 Thread Olivier Hainque
Hello Joseph, Joseph S. Myers wrote: > If moving files, I'd encourage moving the sources built from the libada/ > and gnattools/ toplevel directories to be physically located in those > directories (or subdirectories of them) as far as possible, as one step in > the rearrangement. > I don't ho

Re: Reload using a live register to reload into

2007-11-12 Thread Pranav Bhandarkar
Hi, > > DF is supposed to be out of the game at this point, it has handed over the > control since global.c:build_insn_chain as far as liveness info is concerned. Oh I used DF and it worked for me. But I think that is because this is the first new instruction to be inserted and nothing really must

Re: undocumented optimization options

2007-11-12 Thread Richard Guenther
On Nov 12, 2007 10:06 AM, Razya Ladelsky <[EMAIL PROTECTED]> wrote: > Kenneth Zadeck <[EMAIL PROTECTED]> wrote on 07/11/2007 19:49:29: > > > Razya Ladelsky wrote: > > > Mark Mitchell <[EMAIL PROTECTED]> wrote on 05/11/2007 01:51:33: > > > > > > > > >> Gerald Pfeifer wrote: > > >> > > >>> On Thu, 1

Re: undocumented optimization options

2007-11-12 Thread Razya Ladelsky
Kenneth Zadeck <[EMAIL PROTECTED]> wrote on 07/11/2007 19:49:29: > Razya Ladelsky wrote: > > Mark Mitchell <[EMAIL PROTECTED]> wrote on 05/11/2007 01:51:33: > > > > > >> Gerald Pfeifer wrote: > >> > >>> On Thu, 1 Nov 2007, Janis Johnson wrote: > >>> > -fipa-cp steven >

[RFC][modulo-sched] Fix scheduling order within a cycle

2007-11-12 Thread Revital1 Eres
Hello, While testing a patch related to SMS I encountered a problem which this patch tries to fix. The problematic case involves write after read to the same memory location (see attached file sms-4.c). In this case we have one anti-dep edge with distance 0 from node r (containing the read opera