[Bug c++/98682] New: g++ allows goto inside statement expr

2021-01-14 Thread nbkolchin at gmail dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: nbkolchin at gmail dot com Target Milestone: --- The following obviously incorrect program compiles without error under g++: #include int main(int argc, char** argv) { goto L_bug; printf("%s, %s %s\n", "H

[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic

2019-03-25 Thread nbkolchin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431 --- Comment #38 from Nickolay Kolchin-Semyonov --- Since this is a long standing problem, maybe this limitation should be mentioned in official documentation?

[Bug c/89807] New: Incorrect -Wconversion warning when shifting uint32_t with 24

2019-03-24 Thread nbkolchin at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: nbkolchin at gmail dot com Target Milestone: --- https://godbolt.org/z/x2vI6l Sample code: #include int test(uint32_t v) { uint8_t a = (v >> 24) & 0xFF; // ERROR: produc

[Bug c++/89806] New: Different behaviour for "pragma diagnostic disabled" between gcc and g++

2019-03-24 Thread nbkolchin at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nbkolchin at gmail dot com Target Milestone: --- https://godbolt.org/z/J0xdIL Sample code: #pragma GCC diagnostic ignored "-Wdate-time" const char* g_test

[Bug c/89165] New: miscompile calling SSE function from non-SSE code

2019-02-02 Thread nbkolchin at gmail dot com
: c Assignee: unassigned at gcc dot gnu.org Reporter: nbkolchin at gmail dot com Target Milestone: --- BUG: calling SSE function with vector argument from non-SSE code (admittedly, Bad Idea) silently miscompiles (breaking calling convention). I would appreciate an error

[Bug c/88587] [6.1/trunk] internal compiler error: in expand_debug_locations, at cfgexpand.c:5450

2018-12-24 Thread nbkolchin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88587 --- Comment #1 from Nickolay Kolchin-Semyonov --- Error seems to happen when both: 1. Vector extensions are used. 2. Both SSE and non-SSE versions are requested. Error seems to be present in all GCC versions since 6.1 (which introduced target_

[Bug c/88587] New: [6.1/trunk] internal compiler error: in expand_debug_locations, at cfgexpand.c:5450

2018-12-23 Thread nbkolchin at gmail dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: nbkolchin at gmail dot com Target Milestone: --- https://godbolt.org/z/I8yw2T typedef float __attribute__((vector_size(16))) simd4f; __attribute__((target_clones

[Bug tree-optimization/57358] segmentation fault with attribute(optimize(O0))

2013-06-04 Thread nbkolchin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57358 --- Comment #2 from Nickolay Kolchin-Semyonov --- More simplified test variant: struct t { void (*func)(void*); }; void test_func(struct t* a) __attribute__((optimize("O0"))); void test_func(struct t* a) { a->func(0); } P.S. If you compile thi

[Bug tree-optimization/57358] segmentation fault with attribute(optimize(O0))

2013-06-04 Thread nbkolchin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57358 --- Comment #1 from Nickolay Kolchin-Semyonov --- Reproducable with gcc-4.8.1. Using built-in specs. COLLECT_GCC=gcc-4.8.1 COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /mn

[Bug tree-optimization/57358] New: segmentation fault with attribute(optimize(O0))

2013-05-21 Thread nbkolchin at gmail dot com
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: nbkolchin at gmail dot com Created attachment 30157 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30157&action=edit backtrace The following code crashes GCC (gcc-4.8.0 -O2): typedef void (*done)(vo

[Bug target/33431] [SH4] performance regression between 3.4.6 and 4.x

2007-09-15 Thread nbkolchin at gmail dot com
--- Comment #4 from nbkolchin at gmail dot com 2007-09-15 12:13 --- There are no differences in "cc1 --target-help" output. I will try to split scimark in small pieces and test them separately. Thank you for your help. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33431

[Bug target/33431] [SH4] performance regression between 3.4.6 and 4.x

2007-09-14 Thread nbkolchin at gmail dot com
--- Comment #2 from nbkolchin at gmail dot com 2007-09-14 16:10 --- Thank you for your reply. Variants: - you are not using: "-m4 -ml", but some other architecture settings. - SH7751R and SH7750R have different instruction pipeline (probably not, both are SH4-200 variants

[Bug target/33431] New: [SH4] performance regression between 3.4.6 and 4.x

2007-09-14 Thread nbkolchin at gmail dot com
ssigned at gcc dot gnu dot org ReportedBy: nbkolchin at gmail dot com GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: sh-unknown-rtemself http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33431

[Bug target/29953] [SH-4] Perfomance regression in loops. cmp/eq used instead of dt

2006-11-23 Thread nbkolchin at gmail dot com
--- Comment #1 from nbkolchin at gmail dot com 2006-11-23 10:15 --- Created an attachment (id=12671) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12671&action=view) test.cpp Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29953

[Bug target/29953] New: [SH-4] Perfomance regression in loops. cmp/eq used instead of dt

2006-11-23 Thread nbkolchin at gmail dot com
gcc dot gnu dot org ReportedBy: nbkolchin at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: sh-rtemself http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29953

[Bug regression/26658] perfomance regression between gcc 3.4.5 and 4.*

2006-03-12 Thread nbkolchin at gmail dot com
--- Comment #3 from nbkolchin at gmail dot com 2006-03-12 20:14 --- Created an attachment (id=11029) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11029&action=view) test_cmd-4.1.0.ii -save-temps output from gcc 4.1.0 and gcc 4.0.2 (they are different only in version

[Bug regression/26658] perfomance regression between gcc 3.4.5 and 4.*

2006-03-12 Thread nbkolchin at gmail dot com
--- Comment #2 from nbkolchin at gmail dot com 2006-03-12 20:13 --- Created an attachment (id=11028) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11028&action=view) test_cmd-3.4.5.ii -save-temps output from gcc 3.4.5 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26658

[Bug regression/26658] perfomance regression between gcc 3.4.5 and 4.*

2006-03-12 Thread nbkolchin at gmail dot com
--- Comment #1 from nbkolchin at gmail dot com 2006-03-12 20:12 --- Created an attachment (id=11027) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11027&action=view) test_cmd.cpp testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26658

[Bug regression/26658] New: perfomance regression between gcc 3.4.5 and 4.*

2006-03-12 Thread nbkolchin at gmail dot com
etween gcc 3.4.5 and 4.* Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: regression AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: nbkolchin at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26658