[Bug c++/90947] New: Simple lookup table of array of strings is miscompiled

2019-06-20 Thread maister at archlinux dot us
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: maister at archlinux dot us Target Milestone: --- On GCC 9.1.0, this snippet is miscompiled: #include #include #include static const char *vector_swizzle(int vecsize, int index) { static const char

[Bug c/60276] New: -O3 autovectorizer breaks on a particular loop

2014-02-19 Thread maister at archlinux dot us
Assignee: unassigned at gcc dot gnu.org Reporter: maister at archlinux dot us Created attachment 32174 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32174&action=edit Reduced testcase GCC 4.8.2 with -O3 breaks a certain loop I'm compiling. Disabling the vec

[Bug c/44098] -O3 causes quickInvSqrt() to return -inf.

2010-05-12 Thread maister at archlinux dot us
--- Comment #6 from maister at archlinux dot us 2010-05-12 15:23 --- That worked (-O3 -fno-strict-aliasing). But why does this work on -O2 and not -O3? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44098

[Bug c/44098] -O3 causes quickInvSqrt() to return -inf.

2010-05-12 Thread maister at archlinux dot us
--- Comment #3 from maister at archlinux dot us 2010-05-12 15:01 --- Created an attachment (id=20647) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20647&action=view) ASM output with -O3 Assembly output with -O3. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44098

[Bug c/44098] -O3 causes quickInvSqrt() to return -inf.

2010-05-12 Thread maister at archlinux dot us
--- Comment #2 from maister at archlinux dot us 2010-05-12 15:00 --- Created an attachment (id=20646) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20646&action=view) ASM output with -O2 Assembly output using gcc -S -O2 invsqrt.c -- http://gcc.gnu.org/bugzilla/show_

[Bug c/44098] -O3 causes quickInvSqrt() to return -inf.

2010-05-12 Thread maister at archlinux dot us
--- Comment #1 from maister at archlinux dot us 2010-05-12 14:56 --- Created an attachment (id=20645) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20645&action=view) The test case. Actually, it's quite absurd, but trying to print out from 1 to 10 rather than 1 to 1

[Bug c/44098] New: -O3 causes quickInvSqrt() to return -inf.

2010-05-12 Thread maister at archlinux dot us
Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: maister at archlinux dot us GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzill

[Bug c/42142] GCC 4.5 doesn't compile a certain quicksort implementation correctly when optimizing with -O1 or higher

2009-11-22 Thread maister at archlinux dot us
--- Comment #4 from maister at archlinux dot us 2009-11-22 12:15 --- Created an attachment (id=19083) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19083&action=view) Output from gcc-4.4 with lots of optimizations -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42142

[Bug c/42142] GCC 4.5 doesn't compile a certain quicksort implementation correctly when optimizing with -O1 or higher

2009-11-22 Thread maister at archlinux dot us
--- Comment #3 from maister at archlinux dot us 2009-11-22 12:15 --- Created an attachment (id=19082) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19082&action=view) Output with gcc-4.5, no optimization -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42142

[Bug c/42142] GCC 4.5 doesn't compile a certain quicksort implementation correctly when optimizing with -O1 or higher

2009-11-22 Thread maister at archlinux dot us
--- Comment #2 from maister at archlinux dot us 2009-11-22 12:15 --- Created an attachment (id=19081) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19081&action=view) Output with gcc-4.5 and -O -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42142

[Bug c/42142] GCC 4.5 doesn't compile a certain quicksort implementation correctly when optimizing with -O1 or higher

2009-11-22 Thread maister at archlinux dot us
--- Comment #1 from maister at archlinux dot us 2009-11-22 12:14 --- Created an attachment (id=19080) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19080&action=view) The sorting test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42142

[Bug c/42142] New: GCC 4.5 doesn't compile a certain quicksort implementation correctly when optimizing with -O1 or higher

2009-11-22 Thread maister at archlinux dot us
optimizing with -O1 or higher Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: maister at archlinux do