[Bug c++/21560] New: #pragma(1) doesn't work on the inner classes inside the temlated class

2005-05-13 Thread yuri at tsoft dot com
Example below prints 4, should be 1. If #pragma pack() is removed it prints 1, also it prints 1 if the printing line is also wrapped in pragmas. If instead template stuff is removed at all it prints 1 correctly. --example-- #include using namespace std; template struct Z { #pragma pack(1) uni

[Bug driver/21553] GCC_EXEC_PREFIX mechanism is broken

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:53 --- If I read the docs correctly it says you have to add -B. to the invocation. See PR 19856 and 14435. Reference from the docs: In addition, the prefix is used in an unusual way in finding the directories to

[Bug driver/21553] GCC_EXEC_PREFIX mechanism is broken

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:56 --- Also the documenation has said since June 2001. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21553

[Bug c++/21560] #pragma(1) doesn't work on the inner classes inside the temlated class

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 23:01 --- Confirmed, here is a compile time testcase instead of a runtime: template struct Z { #pragma pack(1) union Packed { struct { int dx:2; int dy:2; }; unsigned char byte; }; #pragma pa

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

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 23:06 --- The only change which could have caused this would be RTH but I know RTH bootstrapped and tested the patch. Are you sure that you are not using a broken binutils? -- http://gcc.gnu.org/bugzilla/show_b

[Bug bootstrap/21561] New: g++ bootstrap build fails on 32-bit, Solaris 10 x86

2005-05-13 Thread Daniel dot Davies at xerox dot com
When I build gcc 4.0.0 and g++ 4.0.0 using the newest configuration instructions on a 32-bit processor, the g++ configuration script builds a 64 bit program, fails to execute it and the build stops. Configuring with --disable-multilib works around the problem. Processor Pentium 4 OS: Solaris 2.10

[Bug java/9369] wrong bytecode generated for static inner class with private constructor

2005-05-13 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-05-13 23:27 --- This no longer fails due to a change that went in as part of the fix for PR 8618. In particular, we now emit the 'Inner' constructor as package-private, not private. This is kind of a slacker approach to im

[Bug driver/21553] GCC_EXEC_PREFIX mechanism is broken

2005-05-13 Thread roche at act-europe dot fr
--- Additional Comments From roche at act-europe dot fr 2005-05-13 23:40 --- Subject: Re: GCC_EXEC_PREFIX mechanism is broken pinskia at gcc dot gnu dot org wrote: > --- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13 > 22:53 --- > If I read the docs correc

[Bug tree-optimization/21562] New: Quiet bad codegen (unrolling + tail call interaction)

2005-05-13 Thread dalej at gcc dot gnu dot org
Compile the following with -O2 -funroll-loops and you get bad codegen. An uninitilaized value is used as "pos" in computing the store address for mr[pos]=1 at the top of the function. The first dump where it's wrong seems to be "nrv". If you unroll by hand it comes out correct. extern int de

[Bug bootstrap/21561] g++ bootstrap build fails on 32-bit, Solaris 10 x86

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-14 00:19 --- This is excepted behavior and is documented in the docs. -- What|Removed |Added

[Bug tree-optimization/21562] [4.0/4.1 Regression] Quiet bad codegen (unrolling + tail call interaction)

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-14 00:24 --- Confirmed, it is not slight with checking enabled: pr21562.c: In function 'ping_recurse': pr21562.c:15: error: Wrong amount of branch edges after unconditional jump 0 pr21562.c:15: error: verify_flow_info: I

[Bug tree-optimization/21563] New: A trivial VRP opportunity missed

2005-05-13 Thread kazu at cs dot umass dot edu
Consider: int foo (int a) { if (a > 1) if (a == 0) return 1; return 0; } The second "if" statement is not folded. -- Summary: A trivial VRP opportunity missed Product: gcc Version: unknown Status: UNCONFIRMED Keywords: missed-

[Bug tree-optimization/21562] [4.0/4.1 Regression] Quiet bad codegen (unrolling + tail call interaction)

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-14 00:41 --- (In reply to comment #1) > Confirmed, it is not slight with checking enabled: Which is really weird because it is not until expand time we catch it. Oh and this ICEs on i686-pc-linux-gnu also. --

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

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-14 00:42 --- Subject: Bug 21557 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-05-14 00:42:46 Modified files: libjava: ChangeLog libjava/java/lang:

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

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-14 00:43 --- Subject: Bug 21557 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-05-14 00:43:10 Modified files: libjava: Change

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

2005-05-13 Thread mckinlay at redhat dot com
--- Additional Comments From mckinlay at redhat dot com 2005-05-14 00:43 --- Fix checked in. -- What|Removed |Added Status|NEW |RESOLVED

[Bug c/21564] New: Fatal miscompile with -O1 -fno-strict-aliasing -finline-functions

2005-05-13 Thread drab at kepler dot fjfi dot cvut dot cz
Hi, during compilation of LAME I found out that the following gcc -- Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../../../gcc-CVS-20050512/gcc-CVS-20050512/configure --host=i686-pc-linux-gnu --prefix=/usr/local/opt/gcc-4.1 --exec-prefix=/usr/local/opt/

[Bug middle-end/21237] [4.0 Regression] unnecessary __cmpdi2 usage?

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-14 00:46 --- Subject: Bug 21237 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-05-14 00:46:01 Modified files: gcc: Change

[Bug c/21564] Fatal miscompile with -O1 -fno-strict-aliasing -finline-functions

2005-05-13 Thread drab at kepler dot fjfi dot cvut dot cz
--- Additional Comments From drab at kepler dot fjfi dot cvut dot cz 2005-05-14 00:46 --- Created an attachment (id=8887) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8887&action=view) This is the testcode that triggers the bug (stripped from latest CVS LAME). -- http://gcc.g

[Bug tree-optimization/21562] [4.0/4.1 Regression] Quiet bad codegen (unrolling + tail call interaction)

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-14 00:47 --- Note this now fails at -O3 -fno-inline (for 4.1.0). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21562

[Bug middle-end/21237] [4.0 Regression] unnecessary __cmpdi2 usage?

2005-05-13 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-05-14 00:48 --- backported patch -- What|Removed |Added Status|NEW |RESOLVED

[Bug c/21564] Fatal miscompile with -O1 -fno-strict-aliasing -finline-functions

2005-05-13 Thread drab at kepler dot fjfi dot cvut dot cz
--- Additional Comments From drab at kepler dot fjfi dot cvut dot cz 2005-05-14 00:49 --- (In reply to comment #0) > > But when compiling with only the following: > > -- > gcc -O1 -fno-strict-aliasing -finline-functions -o lame lame.c >

[Bug libstdc++/21523] [4.0 Regression] 3.4.4 RC1 fails libstdc++ install on powerpc64-linux

2005-05-13 Thread janis187 at us dot ibm dot com
--- Additional Comments From janis187 at us dot ibm dot com 2005-05-14 00:54 --- Subject: Re: [4.0 Regression] 3.4.4 RC1 fails libstdc++ install on powerpc64-linux I tried the 4.0 patch on powerpc64-linux with "make -j 8 bootstrap" for c,c++,f95,objc,java, ran the testsuite, and insta

[Bug tree-optimization/21564] [4.1 Regression] Fatal miscompile with -O1 -fno-strict-aliasing -finline-functions

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-14 01:09 --- I have no idea what is causing the problem. I tried the following options and it is still messed up: " -O1 -finline-functions -fno-tree-dominator-opts -fno-tree-fre -fno-tree-ccp -fno-tree-store-ccp -fno

[Bug tree-optimization/21564] [4.1 Regression] Fatal miscompile with -O1 -fno-strict-aliasing -finline-functions

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-14 01:10 --- some how the store is becoming dead. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21564

[Bug tree-optimization/21564] [4.1 Regression] Fatal miscompile with -O1 -fno-strict-aliasing -finline-functions

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-14 01:19 --- This is an aliasing issue, -O1 -fno-ivopts -finline-functions works. DCE thinks the store to gfp->out_samplerate is dead. Note the code will seg fault right away anyways, you need the following change to m

[Bug tree-optimization/21564] [4.1 Regression] Fatal miscompile with -O1 -finline-functions

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-14 01:20 --- Strict aliasing does not matter in this case as it is not enabled at -O1 anyways. -- What|Removed |Added

[Bug bootstrap/21561] g++ bootstrap build fails on 32-bit, Solaris 10 x86

2005-05-13 Thread Daniel dot Davies at xerox dot com
--- Additional Comments From Daniel dot Davies at xerox dot com 2005-05-14 01:23 --- Goodness, this morning joseph from codesourcery said building multilibs was the right thing to do. He said I should submit a proper bug report if the 32- bit platform tried executing 64-bit code. Coul

[Bug bootstrap/21561] g++ bootstrap build fails on 32-bit, Solaris 10 x86

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-14 01:25 --- Oh, I thought this was a different person, woops. -- What|Removed |Added Status|

[Bug bootstrap/21561] bootstrap build fails on biarch targets while not on the native mode

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-14 01:29 --- This is a common problem on all biarch systems when trying to compile in non native mode for the processor. The reason why I thought it was a different person is because the summary made it sound like it

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

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=21557

[Bug tree-optimization/21563] A trivial VRP opportunity missed

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-14 01:35 --- Confirmed. -- What|Removed |Added CC||pinskia at

[Bug tree-optimization/21563] A trivial VRP opportunity missed

2005-05-13 Thread kazu at cs dot umass dot edu
--- Additional Comments From kazu at cs dot umass dot edu 2005-05-14 01:38 --- I've got a patch. -- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |kazu

[Bug tree-optimization/21564] [4.1 Regression] Fatal miscompile with -O1 -finline-functions

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-14 01:46 --- Oh and -fno-tree-saliasing does not fix it, this is just for Dan. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21564

[Bug tree-optimization/21564] [4.1 Regression] Fatal miscompile with -O1 -finline-functions

2005-05-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-14 01:46 --- (In reply to comment #7) > Oh and -fno-tree-saliasing does not fix it, this is just for Dan. I mean "-fno-tree-salias". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21564

[Bug tree-optimization/21564] [4.1 Regression] Fatal miscompile with -O1 -finline-functions

2005-05-13 Thread drab at kepler dot fjfi dot cvut dot cz
--- Additional Comments From drab at kepler dot fjfi dot cvut dot cz 2005-05-14 01:56 --- (In reply to comment #5) > This is an aliasing issue, -O1 -fno-ivopts -finline-functions works. > DCE thinks the store to gfp->out_samplerate is dead. > > Note the code will seg fault right away an

[Bug tree-optimization/21564] [4.1 Regression] Fatal miscompile with -O1 -finline-functions

2005-05-13 Thread drab at kepler dot fjfi dot cvut dot cz
--- Additional Comments From drab at kepler dot fjfi dot cvut dot cz 2005-05-14 02:01 --- (In reply to comment #6) > Strict aliasing does not matter in this case as it is not enabled at -O1 > anyways. It does! Although not with -O1. But I just wanted to point out (which I forgot before

[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-14 06:30 --- (In reply to comment #11) > Ralf, it looks like no working integer type is found when building the > compiler. The h8300 is special wrt. integer types: >From a test script of mine: ... checking for char

<    1   2