Re: [Linux-ia64] gcc won't inline function returning struct?

2001-10-31 Thread Matthew Wilcox
On Wed, Oct 31, 2001 at 04:27:17PM -0800, Jim Wilson wrote: > extern inline means emit this function inline if you can, otherwise emit > nothing. Since gcc makes no promise that it will inline any function, it > is inherently unsafe to put extern inline in a C file. There is no guarantee > that i

Re: [Linux-ia64] gcc won't inline function returning struct?

2001-10-31 Thread Jim Wilson
>If it makes function calls when the author was expecting it to do two >computations, its performance may well be insufficient to function. I've never heard this argument before. It does make some sense. It does have a flaw though. If the code was originally written for IA-32, and proven to mee

Re: [Linux-ia64] gcc won't inline function returning struct?

2001-10-31 Thread Jim Wilson
typedef struct { float re, im; int dummy; } complex; I tried this, and it works. >Since this is no longer an HFA would this kick the compiler into >a mode where the code would at least work, all be it not in the most >efficient manner? Just to clar

combreloc

2001-10-31 Thread Jack Howarth
Hello, In case you aren't aware a rather significant change was made recently to binutils. The -z combreloc support in binutils has been enabled on almost all arches as of binutils 2.11.92.0.5-3. This coupled with the recent rebuild of glibc 2.2.4-4 has enabled combreloc in glibc. Combreloc sor

combreloc

2001-10-31 Thread Jack Howarth
Hello, In case you aren't aware a rather significant change was made recently to binutils. The -z combreloc support in binutils has been enabled on almost all arches as of binutils 2.11.92.0.5-3. This coupled with the recent rebuild of glibc 2.2.4-4 has enabled combreloc in glibc. Combreloc sor

Re: [Linux-ia64] gcc won't inline function returning struct?

2001-10-31 Thread n0ano
Jim- Just out of idle curiousity, what would happen if the `complex' structure were changed to something like: typedef struct { float re, im; int dummy; } complex; Since this is no longer an HFA would this kick the compiler into a mode where the co

Re: [Linux-ia64] gcc won't inline function returning struct?

2001-10-31 Thread Jim Wilson
The IA-64 ABI says that structures of floats are passed/returned decomposed into floating point registers. They ABI calls them homogeneous floating-point aggregates, or HFA for short. This also applies to complex types. Thus your structure typedef struct { float re, im;

gcc won't inline function returning struct?

2001-10-31 Thread Bdale Garbee
I'm playing around with Thomas Sailer's user space soundcard modems for use on amateur radio links. One of the things he includes is a small library of complex math functions intended to be used inline. The way this is coded is to create a .h file with the gcc "magic" use of extern and inline, l

Bug#117765: gcc: Failure to detect use of unitialized variable with -O -Wall

2001-10-31 Thread Mike Pitt
Package: gcc Version: 1:2.95.2-13 Severity: normal -- System Information Debian Release: 2.2 Kernel Version: Linux chiark 2.2.19 #10 SMP Fri Oct 19 11:12:23 BST 2001 i686 unknown Versions of the packages gcc depends on: ii binutils 2.9.5.0.37-1 The GNU assembler, linker and binary uti

Re: Debian Bug #115978

2001-10-31 Thread Randolph Chung
I'm not the maintainer for libstdc++2.10 Matthias, can you comment on this? I guess the maintainer of record got messed up with one of my previous ia64 uploads.. not sure how to fix :-( randolph In reference to a message from justin, dated Oct 25: > Hi, > > I was wondering if you'd looked