[Bug target/83401] New: cpuid function for leaf 7 may not be accessed when sub-leaf (%ecx) is undefined

2017-12-12 Thread warnerme at ptd dot net
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: warnerme at ptd dot net Target Milestone: --- In the file cpuid.h, there is a problem with the definition: #define __cpuid(level, a, b, c, d

[Bug driver/50740] CPUID leaf 7 for BMI/BMI2/AVX2 feature detection not qualified with max_level and doesn't use subleaf

2017-12-12 Thread warnerme at ptd dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50740 Mark Warner changed: What|Removed |Added CC||warnerme at ptd dot net --- Comment #4

[Bug c/59933] for loop goes wild with assert() enabled

2014-02-19 Thread warnerme at ptd dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59933 --- Comment #5 from Mark Warner warnerme at ptd dot net --- sizeof(NSQ_del_dec_struct) / sizeof(opus_int32) is guaranteed to produced a even number with a remainder of 0. Note the __attribute__ ((__aligned__ (8))) to make it a multiple of 8

[Bug c/59933] for loop goes wild with assert() enabled

2014-02-19 Thread warnerme at ptd dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59933 --- Comment #6 from Mark Warner warnerme at ptd dot net --- If it is invalid, why does -Wall not trigger anything ?

[Bug c/59933] for loop goes wild with assert() enabled

2014-02-19 Thread warnerme at ptd dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59933 --- Comment #11 from Mark Warner warnerme at ptd dot net --- I'm confused .. what about.. for (k = i; k (int)(sizeof(NSQ_del_dec_struct) / sizeof(opus_int32)); ++k) ... is illegal or invalid ? Why does it only fail if -DDEBUG is defined ? I mean

[Bug c/59933] New: for loop goes wild with assert() enabled

2014-01-24 Thread warnerme at ptd dot net
Assignee: unassigned at gcc dot gnu.org Reporter: warnerme at ptd dot net I have this odd case where a for loop goes wild. But it only fails when assert() is enabled. gcc -Iinc -g -O2 -DDEBUG -fstack-protector-all -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs

[Bug c/59933] for loop goes wild with assert() enabled

2014-01-24 Thread warnerme at ptd dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59933 --- Comment #1 from Mark Warner warnerme at ptd dot net --- Created attachment 31945 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31945action=edit C source of subroutines which contain problem for loop This is a file from OPUS. As sent