public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/115243] New: error: stmt with wrong VUSE
@ 2024-05-27  7:57 dcb314 at hotmail dot com
  2024-05-27 13:38 ` [Bug c/115243] " sjames at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dcb314 at hotmail dot com @ 2024-05-27  7:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115243

            Bug ID: 115243
           Summary: error: stmt with wrong VUSE
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

This reduced C code:

int g_6, func_11;
void func_8();
void func_39( int * p_41, long p_42)
{
        char trans_9;   
        func_11 = trans_9 >= 32 ? p_42 : p_42 >> trans_9;
        if (func_11)
                *p_41 = 0;
        int l_59 = g_6;
        func_39( &l_59, 10);
        func_8(&l_59);
}

does this with recent gcc:

[dcb38@fedora ~]$ ~/gcc/results/bin/gcc -c -w -O1 bug1030.c
[dcb38@fedora ~]$ ~/gcc/results/bin/gcc -c -w -O2 bug1030.c
bug1030.c: In function ‘func_39’:
bug1030.c:4:6: error: stmt with wrong VUSE
    4 | void func_39( int * p_41, long p_42)
      |      ^~~~~~~
# .MEM_74 = VDEF <.MEM_6>
l_59 = 0;
expected .MEM_13

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/115243] error: stmt with wrong VUSE
  2024-05-27  7:57 [Bug c/115243] New: error: stmt with wrong VUSE dcb314 at hotmail dot com
@ 2024-05-27 13:38 ` sjames at gcc dot gnu.org
  2024-05-28  6:31 ` [Bug tree-optimization/115243] " rguenth at gcc dot gnu.org
  2024-05-28  6:42 ` dcb314 at hotmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-05-27 13:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115243

Sam James <sjames at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sjames at gcc dot gnu.org

--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
David, can you check if this is fixed via PR115226?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tree-optimization/115243] error: stmt with wrong VUSE
  2024-05-27  7:57 [Bug c/115243] New: error: stmt with wrong VUSE dcb314 at hotmail dot com
  2024-05-27 13:38 ` [Bug c/115243] " sjames at gcc dot gnu.org
@ 2024-05-28  6:31 ` rguenth at gcc dot gnu.org
  2024-05-28  6:42 ` dcb314 at hotmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-05-28  6:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115243

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c                           |tree-optimization
         Resolution|---                         |DUPLICATE
            Version|unknown                     |15.0

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
It's fixed in my tree.

*** This bug has been marked as a duplicate of bug 115226 ***

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tree-optimization/115243] error: stmt with wrong VUSE
  2024-05-27  7:57 [Bug c/115243] New: error: stmt with wrong VUSE dcb314 at hotmail dot com
  2024-05-27 13:38 ` [Bug c/115243] " sjames at gcc dot gnu.org
  2024-05-28  6:31 ` [Bug tree-optimization/115243] " rguenth at gcc dot gnu.org
@ 2024-05-28  6:42 ` dcb314 at hotmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: dcb314 at hotmail dot com @ 2024-05-28  6:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115243

--- Comment #3 from David Binderman <dcb314 at hotmail dot com> ---
Looks fixed to me.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-05-28  6:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-27  7:57 [Bug c/115243] New: error: stmt with wrong VUSE dcb314 at hotmail dot com
2024-05-27 13:38 ` [Bug c/115243] " sjames at gcc dot gnu.org
2024-05-28  6:31 ` [Bug tree-optimization/115243] " rguenth at gcc dot gnu.org
2024-05-28  6:42 ` dcb314 at hotmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).