Re: PATCH: Explicitly pass --64 to assembler on AMD64 targets

2005-06-14 Thread Daniel Jacobowitz
ag, CODE_64BIT}, > > but they only switch ASM encoding, not the output ELF file format as > they are intended for stuff where you really mix 32bit and 64bit code, > such as in the boot loader. So, we would need different directives for this purpose. I like the idea, though it woul

Re: [Gdb-discuss] Re: x86 Q: why aren't the SSE intrinsics always_inline?

2005-06-14 Thread Daniel Jacobowitz
[Redirecting off gdb-discuss again] On Tue, Jun 14, 2005 at 09:12:39PM -0400, Fred Fish wrote: > On Tuesday 14 June 2005 10:55, Daniel Jacobowitz wrote: > > better support for inline functions, which is already on the gdb > > roadmap > > Where's the roadmap? I'

Re: Visual C++ style inline asms

2005-06-14 Thread Daniel Jacobowitz
. Not all of us use Microsoft compilers. > Didn't RTH objected the last time? You can find plenty of information about this in the archives. I recall Stan Shebs discussing it at length. -- Daniel Jacobowitz CodeSourcery, LLC

Re: named address spaces (update)

2005-06-29 Thread Daniel Jacobowitz
name. BTW, you may get more comments if all of your text is before all of the patches; I nearly missed three quarters of your message :-) -- Daniel Jacobowitz CodeSourcery, LLC

Re: Statement expression with function-call variable lifetime

2005-06-29 Thread Daniel Jacobowitz
; lifetime of the statement expression? Yes, that's correct (and the only way to do this). -- Daniel Jacobowitz CodeSourcery, LLC

Re: updating libtool, etc.

2005-06-30 Thread Daniel Jacobowitz
Do you mean "do mind" or "don't mind" there? If you want to update libtool, you get to play the all-of-src-uses-it game. I have been updating src directories to more recent autoconf versions in the hope of getting rid of our outdated libtool someday. I believe the only remaining holdout is newlib, but I didn't check everything. -- Daniel Jacobowitz CodeSourcery, LLC

Re: updating libtool, etc.

2005-07-01 Thread Daniel Jacobowitz
ch over one at a time. Somebody who cares really has to update newlib soon, though! -- Daniel Jacobowitz CodeSourcery, LLC

Re: A trouble with libssp in one-tree builds

2005-07-05 Thread Daniel Jacobowitz
come up with a way to build the compiler and libraries at different times. -- Daniel Jacobowitz CodeSourcery, LLC

Re: move specs documentation to internals manual?

2005-07-08 Thread Daniel Jacobowitz
someone should compare the two existing bits of documentation first, since IIRC I've seen people add to one but not the other. -- Daniel Jacobowitz CodeSourcery, LLC

Re: Reducing debug info for C++ ctors/dtors

2005-07-11 Thread Daniel Jacobowitz
te instances. That is probably what you want for stabs: have one of the base/complete ctors, but not both. The effect on dwarf output might be more interesting. GDB just ignores all but one of each set in stabs anyway. -- Daniel Jacobowitz CodeSourcery, LLC

Re: Reducing debug info for C++ ctors/dtors

2005-07-11 Thread Daniel Jacobowitz
t it is a useful option to have available. Thanks for the explanation. That makes more sense. Personally, if you're going to do this, I don't see why you're keeping debug info for methods; either ditch all artificial methods (including defaulted constructors but not manually specified constructors), or ditch all methods. -- Daniel Jacobowitz CodeSourcery, LLC

Re: [toplevel] Update COPYING.LIB from FSF

2005-07-15 Thread Daniel Jacobowitz
e change of "Library" to "Lesser" in the name. Yes - Joe, I believe you're thinking of the latest revisions of the GPL, which do only differ in the address. LGPL 2.0 -> 2.1 predates the move by a while. -- Daniel Jacobowitz CodeSourcery, LLC

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-19 Thread Daniel Jacobowitz
toolchains. Or some third party linker may load DLLs relative to its install path. I'd say that using cp for mingw32 is not a huge step backwards. If someone triggers a failure case, then we can do more work on it then. -- Daniel Jacobowitz CodeSourcery, LLC

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-20 Thread Daniel Jacobowitz
On Wed, Jul 20, 2005 at 10:10:03PM -0400, Christopher Faylor wrote: > On Tue, Jul 19, 2005 at 04:21:04PM -0400, Daniel Jacobowitz wrote: > >On Tue, Jul 19, 2005 at 04:14:04PM -0400, Christopher Faylor wrote: > >>Ok. Given that 'cp' was an acceptable fallback in the

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-20 Thread Daniel Jacobowitz
by default and avoid the need for this kind of > system-specific behavior in the makefile? On other systems, this makes the GCC build not relocatable at install time. I don't know if that is true on mingw32 also, but I presume so. -- Daniel Jacobowitz CodeSourcery, LLC

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-20 Thread Daniel Jacobowitz
to use this feature. GCC usually passes ld > whatever path specifications it needs. I build mingw cross toolchains with sysroots :-) That'll be affected by this change. Of course, currently I cross-build them from --build=i686-linux, so it doesn't affect me directly. -- Daniel Jacobowitz CodeSourcery, LLC

Re: c-c++-common testsuite

2009-08-07 Thread Daniel Jacobowitz
sfully pick up files from another directory? -- Daniel Jacobowitz CodeSourcery

Re: armv4t

2009-09-21 Thread Daniel Jacobowitz
d out where to look for a functional version of the gcc > cross compiler for this cpu. If you can't build GCC for your target, I suggest you either use a help list for that purpose (gcc-help or the crosstool or buildroot lists), or find a pre-compiled ARM Linux toolchain. -- Daniel Jacobowitz CodeSourcery

Re: Headsup: Rogue or hacked account spamming via RT? re: [gnu.org #263454]

2009-09-30 Thread Daniel Jacobowitz
" links at the above > URLs) these appear to have genuinely originated at rt.gnu.org via the web > interface: Isn't this more likely the RT admins closing spam reports? -- Daniel Jacobowitz CodeSourcery

Re: LTO and LTO Plugin Reviewers

2009-10-07 Thread Daniel Jacobowitz
On Wed, Oct 07, 2009 at 04:29:29PM +0200, Basile STARYNKEVITCH wrote: > I suppose LTO plugins means plugin dlopen-ed in lto-plugin/lto-symtab.c It sounds to me like this confusion comes from "LTO plugins". Isn't it just "LTO plugin"? That is, a specific pl

Re: LTO and the inlining of functions only called once.

2009-10-10 Thread Daniel Jacobowitz
eally aimed at compiler developers. I think we would benefit from more "what is the compiler doing to my code" options (producing "note:"); things like which functions were inlined, which loops unrolled. We do already have this for vectorization. -- Daniel Jacobowitz CodeSourcery

Re: Issues of the latest trunk with LTO merges

2009-10-12 Thread Daniel Jacobowitz
o put them into a separate > file so the linker won't produce undefined references when they are not > actually used by lto1. Yes. Take a look at config/arm/arm-c.c, which does not go into libbackend.a. -- Daniel Jacobowitz CodeSourcery

Re: LTO and the inlining of functions only called once.

2009-10-13 Thread Daniel Jacobowitz
nostics are only of > limited use without (say) #pragma unroll. Not too limited, I'd say. I've seen a lot of developers willing to mutilate their critical loops to accomodate the compiler. -- Daniel Jacobowitz CodeSourcery

Re: LTO and the inlining of functions only called once.

2009-10-14 Thread Daniel Jacobowitz
other > functions are not considered to be called once, perhaps a visibility > issue. We also should say what limit was reached on inlining hlprog. Maybe because of whatever did that cloning? -- Daniel Jacobowitz CodeSourcery

Re: -use-linker-plugin passed to ld

2009-10-26 Thread Daniel Jacobowitz
his? > > The color that spells -fuse-linker-plugin seems better, in line > with other options. How it's implemented, especially regarding > having to ignore it in middle-end is unimportant wrt. spelling, > IMVHO. I agree with H-P. -- Daniel Jacobowitz CodeSourcery

Re: (C++) mangling vector types

2009-11-12 Thread Daniel Jacobowitz
ling for other vector sizes. > >3) Switch to the new mangling > > I vote for 2. Does anyone know of another relevant compiler? What does it do? For instance, if someone can hand me a test case, I could check how ARM's compilers mangle it (or don't). -- Daniel Jacobowitz CodeSourcery

Re: WTF?

2009-11-25 Thread Daniel Jacobowitz
On Wed, Nov 25, 2009 at 08:31:27PM +0100, Richard Guenther wrote: > And patch doesn't have an option to ignore whitespace changes. Sure it does. -l (for loose, or --ignore-whitespace). QUILT_PATCH_OPTS for quilt. -- Daniel Jacobowitz CodeSourcery

Re: TLS support on ARM

2009-12-03 Thread Daniel Jacobowitz
ntation caller and __aeabi_read_tp() must run in > the same mode. I don't believe that this is true. In what way is it not safe? -- Daniel Jacobowitz CodeSourcery

Re: TLS support on ARM

2009-12-03 Thread Daniel Jacobowitz
blems. Do you have a concrete problem? > Is the implementation still incomplete? No. It's been finished for two years or more. -- Daniel Jacobowitz CodeSourcery

Re: detailed comparison of generated code size for GCC and other compilers

2009-12-14 Thread Daniel Jacobowitz
esn't. You may have heard of a commercial testsuite built on this principle :-) -- Daniel Jacobowitz CodeSourcery

Re: New RTL instruction for my port

2009-12-14 Thread Daniel Jacobowitz
tion > > However, the solution seems to work, except in O0, where I get this error: This means whatever is calling gen_newrtl to create the insn is not checking operand predicates first. That's probably code you wrote too. -- Daniel Jacobowitz CodeSourcery

Re: New RTL instruction for my port

2009-12-14 Thread Daniel Jacobowitz
at and how do I handle the cost then ? >- Just say that an unspec has a higher cost? Are you really talking about rtx_costs? It sounds to me more like you want to change your scheduler. -- Daniel Jacobowitz CodeSourcery

Re: New RTL instruction for my port

2009-12-15 Thread Daniel Jacobowitz
se EPILOGUE_USES to say that changes to the accumulator should not be discarded. You could also use unspec_volatile instead of unspec, but that may further inhibit optimization. -- Daniel Jacobowitz CodeSourcery

Re: How to implement pattens with more that 30 alternatives

2009-12-22 Thread Daniel Jacobowitz
For the sake of conversation I'll call them Alice and Bob... no, I'll call them TARGET_MAVERICK and TARGET_NEON. Now you need a minimum of three copies of the mov pattern that are mostly the same. It'd be nice if there was a way to compose instruction patterns :-( -- Daniel Jacobowitz CodeSourcery

Re: How to implement pattens with more that 30 alternatives

2009-12-22 Thread Daniel Jacobowitz
h weird operand predicates. For instance, in a patch I'm working on for ARM cmpdi patterns, I ended up needing "cmpdi_lhs_operand" and "cmpdi_rhs_operand" predicates because Cirrus and VFP targets accept different constants. Automatically generating that would be a bit excessive though. -- Daniel Jacobowitz CodeSourcery

Re: How to implement pattens with more that 30 alternatives

2009-12-22 Thread Daniel Jacobowitz
the 64-bit insns > it still fails the openssl testsuite. Interesting, I knew you had a lot of Cirrus patches but I didn't realize the state of the checked-in code was so bad. Is what's there useful or actively harmful? -- Daniel Jacobowitz CodeSourcery

Re: PATCH: Support --enable-gold=both --with-linker=[bfd|gold]

2010-01-05 Thread Daniel Jacobowitz
of host systems where shell scripts aren't a viable option for ld. Why make everyone write the wrapper script? Makes sense to me to have gcc decide. -- Daniel Jacobowitz CodeSourcery

Re: [ARM] Neon / Ocaml question

2010-01-11 Thread Daniel Jacobowitz
can also ignore it. -- Daniel Jacobowitz CodeSourcery

Re: Obsoleting IRIX < 6.5, Solaris 7, and Tru64 UNIX < V5.1

2010-01-30 Thread Daniel Jacobowitz
port for o32 entirely. I don't think anyone's suggested that. o32 is the default ABI for 32-bit MIPS GNU/Linux targets which are still in wide use. -- Daniel Jacobowitz CodeSourcery

Re: insn length attribute and code size optimization

2010-02-03 Thread Daniel Jacobowitz
tion to select alternatives; (C) branch shortening to determine branch alternatives. I'm curious if anyone thinks there's a generic solution to this (that doesn't involve a complete instruction selection rewrite :-). -- Daniel Jacobowitz CodeSourcery

Re: insn length attribute and code size optimization

2010-02-10 Thread Daniel Jacobowitz
you even know what the registers are. -- Daniel Jacobowitz CodeSourcery

Re: Gprof can account for less than 1/3 of execution time?!?!

2010-02-22 Thread Daniel Jacobowitz
any support for shared libraries. It will ignore profiling samples that lie outside the executable. And in this case, that includes _mcount (which is in libc.so.6). That's probably why. -- Daniel Jacobowitz CodeSourcery

Re: [RFH] A simple way to figure out the number of bits used by a long double

2010-02-26 Thread Daniel Jacobowitz
for now at least. Too bad. Despite all that exchange, I don't think you ever answered Andreas's question - at least not in a way that I could understand. A size of what? The size of the *type* on x86 is 16; the size of the *data bits* is 10. But what cares about the size of the d

Re: Use the wctype builtins functions

2010-03-12 Thread Daniel Jacobowitz
;s a prototype: http://sourceware.org/ml/gdb-patches/2006-10/msg0.html -- Daniel Jacobowitz CodeSourcery

Unexpected output constraints

2010-04-01 Thread Daniel Jacobowitz
ICE trying to emit (set (const) (reg)). It seems to me that the problem is marking a register in the RHS of a set as an output constraint. The reg becomes function_invariant_p and chaos ensues. Is this right? If so, is there somewhere that should assert if an operand's constraint is marked as an output, but not somewhere that the RTL allows modification of the operand? -- Daniel Jacobowitz CodeSourcery

Re: Unexpected output constraints

2010-04-01 Thread Daniel Jacobowitz
On Fri, Apr 02, 2010 at 12:06:28AM +0100, Bernd Schmidt wrote: > On 04/01/2010 10:54 PM, Daniel Jacobowitz wrote: > > I'm debugging a Thumb-2 glibc build failure on trunk for > > arm-none-linux-gnueabi. I believe it's from Richard Earnshaw's > > 2010-02-01 pa

Re: Unexpected output constraints

2010-04-01 Thread Daniel Jacobowitz
to tears if they're both outputs. Hrm. Yeah, those really should be two pseudos. I'll fix that. -- Daniel Jacobowitz CodeSourcery

Re: Release novops attribute for external use?

2010-04-12 Thread Daniel Jacobowitz
d are "externally visible". Then you can think about it as "does not alias any non-device memory", or any number of variants on that. -- Daniel Jacobowitz CodeSourcery

Re: Code assistance with GCC

2010-04-21 Thread Daniel Jacobowitz
just a parser and a syntax tree). -- Daniel Jacobowitz CodeSourcery

Re: role of "register" C keyword?

2010-05-06 Thread Daniel Jacobowitz
without optimization. There's some unique GDB tests that use this. It causes them to be live between statements in a machine register instead of always stored in stack slots. This might not be current information though. -- Daniel Jacobowitz CodeSourcery

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

Combined tree builds for mingw32

2007-05-07 Thread Daniel Jacobowitz
scope Nothing pulls in the definition of _U, _N, etc before that point. I'm sure it's not as broken as it seems, so I must be missing something... at one point, ./configure --target=i586-mingw32 --with-newlib was all it took. -- Daniel Jacobowitz CodeSourcery

Re: Combined tree builds for mingw32

2007-05-07 Thread Daniel Jacobowitz
insup/cygwin/include/ctype.h /space/fsf/commit/src/winsup/mingw/include/ctype.h That third one does not define _U. It uses _UPPER instead. Does this mean --with-newlib does not work for mingw32? (Note, you can't build without it either.) -- Daniel Jacobowitz CodeSourcery

Re: Combined tree builds for mingw32

2007-05-07 Thread Daniel Jacobowitz
On Mon, May 07, 2007 at 01:37:51PM -0400, Daniel Jacobowitz wrote: > That third one does not define _U. It uses _UPPER instead. Does this > mean --with-newlib does not work for mingw32? (Note, you can't build > without it either.) That does appear to be the case. With --with-

Re: Combined tree builds for mingw32

2007-05-07 Thread Daniel Jacobowitz
On Mon, May 07, 2007 at 07:47:01PM +0200, Paolo Carlini wrote: > Daniel Jacobowitz wrote: > > > The failing command is trying to compile the PCH. This means that > > we're including a large number of libstdc++ headers in a row. One of > > the first ones pulls in

Re: Combined tree builds for mingw32

2007-05-07 Thread Daniel Jacobowitz
w32*) AC_CHECK_HEADERS([sys/types.h locale.h float.h]) GLIBCXX_CHECK_LINKER_FEATURES GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT Those are the "bad" tests. -- Daniel Jacobowitz CodeSourcery

Re: Combined tree builds for mingw32

2007-05-07 Thread &#x27;Daniel Jacobowitz'
really silly typos (like --with-libs=/usr/i586-mingw32msvc/include <--). So I think crossconfig.m4 should be fixed for mingw32 to support combined tree builds, but it's not as big a problem as I thought it was. I'll take a stab at fixing crossconfig.m4 if I can find a chance. -- Daniel Jacobowitz CodeSourcery

Re: gcc 4.2 breaks debugging anonymous namespace

2007-05-25 Thread Daniel Jacobowitz
ncy on DW_AT_MIPS_linkage_name is actually a bug in GDB; I worked on this for a while, but the patches had some rough spots and I never finished them. I hope I can come back to it some day soon. -- Daniel Jacobowitz CodeSourcery

Re: Dynamically linking against GMP and MPFR

2007-05-25 Thread Daniel Jacobowitz
developer convenience, but GCC is a perfectly normal dynamically linked program and should behave like one IMO. -- Daniel Jacobowitz CodeSourcery

Re: Dynamically linking against GMP and MPFR

2007-05-25 Thread Daniel Jacobowitz
ow to answer this question. Bootstrapping is an unrelated problem, and the compiler is not a vital runtime component of the system, so its dependencies do not need to be exceptionally robust in the way that glibc's or even libstdc++'s do. If you were talking about linking libstdc++ to MPFR I'd have a different story to tell. -- Daniel Jacobowitz CodeSourcery

Re: Dynamically linking against GMP and MPFR

2007-05-25 Thread Daniel Jacobowitz
certainly going to ship compilers statically linked to MPFR / GMP; we already have machinery to build them that way. On the other hand I am positive Debian will not ship its system compiler that way; Debian policy is quite clear on this, dynamic libraries should always be used. -- Daniel Jacobowitz CodeSourcery

DWARF-2 unwinder versus MIPS n32

2007-06-07 Thread Daniel Jacobowitz
to trigger. REG_SAVED_VAL_OFFSET brings us here. Does anyone see a way to fix this that doesn't involve making context->reg big enough - and is _Unwind_Word always at least as large as _Unwind_Ptr (i.e. mode(word) always at least as large as mode(pointer))? -- Daniel Jacobowitz CodeSourcery

Re: DWARF-2 unwinder versus MIPS n32

2007-06-07 Thread Daniel Jacobowitz
ardware to magically appear on my door step. No, qemu has 64-bit support but I don't think it's mature enough to boot a Linux kernel yet. It might be; Thiemo and Aurelien were working on it. -- Daniel Jacobowitz CodeSourcery

Re: [RFC] Aggregate mapping

2007-06-11 Thread Daniel Jacobowitz
u might make a mistake. > Nor am I planning to use libelf: it's too straightforward to find the ELF > sections I need and to read the ELF header. Use of libelf seems too > top-heavy, > although elf.h is very valuable to me. If you write more complicated tools, you will want libelf later - you might need to get at relocation data. -- Daniel Jacobowitz CodeSourcery

Re: Backtrace() called inside a signal handler traps while tracking an invalid function call.

2007-06-13 Thread Daniel Jacobowitz
On Thu, Jun 14, 2007 at 02:24:19AM +0530, supriya kannery wrote: > Is this scenario, of calling backtrace() on a stack containing invalid > function > pointer, a supported one? In my opinion, no. Attach a debugger instead. -- Daniel Jacobowitz CodeSourcery

Re: Please fork soft-fp from libc

2007-06-14 Thread Daniel Jacobowitz
> That said, as none of the routines in question > > ({eq,ge,le,unord}[sdxt]f2) are actually used by sparc32/sparc64/alpha that > > use glibc soft-fp code, Could anyone explain why this change was made? It seems like SItype would be sufficient everywhere, and I can't see any

Re: RFC: Make dllimport/dllexport imply default visibility

2007-06-15 Thread Daniel Jacobowitz
sn't make a lick of sense to me. If the type is hidden, how on earth can it get a member function _of that type_ from another library? That library would, by definition, have to have a type of the same name... but it would be a "different" type. -- Daniel Jacobowitz CodeSourcery

Re: RFC: Make dllimport/dllexport imply default visibility

2007-06-17 Thread Daniel Jacobowitz
t this part. The minimum I'd want to accept this code would be a complete and useful example in the manual; since Mark and Danny say this happens a lot on Windows, I'm sure there must be one. -- Daniel Jacobowitz CodeSourcery

<    1   2   3   4   5   6   7   >