Re: [PATCH] Re: PowerPC : GCC2 optimises better than GCC4???

2010-01-07 Thread Gabriel Paubert
On Wed, Jan 06, 2010 at 04:18:06PM +0100, Jakub Jelinek wrote: On Wed, Jan 06, 2010 at 10:15:58AM +, Andrew Haley wrote: On 01/06/2010 09:59 AM, Mark Colby wrote: Yabbut, how come RTL cse can handle it in x86_64, but PPC not? Probably because the RTL on x86_64 uses and's and ior's,

Re: [PATCH] Re: PowerPC : GCC2 optimises better than GCC4???

2010-01-07 Thread Jakub Jelinek
On Thu, Jan 07, 2010 at 09:48:53AM +0100, Gabriel Paubert wrote: apparently rs6000_emit_set_long_const needs work. lis 3,0x8034 extsw 3,3 or li 3,0x401a sldi 3,3,17 etc. do IMHO the same. Huh? I don't think so: - first one loads 0x__8034_ in r3, and

Question about instruction scheduling and dependencies between instructions in 2 different basic blocks

2010-01-07 Thread Dave Hudson
I've been working on instruction scheduling issues for our (Ubicom) ISA and have run into a problem I can't seem to resolve. The pipeline has a major hazard associated with the generation of addresses that are loaded from memory - the hazard window is 4 instructions. This is more than enough

[PATCH] ppc64 rs6000_emit_set_long_const improvements

2010-01-07 Thread Jakub Jelinek
On Thu, Jan 07, 2010 at 03:53:59AM -0500, Jakub Jelinek wrote: On Thu, Jan 07, 2010 at 09:48:53AM +0100, Gabriel Paubert wrote: apparently rs6000_emit_set_long_const needs work. lis 3,0x8034 extsw 3,3 or li 3,0x401a sldi 3,3,17 etc. do IMHO the same. Huh? I don't

Deciding when to sibcall

2010-01-07 Thread Paulo J. Matos
Hello, I have been trying to implement sibcalls (you can see my digression yesterday in gcc-help) for an arch with gcc 4.3.4. The problem with this is that I only want to sibcall when it happens to reduce my code size. I noticed (in the internals manual) we cannot actually fallback to a normal

ANSI/IEEE POSIX 1003.1 and GCC (+ Other GNU)

2010-01-07 Thread Takis Psarogiannakopoulos
Guys, While looking the GCC code, all the releases really from the 3.X.X the GNU gettext/libintl lock.c,h code the GCC/libjava code, the GCC/libgomp code, I have observed that the thread-id zero is widely used to initialize/free recursive mutexes/monitors etc. Eg GCC 4.X.X,

Re: ANSI/IEEE POSIX 1003.1 and GCC (+ Other GNU)

2010-01-07 Thread Andrew Pinski
Sent from my iPhone On Jan 7, 2010, at 1:59 AM, Takis Psarogiannakopoulos ta...@xfree86.org wrote: Guys, While looking the GCC code, all the releases really from the 3.X.X the GNU gettext/libintl lock.c,h code the GCC/libjava code, the GCC/libgomp code, I have observed that the

Re: Why Thumb-2 only allows very limited access to the PC?

2010-01-07 Thread Richard Earnshaw
On Wed, 2010-01-06 at 18:26 +, Paul Brook wrote: On Wednesday 06 January 2010, Carrot Wei wrote: So thumb2 can also use the instructions similar to thumb1, right? It potentially has better performance and smaller code size. Technically yes, however in ARMv7 the relevant instruction

Re: ANSI/IEEE POSIX 1003.1 and GCC (+ Other GNU)

2010-01-07 Thread Takis Psarogiannakopoulos
On Thu, 7 Jan 2010, Andrew Pinski wrote: As long as owner is not used when count is 0, then I don't see an issue. Note I know libobjc does implement it incorrectly; I have not had time to fix that. Thanks, Andrew Pinski Absolutely right, unfortunately on all cases I am reffereed the

Re: Why Thumb-2 only allows very limited access to the PC?

2010-01-07 Thread Paul Brook
On Thursday 07 January 2010, Richard Earnshaw wrote: On Wed, 2010-01-06 at 18:26 +, Paul Brook wrote: On Wednesday 06 January 2010, Carrot Wei wrote: So thumb2 can also use the instructions similar to thumb1, right? It potentially has better performance and smaller code size.

Re: GCC aliasing rules: more aggressive than C99?

2010-01-07 Thread Andrew Haley
On 01/06/2010 07:24 PM, Joshua Haberman wrote: In the notes that Nick referenced it says: Is there anybody that thinks the rules are clear enough? No one is really able to interpret them. So it seems that they are not clear enough. The problem is how to state them. [...]

Re: GCC aliasing rules: more aggressive than C99?

2010-01-07 Thread Richard Guenther
On Thu, Jan 7, 2010 at 12:29 PM, Andrew Haley a...@redhat.com wrote: On 01/06/2010 07:24 PM, Joshua Haberman wrote: In the notes that Nick referenced it says:   Is there  anybody that thinks the rules are clear enough?  No one is   really able to interpret them.  So it seems that they are

Gcc 4.3.4 fails to call TARGET_FUNCTION_OK_FOR_SIBCALL

2010-01-07 Thread Paulo J. Matos
Hi all, With the code: - extern void display(unsigned int); void callee(int z) // Sibcall worth it { display(z); } void caller(int x, int y) // Sibcall not worth it { display(x); display(y); callee(x*y); } - I have put a

Re: GCC aliasing rules: more aggressive than C99?

2010-01-07 Thread Andrew Haley
On 01/07/2010 11:42 AM, Richard Guenther wrote: On Thu, Jan 7, 2010 at 12:29 PM, Andrew Haley a...@redhat.com wrote: On 01/06/2010 07:24 PM, Joshua Haberman wrote: The response I think you may get is that this is already settled. I've seen this same argument many times (in mailing lists and

Re: Gcc 4.3.4 fails to call TARGET_FUNCTION_OK_FOR_SIBCALL

2010-01-07 Thread Paulo J. Matos
On Thu, Jan 7, 2010 at 11:46 AM, Paulo J. Matos pocma...@gmail.com wrote: Hi all, With the code: - extern void display(unsigned int); void callee(int z)  // Sibcall worth it {    display(z); } void caller(int x, int y) // Sibcall not worth it {    

Re: Gcc 4.3.4 fails to call TARGET_FUNCTION_OK_FOR_SIBCALL

2010-01-07 Thread Dave Korn
Paulo J. Matos wrote: This case is interesting because it seems that callee is being inlined into caller. Still intriguing is that the same happens with: -Os -fno-inline -fno-inline-small-functions -fno-inline-functions-called-once There are loads of other inline-related -f options apart

Re: Deciding when to sibcall

2010-01-07 Thread Dave Korn
Paulo J. Matos wrote: The problem with this is that I only want to sibcall when it happens to reduce my code size. I noticed (in the internals manual) we cannot actually fallback to a normal call once we decide to sibcall through FUNCTION_OK_FOR_SIBCALL, however, FUNCTION_OK_FOR_SIBCALL is

Re: reghunt and trunk (GCC 4.5.x)?

2010-01-07 Thread Gary Funck
On 01/06/10 12:54:21, Ian Lance Taylor wrote: I think you need to make sure that the script removes any existing config.cache files. Ian, thanks. This turned out to be a cockpit error on my part. The reghunt tools apparently expect the checked out gcc source tree to have the form souce

Re: New RTL instruction for my port

2010-01-07 Thread Jean Christophe Beyler
Dear all, I've gone to using unspec and I think I know why I have a problem. It seems that actually, the problem lies with the fact that these instructions are touching an internal register and how I am handling that register. Since I don't want the register allocator to use that register, I put

Re: ANSI/IEEE POSIX 1003.1 and GCC (+ Other GNU)

2010-01-07 Thread Richard Henderson
On 01/07/2010 01:59 AM, Takis Psarogiannakopoulos wrote: The right thing to do is use the depth (count above) of the mutex to decide if the mutex is free. The owner shoud be valid only if the mutex is locked. I believe the following should fix this for you, at least for libgomp. If you have a

Re: New RTL instruction for my port

2010-01-07 Thread Richard Henderson
On 01/07/2010 12:58 PM, Jean Christophe Beyler wrote: Dear all, I've gone to using unspec and I think I know why I have a problem. It seems that actually, the problem lies with the fact that these instructions are touching an internal register and how I am handling that register. Since I don't

Re: New RTL instruction for my port

2010-01-07 Thread Jean Christophe Beyler
I am almost convinced I had tried that already but apparently not. This seems to have fixed my problem, thank you :-) Jc On Thu, Jan 7, 2010 at 4:14 PM, Richard Henderson r...@redhat.com wrote: On 01/07/2010 12:58 PM, Jean Christophe Beyler wrote: Dear all, I've gone to using unspec and I

gcc-4.5-20100107 is now available

2010-01-07 Thread gccadmin
Snapshot gcc-4.5-20100107 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.5-20100107/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.5 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk

Re: ANSI/IEEE POSIX 1003.1 and GCC (+ Other GNU)

2010-01-07 Thread Eric Botcazou
I believe the following should fix this for you, at least for libgomp. If you have a system for which the thread-id 0 is actually used, would you mind testing it? This code is dead, it was only used for Solaris 2.5.1 and 2.6 and we don't support these versions any longer, see config.gcc. I'd

[Bug rtl-optimization/42511] [4.5 Regression] bootstrap error in stage3 on alpha-linux-gnu

2010-01-07 Thread ubizjak at gmail dot com
--- Comment #22 from ubizjak at gmail dot com 2010-01-07 08:02 --- (In reply to comment #21) Because at the point of propagation, propagated constant _is_ equal to whatever REG_EQUAL says. Removing this note at the point of propagation would IMO disable much more optimization

[Bug fortran/41872] wrong-code: Issues with allocatable scalars

2010-01-07 Thread burnus at gcc dot gnu dot org
--- Comment #12 from burnus at gcc dot gnu dot org 2010-01-07 08:10 --- Subject: Bug 41872 Author: burnus Date: Thu Jan 7 08:09:51 2010 New Revision: 155687 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155687 Log: 2010-01-07 Tobias Burnus bur...@net-b.de PR

[Bug fortran/42597] ICE with procedure pointer initialized to null()

2010-01-07 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2010-01-07 08:12 --- Subject: Bug 42597 Author: burnus Date: Thu Jan 7 08:12:10 2010 New Revision: 155688 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155688 Log: 2010-01-07 Tobias Burnus bur...@net-b.de PR

[Bug fortran/41872] wrong-code: Issues with allocatable scalars

2010-01-07 Thread burnus at gcc dot gnu dot org
--- Comment #13 from burnus at gcc dot gnu dot org 2010-01-07 08:12 --- Hopefully, all issues are now fixed. Thus: Mark as FIXED. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/42597] ICE with procedure pointer initialized to null()

2010-01-07 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2010-01-07 08:13 --- FIXED on the trunk (4.5). Thanks for reporting the bug! -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/42511] [4.5 Regression] bootstrap error in stage3 on alpha-linux-gnu

2010-01-07 Thread ebotcazou at gcc dot gnu dot org
--- Comment #23 from ebotcazou at gcc dot gnu dot org 2010-01-07 08:22 --- I'm thinking about the same situation with cse2, where constant assignment (with its REG_EQUAL note) would match another assignment with the same REG_EQUAL note. cse2 can equal this other assignment (through

[Bug translation/42467] exgettext should not remove TABs from option help strings

2010-01-07 Thread pzhao at gcc dot gnu dot org
-- pzhao at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pzhao at gcc dot gnu dot org |dot org

[Bug translation/42469] option help strings not properly using TAB

2010-01-07 Thread pzhao at gcc dot gnu dot org
-- pzhao at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pzhao at gcc dot gnu dot org |dot org

[Bug rtl-optimization/42511] [4.5 Regression] bootstrap error in stage3 on alpha-linux-gnu

2010-01-07 Thread ubizjak at gmail dot com
--- Comment #24 from ubizjak at gmail dot com 2010-01-07 08:50 --- (In reply to comment #23) The proposed change removes REG_EQUAL note only on moved insn, (insn 538) in our case. That's too aggressive in the general case, no need to remove a REG_EQUAL note pointing to a

[Bug rtl-optimization/42511] [4.5 Regression] bootstrap error in stage3 on alpha-linux-gnu

2010-01-07 Thread ubizjak at gmail dot com
--- Comment #25 from ubizjak at gmail dot com 2010-01-07 09:17 --- New patch revision in testing: --cut here-- Index: ifcvt.c === --- ifcvt.c (revision 155686) +++ ifcvt.c (working copy) @@ -4087,7 +4087,8 @@

[Bug tree-optimization/42494] [4.4 Regression] Missed dead-code-elimination

2010-01-07 Thread sliao at google dot com
--- Comment #6 from sliao at google dot com 2010-01-07 09:18 --- For the trunk snapshot of 20100102, GCC 4.5.0 indeed removes most of the redundancy. However, -O1 and -Os still produce an extra instruction, while -O2 doesn't. Do we care about an extra instruction below? Thanks. The

[Bug rtl-optimization/42511] [4.5 Regression] bootstrap error in stage3 on alpha-linux-gnu

2010-01-07 Thread ubizjak at gmail dot com
--- Comment #26 from ubizjak at gmail dot com 2010-01-07 09:23 --- Oops, brain dump error. This is correct: Index: ifcvt.c === --- ifcvt.c (revision 155686) +++ ifcvt.c (working copy) @@ -4087,7 +4087,8 @@

[Bug tree-optimization/42494] [4.4 Regression] Missed dead-code-elimination

2010-01-07 Thread steven at gcc dot gnu dot org
--- Comment #7 from steven at gcc dot gnu dot org 2010-01-07 09:49 --- *sigh* With all the Google power, why can't anyone there try to debug this? I'll have a look. -- steven at gcc dot gnu dot org changed: What|Removed |Added

Jump threading bug?

2010-01-07 Thread Eric Fisher
addl$4, %esp popl%ebx popl%ebp ret .size foo, .-foo .ident GCC: (GNU) 4.5.0 20100107 (experimental) .section.note.GNU-stack,,@progbits --- $ gcc -O3 -fno-tree-dominator-opts -S foo.c $ cat foo.s

Re: Jump threading bug?

2010-01-07 Thread Eric Fisher
See the attachment for the cfg pictures. Thanks, Eric foo_vcg.tar Description: Unix tar archive

[Bug tree-optimization/42157] [4.5 regression] ICE building stage 1 libgcc: SEGV in compare_access_positions

2010-01-07 Thread jamborm at gcc dot gnu dot org
--- Comment #14 from jamborm at gcc dot gnu dot org 2010-01-07 10:38 --- Subject: Bug 42157 Author: jamborm Date: Thu Jan 7 10:38:25 2010 New Revision: 155689 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155689 Log: 2010-01-07 Martin Jambor mjam...@suse.cz PR

[Bug tree-optimization/42157] [4.5 regression] ICE building stage 1 libgcc: SEGV in compare_access_positions

2010-01-07 Thread jamborm at gcc dot gnu dot org
--- Comment #15 from jamborm at gcc dot gnu dot org 2010-01-07 10:47 --- The patch that I finally committed is also slightly different but should avoid this problem too. -- jamborm at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/42528] ICE with -flto and -fsigned-char

2010-01-07 Thread anton at samba dot org
--- Comment #6 from anton at samba dot org 2010-01-07 11:01 --- Thanks Richard, it passes my tests. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42528

[Bug rtl-optimization/42511] [4.5 Regression] bootstrap error in stage3 on alpha-linux-gnu

2010-01-07 Thread ubizjak at gmail dot com
--- Comment #27 from ubizjak at gmail dot com 2010-01-07 11:21 --- Patch at http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00318.html . -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug middle-end/42505] [4.4 / 4.5 regression] loop canonicalization causes a lot of unnecessary temporary variables

2010-01-07 Thread sliao at google dot com
--- Comment #2 from sliao at google dot com 2010-01-07 11:31 --- 1. Yes, the flags used are -mthumb -Os -march=armv5te. 2. For completeness, I also tried to generate 32-bit instructions. In this case of ARM mode, GCC 4.5.0 (trunk as of last week) didn't store things onto stack

[Bug middle-end/42505] [4.4 / 4.5 regression] loop canonicalization causes a lot of unnecessary temporary variables

2010-01-07 Thread rearnsha at gcc dot gnu dot org
--- Comment #3 from rearnsha at gcc dot gnu dot org 2010-01-07 11:45 --- (In reply to comment #2) 1. Yes, the flags used are -mthumb -Os -march=armv5te. 4c: e8bd41f0pop {r4, r5, r6, r7, r8, lr} 50: e12fff1ebx lr This looks more like a return

[Bug tree-optimization/42644] [4.5 Regression] wrong code for -fgraphite-identify in 183.equake

2010-01-07 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to work||4.4.2 Summary|wrong code for -fgraphite- |[4.5

[Bug rtl-optimization/42511] [4.5 Regression] bootstrap error in stage3 on alpha-linux-gnu

2010-01-07 Thread debian-gcc at lists dot debian dot org
--- Comment #28 from debian-gcc at lists dot debian dot org 2010-01-07 11:54 --- the bootstrap succeeds with the patch from comment #18 applied, test results at http://gcc.gnu.org/ml/gcc-testresults/2010-01/msg00633.html Matthias --

[Bug tree-optimization/42641] Random code-generation differences with GRAPHITE

2010-01-07 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-01-07 12:43 --- Created an attachment (id=19496) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19496action=view) testcase (not reduced) While reducing this testcase with delta, different -fcompare-debug problem appeared (with

[Bug rtl-optimization/42499] Bad register allocation in multiplication code by constant

2010-01-07 Thread sliao at google dot com
--- Comment #3 from sliao at google dot com 2010-01-07 12:43 --- Because: This bug can be more easily demonstrated with multiplication of tv_sec by 10 and tv_usec/ 1000 removed , the input program is: #include sys/time.h extern void get_time(struct timeval*); void test(long long

[Bug other/42530] ICE in verify_ssa when using -O -g -ffast-math -floop-parallelize-all

2010-01-07 Thread aoliva at gcc dot gnu dot org
--- Comment #2 from aoliva at gcc dot gnu dot org 2010-01-07 12:47 --- 'been looking at it a bit. It's graphite's rewrite_commutative_reductions_out_of_ssa that removes SSA PHI nodes from the IR without actually releasing them, so we don't get a chance to propagate the DEFs into debug

[Bug tree-optimization/42642] -fcompare-debug failure with -O1 -fpeel-loops

2010-01-07 Thread zsojka at seznam dot cz
--- Comment #3 from zsojka at seznam dot cz 2010-01-07 12:50 --- -fno-web helps even with original testcase (and higher optimization level) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42642

[Bug rtl-optimization/42499] Bad register allocation in multiplication code by constant

2010-01-07 Thread sliao at google dot com
--- Comment #4 from sliao at google dot com 2010-01-07 12:55 --- Compilation flags: -march=armv5te -mthumb -Os gcc.4.2.1: (code size 0x1e bytes) push {r4, lr} sub sp, #8 adds r4, r0, #0 mov r0, sp bl 0 get_time ldr r2, [sp, #0] add sp, #8 lsls r3, r2, #2 adds r3, r3, r2 lsls

[Bug rtl-optimization/42511] [4.5 Regression] bootstrap error in stage3 on alpha-linux-gnu

2010-01-07 Thread uros at gcc dot gnu dot org
--- Comment #29 from uros at gcc dot gnu dot org 2010-01-07 13:02 --- Subject: Bug 42511 Author: uros Date: Thu Jan 7 13:02:34 2010 New Revision: 155691 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155691 Log: PR target/42511 * ifcvt.c (dead_or_predicable):

[Bug tree-optimization/42645] New: -fcompare-debug failure at -O1

2010-01-07 Thread zsojka at seznam dot cz
Command line: g++ -O1 -fcompare-debug -c testcase.cpp -fno-web doesn't help Tested revisions (x86_64): r155680 - crash r155662 - crash (x86) r154886 - crash r153685 - crash Output: $ /mnt/svn/gcc-trunk/binary-155680-lto/bin/g++ -O1 -fcompare-debug -c testcase.cpp g++: testcase.cpp:

[Bug tree-optimization/42645] -fcompare-debug failure at -O1

2010-01-07 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-01-07 13:12 --- Created an attachment (id=19497) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19497action=view) reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42645

[Bug debug/42629] -fcompare-debug failure (length) with -O1 -fsched-pressure -fschedule-insns

2010-01-07 Thread aoliva at gcc dot gnu dot org
--- Comment #2 from aoliva at gcc dot gnu dot org 2010-01-07 13:15 --- Mine -- aoliva at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned

[Bug rtl-optimization/42502] Bad register allocation in a very simple code

2010-01-07 Thread sliao at google dot com
--- Comment #2 from sliao at google dot com 2010-01-07 13:28 --- Using flags, -march=armv5te -mthumb -Os, GCC 4.5.0 (trunk) generates the following code: test: 0:b570 push{r4, r5, r6, lr} 2:b084 subsp, #16 4:1c05 adds

[Bug target/42509] [4.5 Regression] bootstrap failure in stage3 (integer overflow in preprocessor expression)

2010-01-07 Thread debian-gcc at lists dot debian dot org
--- Comment #4 from debian-gcc at lists dot debian dot org 2010-01-07 13:53 --- a build with BOOT_CFLAGS set to -g -O1 succeeds Matthias -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42509

[Bug rtl-optimization/42631] [4.5 Regression] -fcompare-debug failure with -O1 -funroll-loops

2010-01-07 Thread aoliva at gcc dot gnu dot org
--- Comment #4 from aoliva at gcc dot gnu dot org 2010-01-07 13:53 --- Yeah, it surprised me a bit too, but now that I looked into it I see it makes perfect sense. There was a PHI node before the debug stmt that expanded into this debug insn. The variable is indeed live at that

[Bug tree-optimization/42641] Random code-generation differences with GRAPHITE

2010-01-07 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-07 14:13 --- I can reproduce the problem with the testcase and the patch seems to fix it (with the typo fixed and as far as you can test for fixed random behavior...). I'm going to bootstrap, test and install it. -- rguenth

[Bug other/42541] [PATCH] install except.h libfuncs.h version.h (plugin headers)

2010-01-07 Thread baldrick at gcc dot gnu dot org
--- Comment #3 from baldrick at gcc dot gnu dot org 2010-01-07 14:22 --- I added version.h to the list of installed headers in commit 155692. -- baldrick at gcc dot gnu dot org changed: What|Removed |Added

[Bug java/42409] org.eclipse.jdt.internal.compiler.batch.GCCMain not found

2010-01-07 Thread jlpoole at pon dot net
--- Comment #12 from jlpoole at pon dot net 2010-01-07 14:26 --- Success. There were no further responses to my question posed in Comment #10; so I proceeded nonetheless. I deleted /usr/local/gcj and recreated the directory /usr/local/gcj so as to purge any hand-added files from

[Bug tree-optimization/42646] New: Jump threading breaks canonical loop forms

2010-01-07 Thread joefoxreal at gmail dot com
callfun_2 cmpl$9, %ebx jle .L5 addl$4, %esp popl%ebx popl%ebp ret .size foo, .-foo .ident GCC: (GNU) 4.5.0 20100107 (experimental) .section.note.GNU-stack,,@progbits

[Bug tree-optimization/42646] Jump threading breaks canonical loop forms

2010-01-07 Thread joefoxreal at gmail dot com
--- Comment #1 from joefoxreal at gmail dot com 2010-01-07 14:29 --- Created an attachment (id=19498) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19498action=view) cfg of the function foo -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42646

[Bug target/40887] GCC generates suboptimal code for indirect function calls on ARM

2010-01-07 Thread drow at gcc dot gnu dot org
--- Comment #10 from drow at gcc dot gnu dot org 2010-01-07 14:42 --- Ramana, is this fixed or are you planning on applying it to more branches? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40887

[Bug rtl-optimization/42511] [4.5 Regression] bootstrap error in stage3 on alpha-linux-gnu

2010-01-07 Thread rguenth at gcc dot gnu dot org
--- Comment #30 from rguenth at gcc dot gnu dot org 2010-01-07 14:44 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/42536] [4.4/4.5 regression] ICE in spill_failure, at reload1.c:2141

2010-01-07 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42536

[Bug tree-optimization/42585] [4.5 Regression] SRA is not good for structure copies with one replacement any more

2010-01-07 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42585

[Bug c++/42608] [4.4/4.5 Regression] Undefined reference not reported in case of explicit template instantiation

2010-01-07 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-07 14:47 --- I wonder if the C++ FE should diagnose this as invalid anyway? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40850] double free in nested types with allocatable components

2010-01-07 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2010-01-07 14:49 --- I had better add this to the list! Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/42619] [4.5 regression] ICE building stage3 libiberty/regex.o on Tru64 UNIX: verify_ssa failed

2010-01-07 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-07 14:50 --- Does the ICE happen with the stage1 compiler? Thus, is this PR maybe related to PR42511? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42619

[Bug rtl-optimization/42621] [4.4/4.5 Regression] Computed gotos on AMD 800% slower

2010-01-07 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42621

[Bug tree-optimization/42625] [4.5 Regression] -fipa-sra can generate different destructors in different object files, binary breaks after linking

2010-01-07 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42625

[Bug bootstrap/42628] [4.5 regression] ICE during bootstrap when compiling several libsupc++ files: original tree changed by fold

2010-01-07 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-07 14:54 --- We have to rule out miscompilation of stage3 here. Does the error reproduce if you configure with --disable-bootstrap or just use CLFAGS=-g -O3? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42628

[Bug rtl-optimization/42631] [4.5 Regression] -fcompare-debug failure with -O1 -funroll-loops

2010-01-07 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42631

[Bug tree-optimization/42637] [4.5 Regression][graphite] wrong code for -floop-interchange -ftree-loop-distribution

2010-01-07 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42637

[Bug tree-optimization/42644] [4.5 Regression] wrong code for -fgraphite-identify in 183.equake

2010-01-07 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42644

[Bug bootstrap/42619] [4.5 regression] ICE building stage3 libiberty/regex.o on Tru64 UNIX: verify_ssa failed

2010-01-07 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-01-07 14:58 --- Works with a cross from i?86-linux, so I suspect prev-gcc is miscompiled. Please check if the issue remains with PR42511 fixed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42619

[Bug rtl-optimization/42511] [4.5 Regression] bootstrap error in stage3 on alpha-linux-gnu

2010-01-07 Thread uros at gcc dot gnu dot org
--- Comment #31 from uros at gcc dot gnu dot org 2010-01-07 15:00 --- Subject: Bug 42511 Author: uros Date: Thu Jan 7 14:59:59 2010 New Revision: 155693 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155693 Log: * ifcvt.c (if_convert): Output slim multiple dumps with

[Bug target/40887] GCC generates suboptimal code for indirect function calls on ARM

2010-01-07 Thread ramana at gcc dot gnu dot org
--- Comment #11 from ramana at gcc dot gnu dot org 2010-01-07 15:03 --- (In reply to comment #10) Ramana, is this fixed or are you planning on applying it to more branches? This is fixed on trunk. I plan to put this on 4.4 branch but it won't be before the end of the week that I can

[Bug tree-optimization/42625] [4.5 Regression] -fipa-sra can generate different destructors in different object files, binary breaks after linking

2010-01-07 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-01-07 15:10 --- Subject: Bug 42625 Author: jakub Date: Thu Jan 7 15:10:26 2010 New Revision: 155694 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155694 Log: PR tree-optimization/42625 * cgraph.c

[Bug tree-optimization/42376] [4.5 Regression] Performance regression of generated code

2010-01-07 Thread martin at mpa-garching dot mpg dot de
--- Comment #7 from martin at mpa-garching dot mpg dot de 2010-01-07 15:16 --- Created an attachment (id=19499) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19499action=view) Proposed wwwdocs patch to explain the apparent performance regression Here is a proposed patch to

[Bug tree-optimization/42376] [4.5 Regression] Performance regression of generated code

2010-01-07 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-01-07 15:27 --- Can you please post the patch to gcc-patc...@gcc.gnu.org instead? Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42376

[Bug ada/41325] ACATS c37105a wrong code on armv5tel

2010-01-07 Thread ramana at gcc dot gnu dot org
--- Comment #4 from ramana at gcc dot gnu dot org 2010-01-07 15:57 --- I don't see these failures in recent testresults on gcc-testresults. For instance look at : http://gcc.gnu.org/ml/gcc-testresults/2009-12/msg02629.html Hence closing this out. -- ramana at gcc dot gnu dot org

[Bug fortran/42647] New: Missed initialization/dealloc of allocatable scalar DT with allocatable component

2010-01-07 Thread burnus at gcc dot gnu dot org
Follow up to PR 41872. The following program shows at run time: Fortran runtime error: Attempting to allocate already allocated array 'a' type t ! Any scalar/array allocatable component will do for the wrong-code integer, allocatable :: d end type type(t), allocatable :: a

[Bug tree-optimization/42641] Random code-generation differences with GRAPHITE

2010-01-07 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-07 16:07 --- Subject: Bug 42641 Author: rguenth Date: Thu Jan 7 16:07:17 2010 New Revision: 155695 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155695 Log: 2010-01-07 Richard Guenther rguent...@suse.de PR

[Bug tree-optimization/42641] Random code-generation differences with GRAPHITE

2010-01-07 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-07 16:09 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/42625] [4.5 Regression] -fipa-sra can generate different destructors in different object files, binary breaks after linking

2010-01-07 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-01-07 16:35 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug debug/42648] New: [4.5 Regression] gcc.dg/guality/pr41353-1.c FAILs at -On, n 0

2010-01-07 Thread rguenth at gcc dot gnu dot org
I thought we only had XPASSes. XPASS: gcc.dg/guality/pr41353-1.c -O0 line 28 j == 28 + 37 FAIL: gcc.dg/guality/pr41353-1.c -O1 line 28 i1 == 2 * 37 FAIL: gcc.dg/guality/pr41353-1.c -O1 line 28 i2 == 3 * 37 FAIL: gcc.dg/guality/pr41353-1.c -O2 line 28 i1 == 2 * 37 FAIL:

[Bug libstdc++/42573] [C++0x] shrink_to_fit() missing

2010-01-07 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2010-01-07 16:42 --- Ok, let's re-open this and add the basic implementation in time for gcc4.5 (C++0x mode only of course). -- paolo dot carlini at oracle dot com changed: What|Removed

[Bug c++/42649] New: Optimizer breaks boost shared_ptr

2010-01-07 Thread rlogel at navtech dot aero
-- Summary: Optimizer breaks boost shared_ptr Product: gcc Version: 3.4.6 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy:

[Bug libstdc++/42573] [C++0x] shrink_to_fit() missing

2010-01-07 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle |dot org

[Bug c++/42649] Optimizer breaks boost shared_ptr

2010-01-07 Thread rlogel at navtech dot aero
--- Comment #1 from rlogel at navtech dot aero 2010-01-07 16:46 --- Created an attachment (id=19500) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19500action=view) Shared Pointer Test Program This test program shows that the shared_ptr reference counter isn't being incremented

[Bug fortran/42650] New: F90: DT function with in-line DT definition and RESULT is rejected

2010-01-07 Thread burnus at gcc dot gnu dot org
The one of following valid Fortran 90 functions is rejected: While the first function func works and has function name = result name, the second (func2), which uses RESULT(), is rejected with the error message: Error: The type for function 'func2' at (1) is not accessible type(t) function

[Bug c++/42649] Optimizer breaks boost shared_ptr

2010-01-07 Thread rlogel at navtech dot aero
--- Comment #2 from rlogel at navtech dot aero 2010-01-07 16:49 --- # Vaild Excutable g++ -v -save-temps -o shared_ptr_test.exc shared_ptr_test.cpp # Invalid Excutable g++ -v -save-temps -O2 -o shared_ptr_test.exc shared_ptr_test.cpp GCC output: $ g++ -v -save-temps -O2 -o

[Bug c++/42649] Optimizer breaks boost 1.41 shared_ptr

2010-01-07 Thread rlogel at navtech dot aero
--- Comment #3 from rlogel at navtech dot aero 2010-01-07 16:50 --- Boost web page show that they tested 3.4.3 without any problems. -- rlogel at navtech dot aero changed: What|Removed |Added

[Bug c++/42649] Optimizer breaks boost shared_ptr

2010-01-07 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2010-01-07 16:52 --- 3.4.6?!? Please, try current, maintained, releases, gcc4.3.x or, better, gcc4.4.x, and in case open an appropriate PR. Thanks. -- paolo dot carlini at oracle dot com changed: What|Removed

[Bug c++/42649] Optimizer breaks boost shared_ptr

2010-01-07 Thread rlogel at navtech dot aero
--- Comment #5 from rlogel at navtech dot aero 2010-01-07 16:56 --- I realize that 3.4.6 is very old, but we need to support RedHat Enterprise 4 builds which use gcc 3.4.6. We would rather not undertake upgrading to gcc 4.x because we have a large legacy code base, some of which uses

[Bug c++/42649] Optimizer breaks boost shared_ptr

2010-01-07 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2010-01-07 17:02 --- Yes, but it's totally unmaintained, I'm sorry, we don't get PRs for unmaintained branches, that's the policy. -- paolo dot carlini at oracle dot com changed: What|Removed

Re: [Bug c++/42649] Optimizer breaks boost shared_ptr

2010-01-07 Thread Andrew Pinski
Sent from my iPhone On Jan 7, 2010, at 8:56 AM, rlogel at navtech dot aero gcc-bugzi...@gcc.gnu.org wrote: --- Comment #5 from rlogel at navtech dot aero 2010-01-07 16:56 --- I realize that 3.4.6 is very old, but we need to support RedHat Enterprise 4 builds which use gcc

  1   2   >