[Bug target/20126] [3.3/3.4/4.0 Regression] Inlined memcmp makes one argument null on entry

2005-04-14 Thread mark at codesourcery dot com
--- Additional Comments From mark at codesourcery dot com 2005-04-14 06:02 --- Subject: Re: [3.3/3.4/4.0 Regression] Inlined memcmp makes one argument null on entry Jakub Jelinek wrote: On Tue, Apr 12, 2005 at 05:54:58PM -, mmitchel at gcc dot gnu dot org wrote: ---

[Bug target/20126] [3.3/3.4/4.0 Regression] Inlined memcmp makes one argument null on entry

2005-04-14 Thread cvs-commit at gcc dot gnu dot org
: ChangeLog loop.c gcc/testsuite : ChangeLog Added files: gcc/testsuite/gcc.c-torture/execute: 20050414-1.c Log message: 2005-04-14 Alexandre Oliva [EMAIL PROTECTED] Roger Sayle [EMAIL PROTECTED] PR target/20126 * loop.c (loop_givs_rescan

[Bug rtl-optimization/21002] RTL prologue and basic-block reordering pessimizes delay-slot filling

2005-04-14 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-04-14 06:27 --- I'm interested too. :-) FWIW, when I did the transition on SPARC, I compared the assembly code generated for all testcases in gcc.c-torture/compile at -O2; IIRC there were a few regressions related to

[Bug c/21018] New: initilizing string litteral data improperly maked frame-relative, should be readonly static const.

2005-04-14 Thread schlie at comcast dot net
The following two literal initializer data should both be considered static const data references: char s[5] = abcde; char t[5] = {'a','b','c','d','e'}; the memory reference to abcde should be marked readonly, not frame-relative (as it isn't), as otherwise it's impossible to properly

[Bug c/21018] Initializing string literal data improperly marked frame-relative?, should be readonly static const.

2005-04-14 Thread schlie at comcast dot net
-- What|Removed |Added Summary| initilizing string litteral|Initializing string literal |data improperly maked frame-|data improperly marked

[Bug c++/13684] local static object variable constructed once but ctors and dtors called multiple times on same memory when called in multiple threads

2005-04-14 Thread jason at redhat dot com
--- Additional Comments From jason at redhat dot com 2005-04-14 07:38 --- Subject: Re: local static object variable constructed once but ctors and dtors called multiple times on same memory when called in multiple threads DCL with explicit memory barriers is safe. That's what I'm

[Bug c/21018] Initializing string literal data improperly marked frame-relative?, should be readonly static const.

2005-04-14 Thread schlie at comcast dot net
--- Additional Comments From schlie at comcast dot net 2005-04-14 07:43 --- (In reply to comment #0) resulting tree/rtl: showing frame-relative reference to abcde initializing data which is wrong: (insn 12 11 13 1 (set (reg:HI 44) (symbol_ref/f:HI (*.LC0) [flags 0x2]

[Bug fortran/20990] Segmentation fault

2005-04-14 Thread fxcoudert at gcc dot gnu dot org
--- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-04-14 07:49 --- Minimal test case is: integer i character*4 c(1) read (c,fmt='(A4)') i end This is a duplicate of 15966. *** This bug has been marked as a duplicate of 15966 *** --

[Bug fortran/15966] ICE and segmentation fault on internal write

2005-04-14 Thread fxcoudert at gcc dot gnu dot org
--- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-04-14 07:49 --- *** Bug 20990 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug fortran/15966] ICE and segmentation fault on internal write

2005-04-14 Thread fxcoudert at gcc dot gnu dot org
--- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-04-14 07:50 --- Same thing happens with read: integer i character*4 c(1) read (c,fmt='(A4)') i end Program received signal SIGSEGV, Segmentation fault. 0x080a760b in gfc_conv_scalarized_array_ref

[Bug rtl-optimization/21015] [3.3/3.4 Regression] Bad loop optimization with -O2

2005-04-14 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-04-14 08:19 --- The compiler fails since gcc 3.0. Looks very similar to PR 17860. -- What|Removed |Added

[Bug target/20927] [4.0/4.1 Regression] ICE in smallest_mode_for_size, at stor-layout.c:221 (s390x)

2005-04-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-14 08:25 --- Subject: Bug 20927 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-04-14 08:25:00 Modified files: gcc: ChangeLog gcc/config/s390:

[Bug target/20927] [4.0/4.1 Regression] ICE in smallest_mode_for_size, at stor-layout.c:221 (s390x)

2005-04-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-14 08:28 --- Subject: Bug 20927 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-04-14 08:28:21 Modified files: gcc:

[Bug middle-end/20995] [3.4 regression] ICE in const_binop, at fold-const.c:1391

2005-04-14 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-04-14 08:39 --- Shorter testcase: == templateint N void foo() { double d = (N ? 0.0 : 0) + 1; } == -- What|Removed

[Bug rtl-optimization/21015] [3.3/3.4 Regression] Bad loop optimization with -O2

2005-04-14 Thread bonzini at gcc dot gnu dot org
--- Additional Comments From bonzini at gcc dot gnu dot org 2005-04-14 08:44 --- Does the patch there fix it? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21015

[Bug fortran/18082] Infinite loop with automatic length character objects

2005-04-14 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-04-14 08:58 --- *** Bug 20821 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug fortran/20821] gfortran hangs indefinitely

2005-04-14 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-04-14 08:58 --- *** This bug has been marked as a duplicate of 18082 *** -- What|Removed |Added

[Bug rtl-optimization/21015] [3.3/3.4 Regression] Bad loop optimization with -O2

2005-04-14 Thread reichelt at igpm dot rwth-aachen dot de
--- Additional Comments From reichelt at igpm dot rwth-aachen dot de 2005-04-14 09:25 --- Subject: Re: [3.3/3.4 Regression] Bad loop optimization with -O2 On 14 Apr, bonzini at gcc dot gnu dot org wrote: Does the patch there fix it? Alas not. --

[Bug c++/21019] New: fails to identify template function overload

2005-04-14 Thread igodard at pacbell dot net
The attached code is doing metaprogramming where a showNode template function recurses up a linked list of attrNode templates (with different argument types) until it hits an attrBottom type at the end of the list. That identifies a different overload of showNode and stops the recursion. As the

[Bug c++/21019] fails to identify template function overload

2005-04-14 Thread igodard at pacbell dot net
--- Additional Comments From igodard at pacbell dot net 2005-04-14 11:09 --- Created an attachment (id=8626) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8626action=view) compiler output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21019

[Bug c++/21019] fails to identify template function overload

2005-04-14 Thread igodard at pacbell dot net
--- Additional Comments From igodard at pacbell dot net 2005-04-14 11:10 --- Created an attachment (id=8627) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8627action=view) source code (compressed) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21019

[Bug c++/21019] fails to identify template function overload

2005-04-14 Thread igodard at pacbell dot net
--- Additional Comments From igodard at pacbell dot net 2005-04-14 11:20 --- Never mind; I found it :-( -- What|Removed |Added Status|UNCONFIRMED

[Bug libgcj/21020] New: java.lang.NoSuchFieldError regression from earlier 4.0.0 snapshot

2005-04-14 Thread caolanm at redhat dot com
java.lang.NoSuchFieldError at .__gxx_personality_v0 (/home/caolan/java/a.out) at .__gxx_personality_v0 (/home/caolan/java/a.out) at .__gxx_personality_v0 (/home/caolan/java/a.out) at .__libc_start_main (/lib/libc-2.3.4.so) at .__gxx_personality_v0 (/home/caolan/java/a.out) --

[Bug libgcj/21020] java.lang.NoSuchFieldError regression from earlier 4.0.0 snapshot

2005-04-14 Thread caolanm at redhat dot com
--- Additional Comments From caolanm at redhat dot com 2005-04-14 12:07 --- Created an attachment (id=8628) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8628action=view) sample source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21020

[Bug libgcj/21020] java.lang.NoSuchFieldError regression from earlier 4.0.0 snapshot

2005-04-14 Thread caolanm at redhat dot com
--- Additional Comments From caolanm at redhat dot com 2005-04-14 12:07 --- Created an attachment (id=8629) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8629action=view) sample jar -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21020

[Bug libgcj/21020] java.lang.NoSuchFieldError regression from earlier 4.0.0 snapshot

2005-04-14 Thread caolanm at redhat dot com
--- Additional Comments From caolanm at redhat dot com 2005-04-14 12:09 --- version of failing gcj gcc (GCC) 4.0.0 20050412 (Red Hat 4.0.0-0.42) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not

[Bug libgcj/21020] java.lang.NoSuchFieldError regression from earlier 4.0.0 snapshot

2005-04-14 Thread caolanm at redhat dot com
--- Additional Comments From caolanm at redhat dot com 2005-04-14 12:09 --- version of successful gcj gcc (GCC) 4.0.0 20050405 (Red Hat 4.0.0-0.40) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not

[Bug libgcj/21020] java.lang.NoSuchFieldError regression from earlier 4.0.0 snapshot

2005-04-14 Thread caolanm at redhat dot com
--- Additional Comments From caolanm at redhat dot com 2005-04-14 12:11 --- affects db-4.2 as well for what it's worth -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21020

[Bug middle-end/20991] [4.0/4.1 Regression] ICE in cgraph_mark_reachable_node

2005-04-14 Thread commie1 at gmx dot net
--- Additional Comments From commie1 at gmx dot net 2005-04-14 12:35 --- Your simplified testcase only causes an ICE when I use the C++ headers from gcc 3.4.3 with gcc 4.0.0, otherwise it works fine. ICE: /opt/gcc40/bin/g++ -O -finline-functions test.cc -c -o test.o -isystem

[Bug tree-optimization/21004] [4.1 Regression] gcc.dg/builtins-53.c fails

2005-04-14 Thread uros at kss-loka dot si
--- Additional Comments From uros at kss-loka dot si 2005-04-14 12:37 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2005-04/msg01568.html -- What|Removed |Added

[Bug tree-optimization/20657] [tcb] VRP does not get rid of a redundant if statement.

2005-04-14 Thread kazu at cs dot umass dot edu
--- Additional Comments From kazu at cs dot umass dot edu 2005-04-14 13:07 --- Patch posted: http://gcc.gnu.org/ml/gcc-patches/2005-04/msg01577.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20657

[Bug libgcj/21020] java.lang.NoSuchFieldError regression from earlier 4.0.0 snapshot

2005-04-14 Thread mark at gcc dot gnu dot org
--- Additional Comments From mark at gcc dot gnu dot org 2005-04-14 13:20 --- With 4.1 (20050412) I get: g++ -g -lgcj java.cxx ./a.out java.lang.ClassNotFoundException: Lcom.sun.star.uno.Type; No stacktrace available 4.0 (20050413) indeed throws java.lang.NoSuchFieldError --

[Bug libgcj/21020] java.lang.NoSuchFieldError regression from earlier 4.0.0 snapshot

2005-04-14 Thread aph at gcc dot gnu dot org
--- Additional Comments From aph at gcc dot gnu dot org 2005-04-14 13:28 --- See https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=113145. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21020

[Bug tree-optimization/21021] New: ICE in tree-vrp building glibc

2005-04-14 Thread drow at gcc dot gnu dot org
cc1 options for the attached testcase are: -w -fpreprocessed dl-iteratephdr.i -quiet -O2 -std=gnu99 The ICE is: dl-iteratephdr.c: In function '__dl_iterate_phdr': dl-iteratephdr.c:36: internal compiler error: tree check: expected integer_type or enumeral_type or boolean_type or char_type or

[Bug tree-optimization/21021] ICE in tree-vrp building glibc

2005-04-14 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-04-14 13:32 --- Created an attachment (id=8630) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8630action=view) Test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21021

[Bug libgcj/21020] java.lang.NoSuchFieldError regression from earlier 4.0.0 snapshot

2005-04-14 Thread aph at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |tromey at gcc dot gnu dot |dot org |org Status|NEW

[Bug tree-optimization/20657] [tcb] VRP does not get rid of a redundant if statement.

2005-04-14 Thread kazu at cs dot umass dot edu
--- Additional Comments From kazu at cs dot umass dot edu 2005-04-14 13:35 --- Just checked in a patch. -- What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/20657] [tcb] VRP does not get rid of a redundant if statement.

2005-04-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-14 13:36 --- Subject: Bug 20657 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-04-14 13:34:59 Modified files: gcc: ChangeLog tree-vrp.c

[Bug tree-optimization/21021] ICE in tree-vrp building glibc

2005-04-14 Thread kazu at cs dot umass dot edu
-- What|Removed |Added CC||kazu at cs dot umass dot edu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21021

[Bug java/21022] New: bootstrap error compiling libgcj with awt support on darwin-ppc

2005-04-14 Thread andreast at gcc dot gnu dot org
I get the following bus error when I compile libgcj with awt support on darwin: gnu/java/awt/peer/gtk/GdkFontMetrics.java: In class 'gnu.java.awt.peer.gtk.GdkFontMetrics': gnu/java/awt/peer/gtk/GdkFontMetrics.java: In constructor '(java.awt.Font)': gnu/java/awt/peer/gtk/GdkFontMetrics.java:0:

[Bug tree-optimization/21021] ICE in tree-vrp building glibc

2005-04-14 Thread kazu at cs dot umass dot edu
--- Additional Comments From kazu at cs dot umass dot edu 2005-04-14 14:00 --- Daniel, I have tough time reproducing this. I get In file included from dl-iteratephdr.c:22: ../include/errno.h:31: error: thread-local storage not supported for this target Am I missing some options? --

[Bug tree-optimization/21021] ICE in tree-vrp building glibc

2005-04-14 Thread kazu at cs dot umass dot edu
--- Additional Comments From kazu at cs dot umass dot edu 2005-04-14 14:11 --- OK, I enabled HAVE_AS_TLS by hand. Now I can reproduce the ICE. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21021

[Bug target/21017] ppc 64bit target not using rlwinm

2005-04-14 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c |target Keywords||missed-optimization

[Bug middle-end/21018] Initializing string literal data improperly marked frame-relative?, should be readonly static const.

2005-04-14 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c |middle-end http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21018

[Bug target/20927] [4.0/4.1 Regression] ICE in smallest_mode_for_size, at stor-layout.c:221 (s390x)

2005-04-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-14 14:25 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/21021] ICE in tree-vrp building glibc

2005-04-14 Thread kazu at cs dot umass dot edu
--- Additional Comments From kazu at cs dot umass dot edu 2005-04-14 14:42 --- Reduced down to: struct link_map { struct link_map *next; unsigned int start, end; }; void foo (struct link_map **array, long int cnt) { struct link_map *l; const void *caller =

[Bug tree-optimization/21021] [4.1 Regression] ICE in tree-vrp building glibc

2005-04-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-14 14:52 --- Confirmed, with Kazu's reduced testcase on i686-pc-linux. -- What|Removed |Added

[Bug tree-optimization/21021] [4.1 Regression] ICE in tree-vrp building glibc

2005-04-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-14 14:54 --- Here is a testcase which does not use builtins: struct link_map { struct link_map *next; unsigned int start, end; }; void *f(); void foo (struct link_map **array, long int cnt) { struct link_map *l;

[Bug tree-optimization/21021] [4.1 Regression] ICE in tree-vrp building glibc

2005-04-14 Thread kazu at cs dot umass dot edu
--- Additional Comments From kazu at cs dot umass dot edu 2005-04-14 14:56 --- Reduced down to: extern void *bar (void); int foo (unsigned int *p, unsigned int *q) { const void *r = bar (); if (r = (const void *) *p r (const void *) *q) return 1; return 0; } --

[Bug tree-optimization/20947] [4.1 Regression] ICE in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:394

2005-04-14 Thread belyshev at depni dot sinp dot msu dot ru
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-04-14 15:14 --- // reduced testcase, compile with -O2 -fpeel-loops -ftree-vectorize : void foo (double *d) { unsigned int a, i; double t[2]; for (i = 0; i 2; i++) { for (a = 0; a 2; a++)

[Bug tree-optimization/20963] [4.1 Regression] ICE tree check: expected value_handle, have addr_expr in value_exists_in_set_bitmap, at tree-ssa-pre.c:437

2005-04-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-14 15:25 --- Subject: Bug 20963 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-04-14 15:25:02 Modified files: gcc: ChangeLog tree-ssa-pre.c Log

[Bug target/20924] [4.0 regression] inline float divide does not set correct fpu status flags

2005-04-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-14 15:43 --- Subject: Bug 20924 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-04-14 15:43:07 Modified files: gcc:

[Bug tree-optimization/21021] [4.1 Regression] ICE in tree-vrp building glibc

2005-04-14 Thread kazu at cs dot umass dot edu
--- Additional Comments From kazu at cs dot umass dot edu 2005-04-14 15:51 --- Before VRP (even before ASSERT_EXPR insertion), we have const void * r; unsigned int D.1157; void * D.1156; : : if (r_3 = D.1157_5) goto L0; else goto L5; Note that we already have a

[Bug target/20924] [4.0 regression] inline float divide does not set correct fpu status flags

2005-04-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-14 15:53 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

Bug: Segmentation fault

2005-04-14 Thread Antonio
I wrote a program that is fine compiling by MS VC 7.1 or higher and works correctly. It also is compiling by CodeWarior 8.0. Unfortunately gcc says subj. :( Source code you can find in attach. gcc --version gcc (GCC) 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1) Copyright (C) 2003

[Bug libmudflap/21023] New: mudflap reports errors

2005-04-14 Thread hermantenbrugge at home dot nl
Yesterday I upgraded my fedora core 3 instalation and got gcc4 installed. I tested the mudflap code and found a problem. The reduced test case is below. when I have two programs a.c and b.c -- a.c -- typedef struct { char *name; } dummy; dummy d[] = { {a}, {0} }; -- b.c -- typedef struct { char

[Bug tree-optimization/21021] [4.1 Regression] ICE in tree-vrp building glibc

2005-04-14 Thread kazu at cs dot umass dot edu
-- What|Removed |Added BugsThisDependsOn||21024 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21021

[Bug c/21024] New: Type mismatch in a comparison.

2005-04-14 Thread kazu at cs dot umass dot edu
Consider: extern void *bar (void); int foo (unsigned int *p) { const void *r = bar (); if (r = (const void *) *p) return 1; return 0; } t03.generic looks like so. foo (p) { void * D.1155; unsigned int D.1156; int D.1157; const void * r; D.1155 = bar (); r = D.1155;

[Bug target/21017] ppc 64bit target not using rlwinm

2005-04-14 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||pinskia at gcc dot gnu dot ||org

[Bug tree-optimization/20773] ICE: SEGV building jar file

2005-04-14 Thread belyshev at depni dot sinp dot msu dot ru
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-04-14 16:33 --- Created an attachment (id=8631) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8631action=view) smaller testcase (4749 bytes) confirmed on amd64 with both 4.0.0 and mainline. --

[Bug c++/21025] New: ICE on template

2005-04-14 Thread algrant at acm dot org
3.4.3 seg faults on this: templateint N struct X { char x[N]; }; templatetypename T X1 + sizeof(T) - sizeof(T) F(T const ); templateint N struct S { int d() { F(1); } }; Appears to be quite dependent on the fact that the template argument involves sizeof(T) - sizeof(T) - if the - is

[Bug c/21024] Type mismatch in a comparison.

2005-04-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-14 16:48 --- Confirmed. This has been wrong since 3.5.0 20040909. -- What|Removed |Added

[Bug middle-end/20965] [4.1 Regression] GCC can no longer build itself on ppc-darwin

2005-04-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-14 16:49 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW

[Bug c++/21025] [3.4/4.0/4.1 Regression] ICE on template

2005-04-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-14 16:52 --- Confirmed. It also worked with 3.4.0 20040116 which means it was broken after the branch of 3.4.0. -- What|Removed |Added

[Bug middle-end/20739] [4.0/4.1 regression] ICE in gimplify_addr_expr

2005-04-14 Thread aoliva at redhat dot com
--- Additional Comments From aoliva at gcc dot gnu dot org 2005-04-14 17:03 --- Subject: Re: [PR middle-end/20739] lvalue cond-expr gimplification may crash on cv-qual diffs On Apr 4, 2005, Alexandre Oliva [EMAIL PROTECTED] wrote: If the operands of a cond-expr used as an lvalue

[Bug middle-end/20739] [4.0/4.1 regression] ICE in gimplify_addr_expr

2005-04-14 Thread roger at eyesopen dot com
--- Additional Comments From roger at eyesopen dot com 2005-04-14 17:19 --- Thanks Alex! This is OK for mainline. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20739

[Bug target/20126] [3.3/3.4/4.0 Regression] Inlined memcmp makes one argument null on entry

2005-04-14 Thread aoliva at redhat dot com
--- Additional Comments From aoliva at gcc dot gnu dot org 2005-04-14 17:21 --- Subject: Re: [PR target/20126, RFC] loop DEST_ADDR biv replacement may fail On Apr 12, 2005, Roger Sayle [EMAIL PROTECTED] wrote: ! v-ignore = 1; What's the point of the statement above? If

[Bug target/20126] [3.3/3.4/4.0 Regression] Inlined memcmp makes one argument null on entry

2005-04-14 Thread roger at eyesopen dot com
--- Additional Comments From roger at eyesopen dot com 2005-04-14 17:37 --- You'll notice in loop.c that everywhere that we currently set all_reduced to zero, we also set ignore to true. This change is to avoid wasting CPU cycles, if we know that an IV can't be eliminated, there's no

[Bug testsuite/21010] New gcc.dg/vect tests fail

2005-04-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-14 18:02 --- Subject: Bug 21010 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-04-14 18:02:37 Modified files: gcc/testsuite/gcc.dg/vect: vect-ifcvt-1.c

[Bug target/20634] code fails to compile/code generation issue with -funit-at-a-time

2005-04-14 Thread belyshev at depni dot sinp dot msu dot ru
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-04-14 18:02 --- reduced testcase, compile with '-O1 -fschedule-insns -funit-at-a-time', fails with 3.3-hammer, 3.4, 4.0 and mainline, introduced in 2003: : Search converges between 2003-07-11-trunk (#291) and

[Bug libgcj/21020] java.lang.NoSuchFieldError regression from earlier 4.0.0 snapshot

2005-04-14 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-04-14 18:05 --- For 4.0, my recent system class loader patch works around this problem. The attached patch should go in the trunk asap. I looked at all other users of _Jv_FindClassFromSignature, and this was the only

[Bug target/20813] [4.1 Regression] ICE in gen_reg_rtx for 3 spec tests

2005-04-14 Thread janis at gcc dot gnu dot org
--- Additional Comments From janis at gcc dot gnu dot org 2005-04-14 18:18 --- Here's a minimized test case that fails on powerpc64-linux with -m64 -O2: extern void bar (void *); extern double x; void foo

[Bug testsuite/21010] New gcc.dg/vect tests fail

2005-04-14 Thread janis at gcc dot gnu dot org
--- Additional Comments From janis at gcc dot gnu dot org 2005-04-14 18:22 --- Fixed with the patch. Today the tests pass on powerpc64-linux. -- What|Removed |Added

[Bug libgcj/21020] java.lang.NoSuchFieldError regression from earlier 4.0.0 snapshot

2005-04-14 Thread aph at gcc dot gnu dot org
--- Additional Comments From aph at gcc dot gnu dot org 2005-04-14 18:47 --- Do you want me to post the patch, then? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21020

[Bug c++/20552] [3.4 Regression] ICE in write_type, at cp/mangle.c:1579

2005-04-14 Thread belyshev at depni dot sinp dot msu dot ru
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-04-14 19:02 --- // reduced testcase template class T class C { void f () { typedef int U; typedef typeof(*this) U; } }; -- What|Removed |Added

[Bug c++/20552] [3.3/3.4 Regression] ICE in write_type, at cp/mangle.c:1579

2005-04-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-14 19:10 --- Fixed on the mainline: : Search converges between 2004-03-01-trunk (#446) and 2004-04-01-trunk (#447). Broke: : Search converges between 2001-03-18-trunk (#11) and 2001-03-25-trunk (#12). --

[Bug c++/21026] New: ICE in check_tag_decl, at cp/decl.c:3516

2005-04-14 Thread belyshev at depni dot sinp dot msu dot ru
// compile with -O0 template class T class C { void f () { typedef typeof(*this) int; } }; // not a regression, fixed in 4.0 and above: // Search converges between 2004-06-24-trunk (#471) and 2004-06-26-trunk (#472). -- Summary: ICE in check_tag_decl, at cp/decl.c:3516

[Bug c++/21026] ICE in check_tag_decl, at cp/decl.c:3516

2005-04-14 Thread belyshev at depni dot sinp dot msu dot ru
-- What|Removed |Added Known to fail||3.4.4 3.3.5 Known to work||4.0.0 4.1.0

[Bug libgcj/21020] java.lang.NoSuchFieldError regression from earlier 4.0.0 snapshot

2005-04-14 Thread mark at gcc dot gnu dot org
--- Additional Comments From mark at gcc dot gnu dot org 2005-04-14 19:14 --- This was fixed by the following patch on the 4.0 branch (20050414): 2005-04-14 Tom Tromey [EMAIL PROTECTED] * java/lang/natClassLoader.cc (_Jv_FindClass): Use system loader, not boot loader

[Bug fortran/21027] New: Triple call to _gfortran_runtime_error with -fbounds-check

2005-04-14 Thread tkoenig at gcc dot gnu dot org
$ cat bounds-check.f90 program main integer, parameter :: n=10 integer :: m,i integer a(n), b(n) call foo(a,m) do i=1,m b(i) = a(i)*a(i) end do print *,b(1:m) end program main subroutine foo(a) integer a(10) a = 2 m = 12 end subroutine foo $ gfortran -fbounds-check

[Bug fortran/21027] Triple call to _gfortran_runtime_error with -fbounds-check

2005-04-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-14 19:22 --- This is a dup of bug 17758, which I reported when I was looking into a tree-optimizator ICE long time ago. I also noticed just recently when I was about to work on PR 17758, that _gfortran_runtime_error

[Bug fortran/17758] gfortran_abort and some others should be marked as noreturn

2005-04-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-14 19:22 --- *** Bug 21027 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug target/20813] [4.1 Regression] ICE in gen_reg_rtx for 3 spec tests

2005-04-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-14 19:30 --- (In reply to comment #2) Here's a minimized test case that fails on powerpc64-linux with -m64 -O2: On IRC pinskia pointed out that powerpc64-linux supports older CPUs by default than does powerpc-darwin.

[Bug ada/21028] New: Cross build failure from i686-linux to powerpc-aix5.2

2005-04-14 Thread ltg at zes dot uni-bremen dot de
I tried to build a gcc-3.4-20050408 cross compiler for a powerpc-aix5.2 system, and I got the following: gcc -O9 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long-DHAVE_CONFIG_H gcov-dump.o version.o

[Bug ada/21028] Cross build failure from i686-linux to powerpc-aix5.2

2005-04-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-14 19:35 --- *** This bug has been marked as a duplicate of 6872 *** -- What|Removed |Added

[Bug ada/6872] can't build cross including ada to powerpc-ibm-aix4.3.3.0

2005-04-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-14 19:35 --- *** Bug 21028 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug target/21017] ppc 64bit target not using rlwinm

2005-04-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-14 19:40 --- Looks like subregs are getting in the way. Confirmed. -- What|Removed |Added

[Bug tree-optimization/21029] New: vrp miscompiles Ada front-end, drops loop exit test in well-defined wrap-around circumstances

2005-04-14 Thread aoliva at gcc dot gnu dot org
csets___elabb gets miscompiled in stage2, such that stage3 enters and endless loop compiling ada.ads. Unfortunately, vrp seldom kicks in, so it's a bit difficult to duplicate the problem. Perhaps it would make sense to add a command-line option to force vrp on, and add that to torture, just to

[Bug tree-optimization/21029] vrp miscompiles Ada front-end, drops loop exit test in well-defined wrap-around circumstances

2005-04-14 Thread dnovillo at redhat dot com
--- Additional Comments From dnovillo at redhat dot com 2005-04-14 20:18 --- Subject: Re: New: vrp miscompiles Ada front-end, drops loop exit test in well-defined wrap-around circumstances On Thu, Apr 14, 2005 at 08:16:09PM -, aoliva at gcc dot gnu dot org wrote: Unfortunately,

[Bug tree-optimization/21029] vrp miscompiles Ada front-end, drops loop exit test in well-defined wrap-around circumstances

2005-04-14 Thread aoliva at gcc dot gnu dot org
--- Additional Comments From aoliva at gcc dot gnu dot org 2005-04-14 20:19 --- Created an attachment (id=8632) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8632action=view) C testcase that triggers the bug The problem is that (from the vrp dump): Simulating statement (from

[Bug tree-optimization/21029] [4.1 Regression] vrp miscompiles Ada front-end, drops loop exit test in well-defined wrap-around circumstances

2005-04-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-14 20:25 --- The other thing is that signed integer wrapping is defined if we add -fwrapv which means we now miss compile some java programs too. Confirmed. -- What|Removed |Added

[Bug tree-optimization/21030] New: ICE in set_value_range building 176.gcc with -O2

2005-04-14 Thread janis at gcc dot gnu dot org
Mainline GCC for powerpc-linux gets an ICE compiling 176.gcc from SPEC CPU2000 with -O2, as shown with this minimized test case: elm3b149% /home/janis/tools/gcc-mline-20050414/bin/gcc -O2 -c bug.c bug.c: In function

[Bug tree-optimization/21029] [4.1 Regression] vrp miscompiles Ada front-end, drops loop exit test in well-defined wrap-around circumstances

2005-04-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-14 20:42 --- (In reply to comment #3) The other thing is that signed integer wrapping is defined if we add -fwrapv which means we now miss compile some java programs too. Actually I tried basically the same

[Bug tree-optimization/21030] ICE in set_value_range building 176.gcc with -O2

2005-04-14 Thread janis at gcc dot gnu dot org
--- Additional Comments From janis at gcc dot gnu dot org 2005-04-14 20:43 --- Created an attachment (id=8633) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8633action=view) minimized test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21030

[Bug tree-optimization/21031] New: Another missed forward propagation opportunity

2005-04-14 Thread kazu at cs dot umass dot edu
Consider: int foo (int a) { int b = a != 0; unsigned char c = b; if (c) return 1; else return 0; } We end up with code like this: b_3 = a_2 != 0; c_4 = (unsigned char) b_3; if (c_4 != 0) goto L0; else goto L2; We want to forward-propagate the preceding two statements into

[Bug tree-optimization/21030] [4.1 Regression] ICE in set_value_range building 176.gcc with -O2

2005-04-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-14 20:44 --- Confirmed, also happens on i686-pc-linux-gnu. -- What|Removed |Added

[Bug tree-optimization/21031] Another missed forward propagation opportunity

2005-04-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-14 20:50 --- Confirmed, I thought I saw a bug like before. -- What|Removed |Added CC|

[Bug c++/20912] C++ FE emitting assignments to read-only global symbols

2005-04-14 Thread schlie at comcast dot net
--- Additional Comments From schlie at comcast dot net 2005-04-14 21:28 --- (In reply to comment #0) I guess I misunderstand the problem, as given: const double ggPi = 3.14159265358979323846; double const divPi = 1 / ggPi; It would seem that neither ggPi or divPI should be

[Bug libfortran/18495] Intrinisc function SPREAD is broken

2005-04-14 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-04-14 21:49 --- Created an attachment (id=8634) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8634action=view) Proposed fix for PR 18495. This appears to fix the benchmark in question. -- What

[Bug c/21032] New: GCC 3.4.3 wrongly reorders floating-point operations

2005-04-14 Thread bagnara at cs dot unipr dot it
If you compile the function void assign2(float* a, double b) { volatile float v = -b; *a = -v; } you will see that GCC 3.4.3, e.g., at -O2, produces fldl12(%ebp) fstps -20(%ebp) movl8(%ebp), %eax flds-20(%ebp) fchs fstps

  1   2   >