: 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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50740
Mark Warner changed:
What|Removed |Added
CC||warnerme at ptd dot net
--- Comment #4
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
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 ?
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
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
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