Re: detailed comparison of generated code size for GCC and other compilers

2009-12-15 Thread Paolo Bonzini
On 12/14/2009 09:31 PM, John Regehr wrote: Ok, thanks for the feedback Andi. Incidentally, the LLVM folks seem to agree with both of your suggestions. I'll re-run everything w/o frame pointers and ignoring testcases where some compiler warns about use of uninitialized local. I hate the way

Re: detailed comparison of generated code size for GCC and other compilers

2009-12-15 Thread Chris Lattner
On Dec 15, 2009, at 12:28 AM, Paolo Bonzini wrote: On 12/14/2009 09:31 PM, John Regehr wrote: Ok, thanks for the feedback Andi. Incidentally, the LLVM folks seem to agree with both of your suggestions. I'll re-run everything w/o frame pointers and ignoring testcases where some compiler

an array's offset from the stack point

2009-12-15 Thread Jianzhang Peng
HI, Can I get an array's offset from the stack point at pass-sched? thanks -- Jianzhang Peng

Re: detailed comparison of generated code size for GCC and other compilers

2009-12-15 Thread Paolo Bonzini
I also wonder if you have something like LTO enabled. No, he doesn't enable LLVM LTO. Even if it did, LTO wouldn't touch the 'CC1000SendReceiveP*' definitions because they are not static (unless he explicitly built with an export map). Interesting. I haven't analyzed what is going on in

Re: Performance regression of generated numerical code

2009-12-15 Thread Martin Reinecke
Hi! You didn't what target you are using. Pentium D can run both 32bit and 64bit. codes. This was done with 32bit code. I have opened PR 42376 describing the issue and added some more information. Cheers, Martin

Re: CFI statements vs. -pg

2009-12-15 Thread Richard Earnshaw
On Mon, 2009-12-14 at 19:18 +0100, Thomas Schwinge wrote: Hello! I noticed the following on ARM, GCC trunk -- didn't check yet whether it is ARM-specific; may be a general issue. Hacking out the forcing-off of emitting CFI statements in arm.c, I see the following function prologue

Re: detailed comparison of generated code size for GCC and other compilers

2009-12-15 Thread Andi Kleen
John Regehr reg...@cs.utah.edu writes: I would only be worried for cases where no warning is issued *and* unitialized accesses are eliminated. Yeah, it would be excellent if GCC maintained the invariant that for all uses of uninitialized storage, either the compiler or else valgrind will

Re: detailed comparison of generated code size for GCC and other compilers

2009-12-15 Thread Mathieu Lacage
On Tue, 2009-12-15 at 11:24 +0100, Andi Kleen wrote: John Regehr reg...@cs.utah.edu writes: I would only be worried for cases where no warning is issued *and* unitialized accesses are eliminated. Yeah, it would be excellent if GCC maintained the invariant that for all uses of

Re: a question about argument ARG_POINTER_REGNUM

2009-12-15 Thread Ivan Shcherbakov
Hi, Ian, ELIMINATE_REGS and TARGET_CAN_ELIMINATE are set correctly. As far as I understand from further investigation, at some point during compilation, the argument pointer register is used, then the expand_prologue() produces INSNs including push argp (as argp is

Re: detailed comparison of generated code size for GCC and other compilers

2009-12-15 Thread Andi Kleen
I am not a valgrind expert so, take the following with a grain of salt but I think that the above statement is wrong: valgrind reliably detects use of uninitialized variables if you define 'use' as meaning 'affects control flow of your program' in valgrind. It works in some cases for the

Re: [RFC] LTO and debug information

2009-12-15 Thread Diego Novillo
On Sun, Dec 13, 2009 at 15:51, Richard Guenther rguent...@suse.de wrote: + /* ???  We could free non-constant DECL_SIZE, DECL_SIZE_UNIT +    and DECL_FIELD_OFFSET.  But it's cheap enough to not do +    that and refrain from adding workarounds to dwarf2out.c  */ + + /* DECL_FCONTEXT is only

Re: New RTL instruction for my port

2009-12-15 Thread Jean Christophe Beyler
You are correct. So I should be changing things in the adjust_cost function instead. I was also wondering, these instructions modify an internal register that has been set as a fixed register. However, the compiler optimizes them out when the accumulator is not retrieved for a calculation. How

Re: a question about argument ARG_POINTER_REGNUM

2009-12-15 Thread Ian Lance Taylor
Ivan Shcherbakov shcherba...@eit.uni-kl.de writes: ELIMINATE_REGS and TARGET_CAN_ELIMINATE are set correctly. As far as I understand from further investigation, at some point during compilation, the argument pointer register is used, then the expand_prologue() produces

Re: New RTL instruction for my port

2009-12-15 Thread Daniel Jacobowitz
On Tue, Dec 15, 2009 at 10:08:02AM -0500, Jean Christophe Beyler wrote: You are correct. So I should be changing things in the adjust_cost function instead. I was also wondering, these instructions modify an internal register that has been set as a fixed register. However, the compiler

Re: a question about argument ARG_POINTER_REGNUM

2009-12-15 Thread Ivan Shcherbakov
Hi, Ian, I have created a simpler example, just a function computing a sum of its arguments: int sum(int a, int b, int c, int d, int e, int f, int g, int h) { return a + b + c + d + e + f + g + h; } The argp is a pseudo-register included in all register classes, that contain normal

Re: a question about argument ARG_POINTER_REGNUM

2009-12-15 Thread Ian Lance Taylor
Ivan Shcherbakov shcherba...@eit.uni-kl.de writes: It seems that in x86 the argp register gets eliminated before the reload phase. That seems unlikely to me. What pass do you think is eliminating the argument register? Ian

Re: New RTL instruction for my port

2009-12-15 Thread Jean Christophe Beyler
EPILOGUE_USES does not seem to work, the code still gets optimized out. However, unspec_volatile works but then, as you have said, the compiler doesn't optimize out things that it then could. I have for example an instruction to set this special register. Theoretically, if we had : set (x); set

Re: a question about argument ARG_POINTER_REGNUM

2009-12-15 Thread Ivan Shcherbakov
Hi, Ian, For i386-gcc, this seems to happen during global register allocation pass. This corresponds to IRA pass of gcc 4.4.x. I have attached the corresponding RTL dump files. -- Best regards, Ivan Shcherbakov mailto:shcherba...@eit.uni-kl.de TU Kaiserslautern,

Re: a question about argument ARG_POINTER_REGNUM

2009-12-15 Thread Ian Lance Taylor
Ivan Shcherbakov shcherba...@eit.uni-kl.de writes: For i386-gcc, this seems to happen during global register allocation pass. This corresponds to IRA pass of gcc 4.4.x. I have attached the corresponding RTL dump files. That means that reload is where the register is eliminated, as

Re: [RFC] LTO and debug information

2009-12-15 Thread Richard Guenther
On Tue, 15 Dec 2009, Diego Novillo wrote: On Sun, Dec 13, 2009 at 15:51, Richard Guenther rguent...@suse.de wrote: + /* ???  We could free non-constant DECL_SIZE, DECL_SIZE_UNIT +    and DECL_FIELD_OFFSET.  But it's cheap enough to not do +    that and refrain from adding workarounds to

Re: CFI statements vs. -pg

2009-12-15 Thread Thomas Schwinge
Hello! On 2009-12-15 10:15, Richard Earnshaw wrote: On Mon, 2009-12-14 at 19:18 +0100, Thomas Schwinge wrote: .LCFI0: .cfi_def_cfa_offset 8 + push{lr} + bl __gnu_mcount_nc .loc 1 4 0 mov r0, #33 Shouldn't

Re: detailed comparison of generated code size for GCC and other compilers

2009-12-15 Thread John Regehr
Also, we're not running LTO in any compiler and we removed all static declarations from the code to keep compilers from making closed-world assumptions. John Regehr

Re: generate RTL sequence

2009-12-15 Thread Jeff Law
On 12/10/09 18:33, daniel tian wrote: Hi, I have a problem about RTL sequence. If I wanna generate the RTL in sequence, and don't let gcc to schedule them. Then you need to generate them as a single insn which outputs multiple instructions. Jeff

Re: detailed comparison of generated code size for GCC and other compilers

2009-12-15 Thread Andreas Schwab
John Regehr reg...@cs.utah.edu writes: I would only be worried for cases where no warning is issued *and* unitialized accesses are eliminated. Yeah, it would be excellent if GCC maintained the invariant that for all uses of uninitialized storage, either the compiler or else valgrind will

Re: a question about argument ARG_POINTER_REGNUM

2009-12-15 Thread Ivan Shcherbakov
Hi, Ian, Thank you for the information about register allocation sequence. My problem was solved by adding AP-to-FP entry to ELIMINABLE_REGS. I also encountered another minor problem. When GCC tries to generate a push SP instruction (e.g. some_func(the_only_local_var);), it is detected

gcc-4.4-20091215 is now available

2009-12-15 Thread gccadmin
Snapshot gcc-4.4-20091215 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.4-20091215/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.4 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

updated code size comparison

2009-12-15 Thread John Regehr
[cross-posting to the GCC and LLVM lists] I've updated the code size results here: http://embed.cs.utah.edu/embarrassing/dec_09/ The changes for this run were: - delete a number of testcases that contained use of uninitialized local variables - turn off frame pointer emission for all

Re: updated code size comparison

2009-12-15 Thread Miles Bader
John Regehr reg...@cs.utah.edu writes: I've updated the code size results here: http://embed.cs.utah.edu/embarrassing/dec_09/ The thing that bothers me about this is that you seem to put a lot of emphasis on the test X generated larger code than Y without any reflection of how much larger

[Bug middle-end/42130] [graphite-branch] dealII fails

2009-12-15 Thread spop at gcc dot gnu dot org
--- Comment #7 from spop at gcc dot gnu dot org 2009-12-15 08:21 --- I will add -fgraphite-identity to the testcase as otherwise we're not going to test graphite on trunk... diff --git a/gcc/testsuite/g++.dg/graphite/pr42130.C b/gcc/testsuite/g++.dg/graphite/pr42130.C index

[Bug middle-end/41082] [4.5 Regression] FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3 -g with -m64

2009-12-15 Thread irar at il dot ibm dot com
--- Comment #7 from irar at il dot ibm dot com 2009-12-15 08:25 --- I can't reproduce it with current mainline on powerpc64-suse-linux. Could you please attach vectorizer dump? Does the good old version gets vectorized? If so, could you please attach it as well? Thanks, Ira --

[Bug middle-end/42130] [graphite-branch] dealII fails

2009-12-15 Thread spop at gcc dot gnu dot org
--- Comment #8 from spop at gcc dot gnu dot org 2009-12-15 08:27 --- Also, I don't know why the test fails at runtime like this: FAIL: g++.dg/graphite/pr42130.C execution test -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42130

[Bug fortran/41235] Missing explicit interface for variable-length character functions

2009-12-15 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2009-12-15 08:37 --- Subject: Bug 41235 Author: burnus Date: Tue Dec 15 08:37:41 2009 New Revision: 155247 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155247 Log: 2009-12-15 Tobias Burnus bur...@net-b.de Daniel

[Bug tree-optimization/42334] segfault in graphite-poly.h for 200.sixtrack

2009-12-15 Thread spop at gcc dot gnu dot org
--- Comment #2 from spop at gcc dot gnu dot org 2009-12-15 08:39 --- Subject: Bug 42334 Author: spop Date: Tue Dec 15 08:39:25 2009 New Revision: 155248 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155248 Log: Fix PR42334: correct the update of the LST on loop interchange and

[Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE

2009-12-15 Thread spop at gcc dot gnu dot org
--- Comment #3 from spop at gcc dot gnu dot org 2009-12-15 08:39 --- Subject: Bug 42178 Author: spop Date: Tue Dec 15 08:39:25 2009 New Revision: 155248 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155248 Log: Fix PR42334: correct the update of the LST on loop interchange and

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

2009-12-15 Thread martin at mpa-garching dot mpg dot de
I have noticed a big performance decrease in one of my numerical codes when switching from gcc 4.4 to gcc 4.5. A small test case is attached. When compiling this test case with gcc -O3 perf.c -lm -std=c99 and executing the resulting binary, the CPU time with the head of the 4.4 branch is about

[Bug tree-optimization/42334] segfault in graphite-poly.h for 200.sixtrack

2009-12-15 Thread spop at gcc dot gnu dot org
--- Comment #3 from spop at gcc dot gnu dot org 2009-12-15 08:41 --- Fixed in the graphite branch. I will commit this to trunk after further test. -- spop at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE

2009-12-15 Thread spop at gcc dot gnu dot org
--- Comment #4 from spop at gcc dot gnu dot org 2009-12-15 08:41 --- Fixed in the graphite branch. I will commit this to trunk after further test. -- spop at gcc dot gnu dot org changed: What|Removed |Added

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

2009-12-15 Thread martin at mpa-garching dot mpg dot de
--- Comment #1 from martin at mpa-garching dot mpg dot de 2009-12-15 08:41 --- Created an attachment (id=19305) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19305action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42376

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

2009-12-15 Thread martin at mpa-garching dot mpg dot de
--- Comment #2 from martin at mpa-garching dot mpg dot de 2009-12-15 08:42 --- Created an attachment (id=19306) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19306action=view) assembler generated by gcc 4.5 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42376

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

2009-12-15 Thread martin at mpa-garching dot mpg dot de
--- Comment #3 from martin at mpa-garching dot mpg dot de 2009-12-15 08:43 --- Created an attachment (id=19307) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19307action=view) assembler generated by gcc 4.4 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42376

[Bug fortran/30668] -fwhole-file should catch function of wrong type

2009-12-15 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-12-15 08:44 --- It also should check (kind/length) type-parameters, cf. http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/d710371aed91e75f This is kind of a follow up to PR 41235; cf. also PR 41603. --

[Bug fortran/41235] Missing explicit interface for variable-length character functions

2009-12-15 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-12-15 08:45 --- FIXED -- burnus at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug libstdc++/42374] 23_containers/map/operators/1_neg.cc fails test for errors on darwin10

2009-12-15 Thread chris at bubblescope dot net
--- Comment #1 from chris at bubblescope dot net 2009-12-15 08:54 --- I see you are building with fink. Looking on the fink website, they do not seem to have a gcc45 package. Where did you get it from? Or has it just not made it to the website yet? -- chris at bubblescope dot net

[Bug target/42374] 23_containers/map/operators/1_neg.cc fails test for errors on darwin10

2009-12-15 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-12-15 09:12 --- And these can only be either target or, maybe, c++ front-end, certainly not libstdc++ proper -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/42336] [c++0x] ICE with pointer-to-member-function decltype argument in template function

2009-12-15 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2009-12-15 09:22 --- Ok, thanks, I'll track that one instead... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42336

[Bug c++/42364] C++ testsuite fails with -g

2009-12-15 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-12-15 09:35 --- make -j4 -k check-g++ RUNTESTFLAGS=--target_board=unix/-g -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42364

[Bug middle-end/42372] Error: undefined symbol `.LPIC7' in operation

2009-12-15 Thread ramana at gcc dot gnu dot org
--- Comment #3 from ramana at gcc dot gnu dot org 2009-12-15 09:50 --- Created an attachment (id=19308) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19308action=view) Reduced testcase. Reduced testcase attached - Compiling with -c -Os -frename-registers exposes the problem. --

[Bug middle-end/41082] [4.5 Regression] FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3 -g with -m64

2009-12-15 Thread dominiq at lps dot ens dot fr
--- Comment #8 from dominiq at lps dot ens dot fr 2009-12-15 09:58 --- I can't reproduce it with current mainline on powerpc64-suse-linux. I know;) Does the good old version gets vectorized? I don't have any working 4.5 version, but 4.4.2 is working. The differences are (4.4.2)

[Bug middle-end/41082] [4.5 Regression] FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3 -g with -m64

2009-12-15 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2009-12-15 09:59 --- Created an attachment (id=19309) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19309action=view) dump file for gfortran 4.4.2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41082

[Bug middle-end/41082] [4.5 Regression] FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3 -g with -m64

2009-12-15 Thread dominiq at lps dot ens dot fr
--- Comment #10 from dominiq at lps dot ens dot fr 2009-12-15 10:00 --- Created an attachment (id=19310) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19310action=view) dump file for gfortran 4.5.0 revision 155196 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41082

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-12-15 Thread dominiq at lps dot ens dot fr
--- Comment #99 from dominiq at lps dot ens dot fr 2009-12-15 10:14 --- i686-apple-darwin9 bootstraps without dsymutil fails at 155225, thanks Jakub. powerpc-apple-darwin9 too at 155239. For x86_64-apple-darwin10, I think the problem is fixed too, but between revisions 154996 and

[Bug c++/41183] [4.4 Regression] ICE compiling chromium

2009-12-15 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug middle-end/41082] [4.5 Regression] FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3 -g with -m64

2009-12-15 Thread irar at il dot ibm dot com
--- Comment #11 from irar at il dot ibm dot com 2009-12-15 10:59 --- Looks that it has to be my patch that enables vectorization of conditions: r149806 | irar | 2009-07-20 14:59:10 +0300 (Mon, 20 Jul 2009) | 19 lines * tree-vectorizer.h (vectorizable_condition): Add

[Bug tree-optimization/42108] [4.4/4.5 Regression] 50% performance regression

2009-12-15 Thread rguenth at gcc dot gnu dot org
--- Comment #37 from rguenth at gcc dot gnu dot org 2009-12-15 11:08 --- No, there isn't. I'd simply allow TREE_THIS_NOTRAP on all expression codes that in principle could. Now of course the middle-end would still need to make use of this (like transition it to a stmt flag on a

[Bug libstdc++/42377] New: libstdc++.dll.a misses a definition of std::string::reserve

2009-12-15 Thread rainer at emrich-ebersheim dot de
Even though libstdc++-6.dll has: 6fc94700 T std::string::reserve(unsigned long long), libstdc++.dll.a misses a definition of std::string::reserve! Which makes it impossible to build libgmpxx against a shared version of libstdc++-6, see: /bin/sh ./libtool --mode=link g++ -O2 -pedantic

[Bug c++/42336] [c++0x] ICE with pointer-to-member-function decltype argument in template function

2009-12-15 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2009-12-15 11:29 --- FYI, I have checked, however, that the last posted patch for 42225 http://gcc.gnu.org/ml/gcc-patches/2009-12/msg00755.html doesn't fix this one at once. --

[Bug c++/42336] [c++0x] ICE with pointer-to-member-function decltype argument in template function

2009-12-15 Thread dodji at seketeli dot org
--- Comment #6 from dodji at seketeli dot org 2009-12-15 11:48 --- Subject: Re: [c++0x] ICE with pointer-to-member-function decltype argument in template function FYI, I have checked, however, that the last posted patch for 42225 doesn't fix this one at once. To be honest, I am

[Bug target/42377] libstdc++.dll.a misses a definition of std::string::reserve

2009-12-15 Thread davek at gcc dot gnu dot org
--- Comment #1 from davek at gcc dot gnu dot org 2009-12-15 11:49 --- Hi Rainer, it'll take a little time but I'll set myself up a build environment and see if I can reproduce this. The libtool dependency libs stuff is a known problem in libtool IIRC. Details to follow. --

[Bug middle-end/41082] [4.5 Regression] FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3 -g with -m64

2009-12-15 Thread dominiq at lps dot ens dot fr
--- Comment #12 from dominiq at lps dot ens dot fr 2009-12-15 13:05 --- Looks that it has to be my patch that enables vectorization of conditions: I am doing a clean bootstrap of C and FORTRAN of revision 149805 to see if the test works for it (allow for ~6h on my poor G5). Then I'll

[Bug middle-end/41082] [4.5 Regression] FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3 -g with -m64

2009-12-15 Thread irar at il dot ibm dot com
--- Comment #13 from irar at il dot ibm dot com 2009-12-15 13:07 --- (In reply to comment #12) Looks that it has to be my patch that enables vectorization of conditions: I am doing a clean bootstrap of C and FORTRAN of revision 149805 to see if the test works for it (allow for ~6h

[Bug middle-end/41082] [4.5 Regression] FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3 -g with -m64

2009-12-15 Thread irar at il dot ibm dot com
--- Comment #14 from irar at il dot ibm dot com 2009-12-15 13:08 --- Created an attachment (id=19311) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19311action=view) powerpc64-suse-linux vect dump -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41082

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

2009-12-15 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-12-15 13:15 --- This is because (quoting http://gcc.gnu.org/gcc-4.5/changes.html): GCC now supports handling floating-point excess precision arising from use of the x87 floating-point unit in a way that conforms to ISO C99. This

[Bug libffi/42378] New: cls_*double_va.c failures on powerpc-apple-darwin9

2009-12-15 Thread dominiq at lps dot ens dot fr
I have started to see the following failures between revisions 148215 and 148502 (likely 148285, which means that these tests never passed on powerpc-apple-darwin9): Running target unix FAIL: libffi.call/cls_double_va.c -O0 -W -Wall output pattern test, is -0.0 FAIL:

[Bug libffi/42243] [4.5 Regression] powerpc-apple-darwin9 libffi failures

2009-12-15 Thread dominiq at lps dot ens dot fr
--- Comment #26 from dominiq at lps dot ens dot fr 2009-12-15 13:21 --- I have open pr42378 for the remaining failures in comment #21 (I did not include libffi.call/nested_struct5.c that is pr34311). Closing this PR as fixed, please reopen if you disagree. -- dominiq at lps dot ens

[Bug middle-end/41082] [4.5 Regression] FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3 -g with -m64

2009-12-15 Thread dominiq at lps dot ens dot fr
--- Comment #15 from dominiq at lps dot ens dot fr 2009-12-15 13:29 --- and the second one has this bb: bb 43: dt_parm.33.common.filename = where_2.f90[1]{lb: 1 sz: 1}; ... _gfortran_st_write_done (dt_parm.33); This is probably due to a print I put in the code to look at the

[Bug middle-end/42372] Error: undefined symbol `.LPIC7' in operation

2009-12-15 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-12-15 13:33 --- Is this a regression? If so please mark it so. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/41082] [4.5 Regression] FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3 -g with -m64

2009-12-15 Thread irar at il dot ibm dot com
--- Comment #16 from irar at il dot ibm dot com 2009-12-15 13:35 --- But in comment #5 you wrote that it passes with the print, right? So, this dump contains correct or incorrect code? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41082

[Bug tree-optimization/42375] trunk hangs during diffutils configure

2009-12-15 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-12-15 13:35 --- This is a bug in the test. Early inter-procedural SRA avoids passing array by reference in the recurse() function and instead passes the first element which is the only one read. Thus the function is optimized to

[Bug middle-end/42371] dead code not eliminated during folding with whole-program

2009-12-15 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-12-15 13:38 --- This is because we never re-compute the address-taken flag of functions. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/42326] segfault in tree-data-ref.c with Graphite building 200.sixtrack

2009-12-15 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-12-15 13:50 --- I can reproduce it with the testcase in comment #1 on i?86-linux: $ ./f951 -quiet t.f -O2 -floop-strip-mine -fprefetch-loop-arrays -msse2 t.f: In function 'blts': t.f:1:0: internal compiler error: Segmentation

[Bug tree-optimization/42326] [4.5 Regression] segfault in tree-data-ref.c with Graphite building 200.sixtrack

2009-12-15 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-12-15 13:51 --- Works for me with 4.4.2 on i?86-linux. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/42374] 23_containers/map/operators/1_neg.cc fails test for errors on darwin10

2009-12-15 Thread howarth at nitro dot med dot uc dot edu
--- Comment #3 from howarth at nitro dot med dot uc dot edu 2009-12-15 13:53 --- I am building with custom fink packaging for the gcc45 pre-releases. All the important build information should be in the specs output of the compiler. --

[Bug tree-optimization/42185] [4.5 Regression] [graphite] expected gimple_assign(error_mark), have gimple_call() in gimple_assign_rhs_code, at gimple.h:1820

2009-12-15 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-12-15 13:54 --- Still fails the same way for me. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/41082] [4.5 Regression] FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3 -g with -m64

2009-12-15 Thread dominiq at lps dot ens dot fr
--- Comment #17 from dominiq at lps dot ens dot fr 2009-12-15 14:15 --- But in comment #5 you wrote that it passes with the print, right? So, this dump contains correct or incorrect code? The dump for 4.5 is from the incorrect code. The behavior of this bug has change over time, it

[Bug target/42377] libstdc++.dll.a misses a definition of std::string::reserve

2009-12-15 Thread rainer at emrich-ebersheim dot de
--- Comment #2 from rainer at emrich-ebersheim dot de 2009-12-15 14:25 --- (In reply to comment #1) Hi Rainer, it'll take a little time but I'll set myself up a build environment and see if I can reproduce this. The libtool dependency libs stuff is a known problem in libtool

[Bug c++/41183] [4.4 Regression] ICE compiling chromium

2009-12-15 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2009-12-15 15:13 --- Subject: Bug 41183 Author: jakub Date: Tue Dec 15 15:13:08 2009 New Revision: 155254 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155254 Log: PR c++/41183 * cp-tree.h (current_class_ptr): Give

[Bug c++/42379] New: [4.5 Regression] Revision 155245 failed 1_neg.cc

2009-12-15 Thread hjl dot tools at gmail dot com
Revision 155245: http://gcc.gnu.org/ml/gcc-cvs/2009-12/msg00389.html caused: FAIL: 23_containers/map/operators/1_neg.cc (test for errors, line 212) FAIL: 23_containers/map/operators/1_neg.cc (test for errors, line 216) FAIL: 23_containers/map/operators/1_neg.cc (test for excess errors) FAIL:

[Bug c++/41183] [4.4 Regression] ICE compiling chromium

2009-12-15 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2009-12-15 15:15 --- Subject: Bug 41183 Author: jakub Date: Tue Dec 15 15:14:59 2009 New Revision: 155255 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155255 Log: PR c++/41183 * cp-tree.h (current_class_ptr): Give

[Bug target/42374] 23_containers/map/operators/1_neg.cc fails test for errors on darwin10

2009-12-15 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2009-12-15 15:16 --- See also http://gcc.gnu.org/ml/gcc-testresults/2009-12/msg01308.html for i686-pc-linux-gnu. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42374

[Bug tree-optimization/42185] [4.5 Regression] [graphite] expected gimple_assign(error_mark), have gimple_call() in gimple_assign_rhs_code, at gimple.h:1820

2009-12-15 Thread aldyh at gcc dot gnu dot org
--- Comment #4 from aldyh at gcc dot gnu dot org 2009-12-15 15:18 --- Subject: Bug 42185 Author: aldyh Date: Tue Dec 15 15:17:46 2009 New Revision: 155256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155256 Log: PR graphite/42185 * graphite-sese-to-poly.c

[Bug tree-optimization/42185] [4.5 Regression] [graphite] expected gimple_assign(error_mark), have gimple_call() in gimple_assign_rhs_code, at gimple.h:1820

2009-12-15 Thread aldyh at gcc dot gnu dot org
--- Comment #5 from aldyh at gcc dot gnu dot org 2009-12-15 15:18 --- That's because I hadn't committed. Tests pass. Committing and closing. -- aldyh at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/41146] FAIL: gcc.target/powerpc/asm-es-2.c scan-assembler *

2009-12-15 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2009-12-15 15:37 --- A patch has been posted to http://gcc.gnu.org/ml/gcc-patches/2009-12/msg00772.html . -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41146

[Bug c++/42379] [4.5 Regression] Revision 155245 failed 1_neg.cc

2009-12-15 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-12-15 15:42 --- *** Bug 42374 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/42374] 23_containers/map/operators/1_neg.cc fails test for errors on darwin10

2009-12-15 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-12-15 15:42 --- *** This bug has been marked as a duplicate of 42379 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/42379] [4.5 Regression] Revision 155245 failed 1_neg.cc

2009-12-15 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.5 Regression] Revision |[4.5 Regression] Revision |155245 failed 1_neg.cc

[Bug c++/42379] [4.5 Regression] Revision 155245 failed 1_neg.cc

2009-12-15 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-12-15 15:59 --- It's trivial, just one more candidates are which must be adjusted to candidate is in the dg-error strings. -- paolo dot carlini at oracle dot com changed: What|Removed

[Bug c++/42379] [4.5 Regression] Revision 155245 failed 1_neg.cc

2009-12-15 Thread paolo at gcc dot gnu dot org
--- Comment #3 from paolo at gcc dot gnu dot org 2009-12-15 16:11 --- Subject: Bug 42379 Author: paolo Date: Tue Dec 15 16:11:32 2009 New Revision: 155258 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155258 Log: 2009-12-15 Paolo Carlini paolo.carl...@oracle.com PR

[Bug c++/42379] [4.5 Regression] Revision 155245 failed 1_neg.cc

2009-12-15 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2009-12-15 16:12 --- Done. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/27425] [4.3/4.4/4.5 regression] ICE with invalid template-template-parameter

2009-12-15 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.5.0 |4.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27425

[Bug c++/34274] [4.3/4.4/4.5 regression] Broken diagnostic: 'template_template_parm' not supported by dump_decl

2009-12-15 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.5.0 |4.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34274

[Bug c++/33492] [4.3 regression] Broken diagnostic: 'must_not_throw_expr' not supported by dump_expr

2009-12-15 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to work||4.4.0 Summary|[4.2/4.3 regression] Broken |[4.3

[Bug debug/39412] [4.3 Regression] ICE in gen_tagged_type_instantiation_die

2009-12-15 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.2/4.3 Regression] ICE in |[4.3 Regression] ICE in

[Bug middle-end/40106] [4.4/4.5 Regression] Time increase for the Polyhedron test air.f90 due to bad optimization

2009-12-15 Thread rguenth at gcc dot gnu dot org
--- Comment #34 from rguenth at gcc dot gnu dot org 2009-12-15 16:40 --- 4.4 is also slow, we know what causes it so this can't be P1. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug debug/42380] New: CFI statements vs. -pg

2009-12-15 Thread tschwinge at gcc dot gnu dot org
See http://gcc.gnu.org/ml/gcc/2009-12/msg00183.html. To sum up: the question is whether the CFA needs to be adjusted after push {lr}, and before calling __gnu_mcount_nc. Currently it is not valid until __gnu_mcount_nc returns. -- Summary: CFI statements vs. -pg Product:

[Bug debug/42380] CFI statements vs. -pg

2009-12-15 Thread tschwinge at gcc dot gnu dot org
--- Comment #1 from tschwinge at gcc dot gnu dot org 2009-12-15 16:57 --- Richard Earnshaw wrote: I'm not sure what other architectures do in this case. Do they also put out adjustments to the cfi? I had a look at x86 and x86_64 -- they still need a frame pointer together with -pg,

[Bug libstdc++/24803] [c++0x] reference_wrapper and pointers to member functions

2009-12-15 Thread paolo dot carlini at oracle dot com
--- Comment #17 from paolo dot carlini at oracle dot com 2009-12-15 17:00 --- At the moment, not actively working on this... -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libstdc++/35942] Self Reference In Dynamic Linked Library builds for building Cross-Compiler

2009-12-15 Thread paolo dot carlini at oracle dot com
--- Comment #14 from paolo dot carlini at oracle dot com 2009-12-15 17:02 --- Is this still an issue? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35942

[Bug libstdc++/38923] symbol versioning disabled due to non-portable sed script

2009-12-15 Thread paolo dot carlini at oracle dot com
--- Comment #18 from paolo dot carlini at oracle dot com 2009-12-15 17:04 --- I'm closing this as fixed for 4.5.0. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libstdc++/34419] Weirdness with numeric_limits in special functions

2009-12-15 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2009-12-15 17:17 --- Ok, let's close this as invalid. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libstdc++/35968] nth_element fails to meet its complexity requirements

2009-12-15 Thread paolo dot carlini at oracle dot com
--- Comment #8 from paolo dot carlini at oracle dot com 2009-12-15 17:19 --- Roger, are you still actively working on this? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35968

  1   2   >