[Bug c++/70610] [6 regression] error: invalid initialization of non-const reference of type

2016-04-10 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70610 --- Comment #3 from Patrick Palka --- Not limited to operator overloads either: void bar (const int &, int &); void bar (int &, const int &); void bar (const int &, const int &); int a, b; template void foo () { bar (a + 1, b + 2); }

[Bug c++/70610] [6 regression] error: invalid initialization of non-const reference of type

2016-04-11 Thread ppalka at gcc dot gnu.org
||2016-04-11 Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #5 from Patrick Palka --- Patch

[Bug c++/70610] [6 regression] error: invalid initialization of non-const reference of type

2016-04-11 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70610 --- Comment #6 from Patrick Palka --- uhhh... here: https://gcc.gnu.org/ml/gcc-patches/2016-04/msg00482.html

[Bug c++/70610] [6 regression] error: invalid initialization of non-const reference of type

2016-04-12 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70610 --- Comment #7 from Patrick Palka --- Author: ppalka Date: Wed Apr 13 00:06:51 2016 New Revision: 234926 URL: https://gcc.gnu.org/viewcvs?rev=234926&root=gcc&view=rev Log: Fix PR c++/70610 (wrong overload resolution during template processing)

[Bug c++/70610] [6 regression] error: invalid initialization of non-const reference of type

2016-04-12 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70610 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/70543] [6 Regression] wrong non-const error for enable_if and constexpr function

2016-04-13 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70543 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug c++/70616] [4.9/5/6/7 Regression] ICE on valid code on x86_64-linux-gnu in build_base_path, at cp/class.c:303

2016-04-15 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70616 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug c++/70616] [4.9/5/6/7 Regression] ICE on valid code on x86_64-linux-gnu in build_base_path, at cp/class.c:303

2016-04-15 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70616 --- Comment #3 from Patrick Palka --- The following test case where test is not a function template does not ICE but it aborts at runtime because a == 2 at the end of execution: static int a; struct A { virtual ~A () { a++; } }; struct B :

[Bug c++/70241] Enumerators introduced out-of-line by extending an opaque enum definition always get private accessibility

2016-04-26 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70241 --- Comment #2 from Patrick Palka --- Author: ppalka Date: Tue Apr 26 22:24:43 2016 New Revision: 235456 URL: https://gcc.gnu.org/viewcvs?rev=235456&root=gcc&view=rev Log: Fix PR c++/70241 (inconsistent access with in-class enumeration) gcc/cp/

[Bug c++/70121] Spurious warning and crash when returning a reference from lambda

2016-04-27 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70121 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/53157] within lambda, error: lvalue required as unary ‘&’ operand

2016-04-27 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53157 Patrick Palka changed: What|Removed |Added CC||blastrock at free dot fr --- Comment #3

[Bug c++/70822] New: bogus "error: lvalue required as unary ‘&’ operand" with C++14 parenthesized SCOPE_REF

2016-04-27 Thread ppalka at gcc dot gnu.org
s: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppalka at gcc dot gnu.org Target Milestone: --- $ cat scope.cc struct a { static int b; }; template void foo () { &(a::b); } $ g++ -

[Bug c++/70822] [6/7 Regression] bogus "error: lvalue required as unary ‘&’ operand" with C++14 parenthesized SCOPE_REF

2016-04-28 Thread ppalka at gcc dot gnu.org
||2016-04-28 Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org Summary|bogus "error: lvalue|[6/7 Regression] bogus |required as unary ‘&’ |"error: lvalue required as |opera

[Bug middle-end/70879] New: Missed jump threading opportunity with multiple != conditions

2016-04-29 Thread ppalka at gcc dot gnu.org
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: ppalka at gcc dot gnu.org Target Milestone: --- Test case: void bar (void); void baz (void); void foo (int a) { if (a != 5 && a != 10) bar (); if (a == 10)

[Bug middle-end/70920] New: if ((intptr_t)ptr == 0) doesn't get simplified to if (ptr == 0)

2016-05-02 Thread ppalka at gcc dot gnu.org
ormal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: ppalka at gcc dot gnu.org Target Milestone: --- In the following test case, the call to baz remains in the final optimized code even though it's dead code. #include void

[Bug c++/70106] [4.9/5 Regression][C++11 or above] adding parenthesis [cerr << (var)] cause error: invalid static_cast from type 'const size_t {aka const long unsigned int}' to type 'size_t& {aka long

2016-05-26 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70106 --- Comment #7 from Patrick Palka --- Author: ppalka Date: Thu May 26 18:17:43 2016 New Revision: 236792 URL: https://gcc.gnu.org/viewcvs?rev=236792&root=gcc&view=rev Log: Fix PR c++/70822 (bogus error with parenthesized SCOPE_REF) gcc/cp/Chang

[Bug c++/70822] [6/7 Regression] bogus "error: lvalue required as unary ‘&’ operand" with C++14 parenthesized SCOPE_REF

2016-05-26 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70822 --- Comment #2 from Patrick Palka --- Author: ppalka Date: Thu May 26 18:17:43 2016 New Revision: 236792 URL: https://gcc.gnu.org/viewcvs?rev=236792&root=gcc&view=rev Log: Fix PR c++/70822 (bogus error with parenthesized SCOPE_REF) gcc/cp/Chang

[Bug c++/70822] [6 Regression] bogus "error: lvalue required as unary ‘&’ operand" with C++14 parenthesized SCOPE_REF

2016-05-26 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70822 Patrick Palka changed: What|Removed |Added Target Milestone|--- |6.2 Summary|[6/7 Regression]

[Bug target/71336] New: Suboptimal x86 code generated for "(a & 1) ? (CST1 + CST2) : CST1"

2016-05-29 Thread ppalka at gcc dot gnu.org
verity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ppalka at gcc dot gnu.org Target Milestone: --- $ cat test.c int test(int a) { return a & 1 ? 7 : 3; } $ gcc -O2 -o- -S test.c test: .LFB0: .cfi_star

[Bug tree-optimization/71314] test case gcc.dg/tree-ssa/ssa-thread-14.c fails starting with its introduction in r235653

2016-05-29 Thread ppalka at gcc dot gnu.org
||2016-05-29 Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Patrick Palka --- I suppose the test is sensitive to branching cost like ssa-thread-11.c is so it should probably

[Bug tree-optimization/71077] [7 Regression] gcc -lto raises ICE

2016-05-29 Thread ppalka at gcc dot gnu.org
at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/71330] [6/7 Regression] Compile time regression

2016-05-30 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71330 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug c++/71330] [6/7 Regression] Compile time regression

2016-05-31 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71330 --- Comment #11 from Patrick Palka --- (In reply to Patrick Palka from comment #10) > I think the problem is with cp_fold_function() which does > > cp_walk_tree (&DECL_SAVED_TREE (fndecl), cp_fold_r, NULL, NULL); > > and cp_fold_r is itself r

[Bug tree-optimization/71077] [7 Regression] gcc -lto raises ICE

2016-05-31 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71077 --- Comment #3 from Patrick Palka --- Author: ppalka Date: Wed Jun 1 02:36:27 2016 New Revision: 236973 URL: https://gcc.gnu.org/viewcvs?rev=236973&root=gcc&view=rev Log: Fix PR tree-optimization/71077 gcc/ChangeLog: PR tree-optimizat

[Bug tree-optimization/71314] test case gcc.dg/tree-ssa/ssa-thread-14.c fails starting with its introduction in r235653

2016-05-31 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71314 --- Comment #2 from Patrick Palka --- Author: ppalka Date: Wed Jun 1 02:37:50 2016 New Revision: 236974 URL: https://gcc.gnu.org/viewcvs?rev=236974&root=gcc&view=rev Log: Fix PR tree-optimization/71314 gcc/testsuite/ChangeLog: PR tree

[Bug tree-optimization/71314] test case gcc.dg/tree-ssa/ssa-thread-14.c fails starting with its introduction in r235653

2016-05-31 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71314 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/71077] [7 Regression] gcc -lto raises ICE

2016-05-31 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71077 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/70847] [6/7 Regression] exponential time in cp_fold for chained virtual function calls

2016-06-03 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70847 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug c++/70847] [6/7 Regression] exponential time in cp_fold for chained virtual function calls

2016-06-03 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70847 --- Comment #11 from Patrick Palka --- (In reply to Jakub Jelinek from comment #10) > Note, the patch has been successfully bootstrapped/regtested on x86_64-linux > and i686-linux. > > I don't think such shared trees should be occurring signific

[Bug c++/70847] [6/7 Regression] exponential time in cp_fold for chained virtual function calls

2016-06-03 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70847 --- Comment #14 from Patrick Palka --- (In reply to Jakub Jelinek from comment #13) > Created attachment 38638 [details] > gcc7-pr70847.patch > > So, shall I test this version? > As added bonus, if cp_fold returns for different stmts the same re

[Bug c++/27100] ICE with multiple friend declarations

2016-06-03 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27100 --- Comment #8 from Patrick Palka --- Author: ppalka Date: Fri Jun 3 20:42:08 2016 New Revision: 237078 URL: https://gcc.gnu.org/viewcvs?rev=237078&root=gcc&view=rev Log: Fix PR c++/27100 gcc/cp/ChangeLog: PR c++/27100 * decl.

[Bug c++/27100] ICE with multiple friend declarations

2016-06-03 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27100 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/65608] [meta-bug] friend issues

2016-06-03 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65608 Bug 65608 depends on bug 27100, which changed state. Bug 27100 Summary: ICE with multiple friend declarations https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27100 What|Removed |Added --

[Bug sanitizer/81601] [7/8 Regression] incorrect Warray-bounds warning with -fsanitize

2017-07-30 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81601 --- Comment #5 from Patrick Palka --- So what's the right way to fix this? To move optimize_bit_field_compare() from fold_binary to match.pd so that the conditions on

[Bug sanitizer/81601] [7/8 Regression] incorrect Warray-bounds warning with -fsanitize

2017-07-30 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81601 --- Comment #6 from Patrick Palka --- (In reply to Patrick Palka from comment #5) > So what's the right way to fix this? To move optimize_bit_field_compare() > from fold_binary to match.pd so that the conditions on ... so that conditions on tp-

[Bug tree-optimization/78819] [7 Regression] Wrong code with VRP caused by register assertions along default switch labels

2016-12-16 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78819 --- Comment #6 from Patrick Palka --- Thanks Marek for fixing this.

[Bug lto/78908] [6/7 Regression] lto1: internal compiler error: in lto_read_decls, at lto/lto.c:1814

2016-12-23 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78908 --- Comment #3 from Patrick Palka --- Interesting. The patch in question just delays overloaded operator call resolution to template instantiation time as opposed to template definition time, like what was already being done for regular function

[Bug c++/79360] [5.4/6/7 Regression] ICE with NSDMI and enum in union

2017-02-03 Thread ppalka at gcc dot gnu.org
at gcc dot gnu.org |ppalka at gcc dot gnu.org --- Comment #2 from Patrick Palka --- (In reply to Martin Liška from comment #1) > Confirmed, started with r234443. Oops, I didn't know that TYPE_FIELDS could contain things other than FIELD_DECLs. Testing this: diff --git a/gcc/cp/t

[Bug c++/79360] [5/6/7 Regression] ICE with NSDMI and enum in union

2017-02-06 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79360 --- Comment #4 from Patrick Palka --- Author: ppalka Date: Tue Feb 7 02:20:48 2017 New Revision: 245239 URL: https://gcc.gnu.org/viewcvs?rev=245239&root=gcc&view=rev Log: Fix PR c++/79360 gcc/cp/ChangeLog: PR c++/79360 * typec

[Bug c++/77639] [6/7 Regression] ICE on x86_64-linux-gnu (internal compiler error: tree check: accessed elt 1 of tree_vec with 0 elts in unify, at cp/pt.c:19674)

2016-09-19 Thread ppalka at gcc dot gnu.org
at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/77639] [6/7 Regression] ICE on x86_64-linux-gnu (internal compiler error: tree check: accessed elt 1 of tree_vec with 0 elts in unify, at cp/pt.c:19674)

2016-09-19 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77639 --- Comment #3 from Patrick Palka --- Author: ppalka Date: Mon Sep 19 18:12:36 2016 New Revision: 240245 URL: https://gcc.gnu.org/viewcvs?rev=240245&root=gcc&view=rev Log: Fix PR c++/77639 (ICE during error recovery) gcc/cp/ChangeLog:

[Bug c++/64527] Constructor for empty struct not called in some situations

2015-04-15 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64527 ppalka at gcc dot gnu.org changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

[Bug c++/64527] Constructor for empty struct not called in some situations

2015-04-17 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64527 --- Comment #3 from ppalka at gcc dot gnu.org --- Author: ppalka Date: Fri Apr 17 12:14:24 2015 New Revision: 222176 URL: https://gcc.gnu.org/viewcvs?rev=222176&root=gcc&view=rev Log: Fix PR c++/64527 gcc/ PR c++/64527 * gi

[Bug c++/64527] Constructor for empty struct not called in some situations

2015-04-17 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64527 ppalka at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug c/66454] Common -Wmisleading-indentation false-positive triggered in the Linux kernel

2015-09-22 Thread ppalka at gcc dot gnu.org
||ppalka at gcc dot gnu.org Resolution|--- |FIXED --- Comment #3 from Patrick Palka --- Fixed as part of r226479.

[Bug debug/67192] Backward-goto in loop can get wrong line number

2015-09-22 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67192 --- Comment #12 from Patrick Palka --- (In reply to Manuel López-Ibáñez from comment #10) > (In reply to Manuel López-Ibáñez from comment #8) > > Does GCC work at all if input_location is saved and restored in > > c_parser_peek_token? I guess not

[Bug c/67819] -Wduplicated-cond should take macros into account

2015-10-02 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67819 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug c/67819] -Wduplicated-cond should take macros into account

2015-10-02 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67819 --- Comment #2 from Patrick Palka --- (In reply to Patrick Palka from comment #1) > Sorry if this has been discussed before, but can't you use > linemap_location_from_macro_expansion_p to check whether the conditional > contains a macro expansion

[Bug tree-optimization/68557] New: Missed x86 peephole optimization for multiplying by a bool

2015-11-26 Thread ppalka at gcc dot gnu.org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ppalka at gcc dot gnu.org Target Milestone: --- On x86 the following code void bar (int x); void baz (int x, bool b) { bar (x * b); } is compiled to bar: movzbl

[Bug tree-optimization/63748] [4.9/5 Regression] wrong may be used uninitialized warning (abnormal edges)

2014-11-10 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63748 --- Comment #7 from ppalka at gcc dot gnu.org --- Author: ppalka Date: Mon Nov 10 20:43:40 2014 New Revision: 217317 URL: https://gcc.gnu.org/viewcvs?rev=217317&root=gcc&view=rev Log: 2014-11-10 Patrick Palka gcc/ PR middle-e

[Bug middle-end/63790] [5 Regression] Tests XFAILed because of the match-and-simplify merge

2014-11-16 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63790 --- Comment #2 from ppalka at gcc dot gnu.org --- Author: ppalka Date: Mon Nov 17 02:01:36 2014 New Revision: 217638 URL: https://gcc.gnu.org/viewcvs?rev=217638&root=gcc&view=rev Log: Always combine comparisons or conversions from

[Bug tree-optimization/63986] [5 Regression][SH] gcc.target/sh/pr51244-15.c failures

2014-11-20 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63986 --- Comment #5 from ppalka at gcc dot gnu.org --- (In reply to Richard Biener from comment #3) > Ok, now already existing forwprop code gets fed with > > : > _3 = a_2(D) == 0; > x_4 = (char) _3; > _7 = ~_3; > _

[Bug c/45584] typeof with casting from const to non-const does not work properly

2014-08-19 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45584 --- Comment #2 from ppalka at gcc dot gnu.org --- Author: ppalka Date: Tue Aug 19 14:14:15 2014 New Revision: 214151 URL: https://gcc.gnu.org/viewcvs?rev=214151&root=gcc&view=rev Log: 2014-08-19 Patrick Palka PR c/45584 * c-

[Bug c/68764] New: C frontend does not fold away trivial expressions that refer to const variables

2015-12-07 Thread ppalka at gcc dot gnu.org
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ppalka at gcc dot gnu.org Target Milestone: --- In the following snippet, one would expect foo and bar to get folded to the same code, but that is not the case. void dummy

[Bug c/68764] C frontend does not fold away trivial expressions that refer to const variables

2015-12-07 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68764 --- Comment #2 from Patrick Palka --- (In reply to Marek Polacek from comment #1) > I agree that this is weird but this is something the C FE likely shouldn't > do. One (possibly minor) obstacle with doing it in the middle-end is that the DECL_I

[Bug c++/53223] [c++0x] auto&& and operator* don't mix inside templates

2015-12-09 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53223 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug c++/53223] [c++0x] auto&& and operator* don't mix inside templates

2015-12-09 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53223 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/68831] [6 Regression] Superfluous -Waddress warning for C++ delete

2015-12-10 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68831 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/67550] [5/6 regression] Initialization of local struct array with elements of global array yields zeros instead of initializer values

2015-12-10 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67550 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug c++/53223] [c++0x] auto&& and operator* don't mix inside templates

2015-12-14 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53223 --- Comment #13 from Patrick Palka --- Author: ppalka Date: Tue Dec 15 03:33:53 2015 New Revision: 231640 URL: https://gcc.gnu.org/viewcvs?rev=231640&root=gcc&view=rev Log: Fix PR c++/21802 (two-stage name lookup fails for operators) gcc/cp/Cha

[Bug c++/21802] Two-stage name lookup fails for operators

2015-12-14 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21802 --- Comment #6 from Patrick Palka --- Author: ppalka Date: Tue Dec 15 03:33:53 2015 New Revision: 231640 URL: https://gcc.gnu.org/viewcvs?rev=231640&root=gcc&view=rev Log: Fix PR c++/21802 (two-stage name lookup fails for operators) gcc/cp/Chan

[Bug c++/24666] [meta-bug] arrays decay to pointers too early

2015-12-16 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24666 --- Comment #2 from Patrick Palka --- Author: ppalka Date: Thu Dec 17 04:01:47 2015 New Revision: 231736 URL: https://gcc.gnu.org/viewcvs?rev=231736&root=gcc&view=rev Log: Fix some blockers of PR c++/24666 (arrays decay to pointers too early) g

[Bug c++/66895] Array to pointer decay in list initialization

2015-12-16 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66895 --- Comment #1 from Patrick Palka --- Author: ppalka Date: Thu Dec 17 04:01:47 2015 New Revision: 231736 URL: https://gcc.gnu.org/viewcvs?rev=231736&root=gcc&view=rev Log: Fix some blockers of PR c++/24666 (arrays decay to pointers too early) g

[Bug c++/41426] User defined conversion on return ignores array types

2015-12-16 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41426 --- Comment #2 from Patrick Palka --- Author: ppalka Date: Thu Dec 17 04:01:47 2015 New Revision: 231736 URL: https://gcc.gnu.org/viewcvs?rev=231736&root=gcc&view=rev Log: Fix some blockers of PR c++/24666 (arrays decay to pointers too early) g

[Bug c++/16333] More array vs ptr stuff

2015-12-16 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16333 --- Comment #2 from Patrick Palka --- Author: ppalka Date: Thu Dec 17 04:01:47 2015 New Revision: 231736 URL: https://gcc.gnu.org/viewcvs?rev=231736&root=gcc&view=rev Log: Fix some blockers of PR c++/24666 (arrays decay to pointers too early) g

[Bug bootstrap/59878] [4.9 Regression] ISL from cloog does not work with trunk

2015-12-16 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59878 --- Comment #7 from Patrick Palka --- Author: ppalka Date: Thu Dec 17 04:01:47 2015 New Revision: 231736 URL: https://gcc.gnu.org/viewcvs?rev=231736&root=gcc&view=rev Log: Fix some blockers of PR c++/24666 (arrays decay to pointers too early) g

[Bug bootstrap/59878] [4.9 Regression] ISL from cloog does not work with trunk

2015-12-17 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59878 --- Comment #8 from Patrick Palka --- Author: ppalka Date: Thu Dec 17 13:30:04 2015 New Revision: 231755 URL: https://gcc.gnu.org/viewcvs?rev=231755&root=gcc&view=rev Log: Fix wrong PR references PR c++/59878 -> PR c++/59879 Added: trunk/

[Bug c++/59879] arrays in return statements or default arguments decay too early

2015-12-17 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59879 --- Comment #1 from Patrick Palka --- Author: ppalka Date: Thu Dec 17 13:30:04 2015 New Revision: 231755 URL: https://gcc.gnu.org/viewcvs?rev=231755&root=gcc&view=rev Log: Fix wrong PR references PR c++/59878 -> PR c++/59879 Added: trunk/

[Bug c++/68831] [6 Regression] Superfluous -Waddress warning for C++ delete

2015-12-17 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68831 --- Comment #4 from Patrick Palka --- Author: ppalka Date: Fri Dec 18 02:25:39 2015 New Revision: 231798 URL: https://gcc.gnu.org/viewcvs?rev=231798&root=gcc&view=rev Log: Fix PR c++/68831 (superfluous -Waddress warning for C++ delete) gcc/cp/C

[Bug c++/68831] [6 Regression] Superfluous -Waddress warning for C++ delete

2015-12-17 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68831 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/68978] [6 Regression] bogus error: lvalue required as left operand of assignment

2015-12-18 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68978 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/68978] [6 Regression] bogus error: lvalue required as left operand of assignment

2015-12-18 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68978 --- Comment #3 from Patrick Palka --- Author: ppalka Date: Fri Dec 18 23:16:33 2015 New Revision: 231841 URL: https://gcc.gnu.org/viewcvs?rev=231841&root=gcc&view=rev Log: Fix PR c++/68978 (bogus error: lvalue required as left operand of assignm

[Bug c++/68978] [6 Regression] bogus error: lvalue required as left operand of assignment

2015-12-18 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68978 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/69056] GCC failed with variadic template and pointer to member function

2015-12-26 Thread ppalka at gcc dot gnu.org
||2015-12-26 CC||ppalka at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Patrick Palka --- Reduced test case

[Bug c++/68948] G++ voluntarily removes a function call with terrible side effects

2015-12-30 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68948 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug c++/69029] [6 Regression] bogus -Wmisleading-indentation warning on one-line loops

2016-01-10 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69029 --- Comment #3 from Patrick Palka --- Author: ppalka Date: Sun Jan 10 16:39:39 2016 New Revision: 232202 URL: https://gcc.gnu.org/viewcvs?rev=232202&root=gcc&view=rev Log: Fix -Wmisleading indentation false-positive for do-while statement gcc/c

[Bug c++/68936] [6 Regression] ICE: tree check: expected call_expr, have target_expr in build_min_non_dep_call_vec, at cp/tree.c:2744

2016-01-14 Thread ppalka at gcc dot gnu.org
at gcc dot gnu.org |ppalka at gcc dot gnu.org --- Comment #2 from Patrick Palka --- Thanks for the ping.

[Bug c++/69091] [6 Regrssion] valid code with operator| causes ICE "tree check: accessed elt 2 of tree_vec with 1 elts in tsubst, at cp/pt.c:12851"

2016-01-15 Thread ppalka at gcc dot gnu.org
||ppalka at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/68936] [6 Regression] ICE: tree check: expected call_expr, have target_expr in build_min_non_dep_call_vec, at cp/tree.c:2744

2016-01-15 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68936 --- Comment #3 from Patrick Palka --- Author: ppalka Date: Sat Jan 16 02:27:36 2016 New Revision: 232461 URL: https://gcc.gnu.org/viewcvs?rev=232461&root=gcc&view=rev Log: Fix PR c++/68936 gcc/cp/ChangeLog: PR c++/68936 * tree.

[Bug c++/69091] [6 Regrssion] valid code with operator| causes ICE "tree check: accessed elt 2 of tree_vec with 1 elts in tsubst, at cp/pt.c:12851"

2016-01-15 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69091 --- Comment #2 from Patrick Palka --- Author: ppalka Date: Sat Jan 16 02:37:09 2016 New Revision: 232463 URL: https://gcc.gnu.org/viewcvs?rev=232463&root=gcc&view=rev Log: Fix PR c++/69091 (ICE with operator overload having 'auto' return type)

[Bug c++/69091] [6 Regrssion] valid code with operator| causes ICE "tree check: accessed elt 2 of tree_vec with 1 elts in tsubst, at cp/pt.c:12851"

2016-01-15 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69091 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/68936] [6 Regression] ICE: tree check: expected call_expr, have target_expr in build_min_non_dep_call_vec, at cp/tree.c:2744

2016-01-15 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68936 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/11858] Name lookup error ignored when instantiated from expression within sizeof() in template function parameter

2016-01-18 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11858 --- Comment #6 from Patrick Palka --- Author: ppalka Date: Tue Jan 19 00:19:16 2016 New Revision: 232547 URL: https://gcc.gnu.org/viewcvs?rev=232547&root=gcc&view=rev Log: Fix the remaining PR c++/24666 blockers (arrays decay to pointers too ear

[Bug c++/24663] Template instantiation generating a zero-sized array doesn't fail

2016-01-18 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24663 --- Comment #3 from Patrick Palka --- Author: ppalka Date: Tue Jan 19 00:19:16 2016 New Revision: 232547 URL: https://gcc.gnu.org/viewcvs?rev=232547&root=gcc&view=rev Log: Fix the remaining PR c++/24666 blockers (arrays decay to pointers too ear

[Bug c++/24666] [meta-bug] arrays decay to pointers too early

2016-01-18 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24666 --- Comment #3 from Patrick Palka --- Author: ppalka Date: Tue Jan 19 00:19:16 2016 New Revision: 232547 URL: https://gcc.gnu.org/viewcvs?rev=232547&root=gcc&view=rev Log: Fix the remaining PR c++/24666 blockers (arrays decay to pointers too ear

[Bug c++/24664] Template instantiation generating an array of voids doesn't fail

2016-01-18 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24664 --- Comment #3 from Patrick Palka --- Author: ppalka Date: Tue Jan 19 00:19:16 2016 New Revision: 232547 URL: https://gcc.gnu.org/viewcvs?rev=232547&root=gcc&view=rev Log: Fix the remaining PR c++/24666 blockers (arrays decay to pointers too ear

[Bug c++/24663] Template instantiation generating a zero-sized array doesn't fail

2016-01-19 Thread ppalka at gcc dot gnu.org
||ppalka at gcc dot gnu.org Resolution|--- |FIXED Known to fail|| --- Comment #4 from Patrick Palka --- Fixed for GCC 6.

[Bug c++/24666] [meta-bug] arrays decay to pointers too early

2016-01-19 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24666 Bug 24666 depends on bug 24663, which changed state. Bug 24663 Summary: Template instantiation generating a zero-sized array doesn't fail https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24663 What|Removed |Added -

[Bug c++/24666] [meta-bug] arrays decay to pointers too early

2016-01-19 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24666 Bug 24666 depends on bug 11858, which changed state. Bug 11858 Summary: Name lookup error ignored when instantiated from expression within sizeof() in template function parameter https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11858 What

[Bug c++/24664] Template instantiation generating an array of voids doesn't fail

2016-01-19 Thread ppalka at gcc dot gnu.org
||ppalka at gcc dot gnu.org Resolution|--- |FIXED Known to fail|| --- Comment #4 from Patrick Palka --- Fixed for GCC 6.

[Bug c++/24666] [meta-bug] arrays decay to pointers too early

2016-01-19 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24666 Bug 24666 depends on bug 24664, which changed state. Bug 24664 Summary: Template instantiation generating an array of voids doesn't fail https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24664 What|Removed |Added --

[Bug c++/11858] Name lookup error ignored when instantiated from expression within sizeof() in template function parameter

2016-01-19 Thread ppalka at gcc dot gnu.org
||ppalka at gcc dot gnu.org Resolution|--- |FIXED --- Comment #7 from Patrick Palka --- Fixed for GCC 6.

[Bug c++/11858] Name lookup error ignored when instantiated from expression within sizeof() in template function parameter

2016-01-24 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11858 --- Comment #8 from Patrick Palka --- Author: ppalka Date: Sun Jan 24 17:45:21 2016 New Revision: 232778 URL: https://gcc.gnu.org/viewcvs?rev=232778&root=gcc&view=rev Log: Revert "Fix the remaining PR c++/24666 blockers" gcc/cp/ChangeLog:

[Bug c++/24666] [meta-bug] arrays decay to pointers too early

2016-01-24 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24666 --- Comment #4 from Patrick Palka --- Author: ppalka Date: Sun Jan 24 17:45:21 2016 New Revision: 232778 URL: https://gcc.gnu.org/viewcvs?rev=232778&root=gcc&view=rev Log: Revert "Fix the remaining PR c++/24666 blockers" gcc/cp/ChangeLog:

[Bug c++/24663] Template instantiation generating a zero-sized array doesn't fail

2016-01-24 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24663 --- Comment #5 from Patrick Palka --- Author: ppalka Date: Sun Jan 24 17:45:21 2016 New Revision: 232778 URL: https://gcc.gnu.org/viewcvs?rev=232778&root=gcc&view=rev Log: Revert "Fix the remaining PR c++/24666 blockers" gcc/cp/ChangeLog:

[Bug c++/24664] Template instantiation generating an array of voids doesn't fail

2016-01-24 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24664 --- Comment #5 from Patrick Palka --- Author: ppalka Date: Sun Jan 24 17:45:21 2016 New Revision: 232778 URL: https://gcc.gnu.org/viewcvs?rev=232778&root=gcc&view=rev Log: Revert "Fix the remaining PR c++/24666 blockers" gcc/cp/ChangeLog:

[Bug c++/11858] Name lookup error ignored when instantiated from expression within sizeof() in template function parameter

2016-01-24 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11858 Patrick Palka changed: What|Removed |Added Status|RESOLVED|NEW Resolution|FIXED

[Bug c++/24666] [meta-bug] arrays decay to pointers too early

2016-01-24 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24666 Bug 24666 depends on bug 11858, which changed state. Bug 11858 Summary: Name lookup error ignored when instantiated from expression within sizeof() in template function parameter https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11858 What

[Bug c++/24663] Template instantiation generating a zero-sized array doesn't fail

2016-01-24 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24663 Patrick Palka changed: What|Removed |Added Status|RESOLVED|NEW Resolution|FIXED

[Bug c++/24664] Template instantiation generating an array of voids doesn't fail

2016-01-24 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24664 Patrick Palka changed: What|Removed |Added Status|RESOLVED|NEW Resolution|FIXED

<    1   2   3   4   5   6   7   8   9   10   >