[Bug c++/42391] New: ICE on empty initializer lists

2009-12-16 Thread tneumann at users dot sourceforge dot net
Compiling the following program with g++ -std=c++0x results in an ICE: #include vector int main() { return (std::vectorint{}.size()); } -- Summary: ICE on empty initializer lists Product: gcc Version: 4.4.1 Status: UNCONFIRMED

[Bug lto/42392] New: ICE when combining LTO with asm()

2009-12-16 Thread rmh at gcc dot gnu dot org
I got this error when trying to compile GRUB (latest bzr) on amd64 with -flto: lto1: internal compiler error: compressed stream: buffer error The culprit was an acinclude check, which can be reduced to the following test case: asm (.globl start; start: nop); int main () { } I'm not sure this

[Bug lto/42392] [LTO] ICE with top level asm

2009-12-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-12-16 08:38 --- top level asm is valid GNU C code. -- pinskia 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-16 Thread dominiq at lps dot ens dot fr
--- Comment #19 from dominiq at lps dot ens dot fr 2009-12-16 09:22 --- Created an attachment (id=19320) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19320action=view) assembly and dump files for r149941 and r149942 Compressed archive with the assembly (with -m64 -O3) and the

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

2009-12-16 Thread dominiq at lps dot ens dot fr
--- Comment #20 from dominiq at lps dot ens dot fr 2009-12-16 09:27 --- The regression reported in comment #0 is due to revision 149942: Author: matz Date: Wed Jul 22 15:30:50 2009 UTC (4 months, 3 weeks ago) Changed paths: 4 Log Message: PR tree-optimization/35229

[Bug c++/42387] [4.4 / 4.5 Regression] ICE with new expression in class template

2009-12-16 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added CC||jason at gcc dot gnu dot org Target Milestone|---

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

2009-12-16 Thread paolo dot carlini at oracle dot com
--- Comment #9 from paolo dot carlini at oracle dot com 2009-12-16 09:51 --- By invalid I meant that I had the time to go through Comment #3 again and found after all safe enough what we have now. Let's delay any tweaks, which can cause unexpected regressions on exotic targets, to

[Bug c++/42391] ICE on empty initializer lists

2009-12-16 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-12-16 09:55 --- Already fixed in 4_4-branch and mainline. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

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

2009-12-16 Thread tschwinge at gcc dot gnu dot org
--- Comment #2 from tschwinge at gcc dot gnu dot org 2009-12-16 09:58 --- As a tiny, years-old pointer: in http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01006.html, Daniel J. suggested that ``appropriate dwarf2 frame gunk'' should be added. -- tschwinge at gcc dot gnu dot org

[Bug c++/42387] [4.4 / 4.5 Regression] ICE with new expression in class template

2009-12-16 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-12-16 10:10 --- Caused by PR28879 fix: http://gcc.gnu.org/viewcvs?root=gccview=revrev=144988 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42387

[Bug libstdc++/21772] exception safety testing

2009-12-16 Thread paolo dot carlini at oracle dot com
--- Comment #12 from paolo dot carlini at oracle dot com 2009-12-16 10:14 --- (In reply to comment #10) Results on x86_64/linux or x86_64/darwin10.2 Status: FAIL: 23_containers/array/requirements/exception/generation_prohibited.cc execution test

[Bug tree-optimization/42027] [4.5 Regression] Performance regression in convolution loop optimization

2009-12-16 Thread nbenoit at tuxfamily dot org
.ident GCC: (GNU) 4.4.2 --- .ident GCC: (GNU) 4.5.0 20091216 (experimental) -- nbenoit at tuxfamily dot org changed: What|Removed |Added Status|RESOLVED

[Bug c++/42387] [4.4 / 4.5 Regression] ICE with new expression in class template

2009-12-16 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2009-12-16 10:44 --- This exact spot of ICE can be fixed with e.g.: --- init.c.jj 2009-12-02 09:37:36.0 +0100 +++ init.c 2009-12-16 11:32:52.0 +0100 @@ -2386,7 +2386,16 @@ build_new (VEC(tree,gc) **placement, tre /* The

[Bug libstdc++/42381] deque shouldn't reserve that much memory

2009-12-16 Thread kraemer at informatik dot uni-kl dot de
--- Comment #5 from kraemer at informatik dot uni-kl dot de 2009-12-16 10:50 --- thanks a lot. in our scenario it showed 8 buckets to be the best. but this may vary by usage. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42381

[Bug middle-end/42393] New: [4.5 Regression] [graphite] internal compiler error: in check_loop_closed_ssa_use

2009-12-16 Thread jv244 at cam dot ac dot uk
/ --enable-gold --enable-lto --enable-plugins Thread model: posix gcc version 4.5.0 20091216 (experimental) [trunk revision 155286] (GCC) COLLECT_GCC_OPTIONS='-v' '-c' '-fgraphite-identity' '-O2' '-mtune=generic' /data03/vondele/gcc_trunk/build/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/f951 bug.f90

[Bug middle-end/42393] [4.5 Regression] [graphite] internal compiler error: in check_loop_closed_ssa_use

2009-12-16 Thread jv244 at cam dot ac dot uk
-- jv244 at cam dot ac dot uk changed: What|Removed |Added CC||spop at gcc dot gnu dot org Target Milestone|---

[Bug tree-optimization/42027] [4.5 Regression] Performance regression in convolution loop optimization

2009-12-16 Thread nbenoit at tuxfamily dot org
--- Comment #9 from nbenoit at tuxfamily dot org 2009-12-16 11:06 --- Here is a unified diff which focuses on the inner-loop exit conditions. --- 442/convol.s +++ r155286/convol.s .L3: movl(%edx), %ebx - imull (%esi,%eax,4), %ebx + imull H(,%eax,4), %ebx

[Bug bootstrap/42093] [4.5 regression] bootstrap hangs in stage2 run of build/gengtype

2009-12-16 Thread ramana at gcc dot gnu dot org
--- Comment #4 from ramana at gcc dot gnu dot org 2009-12-16 11:11 --- (In reply to comment #3) Comment #3 has a couple of incorrect statements about this being a problem with the system compiler - It's actually a 4.5 problem because the object files used in build/genmddeps are

[Bug middle-end/42372] [4.5 regression] Regrename reuses non-dead register

2009-12-16 Thread rearnsha at gcc dot gnu dot org
--- Comment #5 from rearnsha at gcc dot gnu dot org 2009-12-16 11:11 --- Regrename seems to be starting the scan of bb3 (from the reduced testcase) from somewhere in the middle of the block rather than at the beginning (it's missing at least 2 insns in the reg chain information: Basic

[Bug libstdc++/21772] exception safety testing

2009-12-16 Thread jwakely dot gcc at gmail dot com
--- Comment #13 from jwakely dot gcc at gmail dot com 2009-12-16 11:14 --- (In reply to comment #12) Some are really puzzling... Hard to believe something is wrong in array, for example. I haven't looked into it, but the problem in array could be bug 41449 --

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

2009-12-16 Thread irar at il dot ibm dot com
--- Comment #21 from irar at il dot ibm dot com 2009-12-16 12:01 --- Thanks. I'll be able to look at this only on Sunday due to holidays. Ira -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41082

[Bug c/42384] attribute((warning())) should warn on function addresses

2009-12-16 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42384

[Bug rtl-optimization/42388] [4.5 Regression] ICE in move_bb_info with sel-sched and modulo-sched for 176.gcc

2009-12-16 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|ICE in move_bb_info with|[4.5

[Bug tree-optimization/42386] [4.5 Regression] ICE in ipcp_iterate_stage, at ipa-cp.c:766

2009-12-16 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-12-16 12:22 --- Confirmed. # 1 CodingSystem.h 1 #pragma interface # 1 types.h 1 # 15 CodingSystem.h 1 class Decoder { unsigned minBytesPerChar() const; }; class Encoder { class Handler { }; }; class InputCodingSystem { virtual

[Bug tree-optimization/42027] [4.5 Regression] Performance regression in convolution loop optimization

2009-12-16 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2009-12-16 12:24 --- Which is the good version, the one with less or the one with more branches? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42027

[Bug tree-optimization/42027] [4.5 Regression] Performance regression in convolution loop optimization

2009-12-16 Thread nbenoit at tuxfamily dot org
--- Comment #11 from nbenoit at tuxfamily dot org 2009-12-16 12:53 --- The fastest is the variant with more jumps (442/convol.s in the diff) generated by GCC-4.4.2. In the one jump variant (r155286/convol.s in the diff), I guess it is the computing of both conditions before jumping

[Bug tree-optimization/42027] [4.5 Regression] Performance regression in convolution loop optimization

2009-12-16 Thread nbenoit at tuxfamily dot org
--- Comment #12 from nbenoit at tuxfamily dot org 2009-12-16 12:55 --- Created an attachment (id=19321) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19321action=view) Diff of the RTL expand dump between revisions 151079 and 151080 --

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

2009-12-16 Thread drow at gcc dot gnu dot org
--- Comment #3 from drow at gcc dot gnu dot org 2009-12-16 13:15 --- The CFA also needs to be adjusted after __gnu_mcount_nc returns; __gnu_mcount_nc is a pop instruction from the point-of-view of the caller. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42380

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

2009-12-16 Thread jakub at gcc dot gnu dot org
--- Comment #100 from jakub at gcc dot gnu dot org 2009-12-16 13:27 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/42392] [LTO] ICE with top level asm

2009-12-16 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-12-16 13:43 --- The issue here is that the asm doesn't switch sections properly and we emit LTO sections before the actual assembly. So we end up with ... .section.gnu.lto_.opts,,@progbits .string

[Bug tree-optimization/42139] Compiling firefox trunk with 4.5 fails with 'out of memory allocating 4072 bytes after a total of xxx bytes'

2009-12-16 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2009-12-16 13:52 --- But the actual OOM comes while optimizing xml_setchildren, from an obstack allocation in bitmap_element_allocate during compute_may_aliases after running the alias pass. dump_memory_report says 1452M allocated from

[Bug testsuite/40459] g++.dg/abi/mangle*.C fail on darwin

2009-12-16 Thread howarth at nitro dot med dot uc dot edu
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2009-12-16 13:58 --- Any suggestions on how we can debug this issue further on darwin? Would this bug indicate that we are missing some section of a previous patch addressing mangling for the darwin target? --

[Bug testsuite/40459] g++.dg/abi/mangle*.C fail on darwin

2009-12-16 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2009-12-16 14:11 --- It seems like you're getting the right warning message, just on a different line than expected. I guess Rafael's checkin changed when the warning is emitted on targets that support COMDAT groups, but not on other

[Bug c++/42387] [4.4/4.5 Regression] ICE with new expression in class template

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

[Bug tree-optimization/42027] [4.5 Regression] Performance regression in convolution loop optimization

2009-12-16 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2009-12-16 14:14 --- It's indeed expand that makes the difference when expanding ;; if (k = 511 k = j != 0) probably due to the way TER works now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42027

[Bug testsuite/40459] g++.dg/abi/mangle*.C fail on darwin

2009-12-16 Thread howarth at nitro dot med dot uc dot edu
--- Comment #7 from howarth at nitro dot med dot uc dot edu 2009-12-16 14:32 --- Shouldn't darwin have support for comdat? This patch, which went into FSF gcc ages ago, suggests so... http://gcc.gnu.org/ml/gcc/2004-01/msg02186.html --

[Bug tree-optimization/42386] [4.5 Regression] ICE in ipcp_iterate_stage, at ipa-cp.c:766

2009-12-16 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2009-12-16 14:43 --- It is caused by revision 155143: http://gcc.gnu.org/ml/gcc-cvs/2009-12/msg00287.html -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug libstdc++/42198] [C++0x] Using std::thread without -pthread causes immediate crash

2009-12-16 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-12-16 16:01 --- For now I would suggest we do something like this and deal with better solutions as enhancements. What do you think Jon? Index: thread.cc ===

[Bug libstdc++/40497] [C++0x] troubles with std::next / std::prev declarations

2009-12-16 Thread paolo dot carlini at oracle dot com
--- Comment #22 from paolo dot carlini at oracle dot com 2009-12-16 16:15 --- Jon, what's your opinion about this one, now that concepts are gone? Frankly, I don't think we can do much to avoid this type of problem. -- paolo dot carlini at oracle dot com changed: What

[Bug libstdc++/40974] cannot build gcc-4.4.1: fenv_t has not been declared

2009-12-16 Thread paolo dot carlini at oracle dot com
--- Comment #14 from paolo dot carlini at oracle dot com 2009-12-16 16:17 --- Paolo, Ralf, I'd like to resolve this one for 4.5.0. Any idea? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974

[Bug tree-optimization/42386] [4.5 Regression] ICE in ipcp_iterate_stage, at ipa-cp.c:766

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

[Bug tree-optimization/42386] [4.5 Regression] ICE in ipcp_iterate_stage, at ipa-cp.c:766

2009-12-16 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-12-16 16:40 --- Both the base and deleting dtor in this case are !DECL_COMDAT, DECL_COMDAT_GROUP != NULL, DECL_EXTERNAL. But they are emitted anyway, despite the DECL_EXTERNAL, as the base dtor is needed. --

[Bug tree-optimization/42386] [4.5 Regression] ICE in ipcp_iterate_stage, at ipa-cp.c:766

2009-12-16 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2009-12-16 17:04 --- Actually they aren't emitted, they are really just external. And they are supposed to be external. I guess we shouldn't optimize known external ctors or dtors. The question then is whether for the DECL_DEFER_OUTPUT

[Bug c++/42370] [C++0x][lambda] in a void function: Warning: control reaches end of non-void function

2009-12-16 Thread rodrigorivascosta at gmail dot com
--- Comment #3 from rodrigorivascosta at gmail dot com 2009-12-16 17:05 --- If the lambda line is changed from: [] { return 0; }; into any of the following: [=] { return 0; }; [] { return 0; }; int foo = 0; [foo] { return 0; }; The warnings disappear. --

[Bug tree-optimization/42386] [4.5 Regression] ICE in ipcp_iterate_stage, at ipa-cp.c:766

2009-12-16 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2009-12-16 17:20 --- Created an attachment (id=19322) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19322action=view) gcc45-pr42386.patch Fix for this testcase. If we already at maybe_clone_body time know that the ctor or dtor will

[Bug rtl-optimization/29854] reload_combine looses track of uses

2009-12-16 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2009-12-16 17:27 --- A test case is still required. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/40974] cannot build gcc-4.4.1: fenv_t has not been declared

2009-12-16 Thread bonzini at gnu dot org
--- Comment #15 from bonzini at gnu dot org 2009-12-16 17:30 --- Well, the solution could be disable PCH by default. :-) Is anybody using it?... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974

[Bug tree-optimization/42386] [4.5 Regression] ICE in ipcp_iterate_stage, at ipa-cp.c:766

2009-12-16 Thread hjl dot tools at gmail dot com
--- Comment #7 from hjl dot tools at gmail dot com 2009-12-16 17:30 --- (In reply to comment #6) Created an attachment (id=19322) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19322action=view) [edit] gcc45-pr42386.patch Fix for this testcase. If we already at

[Bug tree-optimization/42386] [4.5 Regression] ICE in ipcp_iterate_stage, at ipa-cp.c:766

2009-12-16 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2009-12-16 17:31 --- Created an attachment (id=19323) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19323action=view) gcc45-pr42386.patch Another alternative - don't mark nodes as reachable because of same_comdat_group links if they

[Bug tree-optimization/42386] [4.5 Regression] ICE in ipcp_iterate_stage, at ipa-cp.c:766

2009-12-16 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2009-12-16 17:33 --- Re: #c7, those 2 lines aren't needed, the other two # lines are needed as is #pragma interface. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42386

[Bug c++/42387] [4.4/4.5 Regression] ICE with new expression in class template

2009-12-16 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2009-12-16 17:36 --- Subject: Bug 42387 Author: jason Date: Wed Dec 16 17:36:05 2009 New Revision: 155292 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155292 Log: PR c++/42387 * decl.c (compute_array_index_type):

[Bug fortran/42361] [Meta-bug] Serious Fortran bugs

2009-12-16 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2009-12-16 17:41 --- If they are serious, we should confirm this bug :-) -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/42387] [4.4/4.5 Regression] ICE with new expression in class template

2009-12-16 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2009-12-16 18:02 --- Subject: Bug 42387 Author: jason Date: Wed Dec 16 18:02:38 2009 New Revision: 155293 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155293 Log: PR c++/42387 * decl.c (compute_array_index_type):

[Bug c++/42387] [4.4/4.5 Regression] ICE with new expression in class template

2009-12-16 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2009-12-16 18:03 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/21786] Segmentation fault under FreeBSD 5.3-RELEASE-p15

2009-12-16 Thread kargl at gcc dot gnu dot org
--- Comment #6 from kargl at gcc dot gnu dot org 2009-12-16 18:31 --- (In reply to comment #5) FreeBSD upstream now switched to GCC 4.2.1 to rebuild the whole system, so this problem was solved there. Since GCC 3.4.x is no longer maintained by the GCC developers (GCC 4.0.x being

[Bug target/30199] config/freebsd.h does not define HANDLE_PRAGMA_PACK_PUSH_POP

2009-12-16 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2009-12-16 18:38 --- gerald added the #define to gcc/config/freebsd.h in revision 140650. troutmask:sgk[208] svn log -r 140650 freebsd.h |more r140650 | gerald |

[Bug target/37246] Updated spec for freebsd7.0

2009-12-16 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2009-12-16 18:53 --- I followed the discussion pointed to by the URL in comment #3, but I could not find if the final version of the patch has been accepted or rejected. Is this PR still relevant or should it be closed? --

[Bug middle-end/39193] Internal compiler error during FreeBSD 7.1 kernel compilation

2009-12-16 Thread kargl at gcc dot gnu dot org
--- Comment #10 from kargl at gcc dot gnu dot org 2009-12-16 19:00 --- (In reply to comment #9) Created an attachment (id=17302) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17302action=view) [edit] Proprocessed source of the error Yes, should have thought to do that before.

[Bug libstdc++/40974] cannot build gcc-4.4.1: fenv_t has not been declared

2009-12-16 Thread paolo dot carlini at oracle dot com
--- Comment #16 from paolo dot carlini at oracle dot com 2009-12-16 19:15 --- Well, for sure the testsuite runs much faster. Anyway, if we can't really figure out a proper fix, maybe we can disable PCHs when we are building cross-compilers. --

[Bug tree-optimization/42386] [4.5 Regression] ICE in ipcp_iterate_stage, at ipa-cp.c:766

2009-12-16 Thread jason at gcc dot gnu dot org
--- Comment #10 from jason at gcc dot gnu dot org 2009-12-16 19:32 --- The second patch seems better. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42386

[Bug c++/42394] New: pure virtual method called when compiling with -fno-strict-aliasing -O

2009-12-16 Thread Troy dot Runkel at mathworks dot com
The attached test case should produce no output when executed. However, when compiled with the following command-line arguments... g++ pure_virtual_function_test.cpp -fno-strict-aliasing -O -o fail_test the test case produces the following output... pure virtual method called terminate called

[Bug c++/42394] pure virtual method called when compiling with -fno-strict-aliasing -O

2009-12-16 Thread Troy dot Runkel at mathworks dot com
--- Comment #1 from Troy dot Runkel at mathworks dot com 2009-12-16 19:52 --- Created an attachment (id=19324) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19324action=view) Original test case code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42394

[Bug c++/42394] pure virtual method called when compiling with -fno-strict-aliasing -O

2009-12-16 Thread Troy dot Runkel at mathworks dot com
--- Comment #2 from Troy dot Runkel at mathworks dot com 2009-12-16 19:53 --- Created an attachment (id=19325) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19325action=view) Pre-processed test case code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42394

[Bug c++/42394] pure virtual method called when compiling with -fno-strict-aliasing -O

2009-12-16 Thread Troy dot Runkel at mathworks dot com
--- Comment #3 from Troy dot Runkel at mathworks dot com 2009-12-16 19:54 --- Created an attachment (id=19326) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19326action=view) Makefile for building passing/failing versions of test case. --

[Bug middle-end/42372] [4.5 regression] Regrename reuses non-dead register

2009-12-16 Thread bernds_cb1 at t-online dot de
--- Comment #6 from bernds_cb1 at t-online dot de 2009-12-16 19:57 --- I'm having a hard time reproducing this. How do you folks configure your compilers? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42372

[Bug c++/42394] pure virtual method called when compiling with -fno-strict-aliasing -O

2009-12-16 Thread Troy dot Runkel at mathworks dot com
--- Comment #4 from Troy dot Runkel at mathworks dot com 2009-12-16 19:59 --- Created an attachment (id=19327) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19327action=view) Assembly fragment with comments. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42394

[Bug c++/42394] pure virtual method called when compiling with -fno-strict-aliasing -O

2009-12-16 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2009-12-16 20:02 --- Interesting. I can't reproduce it in mainline, only with 4.4.x and 4.3.x. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42394

[Bug middle-end/42394] [4.3/4.4 Regression] pure virtual method called when compiling with -O

2009-12-16 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-12-16 20:16 --- I think there's a dup somewhere. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/42394] [4.3/4.4 Regression] pure virtual method called when compiling with -O

2009-12-16 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-12-16 20:18 --- PR39509. *** This bug has been marked as a duplicate of 39509 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/39509] [4.3/4.4/4.5 Regression] bad optimization(?) pure virtual function call with -O2

2009-12-16 Thread rguenth at gcc dot gnu dot org
--- Comment #18 from rguenth at gcc dot gnu dot org 2009-12-16 20:18 --- *** Bug 42394 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/39509] [4.3/4.4/4.5 Regression] bad optimization(?) pure virtual function call with -O2

2009-12-16 Thread rguenth at gcc dot gnu dot org
--- Comment #19 from rguenth at gcc dot gnu dot org 2009-12-16 20:19 --- PR42394 has a smaller testcase (but it doesn't fail with trunk). It works with -fno-tree-sink. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39509

[Bug testsuite/40459] g++.dg/abi/mangle*.C fail on darwin

2009-12-16 Thread howarth at nitro dot med dot uc dot edu
--- Comment #8 from howarth at nitro dot med dot uc dot edu 2009-12-16 20:29 --- What's up with the instantiation portions of the warning messages in darwin? On Fedora 10, gcc trunk shows... ~/dist/bin/g++ mangle11.C -nostdinc++ -fmessage-length=0 -Wabi -fabi-version=1 -S -o

[Bug tree-optimization/39604] [4.3/4.4/4.5 Regression] tree-ssa-sink breaks stack layout

2009-12-16 Thread rguenth at gcc dot gnu dot org
--- Comment #21 from rguenth at gcc dot gnu dot org 2009-12-16 20:53 --- In a discussion we decided that introducing a __builtin_undefined () that we can assign to variables at the point they die would be the proper way to fix this. --

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

2009-12-16 Thread jamborm at gcc dot gnu dot org
--- Comment #9 from jamborm at gcc dot gnu dot org 2009-12-16 20:58 --- I'm now officially on vacation so I did not double check but... (In reply to comment #8) I think /* Put the integral type with the bigger precision first. */ else if (INTEGRAL_TYPE_P (f1-type)

[Bug debug/42395] New: error: definition in block 12 does not dominate use in block 19 with -O3 -g

2009-12-16 Thread zsojka at seznam dot cz
Command line: gcc -O3 -g testcase.c Tested revisions: trunk r155256 - crash trunk r154886 - crash (OK without checking) trunk r154830 - crash trunk r153685 - OK 4.4 r154975 - OK (with checking) Output: $ /mnt/svn/gcc-trunk/binary-155256-lto/bin/gcc -O3 -g testcase.c testcase.c: In function

[Bug debug/42395] error: definition in block 12 does not dominate use in block 19 with -O3 -g

2009-12-16 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2009-12-16 21:03 --- Created an attachment (id=19328) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19328action=view) reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42395

[Bug fortran/42353] [OOP] Bogus Error: Name 'vtype$...' at (1) is an ambiguous reference ...

2009-12-16 Thread anlauf at gmx dot de
--- Comment #5 from anlauf at gmx dot de 2009-12-16 21:16 --- (In reply to comment #3) One can get rid of this by making the vtypes private: Index: gcc/fortran/symbol.c === --- gcc/fortran/symbol.c(revision

[Bug debug/42395] [4.5 Regression] error: definition in block 12 does not dominate use in block 19 with -O3 -g

2009-12-16 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||aoliva at gcc dot gnu dot |

[Bug middle-end/42372] [4.5 regression] Regrename reuses non-dead register

2009-12-16 Thread mikpe at it dot uu dot se
--- Comment #7 from mikpe at it dot uu dot se 2009-12-16 21:27 --- I've done a binary search which identified 154688 as the revision which caused the problem to appear. To answer Bernd's question, I used an arm cross configured with: --target=armv5tel-unknown-linux-gnueabi

[Bug middle-end/42372] [4.5 Regression] Regrename reuses non-dead register

2009-12-16 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.5 regression] Regrename |[4.5 Regression] Regrename |reuses non-dead

[Bug rtl-optimization/39453] ICE : in init_seqno, at sel-sched.c:6433

2009-12-16 Thread zsojka at seznam dot cz
--- Comment #4 from zsojka at seznam dot cz 2009-12-16 21:41 --- Created an attachment (id=19329) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19329action=view) different testcase, in C, reduced Crashes in trunk r155248 and 4.4 r154975 with the following command line: gcc -O2

[Bug libstdc++/40974] cannot build gcc-4.4.1: fenv_t has not been declared

2009-12-16 Thread rwild at gcc dot gnu dot org
--- Comment #17 from rwild at gcc dot gnu dot org 2009-12-16 21:51 --- Armand, to expand on comment #13, could you post the exact command and error message you're getting, as the original poster did? Both of you, could you cd to the directory where the failure occurs, remove the -o ARG

[Bug target/42295] ICE: 'error: unable to find a register to spill in class AREG' with -fschedule-insns

2009-12-16 Thread zsojka at seznam dot cz
--- Comment #4 from zsojka at seznam dot cz 2009-12-16 22:01 --- Created an attachment (id=19330) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19330action=view) simplified testcase (testcase from comment#3 turned out to be a dup of pr39453) -- zsojka at seznam dot cz changed:

[Bug testsuite/40459] g++.dg/abi/mangle*.C fail on darwin

2009-12-16 Thread howarth at nitro dot med dot uc dot edu
--- Comment #9 from howarth at nitro dot med dot uc dot edu 2009-12-16 22:19 --- So I assume darwin is the only target that uses 'a poor man's comdat group' rather than a real one? I don't see any other targets failing these tests. --

[Bug target/41279] [4.5 Regression] 252.eon performance regression

2009-12-16 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2009-12-16 22:48 --- Seems to be fixed now. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/35876] Exceptions not working on FreeBSD

2009-12-16 Thread kargl at gcc dot gnu dot org
] ./exception Caught an exception String troutmask:sgk[227] ~/work/44/bin/g++ -fexceptions -Wall -o exception a.cc troutmask:sgk[228] ./exception Caught an exception String The versions I tested are gcc version 4.4.3 20091216 (prerelease) (GCC) gcc version 4.3.5 20091216 (prerelease) (GCC) on x86_64

[Bug debug/42396] New: ICE: in dwarf2out_frame_debug_adjust_cfa, at dwarf2out.c:1859

2009-12-16 Thread zsojka at seznam dot cz
Command line: gcc -m32 -O2 -g -ftracer -fsched2-use-superblocks testcase.c (x86 binary doesn't need -m32, crashes as well) Tested versions: trunk r155256 - crash trunk r155121 - crash (x86) trunk r154886 - crash (both with and without checking) trunk r153685 - crash 4.4 r154975 - OK (with

[Bug debug/42396] ICE: in dwarf2out_frame_debug_adjust_cfa, at dwarf2out.c:1859

2009-12-16 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2009-12-16 23:01 --- Created an attachment (id=19331) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19331action=view) reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42396

[Bug lto/42392] [LTO] ICE with top level asm

2009-12-16 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-12-16 23:07 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug lto/42392] [LTO] ICE with top level asm

2009-12-16 Thread rguenth at gcc dot gnu dot org
lto/42392 * langhooks.c (lhd_begin_section): Make sure to switch back to the text section, not some random one. * gcc.dg/lto/20091216-1_0.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/lto/20091216-1_0.c Modified: trunk/gcc/ChangeLog trunk/gcc/langhooks.c

[Bug middle-end/42372] [4.5 Regression] Regrename reuses non-dead register

2009-12-16 Thread bernds_cb1 at t-online dot de
--- Comment #8 from bernds_cb1 at t-online dot de 2009-12-16 23:17 --- This seems to be a bug in arm.md. Operand 0 in tls_load_dot_plus_eight is marked in-out, but there's no matching match_dup to show the input. Adding that to the unspec seems to make the problem go away. Richard

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

2009-12-16 Thread matz at gcc dot gnu dot org
--- Comment #22 from matz at gcc dot gnu dot org 2009-12-16 23:36 --- My patch only enables more vectorization. This seems to uncover a problem in the vectorizer (which I haven't yet looked at). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41082

[Bug tree-optimization/42027] [4.5 Regression] Performance regression in convolution loop optimization

2009-12-16 Thread matz at gcc dot gnu dot org
--- Comment #14 from matz at gcc dot gnu dot org 2009-12-16 23:43 --- That's exactly what I fixed with my last patch. If this still results in a difference it's caused by difference in cheapness of branches. I'll poke at it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42027

[Bug fortran/42397] New: FAIL: gfortran.dg/lto/20091028-2 f_lto_20091028-2_0.o-f_lto_20091028-2_1.o link, internal compiler error

2009-12-16 Thread danglin at gcc dot gnu dot org
Executing on host: /home/dave/gnu/gcc-4.5/objdir/gcc/testsuite/gfortran/../../gfortran -B/home/dave/gnu/gcc-4.5/objdir/gcc/testsuite/gfortran/../../ f_lto_20091028-2_0.o f_lto_20091028-2_1.o -O2 -fwhopr -r -nostdlib -finline-functions

[Bug tree-optimization/42027] [4.5 Regression] Performance regression in convolution loop optimization

2009-12-16 Thread matz at gcc dot gnu dot org
--- Comment #15 from matz at gcc dot gnu dot org 2009-12-17 00:27 --- Hmm, no, it's still my fault. Something must have gone wrong with my brain when I thought the bug was fixed, no idea how that happened. The patch wasn't complete. -- matz at gcc dot gnu dot org changed:

[Bug fortran/42397] FAIL: gfortran.dg/lto/20091028-2 f_lto_20091028-2_0.o-f_lto_20091028-2_1.o link, internal compiler error

2009-12-16 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-12-17 00:45 --- Can you provide a backtrace? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42397

[Bug fortran/42397] FAIL: gfortran.dg/lto/20091028-2 f_lto_20091028-2_0.o-f_lto_20091028-2_1.o link, internal compiler error

2009-12-16 Thread danglin at gcc dot gnu dot org
--- Comment #2 from danglin at gcc dot gnu dot org 2009-12-17 01:14 --- #0 $$divoI () at ../../../gcc/libgcc/../gcc/config/pa/milli64.S:435 #1 0x00596158 in gen_movmemsi (operand0=0x4007d480, operand1=0x4007d490, operand2=0x40013220, operand3=0x40013200) at

[Bug tree-optimization/42027] [4.5 Regression] Performance regression in convolution loop optimization

2009-12-16 Thread matz at gcc dot gnu dot org
--- Comment #16 from matz at gcc dot gnu dot org 2009-12-17 01:42 --- Created an attachment (id=19332) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19332action=view) Real fix Now, before I blow it again, would you be so kind to test this patch (on top of some recent trunk,

[Bug fortran/42397] FAIL: gfortran.dg/lto/20091028-2 f_lto_20091028-2_0.o-f_lto_20091028-2_1.o link, internal compiler error

2009-12-16 Thread danglin at gcc dot gnu dot org
--- Comment #3 from danglin at gcc dot gnu dot org 2009-12-17 01:57 --- The problem is here: 0x00163a80 in emit_block_move_via_movmem (x=value optimized out, y=value optimized out, size=0x40013220, method=BLOCK_OP_NORMAL, expected_align=value optimized out,

[Bug fortran/42397] FAIL: gfortran.dg/lto/20091028-2 f_lto_20091028-2_0.o-f_lto_20091028-2_1.o link, internal compiler error

2009-12-16 Thread danglin at gcc dot gnu dot org
--- Comment #4 from danglin at gcc dot gnu dot org 2009-12-17 02:12 --- (gdb) p debug_rtx (x) (mem/c/i:BLK (reg/f:SI 109) [0 C.1197+0]) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42397

  1   2   >