[Bug testsuite/92550] FAIL: gcc.dg/ipa/ipa-sra-8.c execution test on strict-align targets

2024-07-28 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92550

John David Anglin  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #15 from John David Anglin  ---
Fixed on trunk.

[Bug testsuite/92550] FAIL: gcc.dg/ipa/ipa-sra-8.c execution test on strict-align targets

2024-07-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92550

--- Comment #14 from GCC Commits  ---
The master branch has been updated by John David Anglin :

https://gcc.gnu.org/g:59c6d6a5b53d7b0e483a686f6b9db093bb77c064

commit r15-2365-g59c6d6a5b53d7b0e483a686f6b9db093bb77c064
Author: John David Anglin 
Date:   Sun Jul 28 13:34:54 2024 -0400

testsuite: Fix unaligned accesses in ipa-sra-8.c and ipa-sra-9.c

2024-07-28  John David Anglin  

gcc/testsuite/ChangeLog:

PR testsuite/92550
* gcc.dg/ipa/ipa-sra-8.c: Change get_a argument type to SSS.
* gcc.dg/ipa/ipa-sra-9.c: Likewise.

[Bug testsuite/92550] FAIL: gcc.dg/ipa/ipa-sra-8.c execution test on strict-align targets

2024-07-28 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92550

--- Comment #13 from John David Anglin  ---
Does this issue affect you?

I didn't commit or send change to list as this mainly affects
32-bit hpux target which has been disabled.

[Bug testsuite/92550] FAIL: gcc.dg/ipa/ipa-sra-8.c execution test on strict-align targets

2024-07-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92550

Sam James  changed:

   What|Removed |Added

Summary|FAIL:   |FAIL:
   |gcc.dg/ipa/ipa-sra-8.c  |gcc.dg/ipa/ipa-sra-8.c
   |execution test  |execution test on
   ||strict-align targets
 CC||sjames at gcc dot gnu.org

--- Comment #12 from Sam James  ---
(In reply to John David Anglin from comment #10)
> Created attachment 48257 [details]
> Patch to fix argument alignment

Dave, could you send it to the ML? Thanks.

[Bug testsuite/92550] FAIL: gcc.dg/ipa/ipa-sra-8.c execution test

2020-04-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92550

Richard Biener  changed:

   What|Removed |Added

 Ever confirmed|0   |1
   Target Milestone|10.0|---
   Last reconfirmed||2020-04-14
   Keywords|wrong-code  |
 Status|UNCONFIRMED |NEW
   Priority|P4  |P3

--- Comment #11 from Richard Biener  ---
Indeed an obvious bug in the testcase, prone to fail on any strict-align
target.

[Bug testsuite/92550] FAIL: gcc.dg/ipa/ipa-sra-8.c execution test

2020-04-12 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92550

--- Comment #10 from John David Anglin  ---
Created attachment 48257
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48257=edit
Patch to fix argument alignment

[Bug testsuite/92550] FAIL: gcc.dg/ipa/ipa-sra-8.c execution test

2020-04-10 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92550

John David Anglin  changed:

   What|Removed |Added

  Component|target  |testsuite
Summary|[10 Regression] FAIL:   |FAIL:
   |gcc.dg/ipa/ipa-sra-8.c  |gcc.dg/ipa/ipa-sra-8.c
   |execution test  |execution test

--- Comment #9 from John David Anglin  ---
With -fno-ipa-sra, the test always fails since it was first introduced.

The test passes if I change the argument of get_a from SS to SSS.  Then,
it handles the misaligned argument:

get_a:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
.stabn  68,0,14,L$M0001-L$FBB0001
L$M0001:
ldb 0(%r26),%r19
zdep %r19,7,8,%r19
ldb 1(%r26),%r20
zdep %r20,15,16,%r20
ldb 2(%r26),%r28
or %r20,%r19,%r20
zdep %r28,23,24,%r28
ldb 3(%r26),%r19
or %r28,%r20,%r28
.stabn  68,0,17,L$M0002-L$FBB0001
L$M0002:
bv %r0(%r2)
or %r19,%r28,%r28
.EXIT
.PROCEND