[Bug target/66731] vnmul, fnmul patterns incorrect for -frounding-math

2015-08-04 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66731 --- Comment #9 from nsz at gcc dot gnu.org --- Author: nsz Date: Tue Aug 4 16:49:54 2015 New Revision: 226588 URL: https://gcc.gnu.org/viewcvs?rev=226588&root=gcc&view=rev Log: Fix broken backport patch. gcc: Backport from

[Bug target/66731] vnmul, fnmul patterns incorrect for -frounding-math

2015-08-04 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66731 --- Comment #10 from nsz at gcc dot gnu.org --- Author: nsz Date: Tue Aug 4 17:42:05 2015 New Revision: 226592 URL: https://gcc.gnu.org/viewcvs?rev=226592&root=gcc&view=rev Log: gcc: Backport from mainline: 2015-07-06

[Bug target/66731] vnmul, fnmul patterns incorrect for -frounding-math

2015-08-05 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66731 nsz at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug target/71615] wrong float point result with {-Ofast, -march=native, and valgrind}

2016-06-22 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71615 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug middle-end/71625] missing strlen optimization on different array initialization style

2016-06-23 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71625 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug target/63359] aarch64: 32bit registers in inline asm

2016-06-23 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63359 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug middle-end/71625] missing strlen optimization on different array initialization style

2016-06-24 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71625 --- Comment #8 from nsz at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #6) > (In reply to Marc Glisse from comment #1) > > Or we could do like clang and improve alias analysis. We should know that > > array doesn&#x

[Bug libstdc++/71684] Memory leak with std::mutex and std::lock_guard on freebsd

2016-06-28 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71684 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug libstdc++/71684] Memory leak with std::mutex and std::lock_guard on freebsd

2016-06-28 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71684 --- Comment #5 from nsz at gcc dot gnu.org --- (In reply to Jonathan Wakely from comment #3) > (In reply to nsz from comment #1) > > on a posix platform pthread_mutex_destroy should be called for a mutex if > > its life time end

[Bug c/71928] New: installed libcilkrts.so has RPATH

2016-07-19 Thread nsz at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- installed libcilkrts.so has an RPATH setting that breaks when a cross toolchain is moved around or cross testing a toolchain. installed libraries should not have RPATH setting.

[Bug c/71929] New: libcilkrts build failure because broken __cilkrts_yield and __cilkrts_idle

2016-07-19 Thread nsz at gcc dot gnu.org
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- os-unix.c is broken on *linux-musl targets. the portable way to yield is sched_yield, this should be called on all platforms including

[Bug testsuite/71931] New: build sysroot flags are not passed to target lib tests

2016-07-19 Thread nsz at gcc dot gnu.org
Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- when gcc is built --with-build-sysroot then $CC for the target libs includes --sysroot, but when the test is run for these target libs CC=xgcc is used without

[Bug testsuite/71933] New: plugin tests fail when host!=target but tests are run locally

2016-07-19 Thread nsz at gcc dot gnu.org
Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- if the test system is run locally (unix.exp) then LD_LIBRARY_PATH set during compilation and linking. this affects the dynamic linking of

[Bug pch/71934] New: pch cannot be disabled so gcc cannot be position independent

2016-07-19 Thread nsz at gcc dot gnu.org
Priority: P3 Component: pch Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- gcc should be possible to build as PIE by disabling PCH. (e.g. for running gcc natively on an fdpic target) some users might not care about PCH

[Bug testsuite/71931] build sysroot flags are not passed to target lib tests

2016-07-20 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71931 --- Comment #1 from nsz at gcc dot gnu.org --- a workaround is passing EXTRA_DEJAGNU_SITE_CONFIG=foo.exp to make, where foo.exp has set GCC_UNDER_TEST "build-dir/gcc/xgcc -Bbuild-dir/gcc --sysroot build-sysroot"

[Bug target/99551] New: aarch64: csel is used for cold scalar computation which affects performance

2021-03-11 Thread nsz at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- this is an optimization bug, i don't know which layer it should be fixed so i report it as target bug. cold path af

[Bug target/97638] New: aarch64: bti c is missing at function entry with branch-protection

2020-10-30 Thread nsz at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- gcc-10 (and trunk) with -mbranch-protection=bti (or standard) fails to generate bti c at function entry in some cases: char *foo (const

[Bug c/97321] New: add warning for pointer casts that may lead to aliasing violation when dereferenced

2020-10-07 Thread nsz at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- consider: int f(unsigned char **); int g(char *p) { return f((unsigned char **)&p); } such code is almost surely w

[Bug libgcc/98251] libgcc on 32-bit soft-float ARM narrows -NaN incorrectly

2020-12-17 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98251 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug target/98618] New: aarch64: oob adrp offset causes relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21

2021-01-11 Thread nsz at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- gcc-8 and earlier can generate adrp with out of bounds offset for hidden and local symbols. i haven't yet

[Bug target/98618] aarch64: oob adrp offset causes relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21

2021-01-11 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98618 --- Comment #2 from nsz at gcc dot gnu.org --- (In reply to Florian Weimer from comment #1) > Is the test case really valid? It involves an out-of-bounds array access, > after all. no it doesn't, n is signed long and its value can b

[Bug target/98618] aarch64: oob adrp offset causes relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21

2021-01-11 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98618 --- Comment #4 from nsz at gcc dot gnu.org --- (In reply to Florian Weimer from comment #1) > Is the test case really valid? It involves an out-of-bounds array access, > after all. sorry you are right the indexes are too far, a better t

[Bug target/98618] aarch64: oob adrp offset causes relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21

2021-01-11 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98618 --- Comment #5 from nsz at gcc dot gnu.org --- (In reply to Wilco from comment #3) > I fixed this in GCC10: > https://gcc.gnu.org/git/?p=gcc.git&a=commit; > h=7d3b27ff12610fde9d6c4b56abc70c6ee9b6b3db > > So this just nee

[Bug target/98747] New: aarch64: __ARM_FEATURE_MEMORY_TAGGING is defined on ilp32

2021-01-19 Thread nsz at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- memory tagging intrinsics should be available when arm_acle.h is included and __ARM_FEATURE_MEMORY_TAGGING is defined. memory tagging is not

[Bug target/100354] New: [9 regression] aarch64: non-deligitimized UNSPEC UNSPEC_TLS (76) found in variable location

2021-04-30 Thread nsz at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- i see this note/warning a lot during an aarch64 glibc build since gcc-9, it seems to require -O -g, and seems

[Bug target/102768] [feature request] Add compiler support for aarch64 shadow call stack

2022-02-22 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102768 nsz at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status

[Bug target/104689] New: aarch64: libgcc: DW_CFA_val_expression is not supported for RA_SIGN_SATE register

2022-02-25 Thread nsz at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- gcc emits DW_CFA_AARCH64_negate_ra_state (DW_CFA_window_save) for pac-ret but it's valid to set the RA_SIGN_

[Bug ipa/105160] New: [12 regression] ipa modref marks functions with asm volatile as const or pure

2022-04-05 Thread nsz at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- the following code is miscompiled with gcc -O1 #define sysreg_read(regname

[Bug middle-end/104504] New: spurious -Wswitch-unreachable warning with -ftrivial-auto-var-init=zero

2022-02-11 Thread nsz at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- reduced from linux code on which gcc-12 warns now: int foo(int x) { switch(x) { int y; /* spuriously

[Bug target/102768] [feature request] Add support for aarch64 shadow call stack

2021-10-15 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102768 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug target/102768] [feature request] Add support for aarch64 shadow call stack

2021-10-18 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102768 --- Comment #3 from nsz at gcc dot gnu.org --- well, protection mechanisms are rarely equivalent. neither scs nor traditional stack protector are perfect. to me compiler support for freestanding environments such as linux makes sense. i cannot

[Bug target/104689] aarch64: libgcc: DW_CFA_val_expression is not supported for RA_SIGN_SATE register

2022-05-25 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104689 nsz at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |13.0 Resolution

[Bug target/113874] GNU2 TLS descriptor calls do not follow psABI on x86_64-linux-gnu

2024-02-13 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113874 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug target/106671] aarch64: BTI instruction are not inserted for cross-section direct calls

2023-08-15 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106671 --- Comment #12 from nsz at gcc dot gnu.org --- (In reply to Jiangning Liu from comment #11) > Hi Wilco, > > > "it means we will need a linker optimization to remove those redundant BTIs > > (eg. by changing them into

[Bug tree-optimization/111478] New: [12/13/14 regression] aarch64 SVE ICE: in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250

2023-09-19 Thread nsz at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- $ cat bug.c float a, d, e, f, g; int b, c; void h() { for (; b; b++) { for (; c

[Bug tree-optimization/111479] New: [12/13 regression] aarch64 SVE ICE: in compute_live_loop_exits, at tree-ssa-loop-manip.cc:248

2023-09-19 Thread nsz at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- maybe related to bug 111478 $ cat bug.c float a, b, c; void *d; int e, f, g; void p

[Bug tree-optimization/111478] [12/13/14 regression] aarch64 SVE ICE: in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250

2023-09-19 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111478 --- Comment #1 from nsz at gcc dot gnu.org --- see also bug 111479

[Bug target/106671] aarch64: BTI instruction are not inserted for cross-section direct calls

2023-03-23 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106671 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug target/114741] New: [14 regression] aarch64 sve: unnecessary fmov for scalar int bit operations

2024-04-16 Thread nsz at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- void foo(unsigned i, unsigned *p) { *p = i & 1; } with gcc -march=armv8-a+sve -O2 compiles to foo: fmov

[Bug target/112987] [14 Regression][aarch64] ICE in aarch64_do_track_speculation, at config/aarch64/aarch64-speculation.cc:214 since r14-5886-g426fddcbdad674

2024-01-17 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112987 nsz at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/113552] [11/12/13/14 Regression] vectorizer generates calls to vector math routines with 1 simd lane.

2024-01-23 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113552 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug target/112987] [14 Regression][aarch64] ICE in aarch64_do_track_speculation, at config/aarch64/aarch64-speculation.cc:214 since r14-5886-g426fddcbdad674

2024-02-01 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112987 nsz at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

<    1   2   3