https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119509
--- Comment #1 from Nick Hudson ---
a32 seems similarly affected
foo:
bic r0, r0, #-16777216
bic r0, r0, #255
cmp r0, #255
movls r0, #0
movhi r0, #1
bx lr
Could be
foo:
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: skrll at netbsd dot org
Target Milestone: ---
#define BIT(n)(1ULL << (n))
#define BITS(m, n)(BIT((m) + 1) - 1) ^ (BIT(n) - 1)
#
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88005
--- Comment #2 from Nick Hudson ---
yes, it does.
Nick
nick@zoom:~/gcc$ ./inst/bin/hppa--linux-gcc -O2 -fno-delete-null-pointer-checks
-S -o pdc.s pdc.i
nick@zoom:~/gcc$ cat pdc.s
.LEVEL 1.1
.text
.align 4
.globl pdc_in
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: skrll at netbsd dot org
Target Milestone: ---
Here's a testcase
typedef int (*pdcio_t)(int, int, ...);
pdcio_t pdc;
int pdcbuf[64] __attribute__ ((__aligned
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60039
--- Comment #8 from Nick Hudson ---
On 03/18/14 02:34, kkojima at gcc dot gnu.org wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60039
>
> --- Comment #7 from Kazumoto Kojima ---
> Ugh, then this is an old problem and we've missed to give a
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60039
--- Comment #4 from Nick Hudson ---
Created attachment 32076
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32076&action=edit
Full assembler output
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60039
--- Comment #3 from Nick Hudson ---
1b6: 93 60 mov r9,r0
1b8: 76 02 mov.l r7,@(r0,r2)
while (--nblks > 0) {
1ba: 10 41 dt r1
1bc: 03 8f bf.s1c6
1be: 73 62 mov
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60039
--- Comment #2 from Nick Hudson ---
/wrk/obj/landisk/wrk/netbsd/gcc48x/src/tooldir.NetBSD-6.99.28-amd64/bin/shle--netbsdelf-gcc
-fvisibility=hidden -fstack-protector -Wstack-protector
-Wno-error=stack-protector --param ssp-buffer-size=1 -g -std
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60039
--- Comment #1 from Nick Hudson ---
With -O2 I see invalid pointer derefs in the morecore function called by
imalloc
Assignee: unassigned at gcc dot gnu.org
Reporter: skrll at netbsd dot org
Created attachment 32020
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32020&action=edit
NetBSD's /usr/src/libexec/ld.elf_so/xmalloc
Compiling the attached file for NetBSD/sh3 results in incorrect code.
--- Comment #1 from skrll at netbsd dot org 2006-12-01 13:40 ---
Created an attachment (id=12723)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12723&action=view)
reduced test case from netbsd src/sys/kern/kern_uuid.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30039
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: skrll at netbsd dot org
GCC build triplet: sparc64--netbsd
GCC host triplet: sparc64--netbsd
GCC target triplet: hppa--linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30039
12 matches
Mail list logo