[Bug other/88499] Check for less than zero removed before floating point division causes division by zero (fast-math mode)

2018-12-14 Thread fuscated at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88499 --- Comment #3 from Teodor Petrov --- @Marc Glisse: Would it be possible to give an explanation why this is not a good idea? Link to some kind of a documentation which explains that this behaviour is expected?

[Bug other/88499] Check for less than zero removed before floating point division causes division by zero (fast-math mode)

2018-12-14 Thread fuscated at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88499 --- Comment #1 from Teodor Petrov --- Here are the commands used to reproduce the bug: $ g++ -g -fPIC -Ofast -msse4.2 -std=c++11 -ffunction-sections -fdata-sections -ffast-math -fvisibility=hidden -fexceptions -Wno-c++11-extensions gcc_division.

[Bug other/88499] New: Check for less than zero removed before floating point division causes division by zero (fast-math mode)

2018-12-14 Thread fuscated at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: fuscated at gmail dot com Target Milestone: --- Created attachment 45237 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45237&acti

[Bug c++/70275] New: -w disables all -Werror flags

2016-03-19 Thread fuscated at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: fuscated at gmail dot com Target Milestone: --- It happens with all versions I have access to (4.4.7, 4.8.x, 4.9.x, 5.3.0). To reproduce: > cat c++noreturn.cpp int test() {} int main() { return 0; } > g++-5.3.0 c++noretu

[Bug c++/63619] warning: deleting ‘void*’ is undefined has no -W flag

2014-10-23 Thread fuscated at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63619 --- Comment #4 from Teodor Petrov --- FYI: clang fixed the same issue by adding it to -Wdelete-incomplete

[Bug c++/63619] warning: deleting ‘void*’ is undefined has no -W flag

2014-10-22 Thread fuscated at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63619 --- Comment #3 from Teodor Petrov --- We already use -Werror=delete-incomplete, so it will be easier for us, because it will just work. But if you ask me (as a user) it is best to just change the standard to force these two as errors. I know thi

[Bug c++/63619] New: warning: deleting ‘void*’ is undefined has no -W flag

2014-10-22 Thread fuscated at gmail dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fuscated at gmail dot com Save this snippet in delete_void.cpp int main() { void *a=new char[100]; delete [] a; return 0; } $ g++ -fdiagnostics-show-option delete_void.cpp delete_void.cpp: In function ‘int

[Bug c++/58114] allow turning the warning about deleting a pointer of incomplete type into an error

2014-04-17 Thread fuscated at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58114 --- Comment #4 from Teodor Petrov --- @Jonathan Wakely: Do you think the ISO C++ standard people will be willing to change this behaviour for a future standard? I'm asking in order to know if there is any point in starting a conversation with them

[Bug c++/58114] allow turning the warning about deleting a pointer of incomplete type into an error

2014-04-16 Thread fuscated at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58114 Teodor Petrov changed: What|Removed |Added CC||fuscated at gmail dot com --- Comment #1

[Bug other/19165] (Natural) language independent error / warning classification

2013-01-30 Thread fuscated at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19165 --- Comment #17 from Teodor Petrov 2013-01-30 20:34:00 UTC --- (In reply to comment #16) > > If you have some developer power to spare, it may be worthwhile to try to > tackle this yourself. Otherwise I am afraid this will never be imple

[Bug other/19165] (Natural) language independent error / warning classification

2013-01-30 Thread fuscated at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19165 Teodor Petrov changed: What|Removed |Added CC||fuscated at gmail dot com

[Bug libstdc++/38238] New: std::tr1::bind fails to compile with pointer to member function

2008-11-23 Thread fuscated at gmail dot com
trov -- Summary: std::tr1::bind fails to compile with pointer to member function Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: fuscated at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38238