[Bug testsuite/109146] Tail call prevention in frame-address.c is not correct

2023-03-16 Thread david.spickett at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109146 --- Comment #2 from David Spickett --- A detail that might be useful. The callee function uses UB because it compares pointers that don't point to the same object. https://www.open-std.org/jtc1/sc22/WG14/www/docs/n1570.pdf 6.5.8 Relational oper

[Bug testsuite/109146] Tail call prevention in frame-address.c is not correct

2023-03-15 Thread david.spickett at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109146 --- Comment #1 from David Spickett --- Correction. https://godbolt.org/z/fW5nsWE5e shows the issue when "!=" is used, the previous link used "==" instead.

[Bug testsuite/109146] New: Tail call prevention in frame-address.c is not correct

2023-03-15 Thread david.spickett at linaro dot org via Gcc-bugs
Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: david.spickett at linaro dot org Target Milestone: --- With recent changes over in clang, it's now able to see through the tail call prevention used in https://github.com/gcc-mirror/gcc/blob/maste

[Bug tree-optimization/108691] [13 Regression] ICE with function ptr and setjmp/returns twice at -O1

2023-02-15 Thread david.spickett at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108691 --- Comment #11 from David Spickett --- Thanks for the quick fix! > That still leaves us with missing abnormal edges - David, was this reduced > from an actual program? Further to this, someone pointed out to me that an indirect call to setjm

[Bug tree-optimization/108691] [13 Regression] ICE with function ptr and setjmp/returns twice at -O1

2023-02-13 Thread david.spickett at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108691 --- Comment #7 from David Spickett --- > That still leaves us with missing abnormal edges - David, was this reduced > from an actual program? No, it's a simplified version of the C used to generate an LLVM IR test case: extern int setjmp(ptr);

[Bug c/108691] ICE when compiling for AArch64 with BTI protection at -O1

2023-02-07 Thread david.spickett at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108691 --- Comment #1 from David Spickett --- Output from freport-bug attached.

[Bug c/108691] New: ICE when compiling for AArch64 with BTI protection at -O1

2023-02-07 Thread david.spickett at linaro dot org via Gcc-bugs
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: david.spickett at linaro dot org Target Milestone: --- Created attachment 54416 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54416&action=edit Output from -freport-bug Th

[Bug target/108642] ACLE function __arm_wsr missing for AArch64

2023-02-03 Thread david.spickett at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108642 --- Comment #6 from David Spickett --- Thanks for the link, we'll try to use those when we detect g++.

[Bug target/108642] ACLE function __arm_wsr missing for AArch64

2023-02-02 Thread david.spickett at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108642 --- Comment #4 from David Spickett --- Of course, I was just looking at at assembly output in compiler explorer and then locally I didn't link the object. That's why it seemed to work. Compiling and linking I get: $ ./bin/aarch64-none-linux-gnu

[Bug c++/108642] New: ACLE function __arm_wsr missing when compiling in C++ mode for AArch64

2023-02-02 Thread david.spickett at linaro dot org via Gcc-bugs
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: david.spickett at linaro dot org Target Milestone: --- This was found by a user trying to compile llvm's libc (which is largely written in c++) using g++ 8.5.0 for AArch

[Bug target/97349] New: Incorrect types for some Neon vdupq_n_<...> intrinsics

2020-10-09 Thread david.spickett at linaro dot org via Gcc-bugs
ty: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: david.spickett at linaro dot org Target Milestone: --- Created attachment 49337 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49337&action=edit test C file The attached file has function poin

[Bug target/97150] [AArch64] 2nd parameter of unsigned Neon scalar shift intrinsics should be signed

2020-09-21 Thread david.spickett at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97150 --- Comment #2 from David Spickett --- Created attachment 49250 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49250&action=edit preprocessed test file

[Bug target/97150] [AArch64] 2nd parameter of unsigned Neon scalar shift intrinsics should be signed

2020-09-21 Thread david.spickett at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97150 --- Comment #1 from David Spickett --- Created attachment 49248 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49248&action=edit reproducer C file Added test file.

[Bug target/97150] New: [AArch64] 2nd parameter of unsigned Neon scalar shift intrinsics should be signed

2020-09-21 Thread david.spickett at linaro dot org
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: david.spickett at linaro dot org Target Milestone: --- The attached test file assigns the following intrinsics to function pointers to check the argument and return

[Bug target/96313] [AArch64] vqmovun* return types should be unsigned

2020-09-17 Thread david.spickett at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96313 --- Comment #4 from David Spickett --- I've been fixing this for clang so here is a test file in case it's any help. gcc version 11.0.0 20200609 (experimental) Ubuntu 16.04.7 LTS running on x86_64 $ ./aarch64-none-elf-g++ -v Using built-in spec

[Bug target/96313] [AArch64] vqmovun* return types should be unsigned

2020-09-17 Thread david.spickett at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96313 David Spickett changed: What|Removed |Added CC||david.spickett at linaro dot org