[Bug middle-end/24716] [4.1 Regression] Wrong code generated when optimising

2005-11-09 Thread bonzini at gcc dot gnu dot org
--- Comment #7 from bonzini at gcc dot gnu dot org 2005-11-09 08:20 --- Reduced testcase /* { dg-do run } */ /* { dg-options "-O -fdump-tree-dom3" } */ int Link[] = { -1 }; int W[] = { 2 }; extern void abort (void); int f (int k, int p) { int pdest, j, D1361; j = 0; pdest = 0;

[Bug middle-end/24716] [4.1 Regression] Wrong code generated when optimising

2005-11-09 Thread bonzini at gcc dot gnu dot org
-- bonzini at gcc dot gnu dot org changed: What|Removed |Added CC||bonzini at gcc dot gnu dot |

[Bug tree-optimization/24716] [4.1 Regression] Wrong code generated when optimising

2005-11-09 Thread bonzini at gcc dot gnu dot org
--- Comment #8 from bonzini at gcc dot gnu dot org 2005-11-09 08:22 --- dom3 is at fault -- bonzini at gcc dot gnu dot org changed: What|Removed |Added Component

[Bug fortran/24755] New: internal compiler error with statement function

2005-11-09 Thread tdeutsch at cea dot fr
internal compiler error subroutine nhatgrid() implicit none integer :: lambda real(kind=8) :: arg,sigma real(kind=8) :: dshpfunc dshpfunc(arg)=-lambda/sigma*(arg/sigma)**(lambda-1)*exp(-(arg/sigma)**lambda) end subroutine nhatgrid -- Summary: internal compiler error with st

[Bug libfortran/24342] [4.1 regression] testsuite failure:gfortran.fortran-torture/execute/in-pack.f90 exe

2005-11-09 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2005-11-09 10:08 --- (In reply to comment #5) > Don't worry, I do. :-) It comes from the linker, trigged by the > source code for fedisableexcept, using machinery that's set up > by to warn for functions that shouldn't be used, like

[Bug libfortran/24719] [4.1 Regression] Nonadvancing read does not read more than 1 line

2005-11-09 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2005-11-09 10:12 --- (In reply to comment #3) > I believe I have a fix for this one that works with the previous patch to > pr24489. I am testing along with work on pr24699 to make sure we have no > conflicts or regressions. pr24719

[Bug libfortran/24342] [4.1 regression] testsuite failure:gfortran.fortran-torture/execute/in-pack.f90 exe

2005-11-09 Thread hp at bitrange dot com
--- Comment #7 from hp at bitrange dot com 2005-11-09 10:24 --- Subject: Re: [4.1 regression] testsuite failure:gfortran.fortran-torture/execute/in-pack.f90 exe On Wed, 9 Nov 2005, fxcoudert at gcc dot gnu dot org wrote: > --- Comment #6 from fxcoudert at gcc dot gnu dot org 200

[Bug c/24753] FreeBSD make buildworld failure

2005-11-09 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2005-11-09 11:07 --- First, a hardware failure is possible - usually just re-trying may fix the problem or make it show up somehow different / somewhere else, if this is the case. Second, your gcc 3.4.2 is outdated, please update to a m

[Bug fortran/22607] Elemental character functions don't work

2005-11-09 Thread eedelman at gcc dot gnu dot org
--- Comment #4 from eedelman at gcc dot gnu dot org 2005-11-09 11:28 --- Subject: Bug 22607 Author: eedelman Date: Wed Nov 9 11:27:56 2005 New Revision: 106683 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106683 Log: fortran/ 2005-11-09 Erik Edelmann <[EMAIL PROTECTED]>

[Bug tree-optimization/24716] [4.1 Regression] Wrong code generated when optimising

2005-11-09 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||law at gcc dot gnu dot org Severity|normal

[Bug fortran/24755] internal compiler error with statement function

2005-11-09 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|critical|normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24755

[Bug fortran/24755] [4.0/4.1 Regression] internal compiler error with statement function

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-09 11:44 --- Confirmed, backtrace: #0 0x080727d3 in recursive_stmt_fcn (e=0x9fec3b8, sym=0x9fec218) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/fortran/match.c:2727 #1 0x080727b5 in recursive_stmt_fcn (e=0x9fec540, sym=0x9fec

[Bug target/24624] [4.1 Regression] internal compiler error: in reload, at reload1.c:1071

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2005-11-09 12:01 --- Fixed by: http://gcc.gnu.org/ml/gcc-cvs/2005-11/msg00389.html -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/24623] [4.1 Regression] internal compiler error: in propagate_one_insn, at flow.c:1702

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2005-11-09 12:01 --- Fixed by: http://gcc.gnu.org/ml/gcc-cvs/2005-11/msg00388.html -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/24624] [4.1 Regression] internal compiler error: in reload, at reload1.c:1071

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2005-11-09 12:02 --- Note your testcase will fail on every target except for s390: /* { dg-do compile } */ /* { dg-options "-O1 -mpacked-stack" } */ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24624

[Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call

2005-11-09 Thread ebotcazou at gcc dot gnu dot org
--- Comment #12 from ebotcazou at gcc dot gnu dot org 2005-11-09 12:08 --- *** Bug 21957 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22127

[Bug middle-end/21957] IA-64 register stack is not preserved after getcontext call

2005-11-09 Thread ebotcazou at gcc dot gnu dot org
--- Comment #4 from ebotcazou at gcc dot gnu dot org 2005-11-09 12:08 --- *** This bug has been marked as a duplicate of 22127 *** -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added -

[Bug target/24624] [4.1 Regression] internal compiler error: in reload, at reload1.c:1071

2005-11-09 Thread krebbel at gcc dot gnu dot org
--- Comment #9 from krebbel at gcc dot gnu dot org 2005-11-09 12:18 --- Ups sorry. I've fixed that now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24624

[Bug rtl-optimization/24034] [4.1 regression] Regrename: Inconsistency Failure

2005-11-09 Thread krebbel at gcc dot gnu dot org
-- krebbel at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |krebbel at gcc dot gnu dot |dot org

[Bug rtl-optimization/24034] [4.1 regression] Regrename: Inconsistency Failure

2005-11-09 Thread krebbel at gcc dot gnu dot org
--- Comment #2 from krebbel at gcc dot gnu dot org 2005-11-09 12:24 --- Patch committed: http://gcc.gnu.org/ml/gcc-cvs/2005-11/msg00387.html -- krebbel at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/24644] [4.1 Regression] gcc-4.1 compiled ppc64 kernels do not boot

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #24 from pinskia at gcc dot gnu dot org 2005-11-09 12:34 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNE

[Bug c/24644] [4.1 Regression] gcc-4.1 compiled ppc64 kernels do not boot

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #24 from pinskia at gcc dot gnu dot org 2005-11-09 12:34 --- Fixed. --- Comment #25 from pinskia at gcc dot gnu dot org 2005-11-09 12:34 --- Subject: Bug 24644 Author: pinskia Date: Wed Nov 9 12:33:59 2005 New Revision: 106693 URL: http://gcc.gnu.org/viewcvs?r

[Bug tree-optimization/24716] [4.1 Regression] Wrong code generated when optimising

2005-11-09 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2005-11-09 13:14 --- It's IVCANONs fault, pr24716.c.t76.ivcanon: ... # pdest_23 = PHI <0(1)>; :; return pdest_23; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24716

[Bug fortran/24755] [4.0/4.1 Regression] internal compiler error with statement function

2005-11-09 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2005-11-09 13:17 --- Since recursive_stmt_fcn is involved, this looks like my doing! I'll take a look tomorrow morning. Paul T -- pault at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/24716] [4.1 Regression] Wrong code generated when optimising

2005-11-09 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2005-11-09 13:31 --- Or more definitely, store copyprop. # BLOCK 1 freq:122 # PRED: 0 [100.0%] (fallthru,exec) 31 [100.0%] (fallthru,exec) # jD.1285_18 = PHI <0(0), 1(31)>; # pD.1281_7 = PHI ; # kD.1280_5 = PHI ; # WD

[Bug tree-optimization/24716] [4.1 Regression] Wrong code generated when optimising

2005-11-09 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2005-11-09 13:59 --- Doh, I have a fix. What a stupid error in analyze_evolution_in_loop. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/24716] [4.1 Regression] Wrong code generated when optimising

2005-11-09 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2005-11-09 14:01 --- Created an attachment (id=10185) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10185&action=view) patch this is what I'm going to test. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24716

[Bug target/24661] unable to find a register to spill in class NO_REGS on ia64

2005-11-09 Thread matz at suse dot de
--- Comment #9 from matz at suse dot de 2005-11-09 14:49 --- A shorter testcase (which at least breaks on SuSEs 3.3-hammer compiler) is: --- typedef union value { long double d; } Value; double ld2d(Value v) { return v.d; } ---

[Bug c/24756] New: pointer arithmetic on ia32 uses signed divide

2005-11-09 Thread j3p0uk at hotmail dot com
By using a signed divide for pointer arithmetic an incorerct value can be obtained given sufficient distance between two pointers. I have tested this on gcc 3.4 (RedHat EL4 update 1) and the same behaviour persists. # gcc -v -save-temps -Wall -o test ./test.c Reading specs from /usr/lib/gcc-lib/i

[Bug c/24756] pointer arithmetic on ia32 uses signed divide

2005-11-09 Thread j3p0uk at hotmail dot com
--- Comment #1 from j3p0uk at hotmail dot com 2005-11-09 14:51 --- Created an attachment (id=10186) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10186&action=view) Test source (.i) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24756

[Bug tree-optimization/24716] [4.1 Regression] Wrong code generated when optimising

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2005-11-09 15:07 --- (In reply to comment #10) > Or more definitely, store copyprop. s/store/scev/ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24716

[Bug bootstrap/24710] gfortran - fails to build on Mac OSX -10.4.3

2005-11-09 Thread dir at lanl dot gov
--- Comment #18 from dir at lanl dot gov 2005-11-09 15:13 --- That was it - my system had two versions of strip. Thanks, Dale The final library build has some warning messages, but they do not seem to hurt anything - ranlib -c .libs/libgfortranbegin.a creating libgfortranbegin.la (c

[Bug bootstrap/24710] gfortran - fails to build on Mac OSX -10.4.3

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #19 from pinskia at gcc dot gnu dot org 2005-11-09 15:17 --- (In reply to comment #18) > That was it - my system had two versions of strip. Where was the second one comming from? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24710

[Bug libgcj/24616] linking BC-compiled classes: NoClassDefFoundErrors should be deferred

2005-11-09 Thread thebohemian at gmx dot net
--- Comment #16 from thebohemian at gmx dot net 2005-11-09 15:18 --- Created an attachment (id=10187) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10187&action=view) preliminary patch - just for review This is another preview of the patch. The patch begins to more and more depend

[Bug c/24756] pointer arithmetic on ia32 uses signed divide

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-11-09 15:19 --- Why do you think this is a bug. The difference between &a[3]-&a[4] better be -1. (where a is an array). -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug libgcj/24616] linking BC-compiled classes: NoClassDefFoundErrors should be deferred

2005-11-09 Thread thebohemian at gmx dot net
--- Comment #17 from thebohemian at gmx dot net 2005-11-09 15:22 --- Created an attachment (id=10188) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10188&action=view) lazy linker test setup This is a small update to the test setup. BC-compilation is now done with debugging symbols

[Bug target/24661] unable to find a register to spill in class NO_REGS on ia64

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2005-11-09 15:23 --- Hmm, do we have an ABI change in 4.1: We get in 4.1.0: ld2d: .prologue .body fnorm.d f8 = f8 br.ret.sptk.many b0 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24661

[Bug rtl-optimization/24319] [3.4/4.0/4.1 regression] amd64 register spill error with -fschedule-insns

2005-11-09 Thread uros at kss-loka dot si
--- Comment #6 from uros at kss-loka dot si 2005-11-09 15:27 --- The problem is caused by the combination of (1) x86_64 parameter passing convention, (2) x86 instructions that _require_ parameters in specific registers and (3) sched1 scheduling pass. ad 1) x86_64 passes function parame

[Bug libgcj/24616] linking BC-compiled classes: NoClassDefFoundErrors should be deferred

2005-11-09 Thread aph at gcc dot gnu dot org
--- Comment #18 from aph at gcc dot gnu dot org 2005-11-09 15:28 --- It's probably not the best idea to solve everything in this bug in a single patch. Better make several patches, for the different issues. Also, if there are some verifier changes needed, let's get those committed firs

[Bug bootstrap/24710] gfortran - fails to build on Mac OSX -10.4.3

2005-11-09 Thread dir at lanl dot gov
--- Comment #20 from dir at lanl dot gov 2005-11-09 15:29 --- It was in /usr/local/bin along with a 100 or so other programs - I suppose that one of them installed it . -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24710

[Bug bootstrap/24710] gfortran - fails to build on Mac OSX -10.4.3

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #21 from pinskia at gcc dot gnu dot org 2005-11-09 15:30 --- Closing as works for me then. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/24661] unable to find a register to spill in class NO_REGS on ia64

2005-11-09 Thread matz at suse dot de
--- Comment #11 from matz at suse dot de 2005-11-09 15:32 --- You mean ABI change, because the input register seems to be f8, instead of in0 (as would be need for this union)? I'm not sure, but it looks fishy at least. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24661

[Bug c/24756] pointer arithmetic on ia32 uses signed divide

2005-11-09 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2005-11-09 15:53 --- Note that obtaining the difference of pointers that don't point to the same object is invoking undefined behavior, too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24756

[Bug target/24661] unable to find a register to spill in class NO_REGS on ia64

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2005-11-09 15:57 --- (In reply to comment #11) > You mean ABI change, because the input register seems to be f8, instead of > in0 (as would be need for this union)? I'm not sure, but it looks fishy > at least. Actually it is not an AB

[Bug bootstrap/19289] ice during gcc4-20050102 profiledboostrap.

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-11-09 16:26 --- This works for me. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Stat

[Bug debug/22313] [4.1 Regression] gcc HEAD as of 2005/07/05 fails to profiledbootstrap

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2005-11-09 16:29 --- (In reply to comment #11) > This is reproducable on gcc mainline on amd64: This works for me with "GNU assembler 2.16.91 20051027" with the GCC mainline on i686-linux-gnu And with "GNU assembler 2.16" with the GCC

[Bug target/24475] gcc.dg/tls/pr24428.c execution test and gcc.dg/tls/pr24428-2.c execution test fail on IA32

2005-11-09 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2005-11-09 16:31 --- Works just fine here. What glibc are you using? pr24428.c and pr24428-2.c are the only dg-do run tls tests, so perhaps your libc doesn't support TLS at all? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24475

[Bug other/24757] New: __sync_fetch_and_add on ia64

2005-11-09 Thread pcarlini at suse dot de
Since end of May, quite a few libstdc++-v3 testcases, stressing atomicity.h are failing on multi-processor ia64 machines. See, for instance, in: http://gcc.gnu.org/ml/gcc-testresults/2005-11/msg00411.html FAIL: 22_locale/locale/cons/12658_thread-1.cc execution test FAIL: 22_locale/locale/co

[Bug c++/21123] [4.0 regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

2005-11-09 Thread jason at gcc dot gnu dot org
--- Comment #27 from jason at gcc dot gnu dot org 2005-11-09 16:58 --- Subject: Bug 21123 Author: jason Date: Wed Nov 9 16:58:52 2005 New Revision: 106698 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106698 Log: PR c++/21123 * method.c (use_thunk): Use build_c

[Bug c++/24758] New: Non ambiguous typedefs

2005-11-09 Thread hhinnant at apple dot com
Here's the test case: --- typedef unsigned short ushort; namespace X { typedef unsigned short ushort; } using namespace X; int main() { ushort us = 0; } --- prompt> g++ main.cpp main.cpp: In function 'int main()': main.cpp:12: error: 'ushort' was not declared in this scope main.cpp:12:

[Bug other/24757] __sync_fetch_and_add on ia64

2005-11-09 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2005-11-09 17:00 --- (In reply to comment #0) > Those tests *never* fail in 4_0-branch, which doesn't use the builtins, and > never did in mainline before the below of mine (and a simultaneous one to > the compiler, which emptied ia64intrin.h)

[Bug c++/24758] Non ambiguous typedefs

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-09 17:03 --- This is a dup of bug 23594. *** This bug has been marked as a duplicate of 23594 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/23594] namespace typedef and global typedef name the same type, using kills global

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2005-11-09 17:03 --- *** Bug 24758 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/21123] [4.0 regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #28 from pinskia at gcc dot gnu dot org 2005-11-09 17:04 --- Fixed in 4.0.3. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug c++/22172] [3.4 Regression] Internal compiler error, seg fault.

2005-11-09 Thread reichelt at gcc dot gnu dot org
--- Comment #16 from reichelt at gcc dot gnu dot org 2005-11-09 17:12 --- Backport for the 3.4 branch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/23594] namespace typedef and global typedef name the same type, using kills global

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-11-09 17:25 --- Related to PR 9726. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added BugsThisDepend

[Bug c/24756] pointer arithmetic on ia32 uses signed divide

2005-11-09 Thread j3p0uk at hotmail dot com
--- Comment #4 from j3p0uk at hotmail dot com 2005-11-09 17:25 --- The test case was a simple test case where I tried to show the mathematical behaviour in as simple a way as possible. The reason I thought that this may be a bug is because the behaviour on a 64-bit system is different a

[Bug c/24756] pointer arithmetic on ia32 uses signed divide

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-11-09 17:30 --- This is invalid because otherwise you get the incorrect answer for &a[3]-&a[4]: a = 0x8049668 b = 0x804966c pointer ( a - b ) 0x non-pointer ( ( ((un

[Bug other/24757] __sync_fetch_and_add on ia64

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-11-09 17:35 --- Hmm you said in: http://gcc.gnu.org/ml/libstdc++/2005-11/msg00149.html That was really a glibc bug. And actually 4.0 and before uses the builtins for ia64, this is where the builtins came from in the first place.

[Bug fortran/24759] New: Unclear error message

2005-11-09 Thread schnetter at aei dot mpg dot de
The code subroutine a (emask) implicit none real, intent(in) :: emask(:,:,:) logical :: left(3), right(3) integer :: i,j,k i=1; j=1; k=1 left=.false. right=.false. if (.not.right(3)) left(1) = abs(emask(i,j,k+1)-1)<0.01) end subroutine a contains an error in the if statement. The

[Bug fortran/24759] Unclear error message for a syntax error

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-09 17:39 --- I notice that we give an unclassifiable error almost any time there is a syntax error. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug other/24757] __sync_fetch_and_add on ia64

2005-11-09 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2005-11-09 17:45 --- (In reply to comment #2) > Hmm you said in: > http://gcc.gnu.org/ml/libstdc++/2005-11/msg00149.html > > That was really a glibc bug. Exactly *was*. Ehi, do you think I'm stupid? Of course in the meanwhile I have checked t

[Bug libgcj/15430] Cannot interrupt blocking I/O calls with close()

2005-11-09 Thread daney at gcc dot gnu dot org
--- Comment #5 from daney at gcc dot gnu dot org 2005-11-09 17:46 --- Created an attachment (id=10189) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10189&action=view) Program that demonstrates how shutdown can solve the problem. Compile socktest.c thusly: gcc -g -o soctest socte

[Bug libstdc++/24347] Document boost_shared_ptr vs concurrency

2005-11-09 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2005-11-09 17:51 --- We need to doc much more than that ... we don't have any docs saying which TR1 components are supported or how to make use of them, do we? I had some changes on my hard drive adding docs to the docs/html/ext pages, but

[Bug other/24757] __sync_fetch_and_add on ia64

2005-11-09 Thread pcarlini at suse dot de
--- Comment #4 from pcarlini at suse dot de 2005-11-09 17:51 --- (In reply to comment #3) > .Alternately, the ia64 builtins > themselves can be defective, but that seems much less likely to me, because > we are talking about a very consistent b

[Bug libstdc++/24347] Document boost_shared_ptr vs concurrency

2005-11-09 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2005-11-09 17:52 --- Your are welcome! -- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|unassigned a

[Bug tree-optimization/24716] [4.1 Regression] Wrong code generated when optimising

2005-11-09 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2005-11-09 18:01 --- Subject: Bug 24716 Author: rguenth Date: Wed Nov 9 18:00:59 2005 New Revision: 106700 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106700 Log: 2005-11-09 Richard Guenther <[EMAIL PROTECTED]>

[Bug tree-optimization/24716] [4.1 Regression] Wrong code generated when optimising

2005-11-09 Thread rguenth at gcc dot gnu dot org
--- Comment #15 from rguenth at gcc dot gnu dot org 2005-11-09 18:02 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNE

[Bug target/24475] gcc.dg/tls/pr24428.c execution test and gcc.dg/tls/pr24428-2.c execution test fail on IA32

2005-11-09 Thread joseph at codesourcery dot com
--- Comment #2 from joseph at codesourcery dot com 2005-11-09 18:09 --- Subject: Re: gcc.dg/tls/pr24428.c execution test and gcc.dg/tls/pr24428-2.c execution test fail on IA32 On Wed, 9 Nov 2005, jakub at gcc dot gnu dot org wrote: > Works just fine here. What glibc are you using? >

[Bug bootstrap/24695] [csl-arm-branch] Bootstrap failure with current csl-arm-branch

2005-11-09 Thread bero at arklinux dot org
--- Comment #2 from bero at arklinux dot org 2005-11-09 18:13 --- It definitely wasn't added in binutils csl-arm-branch... Is gcc csl-arm-branch supposed to be used with binutils head now? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24695

[Bug libgcj/15430] Cannot interrupt blocking I/O calls with close()

2005-11-09 Thread aph at gcc dot gnu dot org
--- Comment #6 from aph at gcc dot gnu dot org 2005-11-09 18:22 --- Two things: Does this work for fds that aren't associated with sockets? It doesn't quite avoid the need for locking, since we still need to make sure that we only close an fd once. -- http://gcc.gnu.org/bugzilla/s

[Bug target/23231] cross compiling fails for mips-sgi-irix6.5

2005-11-09 Thread pfl at iis dot fhg dot de
--- Comment #5 from pfl at iis dot fhg dot de 2005-11-09 18:35 --- Ok, I switched to MacOSX. There I have a /usr/gnu/build/gcc-4.0.2 diectory with the original sources. Then I do a ../gcc-4.0.2/configure --cache-file=../mips-gcc-4.0.2.configure.cache --prefix=/usr/gnu --bindir=/usr/gn

[Bug libstdc++/23591] exceptions in plugins in threads cause segmentation violation by leaving bad exit handler for the pthread

2005-11-09 Thread bkoz at gcc dot gnu dot org
--- Comment #5 from bkoz at gcc dot gnu dot org 2005-11-09 18:36 --- Created an attachment (id=10190) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10190&action=view) tentative patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23591

[Bug fortran/24655] ICE with statement function

2005-11-09 Thread tobi at gcc dot gnu dot org
--- Comment #2 from tobi at gcc dot gnu dot org 2005-11-09 18:40 --- *** This bug has been marked as a duplicate of 24755 *** -- tobi at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/24755] [4.0/4.1 Regression] internal compiler error with statement function

2005-11-09 Thread tobi at gcc dot gnu dot org
--- Comment #3 from tobi at gcc dot gnu dot org 2005-11-09 18:40 --- *** Bug 24655 has been marked as a duplicate of this bug. *** -- tobi at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/24646] accepting invalid label

2005-11-09 Thread tobi at gcc dot gnu dot org
-- tobi at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24646

[Bug rtl-optimization/24760] New: -d option changes generated code

2005-11-09 Thread amylaar at gcc dot gnu dot org
When compiling some files, the -da option or - AFAICT - any of its constituent options changes the generated code. When using -da, the -quiet option can also have an effect on the generated code, although this is harder to demonstrate. -- Summary: -d option changes generated code

[Bug rtl-optimization/24760] -d option changes generated code

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-09 18:52 --- Most (if not all) of these issues are usually a pass depending on addresses being the same. I think David E. has a bug filed about one of these issues already. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2476

[Bug rtl-optimization/24760] -d option changes generated code

2005-11-09 Thread amylaar at gcc dot gnu dot org
--- Comment #2 from amylaar at gcc dot gnu dot org 2005-11-09 18:59 --- Created an attachment (id=10191) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10191&action=view) test case Mainline version 106440 configured for i686-pc-linux-gnu --with-arch=i686: ../../i686/gcc/cc1 -fprep

[Bug rtl-optimization/24760] -d option changes generated code

2005-11-09 Thread amylaar at gcc dot gnu dot org
--- Comment #3 from amylaar at gcc dot gnu dot org 2005-11-09 19:08 --- Created an attachment (id=10192) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10192&action=view) test case This is a shorter test case, but only debug information changes were observed for this test case. co

[Bug libgcj/15430] Cannot interrupt blocking I/O calls with close()

2005-11-09 Thread daney at gcc dot gnu dot org
--- Comment #7 from daney at gcc dot gnu dot org 2005-11-09 19:24 --- Here is the first version of my patch: http://gcc.gnu.org/ml/java-patches/2005-q4/msg00176.html -- daney at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/24757] __sync_fetch_and_add on ia64

2005-11-09 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2005-11-09 19:30 --- Some additional details from testresults: the bulk of the builtin atomics changes went in around mid of April, the ia64 specific bits, on April, 14. All the results that Andreas sent at the beginning of the month (for insta

[Bug rtl-optimization/24760] -d option changes generated code

2005-11-09 Thread amylaar at gcc dot gnu dot org
--- Comment #4 from amylaar at gcc dot gnu dot org 2005-11-09 19:35 --- I have observed the -quiet influence only with a proprietary testcase so far (EEMBC aiifft01/bmark.c for sh-elf -m4 -ml -g -O3 -version -fomit-frame-pointer -funroll-loops --param max-inline-insns-single=5). Comp

[Bug inline-asm/24761] New: Missing register load before inline asm in templated function causes SIGSEGV

2005-11-09 Thread krzysiek-gcc dot gnu dot org at lichota dot net
I have a templated function which uses inline assembler (with MMX instructions). Inline assembler is passed pointer to array element. When this function is instantiated for the first time, code before inline assembler is generated correctly. When it is instantiated for the second time, one of regis

[Bug inline-asm/24761] Missing register load before inline asm in templated function causes SIGSEGV

2005-11-09 Thread krzysiek-gcc dot gnu dot org at lichota dot net
--- Comment #1 from krzysiek-gcc dot gnu dot org at lichota dot net 2005-11-09 19:46 --- Created an attachment (id=10193) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10193&action=view) Testcase for the bug This is the testcase. Compile with: g++-4.0 -save-temps -fPIC -ggdb3 -Wn

[Bug libstdc++/24595] std::tr1::get_deleter not declared

2005-11-09 Thread redi at gcc dot gnu dot org
--- Comment #3 from redi at gcc dot gnu dot org 2005-11-09 19:49 --- Created an attachment (id=10194) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10194&action=view) alternative fix This bug was my fault - sorry for the dumb mistake, and not catching it. We could leave _M_get_de

[Bug inline-asm/24761] Missing register load before inline asm in templated function causes SIGSEGV

2005-11-09 Thread krzysiek-gcc dot gnu dot org at lichota dot net
--- Comment #2 from krzysiek-gcc dot gnu dot org at lichota dot net 2005-11-09 19:49 --- Created an attachment (id=10195) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10195&action=view) Assembler code generated from testcase This is code generated from testcase. In first instant

[Bug inline-asm/24761] Missing register load before inline asm in templated function causes SIGSEGV

2005-11-09 Thread krzysiek-gcc dot gnu dot org at lichota dot net
--- Comment #3 from krzysiek-gcc dot gnu dot org at lichota dot net 2005-11-09 20:00 --- Created an attachment (id=10196) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10196&action=view) Correct code generated by g++ 3.4.2 This is the correct code generated by g++ 3.4.2. It loads

[Bug rtl-optimization/24762] New: [killloop-branch] code motion of non-invariant expressions with hard registers.

2005-11-09 Thread steven at gcc dot gnu dot org
The killloop-branch produces wrong code for the following test due to a bug in loop-invariant.c or code related to it. extern "C" void abort(void); class runtime_error {}; void test01(int iters) { for (int i = 0; i < iters; ++i) { try { throw runtime_error();

[Bug rtl-optimization/24762] [killloop-branch] code motion of non-invariant expressions with hard registers.

2005-11-09 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2005-11-09 20:12 --- Created an attachment (id=10197) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10197&action=view) loop2_init dump -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24762

[Bug rtl-optimization/24762] [killloop-branch] code motion of non-invariant expressions with hard registers.

2005-11-09 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2005-11-09 20:12 --- Created an attachment (id=10198) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10198&action=view) loop2_invariant dump -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24762

[Bug other/4372] #pragma weak pthread* inclusion causes applications to crash without a linker error when one forgets to link with -lpthread

2005-11-09 Thread aoliva at gcc dot gnu dot org
--- Comment #9 from aoliva at gcc dot gnu dot org 2005-11-09 20:13 --- Subject: Bug 4372 Author: aoliva Date: Wed Nov 9 20:13:41 2005 New Revision: 106703 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106703 Log: PR other/4372 * tree.h (IDENTIFIER_TRANSPARENT_ALIAS): New. (TRE

[Bug c++/24761] [4.0/4.1 Regression] Missing register load before inline asm in templated function causes SIGSEGV

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2005-11-09 20:24 --- Simplified example: template int f(int i) { asm("%0 %1 " : "+r"(i) ); return i; } int main(void) { f<0>(0)+ f<1>(0); } - -- pinskia at gcc dot gnu dot org changed: What|Removed

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

2005-11-09 Thread aldyh at gcc dot gnu dot org
--- Comment #5 from aldyh at gcc dot gnu dot org 2005-11-09 20:25 --- I'll take a look at this. -- aldyh at gcc dot gnu dot org changed: What|Removed |Added Assig

[Bug c++/24761] [4.0/4.1 Regression] templates and inline-asm and "+"

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-11-09 20:28 --- For the first time template is instantiated, we get: __asm__("%0 %1 ":"=r" i:"0" i); The second time, we get: __asm__("%0 %1 ":"=r" i:); Somehow we brought back a bug from 2.95.3 (weird isn't it). -- http://gc

[Bug rtl-optimization/24760] -d option changes generated code

2005-11-09 Thread amylaar at gcc dot gnu dot org
--- Comment #5 from amylaar at gcc dot gnu dot org 2005-11-09 20:56 --- (In reply to comment #4) > -da without -quiet generally produces code that is larger than any of the > above > scenarios, but sometimes it produces identical code to -quiet (without -da). > I have now captured fou

[Bug other/4372] #pragma weak pthread* inclusion causes applications to crash without a linker error when one forgets to link with -lpthread

2005-11-09 Thread aoliva at gcc dot gnu dot org
--- Comment #10 from aoliva at gcc dot gnu dot org 2005-11-09 20:57 --- Subject: Bug 4372 Author: aoliva Date: Wed Nov 9 20:57:30 2005 New Revision: 106704 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106704 Log: gcc/ChangeLog: PR other/4372 * gthr-dce.h, gthr-posix.h, gthr-p

[Bug other/4372] #pragma weak pthread* inclusion causes applications to crash without a linker error when one forgets to link with -lpthread

2005-11-09 Thread aoliva at gcc dot gnu dot org
--- Comment #11 from aoliva at gcc dot gnu dot org 2005-11-09 20:58 --- Fixed -- aoliva at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug rtl-optimization/24319] [3.4/4.0/4.1 regression] amd64 register spill error with -fschedule-insns

2005-11-09 Thread wilson at tuliptree dot org
--- Comment #7 from wilson at tuliptree dot org 2005-11-09 21:07 --- Subject: Re: [3.4/4.0/4.1 regression] amd64 register spill error with -fschedule-insns On Wed, 2005-11-09 at 07:27, uros at kss-loka dot si wrote: > (BTW: I have added Jim Wilson to CC of this bug as he is cur

[Bug rtl-optimization/24762] [killloop-branch] code motion of non-invariant expressions with hard registers.

2005-11-09 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-11-09 21:08 --- This is not an ia64 specific issue as far as I can see, on x86_64, we get: (note 64 61 62 2 [bb 2] NOTE_INSN_BASIC_BLOCK) (insn 62 64 63 2 (set (reg:DI 63) (reg:DI 0 ax)) -1 (nil) (nil)) (insn 63 62 53

  1   2   3   >