[Bug c++/61562] New: Compiler crash when combining -Wstrict-overflow=4 -O2

2014-06-19 Thread zweije at xs4all dot nl
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: zweije at xs4all dot nl Created attachment 32974 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32974&action=edit Test output gcc-4.9 crashes when combining -Wstrict-overflow=4 and -O2 on the followi

[Bug c++/41779] Spurious integral promotion

2009-12-31 Thread zweije at xs4all dot nl
--- Comment #2 from zweije at xs4all dot nl 2009-12-31 11:01 --- I beg to differ. I cannot find where the standard says that unsigned short *always* promotes to int in rvalue contexts. My reading in more detail is: 1. The value of y is an lvalue of type unsigned short (5.1/7). 2

[Bug c++/41779] New: Spurious integral promotion

2009-10-21 Thread zweije at xs4all dot nl
Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zweije at xs4all dot nl GCC build triplet: x86_64-linux-gnu GCC host triplet: x86_64-linux-gnu GCC target triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41779

[Bug c++/37037] ICE on template class member function definition after explciit template class instantation

2008-08-06 Thread zweije at xs4all dot nl
--- Comment #1 from zweije at xs4all dot nl 2008-08-06 13:48 --- $g++ -o crash.o crash.cpp + /usr/bin/g++-4.3 -L/home/vincent/lib32 -o crash.o crash.cpp crash.cpp: In static member function ‘static void S::f() [with T = int]’: crash.cpp:6: instantiated from here crash.cpp:4: internal

[Bug c++/37037] New: ICE on template class member function definition after explciit template class instantation

2008-08-06 Thread zweije at xs4all dot nl
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zweije at xs4all dot nl GCC build triplet: x86_64-linux-gnu GCC host triplet: x86_64-linux-gnu GCC target triplet: x86_64-linux-

[Bug c++/33972] New: Cannot declare operator() using function typedef

2007-11-01 Thread zweije at xs4all dot nl
declare operator() using function typedef Product: gcc Version: 4.2.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zweije at xs4all dot nl