[Bug fortran/21203] Segfault while compiling libgfortran/intrinsics/selected_int_kind.f90

2005-05-13 Thread corsepiu at gcc dot gnu dot org
--- Additional Comments From corsepiu at gcc dot gnu dot org 2005-05-13 07:56 --- Created an attachment (id=8884) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8884&action=view) selected_int_kind.f90 As requested by Tobi, the selected_int_kind.f90 building h8300-rtems4.7 gcc-4.0.1

[Bug fortran/21203] Segfault while compiling libgfortran/intrinsics/selected_int_kind.f90

2005-05-13 Thread corsepiu at gcc dot gnu dot org
--- Additional Comments From corsepiu at gcc dot gnu dot org 2005-05-13 07:59 --- Created an attachment (id=8885) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8885&action=view) selected_int_kind.inc Sorry, wrong file. This is the *.inc, Tobi requested. -- http://gcc.gnu.org/b

[Bug c++/21543] New: Templates and sub types are not inherited in g++

2005-05-13 Thread sven at clio dot in-berlin dot de
I do not know if the following example is considered valid code. I do not have a copy of the standard. The following code fails with g++-3.4 (GCC) 3.4.4 20050314 (prerelease) (Debian 3.4.3-12). error messages: test.cpp:28: error: invalid explicit specialization before '>

[Bug middle-end/21538] [4.0/4.1 Regression] g++.dg/opt/temp1.C execution test fails

2005-05-13 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-05-13 09:52 --- The testcase is fine. We just optimize it no more with the STRIP_TYPE_NOPS change. This change was to avoid stripping type qualifiers such as const from lvalues - so we might need to use some other type st

[Bug tree-optimization/21531] 4.0/4.1 Regression __builtin_expect

2005-05-13 Thread alexander_herrmann at yahoo dot com dot au
--- Additional Comments From alexander_herrmann at yahoo dot com dot au 2005-05-13 09:53 --- Subject: Re: 4.0/4.1 Regression __builtin_expect Hi there, > --- Additional Comments From pinskia at gcc dot > gnu dot org 2005-05-12 12:12 --- > Can you attached the preprocessed sour

[Bug bootstrap/21544] New: xgcc fails (1rst stage) if binutils is not installed into --prefix directory

2005-05-13 Thread jlm_devel at laposte dot net
binutils are installed into /opt/x86_64/binutils gcc is configured as follow : --target=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu --enable-__cxa_atexit --prefix=/opt/x86_64/gcc/3.4.3 --with-local-prefix=/var/x86_64 --with-newlib --without-headers --

[Bug rtl-optimization/17935] Two consecutive movzbl are generated

2005-05-13 Thread uros at kss-loka dot si
--- Additional Comments From uros at kss-loka dot si 2005-05-13 10:07 --- I think there is another optimization opportunity regarding movzbl following andl. Consider this part: movb(%eax), %alEAX = x...x andl$1, %eax EAX = 0...

[Bug tree-optimization/21545] New: [4.1 regression] gcc.c-torture/execute/20031215-1.c ICEs

2005-05-13 Thread rguenth at gcc dot gnu dot org
We fail in verify_ssa because /net/pherkad/scratch/rguenth/gcc/gcc/testsuite/gcc.c-torture/execute/20031215-1.c:11: error: Statement makes a memory store, but has no V_MAY_DEFS nor V_MUST_DEFS # VUSE ; ao.ch[2] = 0; /net/pherkad/scratch/rguenth/gcc/gcc/testsuite/gcc.c-torture/execute/20031215-1.

[Bug c/21546] New: internal compiler error: in convert_move, at expr.c:339

2005-05-13 Thread menzel at ls6 dot cs dot uni-dortmund dot de
When I compile the following file with 'gcc -O2 file.c' I get: file.c: In function 'clip': file.c:2: internal compiler error: in convert_move, at expr.c:339 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html> for instructions. --- file.c ---

[Bug c/21546] internal compiler error: in convert_move, at expr.c:339

2005-05-13 Thread menzel at ls6 dot cs dot uni-dortmund dot de
--- Additional Comments From menzel at ls6 dot cs dot uni-dortmund dot de 2005-05-13 10:16 --- Oh, I forgot, here is the output of 'gcc -v': Using built-in specs. Target: sparc-sun-solaris2.9 Configured with: /home/menzel/src/4.0.0/gcc-4.0.0/configure --prefix=/home/menzel/sw5.9-gcc4.0.

[Bug middle-end/21546] internal compiler error: in convert_move, at expr.c:339

2005-05-13 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c |middle-end Keywords||ice-on-valid-code http://gcc.gnu.org/bugzilla/show

[Bug tree-optimization/21531] 4.0/4.1 Regression __builtin_expect

2005-05-13 Thread alexander_herrmann at yahoo dot com dot au
--- Additional Comments From alexander_herrmann at yahoo dot com dot au 2005-05-13 11:16 --- Subject: Re: 4.0/4.1 Regression __builtin_expect The promised Testcase. Earlier than expected :) aie_sql_meta.c: In Funktion ปaie_sql_meta_create_indexซ: aie_sql_meta.c:32: Warnung: ปindex_ty

[Bug bootstrap/21542] gcc 4.0.0 assumes all i386-pc-solaris2.10 platforms have 64-bit processors

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 11:17 --- Try instead using --disable-multilib, that will work instead. also if you did not move the need_64bit_hwint=yes part to the 64bit part, then you don't need to change libcpp. -- http://gcc.gnu.org/bugzi

[Bug tree-optimization/21545] [4.1 regression] gcc.c-torture/execute/20031215-1.c ICEs

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 11:30 --- Confirmed, stupid non-existent type system. -- What|Removed |Added Status|UNCONF

[Bug tree-optimization/21531] 4.0/4.1 Regression __builtin_expect

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 11:42 --- The warning is correct for tableid and index_typ as this is an "or" expression. So this is invalid. If I change it to && then that is just PR 21513. -- What|Removed |Ad

[Bug tree-optimization/21520] missing PRE opportunity with operand after operand

2005-05-13 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21520

[Bug tree-optimization/21532] ICE caused by PRE dead instruction removal

2005-05-13 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.0.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21532

[Bug c++/19748] aggressive no-inline options still cause inlining

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 11:53 --- No feedback in 3 months. -- What|Removed |Added Status|WAITING

[Bug tree-optimization/21531] 4.0/4.1 Regression __builtin_expect

2005-05-13 Thread alexander_herrmann at yahoo dot com dot au
--- Additional Comments From alexander_herrmann at yahoo dot com dot au 2005-05-13 11:55 --- Subject: Re: 4.0/4.1 Regression __builtin_expect > The warning is correct for tableid and index_typ as > this is an "or" expression. if (__builtin_expect(((index_def == NULL) ||

[Bug middle-end/19912] GCC does not disclose parentheses

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 11:55 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E

[Bug tree-optimization/21531] 4.0/4.1 Regression __builtin_expect

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 12:00 --- Then it is a dup of bug 21513. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21531

[Bug rtl-optimization/20756] Clobbers of deleted insns are processed, but left out

2005-05-13 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-13 12:25 --- Subject: Bug 20756 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-05-13 12:25:35 Modified files: gcc: ChangeLog flow.c Log message:

[Bug libfortran/21547] New: Enable to build libfortran library

2005-05-13 Thread antonvys at mail dot ru
$ gcc -v Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs Configured with: ./configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol

[Bug tree-optimization/21545] [4.1 regression] gcc.c-torture/execute/20031215-1.c ICEs

2005-05-13 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-05-13 12:45 --- Subject: Re: New: [4.1 regression] gcc.c-torture/execute/20031215-1.c ICEs On Fri, 13 May 2005, rguenth at gcc dot gnu dot org wrote: >Summary: [4.1 regression] gcc.c-torture/execute/20031215

[Bug tree-optimization/21545] [4.1 regression] gcc.c-torture/execute/20031215-1.c ICEs

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 12:46 --- I knew this was already opened. *** This bug has been marked as a duplicate of 21541 *** -- What|Removed |Added -

[Bug tree-optimization/21541] [4.1 Regression] gcc.c-torture/execute/20031215-1.c compilation fails

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 12:46 --- *** Bug 21545 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug tree-optimization/21541] [4.1 Regression] gcc.c-torture/execute/20031215-1.c compilation fails

2005-05-13 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-05-13 12:48 --- See duplicate 21545 for (some) analysis. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21541

[Bug tree-optimization/21531] 4.0/4.1 Regression __builtin_expect

2005-05-13 Thread alexander_herrmann at yahoo dot com dot au
--- Additional Comments From alexander_herrmann at yahoo dot com dot au 2005-05-13 13:06 --- Subject: Re: 4.0/4.1 Regression __builtin_expect Ok, than we move it into another catagory. Compiler crashes with segmentation fault. After 20 years of C programing it is like felling feeling

[Bug bootstrap/21542] gcc 4.0.0 assumes all i386-pc-solaris2.10 platforms have 64-bit processors

2005-05-13 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-05-13 13:17 --- Subject: Re: New: gcc 4.0.0 assumes all i386-pc-solaris2.10 platforms have 64-bit processors On Fri, 13 May 2005, Daniel dot Davies at xerox dot com wrote: > I've been trying to build GCC 4.0.0 on an ord

[Bug tree-optimization/19626] Aliasing says stores to local memory do alias

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 13:18 --- Most of the problem is PR 17141, the other problem comes into play with struct aliasing issues. -- What|Removed |Added --

[Bug rtl-optimization/20756] Clobbers of deleted insns are processed, but left out

2005-05-13 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-13 13:34 --- Subject: Bug 20756 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-05-13 13:34:19 Modified files: gcc: basic-block.h Log message:

[Bug rtl-optimization/20756] Clobbers of deleted insns are processed, but left out

2005-05-13 Thread amylaar at gcc dot gnu dot org
--- Additional Comments From amylaar at gcc dot gnu dot org 2005-05-13 13:37 --- Fixed on mainline with check-in from today. -- What|Removed |Added Status|UNCONF

[Bug target/20695] sh64-*-* port deos not handle 32 / 64 bit conversions properly

2005-05-13 Thread amylaar at gcc dot gnu dot org
-- Bug 20695 depends on bug 20756, which changed state. Bug 20756 Summary: Clobbers of deleted insns are processed, but left out http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20756 What|Old Value |New Value

[Bug rtl-optimization/20756] Clobbers of deleted insns are processed, but left out

2005-05-13 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20756

[Bug middle-end/20714] emit_no_conflict_block does invalid reordering

2005-05-13 Thread amylaar at gcc dot gnu dot org
--- Additional Comments From amylaar at gcc dot gnu dot org 2005-05-13 13:50 --- An updated patch is here: http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01238.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20714

[Bug tree-optimization/21234] ICE with -ftree-vectorize in convert_move at expr.c:367

2005-05-13 Thread hurbain at cri dot ensmp dot fr
--- Additional Comments From hurbain at cri dot ensmp dot fr 2005-05-13 13:55 --- I encountered this bug too with a very similar code on GCC 4.1 snapshot 20050424 with options -O2 -msse2 -ftree-vectorize. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21234

[Bug c/21548] New: [4.0 regression] Wrong warning about uninitialized variable

2005-05-13 Thread schwab at suse dot de
$ cat uninit.c static int blocksize = 4096; int bar (int); void foo (void) { int toread; int bytes; static char eof_reached = 0; toread = blocksize; while (toread != 0) { bytes = bar (toread); if (bytes <= 0) { if (bytes < 0)

[Bug libstdc++/21549] New: Configure options hard to find

2005-05-13 Thread pcarlini at suse dot de
It looks like people often have trouble finding the libstdc++-specific configure options. It is suggested, very sensibly in my opinion, that the documentation should be added to http://gcc.gnu.org/install/configure.html, in a specific section - similarly to Fortran/Java(libgcj) and so on - or, mayb

[Bug c/21548] [4.0 regression] Wrong warning about uninitialized variable

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 14:53 --- hmm, what happens if blocksize is zero when foo is entered. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21548

[Bug c/21548] [4.0 regression] Wrong warning about uninitialized variable

2005-05-13 Thread schwab at suse dot de
--- Additional Comments From schwab at suse dot de 2005-05-13 14:54 --- The program logic guarantees that blocksize is never zero. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21548

[Bug c/21548] [4.0 regression] Wrong warning about uninitialized variable

2005-05-13 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2005-05-13 14:57 --- The compiler can't be expected to follow that logic. If blocksize is set to zero by some magic daemon, then the bytes would be undefined. -- What|Removed |Added ---

[Bug c/21548] [4.0 regression] Wrong warning about uninitialized variable

2005-05-13 Thread schwab at suse dot de
--- Additional Comments From schwab at suse dot de 2005-05-13 14:59 --- To clarify, the problem is the "is used" part. This should be "might be used" instead. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21548

[Bug c/21548] [4.0 regression] Wrong warning about uninitialized variable

2005-05-13 Thread schwab at suse dot de
--- Additional Comments From schwab at suse dot de 2005-05-13 15:00 --- It is not _always_ uninitialized. -- What|Removed |Added Status|RESOLVED

[Bug c/21548] [4.0 regression] Wrong warning about uninitialized variable

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 15:01 --- I also get the warning in 3.4.0 and 3.3.3 with your example, did you reduce it too far? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21548

[Bug c/21548] [4.0 regression] Wrong warning about uninitialized variable

2005-05-13 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2005-05-13 15:05 --- It's nothing to do with ALWAYS. It's to do with COULD BE. There are values that blocksize COULD take that would lead to bytes being uninitialized. That's all the warning is telling you. The compiler is

[Bug c/21548] [4.0 regression] Wrong warning about uninitialized variable

2005-05-13 Thread schwab at suse dot de
--- Additional Comments From schwab at suse dot de 2005-05-13 15:06 --- That's why it should say "might be used". -- What|Removed |Added Status|RESOLVED

[Bug c/21550] New: i686 floating point performance 33% slower than gcc 3.4.3

2005-05-13 Thread trt at acm dot org
gcc 4.0.0 generates slower code than gcc 3.4.3 for the BLAS "axpy" operation. (This is no doubt specific to IA32, and perhaps also to the processor version.) The program is below, here are the timing results: gcc 3.4.3gcc 4.0.0 Method cpu secs cpu secs z[]=x

GCC 2.95.3 on Red Hat Entreprise Linux ES 3.0

2005-05-13 Thread maha lakshmi
Hello, I would like know if GCC compiler 2.95.3 could be installed on Red Hat Entreprise Linux ES 3.0 and recompile C/C++ programs that were written/compiled earlier using 2.95.3 GCC compiler on Sun Solaris V 2.6 machine. Also would like to know the pros and cons in using GCC 2.95.3 in preferenc

[Bug libgcj/21524] Cancelling a TimerTask puts Timer binary heap in inconsistent state

2005-05-13 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-05-13 16:30 --- Could you write a reduced test case? Ideally it would be in Mauve form; that way we can easily put it in the test suite when we put in the fix. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21524

[Bug target/21551] New: [4.0 Regression] bootstrap failed

2005-05-13 Thread hjl at lucon dot org
As of Fri May 13 05:21:49 UTC 2005, gcc 4.0 failed to bootstrap on ia64: ./xgcc -B./ -B/usr/gcc-4.0/ia64-unknown-linux-gnu/bin/ -isystem /usr/gcc-4.0/ia64-unknown-linux-gnu/include -isystem /usr/gcc-4.0/ia64-unknown-linux-gnu/sys-include -L/export/build/gnu/gcc-4.0/build-ia64-linux/gcc/../ld -O2

[Bug target/21552] New: Bootstrap failed

2005-05-13 Thread hjl at lucon dot org
As of Fri May 13 05:21:49 UTC 2005, I got stage1/xgcc -Bstage1/ -B/usr/gcc-4.1/ia64-unknown-linux-gnu/bin/ -c -DUSE_LIBUNWIND_EXCEPTIONS -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werr

[Bug middle-end/20793] allocate_initial_values does not adjust register liveness information

2005-05-13 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-13 16:56 --- Subject: Bug 20793 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-05-13 16:56:12 Modified files: gcc: ChangeLog bt-load.c integrate.c Log

[Bug rtl-optimization/20769] bt-load.c doesn't take nonlocal gotos into account.

2005-05-13 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-13 16:56 --- Subject: Bug 20769 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-05-13 16:56:12 Modified files: gcc: ChangeLog bt-load.c integrate.c Log

[Bug driver/21553] New: GCC_EXEC_PREFIX mechanism is broken

2005-05-13 Thread roche at adacore dot com
Here is what I did: $ export GCC_EXEC_PREFIX=/my_prefix/lib/gcc/ $ gcc --print-search-dirs install: /opt/gnu/gnat/lib/gcc/sparc-sun-solaris2.8/3.4.4/ programs: = /libexec/gcc/sparc-sun-solaris2.8/3.4.4/: /libexec/gcc/: /opt/gnu/gnat/libexec/gcc/sparc-sun-solaris2.8/3.4.4/ libraries: = /my_prefix/

[Bug driver/21553] GCC_EXEC_PREFIX mechanism is broken

2005-05-13 Thread roche at adacore dot com
-- What|Removed |Added CC||roche at adacore dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21553

[Bug middle-end/20793] allocate_initial_values does not adjust register liveness information

2005-05-13 Thread amylaar at gcc dot gnu dot org
--- Additional Comments From amylaar at gcc dot gnu dot org 2005-05-13 17:19 --- Fixed on mainline with patch checked in today. -- What|Removed |Added Status|UNC

[Bug rtl-optimization/20769] bt-load.c doesn't take nonlocal gotos into account.

2005-05-13 Thread amylaar at gcc dot gnu dot org
--- Additional Comments From amylaar at gcc dot gnu dot org 2005-05-13 17:20 --- Fixed on mainline with patch checked in today. -- What|Removed |Added Status|UNC

[Bug target/21552] Bootstrap failed

2005-05-13 Thread schwab at suse dot de
--- Additional Comments From schwab at suse dot de 2005-05-13 17:53 --- I couldn't reproduce that, and I didn't see any regressions since yesterday. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21552

[Bug libstdc++/21549] Configure options hard to find

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 18:01 --- Confirmed, --with-pic being documented would be very nice even though it is a generic libtool configure option, it is most used with libstdc++ as shown by the bug reports about the using static libstdc++

[Bug tree-optimization/21550] [4.0/4.1 Regression] i686 floating point performance 33% slower than gcc 3.4.3

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 18:03 --- I think this basically goes back to the correct selection of IVs and i386 addressing mode, aka a*4+b and such, there are other bugs opened about that already. -- What|Removed

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

2005-05-13 Thread dnovillo at gcc dot gnu dot org
--- Additional Comments From dnovillo at gcc dot gnu dot org 2005-05-13 18:20 --- Sebastian, would you mind taking a look at this? It's assigned to me but it's likely that you will be able to figure out what's going on in chrec more quickly. And I won't have time to look at this for a

[Bug middle-end/20714] emit_no_conflict_block does invalid reordering

2005-05-13 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-13 18:23 --- Subject: Bug 20714 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-05-13 18:23:17 Modified files: gcc: optabs.c ChangeLog Log message:

[Bug target/20695] sh64-*-* port deos not handle 32 / 64 bit conversions properly

2005-05-13 Thread amylaar at gcc dot gnu dot org
-- Bug 20695 depends on bug 20714, which changed state. Bug 20714 Summary: emit_no_conflict_block does invalid reordering http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20714 What|Old Value |New Value ---

[Bug middle-end/20714] emit_no_conflict_block does invalid reordering

2005-05-13 Thread amylaar at gcc dot gnu dot org
--- Additional Comments From amylaar at gcc dot gnu dot org 2005-05-13 18:30 --- Fixed on mainline. -- What|Removed |Added Status|UNCONFIRMED |RE

[Bug middle-end/20396] TRULY_NOOP_TRUNCATION ignored

2005-05-13 Thread amylaar at gcc dot gnu dot org
-- What|Removed |Added OtherBugsDependingO||20695 nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20396

[Bug target/20695] sh64-*-* port deos not handle 32 / 64 bit conversions properly

2005-05-13 Thread amylaar at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||20396 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20695

[Bug fortran/21203] Segfault while compiling libgfortran/intrinsics/selected_int_kind.f90

2005-05-13 Thread kargl at gcc dot gnu dot org
--- Additional Comments From kargl at gcc dot gnu dot org 2005-05-13 18:48 --- (In reply to comment #9) > Created an attachment (id=8885) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8885&action=view) > selected_int_kind.inc > > Sorry, wrong file. This is the *.inc, Tobi requeste

[Bug libstdc++/21554] New: [4.0 Regression] ext/array_allocator/2.cc execution test fails on hppa64-hpux

2005-05-13 Thread jsm28 at gcc dot gnu dot org
The failure FAIL: ext/array_allocator/2.cc execution test appeared on 4.0 branch on hppa64-hpux with the patch http://gcc.gnu.org/ml/gcc-cvs/2005-05/msg00433.html 2005-05-09 Benjamin Kosnik <[EMAIL PROTECTED]> * docs/html/test.html: Update. * testsuite/printnow.c: Remove.

[Bug fortran/21203] Segfault while compiling libgfortran/intrinsics/selected_int_kind.f90

2005-05-13 Thread tobi at gcc dot gnu dot org
--- Additional Comments From tobi at gcc dot gnu dot org 2005-05-13 19:25 --- Steve, are you saying that you're seeing the same failure on a Pentium 4 machine? This would be weird because ... Ralf, it looks like no working integer type is found when building the compiler. I'm out o

[Bug libstdc++/21554] [4.0 Regression] ext/array_allocator/2.cc execution test fails on hppa64-hpux

2005-05-13 Thread jsm28 at gcc dot gnu dot org
--- Additional Comments From jsm28 at gcc dot gnu dot org 2005-05-13 19:27 --- What was the purpose of applying this patch to 4.0 branch? Did it fix a regression? I can't find this patch (looking for the ChangeLog entry test) in my gcc-patches folders. As the patch changes the testsui

[Bug c++/21555] New: name lookup / friend function

2005-05-13 Thread sstrasser at systemhaus-gruppe dot de
from c.l.c.moderated by Maxim Yegorushkin: #include namespace N { #ifdef SHOW_BUG struct A { }; int swap(A&, A&); #else struct A { friend int swap(A&, A&); }; #endif struct B : A { }; void swap(B& x, B& y) { using std::swap; typedef char a[sizeof(swap(static_cast(x), sta

[Bug bootstrap/21556] New: [4.1 Regression] ia64-hpux bootstrap fails

2005-05-13 Thread jsm28 at gcc dot gnu dot org
The patch 2005-05-11 Richard Henderson <[EMAIL PROTECTED]> PR target/21412 * config/ia64/ia64.c (TARGET_CANNOT_FORCE_CONST_MEM): New. (ia64_cannot_force_const_mem): New. [...] causes mainline bootstrap to fail on ia64-hpux. The failure is when building libgcc w

[Bug bootstrap/21556] [4.1 Regression] ia64-hpux bootstrap fails

2005-05-13 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-05-13 19:43 --- Well, since it works on ia64-linux, you'll have to give me more information. I assume I'm failing to addp4 in the right place, or something... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21556

[Bug java/21519] ICE in generate_bytecode_conditional, at java/jcf-write.c:1337

2005-05-13 Thread tromey at gcc dot gnu dot org
-- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Last reconfirmed|-00-00 00:00:00 |2005-05-

[Bug java/21519] ICE in generate_bytecode_conditional, at java/jcf-write.c:1337

2005-05-13 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-05-13 20:10 --- One workaround is not to use -O2. My current guess is that a fold-based optimization creates a tree that the bytecode generator does not understand. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21519

[Bug libgcj/21557] New: Hash synchronization: Thread.interrupt() can make _Jv_MonitorEnter hang

2005-05-13 Thread mckinlay at redhat dot com
In some circumstances, calling Thread.interrupt() will result in _Jv_MonitorEnter entering an infinite loop. This is because _Jv_MonitorEnter uses _Jv_CondWait, which is interruptable, without checking the return value. There are more details in this thread: http://gcc.gnu.org/ml/java/2005-05/ms

[Bug libstdc++/21554] [4.0 Regression] ext/array_allocator/2.cc execution test fails on hppa64-hpux

2005-05-13 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-05-13 20:16 --- Given our current basic_string implementation (which I'm maintaining) I can tell you that this testcase is very brittle: see 19495, that lead to the xfail for powerpc, for additional details. Benjamin's changes can

[Bug java/21519] ICE in generate_bytecode_conditional, at java/jcf-write.c:1337

2005-05-13 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-05-13 20:17 --- Reduced test case public class reduce { char[] source; public int compute(int pos) { for (int i = 0; i < pos; ++i) if (!(source[i] == ' ' || source[i] == '\t')) return -1; return pos; } }

[Bug fortran/21203] Segfault while compiling libgfortran/intrinsics/selected_int_kind.f90

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 20:34 --- (In reply to comment #11) > Steve, are you saying that you're seeing the same failure on a Pentium 4 > machine? This would be weird because ... Steve, I have heard that there are some GMP with bugs which

[Bug libstdc++/21554] [4.0 Regression] ext/array_allocator/2.cc execution test fails on hppa64-hpux

2005-05-13 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-05-13 20:39 --- Subject: Re: [4.0 Regression] ext/array_allocator/2.cc execution test fails on hppa64-hpux On Fri, 13 May 2005, pcarlini at suse dot de wrote: > Given our current basic_string implementation (which I'm m

[Bug c/21558] New: unrolled recursion leaves many redundant instructions

2005-05-13 Thread liblit at cs dot wisc dot edu
GCC's optimizer is able to partially unroll a recursive function. As one might expect, this causes some code duplication. You get several unrolled copies of the code before the recursive call, then the recursive call itself, and then several unrolled copies of the code after the recursive call.

[Bug c/21558] unrolled recursion leaves many redundant instructions

2005-05-13 Thread liblit at cs dot wisc dot edu
--- Additional Comments From liblit at cs dot wisc dot edu 2005-05-13 20:51 --- Created an attachment (id=8886) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8886&action=view) preprocessed C code exhibiting the bug The code in "redundant.i" shows the problem as described earlier.

[Bug libstdc++/21554] [4.0 Regression] ext/array_allocator/2.cc execution test fails on hppa64-hpux

2005-05-13 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-05-13 21:13 --- > So this should be treated as a known latent bug, a testcase which fails or > passes at random on targets requiring strict alignment? In which case > there should be an effective-target keyword for strict align

[Bug bootstrap/21542] gcc 4.0.0 assumes all i386-pc-solaris2.10 platforms have 64-bit processors

2005-05-13 Thread Daniel dot Davies at xerox dot com
--- Additional Comments From Daniel dot Davies at xerox dot com 2005-05-13 21:18 --- Thank you both for your helpful comments. My big mistake was not going to the gcc site for the updated configuration instructions when my build wasn't going well. Configuring the build as described in

[Bug java/21519] ICE in generate_bytecode_conditional, at java/jcf-write.c:1337

2005-05-13 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-05-13 21:24 --- I submitted a patch. -- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |

[Bug fortran/21203] Segfault while compiling libgfortran/intrinsics/selected_int_kind.f90

2005-05-13 Thread kargl at gcc dot gnu dot org
--- Additional Comments From kargl at gcc dot gnu dot org 2005-05-13 21:30 --- Tobi and Andrew, Yes, I see this exact failure on FreeBSD with a pentium 4 M processor. I spent a few days hacking on Makefiles to turn on/off different compiler options and could never resolve the issues.

[Bug tree-optimization/21558] unrolled recursion leaves many redundant instructions

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 21:42 --- I don't see what is wrong with the generated code, maybe a dead store. -- What|Removed |Added

[Bug tree-optimization/21558] unrolled recursion leaves many redundant instructions

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 21:44 --- Oh, I see the dead stores now in 4.0.0, this was fixed in 4.1.0 by fixing up DSE. -- What|Removed |Added

[Bug tree-optimization/21548] [4.0 regression] Wrong warning about uninitialized variable

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 21:54 --- In 4.1.0, we give: t.c:8: warning: ‘bytes’ may be used uninitialized in this function So this is only a 4.0.0 bug, let me see how it is considered as "is used". -- What|Removed

[Bug tree-optimization/21558] unrolled recursion leaves many redundant instructions

2005-05-13 Thread liblit at cs dot wisc dot edu
--- Additional Comments From liblit at cs dot wisc dot edu 2005-05-13 22:01 --- Sorry for not trying this on a more recent snapshot first. Thanks for the quick resolution, Andrew. I'm very glad to hear this problem has already been fixed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug tree-optimization/21548] [4.0 regression] Wrong warning about uninitialized variable

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 22:14 --- Actually rethinking the problem, the only time we could execute the "if(bytes == 0)" is not going through the loop. Maybe the order in execute_late_warn_uninitialized should be switched around but that

[Bug tree-optimization/21548] [4.0 regression] Wrong warning about uninitialized variable

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 22:16 --- Maybe not. Hmm, there might be a wrong code bug here on the 4.0 branch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21548

[Bug tree-optimization/21548] [4.0 regression] Wrong warning about uninitialized variable

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 22:23 --- thinking again out loud: The function could be changed to (which we seem to be missing on the mainline): static int blocksize = 4096; int bar (int); void foo (void) { int toread; int bytes; s

[Bug tree-optimization/21559] New: [4.1 Regression] missed jump threading

2005-05-13 Thread pinskia at gcc dot gnu dot org
The following code should have no check for bytes == 0 but does on the mainline: static int blocksize = 4096; int bar (int); void foo (void) { int toread; int bytes; static char eof_reached = 0; toread = blocksize; bytes = 1; while (toread != 0) { bytes = bar (toread);

[Bug tree-optimization/21559] [4.1 Regression] missed jump threading

2005-05-13 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21559

[Bug tree-optimization/21548] [4.0 regression] Wrong warning about uninitialized variable

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 22:44 --- Note after fixing PR 21559, we will be back to "is used" warning instead of "may be used". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21548

[Bug libgcj/21557] Hash synchronization: Thread.interrupt() can make _Jv_MonitorEnter hang

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 22:47 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E

[Bug middle-end/20714] emit_no_conflict_block does invalid reordering

2005-05-13 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20714

[Bug rtl-optimization/20769] bt-load.c doesn't take nonlocal gotos into account.

2005-05-13 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20769

[Bug middle-end/20793] allocate_initial_values does not adjust register liveness information

2005-05-13 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20793

  1   2   >