[Bug fortran/52531] [OOP] Compilation fails with polymorphic dummy argument and OpenMP

2012-06-09 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52531 --- Comment #5 from janus at gcc dot gnu.org 2012-06-09 09:34:53 UTC --- Note: Apart from the two workarounds mentioned in the test case, there is one other possibility to make it work, namely to make 'bar' also polymorphic (like the dummy 'var'),

[Bug c++/53611] class with hidden visibility cause function returns pointer to class also be hidden

2012-06-09 Thread kirbyz...@sogou-inc.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53611 --- Comment #3 from Kirby Zhou 2012-06-09 09:43:09 UTC --- If "myopen" returns "__cook", I will agree with you. But "myopen" returns "__cook *", just a pointer. I do not think it is reasonable to hide "myopen". It is a usual method to hide the im

[Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc

2012-06-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53270 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |4.6.4

[Bug c++/53619] New: [c++11, regression] wrong capture of "this" in lambda in case of polymorphism

2012-06-09 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53619 Bug #: 53619 Summary: [c++11, regression] wrong capture of "this" in lambda in case of polymorphism Classification: Unclassified Product: gcc Version: 4.8.0 Status: U

[Bug c++/53619] [c++11, regression] wrong capture of "this" in lambda in case of polymorphism

2012-06-09 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53619 --- Comment #1 from vincenzo Innocente 2012-06-09 16:16:32 UTC --- reduced a bit showing how the offset is wrongly computed struct CA { int x; }; struct B { virtual ~B(){} }; struct A : public B , CA { int foo(int); }; int A::foo(int l

[Bug c++/53602] [4.7/4.8 Regression] Libre Office causes an internal compiler error

2012-06-09 Thread rth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53602 --- Comment #13 from Richard Henderson 2012-06-09 16:27:59 UTC --- Author: rth Date: Sat Jun 9 16:27:52 2012 New Revision: 188360 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188360 Log: PR c++/53602 * cfgcleanup.c (execute_jum

[Bug c++/53570] Unused symbols are not removed for fully static targets (avr-gcc)

2012-06-09 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53570 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/53619] [c++11, regression] wrong capture of "this" in lambda in case of multiple inheritance

2012-06-09 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53619 --- Comment #2 from vincenzo Innocente 2012-06-09 17:04:10 UTC --- an even simpler test cat lambda_this2.cpp #include struct C { int x; }; struct B { int q; }; struct A : public B , C { void foo(); }; void A::foo() { auto k = [this](

[Bug c++/53620] New: Compiler segfaults when compiling Digikam

2012-06-09 Thread rohangarg at ubuntu dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53620 Bug #: 53620 Summary: Compiler segfaults when compiling Digikam Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority

[Bug c++/53620] Compiler segfaults when compiling Digikam

2012-06-09 Thread rohangarg at ubuntu dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53620 --- Comment #1 from Rohan Garg 2012-06-09 18:59:47 UTC --- Seems like my files are too large to be attached, hence you can find them here http://people.ubuntu.com/~rohangarg/gcc/

[Bug tree-optimization/51938] missed optimization: 2 comparisons

2012-06-09 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51938 Marc Glisse changed: What|Removed |Added Attachment #27591|0 |1 is obsolete|

[Bug rtl-optimization/32629] missing CSE for constant in registers / inefficient memset

2012-06-09 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32629 --- Comment #2 from Jan Hubicka 2012-06-09 22:17:07 UTC --- > I suppose doing the $0x0 optimization should be done post-reload. I was wondering how to implement this nice for some years already I don't see how this can be done without special

[Bug c++/53619] [c++11, regression] wrong capture of "this" in lambda in case of multiple inheritance

2012-06-09 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53619 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2012-06-09 Thread b.w.barker at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40850 --- Comment #18 from Brent W. Barker 2012-06-09 22:48:47 UTC --- > > I found that the following nested deallocation program still fails in > > 4.6.3.> > > I can confirm that it fails with 4.6.3. However, it works for me with 4.7.0 > and 4.8 tr

[Bug target/53621] New: [SH] Frame pointers not generated with -fno-omit-frame-pointer on GCC 4.7.0

2012-06-09 Thread bluecrab2887 at netscape dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53621 Bug #: 53621 Summary: [SH] Frame pointers not generated with -fno-omit-frame-pointer on GCC 4.7.0 Classification: Unclassified Product: gcc Version: unknown Status: U

[Bug libstdc++/53622] New: C++11 regex captures extra characters

2012-06-09 Thread whatmannerofburgeristhis at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53622 Bug #: 53622 Summary: C++11 regex captures extra characters Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libstdc++/53622] C++11 regex captures extra characters

2012-06-09 Thread whatmannerofburgeristhis at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53622 --- Comment #1 from Matt Arsenault 2012-06-10 02:02:42 UTC --- The same samples work with boost regex

[Bug target/53621] [SH] Frame pointers not generated with -fno-omit-frame-pointer on GCC 4.7.0

2012-06-09 Thread lsebald1 at umbc dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53621 --- Comment #1 from Lawrence Sebald 2012-06-10 02:29:40 UTC --- Created attachment 27594 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27594 Remove line forcing -fomit-frame-pointer on sh-elf. The problem seems to boil down to line 750 of

[Bug target/53623] New: [4.7 Regression] sign extension is effectively split into two x86-64 instructions

2012-06-09 Thread adam at consulting dot net.nz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53623 Bug #: 53623 Summary: [4.7 Regression] sign extension is effectively split into two x86-64 instructions Classification: Unclassified Product: gcc Version: 4.7.0 Statu

[Bug c++/53624] New: GCC rejects function local types in template function with default template arguments

2012-06-09 Thread lunow at math dot hu-berlin.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53624 Bug #: 53624 Summary: GCC rejects function local types in template function with default template arguments Classification: Unclassified Product: gcc Version: 4.6.3 S

[Bug c++/53624] GCC rejects function local types in template function with default template arguments

2012-06-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53624 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/53624] GCC rejects function local types in template function with default template arguments

2012-06-09 Thread lunow at math dot hu-berlin.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53624 --- Comment #2 from Daniel Lunow 2012-06-10 04:49:29 UTC --- Their is no requirement (in the c++11 standard) for function templates that implies subsequent template parameters after a template parameter with default template argument must also ha

[Bug c++/53624] GCC rejects function local types in template function with default template arguments

2012-06-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53624 Andrew Pinski changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID