Resigning from GCC Steering Commitee

2008-01-09 Thread Per Bothner
, working on GNU and other Free Software (the Kawa project is still going strong, and my job at Sun is also Free Software). If you any questions about code I've written - or just want to say "hi!" - feel free to contact me. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: HTML of -fdump-tree-XXXX proposal.

2007-04-23 Thread Per Bothner
J.C. Pizarro wrote: Your idea with JavaScript, CSS, XSLT, .. is very good! :) Thanks you - but ideas are cheap. Turned a vague idea into something useful is a different matter -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: HTML of -fdump-tree-XXXX proposal.

2007-04-22 Thread Per Bothner
to switch between display styles. This can be done dynamically with a smidgen of JavaScript. * Can more easily convert to other formats, or select only desired elements, using some suitable XML processor such as xsltproc. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

SoC Project: Finish USE_MAPPED_LOCATION

2007-03-22 Thread Per Bothner
don't consistently monitor the gcc mailing lists, so please cc me on any gcc email you want me to see in a timely manner.) -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: A question about ARG_FINAL_P in the Java frontend.

2006-07-31 Thread Per Bothner
-gap, you could probably just remove setting and testing the flag. That may introduce some regressions in terms of not catching some errors. A cleaner fix may be to create the PARAM_DECL at parse time, and set the final flag on the decl, but that's a bigger change not worth doing at this poi

MAPPED_LOCATION update

2006-06-04 Thread Per Bothner
ake a look at the other (non-pch-related) regressions. We all have too many things on our plates, so if someone else would like to pitch in, just let us know. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: GCC SC request about ecj

2006-06-02 Thread Per Bothner
. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: What to do with MAPPED_LOCATION

2006-05-15 Thread Per Bothner
which is normally the index of the line_map of that included this line_map: i.e. the outer line_map in the include stack. It seems plausible to generalize the "included_from" field to also be used for "expanded from" or "instantiated from", but I haven't tried to think through that. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: What to do with MAPPED_LOCATION

2006-05-15 Thread Per Bothner
00882.html -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: What to do with MAPPED_LOCATION

2006-05-14 Thread Per Bothner
ing internal source location to back-end representation at tree conversion time, which seems to be your preference, then I don't understand your point. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: What to do with MAPPED_LOCATION

2006-05-13 Thread Per Bothner
n and I talked about it, but I don't know if he's available. Worst case, I guess I could steal the time to do it, but if nothing else it would be good to get more people comfortable with how this all works. And of course Ada needs MAPPED_LOCATION support. -- --Per Bo

Re: Reconsidering gcjx

2006-01-29 Thread Per Bothner
over that size. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: Reconsidering gcjx

2006-01-27 Thread Per Bothner
time check, using reflection. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: Reconsidering gcjx

2006-01-27 Thread Per Bothner
les. The "SourceDebugExtension" attribute specified by JSR-45 (http://jcp.org/en/jsr/detail?id=45) provides one way to provide full pathnames. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: Reconsidering gcjx

2006-01-26 Thread Per Bothner
only useful if we also make available a bytecode version of libgcj, I think. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: Null pointer check elimination

2005-11-12 Thread Per Bothner
Tom Tromey wrote: "Per" == Per Bothner <[EMAIL PROTECTED]> writes: Per> A type attribute is much more useful. For example it allows: Per> String x = shared ? "x" : new String("x"); Per> // The type of x [in a single-assignment-world] is non-null.

Re: Null pointer check elimination

2005-11-12 Thread Per Bothner
eally the compiler should realize that x actually has the more specific type 'int __attribute__((never_null)) *', and should use that information to generate better code. It seems this should be straightforward using SSA, as I sketched in my previous message. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: Null pointer check elimination

2005-11-12 Thread Per Bothner
s_never_returns_NULL(); < ... use p without modifying it ... > <-- p_1 never NULL here. } else { int *p_2 = other_fn (); < ... use p without modifying it ... > <-- p_2 may be NULL here. } int *p_3 = PHI(p_1, p_2); ... more uses of p ...; } -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: Null pointer check elimination

2005-11-12 Thread Per Bothner
Per Bothner wrote: A "function-never-returns-null" attribute doesn't seem like the right mechanism. Instead, there should be a "never-null" attribute on pointer types. A "function-never-returns-null" is just a function whose return-type has the "ne

Re: Null pointer check elimination

2005-11-12 Thread Per Bothner
Diego Novillo wrote: On Saturday 12 November 2005 12:05, Per Bothner wrote: A "function-never-returns-null" attribute doesn't seem like the right mechanism. Instead, there should be a "never-null" attribute on pointer types. A "function-never-returns-null&qu

Re: Null pointer check elimination

2005-11-12 Thread Per Bothner
. A type attribute is much more useful. For example it allows: String x = shared ? "x" : new String("x"); // The type of x [in a single-assignment-world] is non-null. [If we already have such a mechanism, I apologize.] -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: Patch reviews for 4.1

2005-11-02 Thread Per Bothner
iew the patches. Per, there's one preprocessor patch below; would you please take a look? The rest are middle-end patches. Preprocessor 22042 I don't know enough about fine points of the standard to say what is right. If you and Andrew think it is right, I'm ok with it. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: resolving backslash newline whisky tango foxtrot: a proposal

2005-11-01 Thread Per Bothner
(another) fork in their code-base. It means that Apple can produce a patch with reasonable assurance that it will be approved (assuming we also get consensus from the global write maintainers on the -Wcomment changes.) -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: resolving backslash newline whisky tango foxtrot: a proposal

2005-10-31 Thread Per Bothner
y they can turn it off. That would appear not to solve the problem of the customers who are wedded to their line art, that started this discussion in the first place. They can use -Wno-comment. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: resolving backslash newline whisky tango foxtrot: a proposal

2005-10-31 Thread Per Bothner
Joe Buck wrote: On Sat, Oct 29, 2005 at 03:45:33AM -0700, Per Bothner wrote: 1. Change the behavior (back) so only '\\$', not '\\ *$', causes a line to be continued. The problem with your item #1 is that there is then no way of flagging code that won't work

Re: resolving backslash newline whisky tango foxtrot: a proposal

2005-10-29 Thread Per Bothner
tespace. 3. Make -Wcomment the default - not just for -Wall, but always. It can be turned off with -Wno-comment -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: backslash whitespace newline

2005-10-29 Thread Per Bothner
pilers", as along as a warning is emitted. The warning can be turned off with our generic turn-off-specific-warnings framework (I'm so out of gcc development I'm not sure we have one - but I vaguely remember reading about it). However, the warning should be on by default. --

Tom Tromey as Java maintainer

2005-09-14 Thread Per Bothner
over the years! Tom, please add yourself to the MAINTAINERS file. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: Status of --enable-mapped-location

2005-09-07 Thread Per Bothner
there is an aliasing bug somewhere? I really would welcome someone else looking at one or more of these, as I'm really behind on other (paying) projects. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: Status of --enable-mapped-location

2005-08-28 Thread Per Bothner
haven't no idea what regressions there might be. I'll at least do a bootstap+check run to get a feel for the status. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: Question about new warning system

2005-06-10 Thread Per Bothner
th: if (frobbed) warning (OPT_Wfoo, "foo is frobbed"); Perhaps a macro should be defined: maybe_warning (OPT_Wfoo, frobbed, "foo is frobbed"); This tests whether Wfoo is enabled *before* it evaluates frobbed. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: preprocessor/21250 and address of

2005-05-17 Thread Per Bothner
utput.c so line 0 is printed as line 1. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

preprocessor/21250 and address of

2005-05-17 Thread Per Bothner
t it seems unlikely. I'll check that -fpreprocessed doesn't break (I assume the testsuite tests this?), and I'll ask someone to check distcc. Objections to this approach? Other suggestions? One alternative is to fix gas to not complain about line number 0. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: GCC 4.1: Buildable on GHz machines only?

2005-05-06 Thread Per Bothner
ed. It semi-supports it. I build Kawa one directory at a time, using libtool. (Albeit the CVS version of libtool.) -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: GCC 4.1: Buildable on GHz machines only?

2005-05-05 Thread Per Bothner
making --disable-static the default. Building static libraries is not very useful on other than embedded-class systems. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: GCC 4.1: Buildable on GHz machines only?

2005-05-04 Thread Per Bothner
t increase virtual memory use. I think the net benefit could be large - an experiment would be quite worthwhile. Perhaps somebody could write a post-configure script to munge the Makefile and give us some numbers. Ideally, there'd be a configure flag to control "chunking". --

Java field offsets [was; GCC 4.0 RC2 Available]

2005-04-19 Thread Per Bothner
it didn't fit well with gdb's obstack-based memory management. The situation might be different now. OTOH, just like we now use Dwarf2 unwind-info for exception handling, perhaps we could use Dwarf debug information for reflection information. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: line-map question

2005-04-19 Thread Per Bothner
s what is happening in PR 20907. > This is PR 20907. I have a patch I'll check in after testing. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: GCC 4.0 RC1 Available

2005-04-12 Thread Per Bothner
Per Bothner wrote: However, the Kawa testsuite fails, raising a ClassNotFoundException. I'm looking into it. Hm. This fails, with or without the patch: clas = Class.forName(cname); This works: clas = Class.forName(cname, true, getClass().getClassLoader()); This is with make all &a

Re: GCC 4.0 RC1 Available

2005-04-12 Thread Per Bothner
Per Bothner wrote: 2005-04-02 Mark Wielaard <[EMAIL PROTECTED]> * java/lang/natRuntime.cc (insertSystemProperties): Set java.class.path to CLASSPATH if not already set. Yes, Kawa builds with this patch. Thanks! However, the Kawa testsuite fails, raising a ClassNotFoundExc

Re: GCC 4.0 RC1 Available

2005-04-12 Thread Per Bothner
ath to CLASSPATH if not already set. Yes, Kawa builds with this patch. Thanks! -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: GCC 4.0 RC2

2005-04-12 Thread Per Bothner
elard said he's looking into the problem. Unfortunately, we haven't heard anything from Tom Tromey, the auther of the big patch that probably causes the problem. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: GCC 4.0 RC1 Available

2005-04-12 Thread Per Bothner
: $ gcj -o CL CL.java --main=CL $ CLASSPATH=.:/:/usr:/random ./CL gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} (Of course to be picky "file:/usr/" is not a valid URL ...) -- --Per Bothner [EMAIL PROTECT

Re: GCC 4.0 RC1 Available

2005-04-11 Thread Per Bothner
Per Bothner wrote: I can no longer build Kawa using the 4.0 branch. Some more information: The failing statement is: Class.forName("kawa.lib.prim_syntax", false, getClass().getClassLoader()); prim_syntax.class exists in the current directory, which is ../../kawa/lib. The

Re: GCC 4.0 RC1 Available

2005-04-11 Thread Per Bothner
the CLASSPATH. That suggests it might be related to Tom's check-in. I'll track it down a little bit further. This is on Fedora Core 3, x86. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: PCH versus --enable-mapped-location

2005-03-31 Thread Per Bothner
non-gc'd memory to gc'd memory will be a dangling pointer, if we count static variables marked with GTY as "gc'd memory" in this context. Right now, as far as I can tell, the filenames in the line_table are allocated from non-gc'd memory. This complicates usi

Re: PCH versus --enable-mapped-location

2005-03-31 Thread Per Bothner
to split those into two separate arrays: an array of (const char*) and an array of non-relocatable data. I don't know if that would be helpful. It would means fixing client code that references map entries directly. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

PCH versus --enable-mapped-location

2005-03-30 Thread Per Bothner
e (probably not a big deal - cpplib accesses are via the cpp_reader and thus unchanged). But note we still need custom restore code. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

dejagnu help needed - tests get confused by column numbers

2005-03-27 Thread Per Bothner
7;t know dejagnu, I've forgotten most of what little I used to know about tcl, and I don't know where to start. I'm asking for someone who will know the Right Thing, and who will do. Anyone out there? -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: converting Ada to handle USE_MAPPED_LOCATION

2005-03-22 Thread Per Bothner
at's in the eye of the beholder. I think a local translation is cleaner and more robust/safer than a global opaque type/call-back. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

converting Ada to handle USE_MAPPED_LOCATION

2005-03-19 Thread Per Bothner
r Ada, but I don't think it's the best long-term solution for Gcc as a whole. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: documentation on writing testcases?

2005-03-11 Thread Per Bothner
doesn't mention how to run the testsuite. Perhaps there should be a link to http://gcc.gnu.org/install/test.html from the internals manual. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

documentation on writing testcases?

2005-03-11 Thread Per Bothner
t the basics); - the "Testsuite Conventions" of codingconventions.html; - contribute.html; - install/test.html; - and of course Google. In *none* of these did I find documentation on how to write or understand a test-case, or a link to such documentation. I'm inclined to think that most of

Re: SVN Test Repo updated

2005-02-16 Thread Per Bothner
at extensible? In any case, using the client's LC_COLLATE may not be the right thing, and it's certainly not important. (I believe someone is working on it to some degree, soon) Great. As I said: I don't see this issue as a show-stopper for converting gcc to svn. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: SVN Test Repo updated

2005-02-16 Thread Per Bothner
Andreas Schwab wrote: Per Bothner <[EMAIL PROTECTED]> writes: Preferably, the sort algorithm should match 'ls'. (Specifically GNU ls - IIRC BSD ls doesn't case-fold, which I think is wrong. The sort alghorithm has nothing to do with ls, but with your selection of LC_COLLA

Re: SVN Test Repo updated

2005-02-16 Thread Per Bothner
svn output is not by default in a predictable output, that is most definitely a serious (but not critical) bug. (It's ok to have a "don't sort" option to speed things up, but it shouldn't be the default.) -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/