[Bug c++/71973] c++ handles built-in functions inconsistently

2017-10-07 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71973 --- Comment #10 from Bernd Edlinger --- (In reply to Paolo Carlini from comment #9) > I see, maybe for clarity you could open a separate enhancement-type PR. Done: pr82466

[Bug c++/71973] c++ handles built-in functions inconsistently

2017-10-07 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71973 --- Comment #9 from Paolo Carlini --- I see, maybe for clarity you could open a separate enhancement-type PR.

[Bug c++/71973] c++ handles built-in functions inconsistently

2017-10-07 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71973 --- Comment #8 from Bernd Edlinger --- Yes. fixed in 7.1.0 However, I wonder if I should do something when a variable is declared with the same name as a builtin function. Currently that aborts at runtime, but while C does warn, C++ does not

[Bug c++/71973] c++ handles built-in functions inconsistently

2017-10-07 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71973 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/71973] c++ handles built-in functions inconsistently

2016-11-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71973 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Mon Nov 21 18:55:11 2016 New Revision: 242677 URL: https://gcc.gnu.org/viewcvs?rev=242677=gcc=rev Log: PR c++/71973 * g++.dg/torture/pr53321.C (size_t): Use __SIZE_TYPE__

[Bug c++/71973] c++ handles built-in functions inconsistently

2016-11-21 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71973 --- Comment #5 from Bernd Edlinger --- Author: edlinger Date: Mon Nov 21 14:17:05 2016 New Revision: 242662 URL: https://gcc.gnu.org/viewcvs?rev=242662=gcc=rev Log: gcc: 2016-11-21 Bernd Edlinger PR

[Bug c++/71973] c++ handles built-in functions inconsistently

2016-11-04 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71973 --- Comment #4 from Bernd Edlinger --- Author: edlinger Date: Fri Nov 4 15:30:52 2016 New Revision: 241846 URL: https://gcc.gnu.org/viewcvs?rev=241846=gcc=rev Log: 2016-11-04 Bernd Edlinger PR c++/71973

[Bug c++/71973] c++ handles built-in functions inconsistently

2016-08-18 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71973 --- Comment #3 from Bernd Edlinger --- Created attachment 39472 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39472=edit possible patch Oh, yeah! Boot-strap OK. The eh-code is OK. BUT: the warning triggers a few hundred times, within

[Bug c++/71973] c++ handles built-in functions inconsistently

2016-07-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71973 Martin Sebor changed: What|Removed |Added Keywords||accepts-invalid

[Bug c++/71973] c++ handles built-in functions inconsistently

2016-07-22 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71973 --- Comment #1 from Bernd Edlinger --- the bug goes away, if the fork signature is correct. extern "C" int fork () __attribute__((nothrow)); void bar () throw() { fork (); } does the right thing.