Re: stabs support in binutils, gcc, and gdb

2013-01-03 Thread Tom Tromey
> "David" == David Taylor writes: David> It appears that STABS is largely in maintenance mode. Are there any David> plans to deprecate STABS support? If STABS enhancements were made and David> posted would they be frowned upon? Or would they be reviewed for David> possible inclusion in a f

Re: DECL_FIELD_CONTEXT woes

2008-01-10 Thread Tom Tromey
> "Gabriele" == Gabriele SVELTO <[EMAIL PROTECTED]> writes: Gabriele> Good to know, TYPE_MAIN_VARIANT () is exactly what I was Gabriele> looking for, unfortunately it's description in tree.def Gabriele> isn't exactly crystal clear :P Thank you very much This would be a great opportunity to im

Re: Memory leaks in compiler

2008-01-16 Thread Tom Tromey
> "Kaveh" == Kaveh R GHAZI <[EMAIL PROTECTED]> writes: Kaveh> + mpfr_free_cache (); Why not just add a valgrind suppression for this? There's little point in freeing things just before exit. Tom

Re: Memory leaks in compiler

2008-01-16 Thread Tom Tromey
> "Kaveh" == Kaveh R Ghazi <[EMAIL PROTECTED]> writes: Kaveh> A valgrind suppression only silences the error for valgrind. What if Kaveh> someone uses another memory checking tool? Better to fix it for real Kaveh> IMHO. Add suppressions for all of them. Any decent memory checker has to acc

Re: Memory leaks in compiler

2008-01-17 Thread Tom Tromey
> "Dave" == Dave Korn <[EMAIL PROTECTED]> writes: Dave> So, no gcc without an MMU and virtual memory platform ever Dave> again? Shame, it used to run on Amigas. If you are serious about doing a port like this, then I will recant and support not only this patch, but all the other ones you wil

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 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: How to Properly Set a Tree Member Variable

2008-01-27 Thread Tom Tromey
> "Andreas" == Andreas Schwab <[EMAIL PROTECTED]> writes: >> "Tom Browder" <[EMAIL PROTECTED]> writes: >> /* the following two lines give a gcc error: lvalue required as left >> operand of assignment */ >> DECL_SOURCE_FILE (parm_decl) = local_input_filename; >> DECL_SOURCE_LINE (parm_decl) = l

Re: GCC frontend

2008-02-07 Thread Tom Tromey
> "Doug84" == Doug84 <[EMAIL PROTECTED]> writes: Doug84> What I wish to do is create my own front end outside of GCC Doug84> and then send the partly-processed code through the back end Doug84> (i.e. an intermediate to assembly code transformation would be Doug84> done by GCC - the High langu

Re: procedure to make MELT branch on GCC SVN?

2008-02-17 Thread Tom Tromey
> "Basile" == Basile STARYNKEVITCH <[EMAIL PROTECTED]> writes: Basile> Can I just start my branch with Basile> svn cp svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk \ Basile> svn+ssh://[EMAIL PROTECTED]/svn/gcc/melt-branch Basile> and then do the usual svn stuff (addition, etc...) Basile> or is t

Re: Turning cc1plus into a shared library

2008-02-18 Thread Tom Tromey
> "Argiris" == Argiris Kirtzidis <[EMAIL PROTECTED]> writes: Argiris> I'm interested in turning cc1plus into a shared library with Argiris> an API on top so that it's possible to: Argiris> The API should be easy to use not only from C but from other Argiris> languages that can use C libraries

Re: Dynamic macro expansion through a pipe?

2008-02-20 Thread Tom Tromey
> "Philipp" == Philipp Marek <[EMAIL PROTECTED]> writes: Philipp> I'm looking for a nice solution. I think this note is off-topic for the gcc list. gcc-help may be more appropriate. Philipp> - I could try #define C(x) uncompress(buffer##__LINE__) and Philipp> write some script that looks fo

Re: call site information

2008-02-21 Thread Tom Tromey
> "Dasarath" == Dasarath Weeratunge <[EMAIL PROTECTED]> writes: Dasarath> If I have a CALL_EXPR how can I find out information about the call Dasarath> site? For example, the filename and line number. See EXPR_HAS_LOCATION, EXPR_LOCUS, etc. In general I recommend reading tree.def and skimming

Re: GTY as attributes

2008-02-25 Thread Tom Tromey
> "Taras" == Taras Glek <[EMAIL PROTECTED]> writes: Taras> typedef struct Name GTY(()) { Taras> }; Taras> These would parse fine as attributes if they were more like Taras> typedef struct GTY(()) Name { Taras> }; Taras> Would you be willing to accept such a change? I couldn't approve or reje

Re: plugin includes for MELT

2008-02-28 Thread Tom Tromey
> "Ralf" == Ralf Wildenhues <[EMAIL PROTECTED]> writes: [snip] Ralf> Wasn't there a proposal to use depcomp in gcc a while ago? Yes. I'm planning to submit the automatic dependencies patch for real in a week or two. I'm working through my backlog of 4.4 patches and that is the last one. To

Re: [PATCH][4.3] Deprecate -ftrapv

2008-02-29 Thread Tom Tromey
> "Mark" == Mark Mitchell <[EMAIL PROTECTED]> writes: Mark> Do we need functionality like this for Ada or Java? It is not needed for Java. Tom

Re: GCC 4.4 schedule

2008-03-06 Thread Tom Tromey
> "Richard" == Richard Guenther <[EMAIL PROTECTED]> writes: Richard> I am aware of the following merge candidates: the LTO branch, the Richard> incremental compiler branch, the selective scheduling branch, the Richard> YARA branch and of course the tuples branch. FWIW I'm not sure if the incr

Re: [RFC] GCC caret diagnostics

2008-03-07 Thread Tom Tromey
> "Manuel" == Manuel López-Ibáñez <[EMAIL PROTECTED]> writes: Manuel> Here is a patch that give us caret diagnostics in C/C++. Nice. Manuel> The third approach would be to store an offset and when Manuel> generating diagnostics, reopen the file, fseek to the offset Manuel> and print that lin

Re: [RFC] GCC caret diagnostics

2008-03-08 Thread Tom Tromey
Ian> For a middle-end error like Ian> "assuming signed overflow does not occur when simplifying Ian> multiplication" a caret pointer might be more misleading than Ian> otherwise, as one thing we know for sure is that it would not point at Ian> a multiplication operator. Chris> An important class o

Re: [RFC] GCC caret diagnostics

2008-03-08 Thread Tom Tromey
> "Andi" == Andi Kleen <[EMAIL PROTECTED]> writes: Andi> [also sometimes I would love to have an option in gcc to just Andi> display the preprocessed input when something bad happens inside Andi> a macro. I usually do that from hand using gcc -E, but it would be cool Andi> if the compiler coul

Re: [RFC] GCC caret diagnostics

2008-03-13 Thread Tom Tromey
> "Manuel" == Manuel López-Ibáñez <[EMAIL PROTECTED]> writes: >> I tend to favor this, provided that the performance is not too awful. >> But maybe this is painful due to iconv translation? Manuel> How should a file be properly opened within GCC? I find the Manuel> code in libcpp/files.c pret

Re: [RFC] GCC caret diagnostics

2008-03-13 Thread Tom Tromey
> "Ian" == Ian Lance Taylor <[EMAIL PROTECTED]> writes: >> Why? Isn't the operator available at that point? Ian> The location information, if present, is technically available, but it Ian> would require some surgery to actually get it. I think the high-level decision to be made here is wheth

Re: parallel bootstrap failure: options.h

2008-03-26 Thread Tom Tromey
> "Janis" == Janis Johnson <[EMAIL PROTECTED]> writes: Janis> Parallel bootstrap on powerpc64-linux currently fails with: Janis> In file included Janis> from /home/janis/gcc_trunk_anonsvn/gcc/gcc/genconditions.c:32: Janis> ./tm.h:7:22: error: options.h: No such file or directory Another one o

Re: GSoC ideas

2008-03-30 Thread Tom Tromey
> "Robert" == Robert Millan <[EMAIL PROTECTED]> writes: Robert> I know it's a bit late, but I just thought that it'd be really Robert> nice if GCC had a C# frontend. FWIW there is an incomplete CIL front end on a branch. See: http://gcc.gnu.org/projects/cli.html Based on experience wit

Re: GSOC Student application

2008-03-31 Thread Tom Tromey
> "Joe" == Joe Buck <[EMAIL PROTECTED]> writes: Joe> It's best to ignore J.C. Pizarro. He's an attention-seeking troll, Joe> who has just enough technical knowledge to derail conversation. I think that if we've reached the point where an SC member feels the need to post disclaimers about som

Re: GSOC Student application

2008-04-01 Thread Tom Tromey
> "Dave" == Dave Korn <[EMAIL PROTECTED]> writes: Dave> "Attention-seeking troll", "bad" and "abusive", all seem a bit Dave> of a harsh way to describe a hapless victim of mental illness to Dave> me. In my message, I purposely described his behavior, not him. I don't know him, I wouldn't p

Re: gfortran+libcpp: linking objects from c-compiler

2008-04-15 Thread Tom Tromey
> "Daniel" == Daniel Franke <[EMAIL PROTECTED]> writes: Daniel> Is it acceptable to simply link in the C-frontend object to Daniel> gfortran (as C is a required language and the .o file will be Daniel> available)? Do I need to do something else in addition or Daniel> instead, like renaming or

Re: Some questions about writing a front end

2008-04-17 Thread Tom Tromey
> "Tim" == Tim Josling <[EMAIL PROTECTED]> writes: Tim> 1. Sample front-end: Given treelang no longer exists and "is not a good Tim> example anyway" what would be the best front end to use as a model and Tim> to plagiarize code? Tim> What I don't know is how up-to-date the various front ends

Re: GDC

2008-05-21 Thread Tom Tromey
> "Rohan" == Rohan <[EMAIL PROTECTED]> writes: Rohan> Is there any plan to merge GDC with GCC? Rohan> I know that GDC package available separately, but I think it would be Rohan> much better to get in at one box. Now for adding support D language Rohan> needed to rebuild all GCC with GDC. Yo

apparent memory increase

2008-05-21 Thread Tom Tromey
You may have seen this warning from the memory consumption tester: http://gcc.gnu.org/ml/gcc-regression/2008-05/msg00041.html ... related to the recent identifier GC patch. I looked into this a little. My theory is that this is an artifact of how the tester collects its data. In particular I s

Re: apparent memory increase

2008-05-22 Thread Tom Tromey
> "Richard" == Richard Guenther <[EMAIL PROTECTED]> writes: Richard> For big testcases I actually see a consistend reduction in Richard> peak overall memory usage (the number if you would look at Richard> 'top'). For small testcases I can see both ups and downs, Richard> probably because of c

Re: [MELT] branch Melt- bootstrapped & questions...

2008-06-04 Thread Tom Tromey
> "Basile" == Basile STARYNKEVITCH <[EMAIL PROTECTED]> writes: Basile> 1. Should I avoid committing warm-basilys-0.c frequently to Basile> lower the Subversion server disk consumption? I don't know the answer to this one. Basile> 2. I cannot figure out if tbhe GCC bugzilla can be used for wo

Re: Help requested on C++ template syntax (for Emacs development).

2008-06-11 Thread Tom Tromey
> "Alan" == Alan Mackenzie <[EMAIL PROTECTED]> writes: Alan> So, the question: is it possible to identify with 100% certainty, PURELY Alan> SYNTACTICALLY (i.e. without access to the compiler's symbol table), Alan> when "< ... >" is a pair of template (C++) or generic (Java) brackets? In Java,

Re: Thread safety annotations and analysis in GCC

2008-06-15 Thread Tom Tromey
> "Le-Chun" == Le-Chun Wu <[EMAIL PROTECTED]> writes: Le-Chun> Here is the design doc for the proposed annotations: Le-Chun> http://docs.google.com/Doc?id=ddqtfwhb_0c49t6zgr I am curious to know how this compares to the kind of lock checking implemented in sparse, and in particular whether sp

Re: Should we remove java from the default bootstrap languages?

2008-06-19 Thread Tom Tromey
> "Andrew" == Andrew Haley <[EMAIL PROTECTED]> writes: Diego> I posted this question to the SC panel at the GCC Summit today. I Diego> wanted to consider the possibility of making java a non-default language. Andrew> If this were to happen it would break repeatedly. Yeah, our experience bac

Re: Should we remove java from the default bootstrap languages?

2008-06-19 Thread Tom Tromey
> "Ian" == Ian Lance Taylor <[EMAIL PROTECTED]> writes: Ian> Is it possible to only build and test a subset of libjava by default, Ian> and still get useful coverage of Java? The issue I see is simply that Ian> building libjava is half of the time required for a bootstrap. We could look into

Re: Should we remove java from the default bootstrap languages?

2008-06-19 Thread Tom Tromey
Andrew> My suggestion is that we build jc1 but not libgcj by default. Andrew> HOWEVER, we build libgcj on the autobuilders and make very sure that Andrew> if anyone breaks the libgcj build they have to fix their breakage, Andrew> even tho it's not part of the default build. That will prevent most

Re: Should we remove java from the default bootstrap languages?

2008-06-19 Thread Tom Tromey
> "Florian" == Florian Weimer <[EMAIL PROTECTED]> writes: >> We could look into this. The minimum subset is probably several >> hundred classes. For instance, Class refers to URL, which will >> probably pull in most of java.net. Florian> Can't you fallback to the interpreter for the URL cla

Re: Should we remove java from the default bootstrap languages?

2008-06-22 Thread Tom Tromey
> "Ralf" == Ralf Wildenhues <[EMAIL PROTECTED]> writes: Ralf> Has anybody ever looked at using threading capabilities of tcl directly? At least Fedora compiles the system Tcl without threading enabled. This has been attempted a few times over the years but apparently always reverted due to bu

Re: Should we remove java from the default bootstrap languages?

2008-06-22 Thread Tom Tromey
> "Richard" == Richard Kenner <[EMAIL PROTECTED]> writes: >> IME, bugs found during libjava have been also triggered during >> libstdc++ and/or C. Though several folks at the summit mentioned that >> they had found bugs triggered only by libjava. Richard> To me, as I said, this is the key is

Re: gcc-in-cxx branch created

2008-06-23 Thread Tom Tromey
> "Ian" == Ian Lance Taylor <[EMAIL PROTECTED]> writes: Ian> The other major TODO is to work out the details of using STL Ian> containers with GC allocated objects. This means teaching gengtype Ian> how to generate code to traverse STL containers, which would then be Ian> used during GC. Thi

Re: gcc-in-cxx branch created

2008-06-24 Thread Tom Tromey
> "Kaveh" == Kaveh R GHAZI <[EMAIL PROTECTED]> writes: Kaveh> We could also extend -Wc++-compat to warn about more things, using C++ Kaveh> reserved keywords like "class" in C comes to mind. This isn't super hard, and IMO is worth doing (right now -Wc++-compat seems almost silly in its limita

Re: gcc-in-cxx: Garbage Collecting STL Containers

2008-06-25 Thread Tom Tromey
> "Chris" == Chris Jefferson <[EMAIL PROTECTED]> writes: Chris> Could someone point me towards what is necessary to add STL Chris> containers to the garbage collector? I think most of the needed changes will be in gengtype. If you aren't familiar with what this does, read gcc/doc/gty.texi.

Re: gcc-in-cxx: Garbage Collecting STL Containers

2008-06-25 Thread Tom Tromey
>>>>> "Daniel" == Daniel Jacobowitz <[EMAIL PROTECTED]> writes: >> On Wed, Jun 25, 2008 at 08:35:41AM -0600, Tom Tromey wrote: >> I think most of the needed changes will be in gengtype. If you aren't >> familiar with what this does, read gcc/

Re: gcc-in-cxx: Garbage Collecting STL Containers

2008-06-25 Thread Tom Tromey
> "Dan" == Daniel Berlin <[EMAIL PROTECTED]> writes: Dan> Maybe at some point then we should just stop using gengtype and just Dan> hand-write the walkers once. Yeah, we could do that for the containers. GTY markers serve three purposes though: they explain the meanings of fields (this part

Re: gcj/sparc64?

2008-07-24 Thread Tom Tromey
> "Jay" == Jay <[EMAIL PROTECTED]> writes: Jay> This is an incomplete bug report. Jay> unified gcc 4.3.1/binutils 2.18/gmp/mpfr tree: Jay> -bash-3.00$ gcc -v Jay> Using built-in specs. Jay> Target: sparc-sun-solaris2.10 [...] Jay> /.libs/HTML_401F.o Jay> gcj: Internal err

Re: Exception handling tables for function generated on the fly

2008-08-12 Thread Tom Tromey
> "Tom" == Tom Quarendon <[EMAIL PROTECTED]> writes: Tom> I imagine that GCJ has do to this ind of thing? FWIW, libgcj does not include a JIT compiler. So, no solution there, sorry. Tom

Re: broken FE diagnostics wrt complex expressions

2008-08-13 Thread Tom Tromey
> "Aldy" == Aldy Hernandez <[EMAIL PROTECTED]> writes: Aldy> The error here is currently: Aldy> #'goto_expr' not supported by pp_c_expression#'bug.c: In function 'foo': Aldy> bug.c:4: error: called object is not a function Aldy> But, is this slew of work even worth it? I for one think t

Re: broken FE diagnostics wrt complex expressions

2008-08-13 Thread Tom Tromey
>>>>> "Tom" == Tom Tromey <[EMAIL PROTECTED]> writes: Tom> As far as I know nobody is actively working on any of this, though Tom> Mañuel and I talk about it sporadically. Crap, I misspelled his name while trying extra to get it right. Sorry about that. Tom

Re: broken FE diagnostics wrt complex expressions

2008-08-13 Thread Tom Tromey
Tom> I suspect that there's some work fixing optimization passes. I have Tom> not looked but I would not be surprised if some of them pick locations Tom> poorly when rearranging things. Aldy> But this has nothing to do with error messages. I mean, not initially. Yeah, it is somewhat indirect.

Re: [PATCH] caret diagnostics

2008-08-14 Thread Tom Tromey
> "Joseph" == Joseph S Myers <[EMAIL PROTECTED]> writes: Joseph> (b) to print GCS-compliant ranges in text that IDEs can parse Joseph> to highlight the relevant text in their editors Joseph> Caret diagnostics are only one of the styles in which the Joseph> accurate location information can be

Re: [PATCH] caret diagnostics

2008-08-14 Thread Tom Tromey
> "Ralf" == Ralf Wildenhues <[EMAIL PROTECTED]> writes: Ralf> If the GCS-style is not powerful enough to meet GCC's needs, then please Ralf> let's not only improve GCC, but the GCS document also, so that other Ralf> programs improve compatibly. Yeah, good idea. FWIW -- the gcc-output-parsing

Re: Better GCC diagnostics

2008-08-20 Thread Tom Tromey
> "Manuel" == Manuel López-Ibáñez <[EMAIL PROTECTED]> writes: Manuel> If I ever get the time, I would like to abstract our line-map Manuel> implementation within a "location_manager" object and API but Manuel> I don't think this conflicts directly with your work. I am curious to know how this

Re: front-end: compilation fails - how to fix 'use poisoned USE_MAPPED_LOCATION'

2008-09-07 Thread Tom Tromey
> "Laurent" == Lemaitre Laurent-R29173 <[EMAIL PROTECTED]> writes: Laurent> Is-there a good (wiki) place where I can get some info on how Laurent> to fix my issue with USE_MAPPED_LOCATION? USE_MAPPED_LOCATION was removed. Only mapped locations remain. So, you can fix your issue by removing t

Re: improving testsuite runtime

2008-09-18 Thread Tom Tromey
> "Ben" == Ben Elliston <[EMAIL PROTECTED]> writes: Ben> Using this script and some minor gcc/Makefile.in hacks, I ran the entire Ben> testsuite in 30% of the current time for a parallel-languages make Ben> check. Awesome. Ben> So, I guess my question is: what now? What do people feel would

Re: improving testsuite runtime

2008-09-19 Thread Tom Tromey
> "Ben" == Ben Elliston <[EMAIL PROTECTED]> writes: Ben> Do you think that the current order of .exps should be preserved Ben> in the resultant .sum and .logs? I personally don't have a use for this. I just think that the order ought to be stable across checks of the same build. Tom

Re: Expression with 2 operations

2007-05-04 Thread Tom Tromey
> "Antoine" == Antoine Eiche <[EMAIL PROTECTED]> writes: Without more information I don't know how to answer your question. But I do have a question for you... Antoine> I must calculate the address of an element's array. Antoine> If the size of an element is one integer it's good. Antoine> I

Re: libjava Divide_1 and pr6388 fail on 4.2.0 RC3 for several targets

2007-05-07 Thread Tom Tromey
> "Ian" == Ian Lance Taylor <[EMAIL PROTECTED]> writes: Ian> This is a bug in C++ code in libjava. Thanks. We enabled -fwrapv for the interpreter but, I think, thought that perhaps the other C++ code was safe. Would the new warning have caught this? Ian> This patch appears to fix the proble

Re: PATCH COMMITTED: Don't break tests for enum in range

2007-06-08 Thread Tom Tromey
> "Richard" == Richard Kenner <[EMAIL PROTECTED]> writes: Richard> The simplest example of that is an uninitialized variable. Richard> I think the best approach is to use flags set by the front Richard> end to indicate which of these is to be the case. For C, I Richard> believe (1) is always

Re: PATCH: Add myself as libbid maintainer

2007-07-05 Thread Tom Tromey
> "Uros" == Uros Bizjak <[EMAIL PROTECTED]> writes: Uros> IMO the situation here is the same as with current soft-fp Uros> situation. The library should be considered as imported from upstream, Uros> and the decisions w.r.t formatting are inherited from the Uros> upstream. In this case the li

incremental compiler project

2007-07-13 Thread Tom Tromey
I've started work on a project to turn GCC into an incremental compiler. This project is still in an investigative stage but I thought I would post some of my plans and ideas before making a branch. The primary goal of this project is improving the developer user experience by decreasing turnarou

Updated ecj.jar

2007-07-27 Thread Tom Tromey
I have updated ecj.jar and ecj-source.tar.bz2 on sourceware.org. This is the "reference ecj" that is used to build the .class files in libjava. If you have a build where compiling from .java to .class is enabled, you must update your ecj.jar. You can do this by running contrib/download_ecj. I wi

Re: [RFC] Migrate pointers to members to the middle end

2007-08-09 Thread Tom Tromey
> "Ollie" == Ollie Wild <[EMAIL PROTECTED]> writes: Ollie> 1. Is pointer to member migration worthwhile? Can other languages Ollie> besides C++ benefit from this? Not Java. You might ask Andrea about CLR though. Ollie> 4. Is a migration of virtual functions and virtual function tables Ol

Re: [RFC] Migrate pointers to members to the middle end

2007-08-09 Thread Tom Tromey
> "Michael" == Michael Matz <[EMAIL PROTECTED]> writes: Michael> Yes, devirtualization. But I wonder if you really need class Michael> hierarchies for this (actually I'm fairly sure you don't). I'm generally in favor of what you talked about in this note and others, and also Danny's overall

Re: [RFC] Migrate pointers to members to the middle end

2007-08-10 Thread Tom Tromey
> "Dan" == Daniel Berlin <[EMAIL PROTECTED]> writes: Dan> Just to be clear, we *already* have the class hierarchies in the Dan> middle end. Dan> They have been there for a few years now :) Good point, thanks. I don't think that is enough though, because I don't think the BINFO slots mean th

Re: Post constructor/Pre destructor hooks

2007-08-14 Thread Tom Tromey
> "Dave" == Dave Korn <[EMAIL PROTECTED]> writes: >> On 13 August 2007 22:16, David Orchard wrote: >> Some base classes (specifically thread base classes) would benefit from >> being able to execute a function after the object is constructed and before >> it is destructed. For a thread class t

question about comment buglet

2007-09-05 Thread Tom Tromey
In cgraphunit.c there is a mention of "varpool_finalize_variable", which doesn't exist. I think this should be "varpool_finalize_decl" -- no problem, this one I can fix. However, there is also a mention of the non-existing varpool_finalize_function. Should this also be varpool_finalize_decl? To

Re: [RFC] Marking C++ new operator as malloc?

2007-09-10 Thread Tom Tromey
> "Mark" == Mark Mitchell <[EMAIL PROTECTED]> writes: Mark> If the compiler treats: Mark> int *p = new int; Mark> any differently from: Mark> int &r = *new int; Mark> then we're missing an optimization opportunity. AFAIK we don't have a way to mark a function as "cannot return NULL". This

Re: Does g++ have a intel/msdn __COUNTER__ macro equivalent??

2007-09-11 Thread Tom Tromey
> "Ollie" == Ollie Wild <[EMAIL PROTECTED]> writes: Ollie> Also, I recently added a new -fdirectives-only option which improves Ollie> distcc and ccache performance. Does that merit a release note update Ollie> as well? IMO, yes. Tom

Re: Does g++ have a intel/msdn __COUNTER__ macro equivalent??

2007-09-13 Thread Tom Tromey
> "Ollie" == Ollie Wild <[EMAIL PROTECTED]> writes: Ollie> One quick question. When I updated the gcc info page, Mark Ollie> Mitchell felt strongly that it shouldn't mention distcc or Ollie> ccache directly. However, I think it's a good idea to give Ollie> users some idea what the option is

Re: FW: Symbol Table Export From GCC?

2007-09-14 Thread Tom Tromey
> "Gary" == Gary Jackson <[EMAIL PROTECTED]> writes: Gary> I am developing a software analysis tool and wanted to , if I Gary> can, make it accept information exported from gcc compilations Gary> of C++ code, for example. If it is free software, how about putting it directly into g++? If it

Re: Automatic cast off "union tree" in gdb

2007-09-30 Thread Tom Tromey
> "Konrad" == k e <[EMAIL PROTECTED]> writes: Konrad> Hi, When stepping through gcc with gdb: is there a way Konrad> to be able to make gdb automatically cast a "union tree" to the Konrad> correct struct depending on the union tree's type? Not that I know of. Konrad> A "p " Konrad> will

Re: Dependency output

2007-11-02 Thread Tom Tromey
> "timtuun" == timtuun <[EMAIL PROTECTED]> writes: timtuun> I was wondering if there is a particular reason why object timtuun> name in dependency output doesn't include the directory where timtuun> the output is written? Just conservatism -- the options have worked this way for a long time.

Re: Question regarding GCC fdump option

2007-11-06 Thread Tom Tromey
> "Johan" == Johan Bohlin <[EMAIL PROTECTED]> writes: Johan> Hi I have a question regarding gcc or g++ Johan> -fdump-tree-all-raw-details (.tu file). I want to dump the Johan> entire C (not C++) AST tree the only way to do this, without Johan> losing any information, is if I use g++ and Johan>

Re: Progress on GCC plugins ?

2007-11-07 Thread Tom Tromey
> "Joe" == Joe Buck <[EMAIL PROTECTED]> writes: Joe> On Wed, Nov 07, 2007 at 09:20:21AM +0100, Emmanuel Fleury wrote: >> Is there any progress in the gcc-plugin project ? Joe> Non-technical holdups. RMS is worried that this will make it too easy Joe> to integrate proprietary code directly wi

Re: Progress on GCC plugins ?

2007-11-16 Thread Tom Tromey
> ">" == Dep, Khushil (GE Money) <[EMAIL PROTECTED]> writes: >> I believe efforts to clarify and expand documentation is much more >> likely to entice new researchers and developers rather than a >> plugin system which no doubt would be poorly documented! This idea comes up a lot. I'm sympat

Re: Progress on GCC plugins ?

2007-11-16 Thread Tom Tromey
> "Bernd" == Bernd Schmidt <[EMAIL PROTECTED]> writes: Bernd> I must admit I don't understand the upside. I've always thought of Bernd> plugins as something proprietary programs need because their source Bernd> isn't open. Everybody explained about the existing free software that has plugins

Re: Progress on GCC plugins ?

2007-11-25 Thread Tom Tromey
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> And then, once the underlying problem is addressed and we Alexandre> have an API that is usable by regular users, maybe we will Alexandre> find out that we don't need plugins, after all. Plugins are about deployment, not

Re: Progress on GCC plugins ?

2007-11-26 Thread Tom Tromey
> "Taras" == Taras Glek <[EMAIL PROTECTED]> writes: Tom> LD_PRELOAD would work just as well as having gcc directly support Tom> plugins, provided that certain internal things are never made Tom> file-local. Someone could write a helper library to make it Tom> relatively simple to hook in. Bu

Re: Fwd: Suggestion for removing flex/bison as a dependancy

2007-11-26 Thread Tom Tromey
> "Karthik" == Karthik Kumar <[EMAIL PROTECTED]> writes: Karthik> All directories which have configure scripts also have their Karthik> autoconf files (configure.ac) in the tree. And many Karthik> directories which have Makefile.in have Makefile.am as well. Yes. The rule is, or ought to be,

Re: Progress on GCC plugins ?

2007-11-26 Thread Tom Tromey
> "Basile" == Basile STARYNKEVITCH <[EMAIL PROTECTED]> writes: Basile> Plugins into GCC are expected to add optimisation passes (see file Basile> gcc/passes.c function init_optimization_passes and I don't understand Basile> what exactly LD_PRELOAD trick (unless you also redefine this very Basi

Re: Rant about ChangeLog entries and commit messages

2007-12-04 Thread Tom Tromey
> "Diego" == Diego Novillo <[EMAIL PROTECTED]> writes: Diego> I'm not sure people will want to drop ChangeLogs anytime soon. I Diego> don't find them all that useful, but I *have* used them extensively Diego> when doing archeology. It gives you the initial thread to pull when Diego> finding

<    1   2   3   4