Re: building gcc

2006-10-12 Thread Daniel Jacobowitz
rick, but it doesn't seem to work for gcc. Use CFLAGS="-g" ../gcc-src/configure. The top level file is still autoconf 2.13. -- Daniel Jacobowitz CodeSourcery

Re: Question about LTO dwarf reader vs. artificial variables and formal arguments

2006-10-21 Thread Daniel Jacobowitz
we're far enough on yet to know the answer to this or your other question, but I may be wrong. There's a reason we're focusing on C right now :-) I don't think the design precludes this sort of thing, but we won't know how it all fits together until more's been done. -- Daniel Jacobowitz CodeSourcery

Re: Handling of extern inline in c99 mode

2006-11-01 Thread Daniel Jacobowitz
ne" without "extern" when in C99 > mode. Isn't the whole point that the current extern inline isn't __always_inline__, but leaves it to the compiler's judgement? -- Daniel Jacobowitz CodeSourcery

Re: Bootstrap failure on trunk on linux? (libgmp.so.3 exists, but not found)

2006-11-04 Thread Daniel Jacobowitz
ult causes all kinds of problems. -- Daniel Jacobowitz CodeSourcery

Re: Bootstrap failure on trunk on linux? (libgmp.so.3 exists, but not found)

2006-11-04 Thread Daniel Jacobowitz
ply > to xgcc, since it's only used in the build (right?). No, xgcc is installed as gcc. If you have a dynamic libgmp, it will be used. -- Daniel Jacobowitz CodeSourcery

Re: Threading the compiler

2006-11-11 Thread Daniel Jacobowitz
rs on global readonly, but in typical compilation most of the memory allocated is definitely global. Past a certain point much of that is probably readonly. However, it would take some clever interfaces and discipline to _guarantee_ that any particular global bit was shareable. -- Daniel Jacobowitz CodeSourcery

Re: Reducing the size of C++ executables - eliminating malloc

2006-11-12 Thread Daniel Jacobowitz
up. We ought to be able to emit (somewhat smaller) unwind information which doesn't reference the personality routine if it's going to have nothing to do, shouldn't we? -- Daniel Jacobowitz CodeSourcery

Re: Reducing the size of C++ executables - eliminating malloc

2006-11-12 Thread Daniel Jacobowitz
't amenable to _Unwind_Backtrace / _Unwind_ForcedUnwind, et cetera. For .eh_frame, though, the personality routine is only necessary to run cleanups and check exception specs. -- Daniel Jacobowitz CodeSourcery

Re: Reducing the size of C++ executables - eliminating malloc

2006-11-12 Thread Daniel Jacobowitz
On Sun, Nov 12, 2006 at 05:11:39PM -0800, Mark Mitchell wrote: > Daniel Jacobowitz wrote: > > > If you try what Michael's been saying, you'll notice that trivial > > C++ files get the personality routine reference even if they don't > > have anything with a

Re: Do not use autoconf 2.60 yet

2006-11-14 Thread Daniel Jacobowitz
e move of toplevel to > 2.59; I'm not sure what's holding that up now all subdirectories of gcc > and src have been moved.) At this point I believe there are no more blockers. Steve Ellcey would be the person to ask. -- Daniel Jacobowitz CodeSourcery

powerpc64-gnu libgcc?

2006-11-24 Thread Daniel Jacobowitz
esn't quite at present; powerpc64-gnu does not include t-ppccomm. powerpc-gnu does. -- Daniel Jacobowitz CodeSourcery

Configure test hangs on powerpc64-linux

2006-11-25 Thread Daniel Jacobowitz
inite loop in configure for this case? -- Daniel Jacobowitz CodeSourcery

Reviewer for top level libgcc

2006-11-30 Thread Daniel Jacobowitz
iners first, but haven't heard back from any of them...) -- Daniel Jacobowitz CodeSourcery

Re: configuration options policy (at toplevel or only inside gcc/)?

2006-12-14 Thread Daniel Jacobowitz
On Thu, Dec 14, 2006 at 10:19:12AM +0100, Basile STARYNKEVITCH wrote: > In other words, should I make all my configurable flag visible by the > toplevel configure and propagated (thru Makefile.tpl) to gcc/ or not? No, you shouldn't. Only add them to subdirs that need them. -- Daniel

Re: Gprof and shared libraries

2006-12-28 Thread Daniel Jacobowitz
ween _stext and _etext are recorded. -- Daniel Jacobowitz CodeSourcery

Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."

2006-12-29 Thread Daniel Jacobowitz
nt on the list, please ask the Steering Committee. This is a textbook example of what they're for. -- Daniel Jacobowitz CodeSourcery

Re: [heads-up] disabling "../configure --disable-bootstrap && make bootstrap"

2006-12-29 Thread Daniel Jacobowitz
e been saying that since the first top level bootstrap rules went in, every time the subject came up - this really shouldn't be a surprise. Libgcc will no longer be configured by the gcc subdirectory's makefile. Therefore there will be no startfiles or libgcc for the new compiler to use. -- Daniel Jacobowitz CodeSourcery

Re: [heads-up] disabling "../configure --disable-bootstrap && make bootstrap"

2006-12-29 Thread Daniel Jacobowitz
compiler is not functional. It can't use libgcc or crtbegin from the system; they might not even exist, depending on your bootstrap compiler. Do you mean something different by "bootstrapping just the compiler"? -- Daniel Jacobowitz CodeSourcery

Re: [heads-up] disabling "../configure --disable-bootstrap && make bootstrap"

2006-12-29 Thread Daniel Jacobowitz
would even be possible to not bootstrap those host libraries - but unwise for the reasons we wanted them bootstrapped originally, and they're very quick to build. In a combined tree we bootstrap binutils too. That's less obviously useful. But in a GCC-only tree we bootstrap intl, gcc, libcpp, libdecnumber, libiberty, and zlib: all things linked directly into the compiler. -- Daniel Jacobowitz CodeSourcery

Do we want non-bootstrapping "make" back?

2006-12-29 Thread Daniel Jacobowitz
e configure-time decision - if there's a convincing reason to do so. -- Daniel Jacobowitz CodeSourcery

Re: Link tests not allowed

2006-12-31 Thread Daniel Jacobowitz
LES error message really ought to (A) get logged in config.log, and (B) tell you why it decided link tests were forbidden. (And it's my fault originally IIRC.) I'm not at all sure how the nm failure ends up leading to this problem, but I'll take your word for that part. -- Daniel Jacobowitz CodeSourcery

Re: Link tests not allowed

2007-01-01 Thread Daniel Jacobowitz
e problem is usually obvious. -- Daniel Jacobowitz CodeSourcery

Re: Link tests not allowed

2007-01-01 Thread Daniel Jacobowitz
urposes, but the next one is the GCC_NO_EXECUTABLES test, and that one > should have worked. Unfortunately, when it fails, the error does not get logged properly. -- Daniel Jacobowitz CodeSourcery

Top level libgcc checked in

2007-01-03 Thread Daniel Jacobowitz
e.ac), we'll be untangling them. Eventually, it should be possible to build gcc and the target libraries separately. -- Daniel Jacobowitz CodeSourcery

Re: Top level libgcc checked in

2007-01-04 Thread Daniel Jacobowitz
On Thu, Jan 04, 2007 at 04:19:17PM +1100, Ben Elliston wrote: > On Wed, 2007-01-03 at 23:28 -0500, Daniel Jacobowitz wrote: > > > Right now the libgcc configuration is completely tied up with > > gcc/Makefile. As parts of the configuration process move from > > gcc/confi

Re: trunk gcc has problems finding crtbegin.o

2007-01-04 Thread Daniel Jacobowitz
0/ > but rather into /lib/gcc/i686-pc-linux-gnu/. > Is this related to the recent libgcc changes? Yes, it's my fault. The last time I tested make install, they went to the right place. I'm building right now to find out what's gone wrong. -- Daniel Jacobowitz CodeSourcery

Re: trunk gcc has problems finding crtbegin.o

2007-01-04 Thread Daniel Jacobowitz
On Thu, Jan 04, 2007 at 08:59:51AM -0500, Daniel Jacobowitz wrote: > On Thu, Jan 04, 2007 at 02:32:19PM +0100, Martin Reinecke wrote: > > /usr/bin/ld: crtbegin.o: No such file: No such file or directory > > collect2: ld returned 1 exit status > > > > This probably happe

Re: libgcc

2007-01-04 Thread Daniel Jacobowitz
ed, removed. The latter; feel free to remove them :-) -- Daniel Jacobowitz CodeSourcery

Re: Do we want non-bootstrapping "make" back?

2007-01-04 Thread Daniel Jacobowitz
as rather > reasonable, but you and other build machinery wizards convinced us that this > would be a pain to support with toplevel bootstrap. So what has changed? Not much. I'm convinced it would be feasible, but definitely not easy, so I wanted to see how much interest there was - seems like some, but not a lot. -- Daniel Jacobowitz CodeSourcery

Re: How to dedicate a register for special purpose in gcc?

2007-01-04 Thread Daniel Jacobowitz
ister usage but still have no idea. > > I would *really* appreciate any help I can get on this issue! Take a look at -ffixed-REG. -- Daniel Jacobowitz CodeSourcery

Re: Do we want non-bootstrapping "make" back?

2007-01-05 Thread Daniel Jacobowitz
e support into the 4.2 branch? I have no intention of touching the build system for the release branch, in any case. -- Daniel Jacobowitz CodeSourcery

Re: Do we want non-bootstrapping "make" back?

2007-01-05 Thread Daniel Jacobowitz
he functionality otherwise lost. > > Or do I misunderstand? We're not talking about that at all. I was only talking about whether the decision was made at configure or make time. -- Daniel Jacobowitz CodeSourcery

Re: Do we want non-bootstrapping "make" back?

2007-01-05 Thread Daniel Jacobowitz
ought to get it working. And I certainly don't have time to do it before 4.2.0. -- Daniel Jacobowitz CodeSourcery

Re: __sync_bool_compare_and_swap

2007-01-05 Thread Daniel Jacobowitz
ebian packaged one; Debian's compilers default to generating code for a 486 or later. -- Daniel Jacobowitz CodeSourcery

Re: gcc trunk 20070110 build failure (--enable-targets=all i486-linux-gnu)

2007-01-10 Thread Daniel Jacobowitz
me config-ml.in to enable multilibs that libiberty does. You're going to have to figure out why that's decided that we shouldn't build multilibs. It starts by checking xgcc -print-multi-lib; that works, right? Could it have picked up a bad setting for $CC? -- Daniel Jacobowitz CodeSourcery

Re: main(), registers and gdb

2007-01-10 Thread Daniel Jacobowitz
And honestly, I have no idea how that happened. Does it happen with a current GDB? I suspect from the error message that this one is not too recent. -- Daniel Jacobowitz CodeSourcery

Re: main(), registers and gdb

2007-01-10 Thread Daniel Jacobowitz
6.5, so reasonably recent. Please try a current snapshot. Thanks. -- Daniel Jacobowitz CodeSourcery

Re: Running GCC tests on installed compiler

2007-01-12 Thread Daniel Jacobowitz
> You must be new around here: > > http://gcc.gnu.org/ml/gcc-announce/1997-1998/msg0.html > > :-) Which is the I feel lucky google("site:gcc.gnu.org how to run > installed GCC_UNDER_TEST") result. For the less old-school inclined, try contrib/test_installed. -- Daniel Jacobowitz CodeSourcery

Re: Compiling libgcc functions with non-default LIBGCC2_UNITS_PER_WORD

2007-01-21 Thread Daniel Jacobowitz
ivdi3. It there a way > of making use of this facility in a more elegant way than putting the whole > gcc command line in a target makefile fragment? I'm not sure I understand what you want to do. Could you give me a bigger example? Those bits are only used for fix/float conversions. -

Re: Compiling libgcc functions with non-default LIBGCC2_UNITS_PER_WORD

2007-01-21 Thread Daniel Jacobowitz
xt),$(siintfuncs)) ifeq ($(enable_shared),yes) libgcc-s-objects += $(patsubst %,%_s$(objext),$(siintfuncs)) endif If you think it would be useful for enough targets, you could add some code to automatically extract the bits before and after the colon and give this a standard name that tdep files could s

Top level libgcc migration tips

2007-01-27 Thread Daniel Jacobowitz
I've put up some information on the wiki about moving configuration information from gcc to libgcc. Please, feel free to add to it! http://gcc.gnu.org/wiki/Top-Level_Libgcc_Migration -- Daniel Jacobowitz CodeSourcery

Re: problem building gcc4-4.3.0-20070209

2007-02-09 Thread Daniel Jacobowitz
reading this know what the right thing to do is? Is there anything in the autoconf documentation about not using some macros inside conditional statements? -- Daniel Jacobowitz CodeSourcery

Re: problem building gcc4-4.3.0-20070209

2007-02-10 Thread Daniel Jacobowitz
e are in a Canadian setting, we can set > all the variables that Autoconf sets, in the `then' branch. So we'd set > ac_objext=.o in the `then' branch. This seems horribly wrong somehow. Aren't we intested in the ${build} -> ${host} compiler at this point anyway? So shouldn't we be testing it? I think the whole block can go. -- Daniel Jacobowitz CodeSourcery

Re: problem building gcc4-4.3.0-20070209

2007-02-10 Thread Daniel Jacobowitz
t; Hmm, it says indeed "this is going to change when we autoconfiscate". > Something like this? Yes, pretty much (though I don't see the point in the CFLAGS -g assignment either). -- Daniel Jacobowitz CodeSourcery

Re: Fw: Strange paths for gcc for x86_64-pc-mingw32

2007-02-19 Thread Daniel Jacobowitz
e something in /usr/local/bin/x86_64-pc-mingw32-gcc.exe also; do you? The one in /usr/local/x86_64-pc-mingw32/bin is different, and may not work - I think the way that normally happens involves symbolic links, or something similar. Anyway, you don't need to use it. -- Daniel Jacobowitz CodeSourcery

Re: GCC 4.2.0 Status Report (2007-02-19)

2007-02-20 Thread Daniel Jacobowitz
e my statement. And if that holds, I continue to stand by it. On the other hand, I consider this a fairly serious bug in 4.1 (and I've seen customers encounter it at least twice off the top of my head). It depends what your tolerance for wrong-code bugs is. -- Daniel Jacobowitz CodeSourcery

Re: GCC 4.2.0 Status Report (2007-02-19)

2007-02-21 Thread Daniel Jacobowitz
fully reproduce the testcase. This stuff is not easy to trigger. But if you do, it's quite unpleasant - both for the user, and for the poor compiler developer who has to figure out what happened. -- Daniel Jacobowitz CodeSourcery

Re: GCC 4.2.0 Status Report (2007-02-19)

2007-02-21 Thread Daniel Jacobowitz
aybe don't ship 4.2.0 at all. > > so, I don't see backporting more patches or even re-branching as > a real option. I've been convinced of the same. If we (GCC developers) shipped it with the aliasing fixes reverted, I'm not sure quite what we (CodeSourcery) would do

Re: Re; Maintaining, was: Re: Reduce Dwarf Debug Size

2007-03-01 Thread Daniel Jacobowitz
the lines of the bugmasters. Good luck keeping people. It's a crappy job. -- Daniel Jacobowitz CodeSourcery

Re: [RFC]possible improvements to --with-sysroot

2007-03-05 Thread Daniel Jacobowitz
ix $SYSROOT to it. Did you try it? This should already happen if you configured binutils with a sysroot. -- Daniel Jacobowitz CodeSourcery

Re: [RFC]possible improvements to --with-sysroot

2007-03-05 Thread Daniel Jacobowitz
On Tue, Mar 06, 2007 at 02:05:06AM +0800, Zhang Le wrote: > I have used "strace -f" to check where linker looked for -lqt-mt. From > what I have observed, it seems that ld didn't use > $SYSROOT/etc/ld.so.conf. Well, it's supposed to, so I suggest you check what&

Re: Detemining the size of int_fast8_t etc. in the frontend

2007-03-07 Thread Daniel Jacobowitz
orks just fine > natively and with cross compilations. I'd file a bug report. If it > is an OS bug, it can be fixed by fixincludes. He's talking about finding the target's int_fast8_t in the frontend. That's another issue entirely. -- Daniel Jacobowitz CodeSourcery

Re: Question for removing trailing whitespaces (not vertical tab) from source

2007-03-13 Thread Daniel Jacobowitz
#x27;t know where your acres and acres are, but they aren't in most GNU software. This is, unsurprisingly, how emacs behaves. Personally I think that regardless of your indentation preferences, using anything besides eight column tab stops for \t is silly; that's what "cat" is going to use. -- Daniel Jacobowitz CodeSourcery

Re: Updating libtool in GCC and srctree

2007-03-13 Thread Daniel Jacobowitz
t; being possibly undefined). I think I want the -I options though. Yes, you always want to match ACLOCAL_AMFLAGS from Makefile.am. -- Daniel Jacobowitz CodeSourcery

Re: PATCH: make_relative_prefix oddity

2007-03-13 Thread Daniel Jacobowitz
time your patch was first written, we decided to fix this in the driver instead and leave make_relative_prefix unchanged: 2006-04-28 Joseph S. Myers <[EMAIL PROTECTED]> * gcc.c (process_command): Add program name to GCC_EXEC_PREFIX value before passing to make_relative_prefix. -- Daniel Jacobowitz CodeSourcery

Re: Building without bootstrapping

2007-03-19 Thread Daniel Jacobowitz
On Mon, Mar 19, 2007 at 05:25:37AM -0700, Karthikeyan M wrote: > Thanks for the information. > So, if I want to debug a bug in the cc1 code that causes target > library build to fail - > should I just use the cc1 that is generated in /gcc/ ? Yes. -- Daniel Jacobowitz CodeSourcery

Re: Google SoC Project Proposal: Better Uninitialized Warnings

2007-03-19 Thread Daniel Jacobowitz
On Mon, Mar 19, 2007 at 01:49:55PM -0400, Andrew MacLeod wrote: > Perhaps this ought to be looked at again with some seriousness. I think this is an idea whose time has either come, or will shortly. GCC's -O0 is much more extreme than that of other compilers I've used. -- Dani

Re: Building mainline and 4.2 on Debian/amd64

2007-03-19 Thread Daniel Jacobowitz
se 'make install' into a system location, but that's about it. And usually one shouldn't do that anyway. There's /lib64 -> lib and /usr/lib64 -> lib symlinks, which help out. -- Daniel Jacobowitz CodeSourcery

Re: We're out of tree codes; now what?

2007-03-21 Thread Daniel Jacobowitz
rictly necessary if you've got nothing but a type code in it. Have a couple of constant TYPE_LANG_SPECIFIC instances in rodata :-) Which is less useful if you want to move things out of the common tree, of course. -- Daniel Jacobowitz CodeSourcery

Re: --disable-multilib broken on x86_64

2007-03-24 Thread Daniel Jacobowitz
But at least the patch shows the > problem and a possible solution, so maybe you (or someone who > understsands the build scripts) can fully test it. libgcc should not use AC_CANONICAL_TARGET; --target doesn't mean anything to a target library. I'm not sure about libdecnumber - it

Re: Linking shared libs against shared libs

2007-03-25 Thread Daniel Jacobowitz
ode above like this: > gcc test.c -o test.so -shared -fPIC [-s] > The problem is that i'd expect gcc/ld to abort with an error, > but it just 'successfully' links something. > Am i missing something? How can ld link against a > definitely unknown function? See

Re: nested backticks in Makefile

2007-03-27 Thread Daniel Jacobowitz
On Tue, Mar 27, 2007 at 03:01:04PM -0400, DJ Delorie wrote: > - CROSS_SYSTEM_HEADER_DIR='$(gcc_tooldir)/sys-include' > + CROSS_SYSTEM_HEADER_DIR='$(shell echo $(gcc_tooldir)/sys-include)' Don't you need more quotes than that? -- Daniel Jacobowitz CodeSourcery

Re: nested backticks in Makefile

2007-03-27 Thread Daniel Jacobowitz
lude)' > > > > Don't you need more quotes than that? > > I think if we quoted it more, we'd end up passing the backticks along > instead of processing them, and we'd end up right where we started. I only meant: CROSS_SYSTEM_HEADER_DIR='$(shell echo "$(gcc_tooldir)/sys-include")' -- Daniel Jacobowitz CodeSourcery

Re: nested backticks in Makefile

2007-03-27 Thread Daniel Jacobowitz
s quoting? $(gcc_tooldir) starts with $(libsubdir) starts with $(libdir) which will come from $(prefix), so there's an unquoted $(prefix) there. ../gcc/configure --prefix=/usr/local/"where * am * i" will thus lead to $(shell echo /usr/local/where * am * i/sys-include), which will wildcard. -- Daniel Jacobowitz CodeSourcery

Re: tuples: data structure separation from trees

2007-03-29 Thread Daniel Jacobowitz
adding locations on more things is a workable solution to the problem. I wish someone had sufficient incentive to sit down and design a proper solution to our degenerating debug info. -- Daniel Jacobowitz CodeSourcery

Re: tuples: data structure separation from trees

2007-03-30 Thread Daniel Jacobowitz
se where the current approach would even require locations on constants. And that's obviously infeasible, so... -- Daniel Jacobowitz CodeSourcery

Re: Variable scope debug info

2007-04-05 Thread Daniel Jacobowitz
uld not make a significant difference. -- Daniel Jacobowitz CodeSourcery

Re: Integer overflow in operator new

2007-04-07 Thread Daniel Jacobowitz
last month I discovered that there is a use of operator new[] with a subscript of INT_MAX - 1 (INT_MAX is handled specially). In general this still works out to be more memory than can be allocated and the test tests what it wanted to (bad_alloc). -- Daniel Jacobowitz CodeSourcery

Re: RFC: GIMPLE tuples. Design and implementation proposal

2007-04-10 Thread Daniel Jacobowitz
read in, we > might even see some cache friendly accesses for a change. FYI, I did this with PCH once... I never followed it through well enough to get consistent results from it, but I did get some remarkable jumps during testing. -- Daniel Jacobowitz CodeSourcery

Re: libstdc++.dylib linking problem on Darwin

2007-04-12 Thread Daniel Jacobowitz
o install the library if you do that? SHLIB_INSTALL = \ $(mkinstalldirs) $(DESTDIR)$(slibdir); \ $(INSTALL_DATA) $(SHLIB_SONAME) \ $(DESTDIR)$(slibdir)/$(SHLIB_SONAME) -- Daniel Jacobowitz CodeSourcery

Re: A question on gimplifier

2007-04-14 Thread Daniel Jacobowitz
which you didn't show the type of - but there's probably nothing in the C builtin decl that says it modifies its arguments. If the RTL says that it clobbers its first input, then the RTL register allocator is responsible for handling that. -- Daniel Jacobowitz CodeSourcery

Re: Builtin functions?

2007-04-16 Thread Daniel Jacobowitz
mentation fault. > > I wonder where my wrong assumption is. Any suggestions? What do you mean, it's built in? It comes from a source file, so almost by definition it isn't. -- Daniel Jacobowitz CodeSourcery

Re: Builtin functions?

2007-04-16 Thread &#x27;Daniel Jacobowitz'
On Mon, Apr 16, 2007 at 05:51:17PM +0100, Dave Korn wrote: > Perhaps Paulo wants to know if the definition originated in a system header > file? Yes, this is more likely to be useful. -- Daniel Jacobowitz CodeSourcery

Re: GCC 4.1 Projects

2005-02-27 Thread Daniel Jacobowitz
will go in during Stage 1 without any coordination. Could you explain what benefits from waiting? None of the other large, scheduled changes from 4.1 benefit from pushing this back. The only thing that it saves is one possible cause of broken bootstraps; you may as well ask no one to

Re: GCC 4.1 Projects

2005-02-27 Thread Daniel Jacobowitz
On Sun, Feb 27, 2005 at 03:56:26PM -0800, Mark Mitchell wrote: > Daniel Jacobowitz wrote: > >On Sun, Feb 27, 2005 at 02:57:05PM -0800, Mark Mitchell wrote: > > >Nathanael said it did not interfere with any of the other _projects_, > >not that it would be disjoint fr

Re: testsuite execution question

2005-02-28 Thread Daniel Jacobowitz
; for talking to myself here.) I don't think that's the concern here - it's more a matter of whether the target, and DejaGNU, support this. Lots of embedded targets seem to have trouble with it. Take a look at "noargs" in the DejaGNU board files for a couple of examples, IIRC. GDB jumps through some hoops to test this, and gets it wrong in a bunch of places too. -- Daniel Jacobowitz CodeSourcery, LLC

Re: testsuite execution question

2005-03-01 Thread Daniel Jacobowitz
reliable. The dg-program-options directive could warn when it's used > in an environment for which it's not supported. Sounds good to me, at least in theory. -- Daniel Jacobowitz CodeSourcery, LLC

Re: testsuite execution question

2005-03-04 Thread Daniel Jacobowitz
On Fri, Mar 04, 2005 at 04:33:47PM -0800, Janis Johnson wrote: > On Tue, Mar 01, 2005 at 04:35:54PM -0500, Daniel Jacobowitz wrote: > > On Tue, Mar 01, 2005 at 10:29:45AM -0800, Janis Johnson wrote: > > > Is command line processing relevant for embedded targets? (I have no &

Re: request for timings - makedepend

2005-03-07 Thread Daniel Jacobowitz
uspect we could get a lot of mileage out of something like libiberty uses, and declaring the things it can't handle to be bugs... -- Daniel Jacobowitz CodeSourcery, LLC

Re: problem with the scheduler in gcc-4.0-20040911

2005-03-08 Thread Daniel Jacobowitz
ld be a JUMP_INSN. Your backend is probably using emit_insn when it should be using emit_jump_insn. -- Daniel Jacobowitz CodeSourcery, LLC

Re: Questions about trampolines

2005-03-13 Thread Daniel Jacobowitz
t; in C? I believe they are used by Ada. Nested functions in other languages, presumably. > - Many backends do not support trampolines. Are trampolines > something that is ultimately being added to the backends? > - Do (theoretical?) alternatives to trampolines exist? I.e. something >

Re: Merging calls to `abort'

2005-03-14 Thread Daniel Jacobowitz
is often useful. So perhaps we do need an attribute, but I'm not sure which way the default should go. -- Daniel Jacobowitz CodeSourcery, LLC

Re: Profile-directed feedback and remote testing

2005-03-25 Thread Daniel Jacobowitz
objections, or better ideas? It would be nice if we could preserve the ability to run them - when your build directory is mounted on the target system at the same path, the tests will pass. Perhaps a compiler option, as Gabriel suggested... -- Daniel Jacobowitz CodeSourcery, LLC

Re: PCH and moving gcc binaries after installation

2005-03-30 Thread Daniel Jacobowitz
but now I'm a little less confident > that this will work. Has anyone else tried it? I would guess that they're just debugging information. The PCH shouldn't care. -- Daniel Jacobowitz CodeSourcery, LLC

Re: -fno-common

2005-03-31 Thread Daniel Jacobowitz
On Thu, Mar 31, 2005 at 07:33:53PM +0100, Dave Korn wrote: > Is the manual wording just slightly vague here, and both .data and .bss > are regarded as covered by the phrase "the data section of the object file"? Yes. -- Daniel Jacobowitz CodeSourcery, LLC

Re: PCH versus --enable-mapped-location

2005-03-31 Thread Daniel Jacobowitz
hat Geoff said. There are two relevant properties of GCed memory here: - Anything in GCed memory will be saved to the PCH - Anything in GCed memory will be overwritten by loading the PCH. There will be no references left after the PCH is loaded, unless they were living outside of GC. -- Daniel Jacobowitz CodeSourcery, LLC

Re: Use Bohem's GC for compiler proper in 4.1?

2005-04-01 Thread Daniel Jacobowitz
ing creating a generational collector using our existing accurate GC. I've been working on this on-and-off (mostly off at the moment, though). -- Daniel Jacobowitz CodeSourcery, LLC

Re: Use Bohem's GC for compiler proper in 4.1?

2005-04-02 Thread Daniel Jacobowitz
t of requiring some extra preprocesssing? They don't have the same design constraints or goals. For instance, the GTY machinery can determine the type of an object during tree walking; it does not need to store the type in memory. We also reuse the GTY machinery for precompiled header

Re: Using inline assembly with specific register indices

2005-04-04 Thread Daniel Jacobowitz
on the coprocessor, then you can use local register variables for this: long c2r0 asm ("c2r0"); If it doesn't, then you should probably not be telling GCC about them. Assuming i is constant: asm volatile ("cop2a c2r" STRINGIFY(i) ", c2r" STRINGIFY(j) ); -- Daniel Jacobowitz CodeSourcery, LLC

Re: Using inline assembly with specific register indices

2005-04-04 Thread Daniel Jacobowitz
t;=r" (var1) : "r" (var2)); > > I assume printf-like formating. Because it's unnecessary. See my previous message; you can find many examples on the Web of how to use CPP to stringify numbers. -- Daniel Jacobowitz CodeSourcery, LLC

Re: Obsoleting c4x last minute for 4.0

2005-04-05 Thread Daniel Jacobowitz
failing #1 at least. If you want these restrictions fixed, presumably you have some interest in some port that cares about them. Contribute that port, and maybe a usable simulator for them, and then people can fix what breaks - and test it. -- Daniel Jacobowitz CodeSourcery, LLC

Re: GCC 3.4.3

2005-04-08 Thread Daniel Jacobowitz
so I copied the SRCDIR install.sh > in and that made the top level installs work, but the sub-sub directories > were still looking for ../install-sh - so I copied it down another level FYI, this is already fixed in HEAD and the 3.4 branch. -- Daniel Jacobowitz CodeSourcery, LLC

Re: GCC 3.4.3

2005-04-08 Thread Daniel Jacobowitz
On Fri, Apr 08, 2005 at 10:13:38AM -0700, Joe Buck wrote: > On Fri, Apr 08, 2005 at 09:20:47AM -0400, Daniel Jacobowitz wrote: > > On Fri, Apr 08, 2005 at 09:05:17AM -0400, Ray Holme wrote: > > > Many thanks to all for the lessons on how NOT to make things you don't > &g

Re: Major bootstrap time regression on March 30

2005-04-08 Thread Daniel Jacobowitz
y you don't > keep times of libstdc++v3 build times. Not sure how to check > this, except maybe rolling back libstdc++ to March 30... Except that would have shown up in Jim's test... -- Daniel Jacobowitz CodeSourcery, LLC

Re: GCC 4.0 Ada Status Report (2005-04-09)

2005-04-09 Thread Daniel Jacobowitz
; is it available? Nope. Your best bet would be to turn up ulimit -c and look at a core dump. -- Daniel Jacobowitz CodeSourcery, LLC

Re: libiberty configure mysteries

2005-04-10 Thread Daniel Jacobowitz
> config.h is not HAVE_DECL_XXX, but HAVE_XXX. Therefore, it appears > that libiberty would be misdetecting declarations -- it thinks > something is missing, whereas in fact it is not. > > Am I missing something here? Try adding an AC_CHECK_DECLS call for basename. That will d

Re: libiberty configure mysteries

2005-04-10 Thread Daniel Jacobowitz
On Sun, Apr 10, 2005 at 05:52:01PM +0200, Gabriel Dos Reis wrote: > Daniel Jacobowitz <[EMAIL PROTECTED]> writes: > > | On Sun, Apr 10, 2005 at 05:02:36PM +0200, Gabriel Dos Reis wrote: > | > > | > Hi, > | > > | > The following is from libibtery.h > | &

Re: Getting rid of -fno-unit-at-a-time [Was Re: RFC: Preserving order of functions and top-level asms via cgraph]

2005-04-11 Thread Daniel Jacobowitz
On Mon, Apr 11, 2005 at 10:02:06AM -0700, Daniel Kegel wrote: > BTW, I hope -fno-unit-at-a-time doesn't go away until at least gcc-4.1.1 > or so... I still lean on that crutch. A user! Can you explain why? -- Daniel Jacobowitz CodeSourcery, LLC

Re: Getting rid of -fno-unit-at-a-time [Was Re: RFC: Preserving order of functions and top-level asms via cgraph]

2005-04-12 Thread Daniel Jacobowitz
On Tue, Apr 12, 2005 at 06:34:29PM +0200, Andi Kleen wrote: > Daniel Jacobowitz <[EMAIL PROTECTED]> writes: > > > On Mon, Apr 11, 2005 at 10:02:06AM -0700, Daniel Kegel wrote: > >> BTW, I hope -fno-unit-at-a-time doesn't go away until at least gcc-4.1.1 > >

Re: Patches for coldfire v4e

2005-04-13 Thread Daniel Jacobowitz
-* > > for fpgnulib.c. > > So it seems adding coldfire-linux is the only way > to address this... Why? Adding support (if it isn't already there) for something like --with-arch=coldfire should work just as well. -- Daniel Jacobowitz CodeSourcery, LLC

  1   2   3   4   5   6   7   >