[Bug libstdc++/56109] Add light-weight ABI-compatible debug checks to standard containers

2024-01-17 Thread ppluzhnikov at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56109 Paul Pluzhnikov changed: What|Removed |Added Resolution|--- |WONTFIX Status|NEW

[Bug libstdc++/83029] Memory leaks due to leaked thread local variable

2019-04-21 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83029 --- Comment #5 from Paul Pluzhnikov --- (In reply to Jonathan Wakely from comment #4) > Which version of glibc are you using? "Debian GLIBC 2.24-12". I believe this bug should be closed as fixed or invalid: 1. The original test case does not

[Bug libstdc++/83029] Memory leaks due to leaked thread local variable

2019-04-20 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83029 --- Comment #3 from Paul Pluzhnikov --- Reconfirmed with today trunk (r270470).

[Bug libstdc++/83029] Memory leaks due to leaked thread local variable

2019-04-20 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83029 Paul Pluzhnikov changed: What|Removed |Added CC||ppluzhnikov at google dot com

[Bug demangler/79111] demangle_template tries to allocate 18446744070799748648 bytes

2019-03-06 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79111 Paul Pluzhnikov changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libgcc/87189] libgcc/gthr-posix.h (__gthread_active_p) makes unwarranted assumptions about libpthread.a

2018-09-03 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87189 --- Comment #9 from Paul Pluzhnikov --- Thanks, H.J. https://sourceware.org/bugzilla/show_bug.cgi?id=5784 has a few references, and in particular https://sourceware.org/ml/libc-alpha/2012-09/msg00192.html is important to consider.

[Bug libgcc/87189] libgcc/gthr-posix.h (__gthread_active_p) makes unwarranted assumptions about libpthread.a

2018-09-03 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87189 --- Comment #6 from Paul Pluzhnikov --- (In reply to Jakub Jelinek from comment #5) > Because it is very expensive. One impractical solution is to require '-pthread' on the compile and link line, and link a libgcc_mt that has non-weak

[Bug libgcc/87189] libgcc/gthr-posix.h (__gthread_active_p) makes unwarranted assumptions about libpthread.a

2018-09-03 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87189 --- Comment #4 from Paul Pluzhnikov --- (In reply to Jakub Jelinek from comment #3) > This is a glibc bug I (obviously) disagree. , coming up with a set of weakref checks for gthr.h that > would satisfy static linking of glibc and all possible

[Bug libgcc/87189] libgcc/gthr-posix.h (__gthread_active_p) makes unwarranted assumptions about libpthread.a

2018-09-02 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87189 --- Comment #1 from Paul Pluzhnikov --- Crash stack for reference: Program received signal SIGSEGV, Segmentation fault. 0x in ?? () (gdb) bt #0 0x in ?? () #1 0x00477f7c in __gthread_mutex_lock

[Bug libgcc/87189] New: libgcc/gthr-posix.h (__gthread_active_p) makes unwarranted assumptions about libpthread.a

2018-09-02 Thread ppluzhnikov at google dot com
Severity: normal Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Target Milestone: --- Redirected here from GLIBC bug: https://sourceware.org/bugzilla/show_bug.cgi?id=21777 A trivial program

[Bug demangler/79111] New: demangle_template tries to allocate 18446744070799748648 bytes

2017-01-16 Thread ppluzhnikov at google dot com
Priority: P3 Component: demangler Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Target Milestone: --- Test case from LLVM libFuzzer. Using current trunk binutils (libiberty identical to current trunk GCC r244514): cxxfilt

[Bug demangler/79099] New: Memory leak in cplus-dem.c:2232

2017-01-15 Thread ppluzhnikov at google dot com
Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Target Milestone: --- Discovered with LLVM libFuzzer (http://llvm.org/docs/LibFuzzer.html). Using current binutils trunk (libiberty is identical to r244484): valgrind --leak-check=full build/binutils

[Bug c++/59832] [c++11] ICE in reshape_init_class with initializer list

2015-12-10 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59832 --- Comment #9 from Paul Pluzhnikov --- Still broken on trunk @r231541. Closing on 2 years now.

[Bug c++/59832] [c++11] ICE in reshape_init_class with initializer list

2015-12-10 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59832 --- Comment #11 from Paul Pluzhnikov --- (In reply to Markus Trippelsdorf from comment #10) > Patches are welcome. Yes, I know. As I lamented in comment #7, I don't know enough GCC internals to take this on.

[Bug target/67396] [4.9/5.0 regression] Performance regression compiling variadic function with many arguments

2015-08-30 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67396 --- Comment #3 from Paul Pluzhnikov ppluzhnikov at google dot com --- (In reply to Andrew Pinski from comment #2) Can you provide -ftime-report ? Sure: perl gen_bz18872.pl 2000 t.c gcc-svn-r227321/bin/gcc -c -O2 t.c -ftime-report Execution

[Bug target/67396] [4.9/5.0 regression] Performance regression compiling variadic function with many arguments

2015-08-30 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67396 --- Comment #5 from Paul Pluzhnikov ppluzhnikov at google dot com --- please do before you report compile time regressions. Ok. Here are the new numbers from current trunk built with --enable-checking=release (nothing's changed that I can see

[Bug c/67396] [4.9/5.0 regression] Performance regression compiling variadic function with many arguments

2015-08-30 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67396 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC||jh

[Bug c/67396] New: [4.9/5.0 regression] Performance regression compiling variadic function with many arguments

2015-08-29 Thread ppluzhnikov at google dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Target Milestone: --- Created attachment 36270 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=36270action=edit test

[Bug c++/61022] [C++11] Bogus error: parameter packs not expanded with '...'

2015-04-23 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61022 --- Comment #2 from Paul Pluzhnikov ppluzhnikov at google dot com --- Still fails with trunk @r222386

[Bug c++/59832] [c++11] ICE in reshape_init_class with initializer list

2015-03-07 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59832 --- Comment #7 from Paul Pluzhnikov ppluzhnikov at google dot com --- Still broken on trunk @r221169. Leaving known ICEs for = 1 year untouched seems... suboptimal. (Sorry I don't know enough GCC internals to take this on.)

[Bug target/65263] [5 Regression] ICE (error: unrecognizable insn / in insn_min_length, at config/rs6000/rs6000.md) on powerpc64le-linux-gnu

2015-03-02 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65263 --- Comment #10 from Paul Pluzhnikov ppluzhnikov at google dot com --- (In reply to Jan Hubicka from comment #9) Paul, I fixed similar bug yesterday, so please check if it works now I just built at current SVN trunk (r221126). Filed PR 65287

[Bug target/65263] [5 Regression] ICE (error: unrecognizable insn / in insn_min_length, at config/rs6000/rs6000.md) on powerpc64le-linux-gnu

2015-03-02 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65263 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC

[Bug c/65287] New: Current trunk ICE in address_matters_p, at symtab.c:1908

2015-03-02 Thread ppluzhnikov at google dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Created attachment 34927 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34927action=edit test case Continued from PR 65263 r221040 is also possibly causing

[Bug c/65287] Current trunk ICE in address_matters_p, at symtab.c:1908

2015-03-02 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65287 --- Comment #1 from Paul Pluzhnikov ppluzhnikov at google dot com --- Created attachment 34928 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34928action=edit c-reduce'd test case A much shorter test: const int __new_sys_siglist

[Bug rtl-optimization/64557] get_addr in true_dependence_1 cannot handle VALUE inside an expr

2015-01-10 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64557 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC

[Bug c++/60978] -Wenum-compare warns too eagerly

2014-12-02 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60978 --- Comment #9 from Paul Pluzhnikov ppluzhnikov at google dot com --- (In reply to Jason Merrill from comment #8) You shouldn't get the warning about IPPROTO_ICMP vs IPPROTO_ICMPV66, as they are members of the same anonymous enum

[Bug c++/60978] -Wenum-compare warns too eagerly

2014-12-02 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60978 --- Comment #11 from Paul Pluzhnikov ppluzhnikov at google dot com --- (In reply to Jason Merrill from comment #10) Interesting, in glibc 2.18 (at least in glibc-headers-2.18-16.fc20.x86_64) they are in the same enum. The in.h is actually

[Bug c++/61022] [C++11] Bogus error: parameter packs not expanded with '...'

2014-10-30 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61022 --- Comment #1 from Paul Pluzhnikov ppluzhnikov at google dot com --- Still fails with trunk @r216948

[Bug c++/63578] New: ICE In layout_type, at stor-layout.c:2398

2014-10-17 Thread ppluzhnikov at google dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Google ref: b/18024040 Test: int *b; auto __attribute__ ((may_alias)) a = b; // replace auto with int* to fix Using trunk @r216408: r216408/bin/g++ -c -std=c++11 t.ii t.ii:2:34: internal

[Bug c++/63540] Erroneous 'Derived' declares a move constructor or move assignment operator in error.

2014-10-14 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63540 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC

[Bug c++/63149] wrong auto deduction from braced-init-list

2014-09-02 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63149 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC

[Bug c++/62310] fails to consider default initializers (NSDMIs) when checking inheriting constructors

2014-08-29 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62310 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC

[Bug c/25509] can't disable __attribute__((warn_unused_result))

2014-08-13 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC

[Bug libstdc++/61947] [4.8/4.9/4.10 Regression] Ambiguous calls when constructing std::tuple

2014-07-29 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61947 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC

[Bug c++/61924] New: [C++11] ICE in instantiate_template_1, at cp/pt.c:15618

2014-07-26 Thread ppluzhnikov at google dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Google ref: b/16582830 Gcc 4.8, 4.9 and current trunk @r213084 are affected. // --- cut --- struct function { template typename _Functor function (_Functor

[Bug c++/44122] Confusing error: cannot convert 'T*' to 'T*' (when T are different scopes)

2014-07-20 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44122 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/59832] [c++11] ICE in reshape_init_class with initializer list

2014-07-20 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59832 --- Comment #6 from Paul Pluzhnikov ppluzhnikov at google dot com --- Still broken @r212875

[Bug c++/59815] Apparently bogus error: 'Outer' is already declared in this scope

2014-07-20 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59815 --- Comment #3 from Paul Pluzhnikov ppluzhnikov at google dot com --- Still broken @r212875

[Bug middle-end/59812] Missing aggressive loop optimization warning

2014-07-20 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59812 --- Comment #3 from Paul Pluzhnikov ppluzhnikov at google dot com --- Reconfirmed @r212875

[Bug c++/61833] [4.9] ICE in fold_comparison

2014-07-18 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61833 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/61833] New: [4.9] ICE in fold_comparison

2014-07-17 Thread ppluzhnikov at google dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Created attachment 33134 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33134action=edit test case Google ref: b/16030670 Originally reported against gcc-4.8. Attached test case causes gcc-4_9-branch

[Bug c++/61723] [C++11] ICE in contains_struct_check

2014-07-17 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61723 --- Comment #8 from Paul Pluzhnikov ppluzhnikov at google dot com --- Filed PR61833

[Bug c++/61723] [C++11] ICE in contains_struct_check

2014-07-15 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61723 --- Comment #5 from Paul Pluzhnikov ppluzhnikov at google dot com --- (In reply to Paolo Carlini from comment #1) I find this testcase rather weird It's the result of creduce over a preprocessed original. std::initializer_list isn't a random

[Bug c++/61723] [C++11] ICE in contains_struct_check

2014-07-15 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61723 --- Comment #6 from Paul Pluzhnikov ppluzhnikov at google dot com --- It turns out that the original unreduced test case does not error on trunk @r212277; it only ICEs on gcc-4.8 and gcc-4.9 branches. But once I creduced it using 4.9

[Bug c++/61723] New: [C++11] ICE in contains_struct_check

2014-07-05 Thread ppluzhnikov at google dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Google ref: b/16030670. AFAICT, this is broken in all of 4.7 / 4.8 / 4.9 / 4.10. Accepted by Clang without warnings. gcc-svn-r212277/bin/g++ -c -std=c++11 t.cc t.cc: In function ‘void fn1()’: t.cc:29:14

[Bug c++/58930] [C++11] Bogus error: converting to ... from initializer list would use explicit constructor

2014-06-26 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58930 --- Comment #5 from Paul Pluzhnikov ppluzhnikov at google dot com --- (In reply to Paolo Carlini from comment #4) Fixed for 4.10.0. Can this be back-ported to gcc-4_9-branch?

[Bug c++/59832] [c++11] ICE in reshape_init_class with initializer list

2014-06-26 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59832 --- Comment #5 from Paul Pluzhnikov ppluzhnikov at google dot com --- Still broken on trunk @r211990. Any chance someone can look at this?

[Bug c++/61614] New: [4.9/4.10 Regression] Bogus error: taking address of temporary array

2014-06-25 Thread ppluzhnikov at google dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Google ref: b/15883782 This broke on trunk sometime after r200178, is broken currently (r211990), and also on gcc-4_9-branch. // --- cut --- int Fn

[Bug c++/61581] New: [C++11] Bogus error: uninitialized const member

2014-06-21 Thread ppluzhnikov at google dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Google ref: b/15789654 Fails with current trunk, and all older versions I've tried. g++ -c t.cc -std=c++11 t.cc: In function 'void Bar()': t.cc:9:11: error: uninitialized const member 'Foo::b

[Bug c++/60265] [C++11] using-declaration of enumerator fails if fully qualified

2014-06-20 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60265 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC

[Bug c++/61575] New: [4.9 Regression] Bogus invalid initialization of reference of type 'const D' from expression of type 'brace-enclosed initializer list'

2014-06-20 Thread ppluzhnikov at google dot com
Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Google ref: b/15094102 The following test compiles with gcc-4.8

[Bug c++/61575] [4.9 Regression] Bogus invalid initialization of reference of type 'const D' from expression of type 'brace-enclosed initializer list'

2014-06-20 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61575 --- Comment #1 from Paul Pluzhnikov ppluzhnikov at google dot com --- Sorry, cut/paste error. Both gcc-svn-4_9-r211828/bin/gcc gcc-svn-4_9-r211175/bin/gcc fails the same way.

[Bug c++/61566] New: [4.9/4.10 Regression] ICE in write_unscoped_name

2014-06-19 Thread ppluzhnikov at google dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Created attachment 32977 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=32977action=edit test case Google ref: b/15734838 Test case compiles fine with Clang and current gcc-4_8-branch

[Bug tree-optimization/61493] [4.10 Regression] Bug exposed by speculative devirtualizing

2014-06-13 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61493 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC

[Bug c++/58704] [c++11] ICE initializing array member of template class

2014-06-13 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58704 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC

[Bug tree-optimization/61289] [4.9 Regression] Bad jump threading generates infinite loop

2014-06-10 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61289 --- Comment #4 from Paul Pluzhnikov ppluzhnikov at google dot com --- Back-port to gcc-4_9-branch? Thanks,

[Bug middle-end/61456] Bogus may be used uninitialized warning

2014-06-09 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61456 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC

[Bug c++/59832] [c++11] ICE in reshape_init_class with initializer list

2014-06-08 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59832 --- Comment #4 from Paul Pluzhnikov ppluzhnikov at google dot com --- Still reproduces on current trunk @r211286

[Bug c++/61445] New: [C++11][4.10 Regression] ice in instantiate_decl

2014-06-07 Thread ppluzhnikov at google dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com This appears to be a recent regression in trunk. Source reduced from llvm/tools/clang/tools/clang-check/ClangCheck.cpp Using trunk @r211286: gcc-svn-r211286/bin/g++ -c t1.ii -std=c++11 t1.ii

[Bug libstdc++/61426] New: [C++11] std::deque requires more from allocator than the standard provides.

2014-06-05 Thread ppluzhnikov at google dot com
: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Google ref: b/15420505 Section 23.3.3.1 of C++11 shows the following typedef members of deque, among others: typedef typename

[Bug tree-optimization/61289] Bad jump threading generates infinite loop

2014-05-22 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61289 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC

[Bug c++/57063] static_cast from data member to rvalue reference sometimes wrongfully produces lvalue

2014-05-19 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57063 --- Comment #6 from Paul Pluzhnikov ppluzhnikov at google dot com --- Google ref: b/15091778

[Bug c++/61242] New: [4.9/4.10 Regression] Bogus no matching function for call to ‘Foo::Create(brace-enclosed initializer list)

2014-05-19 Thread ppluzhnikov at google dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com This worked as recently as r200178, is broken in at least r210292 and later. struct Foo

[Bug c++/61242] [4.9/4.10 Regression] Bogus no matching function for call to ‘Foo::Create(brace-enclosed initializer list)

2014-05-19 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61242 --- Comment #1 from Paul Pluzhnikov ppluzhnikov at google dot com --- Forgot to mention: moving struct A and Create out of Foo and into global scope fixes the problem.

[Bug libstdc++/60970] Support std::hash with enum types (LWG 2148)

2014-05-13 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60970 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC

[Bug tree-optimization/61009] [4.9 Regression] Incorrect jump threading in dom

2014-05-09 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61009 --- Comment #14 from Paul Pluzhnikov ppluzhnikov at google dot com --- (In reply to Teresa Johnson from comment #13) Thanks for the fix! Indeed. Confirming that it does indeed fix the application issues we hit. I will add that we've had

[Bug c++/61134] New: [4.7/4.8/4.9/4.10 Regression][C++11] bogus no matching function for call...

2014-05-09 Thread ppluzhnikov at google dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Google ref: b/14657431 The test case compiles with Clang and gcc-4.6, fails with -DBUG on all later versions including current trunk (r210292

[Bug libstdc++/61023] set/map move assignment doesn't move (or copy) the comparator

2014-05-06 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61023 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC

[Bug c++/59832] [c++11] ICE in reshape_init_class with initializer list

2014-05-04 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59832 --- Comment #3 from Paul Pluzhnikov ppluzhnikov at google dot com --- Still reproduces on current trunk at r210049

[Bug c++/61020] New: [4.9/4.10 Regression] typeid(typeid(X)) produces 'ud2'

2014-04-30 Thread ppluzhnikov at google dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com The test case: #include typeinfo struct Base { virtual ~Base() { } }; struct Derived : public Base { }; int compare(const Base base) { return typeid(base) == typeid(typeid(Derived

[Bug c++/61022] New: [C++11] Bogus error: parameter packs not expanded with '...'

2014-04-30 Thread ppluzhnikov at google dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Google ref: b/14441040 // --- cut --- template typename T struct Template {}; template typename O struct TemplateAliasStruct { template typename T using

[Bug tree-optimization/61009] Incorrect jump threading in dom

2014-04-29 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61009 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC

[Bug tree-optimization/61009] Incorrect jump threading in dom

2014-04-29 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61009 --- Comment #4 from Paul Pluzhnikov ppluzhnikov at google dot com --- (In reply to Andrew Pinski from comment #2) Most likely related to bug 60902. Teresa, could you verify whether r209860 (for PR60902) fixes this one as well?

[Bug c++/60980] [4.9/4.10 Regression] ICE in build_special_member_call, at cp/call.c:7447

2014-04-28 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60980 --- Comment #4 from Paul Pluzhnikov ppluzhnikov at google dot com --- (In reply to Andrew Pinski from comment #3) Note I think this code is invalid due to the struct not having a size. Making the array non-empty makes no difference: struct x0

[Bug c++/60978] -Wenum-compare warns too eagerly

2014-04-28 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60978 --- Comment #7 from Paul Pluzhnikov ppluzhnikov at google dot com --- (In reply to Richard Biener from comment #6) Warns since forever (checked up to GCC 4.3.x), confirmed. Interesting. In my non-reduced test case, the warning is new with gcc

[Bug c++/60992] New: [4.9/4.10 Regression] ICE in tsubst_copy, at cp/pt.c:12637

2014-04-28 Thread ppluzhnikov at google dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Google ref: b/14350545 Test: /// --- cut --- struct ScopeGuardGenerator { }; struct FF { template class F, class ... Ts void operator () (F

[Bug c++/60978] New: [4.9 Regression] -Wenum-compare warns too eagerly

2014-04-27 Thread ppluzhnikov at google dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Test case: enum { A }; enum { B }; int foo(int x) { return x ? A : B; } gcc -c -Wall t.c # no warnings g++ -c t.c t.c: In function ‘int foo(int)’: t.c:6:12: warning: enumeral mismatch

[Bug c++/60978] [4.9 Regression] -Wenum-compare warns too eagerly

2014-04-27 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60978 --- Comment #2 from Paul Pluzhnikov ppluzhnikov at google dot com --- (In reply to Andrew Pinski from comment #1) This is documented to do this even in 4.8 (http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/Warning-Options.html): In C++ enumeral

[Bug c++/60980] New: [4.9/4.10 Regression] ICE in build_special_member_call, at cp/call.c:7447

2014-04-27 Thread ppluzhnikov at google dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Test case: struct x0 { x0 () = default; }; struct x1 { x0 x2[]; void x3 () { x1 (); } }; Using trunk @r209848 (2014-04

[Bug c++/60980] [4.9/4.10 Regression] ICE in build_special_member_call, at cp/call.c:7447

2014-04-27 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60980 --- Comment #1 from Paul Pluzhnikov ppluzhnikov at google dot com --- Google ref: b/14366603

[Bug debug/60929] New: [4.8/4.9/4.10 regression] ICE in get_ref_die_offset, at dwarf2out.c

2014-04-22 Thread ppluzhnikov at google dot com
Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Created attachment 32658 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32658action=edit test case Using trunk @r209546: g++ -fdebug-types

[Bug c++/60836] [4.7/4.8/4.9 Regression] invalid PHI argument and ICE in verify_gimple

2014-04-21 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60836 --- Comment #6 from Paul Pluzhnikov ppluzhnikov at google dot com --- Richard, back-port to 4.9/4.8 release branches? Thanks,

[Bug tree-optimization/60899] undef reference generated with -fdevirtualize-speculatively

2014-04-20 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60899 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC

[Bug c++/59295] useless warning: 'Bar' is already a friend of 'Foo' [enabled by default]

2014-04-16 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59295 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug tree-optimization/60849] bogus comparison result type

2014-04-15 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60849 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC

[Bug c++/60836] New: [4.9 Regression] invalid PHI argument and ICE in verify_gimple

2014-04-13 Thread ppluzhnikov at google dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Google ref: b/14002147 Using current trunk @r209347 gcc -c -O2 t.ii echo OK OK gcc -c -O2 t.ii -ftree-vectorize t.ii: In function ‘double norm_(const int

[Bug preprocessor/60736] Crash in preprocessor including stdc-predef.h when it does not exist on glibc-based systems

2014-04-01 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60736 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC

[Bug c++/60713] New: [4.8/4.9 regression] ICE in iterative_hash_expr

2014-03-30 Thread ppluzhnikov at google dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Google ref: b/13644122 Reproduces with current trunk (r208944): g++ -c -std=c++11 t.cc echo ok ok g++ -c -std=c++11 t.cc -O2 t.cc: In member function ‘void x6::x7()’: t.cc:20:7: internal

[Bug c++/57493] Incorrect name lookup for range loop

2014-03-28 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57493 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added Resolution|FIXED |DUPLICATE

[Bug c++/57493] Incorrect name lookup for range loop

2014-03-28 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57493 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/54430] [C++11] For-Loop: Scope of iterating variable begins too early

2014-03-28 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54430 --- Comment #3 from Paul Pluzhnikov ppluzhnikov at google dot com --- From PR57493: Google ref: b/9229787

[Bug c++/54430] [C++11] For-Loop: Scope of iterating variable begins too early

2014-03-28 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54430 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC

[Bug tree-optimization/57199] [4.8/4.9 Regression] Bogus warning: iteration NNNN invokes undefined behavior -Waggressive-loop-optimizations

2014-03-26 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57199 --- Comment #8 from Paul Pluzhnikov ppluzhnikov at google dot com --- (In reply to Mikhail Veltishchev from comment #7) Please, can you explain how you fixed this? We have almost the same problem. Here is the fix we deployed (test case from

[Bug tree-optimization/60656] New: [4.8/4.9 regression] x86 vectorization produces wrong code

2014-03-25 Thread ppluzhnikov at google dot com
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Current trunk (r208813) and gcc-4.8 are affected, 4.7 does not appear to be. gcc -O0 t.c ./a.out 500450210036 gcc -O3 t.c ./a.out 500450200033

[Bug libstdc++/60658] New: std::atomicT* is unexpectedly not lock-free

2014-03-25 Thread ppluzhnikov at google dot com
: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Using current trunk (r208813): g++ -std=c++11 atomic.cc -latomic ./a.out a.out: atomic.cc:20: int main(): Assertion `b.is_lock_free()' failed. As far as I can tell, this is happening

[Bug c++/59295] useless warning: 'Bar' is already a friend of 'Foo' [enabled by default]

2014-03-20 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59295 --- Comment #1 from Paul Pluzhnikov ppluzhnikov at google dot com --- Still broken in current head (r208736).

[Bug c++/59295] useless warning: 'Bar' is already a friend of 'Foo' [enabled by default]

2014-03-20 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59295 --- Comment #2 from Paul Pluzhnikov ppluzhnikov at google dot com --- This appears to be a very old warning. Patch: http://gcc.gnu.org/ml/gcc-patches/2014-03/msg01123.html

[Bug c++/60420] New: [C++11] Bogus error: ‘const’ qualifiers cannot be applied to ‘int’ with lambda

2014-03-04 Thread ppluzhnikov at google dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Google ref: b/13305941 Using current (r208339) trunk: g++ -c -std=c++11 t.cc t.cc: In instantiation of ‘struct fn(Iterator, Iterator

[Bug c++/60352] New: [C++11] Bogus error: conflicting declaration 'auto i'

2014-02-26 Thread ppluzhnikov at google dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Using current trunk (r208191): g++ -c t.cc -std=c++11 t.cc:2:6: error: conflicting declaration 'auto i' auto i = j; ^ t.cc:1:12: note: previous declaration

[Bug libstdc++/60308] New: [4.9 Regression] std::deque leaks memory

2014-02-21 Thread ppluzhnikov at google dot com
: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com std::deque currently leaks memory. Test case: #include deque int main() { for (int j = 0; j 10; ++j) { const int ia[] = { 2, 3, 1, 4, 2, 1, 3, 0 }; std::dequeint d(ia, ia

  1   2   3   >