[Bug target/115353] [14 regression] Missed thumb2 table branch instruction optimisations since r14-4946-g7006e5d2d7b5b2

2024-06-07 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115353

Richard Ball  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #7 from Richard Ball  ---
Fixed

[Bug target/115353] [14/15 regression] Missed thumb2 table branch instruction optimisations since r14-4946-g7006e5d2d7b5b2

2024-06-06 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115353

--- Comment #5 from Richard Ball  ---
Fixed on trunk so far

[Bug target/115353] [14/15 regression] Missed thumb2 table branch instruction optimisations since r14-4946-g7006e5d2d7b5b2

2024-06-06 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115353

--- Comment #3 from Richard Ball  ---
Patch in Upstream Review:
https://sourceware.org/pipermail/gcc-patches/2024-June/653820.html

[Bug target/115353] [14/15 regression] Missed thumb2 table branch instruction optimisations since r14-4946-g7006e5d2d7b5b2

2024-06-06 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115353

Richard Ball  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

[Bug tree-optimization/111882] [13 Regression] : internal compiler error: in get_expr_operand in ifcvt with Variable length arrays and bitfields inside a struct

2024-05-02 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111882

Richard Ball  changed:

   What|Removed |Added

 CC||ricbal02 at gcc dot gnu.org

--- Comment #6 from Richard Ball  ---
Confirmed error exists on gcc-13. Backport applies cleanly and fixes the error.
Will request permission to backport on the mailing list.

[Bug tree-optimization/114672] during GIMPLE pass: widening_mul ICE: verify_gimple failed: type mismatch in 'widen_mult_plus_expr' at -O2

2024-05-02 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114672

Richard Ball  changed:

   What|Removed |Added

 CC||ricbal02 at gcc dot gnu.org

--- Comment #4 from Richard Ball  ---
Confirmed bug exists in gcc-12 and gcc-13. Backport applies cleanly and fixes
the issue. I'll request a backport on the mailing list

[Bug target/114272] SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510

2024-04-26 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114272

Richard Ball  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #7 from Richard Ball  ---
Fixed on Trunk for both and backported Cortex-A510 fix to gcc-12 and gcc-13

[Bug target/114837] [11/12/13] Fix to security weaknesses in arm PCS for CMSE

2024-04-25 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114837

Richard Ball  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #8 from Richard Ball  ---
Fixed

[Bug target/114837] [11/12/13] Fix to security weaknesses in arm PCS for CMSE

2024-04-25 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114837

--- Comment #7 from Richard Ball  ---
Backported to gcc-11, gcc-12 and gcc-13

[Bug target/114837] [11/12/13/14] Fix to security weaknesses in arm PCS for CMSE

2024-04-25 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114837

--- Comment #3 from Richard Ball  ---
Fixed on Trunk so far

[Bug target/114837] [11/12/13/14] Fix to security weaknesses in PCS for CMSE

2024-04-24 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114837

--- Comment #1 from Richard Ball  ---
https://sourceware.org/pipermail/gcc-patches/2024-April/649973.html

[Bug target/114837] [11/12/13/14] Fix to security weaknesses in PCS for CMSE

2024-04-24 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114837

Richard Ball  changed:

   What|Removed |Added

   Assignee|unassigned at gcc dot gnu.org  |ricbal02 at gcc dot 
gnu.org
 Status|UNCONFIRMED |ASSIGNED
 Target||aarch64
   Last reconfirmed||2024-04-24
 Ever confirmed|0   |1

[Bug target/114837] New: [11/12/13/14] Fix to security weaknesses in PCS for CMSE

2024-04-24 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114837

Bug ID: 114837
   Summary: [11/12/13/14] Fix to security weaknesses in PCS for
CMSE
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: ricbal02 at gcc dot gnu.org
  Target Milestone: ---

Security weaknesses exist in PCS for CMSE. To resolve this a patch will be
upstreamed and backported which will:

1) When calling a secure function from non-secure code then any arguments
   smaller than 32-bits that are passed in registers are zero- or
sign-extended.
2) After a non-secure function returns into secure code then any return value
   smaller than 32-bits that is passed in a register is  zero- or
sign-extended.

This patch will fix the following: CVE-2024-0151.

[Bug target/114272] SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510

2024-03-26 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114272

--- Comment #4 from Richard Ball  ---
Fixed on Trunk so far

[Bug target/114272] SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510

2024-03-07 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114272

--- Comment #2 from Richard Ball  ---
Bad wording on my part there, apologies. You're correct, not incorrect perhaps
sub-optimal is a better wording.

[Bug target/114272] SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510

2024-03-07 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114272

Richard Ball  changed:

   What|Removed |Added

   Last reconfirmed||2024-03-07
 Ever confirmed|0   |1
 Status|UNCONFIRMED |ASSIGNED
 Target||aarch64
   Assignee|unassigned at gcc dot gnu.org  |ricbal02 at gcc dot 
gnu.org

[Bug target/114272] New: SCHEDULER_IDENT incorrect for Cortex-A520 and Cortex-A510

2024-03-07 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114272

Bug ID: 114272
   Summary: SCHEDULER_IDENT incorrect for Cortex-A520 and
Cortex-A510
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: ricbal02 at gcc dot gnu.org
  Target Milestone: ---

The SCHEDULER_IDENT for these two CPUs was incorrectly
set to cortexa55, which is incorrect. This can cause
incorrect asm to be generated.

[Bug tree-optimization/111268] [11/12/13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2024-02-01 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111268

Richard Ball  changed:

   What|Removed |Added

Summary|[11/12/13/14 Regression]|[11/12/13 Regression]
   |internal compiler error: in |internal compiler error: in
   |to_constant, at |to_constant, at
   |poly-int.h:504  |poly-int.h:504

--- Comment #19 from Richard Ball  ---
Fixed on trunk so far.

[Bug tree-optimization/111268] [11/12/13/14 Regression] internal compiler error: in to_constant, at poly-int.h:504

2024-02-01 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111268

--- Comment #17 from Richard Ball  ---
(In reply to Richard Ball from comment #16)
> Confirmed that approved patch:
> https://sourceware.org/pipermail/gcc-patches/2024-February/644711.html
> 
> Fixes neon-sve-bridge.c error and the error in #c8.
> The error in #c3 appears to already be fixed.

Apologies this approved patch:
https://sourceware.org/pipermail/gcc-patches/2024-February/644714.html

[Bug tree-optimization/111268] [11/12/13/14 Regression] internal compiler error: in to_constant, at poly-int.h:504

2024-02-01 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111268

--- Comment #16 from Richard Ball  ---
Confirmed that approved patch:
https://sourceware.org/pipermail/gcc-patches/2024-February/644711.html

Fixes neon-sve-bridge.c error and the error in #c8.
The error in #c3 appears to already be fixed.

[Bug tree-optimization/111268] [11/12/13/14 Regression] internal compiler error: in to_constant, at poly-int.h:504

2024-01-30 Thread ricbal02 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111268

Richard Ball  changed:

   What|Removed |Added

 CC||ricbal02 at gcc dot gnu.org

--- Comment #15 from Richard Ball  ---
The following patch fixes the neon-sve-bridge.c regression around this bug.
https://sourceware.org/pipermail/gcc-patches/2024-January/644432.html