Bug#216616: gcc-3.2: floating point problem with athlon thunderbird

2003-10-20 Thread Falk Hueffner
Alban Browaeys <[EMAIL PROTECTED]> writes: > Is it ok that double operators give diferents results with athlon TB > than with other processors ? No. But of course gcc can do nothing about it if it is the case; complain to the hardware vendor. > extract from the real mozilla code (cf bug #203100)

Bug#217360: gcc-3.2: meaningless warning for %p in format strings

2003-10-27 Thread Falk Hueffner
Jason Kraftcheck <[EMAIL PROTECTED]> writes: > If the following is compiled with the options -Wall -pedantic-errors : > #include > int main( ) > { > int i; > printf("%p\n", &i ); > return 0; > } > > gcc emits the following: > voidptr.c: In function `main': > voidptr.c:5:

Bug#217360: gcc-3.2: meaningless warning for %p in format strings

2003-10-30 Thread Falk Hueffner
Jason Kraftcheck <[EMAIL PROTECTED]> writes: > The C standard says there's a difference between printing a void* > and a int* (or any other type)? How can a pointer passed through a > var-args list be anything but a void*? The C standard may say that > %p prints a void*, but isn't any pointer pa

Bug#217360: gcc-3.2: meaningless warning for %p in format strings

2003-10-30 Thread Falk Hueffner
Jason Kraftcheck <[EMAIL PROTECTED]> writes: > In practice, how can it be anything other than a void*? It can't. You know, the "-pedantic" option is called "-pedantic" for a reason. It doesn't make a difference on any existing gcc platform, but it would be possible to cnstruct a C99-compliant env

Bug#218459: gcc: duplicate declaration of va_list

2003-10-31 Thread Falk Hueffner
"Magossa'nyi A'rpa" <[EMAIL PROTECTED]> writes: > When compiling libzorpll on alpha, I got the following > warning. > > In file included from /usr/include/resolv.h:62, > from main.c:49: > /usr/include/stdio.h:70: warning: redefinition of `va_list' > /usr/lib/gcc-lib/alpha-linux/2

Bug#218803: gcc: (possible) bogus expansion of dynamic arrays within switch statements

2003-11-02 Thread Falk Hueffner
Andrew Suffield <[EMAIL PROTECTED]> writes: > Package: gcc-3.3 > > [This is also present in gcc-3.2, and probably all 3.x versions; it is > inapplicable for 2.95, which didn't support dynamic arrays] Huh? It did. > int main(void) > { > int foo = 0; > int bar; > int len = 5; > switch(foo

Bug#218803: gcc: (possible) bogus expansion of dynamic arrays within switch statements

2003-11-05 Thread Falk Hueffner
It looks like the code that is generated is actually correct, so it's only a bogus warning. I suggest we forward it upstream. I will create a separate gcc PR for the related problem discussed with Andrew in private mail: gcc doesn't reject jumps into a VLA's scope. -- Falk

Bug#219949: gcc: linux-2.6/sound/core/oss/rate.c miscompiled

2003-11-10 Thread Falk Hueffner
<[EMAIL PROTECTED]> writes: > gcc -march=i386 -fomit-frame-pointer -O2 > > miscompiles sound/core/oss/rate.c in Linux 2.6.0-test9. > > I've attached the preprocessed source that demonstrates the > problem. The attachment seems corrupted, can you please resend it or put it somewhere? --

Bug#221565: g++-3.3: bad code generation (fwd)

2003-11-19 Thread Falk Hueffner
(damn, this mailer sucks, sorry for any mangling) Bryce Wilcox-O'Hearn <[EMAIL PROTECTED]>: > I use Crypto++ v5.0 [1], and I've noticed that the "generate a random > RSA key pair" function either seg faults or goes into an infinite > loop. I've learned that turning optimization off with -O0 or el

Bug#221621: gcc-3.3: fails to compile the linux kernel

2003-11-19 Thread Falk Hueffner
On Wed, 19 Nov 2003, Andreas Beckmann wrote: > The offending line is > .section".note.GNU-stack" > at the end of the initialization of unsigned int check_asm_data[]. This is not valid sytax. It ought to be .section = ".note.GNU-stack" Please reassign to the source package.

Bug#221738: gcj-3.3: ICE during babel build

2003-11-19 Thread Falk Hueffner
Adam C Powell IV <[EMAIL PROTECTED]> writes: > gcj-3.3 ICEs during at attempted build of babel 0.8.8. The compile > command is quite ugly: > > javac -g -d . -classpath > ../lib/java-getopt-1.0.7.jar:../lib/xerces-2.4.0.jar:../lib/jcert-1.0.1.jar:../lib/jnet-1.0.1.jar:../lib/external/jsse-1.0.1.j

Bug#212912: acknowledged by developer (Bug#212912: fixed in gcc-3.3 1:3.3.2ds3-0pre5)

2003-11-20 Thread Falk Hueffner
Tyson Whitehead <[EMAIL PROTECTED]> writes: > > This is an automatic notification regarding your Bug report > > #212912: gcc-3.3: [alpha] Linux linker/loader does not support > > -mieee-conformant, which was filed against the gcc-3.3 package. > > > > It has been closed by one of the developers, na

Bug#213994: Consider including this patch too [[ANNOUNCE] glibc heap protection patch]

2003-12-03 Thread Falk Hueffner
Javier =?iso-8859-15?Q?Fern=E1ndez-Sanguino_Pe=F1a?= <[EMAIL PROTECTED]> writes: > This patch has been recently announced in bugtraq and might be also > relevant. > > Aside from providing these patches at debian/patches, is there any > way they could be applied to the stock gcc-3.3 package? Sin

Bug#223226: gcc-3.3: ICE while building xprobe

2003-12-07 Thread Falk Hueffner
Daniel Schepler <[EMAIL PROTECTED]> writes: > icmp_echo_id.h: In destructor `virtual >ICMP_Echo_Code_Chk::~ICMP_Echo_Code_Chk()': > icmp_echo_id.h:58: internal compiler error: Segmentation fault Confirmed. Working on extracting a test case. -- Falk

Bug#225663: g++-3.3: "conflicting types" for enums in different scopes

2003-12-31 Thread Falk Hueffner
Andre Woebbeking <[EMAIL PROTECTED]> writes: > test.cpp:11: error: conflicting types for `None' > test.cpp:4: error: previous declaration as `Enum1 None' I cannot reproduce this with g++-3.3 (GCC) 3.3.2 (Debian), so it must have been introduced recently. -- Falk

Bug#225935: gcc-3.3: function static variable initialization allowed with pure functions only when -O is used

2004-01-03 Thread Falk Hueffner
Britton Leo Kerin <[EMAIL PROTECTED]> writes: > static char *const foo = "baz"; > static int foo_len = strlen(foo); > /* static int foo_len = an_impure_function(); */ > greenwood$ gcc test_const.c > test_const.c: In function `main': > test_const.c:14: error: initializer element is not const

Bug#225935: gcc-3.3: function static variable initialization allowed with pure functions only when -O is used

2004-01-05 Thread Falk Hueffner
Britton <[EMAIL PROTECTED]> writes: > > > Replaceing the strlen call with a call of an impure function > > > (commented out above) results in the above error whether or not -O is > > > used. It seems to me that pure function should either always be > > > usable in this way regardless of -O (and C

Bug#254626: Problem still seen on gcc 3.4.3

2005-01-14 Thread Falk Hueffner
Martin Habets <[EMAIL PROTECTED]>, [EMAIL PROTECTED] schrieb am 14.01.05 18:24:52: > I've been retesting this problem using the packages below, > and the problem is still there. The assembler code generated > looks exactly the same as before. Please provide the preprocessed source as obtained wh

Bug#291605: gcc-4.0: GCC4 internal compiler error: Segmentation fault

2005-01-21 Thread Falk Hueffner
Daniel Silva <[EMAIL PROTECTED]> writes: > configure:3100: gcc -c -march=pentium3 -O2 -foptimize-sibling-calls > -finline-functions -fmerge-constants -fmerge-all-constants > -funroll-loops -fnew-ra -fprefetch-loop-arrays -ffast-math > -fno-math-errno -funsafe-math-optimizations -ffinite-math-only

Bug#292961: g++-3.3: g++ -- vastly uninformative error message

2005-01-31 Thread Falk Hueffner
Greg Kochanski <[EMAIL PROTECTED]> writes: > Here's the code: > > box c_area(C xform_split &xf, C box& databox0, C box& databox1) > { > // Next is line 84: > C box box0inOUTin(parallelogram(inverse(xf.back), databox0).insidebox()); > C box lc(inverse_image(databox1, xf.fwd)); > return intersec

Bug#292961: g++-3.3: g++ -- vastly uninformative error message

2005-01-31 Thread Falk Hueffner
Greg Kochanski <[EMAIL PROTECTED]> writes: > You may assume that box, xform_split, and parallelogram are classes, > that insidebox() is a member function of class parallelogram, and > that inverse_image() and intersect() are functions. I'm not willing to guess the test case, since my experience h

Bug#292961: g++-3.3: g++ -- vastly uninformative error message

2005-01-31 Thread Falk Hueffner
Greg Kochanski <[EMAIL PROTECTED]> writes: > Why is the test case important? Because I cannot reproduce the problem without it. > I think (though I may be wrong) that you're missing the main point > of the bug report. > > The main point is simply that the error message is uninformative. > Nearly

Bug#292961: g++-3.3: g++ -- vastly uninformative error message

2005-01-31 Thread Falk Hueffner
tags 292961 + upstream tags 292961 + fixed-upstream retitle 292961 [fixed in 3.4] g++-3.3: vastly uninformative error message thanks Greg Kochanski <[EMAIL PROTECTED]> writes: > OK. Here is a condensed version. > > $ g++ -c bug.c > bug.c: In function `void c_area(const xform_split&, const box&, c

Bug#293076: g++-3.3 uninformative error when base class missing

2005-01-31 Thread Falk Hueffner
tags 293076 + upstream tags 293076 + fixed-upstream retitle 293076 [fixed in 3.4] g++-3.3: uninformative error when base class missing thanks Greg Kochanski <[EMAIL PROTECTED]> writes: > In the following program, the base class is missing. > G++ gives a wimpy error message: > > bug.c:3: error: p

Bug#292961: g++-3.3: g++ -- vastly uninformative error message

2005-02-01 Thread Falk Hueffner
Greg Kochanski <[EMAIL PROTECTED]> writes: >> Which seems like an acceptable error message. Unfortunately, it is >> rather likely that this gets fixed in 3.3, too. > > How about this variant that defines inverse() ? > [...] Hmm. This seems like valid code, but g++ 3.3 still rejects it. However, t

Bug#43001: [alpha] gcc 2.95.2 19990906 Internal compiler error in `fixup_var_refs_1'

2001-05-11 Thread Falk Hueffner
Hi, this bug does not occur with gcc 3.0 from Debian, so it can be closed as soon as we make 3.0 standard. Falk

Bug#109351: g++ -mcpu=k6 ICE

2001-08-20 Thread Falk Hueffner
Package: g++-3.0 Version: 1:3.0.1-0pre010811 Severity: normal File: /usr/bin/g++-3.0 [EMAIL PROTECTED]:~/src/yucata% g++-3.0 -c -mcpu=k6 -O2 bug.ii bug.cc: In function `int alphaBetaWithMemory(Board, bool, int, int, int)': bug.cc:128: Unrecognizable insn: (insn 1671 141 1672 (parallel[

Bug#109351: g++ -mcpu=k6 ICE

2001-08-21 Thread Falk Hueffner
Hi, I just noticed I can't reproduce this bug after rebooting, so it was likely caused by bad RAM or something. If you can't reproduce it, too, we can just close it. Falk

Bug#131399: gcc-3.0: Initialization of flexible char array member sefgaults

2002-01-29 Thread Falk Hueffner
Package: gcc-3.0 Version: 1:3.0.3-1 Severity: normal Hi, [EMAIL PROTECTED]:~% cat bug.c struct descr { int len; char data[]; }; int foo() { struct descr s1 = { 3, "FOO" }; } [EMAIL PROTECTED]:~% /usr/bin/gcc-3.0 bug.c bug.c: In function `foo': bug.c:6: Internal error: Segmentation fa

Bug#212912: GCC Patch

2004-01-23 Thread Falk Hueffner
Tyson Whitehead <[EMAIL PROTECTED]> writes: > > please reuse the original report. Falk has to approve it anyway. > > Done deal. Just awaiting Falk now. Patch looks OK, except ++DEBIAN SPECIFIC: This option is on by default, unless [EMAIL PROTECTED] (which is part of the @option{-ffast-math} ++

Bug#228018: gcc-3.3: [alpha] cc1 Internal error when building fceu-0.97.5

2004-01-23 Thread Falk Hueffner
tags 228018 + upstream thanks Joe Nahmias <[EMAIL PROTECTED]> writes: > gcc -Wall -g -O2 -Wall -Winline -DOPENGL -DFRAMESKIP -DSTDIOIFACE \ > -DUNIXDSP -DNETWORK -DFPS `sdl-config --cflags` -Izlib \ > -fomit-frame-pointer -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB -c -o x6502.o \ > x6502.c > x6502.c: I

Bug#228018: gcc-3.3: [alpha] cc1 Internal error when building fceu-0.97.5

2004-01-23 Thread Falk Hueffner
Falk Hueffner <[EMAIL PROTECTED]> writes: > It takes about 2.5G to compile. gcc-snapshot (3.4) is not better. An > older tree-ssa snapshot I happend to have lying around however only > takes about 130M, so it's probably a RTL optimizer going haywire. Today's 3.4 takes 4

Re: gcc 3.3.3

2004-02-02 Thread Falk Hueffner
Markus Rechberger <[EMAIL PROTECTED]> writes: > When I put a constant infront of methods in a class the application > uses to segfault. When I put it at the end the application just > works as expected. Sorry, I don't understand. Please file a bug with a complete example to reproduce the problem.

Bug#233633: gcc-3.3: recent ICE regression in 3.3 while building xfree86

2004-02-19 Thread Falk Hueffner
Probably related to gcc PR 14166. There's a patch for that here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14166 -- Falk

Bug#228018: gcc-3.3: [alpha] cc1 Internal error when building fceu-0.97.5

2004-02-20 Thread Falk Hueffner
[EMAIL PROTECTED] (Joe Nahmias) writes: > FWIW, I just tried to compile on escher with: > > $gcc --version > gcc (GCC) 3.3.3 20040125 (prerelease) (Debian) > > no good. I guess I'll have to wait until 3.4 is uploaded. I'll build it on my own machine with some extra swap files. -- Fal

Bug#234711: g++-3.3: internal compiler error in final.c:2117 when compiling a huge source file

2004-02-25 Thread Falk Hueffner
Michael Weitzel <[EMAIL PROTECTED]> writes: > g++ - compiler crashes when compiling a huge (>30 MB), auto-generated > source file (differential equation system). The reported error message > was: > > DynamicSystem_PPP_realPool.cxx:530334: internal compiler error: in >final_scan_insn, at final

Bug#237376: gcc-3.3: gcc produces wrong assembler code

2004-03-11 Thread Falk Hueffner
Marc Deichmann <[EMAIL PROTECTED]> writes: > I compiled the following c code with g++/gcc 2.95/3.2/3.3 on different > stable/unstable Debian systems with 2.4/2.6 kernels (also > Athlon/Opteron/Pentium). On every system the result was the same. > > int main(void) { double a[200]; int b = 1;

Bug#238552: gcc "crash"

2004-03-17 Thread Falk Hueffner
Jason Dorje Short <[EMAIL PROTECTED]> writes: > Further information: > > I can reproduce this crash, if I compile the file four times > simultanously. And I can reproduce it without using ccache. Nearly certainly you're running out of memory. Please check that with top. -- Falk

Re: A guide to packing a language: GHDL.

2004-03-22 Thread Falk Hueffner
Mark Cox <[EMAIL PROTECTED]> writes: > I am interested in packaging ghdl (http://ghdl.free.fr) for debian, but I'm a > little unsure on how to go about it. > > The README contained in the source file states that I must place a directory > as a subdirectory of the gcc tree and evoke ./configure o

Bug#236291: Processed: reassigning to gcc-3.3

2004-03-22 Thread Falk Hueffner
[EMAIL PROTECTED] (Debian Bug Tracking System) writes: > Processing commands for [EMAIL PROTECTED]: > >> severity 236291 important > Bug#236291: FTBFS on hppa architecture > Severity set to `important'. Can you please send a *complete* test case? -- Falk

Bug#241255: gcc-3.3: miscompiles loop with bitfield counter

2004-03-31 Thread Falk Hueffner
On Wed, 31 Mar 2004, Oswald Buddenhagen wrote: > this is new in gcc/g++ 3.3.3-5; it worked in 3.3.3-3 (i think, not > sure about the -3 part). > > the following minimal test program triggers an endless loop (it should > exit immediately): > > -- > #include > > static struc

Bug#241255: gcc-3.3: miscompiles loop with bitfield counter

2004-03-31 Thread Falk Hueffner
tags 241255 +fixed-upstream thanks A patch by Jakub Jelinek has been approved, so this should be fixed next time CVS is pulled. -- Falk

Bug#241667: gcc-3.3: __attribute_const__ fail

2004-04-02 Thread Falk Hueffner
Marcin Kurek <[EMAIL PROTECTED]> writes: > I am not completly shure is that a real bug but mark it important just in case, right? > it seems __attribute_const__ cause a parse error in current Debian > release. And such construction can be found in many kernel 2.6.4 > header files and in some pro

Re: sizeof (long long double) < sizeof (long double)

2004-04-30 Thread Falk Hueffner
Roberto Salles <[EMAIL PROTECTED]> writes: > cout << "long long double: " << sizeof(long long double) << '\n'; > long long double: 8 > > Is that what to expect of long long double? There is no "long long double"; the compiler should reject the code. g++ apparently misparses this as "long lon

Bug#248207: inconsistent operand constraints in atomicity.h on amd64.

2004-05-09 Thread Falk Hueffner
Kurt Roeckx <[EMAIL PROTECTED]> writes: > Package: gcc-3.3 > Version: 3.3.3-6 > > Some package fail to build on amd64 with this error: > /usr/include/c++/3.3/x86_64-linux/bits/atomicity.h:40: error: inconsistent >operand constraints in an `asm' Can you provide a preprocessed test case? --

Re: C01arith.ztst

2004-05-14 Thread Falk Hueffner
Clint Adams <[EMAIL PROTECTED]> writes: >> The string stored at ptr, after ptr is no longer equal to optr, changes >> from "" to "\020" when checkunary() is called. I'm going to try again >> with gcc -O0 to see if the same thing happens. > > The test passes with no optimization; I guess this mean

Re: GCC-3.3 failure on Sparc when compiling Linux kernel

2004-05-25 Thread Falk Hueffner
"Art Haas" <[EMAIL PROTECTED]> writes: > Compiling the 2.6.7-rc1 kernel with the latest gcc-3.3 causes a problem. > > gcc -Wp,-MD,mm/.fremap.o.d -nostdinc -iwithprefix include -D__KERNEL__ > -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs > -fno-strict-aliasing -fno-common -m32 -pipe -mno-fp

Bug#250899: GCC-3.3 failure on Sparc when compiling Linux kernel

2004-05-25 Thread Falk Hueffner
Here's a smaller test case: static __inline__ __attribute__ ((always_inline)) int page_mapping (unsigned flags) { if (1u & (flags >> 16)) return 1; return 0; } void install_page (unsigned flags) { if (__builtin_expect (!page_mapping (flags), 0)) __builtin_trap (); } -- Fal

Bug#251572: typedef of size_t on amd64.

2004-05-29 Thread Falk Hueffner
Kurt Roeckx <[EMAIL PROTECTED]> writes: > Package: gcc-3.3 > Version: 3.3.3-9 > > A preprocessed file says: > # 213 "/usr/lib/gcc-lib/x86_64-linux/3.3.3/include/stddef.h" > typedef long unsigned int size_t; > > This seems to work, and it's probably valid too, but I've never > seen it written that

Bug#256024: gcc: compile time multiplied by a factor of 8

2004-06-24 Thread Falk Hueffner
Christophe Delage <[EMAIL PROTECTED]> writes: > A program of mine compiles 8 (eight) times slower with this version > than with 3.3.3-1. The problem is also present in 3.3.3-8, I don't > have time to dichotomize and find out what exact version the problem > appeared in. Please provide a preproces

<    1   2   3