[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread olh at suse dot de
--- Comment #10 from olh at suse dot de 2005-12-06 08:38 --- Odd, -O1 doesnt fix it for me: +CFLAGS_hash_utils_64.o += -O1 gcc version 4.2.0 20051206 (experimental) GNU ld version 2.16.91 20051206 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25248

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread olh at suse dot de
--- Comment #11 from olh at suse dot de 2005-12-06 08:44 --- same is true for a r99558 compiled object file, in a gcc40 kernel. -O1 doesnt help there. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25248

[Bug target/24378] [4.1/4.2 Regression] gcc.dg/vect/pr24300.c (test for excess errors) fails

2005-12-06 Thread ebotcazou at gcc dot gnu dot org
--- Comment #4 from ebotcazou at gcc dot gnu dot org 2005-12-06 09:21 --- Dorit, this is a bad interaction between versioning and reduction. The compiler segfaults in tree-ssa-dce.c because a PHI node declared as having 2 operands has only 1. It is created by the vectorizer, namely ve

[Bug other/13873] gcc/longlong.h uses test for PPC

2005-12-06 Thread amodra at gcc dot gnu dot org
--- Comment #16 from amodra at gcc dot gnu dot org 2005-12-06 09:55 --- Subject: Bug 13873 Author: amodra Date: Tue Dec 6 09:55:04 2005 New Revision: 108110 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108110 Log: PR other/13873 * longlong.h: Merge PPC tests f

[Bug other/13873] gcc/longlong.h uses test for PPC

2005-12-06 Thread amodra at gcc dot gnu dot org
--- Comment #17 from amodra at gcc dot gnu dot org 2005-12-06 10:03 --- Subject: Bug 13873 Author: amodra Date: Tue Dec 6 10:02:57 2005 New Revision: 108111 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108111 Log: PR other/13873 * longlong.h: Merge PPC tests f

[Bug other/13873] gcc/longlong.h uses test for PPC

2005-12-06 Thread amodra at gcc dot gnu dot org
--- Comment #18 from amodra at gcc dot gnu dot org 2005-12-06 10:04 --- Subject: Bug 13873 Author: amodra Date: Tue Dec 6 10:04:04 2005 New Revision: 108112 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108112 Log: PR other/13873 * longlong.h: Merge PPC tests f

[Bug other/13873] gcc/longlong.h uses test for PPC

2005-12-06 Thread amodra at gcc dot gnu dot org
--- Comment #19 from amodra at gcc dot gnu dot org 2005-12-06 10:05 --- Subject: Bug 13873 Author: amodra Date: Tue Dec 6 10:05:47 2005 New Revision: 108113 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108113 Log: PR other/13873 * longlong.h: Merge PPC tests f

[Bug other/13873] gcc/longlong.h uses test for PPC

2005-12-06 Thread amodra at bigpond dot net dot au
--- Comment #20 from amodra at bigpond dot net dot au 2005-12-06 10:06 --- Fixed. -- amodra at bigpond dot net dot au changed: What|Removed |Added Status|ASS

[Bug other/13873] gcc/longlong.h uses test for PPC

2005-12-06 Thread amodra at bigpond dot net dot au
-- amodra at bigpond dot net dot au changed: What|Removed |Added Target Milestone|--- |3.4.6 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13873

[Bug c++/21383] [3.4 Regression] Crash when finding &a_templated_func<>

2005-12-06 Thread reichelt at gcc dot gnu dot org
--- Comment #10 from reichelt at gcc dot gnu dot org 2005-12-06 11:01 --- Subject: Bug 21383 Author: reichelt Date: Tue Dec 6 11:00:46 2005 New Revision: 108114 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108114 Log: Backport: 2005-10-18 Nathan Sidwell <[E

[Bug c++/21383] [3.4 Regression] Crash when finding &a_templated_func<>

2005-12-06 Thread reichelt at gcc dot gnu dot org
--- Comment #11 from reichelt at gcc dot gnu dot org 2005-12-06 11:02 --- Now also fixed on the 3.4 branch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/22618] [3.4 Regression] Template non-type arguments break class access protection

2005-12-06 Thread reichelt at gcc dot gnu dot org
--- Comment #10 from reichelt at gcc dot gnu dot org 2005-12-06 11:06 --- Taking care of the backport. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/20218] Can't use __attribute__ ((visibility ("hidden"))) to hide a symbol

2005-12-06 Thread samuel dot thibault at ens-lyon dot org
--- Comment #19 from samuel dot thibault at ens-lyon dot org 2005-12-06 11:15 --- Created an attachment (id=10416) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10416&action=view) Testcase with linker script This testcase uses a linker script. The proposed patch http://gcc.gnu.or

[Bug target/25259] bootstrap failures on non-C99 platforms

2005-12-06 Thread bonzini at gnu dot org
--- Comment #2 from bonzini at gnu dot org 2005-12-06 12:28 --- Created an attachment (id=10417) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10417&action=view) proposed patch I bootstrapped this on i686-pc-linux-gnu, all languages. Eric, can you test it on a non-C99 platform?

[Bug c/25274] New: sizeof(struct) fails for 'unlucky' structure

2005-12-06 Thread warg0d at go2 dot pl
the bug is in sizeof(element) - i've made unlucky structure, some time ago, where sum of sizeof(each_element) gives size of 14 and sizeof(whole_struct) returns 16. on old gcc-2.9.x there was the same problem. as an example program i've wrote shor one, that shows sizeof() from struct having 14 char'

[Bug c++/25137] Warning "missing braces around initializer" causing problems with tr1::array

2005-12-06 Thread gcc-bugzilla at kayari dot org
--- Comment #9 from gcc-bugzilla at kayari dot org 2005-12-06 13:07 --- I've often found this warning to be a nuisance, because it's correct and well-defined to omit some braces from the initializer. There are many cases where the warning is useful, e.g. with aggregates that have severa

[Bug c/25274] sizeof(struct) fails for 'unlucky' structure

2005-12-06 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2005-12-06 13:08 --- The C standard allows for arbitrary padding in between elements, so this behavior is expected. Use __attribute__((packed)) on the type to get a struct without padding if you need that for whatever reason (it will be

GCC bug report: incorrect assertion in PCH

2005-12-06 Thread Edward Chernenko
I'm describing a error which occures when running GCC 4.0.2 compiled with internal coverage checks (when gcc_assert() produces code). There is a place in 'ggc-common.c' at line 870: > gcc_assert (!*slot); This assertion ALWAYS fail when using the PCH. I think it must be removed. Edward Chernen

[Bug debug/25258] [4.0 regression/hpux] gcc generates incorrect stabs debug output

2005-12-06 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #3 from dave at hiauly1 dot hia dot nrc dot ca 2005-12-06 13:27 --- Subject: Re: [4.0 regression/hpux] gcc generates incorrect stabs debug output > By using subspa, the L$etext label is placed back at the beginning of the > original code section, so it does not properl

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2005-12-06 13:37 --- Note that in the reduced testcase we have pr25248.c: In function ?htab_bolt_mapping?: pr25248.c:15: warning: integer constant is too large for ?unsigned long? type pr25248.c: In function ?main?: pr25248.c:24: warn

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2005-12-06 13:39 --- hmhm, maybe I'm in a ppc32 chroot. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25248

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread bergner at vnet dot ibm dot com
--- Comment #14 from bergner at vnet dot ibm dot com 2005-12-06 13:40 --- sizeof(unsigned long) and sizeof(unsigned long long) are both 8 bytes on ppc64. Olaf, -O1 isn't a workaround, it's the minimum optimization level that still shows the bug. Trying some -fno-* options, using -fno-

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread rguenth at gcc dot gnu dot org
--- Comment #15 from rguenth at gcc dot gnu dot org 2005-12-06 13:43 --- So, CCing zdenek. Btw., checking -floop-optimize2 may also be worth trying (setting up a rpoper chroot now). -- rguenth at gcc dot gnu dot org changed: What|Removed |Added -

[Bug libfortran/25271] gfortran fails to pad lines in format statements to 72 characters.

2005-12-06 Thread dir at lanl dot gov
--- Comment #3 from dir at lanl dot gov 2005-12-06 13:47 --- If you look at the output from format 2030, you will see that that comma at the end of the "44h e n d..." statement is printed, but the comma is the 45th character after the 44h . Like wise the '/' after the 8 is printed inspit

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread rguenth at gcc dot gnu dot org
--- Comment #16 from rguenth at gcc dot gnu dot org 2005-12-06 13:48 --- Confirmed. -fno-ivopts fixes it. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread rguenth at gcc dot gnu dot org
--- Comment #17 from rguenth at gcc dot gnu dot org 2005-12-06 13:59 --- IVOPTs truncates pstartD.1866_10 down to int, which is wrong: htab_bolt_mapping (pstartD.1866, cntD.1867) { unsigned intD.3 D.1959; long unsigned intD.4 D.1960; long unsigned intD.4 ivtmp.50D.1954; unsigne

[Bug c++/25263] [4.2 regression] ICE on invalid array bound: int x[1/0];

2005-12-06 Thread sayle at gcc dot gnu dot org
--- Comment #2 from sayle at gcc dot gnu dot org 2005-12-06 14:00 --- Subject: Bug 25263 Author: sayle Date: Tue Dec 6 14:00:09 2005 New Revision: 108119 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108119 Log: PR c++/25263 * decl.c (compute_array_index_type)

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread olh at suse dot de
--- Comment #18 from olh at suse dot de 2005-12-06 14:26 --- Adding -fno-ivopts to CFLAGS for hash_utils_64.o fixes it for me. Tested with gcc-4_1-branch r108104 and current binutils. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25248

[Bug target/25268] ICE on lshrdi3_31 pattern

2005-12-06 Thread krebbel at gcc dot gnu dot org
--- Comment #1 from krebbel at gcc dot gnu dot org 2005-12-06 14:33 --- Shorter testcase: long long foo (long long x, int y) { return x << ((y + 1) & 63); } The count operand of a shift instruction is a somewhat weird thing on S/390. It is basically an address accepting the sum of an

[Bug target/25268] ICE on lshrdi3_31 pattern

2005-12-06 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2005-12-06 14:48 --- Yeah, making separate (define_insn "*di3_and_31" [(set (match_operand:DI 0 "register_operand" "=d") (SHIFT:DI (match_operand:DI 1 "register_operand" "0") (and:SI (match_operand:SI 2 "shift_c

[Bug middle-end/25276] New: [4.2 regression] testsuite failure: execution gcc.dg/attr-weakref-1.c

2005-12-06 Thread hp at gcc dot gnu dot org
Last known to work with: "Mon Dec 5 12:27:13 UTC 2005 (revision 108052M)". First known to fail with: "Mon Dec 5 22:19:13 UTC 2005 (revision 108077M)". Running /home/hp/combined/combined/gcc/testsuite/gcc.dg/dg.exp ... ... FAIL: gcc.dg/attr-weakref-1.c execution test With the message in the .log

[Bug other/25277] New: missed optimization for simple mmx code.

2005-12-06 Thread pluto at agmk dot net
#include __v8qi foo(const __v8qi x, const __v8qi y){return x+y;} __v8qi bar(const __v8qi x, const __v8qi y){return __builtin_ia32_paddb(x,y);} $ gcc tmp.c -S -O2 -mmmx 3.3.6 produces the same code for foo() and bar(): foo:movq4(%esp), %mm0 paddb 12(%esp), %mm0 movq

[Bug other/25277] missed optimization for simple mmx code.

2005-12-06 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2005-12-06 15:02 --- (In reply to comment #0) > $ gcc tmp.c -S -O2 -mmmx fix: -S -O2 -mmmx -fomit-frame-pointer -mregparm=3 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25277

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread rakdver at gcc dot gnu dot org
--- Comment #19 from rakdver at gcc dot gnu dot org 2005-12-06 15:28 --- Seems like some problem in iv analysis: ssa name pstart_17 type long unsigned int base (long unsigned int) (unsigned int) D.1301_7 + (long unsigned int) (unsigned int) pstart_10 step (long unsigned int) step

[Bug c/7776] const char* p = "foo"; if (p == "foo") ... is compiled without warning!

2005-12-06 Thread roger at eyesopen dot com
--- Comment #14 from roger at eyesopen dot com 2005-12-06 15:39 --- Fixed for gcc v4.2 -- roger at eyesopen dot com changed: What|Removed |Added Status|NEW

[Bug c++/25263] [4.2 regression] ICE on invalid array bound: int x[1/0];

2005-12-06 Thread roger at eyesopen dot com
--- Comment #3 from roger at eyesopen dot com 2005-12-06 15:43 --- Fixed. I've checked all other uses of TREE_OVERFLOW in cp/decl.c and c-decl.c to confirm that the C front-end isn't affected by a similar issue there. Sorry for any inconvenience. -- roger at eyesopen dot com changed

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread rakdver at gcc dot gnu dot org
--- Comment #20 from rakdver at gcc dot gnu dot org 2005-12-06 15:43 --- This patch should fix the problem: Index: tree-scalar-evolution.c === *** tree-scalar-evolution.c (revision 108078) --- tree-scalar-evolution.c

[Bug target/25277] missed optimization for simple mmx code.

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-12-06 16:04 --- This is not fully a regression as this was on purpose change until emms was emmitted correctly. Anyways this is very much related to PR 22076 and PR 14552 -- pinskia at gcc dot gnu dot org changed: W

[Bug libstdc++/19664] libstdc++ headers should have pop/push of the visibility around the declarations

2005-12-06 Thread pluto at agmk dot net
--- Comment #87 from pluto at agmk dot net 2005-12-06 17:05 --- current 4.1(+libstdc++ patch) works fine for PR21382 on amd64 and ppc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664

[Bug c++/19764] [3.4 regression] ICE on explicit instantiation of a non-template destructor

2005-12-06 Thread reichelt at gcc dot gnu dot org
--- Comment #3 from reichelt at gcc dot gnu dot org 2005-12-06 17:30 --- Testing a patch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug c++/19762] [3.4 regression] ICE in invalid explicit instantiation of a destructor

2005-12-06 Thread reichelt at gcc dot gnu dot org
--- Comment #7 from reichelt at gcc dot gnu dot org 2005-12-06 17:31 --- Testing a patch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug c++/19397] [3.4 regression] ICE with invalid typedef

2005-12-06 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2005-12-06 17:32 --- Testing a patch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug c++/25278] New: g++ seems to ignore an overloaded function.

2005-12-06 Thread theodore dot papadopoulo at sophia dot inria dot fr
from ChangeEndianness(T* begin,const T* end) so that the generic version ChangeEndianness(T& t) is called instead generating and error because the default class for SwapEndianness does not contain any swap method. This has been tested with gcc version 4.2.0 20051206 (experimental). Note also tha

[Bug c++/25278] g++ seems to ignore an overloaded function.

2005-12-06 Thread theodore dot papadopoulo at sophia dot inria dot fr
--- Comment #1 from theodore dot papadopoulo at sophia dot inria dot fr 2005-12-06 17:39 --- Created an attachment (id=10419) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10419&action=view) The code describing the regression. Simplify compile with g++ -- http://gcc.gnu.org/

[Bug c++/25278] g++ seems to ignore an overloaded function.

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-12-06 17:48 --- No, GCC is correct to reject this code. What is happening is that the overloaded set for the ChangeEndianness in the second ChangeEndianness is only the first and the second so there is no way to consider the third

[Bug middle-end/25279] New: [4.0/4.1/4.2 Regression] Invalid diagnostic about implicitly defined built-in

2005-12-06 Thread rguenth at gcc dot gnu dot org
#include int foo(double x) { return round(x); } causes $ gcc -c t.c t.c: In function 'foo': t.c:5: warning: incompatible implicit declaration of built-in function 'round' the transformation of round to lround here done in convert_to_integer is likely the cause for this. Compiling with -std=

[Bug c/25279] [4.0/4.1/4.2 Regression] Invalid diagnostic about implicitly defined built-in

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-12-06 17:59 --- This is a glibc bug. round is not prototype any where when looking at the preprocessed source for the file but is when adding -std=c99. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug fortran/18197] bus error on returning from a function

2005-12-06 Thread eedelman at gcc dot gnu dot org
--- Comment #6 from eedelman at gcc dot gnu dot org 2005-12-06 18:03 --- Working on a patch. -- eedelman at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/25247] syntax error in target selector for gcc.dg/torture/fp-int-convert-float128-timode.c

2005-12-06 Thread janis at gcc dot gnu dot org
--- Comment #7 from janis at gcc dot gnu dot org 2005-12-06 18:04 --- Subject: Bug 25247 Author: janis Date: Tue Dec 6 18:04:00 2005 New Revision: 108124 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108124 Log: PR testsuite/25247 * lib/target-supports-dg.exp (

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread olh at suse dot de
--- Comment #21 from olh at suse dot de 2005-12-06 18:11 --- Created an attachment (id=10420) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10420&action=view) pr25248.patch This patch fixes it for me. Let me attach it in a readable form. -- http://gcc.gnu.org/bugzilla/show_bu

[Bug c/25281] New: Request fix for Bug #23150 (aka Bug #24675) in gcc 3.4.x and gcc 4.0.x for arm arch.

2005-12-06 Thread bill dot thompsons at gmail dot com
Hello, A bug #24675 was logged on Nov 4th for gcc 3.2.1 (arm arch). After several emails communication by helpful people, it was determined that the issue is similar to bug #23150 and is still there for: gcc 3.2.1, gcc 3.3.3, gcc 3.3.6, gcc 3.4.4 gcc 4.0.1 and gcc 4.0.2 It was tested and

[Bug c/25282] New: Request fix for Bug #23150 (aka Bug #24675) in gcc 3.4.x and gcc 4.0.x for arm arch.

2005-12-06 Thread bill dot thompsons at gmail dot com
Hello, A bug #24675 was logged on Nov 4th for gcc 3.2.1 (arm arch). After several emails communication by helpful people, it was determined that the issue is similar to bug #23150 and is still there for: gcc 3.2.1, gcc 3.3.3, gcc 3.3.6, gcc 3.4.4 gcc 4.0.1 and gcc 4.0.2 It was tested and

[Bug target/25281] [3.4/4.0 only] Request fix for Bug #23150 (aka Bug #24675) in gcc 3.4.x and gcc 4.0.x for arm arch.

2005-12-06 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|Request fix for Bug #23150 |[3.4/4.0 only] Request fix |(aka Bug #24675) in gcc

[Bug c/25282] Request fix for Bug #23150 (aka Bug #24675) in gcc 3.4.x and gcc 4.0.x for arm arch.

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-12-06 18:39 --- *** This bug has been marked as a duplicate of 25281 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/25281] [3.4/4.0 only] Request fix for Bug #23150 (aka Bug #24675) in gcc 3.4.x and gcc 4.0.x for arm arch.

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-12-06 18:39 --- *** Bug 25282 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25281

[Bug c++/25278] g++ seems to ignore an overloaded function.

2005-12-06 Thread theodore dot papadopoulo at sophia dot inria dot fr
cause > the default class for SwapEndianness does not contain any swap method. > > This has been tested with gcc version 4.2.0 20051206 (experimental). > > Note also that things slightly improved since > gcc version 4.2.0 20051124 (experimental) > which failed also if the e

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread bergner at vnet dot ibm dot com
--- Comment #22 from bergner at vnet dot ibm dot com 2005-12-06 18:47 --- ...and I can verify that the patch fixes the reduced test case. Thanks! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25248

[Bug c++/25278] g++ seems to ignore an overloaded function.

2005-12-06 Thread theodore dot papadopoulo at sophia dot inria dot fr
--- Comment #4 from theodore dot papadopoulo at sophia dot inria dot fr 2005-12-06 18:51 --- (In reply to comment #2) I may accept that g++ is right to reject this code. I cannot convince myself from reading the standard but I'm not a langage lawyer. I think that this is a major flaw in

[Bug java/25283] New: gcj generates invalid signature

2005-12-06 Thread tromey at gcc dot gnu dot org
gcj generates an invalid signature for the anonymous constructor in this test case: public class t { public t(char[][] args) { } public Object m() { return new t(new char[][] { "hi".toCharArray(), "bob".toCharArray(), "and jo

[Bug middle-end/20218] Can't use __attribute__ ((visibility ("hidden"))) to hide a symbol

2005-12-06 Thread pluto at agmk dot net
--- Comment #20 from pluto at agmk dot net 2005-12-06 19:26 --- Created an attachment (id=10421) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10421&action=view) patch for current 4.1 branch. I would love to see a ppc-linux part for this patch. -- http://gcc.gnu.org/bugzilla/

[Bug c++/25278] g++ seems to ignore an overloaded function.

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-12-06 19:27 --- The reason why removing one enum works is because the size of the RGB will be one instead of two so that the specialized version of SwapEndianness::swap can be used. There is nothing magical here with respect with t

[Bug c++/2922] [DR 197] two-stage lookup for unqualified function calls with type-dependent arguments

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #19 from pinskia at gcc dot gnu dot org 2005-12-06 19:27 --- *** Bug 25278 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c/25284] New: incorrect double value returned from function testo() called from main().

2005-12-06 Thread gnassre at earthlink dot net
inside main(), a call is made to function testo() which simply returns a double(1415.149). The correct double value is returned only if main.c has #include , which is where testo() is declared. I've compiled two versions of this program, with and without the include line, withinclude.a.out and wi

[Bug fortran/18197] bus error on returning from a function

2005-12-06 Thread eedelman at gcc dot gnu dot org
--- Comment #7 from eedelman at gcc dot gnu dot org 2005-12-06 19:38 --- (In reply to comment #6) > Working on a patch. Posted a pacth here: http://gcc.gnu.org/ml/fortran/2005-12/msg00116.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18197

[Bug c/25284] incorrect double value returned from function testo() called from main().

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-12-06 19:40 --- The C standard says that if a function is not declared (prototyped) then implicately it returns the type of int. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/25284] incorrect double value returned from function testo() called from main().

2005-12-06 Thread gnassre at earthlink dot net
--- Comment #2 from gnassre at earthlink dot net 2005-12-06 19:40 --- Created an attachment (id=10422) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10422&action=view) output of gcc -v -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25284

[Bug c/25284] incorrect double value returned from function testo() called from main().

2005-12-06 Thread gnassre at earthlink dot net
--- Comment #3 from gnassre at earthlink dot net 2005-12-06 19:41 --- Created an attachment (id=10423) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10423&action=view) testo() function definition file from gcc --save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25284

[Bug c/25284] incorrect double value returned from function testo() called from main().

2005-12-06 Thread gnassre at earthlink dot net
--- Comment #4 from gnassre at earthlink dot net 2005-12-06 19:41 --- Created an attachment (id=10424) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10424&action=view) main() function definition file from gcc --save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25284

[Bug c++/24138] [4.1/4.2 regression] ICE with the code in PR 20407

2005-12-06 Thread aldyh at gcc dot gnu dot org
--- Comment #6 from aldyh at gcc dot gnu dot org 2005-12-06 19:45 --- Subject: Bug 24138 Author: aldyh Date: Tue Dec 6 19:45:00 2005 New Revision: 108126 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108126 Log: PR C++/24138 * tree.c (integer_all_onesp): Always

[Bug c/25284] incorrect double value returned from function testo() called from main().

2005-12-06 Thread gnassre at earthlink dot net
--- Comment #5 from gnassre at earthlink dot net 2005-12-06 19:45 --- (In reply to comment #1) > The C standard says that if a function is not declared (prototyped) then > implicately it returns the type of int. > ok thanks, that makes sense =) -- http://gcc.gnu.org/bugzilla/show_

[Bug c++/24138] [4.1/4.2 regression] ICE with the code in PR 20407

2005-12-06 Thread aldyh at gcc dot gnu dot org
--- Comment #7 from aldyh at gcc dot gnu dot org 2005-12-06 19:48 --- Fixed. http://gcc.gnu.org/ml/gcc-patches/2005-11/msg01175.html -- aldyh at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/25285] New: pessimization of goto * ("computed goto")

2005-12-06 Thread anton at mips dot complang dot tuwien dot ac dot at
This is the gcc-4.0 reincarnation of PR 15242. Since about gcc-3.2 or so gcc tends to compile "goto *" into direct jumps to a shared indirect jump. Gcc-4.0 tries to undo this in a later stage, but apparently it is not completely successful: This is a fragment from the engine1.i file I will attac

[Bug tree-optimization/25285] pessimization of goto * ("computed goto")

2005-12-06 Thread anton at mips dot complang dot tuwien dot ac dot at
--- Comment #1 from anton at mips dot complang dot tuwien dot ac dot at 2005-12-06 20:00 --- Created an attachment (id=10425) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10425&action=view) test case input -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25285

[Bug target/25286] New: [4.1/4.2 Regression] ext/pool_allocator/allocate_chunk.cc execution test fails

2005-12-06 Thread jsm28 at gcc dot gnu dot org
FAIL: ext/pool_allocator/allocate_chunk.cc execution test appeared on mainline between 20051117 and 20051118 (revisions 107115 and 107161) on hppa2.0w-hp-hpux11.11 and still appears present on mainline and 4.1 branch. This test previously passed. The failure in bug 25168 appeared between the same

[Bug c++/24138] [4.1 regression] ICE with the code in PR 20407

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2005-12-06 20:20 --- Reopening since this was only fixed for 4.2.0 and not also for 4.1.0. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug libgcj/25265] linking BC-compiled classes with incompatible changes

2005-12-06 Thread aph at gcc dot gnu dot org
-- aph at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |aph at gcc dot gnu dot org |dot org

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread rakdver at gcc dot gnu dot org
--- Comment #23 from rakdver at gcc dot gnu dot org 2005-12-06 20:33 --- Patch: http://gcc.gnu.org/ml/gcc-patches/2005-12/msg00454.html -- rakdver at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/25285] pessimization of goto * ("computed goto")

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-12-06 20:46 --- __asm__(""); makes stuff worse. Anyways it looks like the code in GCC only deals with non conditional jumps (unless I am missing something). Is there a conditional jump of an indirect jump for x86/x86_64? -- ht

[Bug middle-end/20218] Can't use __attribute__ ((visibility ("hidden"))) to hide a symbol

2005-12-06 Thread pluto at agmk dot net
--- Comment #21 from pluto at agmk dot net 2005-12-06 20:55 --- ok, I hope this ppc-elf-linux fix for pr20218-x86-32_64.patch is correct. with this both testcases work. diff -uNrp a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h --- a/gcc/config/rs6000/linux.h2005-11-30 11:15

[Bug rtl-optimization/25285] pessimization of goto * ("computed goto")

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-12-06 20:57 --- Since there is no conditional indirect jumps on x86 this is not a bug. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/25287] New: PPC has conditional indirect jumps if ra allocates the a in ctr before the jumps

2005-12-06 Thread pinskia at gcc dot gnu dot org
Code: int f(void *a, int b) { if (b ==1) goto *a; g(); if (b ==2) goto *a; g(); return 1 } This is very minor but I thought it would be cool if GCC could do something like: .f: mflr %r0 cmpwi %cr7,%r4,1 std %r30,-16(%r1) std %r31,-8(%r1) mr %r30,%r

[Bug target/25287] PPC has conditional indirect jumps if ra allocates the a in ctr before the jumps

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-12-06 21:09 --- Ignore the: .L3: mtctr %r30 bctr Part and "beqctr %cr7,.L3" should have been "beqctr %cr7" -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25287

[Bug target/25286] [4.1/4.2 Regression] ext/pool_allocator/allocate_chunk.cc execution test fails

2005-12-06 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2005-12-06 21:09 --- (In reply to comment #0) > The failure in bug 25168 appeared between the same pair of revisions; I don't > know if they are related. At least, both testcases replace operator new... -- http://gcc.gnu.org/bugzilla/show

[Bug libstdc++/25288] New: std::list insert members should have no effects if an exception is thrown

2005-12-06 Thread lennox at cs dot columbia dot edu
According to section 23.2.2.3 [lib.list.modifiers] of the C++ specification, for all the insert member functions of std::list, "If an exception is thrown there are no effects." However, this doesn't appear to be the case for libstdc++. It's possible for an exception to be thrown out of an insert

[Bug libstdc++/25288] std::list insert members should have no effects if an exception is thrown

2005-12-06 Thread lennox at cs dot columbia dot edu
--- Comment #1 from lennox at cs dot columbia dot edu 2005-12-06 21:30 --- Created an attachment (id=10426) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10426&action=view) C source file, constructing a list with a custom debug allocator. -- http://gcc.gnu.org/bugzilla/show_b

[Bug libstdc++/25288] std::list insert members should have no effects if an exception is thrown

2005-12-06 Thread lennox at cs dot columbia dot edu
--- Comment #2 from lennox at cs dot columbia dot edu 2005-12-06 21:31 --- Created an attachment (id=10427) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10427&action=view) Custom debug allocator, based on libstdc++'s malloc_allocator. -- http://gcc.gnu.org/bugzilla/show_bug.

[Bug fortran/23815] Add -byteswapio flag

2005-12-06 Thread tkoenig at gcc dot gnu dot org
--- Comment #22 from tkoenig at gcc dot gnu dot org 2005-12-06 21:45 --- Added new patch. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added U

[Bug rtl-optimization/25285] pessimization of goto * ("computed goto")

2005-12-06 Thread anton at mips dot complang dot tuwien dot ac dot at
--- Comment #4 from anton at mips dot complang dot tuwien dot ac dot at 2005-12-06 21:46 --- Subject: Re: pessimization of goto * ("computed goto") pinskia at gcc dot gnu dot org wrote: > __asm__(""); makes stuff worse. I just applied the following patch to engine1.i: --- engine1.i

[Bug rtl-optimization/25285] pessimization of goto * ("computed goto")

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-12-06 21:58 --- (In reply to comment #4) > So, no, the code is not worse, but much better. I hope this > workaround will continue to work in future versions. You are wrong in general since this is a conditional indirect jump. Sin

[Bug fortran/25174] gfortran ignores explicit return type for functions

2005-12-06 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2005-12-06 22:14 --- (In reply to comment #0) > PROGRAM BUG > external real function Mfunc This declares an external symbol called "realfunctionmfunc" (fixed form), which is probably not what you intended. If you replace t

[Bug target/24220] gcc.dg/i386-sse-vect-types.c (test for errors, line 17) fails

2005-12-06 Thread dpatel at apple dot com
--- Comment #2 from dpatel at apple dot com 2005-12-06 22:19 --- This is already fixed. -- dpatel at apple dot com changed: What|Removed |Added Status|ASSIGNE

[Bug ada/25245] Discriminant is left uninitialized.

2005-12-06 Thread listor1 dot rombobeorn at comhem dot se
--- Comment #4 from listor1 dot rombobeorn at comhem dot se 2005-12-06 22:21 --- Subject: Re: Discriminant is left uninitialized. laurent at guerby dot net wrote: > The problem is that you are using "Unbounded_String" in your record, and > this brings in lots of dope information for F

[Bug debug/19523] [4.0/4.1/4.2 Regression] DBX_USE_BINCL support broken in the C++ compiler

2005-12-06 Thread dpatel at apple dot com
--- Comment #5 from dpatel at apple dot com 2005-12-06 22:23 --- Created an attachment (id=10430) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10430&action=view) zem's patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19523

[Bug libstdc++/25288] std::list insert members should have no effects if an exception is thrown

2005-12-06 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2005-12-06 22:36 --- Ouch! Luckily seems not too difficult to fix, consistently with other similar situations in the library. Thanks for your report. -- pcarlini at suse dot de changed: What|Removed |Adde

[Bug c++/25280] g++ crash with -fmudflap

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-12-06 22:37 --- *** This bug has been marked as a duplicate of 19266 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug other/19266] [mudflap] ICE when compiling with -fmudflap -O

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #15 from pinskia at gcc dot gnu dot org 2005-12-06 22:37 --- *** Bug 25280 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/25174] gfortran ignores explicit return type for functions

2005-12-06 Thread albertm at uphs dot upenn dot edu
--- Comment #2 from albertm at uphs dot upenn dot edu 2005-12-06 22:52 --- Subject: Re: gfortran ignores explicit return type for fun ctions Thank you very much. My apologies. I don't understand Fortran as well as I should. Sincerely, Mike Albert On Tue, 6 Dec 2005, tkoenig at

[Bug libfortran/25289] New: Cannot handle record numbers large than huge(0_4)

2005-12-06 Thread fxcoudert at gcc dot gnu dot org
malo /tmp $ cat a.f integer*1 abyte integer*8 n n = huge(0_4) n = 256 * n print *, n open(10,file="foo",recl=1,form='unformatted',access='direct') write(10,rec=n) abyte close(10) end malo /tmp $ ifort a.f && ./a.out 549755813632 malo /

[Bug debug/25234] [3.3 Regression] g++ fails to emit debug information for SOME local variables in class member function that has templated local variables

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2005-12-06 23:43 --- So the 3.3 was a regression so closing as fixed for 3.4.0 as 3.3.x is no longer being maintained. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/25255] packed structure: pointers to self result in "error: initializer for integer value is too complicated"

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-12-06 23:55 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

  1   2   >