[Bug testsuite/113278] analyzer tests relying on fileno() fail on arm-eabi

2024-02-19 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113278 Torbjorn SVENSSON changed: What|Removed |Added CC||azoff at gcc dot gnu.org

[Bug testsuite/114343] [13 regression] many erratic errors starting with r13-8433-g1277f69b9b0206

2024-03-15 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114343 Torbjorn SVENSSON changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/98636] [ARM] ICE on passing incompatible options for fp16 - global_options’ are modified in local context

2024-08-15 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98636 Torbjorn SVENSSON changed: What|Removed |Added CC||azoff at gcc dot gnu.org --- Comment

[Bug tree-optimization/101373] PRE hoists trapping instructions over possibly throwing calls

2024-08-16 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101373 Torbjorn SVENSSON changed: What|Removed |Added CC||azoff at gcc dot gnu.org --- Commen

[Bug target/116444] New: gcc.target/arm/thumb-ifcvt-2.c fails on Cortex-M55 and misses possible Cortex-M optimization

2024-08-21 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116444 Bug ID: 116444 Summary: gcc.target/arm/thumb-ifcvt-2.c fails on Cortex-M55 and misses possible Cortex-M optimization Product: gcc Version: 13.3.0 Status: UNCONFIRMED

[Bug target/116445] New: gcc.target/arm/unsigned-extend-2.c on Cortex-M55 and misses possible Cortex-M optimization

2024-08-21 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116445 Bug ID: 116445 Summary: gcc.target/arm/unsigned-extend-2.c on Cortex-M55 and misses possible Cortex-M optimization Product: gcc Version: 13.3.0 Status: UNCONFIRMED

[Bug target/116447] New: g++.dg/cpp23/ext-floating13.C fails on Cortex-M55 due to undefined reference

2024-08-21 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116447 Bug ID: 116447 Summary: g++.dg/cpp23/ext-floating13.C fails on Cortex-M55 due to undefined reference Product: gcc Version: 13.3.0 Status: UNCONFIRMED Severity:

[Bug target/116448] New: gcc.target/arm/vfp-1.c uses the wrong instructions on Cortex-M55

2024-08-21 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116448 Bug ID: 116448 Summary: gcc.target/arm/vfp-1.c uses the wrong instructions on Cortex-M55 Product: gcc Version: 13.3.0 Status: UNCONFIRMED Severity: normal

[Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets

2024-06-07 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253 Torbjorn SVENSSON changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |azoff at gcc dot gnu.org

[Bug target/115253] [14/15 regression] New tests added by r14-10122-gad45086178d833 fail on Cortex M23 and M55 bare metal targets

2024-06-12 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253 Torbjorn SVENSSON changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug testsuite/115826] New: vect-tsvc-s1281.c fails with with -ffast-math on arm-none-eabi

2024-07-08 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115826 Bug ID: 115826 Summary: vect-tsvc-s1281.c fails with with -ffast-math on arm-none-eabi Product: gcc Version: 13.3.0 Status: UNCONFIRMED Severity: normal

[Bug c/115827] New: uninit-17.c no longer emits expected warning on arm-none-eabi

2024-07-08 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115827 Bug ID: 115827 Summary: uninit-17.c no longer emits expected warning on arm-none-eabi Product: gcc Version: 13.3.0 Status: UNCONFIRMED Severity: normal

[Bug target/105090] BFI instructions are not generated on arm-none-eabi-g++

2024-07-09 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105090 Torbjorn SVENSSON changed: What|Removed |Added CC||azoff at gcc dot gnu.org --- Commen

[Bug target/105090] BFI instructions are not generated on arm-none-eabi-g++

2024-07-10 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105090 --- Comment #10 from Torbjorn SVENSSON --- I've sent a patch that drops the lsr check: https://gcc.gnu.org/pipermail/gcc-patches/2024-July/656871.html

[Bug testsuite/115826] vect-tsvc-s1281.c fails on arm-*-* due to -ffast-math being required for vectorization tests

2024-07-15 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115826 --- Comment #2 from Torbjorn SVENSSON --- Adding /* { dg-add-options ieee } */ to gcc/testsuite/gcc.dg/vect/tsvc/vect-tsvc-s1281.c did not change any of the flags that gcc was invoked with. I experimented a bit more and found that adding -fno-f

[Bug target/116032] New: [12/13/14/15 Regression] gcc.target/arm/pr40457-2.c produces larger code for armv7ve+neon

2024-07-22 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116032 Bug ID: 116032 Summary: [12/13/14/15 Regression] gcc.target/arm/pr40457-2.c produces larger code for armv7ve+neon Product: gcc Version: 13.3.0 Status: UNCONFIRMED

[Bug target/116032] [12/13/14/15 Regression] gcc.target/arm/pr40457-2.c produces larger code for armv7ve+neon

2024-07-23 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116032 Torbjorn SVENSSON changed: What|Removed |Added CC||richard.earnshaw at arm dot com ---

[Bug testsuite/115826] vect-tsvc-s1281.c fails on arm-*-* due to -ffast-math being required for vectorization tests

2024-07-23 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115826 Torbjorn SVENSSON changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug analyzer/116060] New: -fanalyzer -fdiagnostics-text-art-charset=unicode replaces typedef'ed type with "int" in some cases

2024-07-23 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116060 Bug ID: 116060 Summary: -fanalyzer -fdiagnostics-text-art-charset=unicode replaces typedef'ed type with "int" in some cases Product: gcc Version: 14.0 Status: UNCONFIRME

[Bug target/116444] gcc.target/arm/thumb-ifcvt-2.c fails on Cortex-M55 and misses possible Cortex-M optimization

2024-10-04 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116444 --- Comment #3 from Torbjorn SVENSSON --- @Andre, did you see the email I sent you yesterday about the regression that this change introduced?

[Bug target/117408] New: ICE on `#pragma arm "arm_mve.h" false`

2024-11-01 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117408 Bug ID: 117408 Summary: ICE on `#pragma arm "arm_mve.h" false` Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/117408] ICE on `#pragma arm "arm_mve.h" false`

2024-11-01 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117408 Torbjorn SVENSSON changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |azoff at gcc dot gnu.org ---

[Bug target/116444] gcc.target/arm/thumb-ifcvt-2.c fails on Cortex-M55 and misses possible Cortex-M optimization

2024-11-22 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116444 --- Comment #8 from Torbjorn SVENSSON --- (In reply to avieira from comment #7) > @Torbjorn: OK to close? Yes, this is ok on trunk, but should it also be backported to releases/gcc-14?

[Bug target/117408] ICE on `#pragma arm "arm_mve.h" false`

2024-11-09 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117408 Torbjorn SVENSSON changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/94531] gcc.target/arm/its.c fails for cortex-m3, m4, m33, m55, m85

2024-12-12 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94531 Torbjorn SVENSSON changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/116447] g++.dg/cpp23/ext-floating13.C fails on Cortex-M55 due to undefined reference

2024-12-12 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116447 --- Comment #4 from Torbjorn SVENSSON --- (In reply to Jakub Jelinek from comment #3) > libsupc++.a (fundamental_type_info.o) (also included in libstdc++.a and > libstdc++.so.6) > should provide those symbols since r13-4722 if the target support

[Bug target/116447] g++.dg/cpp23/ext-floating13.C fails on Cortex-M55 due to undefined reference

2024-12-12 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116447 --- Comment #2 from Torbjorn SVENSSON --- (In reply to Richard Earnshaw from comment #1) > How was the compiler configured and what's the full command line used when > building the test? The toolchain was built using the scripts here: https://g

[Bug analyzer/116060] -fanalyzer -fdiagnostics-text-art-charset=unicode replaces typedef'ed type with "int" in some cases

2024-12-16 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116060 --- Comment #2 from Torbjorn SVENSSON --- I posted a patch that appears to fix this issue, but I'm not sure if it's the only thing needed for C++. https://gcc.gnu.org/pipermail/gcc-patches/2024-December/671724.html

[Bug lto/118136] Linking start code built with -flto with application where main signature does not match causes warning

2024-12-19 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118136 --- Comment #9 from Torbjorn SVENSSON --- (In reply to Andrew Pinski from comment #8) > (In reply to Torbjorn SVENSSON from comment #7) > > So, if I understand you correctly Andrew, it's impossible to write the start > > code in C for a free-sta

[Bug lto/118136] Linking start code built with -flto with application where main signature does not match causes warning

2024-12-19 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118136 --- Comment #7 from Torbjorn SVENSSON --- So, if I understand you correctly Andrew, it's impossible to write the start code in C for a free-standing application and build it with -flto into a library and then reuse that? I.e. think of the case w

[Bug lto/118136] Linking start code built with -flto with application where main signature does not match causes warning

2024-12-19 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118136 --- Comment #1 from Torbjorn SVENSSON --- Created attachment 59928 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59928&action=edit Test case to reproduce

[Bug lto/118136] New: Linking start code built with -flto with application where main signature does not match causes warning

2024-12-19 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118136 Bug ID: 118136 Summary: Linking start code built with -flto with application where main signature does not match causes warning Product: gcc Version: 15.0 Status: UNCONF

[Bug analyzer/116060] -fanalyzer -fdiagnostics-text-art-charset=unicode replaces typedef'ed type with "int" in some cases

2025-01-11 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116060 Torbjorn SVENSSON changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRME

[Bug testsuite/103298] [12 regression] regressions on arm after r12-5301

2025-01-10 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103298 Torbjorn SVENSSON changed: What|Removed |Added CC||azoff at gcc dot gnu.org Re

[Bug target/116447] g++.dg/cpp23/ext-floating13.C fails on Cortex-M55 due to undefined reference

2025-01-12 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116447 --- Comment #7 from Torbjorn SVENSSON --- Indeed, it looks like this could be related. @Christophe, did you take a look at issue in ticket 117814 or is that still on your todo list? If you did, do you think these tickets are related?

[Bug target/118437] New: Unable to include arm_fp16.h on a MVE capable Cortex-M target

2025-01-12 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118437 Bug ID: 118437 Summary: Unable to include arm_fp16.h on a MVE capable Cortex-M target Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/118211] tree-vectorize: vectorize input.cc, find_end_of_line

2025-01-19 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118211 Torbjorn SVENSSON changed: What|Removed |Added CC||azoff at gcc dot gnu.org --- Commen

[Bug testsuite/113425] gcc.dg/fold-copysign-1.c fails on arm since g:7cbe41d35e6

2025-01-19 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113425 Torbjorn SVENSSON changed: What|Removed |Added CC||azoff at gcc dot gnu.org --- Commen

[Bug target/102018] gcc.dg/torture/pr82692.c execution fails on arm cortex-m7

2025-01-19 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102018 Torbjorn SVENSSON changed: What|Removed |Added CC||azoff at gcc dot gnu.org --- Commen

[Bug target/116448] gcc.target/arm/vfp-1.c uses the wrong instructions on Cortex-M55

2025-01-22 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116448 --- Comment #2 from Torbjorn SVENSSON --- Thanks Richard. I'll give it a try with -Os and create a patch with it.

[Bug target/116448] gcc.target/arm/vfp-1.c uses the wrong instructions on Cortex-M55

2025-01-24 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116448 --- Comment #6 from Torbjorn SVENSSON --- It worked. https://gcc.gnu.org/pipermail/gcc-patches/2025-January/674476.html

[Bug target/102018] gcc.dg/torture/pr82692.c execution fails on arm cortex-m7

2025-01-24 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102018 --- Comment #5 from Torbjorn SVENSSON --- (In reply to Christophe Lyon from comment #4) > Rather than a cost issue, it's probably because you use +fp.dp (which > -mcpu=cortex-m7 does too), which enables the double-precision FPU. cortex-m4 > does

[Bug target/116448] gcc.target/arm/vfp-1.c uses the wrong instructions on Cortex-M55

2025-01-24 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116448 Torbjorn SVENSSON changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/116448] gcc.target/arm/vfp-1.c uses the wrong instructions on Cortex-M55

2025-01-24 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116448 --- Comment #3 from Torbjorn SVENSSON --- Compiling the test case with -Os resolves the failed checks, but it also starts failing on the sqrt() and sqrtf() calls. These are no longer expanded to vsqrt.f32 and vsqrt.f64 but instead a branch to sq

[Bug target/116445] gcc.target/arm/unsigned-extend-2.c on Cortex-M55 and misses possible Cortex-M optimization

2025-01-24 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116445 --- Comment #6 from Torbjorn SVENSSON --- (In reply to Christophe Lyon from comment #5) > The test has: > /* { dg-require-effective-target arm_thumb2_ok_no_arm_v8_1_lob } */ > since commit g:d2ed233cb940aa3eecc163d98b47979dd81dbc0a > with this c

[Bug target/118460] New: [14/15 Regression] ICE on armv8.1-m.main with -mfloat-abi=hard

2025-01-13 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118460 Bug ID: 118460 Summary: [14/15 Regression] ICE on armv8.1-m.main with -mfloat-abi=hard Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/118446] New: __builtin_iseqsig does not raise exception when supplied with NaN on Cortex-M at -O1 or higher

2025-01-13 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118446 Bug ID: 118446 Summary: __builtin_iseqsig does not raise exception when supplied with NaN on Cortex-M at -O1 or higher Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/118446] __builtin_iseqsig does not raise exception when supplied with NaN on Cortex-M at -O1 or higher

2025-01-13 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118446 --- Comment #2 from Torbjorn SVENSSON --- No, I don't think it's related as armv8-a produces: $ arm-none-eabi-gcc -march=armv8-a -mfloat-abi=hard -mfpu=neon-fp-armv8 -Os -S -o - foo.c -dp ... ffalse: @ args = 0, pretend = 0, frame = 0

[Bug target/118460] [14/15 Regression] ICE on armv8.1-m.main with -mfloat-abi=hard

2025-01-14 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118460 --- Comment #2 from Torbjorn SVENSSON --- std::hypot() is actually expanded to a min/max like expression. Anyhow, I've reduced it further down to the following C snippet: $ cat pr118460.c _Float16 bar(_Float16 x, _Float16 y) { return x < y ?