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

2016-02-29 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68948 --- Comment #16 from Patrick Palka --- Author: ppalka Date: Tue Mar 1 01:24:44 2016 New Revision: 233838 URL: https://gcc.gnu.org/viewcvs?rev=233838=gcc=rev Log: Fix PR c++/69961 (invalid ctor call with dependent args) gcc/cp/ChangeLog:

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

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

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

2016-02-19 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68948 --- Comment #14 from Patrick Palka --- Author: ppalka Date: Fri Feb 19 17:04:29 2016 New Revision: 233563 URL: https://gcc.gnu.org/viewcvs?rev=233563=gcc=rev Log: Adjust fix PR c++/68948 gcc/cp/ChangeLog: PR c++/68948 * pt.c

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

2016-02-05 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68948 --- Comment #12 from Patrick Palka --- Created attachment 37596 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37596=edit better fix for gcc 7

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

2016-02-05 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68948 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #11 from Patrick

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

2016-02-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68948 --- Comment #13 from Jason Merrill --- Author: jason Date: Fri Feb 5 17:52:07 2016 New Revision: 233183 URL: https://gcc.gnu.org/viewcvs?rev=233183=gcc=rev Log: Make issues similar to PR c++/68948 fail loudly. * semantics.c

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

2016-02-05 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68948 --- Comment #10 from Patrick Palka --- Author: ppalka Date: Fri Feb 5 14:36:44 2016 New Revision: 233176 URL: https://gcc.gnu.org/viewcvs?rev=233176=gcc=rev Log: Fix PR c++/68948 (wrong code generation due to invalid constructor call)

[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++/68948] G++ voluntarily removes a function call with terrible side effects

2015-12-25 Thread ttr314 at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68948 --- Comment #8 from Timo Reimann --- Author of the original failing code here. I'm not too deep into the standard to be able to make a judgement on whether this should be legal code or not. (FWIW though, it compiles fine in Clang.) If the extra

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

2015-12-17 Thread basil at list dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68948 --- Comment #5 from Vasily Sukhanov --- There is an error in the line: this->delegate_.store()->RemoveLoginsByOriginAndTime( origin, base::Time::Time(), base::Time::Max(), base::Closure()); should be

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

2015-12-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68948 --- Comment #6 from Andrew Pinski --- Created attachment 37074 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37074=edit Reduced a lot This is a much more reduced testcase though most likely it can be reduced further.

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

2015-12-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68948 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2015-12-16 Thread basil at list dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68948 --- Comment #1 from Vasily Sukhanov --- Created attachment 37051 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37051=edit compressed preprocessed file I had to compress the file to fit into 1M.

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

2015-12-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68948 Andrew Pinski changed: What|Removed |Added Component|middle-end |c++ --- Comment #3 from Andrew Pinski

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

2015-12-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68948 --- Comment #4 from Andrew Pinski --- error_mark_node