: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: felix.yang at huawei dot com
Target Milestone: ---
inline unsigned int
stringLen(const short* const src)
{
if (src == 0 || *src == 0) {
return 0;
} else {
const short* pszTmp = src + 1
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: felix.yang at huawei dot com
Target Milestone: ---
Target: aarch64
Test case: foo.c
typedef struct state_t {
int threadid;
} state_t;
int history_h[8][12][64];
void
-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: felix.yang at huawei dot com
Target Milestone: ---
Target: aarch64
test case:
$ cat foo.c
typedef struct {
unsigned short mprr_2[5][16][16];
} ImageParameters;
int s[16][2];
void intrapred_luma_16x16
: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: felix.yang at huawei dot com
Target Milestone: ---
Target: aarch64
foo.c:
int x[8][32];
void
foo (int start)
{
for (int i = start; i < start + 16; i++)
x[start][i] = i;
}
$ gcc -S -O2 -ft
: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: felix.yang at huawei dot com
Target Milestone: ---
Target: aarch64
Another sve-related ICE issue triggered under option -mgeneral-regs-only.
Reduced test case
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: felix.yang at huawei dot com
Target Milestone: ---
Target: aarch64
Test case:
typedef short __attribute__((vector_size (8))) v4hi;
typedef union U4HI { v4hi v; short a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94991
--- Comment #1 from Fei Yang ---
For the given testcase, we are doing FAIL for scalar floating move expand
pattern since TARGET_FLOAT is false with option -mgeneral-regs-only. But move
expand pattern cannot fail. It would be better to to replace
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: felix.yang at huawei dot com
Target Milestone: ---
Target: aarch64
Yet another ICE with -mgeneral-regs-only:
foo.c
struct S { float d; };
void bar (struct S);
void
f0 (int x
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94784
--- Comment #2 from Fei Yang ---
Will propose a patch for review.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94784
--- Comment #1 from Fei Yang ---
I did some check and it looks like everything works fine before the ICE.
The reason for the assert is that applying VIEW_CONVERT_EXPR to two general
vectors is dangerous in this context. If through some bug we e
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: felix.yang at huawei dot com
Target Milestone: ---
Target: aarch64
I see one gcc_assert was introduce in:
https://gcc.gnu.org/pipermail/gcc-patches/2020-April
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94678
--- Comment #1 from Fei Yang ---
crash log for test2.c:
during RTL pass: expand
foo.c: In function 'f2':
foo.c:14:10: internal compiler error: in emit_move_insn, at expr.c:3815
14 | return svadd_m (*x, *y, 1);
| ^
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: felix.yang at huawei dot com
CC: richard.sandiford at arm dot com
Target Milestone: ---
Target: aarch64
It looks like there are several issues out there for
-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: felix.yang at huawei dot com
Target Milestone: ---
Test case:
float
calc(long n, float *x, int inc_x,
float *y, int inc_y)
{
float dot = 0.0;
int ix = 0, iy = 0;
if (n < 0) {
return
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94026
--- Comment #4 from Fei Yang ---
(In reply to Fei Yang from comment #0)
> Created attachment 47966 [details]
> proposed patch to fix this issue
>
> Simple test case:
> int
> foo (int c, int d)
> {
> int a = (c >> d) & 7;
>
> if (a >= 2) {
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94026
--- Comment #2 from Fei Yang ---
The test case is reduced from spec2017 benchmark.
int FastBoard::count_pliberties(const int i) {
return count_neighbours(EMPTY, i);
}
// count neighbours of color c at vertex v
int FastBoard::count_neighbour
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: felix.yang at huawei dot com
Target Milestone: ---
Created attachment 47966
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47966&action=edit
proposed patch to f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66804
--- Comment #4 from Fei Yang ---
(In reply to Markus Trippelsdorf from comment #2)
> You're invoking undefined behavior:
test.c:34:12: runtime error: store to
> misaligned address 0x00401c8c for type 'unsigned char *', which requires
> 8 byt
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66804
--- Comment #1 from Fei Yang ---
Also reproducible with GCC-5 and GCC-6.
: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: felix.yang at huawei dot com
CC: rguenther at suse dot de
Target Milestone: ---
Host: x86_64-SUSE-LINUX
Target: x86_64
Build: x86_64-SUSE-LINUX
testcase
20 matches
Mail list logo