[Bug target/88965] powerpc64le vector builtin hits ICE in verify_gimple

2019-01-22 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88965 --- Comment #5 from Anton Blanchard --- Martin: "gcc -c x.c" was enough to hit it on a build of trunk on my POWER9 ppc64le box. Jakub: Thanks, that fixes it for me.

[Bug target/88965] powerpc64le vector builtin hits ICE in verify_gimple

2019-01-21 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88965 --- Comment #1 from Anton Blanchard --- Here's something more representative. Passing the address via an explicit pointer makes the issue go away. #include #include #define LOADU(p)vec_vsx_ld(0, (vector unsigned long *)(p)) static

[Bug target/88965] New: powerpc64le vector builtin hits ICE in verify_gimple

2019-01-21 Thread anton at samba dot org
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org CC: segher at gcc dot gnu.org, wschmidt at gcc dot gnu.org Target Milestone: --- Target: powerpc64le-linux The following (admittedly odd) code results in an ICE

[Bug target/87059] New: internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-22 Thread anton at samba dot org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org CC: meissner at gcc dot gnu.org, segher at gcc dot gnu.org, wschmidt at gcc dot gnu.org Target Milestone

[Bug middle-end/86554] New: Incorrect code generation with signed/unsigned comparison

2018-07-17 Thread anton at samba dot org
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- The test case below fails on both ppc64le and x86_64 when built with -O2, I see: ret is 1017 ret is < 1 Looking at the code, the

[Bug target/81348] New: PowerPC64: Code built with -mcpu=power9 hits SEGV in RTL split2

2017-07-06 Thread anton at samba dot org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org CC: meissner at gcc dot gnu.org, segher at gcc dot gnu.org, wschmidt at gcc dot gnu.org Target Milestone: --- Target

[Bug target/79179] New: PowerPC64: -mcpu=power9 creates stxsd with bad offset

2017-01-21 Thread anton at samba dot org
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org CC: meissner at gcc dot gnu.org, segher at gcc dot gnu.org, wschmidt at gcc dot gnu.org Target Milestone: --- The following test case: #pragma pack(1

[Bug target/78658] New: powerpc64le: ICE with -mcpu=power9 -Og

2016-12-02 Thread anton at samba dot org
Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org CC: meissner at gcc dot gnu.org, segher at gcc dot gnu.org, wschmidt at gcc dot gnu.org Target Milestone: --- Target: powerpc64le-linux The following test case

[Bug target/78560] New: powerpc64le ICE with -mcpu=power9

2016-11-28 Thread anton at samba dot org
Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org CC: meissner at gcc dot gnu.org, segher at gcc dot gnu.org, wschmidt at gcc dot gnu.org Target Milestone: --- Target: powerpc64le-linux The following test case: int

[Bug middle-end/71509] Bitfield causes load hit store with larger store than load

2016-09-25 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71509 --- Comment #4 from Anton Blanchard --- Created attachment 39683 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39683=edit Another bitop LHS test case Here's another issue found in the Linux kernel. Seems like this should be a single

[Bug target/77613] New: Powerpc64le: redundant swaps in autovectorised loop

2016-09-16 Thread anton at samba dot org
: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org CC: meissner at gcc dot gnu.org, segher at gcc dot gnu.org, wschmidt at gcc dot gnu.org Target Milestone: --- Target: powerpc64le-linux

[Bug target/73650] New: powerpc: -mcpu=e500mc hits ICE: insn does not satisfy its constraints

2016-08-11 Thread anton at samba dot org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org CC: amodra at gcc dot gnu.org, segher at gcc dot gnu.org, wschmidt at gcc dot gnu.org Target Milestone

[Bug target/72863] New: Powerpc64le: redundant swaps when using vec_vsx_ld/st

2016-08-10 Thread anton at samba dot org
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org CC: amodra at gcc dot gnu.org, bergner at gcc dot gnu.org, meissner at gcc dot gnu.org, segher at gcc dot gnu.org, wschmidt at gcc dot

[Bug target/72802] New: powerpc64le: -mcpu=power9 emits lxssp instruction with offset that isn't a multiple of 4

2016-08-03 Thread anton at samba dot org
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org CC: amodra at gcc dot gnu.org, bergner at gcc dot gnu.org, meissner at gcc dot gnu.org, segher at gcc dot

[Bug target/72771] New: powerpc64le ICE with -mcpu=power9

2016-08-01 Thread anton at samba dot org
Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org CC: amodra at gcc dot gnu.org, meissner at gcc dot gnu.org, segher at gcc dot gnu.org, wschmidt at gcc dot gnu.org Target Milestone: --- Target: powerpc64le-linux

[Bug middle-end/70159] missed CSE optimization

2016-07-13 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70159 --- Comment #18 from Anton Blanchard --- Urgh too early in the morning for me. PR71866 created, with the correct backtrace.

[Bug tree-optimization/71866] New: gcc locks up after fix for PR70159

2016-07-13 Thread anton at samba dot org
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- Created attachment 38891 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38891=edit Test case The attached testcase is locking up on ppc64le when run with -O2.

[Bug middle-end/70159] missed CSE optimization

2016-07-13 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70159 --- Comment #16 from Anton Blanchard --- I'm seeing a lockup in gcc with this patch on ppc64le. Run as: gcc -O2 -c testcase.i It gets stuck in: #0 0x3fffb7e5e3e8 in __waitpid_nocancel () at ../sysdeps/unix/syscall-template.S:84 #1

[Bug middle-end/70159] missed CSE optimization

2016-07-13 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70159 Anton Blanchard changed: What|Removed |Added CC||anton at samba dot org --- Comment

[Bug target/71847] New: powerpc64le: Potential rlwinm optimisation

2016-07-11 Thread anton at samba dot org
Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- The following code: unsigned long foo(unsigned long x) { unsigned long y = (x & 0xUL); return y | (y << 32); } Results in 3 instructions on

[Bug target/71763] New: powerpc64: ICE due to need for output reload on jump

2016-07-04 Thread anton at samba dot org
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- The following test case: int a, b; float c; void fn2(void); void fn1(void) { long d; for (d = 3; d; d--) { for (a = 0; a <

[Bug middle-end/71707] [regression] ICE in get_stridx_plus_constant

2016-06-29 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71707 Anton Blanchard changed: What|Removed |Added CC||anton at samba dot org --- Comment #2

[Bug target/71709] New: powerpc64le: argument to strcpy() optimised out

2016-06-29 Thread anton at samba dot org
: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- The following test case fails on ppc64le: #include char boot_command_line[2048]; char *saved_command_line; static char *static_command_line; static char

[Bug target/71680] [7 Regression] ICE: Max. number of generated reload insns per insn is achieved (90) w/ -Os -mlra

2016-06-28 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71680 Anton Blanchard changed: What|Removed |Added CC||anton at samba dot org --- Comment #1

[Bug target/71670] New: powerpc64le ICE in extract_constrain_insn with -mcpu=power9

2016-06-26 Thread anton at samba dot org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- The following testcase: volatile int a; int b; void fn1(void) { b + (long)b || a; } hits an ICE when built with: # gcc -O1 -mcpu=power9

[Bug tree-optimization/71509] New: Bitfield causes load hit store with larger store than load

2016-06-12 Thread anton at samba dot org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- I notice a nasty load hit store in the following test case built with -O2 on ppc64le. The load is larger than the store, which means

[Bug target/71310] Bitfields cause load hit store with smaller store and larger load

2016-06-08 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71310 --- Comment #3 from Anton Blanchard --- Another case found in the kernel: struct mmu_gather { long end; int fullmm : 1; }; void __tlb_reset_range(struct mmu_gather *p1) { if (p1->fullmm) p1->end = 0; }

[Bug target/71310] New: Bitfields cause load hit store with smaller store and larger load

2016-05-27 Thread anton at samba dot org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- The following testcase built on ppc64le: typedef unsigned char __u8; struct sk_buff { void*junk; __u8pkt_type:3

[Bug tree-optimization/71309] New: Copying fields within a struct followed by use results in load hit store

2016-05-27 Thread anton at samba dot org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- When chasing down a LHS on ppc64le, I found the following issue: struct path { void *mnt; void *dentry

[Bug target/71186] New: PowerPC64: Autovectorised code hits ICE with -O3 -mpower9 -mlra

2016-05-18 Thread anton at samba dot org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- The following testcase: static unsigned short x[(16384/sizeof(unsigned short))] __attribute__ ((aligned (16))); static unsigned short y

[Bug target/70568] New: PowerPC64: union of floating and fixed doesn't use POWER8 GPR/VSR moves

2016-04-06 Thread anton at samba dot org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- The following test case from both glibc and openlibm: typedef union { float value; /* FIXME: Assumes 32 bit int. */ unsigned

[Bug target/70098] PowerPC64: eigen hits ICE in reload

2016-03-08 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70098 --- Comment #7 from Anton Blanchard --- Sorry, blame my limited understanding of gcc. It fails with both with and without -mlra.

[Bug target/70098] PowerPC64: eigen hits ICE in reload

2016-03-05 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70098 --- Comment #1 from Anton Blanchard --- Created attachment 37876 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37876=edit Test case

[Bug target/70098] New: PowerPC64: eigen hits ICE in reload

2016-03-05 Thread anton at samba dot org
Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- I hit the following ICE when building eigen: # g++ -O3 -c test2.cpp test2.cpp: In function ‘void fn3(Matrix<double, 2, 2>)’: test2.cpp:59:1: error: unable to generate r

[Bug target/69810] New: PowerPC64: unrecognizable insn

2016-02-13 Thread anton at samba dot org
Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- Another csmith fail on trunk: int a, b; void fn1(void) { signed char c; long d; int e; repeat: { int f = fn1; e = f == 0 ? : 0

[Bug target/69567] New: PowerPC64: cstore optimisation produces bad code

2016-01-30 Thread anton at samba dot org
: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- Created attachment 37528 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37528=edit Testcase I hit this fail in csmith. Looks like another issue with our cst

[Bug lto/68685] LTO build hits ICE in copy_to_mode_reg, at explow.c:595

2016-01-26 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68685 Anton Blanchard changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/69143] New: PowerPC64: aggregate results are badly handled

2016-01-04 Thread anton at samba dot org
: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- This testcase: struct foo1 { float x; float y; }; struct foo1 blah1(struct foo1 y) { struct foo1 x; x.x = y.y; x.y = y.x

[Bug target/68879] New: PowerPC: SImode cstore optimisation produces bad code

2015-12-12 Thread anton at samba dot org
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- Created attachment 37017 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37017=edit Test case csmith found an issue that bisects to "rs6000: Optimise SImod

[Bug target/68753] New: PowerPC: double precision reciprocal estimate missed optimisations

2015-12-06 Thread anton at samba dot org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- Created attachment 36939 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36939=edit Test cases POWER6 and above should

[Bug target/68752] New: PowerPC: vector reciprocal square root estimate missed optimisations

2015-12-06 Thread anton at samba dot org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- Created attachment 36938 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36938=edit Test cases This test case (ba

[Bug target/68690] New: PowerPC64: TOC save in PHP core loop results in load hit store

2015-12-03 Thread anton at samba dot org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- We see a load hit store issue in the core loop of the PHP interpreter. A simple test case: $ cat test.c void (*fn)(void); void do_nothing

[Bug middle-end/26724] __builtin_constant_p fails to recognise function with constant return

2015-12-03 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26724 --- Comment #2 from Anton Blanchard --- This issue is still present. The workaround Andrew suggests is good: static inline int baz(void) { return 0; } void bad() { int i = baz(); if (!__builtin_constant_p(i))

[Bug lto/68685] New: LTO build hits ICE in copy_to_mode_reg, at explow.c:595

2015-12-03 Thread anton at samba dot org
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- Created attachment 36905 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36905=edit Test case On a powerpc64le-linux target, the attached t

[Bug target/68664] New: PowerPC: speculative sqrt in c-ray main loop causes large slow down

2015-12-02 Thread anton at samba dot org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- c-ray (a tiny ray tracer) can be found at: http://www.sgidepot.co.uk/depot/c-ray-1.1.tar.gz When built and run with the following args

[Bug target/68609] New: PowerPC reciprocal estimate missed opportunities

2015-11-29 Thread anton at samba dot org
: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- gcc.target/i386/recip-sqrtf.c shows some missed opportunities for the reciprocal estimate instructions. One example: float t3(float a) { return sqrtf(a); } On x86

[Bug middle-end/68393] internal compiler error: in convert_move, at expr.c:286

2015-11-17 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68393 --- Comment #3 from Anton Blanchard --- No problems Richard! Thanks for the quick fix, it works for me.

[Bug tree-optimization/66949] [6 Regression] ICE at -O2 and -O3 on x86_64-linux-gnu in tree_ssa_phiopt_worker, at tree-ssa-phiopt.c:335

2015-11-17 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66949 Anton Blanchard changed: What|Removed |Added CC||anton at samba dot org --- Comment #3

[Bug middle-end/68393] New: internal compiler error: in convert_move, at expr.c:286

2015-11-17 Thread anton at samba dot org
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- I'm seeing an ICE on powerpc64le when building trunk: x.c:3:9: internal compiler error: in convert_move, at expr.c:286 return __builtin_clzll

[Bug middle-end/68393] internal compiler error: in convert_move, at expr.c:286

2015-11-17 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68393 Anton Blanchard changed: What|Removed |Added CC||richard.guenther at gmail dot com,

[Bug tree-optimization/68140] New: ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1413

2015-10-28 Thread anton at samba dot org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- I'm seeing an ICE on powerpc64le with a checkout from last night: # cat testcase.c int a, b, d, e, f; static int c; static void

[Bug target/67378] New: PowerPC unrecognizable insn (ICE in in extract_insn, at recog.c:2297)

2015-08-27 Thread anton at samba dot org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- Created attachment 36262 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=36262action=edit Testcase csmith hit another ICE

[Bug target/67356] New: PowerPC insn does not satisfy its constraints

2015-08-26 Thread anton at samba dot org
: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- The following testcase: # cat testcase.i int a, b, d, e; static int *c = a; void fn1() { long f = 18446744073709551608UL; b = 0; for (; b = 0; b

[Bug rtl-optimization/67346] New: PowerPC: could not split insn

2015-08-24 Thread anton at samba dot org
Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- The following testcase: # cat testcase.i struct { long f1; } c; int a, d, e; volatile int b; void fn2() { a = 3; for (; a = 8; a++) { unsigned

[Bug rtl-optimization/67344] New: PowerPC unrecognizable insn

2015-08-24 Thread anton at samba dot org
Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- The following testcase: # cat testcase.c int a, b, c; void fn2(void); int fn1(char p1) { short d; for (;;) for (; c = 3;) { fn2

[Bug target/67344] PowerPC unrecognizable insn

2015-08-24 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67344 --- Comment #2 from Anton Blanchard anton at samba dot org --- I've been trying out csmith, then passing the failing tests through creduce. Even I do not write code like that :)

[Bug rtl-optimization/67201] New: PowerPC -mlra hits ICE: Max. number of generated reload insns per insn is achieved

2015-08-13 Thread anton at samba dot org
Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Target Milestone: --- I'm seeing an ICE on ppc64le when using -O1 -mlra: # gcc -O1 -mlra testcase.i testcase.i:31:1: internal

[Bug middle-end/66214] [6 Regression] ICE verify_type failed with -O0 -g via gen_type_die_with_usage's dwarf2out.c:20250

2015-08-12 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66214 Anton Blanchard anton at samba dot org changed: What|Removed |Added CC||anton at samba

[Bug target/65456] powerpc64le autovectorized copy loop missed optimization

2015-03-19 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65456 --- Comment #7 from Anton Blanchard anton at samba dot org --- Thanks Martin. Bill: the swaps pass isn't catching our vectorised copy, I guess because of the adds in the loop: lxvd2x 0,9,4 addi 28,1,-48 add 6,9,10

[Bug target/65456] New: powerpc64le autovectorized copy loop missed optimization

2015-03-17 Thread anton at samba dot org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Created attachment 35049 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35049action=edit Testcase pulled from valgrind The attached copy loop (out of valgrind

[Bug target/64624] ppc64 build failure, ISA_2_7_MASKS_SERVER not declared

2015-01-16 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64624 Anton Blanchard anton at samba dot org changed: What|Removed |Added Target||powerpc64le

[Bug target/64623] New: ppc64 build failure, ISA_2_7_MASKS_SERVER not declared

2015-01-16 Thread anton at samba dot org
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org I'm seeing this build error as of: * config/rs6000/default64.h (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use ISA 2.7 (POWER8). g++ -c -g -O2 -DIN_GCC-fno-exceptions -fno

[Bug target/64624] New: ppc64 build failure, ISA_2_7_MASKS_SERVER not declared

2015-01-15 Thread anton at samba dot org
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org I'm seeing this build error as of: * config/rs6000/default64.h (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use ISA 2.7 (POWER8). g++ -c -g -O2 -DIN_GCC-fno-exceptions -fno

[Bug ipa/64550] [5 Regression] IPA fixes cause ICE in tree-ssa.c:939

2015-01-09 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64550 --- Comment #5 from Anton Blanchard anton at samba dot org --- Thanks Martin, the patch fixes the issue for me.

[Bug ipa/64550] New: IPA fixes cause ICE in tree-ssa.c:939

2015-01-09 Thread anton at samba dot org
Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org I just hit the following ICE on our autobuilder: /var/lib/jenkins/workspace/gcc_kernel_build/linux/net/core/dev.c: In function ‘dev_change_net_namespace.part.23’: /var/lib/jenkins/workspace/gcc_kernel_build/linux

[Bug ipa/64550] [5 Regression] IPA fixes cause ICE in tree-ssa.c:939

2015-01-09 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64550 --- Comment #2 from Anton Blanchard anton at samba dot org --- The testcase in bug #64090 hits it, but for some reason the testcase in the bug it was duped to does not.

[Bug tree-optimization/64090] New: internal compiler error: in verify_ssa, at tree-ssa.c:939

2014-11-26 Thread anton at samba dot org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org Created attachment 34128 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34128action=edit Testcase that ICE's A powerpc64le-linux build gets the following

[Bug target/63354] New: -pg -mprofile-kernel creates unused stack frames on leaf functions on ppc64le

2014-09-24 Thread anton at samba dot org
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org The following testcase: int foo(void) { return 1; } compiled with: gcc -O2 -pg -mprofile-kernel -S foo.c produces an unused stack frame: foo

[Bug target/63354] gcc -pg -mprofile-kernel creates unused stack frames on leaf functions on ppc64le

2014-09-24 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63354 --- Comment #2 from Anton Blanchard anton at samba dot org --- Created attachment 33555 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33555action=edit Avoid an unused stack frame for -mprofile-kernel profiling on leaf functions.

[Bug target/63281] New: powerpc64le creates 64 bit constants from scratch instead of loading them

2014-09-16 Thread anton at samba dot org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org The following testcase: #define CONST1 0x1234567812345678 #define CONST2 0x2345678123456781 #define CONST3 0x3456781234567812 #define CONST4

[Bug go/60931] libgo has issues when page size is not 4k

2014-04-24 Thread anton at samba dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60931 Anton Blanchard anton at samba dot org changed: What|Removed |Added Attachment #32669|0 |1

[Bug go/60931] New: libgo has issues when page size is not 4k

2014-04-23 Thread anton at samba dot org
Assignee: ian at airs dot com Reporter: anton at samba dot org Created attachment 32659 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32659action=edit Bump page size to 64kB We are seeing random failures with go programs on a 64kB page size ppc64 box. It looks like garbage

[Bug go/60931] libgo has issues when page size is not 4k

2014-04-23 Thread anton at samba dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60931 --- Comment #2 from Anton Blanchard anton at samba dot org --- I agree, but when I tried this I found a few places that expect PageSize to be a compile time constant so it is not as trivial as I had hoped.

[Bug go/60931] libgo has issues when page size is not 4k

2014-04-23 Thread anton at samba dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60931 Anton Blanchard anton at samba dot org changed: What|Removed |Added Attachment #32659|0 |1

[Bug go/60931] libgo has issues when page size is not 4k

2014-04-23 Thread anton at samba dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60931 --- Comment #5 from Anton Blanchard anton at samba dot org --- I think I see it: 19112 madvise(0xc21103, 4096, MADV_DONTNEED) = 0 That 4kB madvise(MADV_DONTNEED) gets rounded up to the system page size of 64kB and we end up covering still

[Bug go/60870] go interface methods broken on ppc64le (bug296.go)

2014-04-17 Thread anton at samba dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60870 --- Comment #1 from Anton Blanchard anton at samba dot org --- I just realised I gave a git commit id from the mirror. The ChangeLog entry is: +2014-04-14 Chris Manghane cm...@google.com + + * go-gcc.cc: Include convert.h

[Bug go/60870] New: go interface methods broken on ppc64le (bug296.go)

2014-04-16 Thread anton at samba dot org
Component: go Assignee: ian at airs dot com Reporter: anton at samba dot org bug296.go is failing on a checkout from today. The caller is putting the 9th argument in r1+32 instead of r1+96 where we expect: 0x1000195c +140:std r27,32(r1) - 0x10001960

[Bug middle-end/60737] New: rs6000 expand_block_clear uses word stores on double word pointer

2014-04-01 Thread anton at samba dot org
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org The following code: #include string.h void foo(long *p) { memset(p, 0, 16); } When built with a 64bit target: gcc -mcpu=power8 -O2 -S foo.c Ends

[Bug middle-end/60737] rs6000 expand_block_clear uses word stores on double word pointer

2014-04-01 Thread anton at samba dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60737 --- Comment #1 from Anton Blanchard anton at samba dot org --- It looks like by the time we get to expand_block_clear we don't have any alignment info (align_rtx == 1).

[Bug target/59814] New: powerpc64le ICE with -O2 -mpower8 -ffast-math

2014-01-14 Thread anton at samba dot org
: target Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org The following test case: /* -O2 -mcpu=power8 -ffast-math */ float val; int verbose; void bar(float x); void foo(void) { if (val 0.0) { val = 1.0

[Bug tree-optimization/59817] New: ICE in extract_affine_chrec with -O2 -ftree-loop-linear

2014-01-14 Thread anton at samba dot org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org The following testcase: c -O2 -ftree-loop-linear SUBROUTINE PREPD(ICAST,ICAS,ICASX,ICAS1,ICAS2,NDET,NM,III,IMP, * CASMIN

[Bug middle-end/58330] New: powerpc64 atomic store split in two

2013-09-05 Thread anton at samba dot org
Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org We found an issue when building the powerpc64 little endian kernel where a 64 bit store was split into two 32 bit stores. Since there is no 64 bit byte reversed store on POWER6 and earlier, gcc decided to use

[Bug middle-end/57134] [4.9 Regression] ICE with -mstrict-align and inline assembly on ppc64

2013-08-04 Thread anton at samba dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57134 --- Comment #3 from Anton Blanchard anton at samba dot org --- Created attachment 30607 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30607action=edit Compilation failure with -mstrict-align on ppc64 The original testcase isn't failing

[Bug middle-end/57161] New: ICE in in check_probability, at basic-block.h:941

2013-05-03 Thread anton at samba dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57161 Bug #: 57161 Summary: ICE in in check_probability, at basic-block.h:941 Classification: Unclassified Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/57161] ICE in in check_probability, at basic-block.h:941

2013-05-03 Thread anton at samba dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57161 --- Comment #1 from Anton Blanchard anton at samba dot org 2013-05-03 12:53:49 UTC --- Created attachment 30021 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30021 Testcase

[Bug middle-end/57161] ICE in in check_probability, at basic-block.h:941

2013-05-03 Thread anton at samba dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57161 --- Comment #2 from Anton Blanchard anton at samba dot org 2013-05-03 13:17:31 UTC --- A bisect hit this commit: 2013-05-02 Teresa Johnson tejohn...@google.com * loop-unswitch.c (unswitch_loop): Use helper routines

[Bug middle-end/57134] New: ICE with -mstrict-align and inline assembly on ppc64

2013-05-01 Thread anton at samba dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57134 Bug #: 57134 Summary: ICE with -mstrict-align and inline assembly on ppc64 Classification: Unclassified Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/49601] New: ICE at ipa-inline-analysis.c:1188

2011-06-30 Thread anton at samba dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49601 Summary: ICE at ipa-inline-analysis.c:1188 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo:

[Bug lto/47274] [4.6 regression] ICE in lto_varpool_replace_node, at lto-symtab.c:306

2011-01-14 Thread anton at samba dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47274 --- Comment #3 from Anton Blanchard anton at samba dot org 2011-01-15 02:04:04 UTC --- I'm seeing this too: # cat test1.c void *ptr; # cat test2.c extern void *ptr; void foo() { ptr = 0; } # gcc -flto -c test1.c # gcc -flto -c test2.c

[Bug tree-optimization/47286] New: Invalid code when using register ... asm

2011-01-13 Thread anton at samba dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47286 Summary: Invalid code when using register ... asm Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug middle-end/45274] New: __restrict__ type qualifier does not work on pointers to bitfields

2010-08-13 Thread anton at samba dot org
: anton at samba dot org GCC target triplet: powerpc64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45274

[Bug lto/42528] ICE with -flto and -fsigned-char

2010-01-07 Thread anton at samba dot org
--- Comment #6 from anton at samba dot org 2010-01-07 11:01 --- Thanks Richard, it passes my tests. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42528

[Bug lto/42534] New: ICE with -flto when using __attribute__((__aligned__(X)))

2009-12-29 Thread anton at samba dot org
: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: anton at samba dot org GCC target triplet: powerpc64-linux-gnu-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug lto/42528] New: ICE with -flto and -fsigned-char

2009-12-28 Thread anton at samba dot org
Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: anton at samba dot org GCC target triplet: powerpc64-linux-gnu-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42528

[Bug other/42530] New: ICE in verify_ssa when using -O -g -ffast-math -floop-parallelize-all

2009-12-28 Thread anton at samba dot org
Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: anton at samba dot org GCC target triplet: powerpc64-linux-gnu-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42530

[Bug regression/37824] funroll-loops miscompiles php

2008-10-14 Thread anton at samba dot org
--- Comment #1 from anton at samba dot org 2008-10-14 11:59 --- Alan Modra points out the cast is not required and removing it does fix the issue. BTW -Wstrict-aliasing (or -Wstrict-aliasing=2) doesn't warn about the code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37824

[Bug regression/37824] New: funroll-loops miscompiles php

2008-10-14 Thread anton at samba dot org
ReportedBy: anton at samba dot org GCC target triplet: powerpc-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37824

[Bug regression/37640] New: Misuse of __sync_lock_test_and_set causes ICE

2008-09-24 Thread anton at samba dot org
Priority: P3 Component: regression AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: anton at samba dot org GCC target triplet: powerpc-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37640

[Bug target/37640] Misuse of __sync_lock_test_and_set causes ICE

2008-09-24 Thread anton at samba dot org
--- Comment #2 from anton at samba dot org 2008-09-24 20:07 --- After reading the gcc documentation I guess it is valid, and the 32bit lwarx/stwcx will overlap but not change surrounding memory. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37640

[Bug regression/37456] New: gcc4.4 ICE: verify_flow_info failed

2008-09-10 Thread anton at samba dot org
. -- Summary: gcc4.4 ICE: verify_flow_info failed Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: regression AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: anton at samba dot org

  1   2   >