[Bug 1169338] New: m4 miscompiled by profiling on arm32
http://bugzilla.suse.com/show_bug.cgi?id=1169338 Bug ID: 1169338 Summary: m4 miscompiled by profiling on arm32 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: armv7 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: rguenther@suse.com Reporter: schwab@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- https://build.opensuse.org/package/live_build_log/openSUSE:Factory:ARM/m4/st... The function ntoa inlined into m4_incr is miscompiled with -fprofile-use, using signed divmod instead of unsigned divmod. add r2, pc, r8 strb r1, [r2, #307] bmi .L567 .L575: ldr r9, .L605+56 movw r8, #52429 mov r1, #10 ldr r10, .L605+60 mov r0, r7 movt r8, 52428 bl __aeabi_idivmod(PLT) cmp r7, #9 .LPIC155: add r9, pc, r9 .LPIC154: add r6, pc, r10 ldrb r0, [r9, r1] @ zero_extendqisi2 umull r10, fp, r7, r8 lsr fp, fp, #3 strb r0, [r6, #306] bls .L585 mov r0, fp umull r10, fp, fp, r8 mov r1, #10 bl __aeabi_idivmod(PLT) ldrb ip, [r9, r1] @ zero_extendqisi2 cmp r7, #99 lsr r8, fp, #3 strb ip, [r6, #305] bhi .L582 add r3, r6, #52 add r6, r3, #253 add r9, r3, #254 b .L576 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1169338 http://bugzilla.suse.com/show_bug.cgi?id=1169338#c1 --- Comment #1 from Andreas Schwab <schwab@suse.com> --- This is no longer reproducable with gcc-10. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1169338 http://bugzilla.suse.com/show_bug.cgi?id=1169338#c2 --- Comment #2 from Richard Biener <rguenther@suse.com> --- Please file an upstream bugreport. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1169338 https://bugzilla.suse.com/show_bug.cgi?id=1169338#c3 Richard Biener <rguenther@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Richard Biener <rguenther@suse.com> --- Fixed with gcc10+ as used in Tumbleweed now. -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com