[Bug tree-optimization/26797] [4.2 Regression] ACATS c35507m cd2a23e cxh1001 failures

2006-03-29 Thread ebotcazou at gcc dot gnu dot org
--- Comment #10 from ebotcazou at gcc dot gnu dot org 2006-03-30 07:58 --- > Looks like the same bug that Gigi doesn't currently use VIEW_CONVERT_EXPR > for this type of Unchecked_Conversion. So already on my plate. I think it's worse, the problematic function reads: function c

[Bug bootstrap/26936] New: fix-header segfault with glibc-2.4 header

2006-03-29 Thread sugioka at itonet dot co dot jp
On bootstrapping, fix-header segfaults while processing /usr/include/bits/stdio-ldbl.h which is from glibc-2.4. This problem does not appear on i386-linux host because 'use_fixproto' is set to 'no' in gcc/config.gcc. Reduced problematic header contents: f() Reproduce: cd /gcc make stmp-f

[Bug libgcj/13212] JNI/CNI AttachCurrentThread does not register thread with garbage collector

2006-03-29 Thread mckinlay at redhat dot com
--- Comment #30 from mckinlay at redhat dot com 2006-03-30 07:00 --- Created an attachment (id=11161) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11161&action=view) patch implementing GC_register_my_thread Here's a patch that fixes this by adding functions to the GC that allow t

[Bug tree-optimization/26796] [4.2 Regression] ACATS ICE c34002a c52005 spurious storage_error

2006-03-29 Thread ebotcazou at gcc dot gnu dot org
--- Comment #7 from ebotcazou at gcc dot gnu dot org 2006-03-30 06:39 --- Jeff, please put PR numbers in your ChangeLog entries, thanks. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/26889] libfortran build fails

2006-03-29 Thread ebotcazou at gcc dot gnu dot org
--- Comment #29 from ebotcazou at gcc dot gnu dot org 2006-03-30 06:20 --- > Here's the selected_int_kind.inc file generated on Solaris 8 with gcc 4.0.3. Thanks. Victory, at last something obviously broken. :-) The file reads: integer, parameter :: c = 0 type (int_info), paramet

[Bug target/26935] [4.2 Regression] powerpc undefined machine-specific-constraint

2006-03-29 Thread malitzke at metronets dot com
--- Comment #6 from malitzke at metronets dot com 2006-03-30 03:54 --- Yep, it just passed that stage and seems to be well on its way. Thanks, you do the paperwork. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26935

[Bug target/26935] [4.2 Regression] powerpc undefined machine-specific-constraint

2006-03-29 Thread malitzke at metronets dot com
--- Comment #5 from malitzke at metronets dot com 2006-03-30 03:48 --- I just did an svn update and there is an rs6000/constraints.md updated. So, let us keep our fingers crossed while I do new bootstrap. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26935

[Bug c++/22494] C++ front-end produces mis-match types in EQ_EXPR (array deconstructor)

2006-03-29 Thread sayle at gcc dot gnu dot org
--- Comment #1 from sayle at gcc dot gnu dot org 2006-03-30 01:35 --- Subject: Bug 22494 Author: sayle Date: Thu Mar 30 01:35:22 2006 New Revision: 112529 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112529 Log: PR c++/22494 * init.c (build_vec_delete_1): Conv

[Bug target/26935] [4.2 Regression] powerpc undefined machine-specific-constraint

2006-03-29 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-03-30 01:10 --- I just was able to build this without any troubles ;). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26935

[Bug c++/26115] [4.2 Regression] bogus warning for g++.dg/parse/register1.C

2006-03-29 Thread janis at gcc dot gnu dot org
--- Comment #6 from janis at gcc dot gnu dot org 2006-03-30 01:07 --- The patch that Lee checked in removed checks for extra_warnings before the calls to warnings with OPT_Wextra in typeck.c and class.c. If those checks are restored then the five test cases listed in this PR and in 2611

[Bug target/26935] [4.2 Regression] powerpc undefined machine-specific-constraint

2006-03-29 Thread malitzke at metronets dot com
--- Comment #3 from malitzke at metronets dot com 2006-03-30 01:07 --- Using an older version of gcc-4.2.0 gave essentially the same error message as in the original description. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26935

[Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C and g++.old-deja/g++.jason/overload34.C and g++.old-deja/g++.mike/p11110.C fails

2006-03-29 Thread janis at gcc dot gnu dot org
--- Comment #7 from janis at gcc dot gnu dot org 2006-03-30 01:06 --- The patch that Lee checked in removed checks for extra_warnings before the calls to warnings with OPT_Wextra in typeck.c and class.c. If those checks are restored then the five test cases listed in this PR and in 2611

[Bug target/26935] [4.2 Regression] powerpc undefined machine-specific-constraint

2006-03-29 Thread malitzke at metronets dot com
werpc-slackware-linux-gnu --target=powerpc-slackware-linux-gnu --build=powerpc-slackware-linux-gnu --enable-languages=c,c++,fortran,java --with-cpu=7450 --enable-clocale=gnu Thread model: posix gcc version 4.1.1 20060329 (prerelease) /usr/libexec/gcc/powerpc-slackware-linux-gnu/4.1.1/collect2 --eh-fram

[Bug c++/26922] Compile/link failure with -frepo and g++ 4.1

2006-03-29 Thread rankincj at yahoo dot com
--- Comment #4 from rankincj at yahoo dot com 2006-03-29 23:44 --- Subject: Re: Compile/link failure with -frepo and g++ 4.1 --- pinskia at gcc dot gnu dot org <[EMAIL PROTECTED]> wrote: > Can you try a GCC which was released by the FSF and not a redhat modified one? > If it works ther

[Bug c++/26922] Compile/link failure with -frepo and g++ 4.1

2006-03-29 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-29 23:22 --- Can you try a GCC which was released by the FSF and not a redhat modified one? If it works there, please report this to Redhat. Note this should have been reported first to redhat and not here since you are using a

[Bug target/26935] [4.2 Regression] powerpc undefined machine-specific-constraint

2006-03-29 Thread dje at gcc dot gnu dot org
--- Comment #1 from dje at gcc dot gnu dot org 2006-03-29 23:15 --- in progress -- dje at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug target/26935] [4.2 Regression] powerpc undefined machine-specific-constraint

2006-03-29 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||dje at gcc dot gnu dot org GCC build triplet|powerpc-slackware-linux

[Bug target/26935] New: powerpc undefined machine-specific-constraint

2006-03-29 Thread malitzke at metronets dot com
build/genpeep ../../gcc-4.2.0/gcc/config/rs6000/rs6000.md \ insn-conditions.md > tmp-peep.c ../../gcc-4.2.0/gcc/config/rs6000/altivec.md:173: error: undefined machine-specific constraint at this point: "W" ../../gcc-4.2.0/gcc/config/rs6000/altivec.md:173: note: in operand 1 ..previous 2

[Bug java/20044] Wrong method call semantics (maybe instanceof/invokespecial)

2006-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #8 from tromey at gcc dot gnu dot org 2006-03-29 22:39 --- I tried this today with svn head. The test program still prints 'false' no matter how I run it: gij, compiled, or compiled with the BC ABI. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20044

[Bug tree-optimization/26859] [4.2 Regression] ICE Segmentation Fault

2006-03-29 Thread malitzke at metronets dot com
--- Comment #11 from malitzke at metronets dot com 2006-03-29 22:24 --- Maybe I should keep my mouth shut. However, gcc-4.2.0 2006329 again compiles pari-2.1.7 OK. 2nd However, pari-2.2.12.beta uses a different approch, which does not give any problems with various gcc-4.2.0. At least th

[Bug fortran/26889] libfortran build fails

2006-03-29 Thread quanah at stanford dot edu
--- Comment #28 from quanah at stanford dot edu 2006-03-29 22:12 --- Created an attachment (id=11160) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11160&action=view) selected_int_kind.inc Here's the selected_int_kind.inc file generated on Solaris 8 with gcc 4.0.3. -- http://

[Bug libfortran/26893] kinds.h not generated, causing failure

2006-03-29 Thread quanah at stanford dot edu
--- Comment #5 from quanah at stanford dot edu 2006-03-29 21:49 --- Yep. That's how f951 was getting linked to gmp. I'm going to make gmp only be static, however, and see if that changes things. I'm going to have to defer further work on both these bugs until next week. I had a very

[Bug bootstrap/26901] ../../../../../gcc/libjava/classpath/tools/gnu/classpath/tools/AbstractMethodGenerator.java:1: fatal error: unknown encoding: 'roman8'

2006-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2006-03-29 21:48 --- Really mark as fixed. -- tromey at gcc dot gnu dot org changed: What|Removed |Added Sta

[Bug bootstrap/26829] broken classpath install (missed tools.zip), zip or fastjar not found

2006-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #9 from tromey at gcc dot gnu dot org 2006-03-29 21:45 --- This was fixed by the patch for PR 26901. -- tromey at gcc dot gnu dot org changed: What|Removed |Added -

[Bug bootstrap/26901] ../../../../../gcc/libjava/classpath/tools/gnu/classpath/tools/AbstractMethodGenerator.java:1: fatal error: unknown encoding: 'roman8'

2006-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #5 from tromey at gcc dot gnu dot org 2006-03-29 21:42 --- Fix checked in, please give it a try. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/26901] ../../../../../gcc/libjava/classpath/tools/gnu/classpath/tools/AbstractMethodGenerator.java:1: fatal error: unknown encoding: 'roman8'

2006-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2006-03-29 21:33 --- Subject: Bug 26901 Author: tromey Date: Wed Mar 29 21:33:08 2006 New Revision: 112510 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112510 Log: PR gcc/26901: * Makefile.in: Rebuilt. *

[Bug c/26933] Volatile member in struct member accessed/written implicitly

2006-03-29 Thread ivan at vmfacility dot fr
--- Comment #1 from ivan at vmfacility dot fr 2006-03-29 21:18 --- Created an attachment (id=11158) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11158&action=view) Runnable program demonstrating the problem This program, once compiled for powerpc64 and run on powerpc64 demonstrat

[Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class

2006-03-29 Thread bsdfan3 at users dot sourceforge dot net
--- Comment #14 from bsdfan3 at users dot sourceforge dot net 2006-03-29 21:14 --- GCC 3.4.4 on Cygwin actually breaks. The .ii file looks normal, however, it seems to be segfaulting...I'll try the testcase with mainline shortly. $ gcc --version gcc (GCC) 3.4.4 (cygming special) (gdc

[Bug libfortran/26893] kinds.h not generated, causing failure

2006-03-29 Thread ebotcazou at gcc dot gnu dot org
--- Comment #4 from ebotcazou at gcc dot gnu dot org 2006-03-29 21:14 --- > Actually, the problem has nothing to do with using /bin/sh, because I get the > same failure using /bin/ksh, too: OK, but given that you're the first who reports that kind of problems, we're pretty much in the

[Bug c/26933] New: Volatile member in struct member accessed/written implicitly

2006-03-29 Thread ivan at vmfacility dot fr
This actually occurs on 3.3.3 and 4.0.3 (haven't tried others). When a structure contains a 32 bit int, and because of alignement, it is not located on a 64 bit boundary *and* (apparently) the compiler aligns a bitfield int on the first fullword, operations on that bitfield implicitly access the v

[Bug c++/26922] Compile/link failure with -frepo and g++ 4.1

2006-03-29 Thread rankincj at yahoo dot com
--- Comment #2 from rankincj at yahoo dot com 2006-03-29 21:10 --- The sample code works OK with the following compilers: $ g++ -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-share

[Bug middle-end/23413] [data deps] Overflow problem in Omega

2006-03-29 Thread sebastian dot pop at cri dot ensmp dot fr
--- Comment #2 from sebastian dot pop at cri dot ensmp dot fr 2006-03-29 20:42 --- Fixed on autovect. -- sebastian dot pop at cri dot ensmp dot fr changed: What|Removed |Added ---

[Bug middle-end/23412] [data deps] Overflow problem in Omega

2006-03-29 Thread sebastian dot pop at cri dot ensmp dot fr
--- Comment #3 from sebastian dot pop at cri dot ensmp dot fr 2006-03-29 20:40 --- Fixed on autovect. -- sebastian dot pop at cri dot ensmp dot fr changed: What|Removed |Added ---

[Bug middle-end/23411] [data deps] Distance on outer loops for self output deps

2006-03-29 Thread sebastian dot pop at cri dot ensmp dot fr
--- Comment #3 from sebastian dot pop at cri dot ensmp dot fr 2006-03-29 20:39 --- Fixed by the recent changes. -- sebastian dot pop at cri dot ensmp dot fr changed: What|Removed |Added -

[Bug bootstrap/26901] ../../../../../gcc/libjava/classpath/tools/gnu/classpath/tools/AbstractMethodGenerator.java:1: fatal error: unknown encoding: 'roman8'

2006-03-29 Thread cvs-commit at developer dot classpath dot org
--- Comment #3 from cvs-commit at developer dot classpath dot org 2006-03-29 20:28 --- Subject: Bug 26901 CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Tom Tromey <[EMAIL PROTECTED]>06/03/29 20:24:37 Modified files: .

[Bug libgcj/26139] provide gorbd and gtnameserv executables

2006-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2006-03-29 20:22 --- In order to do this we should avoid building tools.zip and instead directly build executables. (If we need a java archive for some reason, it should be a jar, anyway.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?

[Bug bootstrap/26901] ../../../../../gcc/libjava/classpath/tools/gnu/classpath/tools/AbstractMethodGenerator.java:1: fatal error: unknown encoding: 'roman8'

2006-03-29 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2006-03-29 19:53 --- Subject: Re: ../../../../../gcc/libjava/classpath/tools/gnu/classpath/tools/AbstractMethodGenerator.java:1: fatal error > There are 2 parts to this bug. > > First, there's no reason to build tools.zip in

[Bug bootstrap/26901] ../../../../../gcc/libjava/classpath/tools/gnu/classpath/tools/AbstractMethodGenerator.java:1: fatal error: unknown encoding: 'roman8'

2006-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2006-03-29 19:43 --- There are 2 parts to this bug. First, there's no reason to build tools.zip in the gcj build (yet). Second, upstream classpath should pass an explicit -encoding when invoking the java compiler. I'm working on these.

[Bug tree-optimization/26919] [4.1/4.2 regression] ICE in cgraph_estimate_size_after_inlining caused by boost::lambda

2006-03-29 Thread reichelt at gcc dot gnu dot org
--- Comment #7 from reichelt at gcc dot gnu dot org 2006-03-29 19:39 --- Btw, the testcase crashes when compiles with "g++ -O": PR26919.cc:119: internal compiler error: in cgraph_estimate_size_after_inlining, at ipa-inline.c:106 Please submit a full bug report, [etc.] -- http://gc

[Bug tree-optimization/26919] [4.1/4.2 regression] ICE in cgraph_estimate_size_after_inlining caused by boost::lambda

2006-03-29 Thread reichelt at gcc dot gnu dot org
--- Comment #6 from reichelt at gcc dot gnu dot org 2006-03-29 19:38 --- Created an attachment (id=11157) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11157&action=view) Reduced testcase Reduced testcase. -- reichelt at gcc dot gnu dot org changed: What|Remov

[Bug tree-optimization/26919] [4.1/4.2 regression] ICE in cgraph_estimate_size_after_inlining caused by boost::lambda

2006-03-29 Thread reichelt at gcc dot gnu dot org
--- Comment #5 from reichelt at gcc dot gnu dot org 2006-03-29 19:37 --- Confirmed. The testcase still involves long template parameter lists, but that seems to be part of the problem: I removed some of them, but then the testcase compiles. -- reichelt at gcc dot gnu dot org change

[Bug regression/26928] ICE in in bsi_last, at tree-flow-inline.h:760 on valid code with -march=i686.

2006-03-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-29 19:35 --- It also works with "4.2.0 20060321". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26928

[Bug c/26927] math function log2 bug

2006-03-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-29 19:34 --- t.c:9: warning: implicit declaration of function 'log2' t.c:9: warning: incompatible implicit declaration of built-in function 'log2' Please next time use -W -Wall before reporting a bug report as requested by: http

[Bug libfortran/25378] [Fortran 2003] maxloc for all-false mask

2006-03-29 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2006-03-29 19:31 --- Fixed on 4.1. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/20935] failed assertion for maxloc(n, mask=.true.)

2006-03-29 Thread tkoenig at gcc dot gnu dot org
--- Comment #10 from tkoenig at gcc dot gnu dot org 2006-03-29 19:30 --- Really closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug fortran/20935] failed assertion for maxloc(n, mask=.true.)

2006-03-29 Thread tkoenig at gcc dot gnu dot org
--- Comment #9 from tkoenig at gcc dot gnu dot org 2006-03-29 19:29 --- Fixed on 4.1. Closing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20935

[Bug c/11751] wrong evaluation order of an expression

2006-03-29 Thread pinskia at gcc dot gnu dot org
--- Comment #66 from pinskia at gcc dot gnu dot org 2006-03-29 19:26 --- *** Bug 26923 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c/26923] byte swap incorrect

2006-03-29 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-29 19:26 --- *** This bug has been marked as a duplicate of 11751 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/26921] long long bit fields are passed to variadic functions as longs

2006-03-29 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-03-29 19:25 --- The warning mess has been corrected: t.c: In function 'main': t.c:10: warning: format '%lld' expects type 'long long int', but argument 2 has type 'long long int:33' This is not a bug, GCC is correct in warning.

[Bug other/26915] missed optimization / returning -1.0

2006-03-29 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-03-29 19:23 --- ...and the current 4.2.0 ICEs on this testcase: $ ./xgcc -B. 26915.c -m32 -march=i686 26915.c: In function ‘minus1’: 26915.c:1: error: bb_for_stmt (stmt) is set to a wrong basic block 26915.c:1: error: bb_for_stmt (stmt) is

[Bug regression/26928] New: ICE in in bsi_last, at tree-flow-inline.h:760 on valid code with -march=i686.

2006-03-29 Thread pluto at agmk dot net
gcc-4.2.0-20060323 / rev.112317 $ testcase: void test(double x) { if (x > 0.0); } $ ./xgcc -B. bug.c -c -m32 -march=i686 bug.c: In function 'test': bug.c:7: internal compiler error: in bsi_last, at tree-flow-inline.h:760 it works with 4.1.1. -- Summary: ICE in in bsi_last, at tree

[Bug c++/26916] [4.0/4.1/4.2 Regression] template/overloaded function lookup

2006-03-29 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-29 19:15 --- This is correct behavior. The template is the only thing the first template sees when it calls add_field as there are no dependent arguments. -- pinskia at gcc dot gnu dot org changed: What|Remov

[Bug libgcj/11780] Method.invoke() is slow

2006-03-29 Thread mckinlay at redhat dot com
--- Comment #8 from mckinlay at redhat dot com 2006-03-29 19:00 --- Created an attachment (id=11156) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11156&action=view) Test Case New version of the test case, which tests both public and private method invocation. -- http://gcc.g

[Bug libgcj/11780] Method.invoke() is slow

2006-03-29 Thread mckinlay at redhat dot com
--- Comment #7 from mckinlay at redhat dot com 2006-03-29 18:59 --- With a public call, as in the current test case, it is "only" about 2.5X slower than HotSpot for me: $ ./a.out public call: 499 ms private call: 7344 ms $ java RefTest3 public call: 182 ms private call: 808 ms Private

[Bug c/26927] New: math function log2 bug

2006-03-29 Thread bxin33 at gmail dot com
Most likely this bug was reported before; but I couldn't seem to find it in this database. So, just in case. The bug is with gcc 3.3.5; I know 3.4.4 works fine. === test #include #include int main() { int g_size = 8; int dim; double dd; dd = log2(g_siz

[Bug c/26923] byte swap incorrect

2006-03-29 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-03-29 18:51 --- It's not a gcc bug. The code relies on the results of intermediate subexpressions. According to Stroustrup, The C++ Programming Language, section 6.2.2, "The order of evaluation of subexpressions within an expression is unde

[Bug libfortran/26893] kinds.h not generated, causing failure

2006-03-29 Thread quanah at stanford dot edu
--- Comment #3 from quanah at stanford dot edu 2006-03-29 18:45 --- Actually, the problem has nothing to do with using /bin/sh, because I get the same failure using /bin/ksh, too: /bin/ksh ../../../../gcc-4.1.0/libgfortran/mk-srk-inc.sh '/afs/ir.stanford.edu/src/pubsw/languages/gcc-buil

[Bug libstdc++/26926] New: double vs. long double libmath export confusion

2006-03-29 Thread bkoz at gcc dot gnu dot org
While working on the long double 128 bits with Jakub, it was pointed out that some of the libmath work in libstdc++ is incorrect. In particular, platforms like ppc32 are doing some bogus exports. Mostly, this is because on certain platforms, sizeof(double) == sizeof(long double) and so, there

[Bug libgcj/9250] runtime should only use non-visible locks

2006-03-29 Thread mark at gcc dot gnu dot org
--- Comment #6 from mark at gcc dot gnu dot org 2006-03-29 18:14 --- TYhis bug is now closed but I wanted to add the following link for the archives. A couple of these denial of service attacks by taking locks were in the examples of Sascha's GNU Classpath Security talk at Fosdem 2004: h

[Bug libgcj/11780] Method.invoke() is slow

2006-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2006-03-29 18:12 --- Things look even worse with svn head (4.2 atm)... either with gij or precompiled, the test case shows invocations about an order of magnitude slower than the JDK. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11

[Bug libgcj/9250] runtime should only use non-visible locks

2006-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #5 from tromey at gcc dot gnu dot org 2006-03-29 17:52 --- I now agree with comment #4. I don't think this is a bug. -- tromey at gcc dot gnu dot org changed: What|Removed |Added -

[Bug middle-end/23623] volatile keyword changes bitfield access size from 32bit to 8bit

2006-03-29 Thread pbrook at gcc dot gnu dot org
--- Comment #10 from pbrook at gcc dot gnu dot org 2006-03-29 17:44 --- Should be fixed now. -- pbrook at gcc dot gnu dot org changed: What|Removed |Added Sta

[Bug libstdc++/26733] move semantics vs. debug mode

2006-03-29 Thread bkoz at gcc dot gnu dot org
--- Comment #7 from bkoz at gcc dot gnu dot org 2006-03-29 17:40 --- Excellent job Paolo! Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26733

[Bug tree-optimization/26859] [4.2 Regression] ICE Segmentation Fault

2006-03-29 Thread spop at gcc dot gnu dot org
--- Comment #10 from spop at gcc dot gnu dot org 2006-03-29 17:20 --- Subject: Bug 26859 Author: spop Date: Wed Mar 29 17:20:24 2006 New Revision: 112502 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112502 Log: PR tree-optimization/26859 * tree-ssa-loop-niter.c

[Bug testsuite/20567] dg-options in gcc.c-torture

2006-03-29 Thread janis at gcc dot gnu dot org
--- Comment #4 from janis at gcc dot gnu dot org 2006-03-29 17:12 --- The gfortran torture tests also need to support dg- options, starting with dg-final to allow cleaning up module files from the testsuite temporary directory. -- janis at gcc dot gnu dot org changed: Wha

[Bug c++/26919] ICE in cgraph_estimate_size_after_inlining caused by boost::lambda

2006-03-29 Thread reichelt at gcc dot gnu dot org
--- Comment #4 from reichelt at gcc dot gnu dot org 2006-03-29 17:03 --- Created an attachment (id=11155) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11155&action=view) Smaller testcase Will continue reducing if nobody beats me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?

[Bug java/26042] ICE in mark_reference_fields, at java/boehm.c:105

2006-03-29 Thread tromey at gcc dot gnu dot org
-- tromey at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |tromey at gcc dot gnu dot |dot org

[Bug libgcj/26910] re-merging java.util.zip

2006-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2006-03-29 16:44 --- Note that we need more mauve tests in this area before fixing the problem. The current tests don't catch the bug(s). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26910

[Bug java/26390] Problem dispatching method call when method does not exist in superclass

2006-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #11 from tromey at gcc dot gnu dot org 2006-03-29 16:36 --- Fix checked in. -- tromey at gcc dot gnu dot org changed: What|Removed |Added Status|N

[Bug c/26923] New: byte swap incorrect

2006-03-29 Thread behloul dot younes at gmail dot com
A peace of my code uses the two next macros (SWAP and InvSwap) to swap bytes, it worked for a long time under gcc-3.3 but not under gcc-4.0.3 under gcc-3.3: InvWord(0xABCD) = 0xCDAB under gcc-4-0.3: InvWord(0xABCD) = 0xCD00 FILE STARTS HERE ## #define SWAP(x

[Bug java/26390] Problem dispatching method call when method does not exist in superclass

2006-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #10 from tromey at gcc dot gnu dot org 2006-03-29 16:32 --- Subject: Bug 26390 Author: tromey Date: Wed Mar 29 16:31:53 2006 New Revision: 112499 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112499 Log: gcc/java PR java/26390: * parse.y (find_most_s

[Bug c++/26919] ICE in cgraph_estimate_size_after_inlining caused by boost::lambda

2006-03-29 Thread reichelt at gcc dot gnu dot org
--- Comment #3 from reichelt at gcc dot gnu dot org 2006-03-29 16:05 --- Reducing. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug middle-end/26900] Number of iterations not know for simple loop

2006-03-29 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2006-03-29 15:45 --- Created an attachment (id=11154) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11154&action=view) patch I have a simple patch for # iterations analysis to check whether either cond1 follows from cond2 or !cond

[Bug c++/26913] ICE with -fopenmp and -O2

2006-03-29 Thread reichelt at gcc dot gnu dot org
--- Comment #1 from reichelt at gcc dot gnu dot org 2006-03-29 15:44 --- Confirmed. Reduced testcase (compile with "g++ -fopenmp"): === struct A { ~A() throw(); }; void foo(A); A bar() throw(); void baz() { #pragma omp parallel { A a; foo(ba

[Bug c++/26922] Compile/link failure with -frepo and g++ 4.1

2006-03-29 Thread rankincj at yahoo dot com
--- Comment #1 from rankincj at yahoo dot com 2006-03-29 15:36 --- Created an attachment (id=11153) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11153&action=view) Source code to demonstrate -frepo failure. My host machine is a i686-pc-linux-gnu machine; g++-3.4.4 compiles this j

[Bug c++/26919] ICE in cgraph_estimate_size_after_inlining caused by boost::lambda

2006-03-29 Thread kreckel at ginac dot de
--- Comment #2 from kreckel at ginac dot de 2006-03-29 15:36 --- Created an attachment (id=11152) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11152&action=view) program causing ICE preprocessed with -P -E I now see that this is not vanilla boost 1.33.1 but one which contains an

[Bug c++/26922] New: Compile/link failure with -frepo and g++ 4.1

2006-03-29 Thread rankincj at yahoo dot com
Executable fails to compile with -frepo using g++ 4.1 g++ (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[Bug middle-end/23623] volatile keyword changes bitfield access size from 32bit to 8bit

2006-03-29 Thread pbrook at gcc dot gnu dot org
--- Comment #9 from pbrook at gcc dot gnu dot org 2006-03-29 15:21 --- Subject: Bug 23623 Author: pbrook Date: Wed Mar 29 15:21:13 2006 New Revision: 112493 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112493 Log: 2006-03-29 Paul Brook <[EMAIL PROTECTED]> PR middle-

[Bug java/26042] ICE in mark_reference_fields, at java/boehm.c:105

2006-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #9 from tromey at gcc dot gnu dot org 2006-03-29 15:12 --- The first time we lay out the type, we have the fields reversed. See parse.y:java_reorder_fields. I don't know why this happens. (We construct the field list in reverse order, presumably for efficiency. What is uncl

[Bug c/26921] long long bit fields are passed to variadic functions as longs

2006-03-29 Thread bugzilla at hburch dot com
--- Comment #3 from bugzilla at hburch dot com 2006-03-29 14:59 --- #include struct s { long long int a : 33; }; struct s foo = {0}; int main(void) { printf ("%lld\n", foo.a); return 0; } produces the following output using "gcc -Wall -o a a.c" for same syste

[Bug c/26921] long long bit fields are passed to variadic functions as longs

2006-03-29 Thread bugzilla at hburch dot com
--- Comment #2 from bugzilla at hburch dot com 2006-03-29 14:54 --- Created an attachment (id=11151) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11151&action=view) Bundle for Mac OS X -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26921

[Bug c/26921] long long bit fields are passed to variadic functions as longs

2006-03-29 Thread bugzilla at hburch dot com
--- Comment #1 from bugzilla at hburch dot com 2006-03-29 14:54 --- Created an attachment (id=11150) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11150&action=view) Bundle for Linux -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26921

[Bug c/26921] New: long long bit fields are passed to variadic functions as longs

2006-03-29 Thread bugzilla at hburch dot com
When compiled under Linux, at least, gcc 3.2.3 appears to pass a long long bit field to a variadic function as a long. In particular, if you say "printf ("%lld", s.a)", where s.a is a long long bit field, s.a appears to only pass a long. The resulting assembly reads (for a 3 bit long long field):

[Bug c++/26916] [4.0/4.1/4.2 Regression] template/overloaded function lookup

2006-03-29 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-03-29 14:19 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug c++/26919] ICE in cgraph_estimate_size_after_inlining caused by boost::lambda

2006-03-29 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-03-29 14:13 --- Can you attach preprocessed source please? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26919

[Bug rtl-optimization/15187] Inefficient if optimization with -O2 -ffast-math

2006-03-29 Thread uros at kss-loka dot si
--- Comment #12 from uros at kss-loka dot si 2006-03-29 14:08 --- (In reply to comment #11) > it looks like 4.1.1 and 4.2.0 still produce unoptimal code. > test: pushl %ebp > movl%esp, %ebp > fldl8(%ebp) > fldz > fcomip %st(1), %st >

[Bug fortran/26920] New: Cannot build using static libraries

2006-03-29 Thread dir at lanl dot gov
When I try to build a program using static libraries, I get errors - [dranta:~/tests] dir% gfortran -o print print.f [dranta:~/tests] dir% gfortran -o print print.f -Wl,-static /usr/bin/ld: only one of -static or -dynamic can be specified [dranta:~/tests] dir% gfortran -static -o print print.f /us

[Bug c++/26919] New: ICE in cgraph_estimate_size_after_inlining caused by boost::lambda

2006-03-29 Thread kreckel at ginac dot de
The following piece of code causes an ICE at ipa-inline.c:106 as soon as optimization is turned on. I can reproduce it using BOOST 1.32.0 and 1.33.1. It used to work previously (at least as of GCC 3.4.3). #include #include #include "boost/lambda/lambda.hpp" #include "boost/lambda/bind.hpp" str

[Bug c++/26917] New: [4.0/4.1/4.2 regression] ICE with -frepo on invalid code

2006-03-29 Thread reichelt at gcc dot gnu dot org
Compiling a valid C++ file with -frepo and then editing the file introducing bugs and then recompiling the file causes trouble: For example: Create the file "bug.cc" with the contents === int i; === Compile this file with "g++ -frepo -c bug.cc". Then change the file to =

[Bug c++/26916] New: [4.1/4.2 Regression] template/overloaded function lookup

2006-03-29 Thread Michael dot Teske at swissrisk dot com
It seems that template function overloading/argument dependent lookup now depends on declaration order. If this is right or not I don't know yet, but it changed without notice. consider this small piece of code: #include #include #include template void add_field(T const & value) { static in

[Bug other/26915] New: missed optimization / returning -1.0

2006-03-29 Thread pluto at agmk dot net
double minus1() { return -1.0; } .LC0:.long 3212836864 minus1: flds.LC0 ret for -Os gcc should use `fld1;fchs'. -- Summary: missed optimization / returning -1.0 Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity:

[Bug target/26879] LibJava not compile under alpha

2006-03-29 Thread zerocool at modemsoft dot it
--- Comment #5 from zerocool at modemsoft dot it 2006-03-29 10:30 --- (In reply to comment #4) OK now i try this and after i tell you the resul, hoping in the lucky :-) Thanks -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26879

[Bug other/26914] New: missed optimization / lack of conditional moves

2006-03-29 Thread pluto at agmk dot net
flags: -O2 -ffast-math -march=i686 -fomit-frame-pointer double signum_dbl_gcc( double x ) { if ( x < 0.0 ) return -1.0; if ( x > 0.0 ) return 1.0; return 0.0; } .LC1: .long 3212836864 signum_dbl_gcc: fldz fldl4(%esp) fcomip %st(1), %st

[Bug target/26879] LibJava not compile under alpha

2006-03-29 Thread rmathew at gcc dot gnu dot org
--- Comment #4 from rmathew at gcc dot gnu dot org 2006-03-29 10:06 --- It would be difficult for those of us without alpha-linux boxes to track this problem down. If you're willing, you can try to track the failure to a certain bit yourself. Let's stick with the GCC 4.2 snapshot as tha

[Bug c++/26912] [4.0/4.1/4.2 Regression] friend const member function specialization fails to compile

2006-03-29 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-03-29 09:32 --- Confirmed. struct Foo { template int func() ; }; class Bar { friend int Foo::func() const ; // line 6 }; is also invalidly accepted. -- rguenth at gcc dot gnu dot org changed: What|Remove

[Bug middle-end/26900] Number of iterations not know for simple loop

2006-03-29 Thread rakdver at atrey dot karlin dot mff dot cuni dot cz
--- Comment #7 from rakdver at atrey dot karlin dot mff dot cuni dot cz 2006-03-29 09:11 --- Subject: Re: Number of iterations not know for simple loop > > I thought if we know that we are looking at the loop header copy condition > > that > > we _know_ that the loop runs at least on

[Bug c++/26913] New: ICE with -fopenmp and -O2

2006-03-29 Thread Georg dot Baum at post dot rwth-aachen dot de
I get a ICE in g++ for the following code when compiled with -fopenmp and -O2: #include int foo() { int x1; #pragma omp parallel { for (int i = 0; i < 5; ++i) { std::string xxx; } } return 0; } Note that thi

[Bug middle-end/26900] Number of iterations not know for simple loop

2006-03-29 Thread rakdver at atrey dot karlin dot mff dot cuni dot cz
--- Comment #6 from rakdver at atrey dot karlin dot mff dot cuni dot cz 2006-03-29 09:01 --- Subject: Re: Number of iterations not know for simple loop > I thought if we know that we are looking at the loop header copy condition > that > we _know_ that the loop runs at least once, so

[Bug target/26879] LibJava not compile under alpha

2006-03-29 Thread zerocool at modemsoft dot it
--- Comment #3 from zerocool at modemsoft dot it 2006-03-29 08:17 --- Premising that I have unloaded the last available snapshots on the site and that is: gcc-4.2-20060325.tar.bz2,gcc-4.1-20060324.tar.bz2,gcc-4.0-20060323.tar.bz2 Well i make two test yesterday with this result : First r

[Bug tree-optimization/26667] Inlining always_inline functions causes further inlining that reduces function size to fail

2006-03-29 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2006-03-29 08:05 --- I'm unable to produce a testcase where we "regress" from 4.0 or earlier, so closing as fixed in 4.2.0. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

  1   2   >