[Bug c++/67739] name clash between builtin functions and local variables when optimization is on

2015-09-28 Thread milan.durovic at ali dot com.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67739 --- Comment #4 from Milan Durovic --- Richard Biener: I've tried your suggestion. The problem is still there, although it does help with 4.8.1, when local variable is called sincosf. But the core problem is still there: the compiler generates a

[Bug c++/67739] name clash between builtin functions and local variables when optimization is on

2015-09-28 Thread milan.durovic at ali dot com.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67739 --- Comment #3 from Milan Durovic --- I think a warning is the right answer. You can't expect people to be aware of all built-in functions. I wasn't aware that there was such a function called 'sincos'. And even more importantly, the name clash

[Bug c++/67739] New: name clash between builtin functions and local variables when optimization is on

2015-09-27 Thread milan.durovic at ali dot com.au
Severity: major Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: milan.durovic at ali dot com.au Target Milestone: --- Created attachment 36404 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36404&action=edit simple test