Re: Abt -fpic, -fPIC Option

2006-10-24 Thread Andreas Schwab
to 32k per object. With -fPIC the offset is 32 bits, thus there is no limit. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: strict aliasing question

2006-11-10 Thread Andreas Schwab
correct result. Which it does. It will load the value from memory, true, but who says that the store to memory will happen before that? The compiler is allowed to reorder the statements since it "knows" that foo and *arg cannot alias. Andreas. -- Andreas Schwab, SuSE Lab

Re: strict aliasing question

2006-11-11 Thread Andreas Schwab
ect type, and you have strictly conforming code. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: strict aliasing question

2006-11-12 Thread Andreas Schwab
Howard Chu <[EMAIL PROTECTED]> writes: > As I recall, we chose int[] for alignment reasons, figuring we'd have no > guarantees on the alignment of a char[]. Neither you have on int[]. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfe

Re: Implicit type conversion check

2006-11-30 Thread Andreas Schwab
Pierre Chatelier <[EMAIL PROTECTED]> writes: > Is there any plan to enforce warnings about implicit type conversion ? See <http://gcc.gnu.org/wiki/Wcoercion>. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg,

Re: failed to compile gcc-4.3-20061209/gcc/varasm.c on OSX 10.3

2006-12-11 Thread Andreas Schwab
Steve Ellcey <[EMAIL PROTECTED]> writes: > Do you know if there a GCC bug report for this defect? I couldn't find > one in bugzilla. I am seeing this problem with IA64 HP-UX on ToT. Should be fixed now. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Li

Re: GCC optimizes integer overflow: bug or feature?

2006-12-20 Thread Andreas Schwab
o->bar = You are not describing a C compiler. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

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

2006-12-31 Thread Andreas Schwab
ore the padding bits. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: Mis-handled ColdFire submission?

2007-01-10 Thread Andreas Schwab
a different way. IMHO this is a good example of how to split a big change into smaller, functionally more or less independent parts. The only problem I see is that one can easily lose track of which patches were already reviewed. Perhaps it would have been better to send them in smaller batches.

Re: bug management: WAITING bugs that have timed out

2007-01-12 Thread Andreas Schwab
member having seen any case of a bug being _closed_ just because the platform is not a primary one. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5

Re: Top level libgcc checked in

2007-01-20 Thread Andreas Schwab
7;s just that libgcc/config.host does not know anything about ia16-unknown-elf. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: How to enforce the use of libjava/scripts/jar?

2007-01-21 Thread Andreas Schwab
Gerald Pfeifer <[EMAIL PROTECTED]> writes: > My question now is: Is there any way to enforce the use and installation > of our own copy of ${PREFIX}/bin/jar${PROGRAMSUFFIX}? Set JAR to no before configuring. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux P

Re: Any hints on this problem? Thanks!

2007-02-09 Thread Andreas Schwab
"吴曦" <[EMAIL PROTECTED]> writes: > Now, my question becomes clear. How to make my inserted function call > not affect the orginal state of program? Make sure that the called function restores the original state of the program before it returns. Andreas. -- And

Re: Is compare no longer enabled by default?

2007-02-11 Thread Andreas Schwab
"H. J. Lu" <[EMAIL PROTECTED]> writes: > Now, compare stage2 and stage3 is not longer done for > "make bootstrap". Since when? Works fine for me. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnb

Re: gcc (lack of) return type warnings

2007-02-14 Thread Andreas Schwab
rn 0 when there is no explicit return statement? If the return value of a function is never used then it is perfectly valid to fall through the end of it. For main, the default action is to return 0 since C99. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products Gmb

Re: gcc (lack of) return type warnings

2007-02-14 Thread Andreas Schwab
Tobias Pflug <[EMAIL PROTECTED]> writes: > That's not desirable is it ? If you are concerned, you are free to use -Wreturn-type. There are many types of undefined behaviour that are not warned by default. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux

Re: gcc and gmp/mpfr - order of build

2007-03-05 Thread Andreas Schwab
here other options? Option C: unpack gmp and mpfr sources in the gcc toplevel and bootstrap all of gcc, gmp, mpfr together. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756

Re: Strange Behavior

2007-03-08 Thread Andreas Schwab
orum instead. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: Updating libtool in GCC and srctree

2007-03-08 Thread Andreas Schwab
I copied that to the top level of > the src tree and then removed libtool.m4, You'll still need libtool.m4. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D

Re: Updating libtool in GCC and srctree

2007-03-08 Thread Andreas Schwab
re? According to > <http://www.gnu.org/software/libtool/manual.html#Distributing> we > shouldn't need libtool.m4 in our package. You still need the macros when you regenerate configure. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfel

Re: Updating libtool in GCC and srctree

2007-03-09 Thread Andreas Schwab
equivalents in CVS > HEAD (this is the policy in codingconventions.html), to use 1.5 while > avoiding regressions would require auditing every local change since > libtool 1.5 branched to see if it's in 1.5.22. >From what I can see almost all of the local changes in GCC are from

Re: Updating libtool in GCC and srctree

2007-03-09 Thread Andreas Schwab
Steve Ellcey <[EMAIL PROTECTED]> writes: > $ aclocal > autom4te: unknown language: Autoconf-without-aclocal-m4 > aclocal: autom4te failed with exit status: 1 Looks like you have an out-of-date autom4te.cache. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linu

Re: libgfortran Makefile question (using latest libtool)

2007-03-21 Thread Andreas Schwab
what I want to do is add --tag=CC to the libtool call. I think that should already be the default. Try running ./libtool --config and look for the value of CC. That value should match (modulo whitespace) the command line that is actually used. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTEC

Re: A question on ACX_BUGURL

2007-03-23 Thread Andreas Schwab
"H. J. Lu" <[EMAIL PROTECTED]> writes: > REPORT_BUGS_TO="<$1>" > - REPORT_BUGS_TEXI="@uref{$1}" > + REPORT_BUGS_TEXI="@uref{`echo $1 | sed 's/@/@@/g'`}" You need to quote $1. Andreas. -- Andreas Schwab,

Re: A question on ACX_BUGURL

2007-03-26 Thread Andreas Schwab
Paolo Bonzini <[EMAIL PROTECTED]> writes: >> + no) BUGURL=""; > > just BUGURL= (no useless trailing semicolon). > >> + case ${BUGURL} in > > Please quote this as "$BUGURL". That would be useless quotes. :-) Andreas. -- Andreas Sch

Re: nested backticks in Makefile

2007-03-27 Thread Andreas Schwab
"Dave Korn" <[EMAIL PROTECTED]> writes: > Or how about using ':=' to force immediate evaluation? That won't help, since backquotes are only expanded by the shell, not by make. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products Gmb

Re: Bugs in operations of "long" type from GCC-3.4.6 32 bit.

2007-03-27 Thread Andreas Schwab
. Error in multiply of long variables. (it's not true that c = -1486618624). %ld is not the correct format for a value of type long long, causing undefined behaviour. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key

Re: Bugs in operations of "long" type from GCC-3.4.6 32 bit.

2007-03-27 Thread Andreas Schwab
rect format for a value of type long long, causing >> undefined behaviour. > > %ld means long format for %d, is it wrong? %ld is for long, not long long. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP

Re: Build a function call with variable number of arguments

2007-03-29 Thread Andreas Schwab
"François-Xavier Coudert" <[EMAIL PROTECTED]> writes: > Could someone give me a pointer to doc or code about building a > function decl and function call expr that take a variable number of > arguments (like printf)? See c-common.c:def_fn_type for the decl. Andreas.

Re: gcc regression on Darwin

2007-04-01 Thread Andreas Schwab
[EMAIL PROTECTED] (Dominique Dhumieres) writes: > If yes what would be the best format? See <http://gcc.gnu.org/bugs.html>. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7

Re: Integer overflow in operator new

2007-04-08 Thread Andreas Schwab
"Dave Korn" <[EMAIL PROTECTED]> writes: > Wouldn't using -ftrapv do what we want? -ftrapv only modifies signed arithmetic. Unsigned arithmetic never traps. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 N

Re: peephole patterns are not matching

2007-04-12 Thread Andreas Schwab
(match_operand:SF 1 "float_reg" "f")) >(set (match_operand:SF 2 "float_reg" "=f") > (match_operand:SF 3 "data_reg" "d"))] The patterns match mode SF, but the insns have mode SQ. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL

Re: bitfield handling on m68k broken

2007-04-24 Thread Andreas Schwab
a > little insane lately, e.g. 2.95/3.4 produce this code: > > retmeK: > link.w %a6,#0 > move.l 8(%a6),%d0 > unlk %a6 > rts FWIW, I get this very code with 4.3.0 20070122 when compiling without optimisation. Andreas. -- Andreas Schwab, S

Re: GCC -On optimization passes: flag and doc issues

2007-04-28 Thread Andreas Schwab
René Rebe <[EMAIL PROTECTED]> writes: > sed "-i" is an "evil" GNU extension, likewise :-) Also a FreeBSD extension. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 5

Re: GCC -On optimization passes: flag and doc issues

2007-04-30 Thread Andreas Schwab
for that matter. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: GCC -On optimization passes: flag and doc issues

2007-05-01 Thread Andreas Schwab
Please take this up with the CSiBE people. This is highly off-topic here. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for some

Re: AMD64. sign extension correct?

2005-02-27 Thread Andreas Schwab
pe of the multiplication expression is unsigned int, because signed int and unsigned int have the same integer conversion rank, thus the common type is unsigned int and the signed int operand is converted to unsigned int. See 6.3.1.8 "Usual arithmetic conversions" in the C standard.

Re: request for timings - makedepend

2005-03-07 Thread Andreas Schwab
[EMAIL PROTECTED]: 12.154user 1.073system 0m15.372selapsed 86.05%CPU Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something compl

Re: Bug 20375 - ia64 varadic regression

2005-03-08 Thread Andreas Schwab
> void *m[7]; >> }; >> >> struct C; >> >> void f(struct C *c, float f, union U, ...) >> { } > > I almost want to say this is undefined as there is no way to get > at the varaidic arguments. If you never invoke va_start this is not a problem. Andreas.

Re: Questions about trampolines

2005-03-13 Thread Andreas Schwab
Øyvind Harboe <[EMAIL PROTECTED]> writes: > - AFAICT, the cris target is saving the value of the > static chain register in the trampoline. How can that work > with recursive functions? Every stack frame has its own trampoline. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL

Re: Merging calls to `abort'

2005-03-14 Thread Andreas Schwab
call, > if handled this way, requires two string constants that are redundant The __FILE__ strings will be combined, so you get a most one of it for each object file. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fin

Re: Questions about trampolines

2005-03-14 Thread Andreas Schwab
ons in C). > > This is your opinion, but I've yet to find an actual piece of code in a > real project that uses that extension. glibc once did, but that has been fixed long ago. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5

Re: Questions about trampolines

2005-03-14 Thread Andreas Schwab
es are never taken. > >> The extension is not present in GNU C++, only in GNU C. > > Well, Andreas Schwab seems to think this is no longer the case. Actually glibc still uses nested functions, but does not take the address of those being left. The only reason that nested functions

Re: Bootstrap failure in varasm.c at assemble_alias

2005-03-17 Thread Andreas Schwab
of type > ../../gcc/gcc/varasm.c: In function `assemble_alias': > ../../gcc/gcc/varasm.c:4524: error: parse error before '<<' token Remote the conflict markers. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg

Re: Problem running optimized IA64 code that invokes hand-coded assembly language function

2005-03-18 Thread Andreas Schwab
cc assumes in this respect. GCC assumes exactly what is specified in the IA64 ABI. Everything else would be a bug. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B

Re: Bootstrap fails on HEAD 4.1 for AVR

2005-04-03 Thread Andreas Schwab
Björn Haase <[EMAIL PROTECTED]> writes: > -c ../../gcc/gcc/config/avr/libgcc.S -c libgcc/./_mulqi3.s ^^^ Is this "-c" a typo? It surely doesn't come from mklibgcc.in. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]

Re: Can't build gcc cvs trunk 20050409 gnat tools on sparc-linux: tree check: accessed operand 2 of view_convert_expr with 1 operands in visit_assignment, at tree-ssa-ccp.c:1074

2005-04-09 Thread Andreas Schwab
VIEW_CONVERT_EXPR which has only one operand. It's not clear whether this patch is actually connected to PR18664 at all. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756

Re: Can't build gcc cvs trunk 20050409 gnat tools on sparc-linux: tree check: accessed operand 2 of view_convert_expr with 1 operands in visit_assignment, at tree-ssa-ccp.c:1074

2005-04-09 Thread Andreas Schwab
Laurent GUERBY <[EMAIL PROTECTED]> writes: > Should I replace ",1" by ",0" or is something more ambitious needed? I tried that on ia64, and the result was a miscompiled stage2 compiler. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products

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 Andreas Schwab
Andrew Haley <[EMAIL PROTECTED]> writes: > That's my guess. Usually, C++ users compile one source file at a > time, Unless you use --enable-final in KDE. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürn

Re: Novell thinks you are spam

2005-04-18 Thread Andreas Schwab
ecause he is using an obsolete mailer that cannot even use 4-digit years in the date. Some people like to live in the last millennium. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756

Re: GCC 4.1: Buildable on GHz machines only?

2005-04-28 Thread Andreas Schwab
Andrew Haley <[EMAIL PROTECTED]> writes: > If ld can't accept a list of files from a stream but is instead > limited by command line length, then that *is* the fault of ld. You can always use a linker script. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Li

Re: GCC 4.1: Buildable on GHz machines only?

2005-04-29 Thread Andreas Schwab
static linkage. > > Try putting > > enable_shared=no > > in configure.ac somewhere before AC_PROG_LIBTOOL. I think you rather want AC_DISABLE_STATIC. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerpr

Re: PPC 64bit library status?

2005-04-30 Thread Andreas Schwab
Bill Northcott <[EMAIL PROTECTED]> writes: > Even if the libraries build, will libffi or libobjc work on 64 bit > PPC Since I don't have access to a 64 bit PPC machine I cannot > test this. They appear to work fine on powerpc64-linux. Andreas. -- Andreas Schwa

Re: PPC 64bit library status?

2005-05-03 Thread Andreas Schwab
Mike Stump <[EMAIL PROTECTED]> writes: >> 2. libgfortran.h line 63 defines int8_t. > > Ick! Sounds like the configure mechanism went haywire. This can happen when you reconfigure. See <http://gcc.gnu.org/ml/gcc-patches/2004-12/msg00874.html> for a possible patch. Andr

Re: Mail. Mail! Mail?

2005-05-09 Thread Andreas Schwab
C shell script can send reports > using the Mail program using an MTA possibly involving inetd, ... If you prefer you can do telnet relay smtp instead. :-) Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerp

Re: GCC 3.4.4 RC2

2005-05-15 Thread Andreas Schwab
em is that this change is missing. I've checked in the obvious fix, tested on powerpc-linux. Andreas. 2005-05-15 Andreas Schwab <[EMAIL PROTECTED]> * testsuite/Makefile.am (check-local): Really remove. * testsuite/Makefile.in: Regenerated

Re: GCC 3.4.4 RC2

2005-05-15 Thread Andreas Schwab
the unapproved checkin. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: gcc.dg/compat/struct-layout-1.exp does not supported installed-compiler testing

2005-05-17 Thread Andreas Schwab
Ian Lance Taylor writes: > Richard Guenther <[EMAIL PROTECTED]> writes: > >> Note how >> 1. it uses $(CC) for building, not the built compiler > > That is correct, as this program is run on the build system to > generate test cases. Shouldn't it use CC_

Re: libgcc_s.so.1 exception handling behaviour depending on glibc version

2005-05-18 Thread Andreas Schwab
arts on the older system. Moving objects built on the newer system to the older system is generally not supported. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 21

Re: libgcc_s.so.1 exception handling behaviour depending on glibc version

2005-05-18 Thread Andreas Schwab
all kinds of nasty conflicts. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: tree ssa and type issues

2005-05-21 Thread Andreas Schwab
t; This indeed looks wrong - and could lead to real memory corruption > :-(. Since bitmap is also a pointer, sizeof (bitmap) == sizeof (bitmap *). > If this is wrong, he should be changed on the 4.0 branch as well, While it's wrong, it's harmless. Andreas. -- Andreas Schwa

Re: Compiling GCC with g++: a report

2005-05-24 Thread Andreas Schwab
ointer types. > > I hope that doesn't require (void *) casts for pointer arguments > passed to the likes of memcpy... Only the (void*) -> (any*) direction requires a cast in C++, the other direction is still converted implicitly. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTEC

Re: Ada Status in mainline

2005-05-25 Thread Andreas Schwab
quicker to ask :-) > > I may be mistaken, but didn't GCC miscompile the Ada front end because > of this VRP bug here: http://gcc.gnu.org/PR21332 ? ITYM http://gcc.gnu.org/PR21029 Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5,

Re: Ada Status in mainline

2005-05-25 Thread Andreas Schwab
Jeffrey A Law <[EMAIL PROTECTED]> writes: > So, if I wanted to be able to bootstrap Ada, what I do I need > to do? Disable VRP? Disable something in the loop optimizer? > Anything else? The patch from PR21029 (comment #6) is working for me. Andreas. -- Andreas Schwab, Su

Re: What is wrong with Bugzilla? [Was: Re: GCC and Floating-Point]

2005-05-31 Thread Andreas Schwab
ortable anyway. What about LDBL_* from ? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: What is wrong with Bugzilla? [Was: Re: GCC and Floating-Point]

2005-05-31 Thread Andreas Schwab
Vincent Lefevre <[EMAIL PROTECTED]> writes: > On 2005-05-31 14:27:01 +0200, Andreas Schwab wrote: >> Vincent Lefevre <[EMAIL PROTECTED]> writes: >> > But as I said on my page, this isn't much a problem since users >> > who really need *extended* precisi

Re: What is wrong with Bugzilla? [Was: Re: GCC and Floating-Point]

2005-05-31 Thread Andreas Schwab
Vincent Lefevre <[EMAIL PROTECTED]> writes: > On 2005-05-31 15:33:48 +0200, Andreas Schwab wrote: >> Vincent Lefevre <[EMAIL PROTECTED]> writes: >> > On 2005-05-31 14:27:01 +0200, Andreas Schwab wrote: >> >> Vincent Lefevre <[EMAIL PROTECTED]> writ

Re: What is wrong with Bugzilla? [Was: Re: GCC and Floating-Point]

2005-05-31 Thread Andreas Schwab
Scott Robert Ladd <[EMAIL PROTECTED]> writes: > Andreas Schwab wrote: >>> No, this is not portable, >> >> Sure they are, since they are required since C89. >> >> You can use to find that out. That's what portability is >> about. > &g

Re: What is wrong with Bugzilla? [Was: Re: GCC and Floating-Point]

2005-05-31 Thread Andreas Schwab
. The use of long double is not an extension. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: What is wrong with Bugzilla? [Was: Re: GCC and Floating-Point]

2005-05-31 Thread Andreas Schwab
Vincent Lefevre <[EMAIL PROTECTED]> writes: > On 2005-05-31 21:16:19 +0200, Andreas Schwab wrote: >> Vincent Lefevre <[EMAIL PROTECTED]> writes: >> > The "long double" type is required, but it is not required to be >> > extended precision.

Re: What is wrong with Bugzilla? [Was: Re: GCC and Floating-Point]

2005-05-31 Thread Andreas Schwab
Vincent Lefevre <[EMAIL PROTECTED]> writes: > On 2005-05-31 22:11:36 +0200, Andreas Schwab wrote: >> Vincent Lefevre <[EMAIL PROTECTED]> writes: >> > On 2005-05-31 21:16:19 +0200, Andreas Schwab wrote: >> >> Vincent Lefevre <[EMAIL PROTECTED]> wr

Re: What is wrong with Bugzilla? [Was: Re: GCC and Floating-Point]

2005-06-01 Thread Andreas Schwab
Vincent Lefevre <[EMAIL PROTECTED]> writes: > On 2005-06-01 00:58:25 +0200, Andreas Schwab wrote: >> #include >> #include >> >> long double one = 1.0; >> long double one_plus_eps; >> >> int >> main (void) >> { >>

Re: Subversion migration plans

2005-06-07 Thread Andreas Schwab
ir experience. It's probably the biggest repository so far that has been converted to Subversion. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "An

Re: Andreas Schwab m68k Maintainer

2005-06-08 Thread Andreas Schwab
"Joel Sherrill <[EMAIL PROTECTED]>" <[EMAIL PROTECTED]> writes: > I'm happy to anounce that Andreas Schwab <[EMAIL PROTECTED]> > as the new m68k port maintainer. Thank you for the appointment. I have installed this patch to MAINTAINERS. Andreas. 2005-0

Re: Suggestion for simple feature - "beep" on finish.

2005-06-24 Thread Andreas Schwab
> very simple feature I think would be good is when compiling is finished the > pc speaker could give a beep, prompting you to come back to "userland" ;-) PROMPT_COMMAND=$'echo -ne \'\\a\'' Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE L

Re: expanding builtins

2005-06-27 Thread Andreas Schwab
stead of memcpy in the place where you want to force > library call. Except that sometimes the function is actually called _memcpy at the assembler level. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint =

Re: signed is undefined and has been since 1992 (in GCC)

2005-06-28 Thread Andreas Schwab
ly based > Gabriel> on the C standard. In fact, the C standard is of much less > Gabriel> help because it gaves up. > > That's my reaction as well. The standard says "do something". The > compiler has to pick a "something". But it does not have t

Re: Ada broken with ICE in tree-ssa-structalias...

2005-07-06 Thread Andreas Schwab
| > | tree check: expected integer_cst, have cond_expr in | > |do_structure_copy, at tree-ssa-structalias.c:2410 | Also on ia64 (without -fwrapv). Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 904

Re: No documentation of -rdynamic

2005-07-06 Thread Andreas Schwab
-------- Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: Some notes on the Wiki

2005-07-11 Thread Andreas Schwab
t "info browser" > users. I bet you have never used any recent version of info (the program). Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276

Re: Some notes on the Wiki

2005-07-11 Thread Andreas Schwab
Daniel Berlin <[EMAIL PROTECTED]> writes: > Let's see. The last time i tried to use info (the program) was about 6 > weeks ago, I was refering to a recent version, not a recent use. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfe

Re: Pointers in comparison expressions

2005-07-12 Thread Andreas Schwab
gt;= 0) > dosomething (); This may not work correctly if ((char*) b - (char*) a) % sizeof int != 0 (which can happen if __alignof__ int < sizeof int). Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key finge

Re: isinf

2005-07-14 Thread Andreas Schwab
, > making it impossible to optimizes the call to isinf. Why not just use AC_HAVE_FUNCS(isinf)? IIUC this is part of a configure script, although whether it is autoconf generated is not clear so far. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxf

Re: isinf

2005-07-14 Thread Andreas Schwab
atile int x; volatile float f;]], [[x = isinf(f)]])],[AC_MSG_RESULT(yes) >AC_DEFINE(HAVE_ISINF)],[AC_MSG_RESULT(no)])]) > should be reasonably safe for now. Perhaps it should just check whether the macro isinf exists (but still use AC_CHECK_FUNCS(isinf) for pre-C99 hosts). Andreas. --

Re: Big Classpath Merge warning

2005-07-16 Thread Andreas Schwab
e use something like? > @test -z gnu/java/rmi || mkdir gnu/java/rmi It should use $(mkinstalldirs). Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214

Re: Big Classpath Merge warning

2005-07-16 Thread Andreas Schwab
ED] file in \$($varname); do \\" puts "\t if test -f \$(srcdir)/\$\$file; then \\" puts "\techo \$(srcdir)/\$\$file; \\" -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: strange error on gcc 4.1.0

2005-07-30 Thread Andreas Schwab
es the target machine for compilation. [...] The `-V' and `-b' options work by running the `-gcc-' executable, so there's no real reason to use them if you can just run that directly. > Shouldn't the stock gcc 4.1.0 support the -bundle flag? It's an Apple-spe

Re: More fun with aliasing - removing assignments?

2005-08-02 Thread Andreas Schwab
casting a valid pointer, in which case the operation is fully defined (assuming the integer is wide enough). Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 827

Re: [patch] Fix i386-mingw32 build failure

2005-08-10 Thread Andreas Schwab
overwrite a compiler that is known to work with a compiler that is incomplete, never tested, and perhaps completely broken. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5

Re: [patch] Fix i386-mingw32 build failure

2005-08-11 Thread Andreas Schwab
e. Sorry, I didn't think of that. Now it makes perfectly sense. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: ISO C++ forbids initialization in array new?

2005-08-19 Thread Andreas Schwab
his is not quite the same, because when vector_i goes out of scope it will be destructed, so you can't use the pointer beyond that point. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7

Re: Warning Behavior

2005-08-23 Thread Andreas Schwab
Ivan Novick <[EMAIL PROTECTED]> writes: > How come the following code would not be considered a Warning? Try -Wextra. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1

Re: "gcc -pipe" and ld

2005-09-19 Thread Andreas Schwab
case a. The -pipe option is ignored in the linking step. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: No effect of -fshort-enums..is it a bug

2005-09-21 Thread Andreas Schwab
the enum type, -fshort-enum should not have any effect on their type. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: query: -fshort-enums is default on which targets ?

2005-09-27 Thread Andreas Schwab
gcc/ChangeLog-2004: * target-def.h (TARGET_DEFAULT_SHORT_ENUMS): New. gcc/ChangeLog-2004: (TARGET_INITIALIZER): Add TARGET_DEFAULT_SHORT_ENUMS. gcc/ChangeLog-2004: TARGET_DEFAULT_SHORT_ENUMS. Update the description. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE

Re: libjawtgnu linking borked

2005-10-01 Thread Andreas Schwab
staging area (e.g. 'make install DESTDIR=...') Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: Passing va_args...

2005-10-14 Thread Andreas Schwab
Kalaky <[EMAIL PROTECTED]> writes: > I'am looking for some way to pass variable arguments to another > function that receives variable arguments without using va_list. This is impossible. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfe

Re: Final Subversion testing this week

2005-10-16 Thread Andreas Schwab
m old-gcc repository. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: A couple more subversion notes

2005-10-19 Thread Andreas Schwab
you can't share the config file with an older ssh version because it will barf about the unknown config option. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214

Re: A couple more subversion notes

2005-10-19 Thread Andreas Schwab
barfs. > If I remove the socket file, it just does a normal connection. It doesn't for me. $ ssh gcc.gnu.org Couldn't connect to /var/tmp/schwab/ssh_%h: No such file or directory Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 9

  1   2   3   4   5   6   7   8   >