[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

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

2010-01-07 Thread pinskia at gmail dot com
--- Comment #7 from pinskia at gmail dot com 2010-01-07 17:18 --- Subject: Re: Optimizer breaks boost shared_ptr 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

[Bug fortran/42651] New: Functions with result: Wrongly accepts attributes to function name

2010-01-07 Thread burnus at gcc dot gnu dot org
Using VOLATILE, TARGET etc. for function names is valid, but only if there is no extra RESULT variable. I thought the following would fix it, but it does not seem to work: if (attr-function !attr-result) { a1 = function; conf2 (allocatable); conf2 (asynchronous);

[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 #32 from uros at gcc dot gnu dot org 2010-01-07 17:32 --- Subject: Bug 42511 Author: uros Date: Thu Jan 7 17:31:43 2010 New Revision: 155698 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155698 Log: * ifcvt.c (if_convert): Output slim multiple dumps with

[Bug tree-optimization/42652] New: vectorizer created unaligned vector insns

2010-01-07 Thread law at redhat dot com
The vectorizer doesn't appear to handle packed structures correctly and ultimately generates a vector store to an unaligned address which causes a segfault. This was originally reported against a 4.4 variant, but investigation shows the bug is merely latent on the head of the trunk and can be

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-01-07 Thread law at redhat dot com
--- Comment #1 from law at redhat dot com 2010-01-07 17:33 --- Created an attachment (id=19501) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19501action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42652

[Bug ada/24167] Visibility of private component of parent in child generic, generic compiles but instantiation doesn't

2010-01-07 Thread simon at pushface dot org
--- Comment #4 from simon at pushface dot org 2010-01-07 17:34 --- Still there with gcc version 4.5.0 20100104 (experimental) (GCC) (r155633) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24167

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

2010-01-07 Thread zsojka at seznam dot cz
--- Comment #5 from zsojka at seznam dot cz 2010-01-07 17:53 --- Patch from comment #0 works for me too (sorry for the delay, it took some time to recompile after realising where is the typo in that patch). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42641

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

2010-01-07 Thread sebpop at gmail dot com
--- Comment #6 from sebpop at gmail dot com 2010-01-07 17:58 --- Subject: Re: Random code-generation differences with GRAPHITE After your change, there remains three users of htab_hash_pointer in graphite: In if_region_set_false_region, there is a use of htab_hash_pointer,

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

2010-01-07 Thread spop at gcc dot gnu dot org
--- Comment #7 from spop at gcc dot gnu dot org 2010-01-07 18:01 --- Subject: Bug 42641 Author: spop Date: Thu Jan 7 18:01:28 2010 New Revision: 155700 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155700 Log: Do not hash pointers. 2010-01-07 Richard Guenther

[Bug c++/42336] [4.5 Regression] ICE with pointer-to-member-function argument in template function

2010-01-07 Thread jamborm at gcc dot gnu dot org
--- Comment #11 from jamborm at gcc dot gnu dot org 2010-01-07 18:16 --- The ICE happens within count_non_default_template_args which (as far as I understand it) somehow re-creates each template parameter to see whether it is the default one (and increments a counter if it is). I am

[Bug middle-end/42178] [4.5 Regression] Invalid memory access in graphite

2010-01-07 Thread spop at gcc dot gnu dot org
--- Comment #17 from spop at gcc dot gnu dot org 2010-01-07 18:32 --- Subject: Bug 42178 Author: spop Date: Thu Jan 7 18:32:39 2010 New Revision: 155701 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155701 Log: Fix PR42178. 2010-01-05 Sebastian Pop sebastian@amd.com

[Bug middle-end/42178] [4.5 Regression] Invalid memory access in graphite

2010-01-07 Thread spop at gcc dot gnu dot org
--- Comment #18 from spop at gcc dot gnu dot org 2010-01-07 18:35 --- Fixed. -- spop at gcc dot gnu dot org changed: What|Removed |Added Status|REOPENED

[Bug libstdc++/42460] man page errors for generated libstdc++ man pages

2010-01-07 Thread bkoz at gcc dot gnu dot org
--- Comment #8 from bkoz at gcc dot gnu dot org 2010-01-07 18:37 --- Created an attachment (id=19502) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19502action=view) log of man page creation -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42460

[Bug libstdc++/42460] man page errors for generated libstdc++ man pages

2010-01-07 Thread bkoz at gcc dot gnu dot org
--- Comment #9 from bkoz at gcc dot gnu dot org 2010-01-07 18:40 --- The rest of these look bogus to me. __gnu_cxx::enc_filebuf.3cxx 805: warning: macro `If' not defined __gnu_cxx::stdio_sync_filebuf.3cxx 699: warning: macro `If' not defined std::basic_filebuf.3cxx 905: warning:

[Bug c++/40155] [c++0x] variadic template pack problem

2010-01-07 Thread dodji at gcc dot gnu dot org
--- Comment #5 from dodji at gcc dot gnu dot org 2010-01-07 19:22 --- Subject: Bug 40155 Author: dodji Date: Thu Jan 7 19:21:46 2010 New Revision: 155705 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155705 Log: Fix PR c++/40155 gcc/cp/ChangeLog: c++/40155 *

[Bug c++/40155] [c++0x] variadic template pack problem

2010-01-07 Thread dodji at gcc dot gnu dot org
--- Comment #6 from dodji at gcc dot gnu dot org 2010-01-07 19:47 --- Fixed in 4.5 -- dodji at gcc dot gnu dot org changed: What|Removed |Added

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

2010-01-07 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2010-01-07 19:50 --- No, there's no way for the front end to know that f isn't instantiated in another translation unit. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42608

[Bug bootstrap/41818] Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile

2010-01-07 Thread rwild at gcc dot gnu dot org
--- Comment #8 from rwild at gcc dot gnu dot org 2010-01-07 19:54 --- Subject: Bug 41818 Author: rwild Date: Thu Jan 7 19:53:50 2010 New Revision: 155706 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155706 Log: Fix PR bootstrap/41818. /: PR bootstrap/41818 *

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

2010-01-07 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2010-01-07 19:54 --- Makes no sense to me = unassigned. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/42542] Vectorizer produces incorrect results on max/min of unsigned intergers

2010-01-07 Thread hjl at gcc dot gnu dot org
--- Comment #17 from hjl at gcc dot gnu dot org 2010-01-07 19:55 --- Subject: Bug 42542 Author: hjl Date: Thu Jan 7 19:55:44 2010 New Revision: 155707 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155707 Log: Properly convert GTU to GT for V4SI and V2DI gcc/ 2010-01-07 H.J.

[Bug bootstrap/41818] Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile

2010-01-07 Thread rwild at gcc dot gnu dot org
--- Comment #9 from rwild at gcc dot gnu dot org 2010-01-07 19:57 --- Fixed. -- rwild at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug target/42542] Vectorizer produces incorrect results on max/min of unsigned intergers

2010-01-07 Thread hjl at gcc dot gnu dot org
--- Comment #18 from hjl at gcc dot gnu dot org 2010-01-07 19:58 --- Subject: Bug 42542 Author: hjl Date: Thu Jan 7 19:58:16 2010 New Revision: 155709 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155709 Log: Properly convert GTU to GT for V4SI and V2DI gcc/ 2010-01-07 H.J.

[Bug target/42542] Vectorizer produces incorrect results on max/min of unsigned intergers

2010-01-07 Thread hjl dot tools at gmail dot com
--- Comment #19 from hjl dot tools at gmail dot com 2010-01-07 20:00 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|NEW

[Bug c++/42634] ICE with -g -O2 -std=c++0x in copy_fn_p, at cp/decl.c:9973

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

  1   2   >