[Bug c/52977] internal compiler error: Segmentation fault with `-x c-header' or `-x cxx-header' option

2012-04-13 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52977 Markus Trippelsdorf changed: What|Removed |Added CC||markus at trippelsdorf dot

[Bug tree-optimization/52081] Missed tail merging with pure calls

2012-04-13 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52081 vries at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug translation/52984] New: Different information message in Turkish locale.

2012-04-13 Thread yasar11732 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52984 Bug #: 52984 Summary: Different information message in Turkish locale. Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal P

[Bug middle-end/52980] [4.8 Regression] Many benchmarks in SPEC CPU 2000/2006 failed to build

2012-04-13 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52980 --- Comment #4 from William J. Schmidt 2012-04-14 00:07:11 UTC --- I've found that the cpu2006 failures are fixed by the patch in PR52976. I have to leave for an obligation tonight, but will investigate the remaining failures in these two issues

[Bug c++/52672] internal compiler error: in cxx_eval_indirect_ref, at cp/semantics.c:6766

2012-04-13 Thread meadori at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52672 --- Comment #6 from Meador Inge 2012-04-13 23:07:09 UTC --- Should the fix for this go into 4.6 as well? If not, then I will close the issue.

[Bug middle-end/52980] [4.8 Regression] Many benchmarks in SPEC CPU 2000/2006 failed to build

2012-04-13 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52980 H.J. Lu changed: What|Removed |Added Summary|[4.8 Regression] Many |[4.8 Regression] Many |benchm

[Bug c++/24985] caret diagnostics

2012-04-13 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24985 Manuel López-Ibáñez changed: What|Removed |Added Attachment #27089|0 |1 is obsolete|

[Bug middle-end/52980] [4.8 Regression] Many benchmarks in SPEC CPU 2000 failed to build

2012-04-13 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52980 William J. Schmidt changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/45053] libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc

2012-04-13 Thread rhabarber1848 at web dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45053 --- Comment #11 from rhabarber1848 at web dot de 2012-04-13 22:35:58 UTC --- Using this patch solves the problem here: https://dev.openwrt.org/browser/trunk/toolchain/gcc/patches/4.7.0/870-ppc_no_crtsavres.patch # ./powerpc-tuxbox-linux-gnu-gcc -v

[Bug tree-optimization/52976] [4.8 Regression] Revision 186384 breaks the polyhedron tests aermod.f90 and doduc.f90 at -O3 -ffast-math

2012-04-13 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52976 --- Comment #5 from Dominique d'Humieres 2012-04-13 22:11:24 UTC --- The patch in comment #4 fixes doduc.f90, but not aermod.f90 (the sources are available at http://polyhedron.com/pb05-lin64-f90bench_SBhtml ). A reduced test for aermod is [macb

[Bug c++/52706] [C++11] Demangling of templates with std::nullptr_t as non-type parameter

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52706 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/52775] Change default for using FCFID instruction

2012-04-13 Thread meissner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52775 --- Comment #3 from Michael Meissner 2012-04-13 21:55:24 UTC --- Author: meissner Date: Fri Apr 13 21:55:15 2012 New Revision: 186438 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186438 Log: [gcc] 2012-04-12 Michael Meissner PR

[Bug c++/52707] [C++11] Deleted special member function prevent type being an aggregate

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52707 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug rtl-optimization/52983] [4.8 Regression] internal compiler error: in df_uses_record, at df-scan.c:3243

2012-04-13 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52983 Andrew Pinski changed: What|Removed |Added Component|c++ |rtl-optimization Target Milestone|---

[Bug c++/52983] internal compiler error: in df_uses_record, at df-scan.c:3243

2012-04-13 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52983 --- Comment #1 from Jonathan Wakely 2012-04-13 21:02:32 UTC --- The source is libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc

[Bug c++/52983] New: internal compiler error: in df_uses_record, at df-scan.c:3243

2012-04-13 Thread redi at gcc dot gnu.org
gnu Configured with: /home/jwakely/src/gcc/configure --prefix=/home/jwakely/gcc/4.x --with-system-zlib --enable-languages=c,c++ --with-gnu-ld --with-gnu-as --disable-libquadmath --disable-libitm --disable-libmudflap --disable-nls --disable-bootstrap Thread model: posix gcc version 4.8.0 20120413 (experimen

[Bug libstdc++/52839] [4.7/4.8 Regression] double free or corruption running tr1/.../default_weaktoshared.exe

2012-04-13 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52839 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |4.7.1 Summary|double free or

[Bug c++/52978] Inherit from Template with specified type and override virtual function

2012-04-13 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52978 --- Comment #5 from Jonathan Wakely 2012-04-13 20:48:13 UTC --- No, that's absolutely not how C++ works. Templates are not macros. The template's function parameter is "const T&" aka "T const&" i.e. a reference to a const T If T is a pointer t

[Bug tree-optimization/52976] [4.8 Regression] Revision 186384 breaks the polyhedron tests aermod.f90 and doduc.f90 at -O3 -ffast-math

2012-04-13 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52976 --- Comment #4 from William J. Schmidt 2012-04-13 20:46:27 UTC --- Here's a patch that fixes the reduced test case but is otherwise untested. I don't know what "the polyhedron tests aermod.490 and doduc.f90" are; I don't find them in the gcc tes

[Bug c++/52978] Inherit from Template with specified type and override virtual function

2012-04-13 Thread benediktibk at aon dot at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52978 --- Comment #4 from Benedikt Schmidt 2012-04-13 20:22:44 UTC --- Okay, first: Thanks for the fast reply. Why changes the use of an template the order, in which const affects the type? I mean, if I just replace the T in the base class with the sp

[Bug driver/52982] New: add option to select particular linker

2012-04-13 Thread fche at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52982 Bug #: 52982 Summary: add option to select particular linker Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority:

[Bug c++/52761] [C++11] Missing diagnostic for opaque unscoped enum declaration without base

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52761 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/52818] printf format %lf is erroneously rejected by C++11

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52818 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/52915] [C++11] Deleted default-constructor of anonymous unions not honored

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52915 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/52905] [C++0x] ice on invalid brace-enclosed initializer of vector of enums

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52905 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/52906] [4.7 Regression] ICE: SIGSEGV in check_tag_decl (decl.c:4230) with "__attribute__ ((__deprecated__));" alone

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52906 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/52824] [C++11] expanding variadic template arguments into non-variadic template

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52824 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/52824] [C++11] expanding variadic template arguments into non-variadic template

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52824 Jason Merrill changed: What|Removed |Added Target Milestone|--- |4.7.1 --- Comment #3 from Jason Merrill

[Bug c++/52915] [C++11] Deleted default-constructor of anonymous unions not honored

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52915 --- Comment #1 from Jason Merrill 2012-04-13 19:43:43 UTC --- Author: jason Date: Fri Apr 13 19:43:37 2012 New Revision: 186432 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186432 Log: PR c++/52915 * decl2.c (finish_anon_union):

[Bug c++/52906] [4.7 Regression] ICE: SIGSEGV in check_tag_decl (decl.c:4230) with "__attribute__ ((__deprecated__));" alone

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52906 --- Comment #3 from Jason Merrill 2012-04-13 19:44:21 UTC --- Author: jason Date: Fri Apr 13 19:44:15 2012 New Revision: 186435 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186435 Log: PR c++/52906 * decl.c (check_tag_decl): Don

[Bug tree-optimization/52976] [4.8 Regression] Revision 186384 breaks the polyhedron tests aermod.f90 and doduc.f90 at -O3 -ffast-math

2012-04-13 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52976 --- Comment #3 from William J. Schmidt 2012-04-13 19:41:18 UTC --- When changing from the original form of the patch to the form that recorded repeated ops in the ops table, I missed the effect on undistribution where a term contains a multiply o

[Bug c++/52824] [C++11] expanding variadic template arguments into non-variadic template

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52824 --- Comment #2 from Jason Merrill 2012-04-13 19:44:31 UTC --- Author: jason Date: Fri Apr 13 19:44:27 2012 New Revision: 186436 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186436 Log: PR c++/52824 * pt.c (any_pack_expanson_args

[Bug c++/52824] [C++11] expanding variadic template arguments into non-variadic template

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52824 --- Comment #1 from Jason Merrill 2012-04-13 19:44:05 UTC --- Author: jason Date: Fri Apr 13 19:43:57 2012 New Revision: 186434 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186434 Log: PR c++/52824 * pt.c (any_pack_expanson_args

[Bug c++/52905] [C++0x] ice on invalid brace-enclosed initializer of vector of enums

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52905 --- Comment #3 from Jason Merrill 2012-04-13 19:43:52 UTC --- Author: jason Date: Fri Apr 13 19:43:47 2012 New Revision: 186433 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186433 Log: PR c++/52905 * call.c (joust): Handle compa

[Bug c++/24985] caret diagnostics

2012-04-13 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24985 --- Comment #48 from Manuel López-Ibáñez 2012-04-13 19:40:53 UTC --- (In reply to comment #47) > Jonathan's proposed output looks fine to me. The "candidates are" note had a > source location for the sake of dejagnu, but we can deal with that by

[Bug tree-optimization/52734] [4.7/4.8 Regression] Incorrect optimization of uClibc sbrk()

2012-04-13 Thread sedat.dilek at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52734 --- Comment #17 from Sedat Dilek 2012-04-13 19:38:24 UTC --- Thanks, Tom!

[Bug tree-optimization/52734] [4.7/4.8 Regression] Incorrect optimization of uClibc sbrk()

2012-04-13 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52734 vries at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c++/52824] [C++11] expanding variadic template arguments into non-variadic template

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52824 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/52961] Missing warning on empty if

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52961 --- Comment #5 from Jason Merrill 2012-04-13 19:07:58 UTC --- Specifically about if(); without an else, sure.

[Bug tree-optimization/52976] [4.8 Regression] Revision 186384 breaks the polyhedron tests aermod.f90 and doduc.f90 at -O3 -ffast-math

2012-04-13 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52976 William J. Schmidt changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/24985] caret diagnostics

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24985 --- Comment #47 from Jason Merrill 2012-04-13 19:04:50 UTC --- Jonathan's proposed output looks fine to me. The "candidates are" note had a source location for the sake of dejagnu, but we can deal with that by adjusting the prune.exp note handli

[Bug c/52981] New: Separate -Wpacked into two options

2012-04-13 Thread akurland at digi dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52981 Bug #: 52981 Summary: Separate -Wpacked into two options Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: enhancement Priority:

[Bug c++/52951] internal compiler error with c++11 initializer lists and C arrays

2012-04-13 Thread drwowe at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52951 D W changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug c++/52743] g++-4.7.0 seg faults on overload functions.

2012-04-13 Thread drwowe at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52743 D W changed: What|Removed |Added CC||drwowe at yahoo dot com --- Comment #4 from D W 20

[Bug c++/52951] internal compiler error with c++11 initializer lists and C arrays

2012-04-13 Thread drwowe at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52951 --- Comment #3 from D W 2012-04-13 18:22:29 UTC --- After a little more investigation it turns out this was fixed by the fix to bug 52743. So I guess this is actually a dup.

[Bug tree-optimization/52976] [4.8 Regression] Revision 186384 breaks the polyhedron tests aermod.f90 and doduc.f90 at -O3 -ffast-math

2012-04-13 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52976 --- Comment #1 from Dominique d'Humieres 2012-04-13 18:10:05 UTC --- PR52980 looks like a duplicate.

[Bug target/52932] AVX2 intrinsic _mm256_permutevar8x32_ps has wrong parameter type

2012-04-13 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52932 Uros Bizjak changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc-p

[Bug middle-end/52980] [4.8 Regression] Many benchmarks in SPEC CPU 2000 failed to build

2012-04-13 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52980 --- Comment #1 from Dominique d'Humieres 2012-04-13 18:09:16 UTC --- It looks like a duplicate of pr52976.

[Bug middle-end/52939] [4.7/4.8 Regression] ice in gimple_get_virt_method_for_binfo with -O3

2012-04-13 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52939 --- Comment #6 from Martin Jambor 2012-04-13 17:57:30 UTC --- Author: jamborm Date: Fri Apr 13 17:57:21 2012 New Revision: 186428 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186428 Log: 2012-04-13 Martin Jambor PR middle-end/52

[Bug middle-end/52980] New: [4.8 Regression] Many benchmarks in SPEC CPU 2000 failed to build

2012-04-13 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52980 Bug #: 52980 Summary: [4.8 Regression] Many benchmarks in SPEC CPU 2000 failed to build Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug c++/52972] Pure virtual method is called instead of child's method

2012-04-13 Thread drinob at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52972 --- Comment #6 from drinob at gmail dot com 2012-04-13 17:43:44 UTC --- Thank you for your explanation. Now it's all clear.

[Bug c++/52978] Inherit from Template with specified type and override virtual function

2012-04-13 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52978 --- Comment #3 from Jonathan Wakely 2012-04-13 17:34:10 UTC --- (In reply to comment #0) > I compiled the code with the following statement: > gcc -Wall -Wextra -save-temps -lstdc++ main.cpp Also if you use g++ you don't need to link to libstdc+

[Bug c++/52978] Inherit from Template with specified type and override virtual function

2012-04-13 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52978 --- Comment #2 from Jonathan Wakely 2012-04-13 17:33:16 UTC --- (In reply to comment #1) > The base class has a pure virtual function with this signature: > > void blub(const int* const&) const Oops, sorry, that should be: void blub(int* const

[Bug c++/52978] Inherit from Template with specified type and override virtual function

2012-04-13 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52978 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/52972] Pure virtual method is called instead of child's method

2012-04-13 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52972 --- Comment #5 from Jonathan Wakely 2012-04-13 17:27:33 UTC --- The standard says "Member functions can be called from a constructor (or destructor) of an abstract class; the effect of making a virtual call to a pure virtual function directly or

[Bug c++/52895] [C++0x] ICE in unify, at cp/pt.c:15802

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52895 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/52905] [C++0x] ice on invalid brace-enclosed initializer of vector of enums

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52905 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/52932] AVX2 intrinsic _mm256_permutevar8x32_ps has wrong parameter type

2012-04-13 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52932 --- Comment #11 from Uros Bizjak 2012-04-13 16:57:09 UTC --- (In reply to comment #10) > _mm256_permutevar8x32_epi32 has the operands in wrong order. They need > to be swapped. Did you fix this too? Yes.

[Bug target/52932] AVX2 intrinsic _mm256_permutevar8x32_ps has wrong parameter type

2012-04-13 Thread agner at agner dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52932 --- Comment #10 from Agner Fog 2012-04-13 16:50:33 UTC --- _mm256_permutevar8x32_epi32 has the operands in wrong order. They need to be swapped. Did you fix this too? On 12-04-2012 20:37, uros at gcc dot gnu.org wrote: > http://gcc.gnu.org/bug

[Bug c++/52972] Pure virtual method is called instead of child's method

2012-04-13 Thread drinob at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52972 --- Comment #4 from drinob at gmail dot com 2012-04-13 16:35:35 UTC --- But it seems to work in g++ 4.3 (which is used at ideone.com): http://ideone.com/zy5R4 Is that behavior uncorrect?

[Bug c/52979] New: likely wrong code bug w/packed bitfields

2012-04-13 Thread regehr at cs dot utah.edu
c++ Thread model: posix gcc version 4.8.0 20120413 (experimental) (GCC)

[Bug c++/52978] New: Inherit from Template with specified type and override virtual function

2012-04-13 Thread benediktibk at aon dot at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52978 Bug #: 52978 Summary: Inherit from Template with specified type and override virtual function Classification: Unclassified Product: gcc Version: 4.5.3 Status: UNCONFI

[Bug c++/52972] Pure virtual method is called instead of child's method

2012-04-13 Thread drinob at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52972 --- Comment #3 from drinob at gmail dot com 2012-04-13 16:28:36 UTC --- Yes, this is my mistake.

[Bug c++/52972] Pure virtual method is called instead of child's method

2012-04-13 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52972 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/52972] Pure virtual method is called instead of child's method

2012-04-13 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52972 --- Comment #1 from Andrew Pinski 2012-04-13 16:24:07 UTC --- I think you are getting the correct behavior as the vtable for the base class is the current vtable for this. And "return static_cast < Real* > (this);" Does not change the v

[Bug c++/52951] internal compiler error with c++11 initializer lists and C arrays

2012-04-13 Thread drwowe at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52951 --- Comment #2 from D W 2012-04-13 16:22:28 UTC --- I built gcc from gcc-4_7-branch, svn186417. I can confirm it does not segfault on my example.

[Bug c/52977] New: internal compiler error: Segmentation fault with `-x c-header' or `-x cxx-header' option

2012-04-13 Thread ai.azuma at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52977 Bug #: 52977 Summary: internal compiler error: Segmentation fault with `-x c-header' or `-x cxx-header' option Classification: Unclassified Product: gcc Version: 4.8.0

[Bug debug/48866] gcc hangs when -g is set

2012-04-13 Thread aoliva at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48866 --- Comment #12 from Alexandre Oliva 2012-04-13 15:56:29 UTC --- Author: aoliva Date: Fri Apr 13 15:56:21 2012 New Revision: 186422 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186422 Log: PR debug/48866 * df.h (enum debug_temp_where):

[Bug debug/51570] [4.7/4.8 Regression] FAIL: gcc.dg/guality/pr45003-[23].c

2012-04-13 Thread aoliva at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51570 --- Comment #7 from Alexandre Oliva 2012-04-13 15:56:00 UTC --- Author: aoliva Date: Fri Apr 13 15:55:52 2012 New Revision: 186420 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186420 Log: PR debug/51570 * var-tracking.c (expand_depth):

[Bug tree-optimization/52976] New: [4.8 Regression] Revision 186384 breaks the polyhedron tests aermod.f90 and doduc.f90 at -O3 -ffast-math

2012-04-13 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52976 Bug #: 52976 Summary: [4.8 Regression] Revision 186384 breaks the polyhedron tests aermod.f90 and doduc.f90 at -O3 -ffast-math Classification: Unclassified Product: gcc Version:

[Bug libstdc++/52604] mt allocator crashes on multi-threaded

2012-04-13 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52604 --- Comment #20 from Paolo Carlini 2012-04-13 14:45:29 UTC --- Remember to always send the patches you commit to gcc-patc...@gcc.gnu.org (and libstd...@gcc.gnu.org in CC), even if already approved on the fly in audit trail (which should not happe

[Bug fortran/51082] [F03] Wrong result for a pointer to a proc-pointer component

2012-04-13 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51082 --- Comment #3 from janus at gcc dot gnu.org 2012-04-13 14:23:25 UTC --- Note: The patch in comment #2 regtests cleanly.

[Bug tree-optimization/52975] Ofast produces not optimized code for vectorized "converted if"

2012-04-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52975 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Keywords|

[Bug fortran/52968] [OOP] Call to type-bound procedure wrongly rejected

2012-04-13 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52968 --- Comment #3 from janus at gcc dot gnu.org 2012-04-13 14:02:05 UTC --- This bug is similar to PR51995, and in fact the patch from comment #2 above seems to supersede the solution given there (which could be removed as a consequence): Index: gcc/

[Bug middle-end/52939] [4.7/4.8 Regression] ice in gimple_get_virt_method_for_binfo with -O3

2012-04-13 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52939 Martin Jambor changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc-p

[Bug c++/52974] Canonicalize include paths in diagnostics

2012-04-13 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52974 --- Comment #3 from Jonathan Wakely 2012-04-13 13:55:27 UTC --- I don't know where they're defined but they're built in and g++ -v shows them #include "..." search starts here: #include <...> search starts here: /home/redi/gcc/4.x/lib/gcc/x86_6

[Bug c++/52974] Canonicalize include paths in diagnostics

2012-04-13 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52974 --- Comment #2 from Manuel López-Ibáñez 2012-04-13 13:42:51 UTC --- (In reply to comment #0) > This probably isn't a good idea for user headers, as the include path they use > with -I should be preserved so they recognise it, but for GCC's own C+

[Bug libstdc++/52938] std::string::reserve request is not maintained if object is used in other object copy ctor

2012-04-13 Thread abdul.tohmaz at emc dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52938 --- Comment #14 from Abdul Tohmaz 2012-04-13 13:37:47 UTC --- (In reply to comment #13) > Immediately after you call reserve it returns at least 1024. But not > necessarily from that point on for ever and ever. If you call swap() to > exchange

[Bug tree-optimization/52969] [4.7/4.8 Regression] ICE in in get_expr_operands, at tree-ssa-operands.c:1035 with -ftree-loop-if-convert-stores

2012-04-13 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52969 --- Comment #13 from vincenzo Innocente 2012-04-13 13:35:19 UTC --- Richard, please, look at PR59275. I think your testcase CAN produce not optimized code.

[Bug fortran/52968] [OOP] Call to type-bound procedure produces wrongly rejected

2012-04-13 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52968 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|una

[Bug rtl-optimization/52975] New: Ofast produces not optimized code for vectorized "converted if"

2012-04-13 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52975 Bug #: 52975 Summary: Ofast produces not optimized code for vectorized "converted if" Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug tree-optimization/52969] [4.7/4.8 Regression] ICE in in get_expr_operands, at tree-ssa-operands.c:1035 with -ftree-loop-if-convert-stores

2012-04-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52969 --- Comment #12 from Richard Guenther 2012-04-13 13:26:59 UTC --- (In reply to comment #11) > I do not have a clear case in hand with evidence of "double" compare > I will have a closer look to "real life" code. > > btw > I just noticed that yo

[Bug tree-optimization/52868] [4.7/4.8 Regression] 4.6 is faster on Atom

2012-04-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52868 Richard Guenther changed: What|Removed |Added Priority|P3 |P2

[Bug c++/52973] [4.7/4.8 Regression] visibility attribute for class is not passed to its members

2012-04-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52973 Richard Guenther changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/52734] [4.7/4.8 Regression] Incorrect optimization of uClibc sbrk()

2012-04-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52734 Richard Guenther changed: What|Removed |Added Priority|P3 |P2

[Bug bootstrap/52947] [4.7/4.8 Regression] bootstrap fails due to wrong include search path composition

2012-04-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52947 Richard Guenther changed: What|Removed |Added Priority|P3 |P2

[Bug middle-end/52939] [4.7/4.8 Regression] ice in gimple_get_virt_method_for_binfo with -O3

2012-04-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52939 Richard Guenther changed: What|Removed |Added Priority|P3 |P2

[Bug c++/52906] [4.7 Regression] ICE: SIGSEGV in check_tag_decl (decl.c:4230) with "__attribute__ ((__deprecated__));" alone

2012-04-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52906 Richard Guenther changed: What|Removed |Added Priority|P3 |P2 Known to work|

[Bug c++/52974] Canonicalize include paths in diagnostics

2012-04-13 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52974 --- Comment #1 from Jonathan Wakely 2012-04-13 13:16:01 UTC --- The canonicalized version of that error is a lot more readable t.cc: In function 'void f()': t.cc:2:23: error: no matching function for call to 'sort(int)' t.cc:2:23: note: candidat

[Bug c++/52974] New: Canonicalize include paths in diagnostics

2012-04-13 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52974 Bug #: 52974 Summary: Canonicalize include paths in diagnostics Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: diagnostic Seve

[Bug c++/52841] [4.7/4.8 Regression] error: type 'Solvable' is not a base type for type 'Resolvable'

2012-04-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52841 Richard Guenther changed: What|Removed |Added Priority|P3 |P2

[Bug fortran/52864] [4.6/4.7/4.8 Regression] Assignment to pointer component for INTENT(IN) dummy argument

2012-04-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52864 Richard Guenther changed: What|Removed |Added Priority|P3 |P4

[Bug debug/52727] [4.7 Regression] internal compiler error at dwarf2cfi.c2:685

2012-04-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52727 Richard Guenther changed: What|Removed |Added Priority|P3 |P2 Known to work|

[Bug tree-optimization/52633] [4.7/4.8 Regression] Compiler ICE in vect_is_simple_use_1 (ARM)

2012-04-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52633 Richard Guenther changed: What|Removed |Added Priority|P3 |P2 Summary|[4.7 Regression]

[Bug tree-optimization/52631] [4.6/4.7/4.8 Regression] VN does not use simplified expression for lookup

2012-04-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52631 Richard Guenther changed: What|Removed |Added Priority|P3 |P2 Known to work|

[Bug tree-optimization/52969] [4.7/4.8 Regression] ICE in in get_expr_operands, at tree-ssa-operands.c:1035 with -ftree-loop-if-convert-stores

2012-04-13 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52969 --- Comment #11 from vincenzo Innocente 2012-04-13 13:03:48 UTC --- I do not have a clear case in hand with evidence of "double" compare I will have a closer look to "real life" code. btw I just noticed that your test case does not vectorize ev

[Bug rtl-optimization/52573] [4.5/4.6/4.7/4.8 regression] regrename creates overlapping register allocations for output operands

2012-04-13 Thread bernds at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52573 --- Comment #2 from Bernd Schmidt 2012-04-13 13:02:03 UTC --- (expr_list:REG_DEAD (reg:SI 3 %d3 [236]) (expr_list:REG_UNUSED (reg:SI 3 %d3 [236]) The REG_DEAD note is bogus and confuses the renamer. Only REG_UNUSED should be on this

[Bug middle-end/52621] [4.6/4.7 Regression] ICE with -O3 -march=opteron in initialize_matrix_A, at tree-data-ref.c:1964

2012-04-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52621 Richard Guenther changed: What|Removed |Added Priority|P3 |P2

[Bug rtl-optimization/52573] [4.5/4.6/4.7/4.8 regression] regrename creates overlapping register allocations for output operands

2012-04-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52573 Richard Guenther changed: What|Removed |Added Priority|P3 |P2

[Bug target/52555] [4.6/4.7/4.8 Regression] ICE unrecognizable insn with -ffast-math and __attribute__((optimize(xx)))

2012-04-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52555 Richard Guenther changed: What|Removed |Added Priority|P3 |P2

  1   2   >