[Bug c++/67364] [5/6 Regression] "accessing uninitialized member" error in constexpr context

2016-03-07 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67364 --- Comment #15 from Jason Merrill --- Author: jason Date: Mon Mar 7 14:43:14 2016 New Revision: 234028 URL: https://gcc.gnu.org/viewcvs?rev=234028=gcc=rev Log: PR c++/67364 * constexpr.c (cxx_eval_store_expression): Replace

[Bug c++/67364] [5/6 Regression] "accessing uninitialized member" error in constexpr context

2016-03-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67364 --- Comment #14 from Jason Merrill --- Author: jason Date: Sun Mar 6 06:47:22 2016 New Revision: 234013 URL: https://gcc.gnu.org/viewcvs?rev=234013=gcc=rev Log: PR c++/67364 * constexpr.c (cxx_eval_store_expression): Replace

[Bug c++/67364] [5/6 Regression] "accessing uninitialized member" error in constexpr context

2016-03-05 Thread ldionne.2 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67364 --- Comment #13 from Louis Dionne --- Actually, the problem is much worse than I thought. It turns out that with -O1, the following code does not pass the assertion: #include template struct tuple { Xn storage_;

[Bug c++/67364] [5/6 Regression] "accessing uninitialized member" error in constexpr context

2016-03-05 Thread ldionne.2 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67364 --- Comment #12 from Louis Dionne --- The following code still fails to compile on GCC trunk: template struct tuple { Xn storage_; constexpr tuple(Xn const& xn) : storage_(xn) { } template

[Bug c++/67364] [5/6 Regression] "accessing uninitialized member" error in constexpr context

2016-03-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67364 --- Comment #11 from Jason Merrill --- Author: jason Date: Fri Mar 4 22:09:19 2016 New Revision: 233983 URL: https://gcc.gnu.org/viewcvs?rev=233983=gcc=rev Log: PR c++/67364 * constexpr.c (cxx_eval_component_reference):

[Bug c++/67364] [5/6 Regression] "accessing uninitialized member" error in constexpr context

2016-03-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67364 --- Comment #10 from Jason Merrill --- Author: jason Date: Fri Mar 4 22:08:22 2016 New Revision: 233982 URL: https://gcc.gnu.org/viewcvs?rev=233982=gcc=rev Log: PR c++/67364 * constexpr.c (cxx_eval_component_reference):

[Bug c++/67364] [5/6 Regression] "accessing uninitialized member" error in constexpr context

2016-03-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67364 --- Comment #9 from Jason Merrill --- Author: jason Date: Thu Mar 3 22:45:16 2016 New Revision: 233948 URL: https://gcc.gnu.org/viewcvs?rev=233948=gcc=rev Log: PR c++/67364 * constexpr.c (cxx_eval_component_reference): Just

[Bug c++/67364] [5/6 Regression] "accessing uninitialized member" error in constexpr context

2016-03-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67364 --- Comment #8 from Jason Merrill --- Author: jason Date: Thu Mar 3 22:43:03 2016 New Revision: 233945 URL: https://gcc.gnu.org/viewcvs?rev=233945=gcc=rev Log: PR c++/67364 * constexpr.c (cxx_eval_component_reference): Just

[Bug c++/67364] [5/6 Regression] "accessing uninitialized member" error in constexpr context

2016-02-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67364 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/67364] [5/6 Regression] "accessing uninitialized member" error in constexpr context

2016-02-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67364 --- Comment #6 from Jason Merrill --- Author: jason Date: Thu Feb 25 14:10:09 2016 New Revision: 233718 URL: https://gcc.gnu.org/viewcvs?rev=233718=gcc=rev Log: PR c++/67364 * constexpr.c (cxx_eval_component_reference): Don't

[Bug c++/67364] [5/6 Regression] "accessing uninitialized member" error in constexpr context

2016-02-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67364 --- Comment #5 from Jason Merrill --- Author: jason Date: Thu Feb 25 14:09:24 2016 New Revision: 233716 URL: https://gcc.gnu.org/viewcvs?rev=233716=gcc=rev Log: PR c++/67364 * constexpr.c (cxx_eval_component_reference): Don't

[Bug c++/67364] [5/6 Regression] "accessing uninitialized member" error in constexpr context

2016-01-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67364 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/67364] [5/6 Regression] "accessing uninitialized member" error in constexpr context

2016-01-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67364 --- Comment #4 from Marek Polacek --- Is there any practical difference between brace-init-list: constexpr closure() : member{} { } and expression-list: constexpr closure() : member() { } ?

[Bug c++/67364] [5/6 Regression] "accessing uninitialized member" error in constexpr context

2016-01-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67364 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|